npm-bundled
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -138,5 +138,7 @@ 'use strict' | ||
childDep (dep) { | ||
if (this.node_modules.indexOf(dep) !== -1 && !this.seen.has(dep)) { | ||
this.seen.add(dep) | ||
this.child(dep) | ||
if (this.node_modules.indexOf(dep) !== -1) { | ||
if (!this.seen.has(dep)) { | ||
this.seen.add(dep) | ||
this.child(dep) | ||
} | ||
} else if (this.parent) { | ||
@@ -143,0 +145,0 @@ this.parent.childDep(dep) |
{ | ||
"name": "npm-bundled", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "list things in node_modules that are bundledDependencies, or transitive dependencies thereof", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
9743
220