require-tree
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -94,3 +94,3 @@ // require-tree | ||
options.each && options.each(file, path.join(relative, file)) | ||
options.each && options.each(obj, file, path.join(relative, file)) | ||
@@ -97,0 +97,0 @@ }) |
{ | ||
"name": "require-tree", | ||
"description": "require() whole directory trees", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"main": "index.js", | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"mocha": "", | ||
"should": "" | ||
"mocha": "" | ||
}, | ||
@@ -11,0 +10,0 @@ "scripts": { |
@@ -69,2 +69,7 @@ require-tree | ||
To require the current module's root folder, in case you are using a directory's | ||
`index.js` to load the rest of the tree, use `__dirname`: | ||
var tree = require_tree(__dirname, { index: false }) | ||
### Options | ||
@@ -71,0 +76,0 @@ |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
10107
1
10
232
82
0
1