module-deps
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -55,6 +55,6 @@ var fs = require('fs'); | ||
if (err) return output.emit('error', err); | ||
if (!file) return output.emit('error', [ | ||
if (!file) return output.emit('error', new Error([ | ||
'module not found: "' + id + '" from file ', | ||
parent.filename | ||
].join('')); | ||
].join(''))); | ||
if (cb) cb(file); | ||
@@ -136,6 +136,6 @@ if (visited[file]) { | ||
if (!res) return output.emit('error', [ | ||
if (!res) return output.emit('error', new Error([ | ||
'cannot find transform module ', tr, | ||
' while transforming ', file | ||
].join('')); | ||
].join(''))); | ||
cb(require(res)(file)); | ||
@@ -142,0 +142,0 @@ }); |
{ | ||
"name": "module-deps", | ||
"version": "0.5.0", | ||
"version": "0.5.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
17014