-
Notifications
You must be signed in to change notification settings - Fork 148
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
Support strict CSP enabled environments #221
Comments
There are no plans to do so but this sounds like a reasonable idea: I would be happy to review a PR which isolates code-generation and provides an alternate--optional--implementation. (These |
@mtth Thanks for the response. I have rough implementation of converting the usage of Will send out a PR sometime but might need some help on implementing a flag to switch |
Sounds good, thank you for working on it! Feel free to send a PR even before fixing all the tests if you want early feedback. |
Feature request
The library has the usage of
new Function(...)
, for instance (https://github.com/mtth/avsc/blob/master/lib/types.js#L2172), which is considered harmful in environments where CSP policy is enabled with nounsafe-eval
.Are there any plans of providing a fallback for such environments?
The text was updated successfully, but these errors were encountered: