New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

recursive-readdir-async

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

recursive-readdir-async - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

module.min.js

12

package.json
{
"name": "recursive-readdir-async",
"version": "1.0.1",
"version": "1.0.2",
"description": "Module to recursive read directory async (non blocking). Must be used with Promises. Configurable, extended filtering. etc.",
"main": "module.js",
"main": "module.min.js",
"scripts": {
"test": "nyc mocha",
"coverage":"nyc --reporter=lcov --reporter=text-lcov npm test"
"coverage": "nyc --reporter=lcov --reporter=text-lcov npm test",
"build":"uglifyjs --compress --mangle -- module.js > module.min.js"
},
"engines": {
"node": ">=7.6"
},
},
"keywords": [

@@ -41,4 +42,5 @@ "recursive",

"mocha": "^5.0.0",
"nyc": "^11.4.1"
"nyc": "^11.4.1",
"uglify-es": "^3.3.10"
}
}

@@ -33,8 +33,10 @@ # recursive-readdir-async

const options = {
mode: rra.LIST,
mode: LIST,
recursive: true,
stats: false,
ignoreFolders: true,
extensions: true,
deep: true
extensions: false,
deep: false,
realPath: true,
normalizePath: true
}

@@ -59,2 +61,4 @@ const list = await rra.list('.', options, function (obj, index, total) {

* **deep (true | false)** : If true, folder depth information will be added to every item starting by 0 (initial path), and be incremented by 1 in every subfolder. *Default: false*
* **normalizePath (true | false)** : Normalizes windows style paths by replacing double backslahes with single forward slahes (unix style). *Default: true*
* **realPath (true | false)** : Computes the canonical pathname by resolving ., .. and symbolic links. *Default: true*
## Object structure

@@ -61,0 +65,0 @@ The function will return an object and never throw an error. All errors will be added to the returned object. The return object in LIST mode are like this:

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