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.2.0 to 0.2.1

15

index.js

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

var required = require('required');
var Stream = require('stream');
var through = require('through');

@@ -18,4 +18,3 @@ module.exports = function (mains, opts) {

var output = new Stream;
output.readable = true;
var output = through();

@@ -41,7 +40,7 @@ if (!opts) opts = {};

};
output.emit('data', files[file]);
output.queue(files[file]);
};
walk(rows);
if (--pending === 0) output.emit('end');
if (--pending === 0) output.queue(null);
}

@@ -62,3 +61,5 @@

if (pending === 0) process.nextTick(output.emit.bind(output, 'end'));
if (pending === 0) process.nextTick(function () {
output.queue(null);
});

@@ -81,3 +82,3 @@ return output;

}
output.emit('data', r);
output.queue(r);

@@ -84,0 +85,0 @@ walk(row.deps || []);

{
"name": "module-deps",
"version": "0.2.0",
"version": "0.2.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