Socket
Socket
Sign inDemoInstall

fast-glob

Package Overview
Dependencies
76
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.0.2

.npmignore

7

out/providers/filters/entry.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc