@lxf2513/readdir-sync-recursive
Advanced tools
+3
-1
@@ -37,3 +37,5 @@ 'use strict'; | ||
| } | ||
| pathsQueue.forEach((i) => readdir(i)); | ||
| for (let i = 0; i < pathsQueue.length; i++) { | ||
| readdir(pathsQueue[i]); | ||
| } | ||
| return readdirResults; | ||
@@ -40,0 +42,0 @@ } |
+3
-1
@@ -35,3 +35,5 @@ import { statSync, readdirSync } from 'node:fs'; | ||
| } | ||
| pathsQueue.forEach((i) => readdir(i)); | ||
| for (let i = 0; i < pathsQueue.length; i++) { | ||
| readdir(pathsQueue[i]); | ||
| } | ||
| return readdirResults; | ||
@@ -38,0 +40,0 @@ } |
+1
-1
| { | ||
| "name": "@lxf2513/readdir-sync-recursive", | ||
| "version": "1.2.0", | ||
| "version": "1.2.1", | ||
| "description": "Reads the contents of the directory synchronously and recursively.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
5958
1.33%81
5.19%0
-100%