-
Notifications
You must be signed in to change notification settings - Fork 159
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
chore: delay _importDynamic initialization #1753
Conversation
|
|
Coverage report
Test suite run success809 tests passing in 121 suites. Report generated by 🧪jest coverage report action from 0e5a1bd |
de1be12
to
0e5a1bd
Compare
What/Why/How?
We use some of
@redocly/openapi-core
util functions in Reunite._importDynamic
is an eval function that is initialized in the root ofconfig-resolvers
module which violates content security policies in Reunite.This PR delays
_importDynamic
init to a later time - avoiding it's initialization in Reunite completely.Reference
https://github.com/Redocly/redocly/issues/11257
Testing
Screenshots (optional)
Check yourself
Security