Skip to content

Commit f7dd7e8

Browse files
committed
fix(deps): override js-yaml to 4.3.1 to patch merge-key DoS
Transitive dep pulled in at 4.2.0 via rc-config-loader/textlint's secretlint chain (GHSA-52cp-r559-cp3m, CVE-2026-59869). Neither dependent's package.json is in this workspace, so a pnpm override is the only way to reach it. Closes Dependabot alert #19.
1 parent 2b37123 commit f7dd7e8

2 files changed

Lines changed: 13 additions & 5 deletions

File tree

pnpm-lock.yaml

Lines changed: 8 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ catalog:
99
vite: ^6.4.3
1010
typescript: 6.0.3
1111
'@types/node': ^22.0.0
12+
overrides:
13+
# GHSA-52cp-r559-cp3m / CVE-2026-59869: js-yaml merge-key quadratic CPU DoS,
14+
# fixed in 4.3.0. Transitive-only (via rc-config-loader/textlint's secretlint
15+
# chain), so a catalog entry can't reach it — force the patched version here.
16+
js-yaml@^4.1.1: ^4.3.0
1217
allowBuilds:
1318
'@biomejs/biome': true
1419
esbuild: true

0 commit comments

Comments
 (0)