Skip to content

Commit a8bfdd8

Browse files
authored
1 parent 5b9688c commit a8bfdd8

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

node_modules/minimatch/minimatch.js

+5
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,11 @@ class Minimatch {
168168
this.options = options
169169
this.set = []
170170
this.pattern = pattern
171+
this.windowsPathsNoEscape = !!options.windowsPathsNoEscape ||
172+
options.allowWindowsEscape === false
173+
if (this.windowsPathsNoEscape) {
174+
this.pattern = this.pattern.replace(/\\/g, '/')
175+
}
171176
this.regexp = null
172177
this.negate = false
173178
this.comment = false

node_modules/minimatch/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"author": "Isaac Z. Schlueter <[email protected]> (http://blog.izs.me)",
33
"name": "minimatch",
44
"description": "a glob matcher in javascript",
5-
"version": "5.0.1",
5+
"version": "5.1.0",
66
"repository": {
77
"type": "git",
88
"url": "git://github.com/isaacs/minimatch.git"

package-lock.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -4750,9 +4750,9 @@
47504750
"license": "ISC"
47514751
},
47524752
"node_modules/minimatch": {
4753-
"version": "5.0.1",
4754-
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz",
4755-
"integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==",
4753+
"version": "5.1.0",
4754+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz",
4755+
"integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==",
47564756
"inBundle": true,
47574757
"dependencies": {
47584758
"brace-expansion": "^2.0.1"
@@ -13355,9 +13355,9 @@
1335513355
"dev": true
1335613356
},
1335713357
"minimatch": {
13358-
"version": "5.0.1",
13359-
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz",
13360-
"integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==",
13358+
"version": "5.1.0",
13359+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz",
13360+
"integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==",
1336113361
"requires": {
1336213362
"brace-expansion": "^2.0.1"
1336313363
}

0 commit comments

Comments
 (0)