Skip to content

Commit ba82b48

Browse files
Copilotjcstein
andauthored
deps: resolve minimatch dependabot vulnerabilities (#2455)
* Initial plan * deps: resolve dependabot minimatch vulnerabilities Add overrides (npm) and resolutions (yarn) to force safe versions: - minimatch 3.1.5 (was 3.1.2, fixes GHSA-3ppc-4f35-3m26, GHSA-7r86-cg39-jmmj, GHSA-23c5-xmqv-rm74) - minimatch 9.0.9 (was 9.0.5, same CVEs) - minimatch 10.2.4 (was 10.1.1, same CVEs) Co-authored-by: jcstein <46639943+jcstein@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jcstein <46639943+jcstein@users.noreply.github.com>
1 parent b4758bc commit ba82b48

3 files changed

Lines changed: 106 additions & 72 deletions

File tree

package-lock.json

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

package.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,23 @@
5151
"typescript": "^5",
5252
"unified": "^11.0.5",
5353
"unist-util-visit": "^5.0.0"
54+
},
55+
"overrides": {
56+
"@eslint/config-array": { "minimatch": "3.1.5" },
57+
"@eslint/eslintrc": { "minimatch": "3.1.5" },
58+
"eslint": { "minimatch": "3.1.5" },
59+
"eslint-plugin-import": { "minimatch": "3.1.5" },
60+
"eslint-plugin-jsx-a11y": { "minimatch": "3.1.5" },
61+
"eslint-plugin-react": { "minimatch": "3.1.5" },
62+
"serve-handler": { "minimatch": "3.1.5" },
63+
"@typescript-eslint/typescript-estree": { "minimatch": "9.0.9" },
64+
"@ts-morph/common": { "minimatch": "10.2.4" },
65+
"glob": { "minimatch": "10.2.4" }
66+
},
67+
"resolutions": {
68+
"minimatch": "3.1.5",
69+
"@typescript-eslint/typescript-estree/minimatch": "9.0.9",
70+
"@ts-morph/common/minimatch": "10.2.4",
71+
"glob/minimatch": "10.2.4"
5472
}
5573
}

yarn.lock

Lines changed: 27 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -411,18 +411,6 @@
411411
optionalDependencies:
412412
"@img/sharp-libvips-linuxmusl-x64" "1.2.4"
413413

414-
"@isaacs/balanced-match@^4.0.1":
415-
version "4.0.1"
416-
resolved "https://registry.npmjs.org/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz"
417-
integrity sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==
418-
419-
"@isaacs/brace-expansion@^5.0.0":
420-
version "5.0.0"
421-
resolved "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz"
422-
integrity sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==
423-
dependencies:
424-
"@isaacs/balanced-match" "^4.0.1"
425-
426414
"@isaacs/cliui@^8.0.2":
427415
version "8.0.2"
428416
resolved "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz"
@@ -1538,6 +1526,11 @@ balanced-match@^1.0.0:
15381526
resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz"
15391527
integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
15401528

1529+
balanced-match@^4.0.2:
1530+
version "4.0.4"
1531+
resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz"
1532+
integrity sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==
1533+
15411534
baseline-browser-mapping@^2.9.0:
15421535
version "2.9.2"
15431536
resolved "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.2.tgz"
@@ -1572,13 +1565,20 @@ brace-expansion@^1.1.7:
15721565
balanced-match "^1.0.0"
15731566
concat-map "0.0.1"
15741567

1575-
brace-expansion@^2.0.1:
1568+
brace-expansion@^2.0.2:
15761569
version "2.0.2"
15771570
resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz"
15781571
integrity sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==
15791572
dependencies:
15801573
balanced-match "^1.0.0"
15811574

1575+
brace-expansion@^5.0.2:
1576+
version "5.0.4"
1577+
resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.4.tgz"
1578+
integrity sha512-h+DEnpVvxmfVefa4jFbCf5HdH5YMDXRsmKflpf1pILZWRFlTbJpxeU55nJl4Smt5HQaGzg1o6RHFPJaOqnmBDg==
1579+
dependencies:
1580+
balanced-match "^4.0.2"
1581+
15821582
braces@^3.0.3:
15831583
version "3.0.3"
15841584
resolved "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz"
@@ -4690,33 +4690,26 @@ mimic-fn@^4.0.0:
46904690
resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz"
46914691
integrity sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==
46924692

4693-
minimatch@^10.0.1:
4694-
version "10.1.1"
4695-
resolved "https://registry.npmjs.org/minimatch/-/minimatch-10.1.1.tgz"
4696-
integrity sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==
4697-
dependencies:
4698-
"@isaacs/brace-expansion" "^5.0.0"
4699-
4700-
minimatch@^10.1.1:
4701-
version "10.1.1"
4702-
resolved "https://registry.npmjs.org/minimatch/-/minimatch-10.1.1.tgz"
4703-
integrity sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==
4693+
minimatch@10.2.4:
4694+
version "10.2.4"
4695+
resolved "https://registry.npmjs.org/minimatch/-/minimatch-10.2.4.tgz"
4696+
integrity sha512-oRjTw/97aTBN0RHbYCdtF1MQfvusSIBQM0IZEgzl6426+8jSC0nF1a/GmnVLpfB9yyr6g6FTqWqiZVbxrtaCIg==
47044697
dependencies:
4705-
"@isaacs/brace-expansion" "^5.0.0"
4698+
brace-expansion "^5.0.2"
47064699

4707-
minimatch@^3.1.2, minimatch@3.1.2:
4708-
version "3.1.2"
4709-
resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz"
4710-
integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==
4700+
minimatch@3.1.5:
4701+
version "3.1.5"
4702+
resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz"
4703+
integrity sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==
47114704
dependencies:
47124705
brace-expansion "^1.1.7"
47134706

4714-
minimatch@^9.0.4:
4715-
version "9.0.5"
4716-
resolved "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz"
4717-
integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==
4707+
minimatch@9.0.9:
4708+
version "9.0.9"
4709+
resolved "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz"
4710+
integrity sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==
47184711
dependencies:
4719-
brace-expansion "^2.0.1"
4712+
brace-expansion "^2.0.2"
47204713

47214714
minimist@^1.2.0, minimist@^1.2.6:
47224715
version "1.2.8"

0 commit comments

Comments
 (0)