Comparing version 7.2.0 to 8.0.1
@@ -113,2 +113,4 @@ exports.setopts = setopts | ||
options.nocomment = true | ||
// always treat \ in patterns as escapes, not path separators | ||
options.allowWindowsEscape = true | ||
@@ -115,0 +117,0 @@ self.minimatch = new Minimatch(pattern, options) |
@@ -345,3 +345,6 @@ // Approach: | ||
read = '.' | ||
else if (isAbsolute(prefix) || isAbsolute(pattern.join('/'))) { | ||
else if (isAbsolute(prefix) || | ||
isAbsolute(pattern.map(function (p) { | ||
return typeof p === 'string' ? p : '[*]' | ||
}).join('/'))) { | ||
if (!prefix || !isAbsolute(prefix)) | ||
@@ -348,0 +351,0 @@ prefix = '/' + prefix |
@@ -5,3 +5,3 @@ { | ||
"description": "a little globber", | ||
"version": "7.2.0", | ||
"version": "8.0.1", | ||
"repository": { | ||
@@ -18,3 +18,3 @@ "type": "git", | ||
"engines": { | ||
"node": "*" | ||
"node": ">=12" | ||
}, | ||
@@ -25,3 +25,3 @@ "dependencies": { | ||
"inherits": "2", | ||
"minimatch": "^3.0.4", | ||
"minimatch": "^5.0.1", | ||
"once": "^1.3.0", | ||
@@ -34,3 +34,3 @@ "path-is-absolute": "^1.0.0" | ||
"rimraf": "^2.2.8", | ||
"tap": "^15.0.6", | ||
"tap": "^16.0.1", | ||
"tick": "0.0.6" | ||
@@ -41,2 +41,6 @@ }, | ||
"after": "test/zz-cleanup.js", | ||
"statements": 90, | ||
"branches": 90, | ||
"functions": 90, | ||
"lines": 90, | ||
"jobs": 1 | ||
@@ -43,0 +47,0 @@ }, |
@@ -112,3 +112,6 @@ module.exports = globSync | ||
read = '.' | ||
else if (isAbsolute(prefix) || isAbsolute(pattern.join('/'))) { | ||
else if (isAbsolute(prefix) || | ||
isAbsolute(pattern.map(function (p) { | ||
return typeof p === 'string' ? p : '[*]' | ||
}).join('/'))) { | ||
if (!prefix || !isAbsolute(prefix)) | ||
@@ -115,0 +118,0 @@ prefix = '/' + prefix |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
54890
1247
18
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedminimatch@5.1.6(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedminimatch@3.1.2(transitive)
Updatedminimatch@^5.0.1