Skip to content

Commit 145b7fc

Browse files
authored
Merge pull request #162 from Staffbase/copilot/fix-minimatch-redos-vulnerability
fix: upgrade minimatch to patched versions to resolve ReDoS vulnerabilities
2 parents 3a7f2b9 + 7d1e088 commit 145b7fc

2 files changed

Lines changed: 18 additions & 15 deletions

File tree

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@
2020
"boolean-negation": true
2121
},
2222
"resolutions": {
23-
"lodash": "4.17.23"
23+
"lodash": "4.17.23",
24+
"minimatch": "3.1.5",
25+
"glob/minimatch": "9.0.9",
26+
"@typescript-eslint/typescript-estree/minimatch": "10.2.4"
2427
},
2528
"dependencies": {
2629
"colors": "^1.4.0",

yarn.lock

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1299,10 +1299,10 @@ brace-expansion@^1.1.7:
12991299
balanced-match "^1.0.0"
13001300
concat-map "0.0.1"
13011301

1302-
brace-expansion@^2.0.1:
1303-
version "2.0.2"
1304-
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.2.tgz#54fc53237a613d854c7bd37463aad17df87214e7"
1305-
integrity sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==
1302+
brace-expansion@^2.0.2:
1303+
version "2.0.3"
1304+
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.3.tgz#0493338bdd58e319b1039c67cf7ee439892c01d9"
1305+
integrity sha512-MCV/fYJEbqx68aE58kv2cA/kiky1G8vux3OR6/jbS+jIMe/6fJWa0DTzJU7dqijOWYwHi1t29FlfYI9uytqlpA==
13061306
dependencies:
13071307
balanced-match "^1.0.0"
13081308

@@ -3192,26 +3192,26 @@ mimic-fn@^2.1.0:
31923192
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b"
31933193
integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==
31943194

3195-
minimatch@^10.2.2:
3195+
minimatch@10.2.4:
31963196
version "10.2.4"
31973197
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-10.2.4.tgz#465b3accbd0218b8281f5301e27cedc697f96fde"
31983198
integrity sha512-oRjTw/97aTBN0RHbYCdtF1MQfvusSIBQM0IZEgzl6426+8jSC0nF1a/GmnVLpfB9yyr6g6FTqWqiZVbxrtaCIg==
31993199
dependencies:
32003200
brace-expansion "^5.0.2"
32013201

3202-
minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2:
3203-
version "3.1.2"
3204-
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"
3205-
integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==
3202+
minimatch@3.1.5, minimatch@^10.2.2, minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2, minimatch@^9.0.4:
3203+
version "3.1.5"
3204+
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.5.tgz#580c88f8d5445f2bd6aa8f3cadefa0de79fbd69e"
3205+
integrity sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==
32063206
dependencies:
32073207
brace-expansion "^1.1.7"
32083208

3209-
minimatch@^9.0.4:
3210-
version "9.0.5"
3211-
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5"
3212-
integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==
3209+
minimatch@9.0.9:
3210+
version "9.0.9"
3211+
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.9.tgz#9b0cb9fcb78087f6fd7eababe2511c4d3d60574e"
3212+
integrity sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==
32133213
dependencies:
3214-
brace-expansion "^2.0.1"
3214+
brace-expansion "^2.0.2"
32153215

32163216
"minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.1.2:
32173217
version "7.1.2"

0 commit comments

Comments
 (0)