directory-tree
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -99,3 +99,3 @@ 'use strict'; | ||
item.children = dirData | ||
.map(child => directoryTree(PATH.join(path, child), options, onEachFile)) | ||
.map(child => directoryTree(PATH.join(path, child), options, onEachFile, onEachDirectory)) | ||
.filter(e => !!e); | ||
@@ -102,0 +102,0 @@ item.size = item.children.reduce((prev, cur) => prev + cur.size, 0); |
{ | ||
"name": "directory-tree", | ||
"version": "2.1.0", | ||
"version": "2.2.1", | ||
"lockfileVersion": 1, | ||
@@ -5,0 +5,0 @@ "requires": true, |
{ | ||
"name": "directory-tree", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "Convert a directory tree to a JS object.", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
17228
0