module-deps
Advanced tools
Comparing version 0.10.0 to 0.10.1
@@ -56,4 +56,5 @@ var fs = require('fs'); | ||
var resolver = opts.cache && typeof opts.cache[parent.id] === 'object' | ||
&& opts.cache[parent.id].deps[id] | ||
var c = opts.cache && opts.cache[parent.id]; | ||
var resolver = c && typeof c === 'object' | ||
&& !Buffer.isBuffer(c) && c.deps[id] | ||
? function (xid, xparent, cb) { | ||
@@ -117,3 +118,3 @@ cb(null, opts.cache[parent.id].deps[id]); | ||
var deps; | ||
if (typeof src === 'object') { | ||
if (!Buffer.isBuffer(src) && typeof src === 'object') { | ||
deps = Object.keys(src.deps); | ||
@@ -120,0 +121,0 @@ src = src.source; |
{ | ||
"name": "module-deps", | ||
"version": "0.10.0", | ||
"version": "0.10.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
21194
447