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
When react-inspector is used a web page which uses strict CSP setting (doesn't allow unsafe-eval), it crashes.
It's because the dist build (not only the cjs version but even the es version!) uses Function() to create and execute dynamic code. See line 744 in https://unpkg.com/browse/[email protected]/dist/es/react-inspector.js.
Function()
The dist build uses modern syntax and language features and leaves downcompiling to the user.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When react-inspector is used a web page which uses strict CSP setting (doesn't allow unsafe-eval), it crashes.
It's because the dist build (not only the cjs version but even the es version!) uses
Function()
to create and execute dynamic code. See line 744 in https://unpkg.com/browse/[email protected]/dist/es/react-inspector.js.Expected behavior
The dist build uses modern syntax and language features and leaves downcompiling to the user.
Screenshots and/or logs
The text was updated successfully, but these errors were encountered: