Repository navigation
docs: update docusaurus to 3.10.1 and clear audit reports - #25089
Conversation
Navbar items used literal `to:` paths (e.g. `to: '/plugins'`), which always resolved to the default version. Clicking a navbar item while browsing 2.5/2.6/2.7 docs bounced the user back to 3.0. Convert all six docs navbar items to `type: 'doc'` with `docId:`. Docusaurus then resolves each link to the current version's URL — e.g. `Development` becomes `/2.7/development/guide/` when the user is on a 2.7 page, and stays at `/development/guide/` (3.0 default) otherwise. The Plugins item is the one exception: `plugins.md` only exists in 3.0, so on older versions it falls back to the 3.0 URL. Accepted as a minor wart — adding stubs to each archived branch would be more churn than it's worth for one nav item. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
…ories Docusaurus 3.10.1 transitively pulls in [email protected] via [email protected] and [email protected], which triggers two high-severity advisories: - GHSA-5c6j-r48x-rmvq (RCE via RegExp.flags / Date.prototype.toISOString) - GHSA-qj8w-gfj5-8c6v (CPU-exhaustion DoS via crafted array-like objects) Both are first patched in [email protected]. There is no upstream Docusaurus release that bumps copy-webpack-plugin past the vulnerable range, so we pin via npm overrides instead. The 6 → 7 major bump is a Node.js engine bump, not an API change, so the webpack plugins remain compatible. These are build-time vulnerabilities (exploit requires malicious input to webpack at build time) so practical risk for the deployed static site was already minimal — this commit clears the audit noise. Verified with docs/scripts/serve-and-probe.sh after npm install: search, version-aware navbar, and multi-version routing all still pass. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ 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 |
|



What does this PR do?
Updates docusaurus to 3.10.1 and clear audit reports
Closes Issue(s)
Closes # none
Motivation
audit reports, older docusaurus