Commit 22ae4e1
Add pnpm dependency overrides for security vulnerabilities (#3)
* fix: resolve socket.dev security warnings via pnpm overrides
Add pnpm.overrides to force patched versions of vulnerable transitive
dependencies: fast-xml-parser, node-forge, undici, tar, minimatch,
picomatch, and brace-expansion.
https://claude.ai/code/session_01YLnaP1E1tMzpnACcD3A6nN
* fix: use bounded same-major overrides for transitive dependency CVEs
The previous unbounded overrides caused CI failures:
- minimatch v10 broke test-exclude@6 (removed default export)
- undici v7 raised Node minimum to >=20.18.1 (breaks Node 18)
- brace-expansion v5 broke minimatch@5 (different API)
Use bounded version ranges (e.g. ">=3.1.5 <4") to keep each
consumer on its compatible major line while bumping to patched versions.
Remove brace-expansion override as no same-major fix exists.
https://claude.ai/code/session_01YLnaP1E1tMzpnACcD3A6nN
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 5222b1c commit 22ae4e1
2 files changed
Lines changed: 145 additions & 124 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
109 | 124 | | |
110 | 125 | | |
111 | 126 | | |
| |||
0 commit comments