Skip to content

Commit

Permalink
deps: glob@8.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Feb 7, 2023
1 parent 3dc17ce commit c1ccfa1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
8 changes: 6 additions & 2 deletions node_modules/glob/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ function setopts (self, pattern, options) {
pattern = "**/" + pattern
}

self.windowsPathsNoEscape = !!options.windowsPathsNoEscape ||
options.allowWindowsEscape === false
if (self.windowsPathsNoEscape) {
pattern = pattern.replace(/\\/g, '/')
}

self.silent = !!options.silent
self.pattern = pattern
self.strict = options.strict !== false
Expand Down Expand Up @@ -112,8 +118,6 @@ function setopts (self, pattern, options) {
// Note that they are not supported in Glob itself anyway.
options.nonegate = true
options.nocomment = true
// always treat \ in patterns as escapes, not path separators
options.allowWindowsEscape = true

self.minimatch = new Minimatch(pattern, options)
self.options = self.minimatch.options
Expand Down
2 changes: 1 addition & 1 deletion node_modules/glob/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
"name": "glob",
"description": "a little globber",
"version": "8.0.3",
"version": "8.1.0",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/node-glob.git"
Expand Down
7 changes: 4 additions & 3 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"columnify": "^1.6.0",
"fastest-levenshtein": "^1.0.16",
"fs-minipass": "^3.0.1",
"glob": "^8.0.1",
"glob": "^8.1.0",
"graceful-fs": "^4.2.10",
"hosted-git-info": "^6.1.1",
"ini": "^3.0.1",
Expand Down Expand Up @@ -5472,9 +5472,10 @@
"dev": true
},
"node_modules/glob": {
"version": "8.0.3",
"version": "8.1.0",
"resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz",
"integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==",
"inBundle": true,
"license": "ISC",
"dependencies": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"columnify": "^1.6.0",
"fastest-levenshtein": "^1.0.16",
"fs-minipass": "^3.0.1",
"glob": "^8.0.1",
"glob": "^8.1.0",
"graceful-fs": "^4.2.10",
"hosted-git-info": "^6.1.1",
"ini": "^3.0.1",
Expand Down

0 comments on commit c1ccfa1

Please sign in to comment.