Commit 1622ffe
committed
fix: patch js-yaml DoS (GHSA-h67p-54hq-rp68) via override
Force js-yaml to 3.15.0 (the official 3.x patch for the quadratic-complexity
DoS in merge-key alias handling) via a pnpm override. It reaches us through
gray-matter@4.0.3 -> vitepress-plugin-llms; gray-matter requires js-yaml
^3.13.1, so 3.15.0 stays in range and is API-compatible.
Also drop the auditConfig.ignoreGhsas suppression for this advisory, which was
based on the now-outdated assumption that the 3.x line could not be patched.1 parent 3d38671 commit 1622ffe
2 files changed
Lines changed: 6 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | 22 | | |
31 | 23 | | |
32 | 24 | | |
| |||
0 commit comments