Comparing version 10.1.1 to 10.1.2
@@ -37,3 +37,6 @@ import {readdir, stat, lstat} from "node:fs/promises"; | ||
const res = filters.map(f => { | ||
return new RegExp(`${escRe(f).replace(/\\\*+/g, ".*").replace(/\/\.\*/, ".*")}$`, flags); | ||
return new RegExp(`${escRe(f) | ||
.replace(/\\\*+/g, ".*") | ||
.replace(/\/\.\*/, ".*") | ||
.replace(/(\.\*){2,}/, ".*")}$`, flags); | ||
}); | ||
@@ -40,0 +43,0 @@ return str => { |
{ | ||
"name": "rrdir", | ||
"version": "10.1.1", | ||
"version": "10.1.2", | ||
"description": "Recursive directory reader with a delightful API", | ||
@@ -18,7 +18,7 @@ "author": "silverwind <me@silverwind.io>", | ||
"devDependencies": { | ||
"eslint": "8.29.0", | ||
"eslint-config-silverwind": "65.0.0", | ||
"updates": "13.2.4", | ||
"versions": "10.4.1", | ||
"vitest": "0.25.8" | ||
"eslint": "8.36.0", | ||
"eslint-config-silverwind": "65.1.3", | ||
"updates": "13.2.9", | ||
"versions": "10.4.2", | ||
"vitest": "0.29.7" | ||
}, | ||
@@ -25,0 +25,0 @@ "keywords": [ |
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
11146
179