File tree Expand file tree Collapse file tree 6 files changed +15
-14
lines changed Expand file tree Collapse file tree 6 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ class Minimatch {
243243 negateOffset ++
244244 }
245245
246- if ( negateOffset ) this . pattern = pattern . substr ( negateOffset )
246+ if ( negateOffset ) this . pattern = pattern . slice ( negateOffset )
247247 this . negate = negate
248248 }
249249
@@ -619,7 +619,7 @@ class Minimatch {
619619 } catch ( er ) {
620620 // not a valid class!
621621 sp = this . parse ( cs , SUBPARSE )
622- re = re . substr ( 0 , reClassStart ) + '\\[' + sp [ 0 ] + '\\]'
622+ re = re . substring ( 0 , reClassStart ) + '\\[' + sp [ 0 ] + '\\]'
623623 hasMagic = hasMagic || sp [ 1 ]
624624 inClass = false
625625 continue
@@ -652,9 +652,9 @@ class Minimatch {
652652 // this is a huge pita. We now have to re-walk
653653 // the contents of the would-be class to re-translate
654654 // any characters that were passed through as-is
655- cs = pattern . substr ( classStart + 1 )
655+ cs = pattern . slice ( classStart + 1 )
656656 sp = this . parse ( cs , SUBPARSE )
657- re = re . substr ( 0 , reClassStart ) + '\\[' + sp [ 0 ]
657+ re = re . substring ( 0 , reClassStart ) + '\\[' + sp [ 0 ]
658658 hasMagic = hasMagic || sp [ 1 ]
659659 }
660660
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" : " 5.1.0 " ,
5+ "version" : " 5.1.1 " ,
66 "repository" : {
77 "type" : " git" ,
88 "url" : " git://github.com/isaacs/minimatch.git"
2222 "brace-expansion" : " ^2.0.1"
2323 },
2424 "devDependencies" : {
25- "tap" : " ^15.1.6 "
25+ "tap" : " ^16.3.2 "
2626 },
2727 "license" : " ISC" ,
2828 "files" : [
Original file line number Diff line number Diff line change 120120 "libnpmteam": "^5.0.0",
121121 "libnpmversion": "^4.0.1",
122122 "make-fetch-happen": "^11.0.2",
123- "minimatch": "^5.1.0 ",
123+ "minimatch": "^5.1.1 ",
124124 "minipass": "^4.0.0",
125125 "minipass-pipeline": "^1.2.4",
126126 "mkdirp": "^1.0.4",
88978897 "dev": true
88988898 },
88998899 "node_modules/minimatch": {
8900- "version": "5.1.0",
8900+ "version": "5.1.1",
8901+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.1.tgz",
8902+ "integrity": "sha512-362NP+zlprccbEt/SkxKfRMHnNY85V74mVnpUpNyr3F35covl09Kec7/sEFLt3RA4oXmewtoaanoIf67SE5Y5g==",
89018903 "inBundle": true,
8902- "license": "ISC",
89038904 "dependencies": {
89048905 "brace-expansion": "^2.0.1"
89058906 },
1515215153 "hosted-git-info": "^6.1.1",
1515315154 "json-parse-even-better-errors": "^3.0.0",
1515415155 "json-stringify-nice": "^1.1.4",
15155- "minimatch": "^5.1.0 ",
15156+ "minimatch": "^5.1.1 ",
1515615157 "nopt": "^7.0.0",
1515715158 "npm-install-checks": "^6.0.0",
1515815159 "npm-package-arg": "^10.1.0",
1523615237 "@npmcli/installed-package-contents": "^2.0.0",
1523715238 "binary-extensions": "^2.2.0",
1523815239 "diff": "^5.1.0",
15239- "minimatch": "^5.0 .1",
15240+ "minimatch": "^5.1 .1",
1524015241 "npm-package-arg": "^10.1.0",
1524115242 "pacote": "^15.0.7",
1524215243 "tar": "^6.1.13"
Original file line number Diff line number Diff line change 8787 "libnpmteam" : " ^5.0.0" ,
8888 "libnpmversion" : " ^4.0.1" ,
8989 "make-fetch-happen" : " ^11.0.2" ,
90- "minimatch" : " ^5.1.0 " ,
90+ "minimatch" : " ^5.1.1 " ,
9191 "minipass" : " ^4.0.0" ,
9292 "minipass-pipeline" : " ^1.2.4" ,
9393 "mkdirp" : " ^1.0.4" ,
Original file line number Diff line number Diff line change 1919 "hosted-git-info" : " ^6.1.1" ,
2020 "json-parse-even-better-errors" : " ^3.0.0" ,
2121 "json-stringify-nice" : " ^1.1.4" ,
22- "minimatch" : " ^5.1.0 " ,
22+ "minimatch" : " ^5.1.1 " ,
2323 "nopt" : " ^7.0.0" ,
2424 "npm-install-checks" : " ^6.0.0" ,
2525 "npm-package-arg" : " ^10.1.0" ,
Original file line number Diff line number Diff line change 5252 "@npmcli/installed-package-contents" : " ^2.0.0" ,
5353 "binary-extensions" : " ^2.2.0" ,
5454 "diff" : " ^5.1.0" ,
55- "minimatch" : " ^5.0 .1" ,
55+ "minimatch" : " ^5.1 .1" ,
5656 "npm-package-arg" : " ^10.1.0" ,
5757 "pacote" : " ^15.0.7" ,
5858 "tar" : " ^6.1.13"
You can’t perform that action at this time.
0 commit comments