Comparing version 0.2.6 to 0.2.7
@@ -66,3 +66,3 @@ const fs = require('fs') | ||
const hotfile = new Hotfile(path, options.options ? options.options: {}) | ||
if(typeof options.filter === 'function' && ! await options.filter(hotfile)) continue | ||
if(typeof options.filter === 'function' && !(await options.filter(hotfile) || hotfile.isDirectory)) continue | ||
if (typeof options.cb === 'function') await options.cb(hotfile) | ||
@@ -69,0 +69,0 @@ this.children.push(hotfile) |
{ | ||
"name": "hotfile", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"description": "Hotfile makes working with folders and files in node-js easy and clear.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
12413
0