Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys authored Dec 7, 2022
1 parent 0e6c28b commit 372d158
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 14 deletions.
8 changes: 4 additions & 4 deletions node_modules/minimatch/minimatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ class Minimatch {
negateOffset++
}

if (negateOffset) this.pattern = pattern.substr(negateOffset)
if (negateOffset) this.pattern = pattern.slice(negateOffset)
this.negate = negate
}

Expand Down Expand Up @@ -619,7 +619,7 @@ class Minimatch {
} catch (er) {
// not a valid class!
sp = this.parse(cs, SUBPARSE)
re = re.substr(0, reClassStart) + '\\[' + sp[0] + '\\]'
re = re.substring(0, reClassStart) + '\\[' + sp[0] + '\\]'
hasMagic = hasMagic || sp[1]
inClass = false
continue
Expand Down Expand Up @@ -652,9 +652,9 @@ class Minimatch {
// this is a huge pita. We now have to re-walk
// the contents of the would-be class to re-translate
// any characters that were passed through as-is
cs = pattern.substr(classStart + 1)
cs = pattern.slice(classStart + 1)
sp = this.parse(cs, SUBPARSE)
re = re.substr(0, reClassStart) + '\\[' + sp[0]
re = re.substring(0, reClassStart) + '\\[' + sp[0]
hasMagic = hasMagic || sp[1]
}

Expand Down
4 changes: 2 additions & 2 deletions node_modules/minimatch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Isaac Z. Schlueter <[email protected]> (http://blog.izs.me)",
"name": "minimatch",
"description": "a glob matcher in javascript",
"version": "5.1.0",
"version": "5.1.1",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/minimatch.git"
Expand All @@ -22,7 +22,7 @@
"brace-expansion": "^2.0.1"
},
"devDependencies": {
"tap": "^15.1.6"
"tap": "^16.3.2"
},
"license": "ISC",
"files": [
Expand Down
11 changes: 6 additions & 5 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"libnpmteam": "^5.0.0",
"libnpmversion": "^4.0.1",
"make-fetch-happen": "^11.0.2",
"minimatch": "^5.1.0",
"minimatch": "^5.1.1",
"minipass": "^4.0.0",
"minipass-pipeline": "^1.2.4",
"mkdirp": "^1.0.4",
Expand Down Expand Up @@ -8897,9 +8897,10 @@
"dev": true
},
"node_modules/minimatch": {
"version": "5.1.0",
"version": "5.1.1",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.1.tgz",
"integrity": "sha512-362NP+zlprccbEt/SkxKfRMHnNY85V74mVnpUpNyr3F35covl09Kec7/sEFLt3RA4oXmewtoaanoIf67SE5Y5g==",
"inBundle": true,
"license": "ISC",
"dependencies": {
"brace-expansion": "^2.0.1"
},
Expand Down Expand Up @@ -15152,7 +15153,7 @@
"hosted-git-info": "^6.1.1",
"json-parse-even-better-errors": "^3.0.0",
"json-stringify-nice": "^1.1.4",
"minimatch": "^5.1.0",
"minimatch": "^5.1.1",
"nopt": "^7.0.0",
"npm-install-checks": "^6.0.0",
"npm-package-arg": "^10.1.0",
Expand Down Expand Up @@ -15236,7 +15237,7 @@
"@npmcli/installed-package-contents": "^2.0.0",
"binary-extensions": "^2.2.0",
"diff": "^5.1.0",
"minimatch": "^5.0.1",
"minimatch": "^5.1.1",
"npm-package-arg": "^10.1.0",
"pacote": "^15.0.7",
"tar": "^6.1.13"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"libnpmteam": "^5.0.0",
"libnpmversion": "^4.0.1",
"make-fetch-happen": "^11.0.2",
"minimatch": "^5.1.0",
"minimatch": "^5.1.1",
"minipass": "^4.0.0",
"minipass-pipeline": "^1.2.4",
"mkdirp": "^1.0.4",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/arborist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"hosted-git-info": "^6.1.1",
"json-parse-even-better-errors": "^3.0.0",
"json-stringify-nice": "^1.1.4",
"minimatch": "^5.1.0",
"minimatch": "^5.1.1",
"nopt": "^7.0.0",
"npm-install-checks": "^6.0.0",
"npm-package-arg": "^10.1.0",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/libnpmdiff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@npmcli/installed-package-contents": "^2.0.0",
"binary-extensions": "^2.2.0",
"diff": "^5.1.0",
"minimatch": "^5.0.1",
"minimatch": "^5.1.1",
"npm-package-arg": "^10.1.0",
"pacote": "^15.0.7",
"tar": "^6.1.13"
Expand Down

0 comments on commit 372d158

Please sign in to comment.