Comparing version 10.1.0 to 10.1.1
@@ -1,4 +0,4 @@ | ||
import {readdir, stat, lstat} from "fs/promises"; | ||
import {readdirSync, statSync, lstatSync} from "fs"; | ||
import {sep} from "path"; | ||
import {readdir, stat, lstat} from "node:fs/promises"; | ||
import {readdirSync, statSync, lstatSync} from "node:fs"; | ||
import {sep} from "node:path"; | ||
@@ -5,0 +5,0 @@ const sepBuffer = Buffer.from(sep); |
{ | ||
"name": "rrdir", | ||
"version": "10.1.0", | ||
"version": "10.1.1", | ||
"description": "Recursive directory reader with a delightful API", | ||
@@ -18,8 +18,7 @@ "author": "silverwind <me@silverwind.io>", | ||
"devDependencies": { | ||
"eslint": "8.24.0", | ||
"eslint-config-silverwind": "57.0.1", | ||
"jest": "29.1.2", | ||
"tempy": "3.0.0", | ||
"updates": "13.1.8", | ||
"versions": "9.3.3" | ||
"eslint": "8.29.0", | ||
"eslint-config-silverwind": "65.0.0", | ||
"updates": "13.2.4", | ||
"versions": "10.4.1", | ||
"vitest": "0.25.8" | ||
}, | ||
@@ -26,0 +25,0 @@ "keywords": [ |
@@ -6,3 +6,3 @@ # rrdir | ||
`rrdir` recursively reads a directory and returns entries within via an async iterator or async/sync as Array. It has no dependencies and can typically iterate millions of files in a matter of seconds. Memory usage is `O(1)` for the async iterator and `O(n)` for the Array variants. | ||
`rrdir` recursively reads a directory and returns entries within via an async iterator or async/sync as Array. It has zero dependencies and can typically iterate millions of files in a matter of seconds. Memory usage is `O(1)` for the async iterator and `O(n)` for the Array variants. | ||
@@ -46,3 +46,3 @@ ## Usage | ||
- `strict` *boolean*: Whether to throw immediately when reading an entry fails. Default: `false`. | ||
- `insensitive` *boolean: Whether `include` and `exclude` match case-insensitively. Default: `false`. | ||
- `insensitive` *boolean*: Whether `include` and `exclude` match case-insensitively. Default: `false`. | ||
@@ -49,0 +49,0 @@ #### `entry` *Object* |
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
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances in 1 package
5
1
11097