Skip to content

Commit 094c4ea

Browse files
committed
1 parent 1c8d41d commit 094c4ea

File tree

5 files changed

+16
-14
lines changed

5 files changed

+16
-14
lines changed

node_modules/minimatch/dist/commonjs/index.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -531,10 +531,11 @@ class Minimatch {
531531
for (let i = 0; i < globParts.length - 1; i++) {
532532
for (let j = i + 1; j < globParts.length; j++) {
533533
const matched = this.partsMatch(globParts[i], globParts[j], !this.preserveMultipleSlashes);
534-
if (!matched)
535-
continue;
536-
globParts[i] = matched;
537-
globParts[j] = [];
534+
if (matched) {
535+
globParts[i] = [];
536+
globParts[j] = matched;
537+
break;
538+
}
538539
}
539540
}
540541
return globParts.filter(gs => gs.length);

node_modules/minimatch/dist/esm/index.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -519,10 +519,11 @@ export class Minimatch {
519519
for (let i = 0; i < globParts.length - 1; i++) {
520520
for (let j = i + 1; j < globParts.length; j++) {
521521
const matched = this.partsMatch(globParts[i], globParts[j], !this.preserveMultipleSlashes);
522-
if (!matched)
523-
continue;
524-
globParts[i] = matched;
525-
globParts[j] = [];
522+
if (matched) {
523+
globParts[i] = [];
524+
globParts[j] = matched;
525+
break;
526+
}
526527
}
527528
}
528529
return globParts.filter(gs => gs.length);

node_modules/minimatch/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"author": "Isaac Z. Schlueter <[email protected]> (http://blog.izs.me)",
33
"name": "minimatch",
44
"description": "a glob matcher in javascript",
5-
"version": "9.0.4",
5+
"version": "9.0.5",
66
"repository": {
77
"type": "git",
88
"url": "git://github.com/isaacs/minimatch.git"

package-lock.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
"libnpmteam": "^6.0.5",
124124
"libnpmversion": "^6.0.3",
125125
"make-fetch-happen": "^13.0.1",
126-
"minimatch": "^9.0.4",
126+
"minimatch": "^9.0.5",
127127
"minipass": "^7.1.1",
128128
"minipass-pipeline": "^1.2.4",
129129
"ms": "^2.1.2",
@@ -9015,9 +9015,9 @@
90159015
}
90169016
},
90179017
"node_modules/minimatch": {
9018-
"version": "9.0.4",
9019-
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz",
9020-
"integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==",
9018+
"version": "9.0.5",
9019+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
9020+
"integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
90219021
"inBundle": true,
90229022
"license": "ISC",
90239023
"dependencies": {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
"libnpmteam": "^6.0.5",
8989
"libnpmversion": "^6.0.3",
9090
"make-fetch-happen": "^13.0.1",
91-
"minimatch": "^9.0.4",
91+
"minimatch": "^9.0.5",
9292
"minipass": "^7.1.1",
9393
"minipass-pipeline": "^1.2.4",
9494
"ms": "^2.1.2",

0 commit comments

Comments
 (0)