mirror of
https://github.com/bvanroll/yahoo-thing.git
synced 2025-08-29 12:02:48 +00:00
euh
This commit is contained in:
8
node_modules/require_optional/test/nestedTest/index.js
generated
vendored
Normal file
8
node_modules/require_optional/test/nestedTest/index.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
var require_optional = require('../../')
|
||||
|
||||
function findPackage(packageName) {
|
||||
var pkg = require_optional(packageName);
|
||||
return pkg;
|
||||
}
|
||||
|
||||
module.exports.findPackage = findPackage
|
11
node_modules/require_optional/test/nestedTest/package.json
generated
vendored
Normal file
11
node_modules/require_optional/test/nestedTest/package.json
generated
vendored
Normal 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"
|
||||
}
|
Reference in New Issue
Block a user