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 1.0.0 to 1.0.1

9

index.js

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

if (cb) cb(file);
if (visited[file]) return;
if (visited[file]) {
if (--pending === 0) output.queue(null);
return;
}

@@ -178,3 +181,2 @@ visited[file] = true;

var resolved = {};
var indexes = {};

@@ -188,5 +190,4 @@ deps.forEach(function (id) {

walk(id, current, function (r, index) {
walk(id, current, function (r) {
resolved[id] = r;
indexes[id] = index;
if (--p === 0) done();

@@ -193,0 +194,0 @@ });

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