dependencies-hierarchy
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -87,3 +87,3 @@ "use strict"; | ||
function getTree(opts, packages, keypath, parentId) { | ||
if (opts.currentDepth > opts.maxDepth) | ||
if (opts.currentDepth > opts.maxDepth || !packages[parentId]) | ||
return []; | ||
@@ -90,0 +90,0 @@ const deps = opts.prod |
{ | ||
"name": "dependencies-hierarchy", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Creates a dependencies hierarchy for a symlinked `node_modules`", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
16373