directory-tree
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -25,3 +25,2 @@ 'use strict'; | ||
.filter(e => !!e); | ||
if (!item.children.length) return null; | ||
item.size = item.children.reduce((prev, cur) => prev + cur.size, 0); | ||
@@ -28,0 +27,0 @@ } catch(ex) { |
{ | ||
"name": "directory-tree", | ||
"version": "1.1.0", | ||
"version": "1.1.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
4108
32