From 91aad19f11c212b13ea34b13aed7e3c1fe3fcc7b Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Wed, 7 Dec 2022 15:31:35 -0700 Subject: [PATCH] deps: minimatch@5.1.1 --- node_modules/minimatch/minimatch.js | 8 ++++---- node_modules/minimatch/package.json | 4 ++-- package-lock.json | 11 ++++++----- package.json | 2 +- workspaces/arborist/package.json | 2 +- workspaces/libnpmdiff/package.json | 2 +- 6 files changed, 15 insertions(+), 14 deletions(-) diff --git a/node_modules/minimatch/minimatch.js b/node_modules/minimatch/minimatch.js index 71c96a1fb71cc..9e8917a46165f 100644 --- a/node_modules/minimatch/minimatch.js +++ b/node_modules/minimatch/minimatch.js @@ -243,7 +243,7 @@ class Minimatch { negateOffset++ } - if (negateOffset) this.pattern = pattern.substr(negateOffset) + if (negateOffset) this.pattern = pattern.slice(negateOffset) this.negate = negate } @@ -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 @@ -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] } diff --git a/node_modules/minimatch/package.json b/node_modules/minimatch/package.json index 8e1a84285d38f..8e237d3f15504 100644 --- a/node_modules/minimatch/package.json +++ b/node_modules/minimatch/package.json @@ -2,7 +2,7 @@ "author": "Isaac Z. Schlueter (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" @@ -22,7 +22,7 @@ "brace-expansion": "^2.0.1" }, "devDependencies": { - "tap": "^15.1.6" + "tap": "^16.3.2" }, "license": "ISC", "files": [ diff --git a/package-lock.json b/package-lock.json index b65f2653c4456..782790657b55e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", @@ -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" }, @@ -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", @@ -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" diff --git a/package.json b/package.json index da6b9e52e5765..d91f7b5ba0ef4 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/workspaces/arborist/package.json b/workspaces/arborist/package.json index c3b957e6f74cd..c137c0cd4bfe3 100644 --- a/workspaces/arborist/package.json +++ b/workspaces/arborist/package.json @@ -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", diff --git a/workspaces/libnpmdiff/package.json b/workspaces/libnpmdiff/package.json index c23a45e9c129f..9d95b963f2408 100644 --- a/workspaces/libnpmdiff/package.json +++ b/workspaces/libnpmdiff/package.json @@ -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"