Comparing version 4.0.0 to 4.0.1
@@ -152,2 +152,6 @@ // Approach: | ||
this.debug = !!options.debug || !!options.globDebug | ||
if (/\bglob\b/.test(process.env.NODE_DEBUG || '')) | ||
this.debug = true | ||
if (this.debug) | ||
@@ -180,2 +184,6 @@ this.log = console.error | ||
if (this.minimatch.set.length === 0) { | ||
return process.nextTick(this._finish.bind(this)) | ||
} | ||
this.minimatch.set.forEach(iterator.bind(this)) | ||
@@ -182,0 +190,0 @@ function iterator (pattern, i, set) { |
@@ -5,3 +5,3 @@ { | ||
"description": "a little globber", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
@@ -296,2 +296,3 @@ { | ||
"./test/cwd-test.js", | ||
"./test/empty-set.js", | ||
"./test/globstar-match.js", | ||
@@ -298,0 +299,0 @@ "./test/mark.js", |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
81424
23
1705
7