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 3.6.5 to 3.7.0

test/row_expose.js

10

index.js

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

if (!this.options.modules) this.options.modules = {};
// If the caller passes options.expose, store resolved pathnames for exposed
// modules in it. If not, set it anyway so it's defined later.
if (!this.options.expose) this.options.expose = {};
this.pending = 0;

@@ -289,3 +293,7 @@

if (rec.expose) {
self.options.modules[rec.expose] = file;
// Set options.expose to make the resolved pathname available to the
// caller. They may or may not have requested it, but it's harmless
// to set this if they didn't.
self.options.expose[rec.expose] =
self.options.modules[rec.expose] = file;
}

@@ -292,0 +300,0 @@ if (pkg) self.emit('package', pkg);

2

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc