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.10.0 to 0.10.1

7

index.js

@@ -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",

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