Socket
Socket
Sign inDemoInstall

needs

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

needs - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

test/dirs/modules/foo/package.json

5

lib/needs.js

@@ -6,6 +6,3 @@ 'use strict';

var path = require('path');
var Module = require('module').Module;
var debug = function (x) {};
// The module to be exported.

@@ -102,3 +99,3 @@ module.exports = needs;

if (fs.existsSync(pf)) {
target = require(pf).main;
target = require(pf).main || target;
}

@@ -105,0 +102,0 @@ }

2

package.json
{
"name": "needs",
"version": "0.1.3",
"version": "0.1.4",
"description": "Require multiple modules in node.js.",

@@ -5,0 +5,0 @@ "main": "index.js",

{
"name": "hello",
"version": "0.0.1",
"main": "hello.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