read-installed
Advanced tools
Comparing version 0.2.4 to 0.2.5
{ | ||
"name": "read-installed", | ||
"description": "Read all the installed packages in a folder, and return a tree structure with all the data.", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
@@ -209,3 +209,10 @@ | ||
if (er || !depData || !depData.version) return cb(null, obj) | ||
obj.dependencies[pkg] = depData.version | ||
if (depth === maxDepth) { | ||
// edge case, ignore dependencies | ||
depData.dependencies = {} | ||
depData.peerDependencies = {} | ||
obj.dependencies[pkg] = depData | ||
} else { | ||
obj.dependencies[pkg] = depData.version | ||
} | ||
cb(null, obj) | ||
@@ -212,0 +219,0 @@ }) |
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
12351
331