File tree Expand file tree Collapse file tree 5 files changed +16
-14
lines changed
Expand file tree Collapse file tree 5 files changed +16
-14
lines changed Original file line number Diff line number Diff 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 ) ;
Original file line number Diff line number Diff 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 ) ;
Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change 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",
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": {
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments