We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
to make the plural function:
function makePluralFunc(pluralStr) { /* eslint-disable no-new-func */ var fn = fnCache[pluralStr]; if (!fn) { fn = new Function('n', 'args', pluralFnBody(pluralStr)); fnCache[pluralStr] = fn; } return fn; }
the above code uses the new Function which validates againt Content Security Policy of browsers. How can I mitigate this usage ?
new Function
The text was updated successfully, but these errors were encountered:
Any updates on this? Facing the same issue with CSP violation in our repo, and struggling to come up with an idea how to solve it.
Thnx
Sorry, something went wrong.
Fix CSP issue ttag-org#261
68a5892
AlexMost
No branches or pull requests
to make the plural function:
the above code uses the
new Function
which validates againt Content Security Policy of browsers. How can I mitigate this usage ?The text was updated successfully, but these errors were encountered: