Socket
Socket
Sign inDemoInstall

module-deps

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

module-deps - npm Package Compare versions

Comparing version 0.13.1 to 0.14.0

6

index.js

@@ -14,2 +14,3 @@ var fs = require('fs');

var cache = opts.cache;
var pkgCache = opts.packageCache;

@@ -69,7 +70,8 @@ if (!Array.isArray(mains)) mains = [ mains ].filter(Boolean);

var c = opts.cache && opts.cache[parent.id];
var c = cache && cache[parent.id];
var resolver = c && typeof c === 'object'
&& !Buffer.isBuffer(c) && c.deps[id]
? function (xid, xparent, cb) {
cb(null, opts.cache[parent.id].deps[id]);
var file = cache[parent.id].deps[id];
cb(null, file, pkgCache && pkgCache[file]);
}

@@ -76,0 +78,0 @@ : resolve;

{
"name": "module-deps",
"version": "0.13.1",
"version": "0.14.0",
"description": "walk the dependency graph to generate json output that can be fed into browser-pack",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc