npm-bundled
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -38,2 +38,3 @@ 'use strict' | ||
this.seen = new Set() | ||
this.didDone = false | ||
@@ -118,3 +119,4 @@ this.children = 0 | ||
childDep (dep) { | ||
if (this.node_modules.indexOf(dep) !== -1) { | ||
if (this.node_modules.indexOf(dep) !== -1 && !this.seen.has(dep)) { | ||
this.seen.add(dep) | ||
this.child(dep) | ||
@@ -121,0 +123,0 @@ } else if (this.parent) { |
{ | ||
"name": "npm-bundled", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "list things in node_modules that are bundledDependencies, or transitive dependencies thereof", | ||
@@ -16,3 +16,3 @@ "main": "index.js", | ||
"rimraf": "^2.6.1", | ||
"tap": "^10.3.2" | ||
"tap": "^12.0.1" | ||
}, | ||
@@ -19,0 +19,0 @@ "scripts": { |
@@ -7,2 +7,4 @@ # npm-bundled | ||
[![Build Status](https://travis-ci.org/npm/npm-bundled.svg?branch=master)](https://travis-ci.org/npm/npm-bundled) | ||
## USAGE | ||
@@ -9,0 +11,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
8349
201
49