Skip to content

Commit aeb54e4

Browse files
lukekarrysruyadorno
authored andcommitted
deps: glob@8.0.1
1 parent 4eb2ccb commit aeb54e4

40 files changed

Lines changed: 3095 additions & 241 deletions

node_modules/glob/LICENSE

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The ISC License
22

3-
Copyright (c) Isaac Z. Schlueter and Contributors
3+
Copyright (c) 2009-2022 Isaac Z. Schlueter and Contributors
44

55
Permission to use, copy, modify, and/or distribute this software for any
66
purpose with or without fee is hereby granted, provided that the above
@@ -13,9 +13,3 @@ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1313
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
1414
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
1515
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16-
17-
## Glob Logo
18-
19-
Glob's logo created by Tanya Brassie <http://tanyabrassie.com/>, licensed
20-
under a Creative Commons Attribution-ShareAlike 4.0 International License
21-
https://creativecommons.org/licenses/by-sa/4.0/

node_modules/glob/common.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ function setopts (self, pattern, options) {
110110
// Note that they are not supported in Glob itself anyway.
111111
options.nonegate = true
112112
options.nocomment = true
113+
// always treat \ in patterns as escapes, not path separators
114+
options.allowWindowsEscape = true
113115

114116
self.minimatch = new Minimatch(pattern, options)
115117
self.options = self.minimatch.options

node_modules/glob/glob.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,10 @@ Glob.prototype._process = function (pattern, index, inGlobStar, cb) {
342342
var read
343343
if (prefix === null)
344344
read = '.'
345-
else if (isAbsolute(prefix) || isAbsolute(pattern.join('/'))) {
345+
else if (isAbsolute(prefix) ||
346+
isAbsolute(pattern.map(function (p) {
347+
return typeof p === 'string' ? p : '[*]'
348+
}).join('/'))) {
346349
if (!prefix || !isAbsolute(prefix))
347350
prefix = '/' + prefix
348351
read = prefix

node_modules/glob/package.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
33
"name": "glob",
44
"description": "a little globber",
5-
"version": "7.2.0",
5+
"version": "8.0.1",
66
"repository": {
77
"type": "git",
88
"url": "git://github.com/isaacs/node-glob.git"
@@ -14,26 +14,30 @@
1414
"common.js"
1515
],
1616
"engines": {
17-
"node": "*"
17+
"node": ">=12"
1818
},
1919
"dependencies": {
2020
"fs.realpath": "^1.0.0",
2121
"inflight": "^1.0.4",
2222
"inherits": "2",
23-
"minimatch": "^3.0.4",
23+
"minimatch": "^5.0.1",
2424
"once": "^1.3.0",
2525
"path-is-absolute": "^1.0.0"
2626
},
2727
"devDependencies": {
2828
"memfs": "^3.2.0",
2929
"mkdirp": "0",
3030
"rimraf": "^2.2.8",
31-
"tap": "^15.0.6",
31+
"tap": "^16.0.1",
3232
"tick": "0.0.6"
3333
},
3434
"tap": {
3535
"before": "test/00-setup.js",
3636
"after": "test/zz-cleanup.js",
37+
"statements": 90,
38+
"branches": 90,
39+
"functions": 90,
40+
"lines": 90,
3741
"jobs": 1
3842
},
3943
"scripts": {

node_modules/glob/sync.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,10 @@ GlobSync.prototype._process = function (pattern, index, inGlobStar) {
109109
var read
110110
if (prefix === null)
111111
read = '.'
112-
else if (isAbsolute(prefix) || isAbsolute(pattern.join('/'))) {
112+
else if (isAbsolute(prefix) ||
113+
isAbsolute(pattern.map(function (p) {
114+
return typeof p === 'string' ? p : '[*]'
115+
}).join('/'))) {
113116
if (!prefix || !isAbsolute(prefix))
114117
prefix = '/' + prefix
115118
read = prefix

node_modules/glob/node_modules/brace-expansion/LICENSE renamed to node_modules/node-gyp/node_modules/brace-expansion/LICENSE

File renamed without changes.

node_modules/glob/node_modules/brace-expansion/index.js renamed to node_modules/node-gyp/node_modules/brace-expansion/index.js

File renamed without changes.

node_modules/glob/node_modules/brace-expansion/package.json renamed to node_modules/node-gyp/node_modules/brace-expansion/package.json

File renamed without changes.

node_modules/read-package-json/node_modules/glob/LICENSE renamed to node_modules/node-gyp/node_modules/glob/LICENSE

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The ISC License
22

3-
Copyright (c) 2009-2022 Isaac Z. Schlueter and Contributors
3+
Copyright (c) Isaac Z. Schlueter and Contributors
44

55
Permission to use, copy, modify, and/or distribute this software for any
66
purpose with or without fee is hereby granted, provided that the above
@@ -13,3 +13,9 @@ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1313
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
1414
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
1515
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16+
17+
## Glob Logo
18+
19+
Glob's logo created by Tanya Brassie <http://tanyabrassie.com/>, licensed
20+
under a Creative Commons Attribution-ShareAlike 4.0 International License
21+
https://creativecommons.org/licenses/by-sa/4.0/

node_modules/read-package-json/node_modules/glob/common.js renamed to node_modules/node-gyp/node_modules/glob/common.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ function setopts (self, pattern, options) {
110110
// Note that they are not supported in Glob itself anyway.
111111
options.nonegate = true
112112
options.nocomment = true
113-
// always treat \ in patterns as escapes, not path separators
114-
options.allowWindowsEscape = true
115113

116114
self.minimatch = new Minimatch(pattern, options)
117115
self.options = self.minimatch.options

0 commit comments

Comments
 (0)