Skip to content

Commit 6adb183

Browse files
sunnywuclaude
andcommitted
UID2-6617: Fix lint breakage from minimatch v10 API incompatibility
Scope the minimatch resolution so eslint-plugin-import keeps using v3.1.2, which requires minimatch to be callable as a function (default export). The global v10.2.1 override broke lint with 'TypeError: minimatch is not a function'. All other packages continue to use minimatch ^10.2.1 via the global resolution. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c79c2e7 commit 6adb183

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,15 @@
8888
"overrides": {
8989
"jws": "4.0.1",
9090
"minimatch": "^10.2.1",
91+
"eslint-plugin-import": {
92+
"minimatch": "3.1.2"
93+
},
9194
"qs": "6.14.1"
9295
},
9396
"resolutions": {
9497
"jws": "4.0.1",
9598
"minimatch": "^10.2.1",
99+
"eslint-plugin-import/**/minimatch": "3.1.2",
96100
"qs": "6.14.1"
97101
}
98102
}

yarn.lock

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1478,6 +1478,11 @@ babel-preset-jest@^29.6.3:
14781478
babel-plugin-jest-hoist "^29.6.3"
14791479
babel-preset-current-node-syntax "^1.0.0"
14801480

1481+
balanced-match@^1.0.0:
1482+
version "1.0.2"
1483+
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
1484+
integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
1485+
14811486
balanced-match@^4.0.2:
14821487
version "4.0.3"
14831488
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-4.0.3.tgz#6337a2f23e0604a30481423432f99eac603599f9"
@@ -1528,6 +1533,14 @@ body-parser@1.20.3:
15281533
type-is "~1.6.18"
15291534
unpipe "1.0.0"
15301535

1536+
brace-expansion@^1.1.7:
1537+
version "1.1.12"
1538+
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.12.tgz#ab9b454466e5a8cc3a187beaad580412a9c5b843"
1539+
integrity sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==
1540+
dependencies:
1541+
balanced-match "^1.0.0"
1542+
concat-map "0.0.1"
1543+
15311544
brace-expansion@^5.0.2:
15321545
version "5.0.2"
15331546
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-5.0.2.tgz#b6c16d0791087af6c2bc463f52a8142046c06b6f"
@@ -1753,6 +1766,11 @@ combined-stream@^1.0.8:
17531766
dependencies:
17541767
delayed-stream "~1.0.0"
17551768

1769+
concat-map@0.0.1:
1770+
version "0.0.1"
1771+
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
1772+
integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==
1773+
17561774
confusing-browser-globals@^1.0.10:
17571775
version "1.0.11"
17581776
resolved "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.11.tgz"
@@ -4237,6 +4255,13 @@ mimic-fn@^2.1.0:
42374255
resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz"
42384256
integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==
42394257

4258+
minimatch@3.1.2:
4259+
version "3.1.2"
4260+
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"
4261+
integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==
4262+
dependencies:
4263+
brace-expansion "^1.1.7"
4264+
42404265
minimatch@^10.2.1, minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2, minimatch@^5.0.1:
42414266
version "10.2.2"
42424267
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-10.2.2.tgz#361603ee323cfb83496fea2ae17cc44ea4e1f99f"

0 commit comments

Comments
 (0)