Commit 110fd3a
fix(security): add npm override for diff@8.0.3 (GHSA-73rr-hh4g-fpgx) (#209)
* fix(security): add npm override for diff@8.0.3 (GHSA-73rr-hh4g-fpgx)
Add npm overrides to force diff@^8.0.3 to fix DoS vulnerability
CVE-2026-24001 in parsePatch/applyPatch methods.
mocha@11.7.5 depends on vulnerable diff@7.0.0.
🖥️ IDE: [Cursor](https://cursor.sh)
🔌 Extension: [Claude Code](https://claude.ai/download)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Model-Raw: claude-opus-4-5-20251101
* chore: bump version to 0.14.1 and update CHANGELOG
Add security fix entry for GHSA-73rr-hh4g-fpgx.
🖥️ IDE: [Cursor](https://cursor.sh)
🔌 Extension: [Claude Code](https://claude.ai/download)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Model-Raw: claude-opus-4-5-20251101
* fix: add diff@8.0.3 as explicit devDependency
npm overrides alone caused 'Cannot find module diff' in E2E tests.
Adding diff as explicit dependency ensures it's installed.
🖥️ IDE: [Cursor](https://cursor.sh)
🔌 Extension: [Claude Code](https://claude.ai/download)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Model-Raw: claude-opus-4-5-20251101
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 2880b7e commit 110fd3a
5 files changed
Lines changed: 19 additions & 1136 deletions
File tree
- extensions/git-id-switcher
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
10 | 18 | | |
11 | 19 | | |
12 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| 283 | + | |
283 | 284 | | |
284 | 285 | | |
285 | 286 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments