Skip to content

fix(security): bump @babel/core to the patched 7.29.6+ release - #96

Merged
felixgeelhaar merged 1 commit into
mainfrom
chore/babel-7.29.6
Jul 25, 2026
Merged

fix(security): bump @babel/core to the patched 7.29.6+ release#96
felixgeelhaar merged 1 commit into
mainfrom
chore/babel-7.29.6

Conversation

@felixgeelhaar

Copy link
Copy Markdown
Collaborator

What

Clears GHSA-4x5r-pxfx-6jf8@babel/core: Arbitrary File Read via sourceMappingURL Comment (low).

Project From → To
docs/ 7.29.0 → 7.29.7

Pinned via npm overrides@babel/core is transitive in every tree (pulled by @babel/helper-module-transforms, @vitejs/plugin-react, eslint-plugin-react-hooks, etc.).

Why not 8.0.0-rc.6 (what nox suggested)

nox reports fixed_in: 8.0.0-rc.6. That is the fix for the other affected range. OSV lists two ranges for this advisory:

  • 8.0.0-alpha.0 → fixed in 8.0.0-rc.6
  • 0 → fixed in 7.29.6 ← the range these installs are actually in

Following nox literally would have forced a babel 7 → 8 ecosystem migration — every @babel/* plugin in the tree peer-depends on core ^7.0.0 — for a low-severity issue. Staying on 7.29.6+ fixes it with a patch bump and no breakage. (Same multi-range fixed_in trap already seen with svgo, fast-uri, js-yaml, vite.)

Verification

  • astro docs build ✅ (26 pages)
  • nox scan .0 dependency CVEs remaining and 0 net-new critical/high. This clears the last known dependency advisory in the repo.

https://claude.ai/code/session_01Cr6YdzphmFF3NJqm7kSJom

Clear GHSA-4x5r-pxfx-6jf8 (@babel/core: arbitrary file read via
sourceMappingURL comment) in docs/: 7.29.0 -> 7.29.7, pinned via npm
`overrides` (@babel/core is transitive).

Note on the version choice: nox reports fixed_in = 8.0.0-rc.6, which is
the fix for the OTHER affected range. OSV lists two ranges and the 7.x
line is fixed in 7.29.6, so this is a patch bump rather than a babel
7 -> 8 ecosystem migration for a LOW-severity issue.

This clears the last known dependency advisory in the repo.

Verified: astro docs build passes (26 pages); nox reports 0 dependency
CVEs and 0 net-new critical/high.

Claude-Session: https://claude.ai/code/session_01Cr6YdzphmFF3NJqm7kSJom
@felixgeelhaar
felixgeelhaar merged commit 0c73fd0 into main Jul 25, 2026
6 checks passed
@felixgeelhaar
felixgeelhaar deleted the chore/babel-7.29.6 branch July 25, 2026 20:24
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.

1 participant