Socket
Socket
Sign inDemoInstall

require-directory

Package Overview
Dependencies
0
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

.travis.yml

3

index.js

@@ -33,2 +33,5 @@ var fs = require('fs');

fs.readdirSync(path).forEach(function(filename){
if(filename[0] === '.'){ //ignore hidden files
return;
}
var joined = join(path, filename);

@@ -35,0 +38,0 @@ if(joined !== m.filename && delegate(joined)){

2

package.json
{
"author": "Troy Goode <troygoode@gmail.com> (http://github.com/troygoode/)",
"name": "require-directory",
"version": "1.0.0",
"version": "1.0.1",
"description": "Recursively iterates over specified directory, requiring each file, and returning a nested hash structure containing those libraries.",

@@ -6,0 +6,0 @@ "keywords": ["require", "directory", "library", "recursive"],

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc