This commit is contained in:
2019-01-25 01:39:48 +01:00
commit 41ac3fb32a
3269 changed files with 396937 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
var require_optional = require('../../')
function findPackage(packageName) {
var pkg = require_optional(packageName);
return pkg;
}
module.exports.findPackage = findPackage

View File

@@ -0,0 +1,11 @@
{
"name": "nestedtest",
"version": "1.0.0",
"description": "A dummy package that facilitates testing that require_optional correctly walks up the module call stack",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Sebastian Hallum Clarke",
"license": "ISC"
}