Skip to content

Commit c1ccfa1

Browse files
committed
1 parent 3dc17ce commit c1ccfa1

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

node_modules/glob/common.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ function setopts (self, pattern, options) {
5757
pattern = "**/" + pattern
5858
}
5959

60+
self.windowsPathsNoEscape = !!options.windowsPathsNoEscape ||
61+
options.allowWindowsEscape === false
62+
if (self.windowsPathsNoEscape) {
63+
pattern = pattern.replace(/\\/g, '/')
64+
}
65+
6066
self.silent = !!options.silent
6167
self.pattern = pattern
6268
self.strict = options.strict !== false
@@ -112,8 +118,6 @@ function setopts (self, pattern, options) {
112118
// Note that they are not supported in Glob itself anyway.
113119
options.nonegate = true
114120
options.nocomment = true
115-
// always treat \ in patterns as escapes, not path separators
116-
options.allowWindowsEscape = true
117121

118122
self.minimatch = new Minimatch(pattern, options)
119123
self.options = self.minimatch.options

node_modules/glob/package.json

Lines changed: 1 addition & 1 deletion
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": "glob",
44
"description": "a little globber",
5-
"version": "8.0.3",
5+
"version": "8.1.0",
66
"repository": {
77
"type": "git",
88
"url": "git://github.com/isaacs/node-glob.git"

package-lock.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"columnify": "^1.6.0",
101101
"fastest-levenshtein": "^1.0.16",
102102
"fs-minipass": "^3.0.1",
103-
"glob": "^8.0.1",
103+
"glob": "^8.1.0",
104104
"graceful-fs": "^4.2.10",
105105
"hosted-git-info": "^6.1.1",
106106
"ini": "^3.0.1",
@@ -5472,9 +5472,10 @@
54725472
"dev": true
54735473
},
54745474
"node_modules/glob": {
5475-
"version": "8.0.3",
5475+
"version": "8.1.0",
5476+
"resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz",
5477+
"integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==",
54765478
"inBundle": true,
5477-
"license": "ISC",
54785479
"dependencies": {
54795480
"fs.realpath": "^1.0.0",
54805481
"inflight": "^1.0.4",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"columnify": "^1.6.0",
6969
"fastest-levenshtein": "^1.0.16",
7070
"fs-minipass": "^3.0.1",
71-
"glob": "^8.0.1",
71+
"glob": "^8.1.0",
7272
"graceful-fs": "^4.2.10",
7373
"hosted-git-info": "^6.1.1",
7474
"ini": "^3.0.1",

0 commit comments

Comments
 (0)