Skip to content

Commit 6e75111

Browse files
committed
Fix brace-expansion override for minimatch compatibility
The merge pinned brace-expansion to ^5.0.7 (from master's audit fix), but 5.x is ESM-only with named exports, breaking minimatch@9.0.9 which does a default import (`import expand from 'brace-expansion'`) — e.g. typedoc's `doc` script failed. The tree now has both minimatch@9 (needs 2.x) and minimatch@10 (needs 5.x), so no single major works. Replace the blanket pin with per-major security patches covering only the vulnerable ranges (GHSA-v6h2-p8h4-qcjw), letting each consumer resolve its compatible major: brace-expansion 2.1.2 for minimatch@9, 5.0.7 for minimatch@10.
1 parent ea2828f commit 6e75111

2 files changed

Lines changed: 21 additions & 3 deletions

File tree

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@
1515
"yaml": ">=2.8.3",
1616
"picomatch": ">=4.0.4",
1717
"file-type": ">=21.3.2",
18-
"brace-expansion": "^5.0.7",
18+
"brace-expansion@<1.1.12": "1.1.12",
19+
"brace-expansion@>=2.0.0 <2.0.2": "2.0.2",
20+
"brace-expansion@>=3.0.0 <3.0.1": "3.0.1",
21+
"brace-expansion@>=4.0.0 <4.0.1": "4.0.1",
1922
"defu": ">=6.1.5",
2023
"vite": "^8.1.5",
2124
"fast-xml-parser@<5.7.0": ">=5.7.0",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)