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 12.0.2 to 12.0.3

11

index.js

@@ -42,11 +42,6 @@ import {readdir, stat, lstat} from "node:fs/promises";

// with relative paths that start with ./ or .\
// > (await import("picomatch")).default(["**.js"])("./foo.js")
// false
// https://github.com/micromatch/picomatch/issues/121
return {
includeMatcher: include?.length ? (path => {
return picomatch(include, opts)(resolve(path));
}) : null,
excludeMatcher: exclude?.length ? (path => {
return picomatch(exclude, opts)(resolve(path));
}) : null,
includeMatcher: include?.length ? path => picomatch(include, opts)(resolve(path)) : null,
excludeMatcher: exclude?.length ? path => picomatch(exclude, opts)(resolve(path)) : null,
};

@@ -53,0 +48,0 @@ }

{
"name": "rrdir",
"version": "12.0.2",
"version": "12.0.3",
"description": "Recursive directory reader with a delightful API",

@@ -15,23 +15,12 @@ "author": "silverwind <me@silverwind.io>",

"files": [
"index.js"
"./index.js"
],
"devDependencies": {
"eslint": "8.50.0",
"eslint-config-silverwind": "76.0.1",
"updates": "15.0.2",
"versions": "11.1.0",
"vitest": "0.34.5",
"eslint": "8.52.0",
"eslint-config-silverwind": "79.0.4",
"updates": "15.0.3",
"versions": "12.0.0",
"vitest": "0.34.6",
"vitest-config-silverwind": "3.0.0"
},
"keywords": [
"recursive readdir",
"readdir",
"recursive",
"walk",
"walkdir",
"directory",
"crawl",
"crawler",
"scandir"
],
"dependencies": {

@@ -38,0 +27,0 @@ "picomatch": "2.3.1"

@@ -42,4 +42,4 @@ # rrdir

- `followSymlinks` *boolean*: Whether to follow symlinks for both recursion and `stat` calls. Default: `false`.
- `exclude` *Array*: Path globs to exclude, e.g. `["**/*.js"]`. Default: `undefined`.
- `include` *Array*: Path globs to include, e.g. `["**/*.map"]`. Default: `undefined`.
- `exclude` *Array*: Path globs to exclude, e.g. `["**.js"]`. Default: `undefined`.
- `include` *Array*: Path globs to include, e.g. `["**.map"]`. Default: `undefined`.
- `strict` *boolean*: Whether to throw immediately when reading an entry fails. Default: `false`.

@@ -46,0 +46,0 @@ - `insensitive` *boolean*: Whether `include` and `exclude` match case-insensitively. Default: `false`.

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