Skip to content

fix(deps): bump serialize-javascript to 7.0.5 and @babel/plugin-transform-modules-systemjs to 7.29.4#40

Merged
vbreuss merged 1 commit into
mainfrom
fix/deps-serialize-javascript-babel-systemjs
May 10, 2026
Merged

fix(deps): bump serialize-javascript to 7.0.5 and @babel/plugin-transform-modules-systemjs to 7.29.4#40
vbreuss merged 1 commit into
mainfrom
fix/deps-serialize-javascript-babel-systemjs

Conversation

@vbreuss

@vbreuss vbreuss commented May 10, 2026

Copy link
Copy Markdown
Member

Resolves three Dependabot alerts in Docs/pages/package-lock.json:

  • serialize-javascript RCE via RegExp.flags / Date.prototype.toISOString (GHSA-5c6j-r48x-rmvq, High; affects <=7.0.2)
  • serialize-javascript CPU exhaustion DoS via crafted array-like objects (GHSA-qj8w-gfj5-8c6v, Moderate; affects <7.0.5)
  • @babel/plugin-transform-modules-systemjs generates arbitrary code when compiling malicious input (GHSA-fv7c-fp4j-7gwp, High; affects >=7.12.0 <=7.29.3)

serialize-javascript needed an npm overrides entry because its parents (copy-webpack-plugin@11, css-minimizer-webpack-plugin@5) cap their constraint at ^6.0.x and there is no patched 6.x release. The babel plugin's existing ^7.29.0 range already permitted the fixed 7.29.4, so only the lockfile pin needed refreshing.

npm audit now reports 0 vulnerabilities.

…form-modules-systemjs to 7.29.4

Resolves three Dependabot alerts in Docs/pages/package-lock.json:

- serialize-javascript RCE via RegExp.flags / Date.prototype.toISOString
  (GHSA-5c6j-r48x-rmvq, High; affects <=7.0.2)
- serialize-javascript CPU exhaustion DoS via crafted array-like objects
  (GHSA-qj8w-gfj5-8c6v, Moderate; affects <7.0.5)
- @babel/plugin-transform-modules-systemjs generates arbitrary code when
  compiling malicious input
  (GHSA-fv7c-fp4j-7gwp, High; affects >=7.12.0 <=7.29.3)

serialize-javascript needed an npm overrides entry because its parents
(copy-webpack-plugin@11, css-minimizer-webpack-plugin@5) cap their
constraint at ^6.0.x and there is no patched 6.x release. The babel
plugin's existing ^7.29.0 range already permitted the fixed 7.29.4, so
only the lockfile pin needed refreshing.

npm audit now reports 0 vulnerabilities.
@vbreuss vbreuss self-assigned this May 10, 2026
Copilot AI review requested due to automatic review settings May 10, 2026 12:19

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Docusaurus docs site’s npm dependency graph to remediate Dependabot-reported vulnerabilities by upgrading serialize-javascript (via npm overrides) and refreshing the lockfile to pick up patched transitive versions.

Changes:

  • Add an npm overrides entry to force serialize-javascript to a patched 7.0.5+ version.
  • Update Docs/pages/package-lock.json to pin @babel/plugin-transform-modules-systemjs to 7.29.4 and serialize-javascript to 7.0.5.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
Docs/pages/package.json Adds an overrides rule to force serialize-javascript to a patched major version.
Docs/pages/package-lock.json Refreshes resolved/pinned dependency versions to include the patched releases.
Files not reviewed (1)
  • Docs/pages/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@vbreuss
vbreuss merged commit b242073 into main May 10, 2026
7 checks passed
@vbreuss
vbreuss deleted the fix/deps-serialize-javascript-babel-systemjs branch May 10, 2026 12:28
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