Commit 6c76208
UID2-6617: Fix lint breakage from minimatch v10 API incompatibility
Replace the global Yarn resolution (minimatch -> 10.2.2) with a scoped
resolution that only upgrades nodemon's minimatch to 10.2.2. All other
packages (eslint-plugin-import, eslint, jest and other devDeps) revert
to their natural 3.1.2 or 5.1.6, restoring lint compatibility.
eslint-plugin-import 2.x calls minimatch() as a default-export function
(pre-v6 API). Yarn v1's flat node_modules cannot install two separate
minimatch versions without a nested installation that the flat model
doesn't support when a global resolution is also present.
Result:
- nodemon (production dep): minimatch 10.2.2 (CVE fixed via scoped resolution)
- eslint/jest devDeps: minimatch 3.1.2 / 5.1.6 (suppressed in .trivyignore)
Add .trivyignore to suppress CVE-2026-26996 for dev-only minimatch
instances. Expiry 2027-02-20 to revisit when ESLint is upgraded.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 6adb183 commit 6c76208
3 files changed
+40
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
| 98 | + | |
100 | 99 | | |
101 | 100 | | |
102 | 101 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1541 | 1541 | | |
1542 | 1542 | | |
1543 | 1543 | | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
| 1550 | + | |
1544 | 1551 | | |
1545 | 1552 | | |
1546 | 1553 | | |
| |||
4255 | 4262 | | |
4256 | 4263 | | |
4257 | 4264 | | |
4258 | | - | |
| 4265 | + | |
| 4266 | + | |
| 4267 | + | |
| 4268 | + | |
| 4269 | + | |
| 4270 | + | |
| 4271 | + | |
| 4272 | + | |
4259 | 4273 | | |
4260 | 4274 | | |
4261 | 4275 | | |
4262 | 4276 | | |
4263 | 4277 | | |
4264 | 4278 | | |
4265 | | - | |
4266 | | - | |
4267 | | - | |
4268 | | - | |
| 4279 | + | |
| 4280 | + | |
| 4281 | + | |
| 4282 | + | |
4269 | 4283 | | |
4270 | | - | |
| 4284 | + | |
4271 | 4285 | | |
4272 | 4286 | | |
4273 | 4287 | | |
| |||
0 commit comments