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

path-scurry

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

path-scurry - npm Package Compare versions

Comparing version 1.8.0 to 1.9.0

8

dist/cjs/index.d.ts

@@ -181,2 +181,10 @@ /// <reference types="node" />

/**
* This property is for compatibility with the Dirent class as of
* Node v20, where Dirent['path'] refers to the path of the directory
* that was passed to readdir. So, somewhat counterintuitively, this
* property refers to the *parent* path, not the path object itself.
* For root entries, it's the path to the entry itself.
*/
get path(): string;
/**
* Do not create new Path objects directly. They should always be accessed

@@ -183,0 +191,0 @@ * via the PathScurry class or other methods on the Path class.

@@ -181,2 +181,10 @@ /// <reference types="node" />

/**
* This property is for compatibility with the Dirent class as of
* Node v20, where Dirent['path'] refers to the path of the directory
* that was passed to readdir. So, somewhat counterintuitively, this
* property refers to the *parent* path, not the path object itself.
* For root entries, it's the path to the entry itself.
*/
get path(): string;
/**
* Do not create new Path objects directly. They should always be accessed

@@ -183,0 +191,0 @@ * via the PathScurry class or other methods on the Path class.

@@ -268,2 +268,12 @@ import { LRUCache } from 'lru-cache';

/**
* This property is for compatibility with the Dirent class as of
* Node v20, where Dirent['path'] refers to the path of the directory
* that was passed to readdir. So, somewhat counterintuitively, this
* property refers to the *parent* path, not the path object itself.
* For root entries, it's the path to the entry itself.
*/
get path() {
return (this.parent || this).fullpath();
}
/**
* Do not create new Path objects directly. They should always be accessed

@@ -270,0 +280,0 @@ * via the PathScurry class or other methods on the Path class.

4

package.json
{
"name": "path-scurry",
"version": "1.8.0",
"version": "1.9.0",
"description": "walk paths fast and efficiently",

@@ -61,3 +61,3 @@ "author": "Isaac Z. Schlueter <i@izs.me> (https://blog.izs.me)",

"@nodelib/fs.walk": "^1.2.8",
"@types/node": "^18.11.18",
"@types/node": "^20.1.4",
"@types/tap": "^15.0.7",

@@ -64,0 +64,0 @@ "c8": "^7.12.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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