Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rrdir

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rrdir - npm Package Compare versions

Comparing version 10.1.0 to 10.1.1

6

index.js

@@ -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*

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