fast-glob
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -23,2 +23,3 @@ "use strict"; | ||
DeepFilter.prototype.filter = function (entry, positiveRe, negativeRe) { | ||
var entryPath = entry.path; | ||
// Exclude duplicate results | ||
@@ -33,6 +34,6 @@ if (this.options.unique) { | ||
if (entry.isDirectory()) { | ||
entry.path += '/'; | ||
entryPath += '/'; | ||
} | ||
// Filter directories that will be excluded by deep filter | ||
if (entry.isDirectory() && patternUtils.matchAny(entry.path, negativeRe)) { | ||
if (entry.isDirectory() && patternUtils.matchAny(entryPath, negativeRe)) { | ||
return false; | ||
@@ -44,3 +45,3 @@ } | ||
} | ||
return patternUtils.match(entry.path, positiveRe, negativeRe); | ||
return patternUtils.match(entryPath, positiveRe, negativeRe); | ||
}; | ||
@@ -47,0 +48,0 @@ /** |
{ | ||
"name": "fast-glob", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Is a faster `node-glob` alternative", | ||
@@ -54,3 +54,3 @@ "license": "MIT", | ||
"micromatch": "3.1.5", | ||
"readdir-enhanced": "2.2.0" | ||
"readdir-enhanced": "mrmlnc/readdir-enhanced#ISSUE-11_monkey_fix" | ||
}, | ||
@@ -57,0 +57,0 @@ "scripts": { |
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
50223
36
1084
1
1
- Removedcall-me-maybe@1.0.2(transitive)
- Removedglob-to-regexp@0.3.0(transitive)
- Removedreaddir-enhanced@2.2.0(transitive)
Updatedreaddir-enhanced@mrmlnc/readdir-enhanced#ISSUE-11_monkey_fix