Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

require-tree

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

require-tree - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

test/app.spec.js

2

index.js

@@ -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

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