path-scurry
Advanced tools
Comparing version 1.11.1 to 2.0.0
@@ -1,4 +0,1 @@ | ||
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import { LRUCache } from 'lru-cache'; | ||
@@ -196,2 +193,4 @@ import { posix, win32 } from 'node:path'; | ||
* this property refers to the *parent* path, not the path object itself. | ||
* | ||
* @deprecated | ||
*/ | ||
@@ -626,3 +625,3 @@ get path(): string; | ||
*/ | ||
constructor(cwd: string | URL | undefined, pathImpl: typeof win32 | typeof posix, sep: string | RegExp, { nocase, childrenCacheSize, fs, }?: PathScurryOpts); | ||
constructor(cwd: (URL | string) | undefined, pathImpl: typeof win32 | typeof posix, sep: string | RegExp, { nocase, childrenCacheSize, fs, }?: PathScurryOpts); | ||
/** | ||
@@ -629,0 +628,0 @@ * Get the depth of a provided path, string, or the cwd |
@@ -1,4 +0,1 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
/// <reference types="node" resolution-mode="require"/> | ||
/// <reference types="node" resolution-mode="require"/> | ||
import { LRUCache } from 'lru-cache'; | ||
@@ -196,2 +193,4 @@ import { posix, win32 } from 'node:path'; | ||
* this property refers to the *parent* path, not the path object itself. | ||
* | ||
* @deprecated | ||
*/ | ||
@@ -626,3 +625,3 @@ get path(): string; | ||
*/ | ||
constructor(cwd: string | URL | undefined, pathImpl: typeof win32 | typeof posix, sep: string | RegExp, { nocase, childrenCacheSize, fs, }?: PathScurryOpts); | ||
constructor(cwd: (URL | string) | undefined, pathImpl: typeof win32 | typeof posix, sep: string | RegExp, { nocase, childrenCacheSize, fs, }?: PathScurryOpts); | ||
/** | ||
@@ -629,0 +628,0 @@ * Get the depth of a provided path, string, or the cwd |
{ | ||
"name": "path-scurry", | ||
"version": "1.11.1", | ||
"version": "2.0.0", | ||
"description": "walk paths fast and efficiently", | ||
@@ -34,3 +34,3 @@ "author": "Isaac Z. Schlueter <i@izs.me> (https://blog.izs.me)", | ||
"snap": "tap", | ||
"format": "prettier --write . --loglevel warn", | ||
"format": "prettier --write . --log-level warn", | ||
"typedoc": "typedoc --tsconfig tsconfig-esm.json ./src/*.ts", | ||
@@ -52,14 +52,12 @@ "bench": "bash ./scripts/bench.sh" | ||
"devDependencies": { | ||
"@nodelib/fs.walk": "^1.2.8", | ||
"@types/node": "^20.12.11", | ||
"c8": "^7.12.0", | ||
"eslint-config-prettier": "^8.6.0", | ||
"@nodelib/fs.walk": "^2.0.0", | ||
"@types/node": "^20.14.10", | ||
"mkdirp": "^3.0.0", | ||
"prettier": "^3.2.5", | ||
"rimraf": "^5.0.1", | ||
"tap": "^18.7.2", | ||
"prettier": "^3.3.2", | ||
"rimraf": "^5.0.8", | ||
"tap": "^20.0.3", | ||
"ts-node": "^10.9.2", | ||
"tshy": "^1.14.0", | ||
"typedoc": "^0.25.12", | ||
"typescript": "^5.4.3" | ||
"tshy": "^2.0.1", | ||
"typedoc": "^0.26.3", | ||
"typescript": "^5.5.3" | ||
}, | ||
@@ -70,3 +68,3 @@ "tap": { | ||
"engines": { | ||
"node": ">=16 || 14 >=14.18" | ||
"node": "20 || >=22" | ||
}, | ||
@@ -81,4 +79,4 @@ "funding": { | ||
"dependencies": { | ||
"lru-cache": "^10.2.0", | ||
"minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" | ||
"lru-cache": "^11.0.0", | ||
"minipass": "^7.1.2" | ||
}, | ||
@@ -92,3 +90,4 @@ "tshy": { | ||
}, | ||
"types": "./dist/commonjs/index.d.ts" | ||
"types": "./dist/commonjs/index.d.ts", | ||
"module": "./dist/esm/index.js" | ||
} |
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 too big to display
Sorry, the diff of this file is not supported yet
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
10
6223
535406
+ Addedlru-cache@11.0.1(transitive)
- Removedlru-cache@10.4.3(transitive)
Updatedlru-cache@^11.0.0
Updatedminipass@^7.1.2