Skip to content

Commit c1ca7c9

Browse files
sunnywuclaude
andcommitted
UID2-6617: Fix npm lint breakage from minimatch v10 API incompatibility
Scope the minimatch override to keep eslint-plugin-import on v3.1.2, which exports a callable function as required by its internals. The global v10 override broke lint with 'TypeError: (0, _minimatch2.default) is not a function'. All other packages continue to use minimatch ^10.2.1. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 7ea7018 commit c1ca7c9

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

package-lock.json

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

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,9 @@
247247
},
248248
"jws": "^4.0.1",
249249
"minimatch": "^10.2.1",
250+
"eslint-plugin-import": {
251+
"minimatch": "3.1.2"
252+
},
250253
"qs": "6.14.1",
251254
"@isaacs/brace-expansion": "^5.0.1"
252255
}

0 commit comments

Comments
 (0)