Comparing version 0.1.3 to 0.1.4
@@ -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 @@ } |
{ | ||
"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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
10093
21
5
232