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.1.6 to 1.1.7

12

module.js

@@ -247,3 +247,11 @@ /**

function onlyInclude () {
for (let j = 0; j < settings.include.length; j++) {
function exists (fullname) {
for (let j = 0; j < settings.include.length; j++) {
if (fullname.indexOf(settings.include[j]) > -1) {
return true
}
}
return false
}
if (settings.include.length > 0) {
for (let i = list.length - 1; i > -1; i--) {

@@ -254,3 +262,3 @@ let item = list[i]

if (item.fullname.indexOf(settings.include[j]) === -1) {
if (!exists(item.fullname)) {
list.splice(i, 1)

@@ -257,0 +265,0 @@ }

16

package.json
{
"name": "recursive-readdir-async",
"version": "1.1.6",
"version": "1.1.7",
"description": "Module to recursive read directory async (non blocking). Must be used with Promises. Configurable, extended filtering. etc.",

@@ -42,11 +42,11 @@ "main": "module.js",

"devDependencies": {
"coveralls": "^3.0.3",
"eslint": "^5.15.1",
"coveralls": "^3.1.0",
"eslint": "^5.16.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"fs-extra": "^7.0.0",
"jsdoc": "^3.6.2",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"fs-extra": "^7.0.1",
"jsdoc": "^3.6.4",
"mocha": "^5.2.0",

@@ -53,0 +53,0 @@ "nyc": "^14.1.1",

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