Skip to content

fix(deps): bump js-yaml and brace-expansion out of their advisories - #31

Merged
mschmicking merged 1 commit into
mainfrom
fix/js-yaml-advisory
Aug 18, 2026
Merged

fix(deps): bump js-yaml and brace-expansion out of their advisories#31
mschmicking merged 1 commit into
mainfrom
fix/js-yaml-advisory

Conversation

@mschmicking

Copy link
Copy Markdown
Owner

What

Lockfile-only bumps clearing two high-severity advisories:

Package Was Now Advisory Reached via
js-yaml 4.3.0 4.3.1 Quadratic CPU on !!omap (CVE-2026-59870 not backported) @eslint/eslintrc
brace-expansion 1.1.17 1.1.18 DoS via unbounded intermediate arrays (GHSA-rgw5-rvv9-x895) minimatch
brace-expansion 5.0.8 5.0.9 same @typescript-eslint/typescript-estree

js-yaml is Dependabot alert #4. The brace-expansion pair had not been raised yet and turned up in npm audit while fixing it; same class and same triviality, so it is folded in here rather than left open.

Impact

Neither can reach anyone who installs the package. Both are dev-only and transitive, and files ships dist/, README.md and LICENSE — no lockfile and no dev tree go with it. The exposure is the local and CI toolchain only, with hostile YAML or a hostile glob as the vector.

Scope

package.json is untouched: both existing ranges already admitted the fixed versions, so this is nine lines of package-lock.json and no direct dependency moved.

Testing

Verified with a real npm ci rather than npm install — the latter called the old tree "up to date" and left 4.3.0 in place. On the fresh install: lint, format check, both tsconfigs and the full test suite pass, and npm audit reports found 0 vulnerabilities.

🤖 Generated with Claude Code

Both are dev-only transitive dependencies and neither can reach anyone who
installs this package — "files" ships dist/, README and LICENSE, so no lockfile
and no dev tree goes with it. The exposure is the local and CI toolchain only.

  js-yaml         4.3.0  -> 4.3.1   quadratic CPU on !!omap (CVE-2026-59870),
                                    via @eslint/eslintrc
  brace-expansion 1.1.17 -> 1.1.18  DoS via unbounded intermediate arrays
                                    (GHSA-rgw5-rvv9-x895), via minimatch

The 5.x copy of brace-expansion under @typescript-eslint/typescript-estree was
already carried to 5.0.9 by the typescript-eslint 8.66.0 bump in #26.

Lockfile only: both existing ranges already admitted the fixed versions, so
package.json is untouched and no direct dependency changes. Verified with a clean
`npm ci` — lint, format, both tsconfigs and the full suite pass, and `npm audit`
reports zero.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@mschmicking
mschmicking force-pushed the fix/js-yaml-advisory branch from e8b79f1 to 89f479b Compare August 17, 2026 21:41
@mschmicking
mschmicking merged commit 021472a into main Aug 18, 2026
7 checks passed
@mschmicking
mschmicking deleted the fix/js-yaml-advisory branch August 18, 2026 06:41
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