update vulnerable dependencies of @docusaurus/bundler#130
update vulnerable dependencies of @docusaurus/bundler#130overheadhunter wants to merge 1 commit intodevelopfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds npm overrides to force newer versions of two transitive dependencies of @docusaurus/bundler in order to address known vulnerabilities.
Changes:
- Adds
overridesforcopy-webpack-plugin(→ 14.0.0) andcss-minimizer-webpack-plugin(→ 8.0.0) to resolve security vulnerabilities in their older versions pulled in by Docusaurus.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "copy-webpack-plugin": "14.0.0", | ||
| "css-minimizer-webpack-plugin": "8.0.0" |
There was a problem hiding this comment.
These overrides jump multiple major versions beyond what @docusaurus/bundler declares as compatible (copy-webpack-plugin from ^11 → 14.0.0, css-minimizer-webpack-plugin from ^5 → 8.0.0). Major version bumps often include breaking API changes, and using versions outside the range supported by the upstream package can cause subtle build or runtime issues that won't surface until a Docusaurus internal API call hits an incompatible code path.
Please verify the site builds and renders correctly with these overrides (e.g., npm run build succeeds and CSS is properly minified). If possible, it would also be safer to pin to the minimum major version that resolves the vulnerability rather than jumping to the latest major.
| "copy-webpack-plugin": "14.0.0", | |
| "css-minimizer-webpack-plugin": "8.0.0" | |
| "copy-webpack-plugin": "^11.0.0", | |
| "css-minimizer-webpack-plugin": "^5.0.0" |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
WalkthroughA new Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
No description provided.