Commit 372d158 1 parent 0e6c28b commit 372d158 Copy full SHA for 372d158
File tree 6 files changed +15
-14
lines changed
6 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ class Minimatch {
243
243
negateOffset ++
244
244
}
245
245
246
- if ( negateOffset ) this . pattern = pattern . substr ( negateOffset )
246
+ if ( negateOffset ) this . pattern = pattern . slice ( negateOffset )
247
247
this . negate = negate
248
248
}
249
249
@@ -619,7 +619,7 @@ class Minimatch {
619
619
} catch ( er ) {
620
620
// not a valid class!
621
621
sp = this . parse ( cs , SUBPARSE )
622
- re = re . substr ( 0 , reClassStart ) + '\\[' + sp [ 0 ] + '\\]'
622
+ re = re . substring ( 0 , reClassStart ) + '\\[' + sp [ 0 ] + '\\]'
623
623
hasMagic = hasMagic || sp [ 1 ]
624
624
inClass = false
625
625
continue
@@ -652,9 +652,9 @@ class Minimatch {
652
652
// this is a huge pita. We now have to re-walk
653
653
// the contents of the would-be class to re-translate
654
654
// any characters that were passed through as-is
655
- cs = pattern . substr ( classStart + 1 )
655
+ cs = pattern . slice ( classStart + 1 )
656
656
sp = this . parse ( cs , SUBPARSE )
657
- re = re . substr ( 0 , reClassStart ) + '\\[' + sp [ 0 ]
657
+ re = re . substring ( 0 , reClassStart ) + '\\[' + sp [ 0 ]
658
658
hasMagic = hasMagic || sp [ 1 ]
659
659
}
660
660
Original file line number Diff line number Diff line change 2
2
"author" :
" Isaac Z. Schlueter <[email protected] > (http://blog.izs.me)" ,
3
3
"name" : " minimatch" ,
4
4
"description" : " a glob matcher in javascript" ,
5
- "version" : " 5.1.0 " ,
5
+ "version" : " 5.1.1 " ,
6
6
"repository" : {
7
7
"type" : " git" ,
8
8
"url" : " git://github.com/isaacs/minimatch.git"
22
22
"brace-expansion" : " ^2.0.1"
23
23
},
24
24
"devDependencies" : {
25
- "tap" : " ^15.1.6 "
25
+ "tap" : " ^16.3.2 "
26
26
},
27
27
"license" : " ISC" ,
28
28
"files" : [
Original file line number Diff line number Diff line change 120
120
"libnpmteam": "^5.0.0",
121
121
"libnpmversion": "^4.0.1",
122
122
"make-fetch-happen": "^11.0.2",
123
- "minimatch": "^5.1.0 ",
123
+ "minimatch": "^5.1.1 ",
124
124
"minipass": "^4.0.0",
125
125
"minipass-pipeline": "^1.2.4",
126
126
"mkdirp": "^1.0.4",
8897
8897
"dev": true
8898
8898
},
8899
8899
"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==",
8901
8903
"inBundle": true,
8902
- "license": "ISC",
8903
8904
"dependencies": {
8904
8905
"brace-expansion": "^2.0.1"
8905
8906
},
15152
15153
"hosted-git-info": "^6.1.1",
15153
15154
"json-parse-even-better-errors": "^3.0.0",
15154
15155
"json-stringify-nice": "^1.1.4",
15155
- "minimatch": "^5.1.0 ",
15156
+ "minimatch": "^5.1.1 ",
15156
15157
"nopt": "^7.0.0",
15157
15158
"npm-install-checks": "^6.0.0",
15158
15159
"npm-package-arg": "^10.1.0",
15236
15237
"@npmcli/installed-package-contents": "^2.0.0",
15237
15238
"binary-extensions": "^2.2.0",
15238
15239
"diff": "^5.1.0",
15239
- "minimatch": "^5.0 .1",
15240
+ "minimatch": "^5.1 .1",
15240
15241
"npm-package-arg": "^10.1.0",
15241
15242
"pacote": "^15.0.7",
15242
15243
"tar": "^6.1.13"
Original file line number Diff line number Diff line change 87
87
"libnpmteam" : " ^5.0.0" ,
88
88
"libnpmversion" : " ^4.0.1" ,
89
89
"make-fetch-happen" : " ^11.0.2" ,
90
- "minimatch" : " ^5.1.0 " ,
90
+ "minimatch" : " ^5.1.1 " ,
91
91
"minipass" : " ^4.0.0" ,
92
92
"minipass-pipeline" : " ^1.2.4" ,
93
93
"mkdirp" : " ^1.0.4" ,
Original file line number Diff line number Diff line change 19
19
"hosted-git-info" : " ^6.1.1" ,
20
20
"json-parse-even-better-errors" : " ^3.0.0" ,
21
21
"json-stringify-nice" : " ^1.1.4" ,
22
- "minimatch" : " ^5.1.0 " ,
22
+ "minimatch" : " ^5.1.1 " ,
23
23
"nopt" : " ^7.0.0" ,
24
24
"npm-install-checks" : " ^6.0.0" ,
25
25
"npm-package-arg" : " ^10.1.0" ,
Original file line number Diff line number Diff line change 52
52
"@npmcli/installed-package-contents" : " ^2.0.0" ,
53
53
"binary-extensions" : " ^2.2.0" ,
54
54
"diff" : " ^5.1.0" ,
55
- "minimatch" : " ^5.0 .1" ,
55
+ "minimatch" : " ^5.1 .1" ,
56
56
"npm-package-arg" : " ^10.1.0" ,
57
57
"pacote" : " ^15.0.7" ,
58
58
"tar" : " ^6.1.13"
You can’t perform that action at this time.
0 commit comments