module-deps
Advanced tools
Comparing version 2.1.2 to 2.1.3
11
index.js
@@ -211,3 +211,3 @@ var fs = require('fs'); | ||
self.emit('transform', t, file); | ||
nextTick(cb, null, t); | ||
nextTick(cb, null, wrapTransform(t)); | ||
} | ||
@@ -217,3 +217,3 @@ else { | ||
if (err) return cb(err); | ||
cb(null, trs); | ||
cb(null, wrapTransform(trs)); | ||
}); | ||
@@ -443,1 +443,8 @@ } | ||
} | ||
function wrapTransform (tr) { | ||
if (typeof tr.read === 'function') return tr; | ||
var input = through(), output = through(); | ||
input.pipe(tr).pipe(output); | ||
return duplexer(input, output); | ||
} |
{ | ||
"name": "module-deps", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"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
39756
952