Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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 3.5.5 to 3.5.6

5

index.js

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

Deps.prototype.readFile = function (file, id, pkg) {
var self = this;
var tr = through();

@@ -141,3 +142,3 @@ if (this.cache && this.cache[file]) {

var rs = fs.createReadStream(file);
rs.on('error', function (err) { tr.emit('error', err) });
rs.on('error', function (err) { self.emit('error', err) });
this.emit('file', file, id);

@@ -274,3 +275,3 @@ return rs;

self.emit('missing', id, parent);
return cb(null, undefined);
return cb && cb(null, undefined);
}

@@ -277,0 +278,0 @@ if (err) return self.emit('error', err);

2

package.json
{
"name": "module-deps",
"version": "3.5.5",
"version": "3.5.6",
"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