Skip to content

Cannot create xss instance with options ^1.0.14 #274

Description

@quoctienkt

Reference: https://www.npmjs.com/package/xss/v/1.0.14?activeTab=readme
From document, we can create xss instance with
myxss = new xss.FilterXSS(options?), but from v1.0.14, we only have
FilterXSS(html, options?)
I made a workaround by downgrade to v1.0.6, this is to inform a bug or document not yet updated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions