module-deps
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -98,3 +98,6 @@ var fs = require('fs'); | ||
if (cb) cb(file); | ||
if (visited[file]) return; | ||
if (visited[file]) { | ||
if (--pending === 0) output.queue(null); | ||
return; | ||
} | ||
@@ -178,3 +181,2 @@ visited[file] = true; | ||
var resolved = {}; | ||
var indexes = {}; | ||
@@ -188,5 +190,4 @@ deps.forEach(function (id) { | ||
walk(id, current, function (r, index) { | ||
walk(id, current, function (r) { | ||
resolved[id] = r; | ||
indexes[id] = index; | ||
if (--p === 0) done(); | ||
@@ -193,0 +194,0 @@ }); |
{ | ||
"name": "module-deps", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "walk the dependency graph to generate json output that can be fed into browser-pack", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
28204
653