Skip to content

Fix Dependabot vulnerabilities: upgrade Docusaurus 3.10 and patch transitive deps#109

Open
jrgwv wants to merge 1 commit into
mainfrom
fix/dependabot-vulnerabilities
Open

Fix Dependabot vulnerabilities: upgrade Docusaurus 3.10 and patch transitive deps#109
jrgwv wants to merge 1 commit into
mainfrom
fix/dependabot-vulnerabilities

Conversation

@jrgwv
Copy link
Copy Markdown
Contributor

@jrgwv jrgwv commented Apr 15, 2026

Summary

Addresses 18 open Dependabot alerts (2 critical, 8 high, 8 medium) by upgrading dependencies and adding yarn resolutions for transitive vulnerabilities.

Changes

  • Upgrade Docusaurus from 3.0.03.10.0 (all 5 packages)
  • Add yarn resolutions to force patched versions of transitive dependencies:
    Package Patched Version Severity
    axios 1.15.0 Critical
    node-forge 1.4.0 High
    path-to-regexp 0.1.13 High
    picomatch 2.3.2 High/Medium
    serialize-javascript 7.0.5 Medium
    follow-redirects 1.16.0 Medium
    brace-expansion 2.0.1 Medium
  • Pin webpack to ~5.105.4 (5.106 introduced a breaking change in ProgressPlugin that breaks webpackbar)
  • Fix swizzled DocItem/Footer — update useDoc import from @docusaurus/theme-common/internal to @docusaurus/plugin-content-docs/client (moved in Docusaurus 3.10)
  • Remove stale package-lock.json — project uses yarn, the npm lockfile was causing duplicate Dependabot alerts
  • Regenerate yarn.lock

Testing

  • yarn build completes successfully ✅

…ve deps

- Upgrade Docusaurus from 3.0.0 to 3.10.0 (all packages)
- Add yarn resolutions to force patched versions of transitive dependencies:
  axios 1.15.0, node-forge 1.4.0, path-to-regexp 0.1.13,
  follow-redirects 1.16.0, picomatch 2.3.2, serialize-javascript 7.0.5,
  brace-expansion 2.0.1
- Pin webpack to ~5.105.4 (5.106 breaks webpackbar ProgressPlugin)
- Fix useDoc import in swizzled DocItem/Footer (moved in Docusaurus 3.10)
- Remove stale package-lock.json (project uses yarn)
- Regenerate yarn.lock

Addresses 18 open Dependabot alerts (2 critical, 8 high, 8 medium).
@jrgwv jrgwv requested a review from a team April 15, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants