Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot create xss instance with options ^1.0.14 #274

Open
quoctienkt opened this issue Jan 27, 2023 · 0 comments
Open

Cannot create xss instance with options ^1.0.14 #274

quoctienkt opened this issue Jan 27, 2023 · 0 comments

Comments

@quoctienkt
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant