Comparing version 0.1.1 to 0.1.2
@@ -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'); | ||
}); | ||
}); | ||
}); | ||
}); | ||
*/ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
0
21721
410
1