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

readdirp

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

readdirp - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

package.json

@@ -5,3 +5,3 @@ {

"description": "Recursive version of fs.readdir.",
"version": "0.1.1",
"version": "0.1.2",
"homepage": "https://github.com/thlorenz/readdirp",

@@ -8,0 +8,0 @@ "repository": {

@@ -1,3 +0,3 @@

var fs = require('fs')
, path = require('path')
var fs = require('fs')
, path = require('path')
, minimatch = require('minimatch')

@@ -230,37 +230,1 @@ ;

exports = module.exports = readdir;
/* ---- Testing */
/*
console.log ('\n ++++++++++++++++++++++++++++++++++++++\n ++++++++++++++++++++++++++++++++++++++++++++++++ \n\n');
var op = { root: './test/bed/', fileFilter: 'root_dir1_file1.ext1', directoryFilter: ['!.git', '!node_modules'] };
readdir(op, function(err, res) {
console.log('Root: ', op.root);
console.log(res.files);
console.log('\n\n ======================================= \n');
op.root = 'test/bed';
readdir(op, function(err, res) {
console.log('Root: ', op.root);
console.log(res.files);
console.log('\n\n ======================================= \n');
op.root = '.';
readdir(op, function(err, res) {
console.log('Root: ', op.root);
console.log(res.files);
console.log('\n\n ======================================= \n');
op.root = "/Users/thlorenz/Dropboxes/Gmail/Dropbox/dev/javascript/projects/fsrec/test/bed";
readdir(op, function(err, res) {
console.log('Root: ', op.root);
console.log(res.files);
console.log('\n\n ======================================= \n');
});
});
});
});
*/
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