-
Notifications
You must be signed in to change notification settings - Fork 862
Upgrade refractor dependency to v5.0.0
#8618
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
base: main
Are you sure you want to change the base?
Conversation
- updates usages to align with changed API - updates jest config to ensure ESM-only dependencies are transformed to commonjs
a110a66 to
aaf53b6
Compare
💚 Build SucceededHistory
cc @mgadewoll |
💚 Build Succeeded
cc @mgadewoll |
|
Related to elastic/synthetics-recorder#548, we'd love to see a Refractor upgrade for the Script Recorder as well, which is a consumer of EUI 🎉 |
|
👋 Hey there. This PR hasn't had any activity for 90 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment. |
|
❌ We're automatically closing this PR due to lack of activity. Please comment if you feel this was done in error. |
|
👋 Hey there. This PR hasn't had any activity for 90 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment. |
Summary
closes #8616
This PR updates the
refractordependency from the previous version3.6.0to the latest5.0.0.The change is required to ensure that the internal
primsjmdependency is using at least version1.30.0which includes a fix for a DOM Clobbering vulnerability. (see also this previous PR that updated our directprismjsdependency)Changes
refractorchanged it's default exports and removed types (RefractorNodeetc) - instead we import the types directly from the internal dependency (as mentioned here in the changelog)transformIgnorePatternsand manual transform ofrefactorcode asrefractorchanged its internals and only exports as ESM but Jest requires commonjsQA
ℹ️ I ran VRT on the affected components, and no visual changes were detected.
EuiCodeEuiCodeBlockEuiMarkdownFormatEuiMarkdownEditor