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 8.0.1 to 8.0.2

10

index.js

@@ -5,3 +5,3 @@ "use strict";

const {readdirSync, statSync, lstatSync} = require("fs");
const {sep} = require("path");
const {join} = require("path");
const picomatch = require("picomatch");

@@ -25,3 +25,3 @@

function makePath(entry, dir) {
return dir === "." ? entry.name : `${dir}${sep}${entry.name}`;
return dir === "." ? entry.name : `${join(dir, entry.name)}`;
}

@@ -81,3 +81,3 @@

if (opts.followSymlinks && dirent.isSymbolicLink()) {
if (!stats) try { stats = await stat(path) } catch {}
if (!stats) try { stats = await stat(path); } catch {}
if (stats && stats.isDirectory()) recurse = true;

@@ -130,3 +130,3 @@ } else if (dirent.isDirectory()) {

if (opts.followSymlinks && dirent.isSymbolicLink()) {
if (!stats) try { stats = await stat(path) } catch {}
if (!stats) try { stats = await stat(path); } catch {}
if (stats && stats.isDirectory()) recurse = true;

@@ -181,3 +181,3 @@ } else if (dirent.isDirectory()) {

if (opts.followSymlinks && dirent.isSymbolicLink()) {
if (!stats) try { stats = statSync(path) } catch {}
if (!stats) try { stats = statSync(path); } catch {}
if (stats && stats.isDirectory()) recurse = true;

@@ -184,0 +184,0 @@ } else if (dirent.isDirectory()) {

{
"name": "rrdir",
"version": "8.0.1",
"version": "8.0.2",
"description": "Recursive directory reader with a delightful API",

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

"del": "5.1.0",
"eslint": "6.8.0",
"eslint-config-silverwind": "11.0.2",
"jest": "25.2.4",
"eslint": "7.0.0",
"eslint-config-silverwind": "12.0.1",
"jest": "26.0.1",
"tempy": "0.5.0",
"updates": "10.2.6",
"versions": "8.2.7"
"updates": "10.2.11",
"versions": "8.2.8"
},

@@ -31,0 +31,0 @@ "keywords": [

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