fs-readdir-recursive
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -12,3 +12,3 @@ var fs = require('fs') | ||
var dir = path.join(root, prefix) | ||
if (fs.lstatSync(dir).isDirectory()) | ||
if (fs.lstatSync(dir).isDirectory() || fs.lstatSync(dir).isSymbolicLink()) | ||
fs.readdirSync(dir) | ||
@@ -15,0 +15,0 @@ .filter(filter) |
{ | ||
"name": "fs-readdir-recursive", | ||
"description": "Recursively read a directory", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"scripts": { | ||
@@ -6,0 +6,0 @@ "test": "make test" |
@@ -5,2 +5,8 @@ # fs.readdirSyncRecursive [![Build Status](https://travis-ci.org/jonathanong/fs-readdir-recursive.png)](https://travis-ci.org/jonathanong/fs-readdir-recursive) | ||
## Install | ||
```bash | ||
npm install fs-readdir-recursive | ||
``` | ||
## Example | ||
@@ -7,0 +13,0 @@ |
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
3185
61
1