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.5.0 to 0.5.1

8

index.js

@@ -55,6 +55,6 @@ var fs = require('fs');

if (err) return output.emit('error', err);
if (!file) return output.emit('error', [
if (!file) return output.emit('error', new Error([
'module not found: "' + id + '" from file ',
parent.filename
].join(''));
].join('')));
if (cb) cb(file);

@@ -136,6 +136,6 @@ if (visited[file]) {

if (!res) return output.emit('error', [
if (!res) return output.emit('error', new Error([
'cannot find transform module ', tr,
' while transforming ', file
].join(''));
].join('')));
cb(require(res)(file));

@@ -142,0 +142,0 @@ });

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