Skip to content

security(deps): resolve js-yaml and @babel/core alerts#1328

Merged
BYK merged 1 commit into
mainfrom
security/deps-js-yaml-babel
Jun 23, 2026
Merged

security(deps): resolve js-yaml and @babel/core alerts#1328
BYK merged 1 commit into
mainfrom
security/deps-js-yaml-babel

Conversation

@BYK

@BYK BYK commented Jun 23, 2026

Copy link
Copy Markdown
Member

Summary

Resolves the 2 remaining open Dependabot alerts (both transitive in pnpm-lock.yaml).

Alert Package Severity Fix GHSA
#289 js-yaml medium →4.2.0 GHSA-h67p-54hq-rp68
#288 @babel/core low →7.29.7 GHSA-4x5r-pxfx-6jf8

Changes

  • js-yaml override >=4.1.1>=4.2.0 <5
  • Added @babel/core override >=7.29.6 <8

Notes

  • Both overrides are bounded to the current major (js-yaml <5, @babel/core <8). An unbounded js-yaml >=4.2.0 pulled 5.1.0 (a major jump with breaking changes); capping keeps the minimal patch within 4.x.

Verification

  • pnpm build (full turbo build) ✓
  • pnpm --filter @spotlightjs/spotlight build:sea
  • Test suite ✓ (188/188)

- js-yaml override >=4.1.1 -> >=4.2.0 <5 (GHSA-h67p-54hq-rp68, #289):
  quadratic-complexity DoS in merge key handling via repeated aliases
- @babel/core override added >=7.29.6 <8 (GHSA-4x5r-pxfx-6jf8, #288):
  arbitrary file read via sourceMappingURL comment

Both overrides are bounded to the current major (js-yaml <5, @babel/core
<8) so an unbounded range doesn't pull a major jump (js-yaml 5.x). Verified
full build, build:sea, and test suite (188/188).
@BYK BYK self-assigned this Jun 23, 2026
@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spotlightjs Ready Ready Preview, Comment Jun 23, 2026 3:21pm

Request Review

@BYK BYK deployed to Preview June 23, 2026 15:21 — with GitHub Actions Active
@BYK BYK enabled auto-merge (squash) June 23, 2026 15:21
@github-actions

Copy link
Copy Markdown
Contributor

Codecov Results 📊

✅ Patch coverage is 100.00%. Project has 678 uncovered lines.
✅ Project coverage is 57.62%. Comparing base (base) to head (head).

Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    57.62%    57.62%        —%
==========================================
  Files           49        49         —
  Lines         1602      1602         —
  Branches      1153      1153         —
==========================================
+ Hits           924       924         —
- Misses         678       678         —
- Partials       123       123         —

Generated by Codecov Action

@BYK BYK merged commit 6ee6157 into main Jun 23, 2026
25 checks passed
@BYK BYK deleted the security/deps-js-yaml-babel branch June 23, 2026 15:27
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