minimatch
Advanced tools
Comparing version 9.0.4 to 9.0.5
@@ -534,6 +534,7 @@ "use strict"; | ||
const matched = this.partsMatch(globParts[i], globParts[j], !this.preserveMultipleSlashes); | ||
if (!matched) | ||
continue; | ||
globParts[i] = matched; | ||
globParts[j] = []; | ||
if (matched) { | ||
globParts[i] = []; | ||
globParts[j] = matched; | ||
break; | ||
} | ||
} | ||
@@ -540,0 +541,0 @@ } |
@@ -522,6 +522,7 @@ import expand from 'brace-expansion'; | ||
const matched = this.partsMatch(globParts[i], globParts[j], !this.preserveMultipleSlashes); | ||
if (!matched) | ||
continue; | ||
globParts[i] = matched; | ||
globParts[j] = []; | ||
if (matched) { | ||
globParts[i] = []; | ||
globParts[j] = matched; | ||
break; | ||
} | ||
} | ||
@@ -528,0 +529,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"description": "a glob matcher in javascript", | ||
"version": "9.0.4", | ||
"version": "9.0.5", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
@@ -340,3 +340,3 @@ # minimatch | ||
Globstar parts `**` are always converted to `*` when `noglobstar` | ||
is set, and multiple adjascent `**` parts are converted into a | ||
is set, and multiple adjacent `**` parts are converted into a | ||
single `**` (ie, `a/**/**/b` will be treated as `a/**/b`, as this | ||
@@ -343,0 +343,0 @@ is equivalent in all cases). |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
435003
3888
0