v1.0 with SW PWA enabled
This commit is contained in:
7
frontend/node_modules/path-scurry/dist/commonjs/index.d.ts
generated
vendored
7
frontend/node_modules/path-scurry/dist/commonjs/index.d.ts
generated
vendored
@ -1,6 +1,3 @@
|
||||
/// <reference types="node" />
|
||||
/// <reference types="node" />
|
||||
/// <reference types="node" />
|
||||
import { LRUCache } from 'lru-cache';
|
||||
import { posix, win32 } from 'node:path';
|
||||
import { Minipass } from 'minipass';
|
||||
@ -193,6 +190,8 @@ export declare abstract class PathBase implements Dirent {
|
||||
/**
|
||||
* Deprecated alias for Dirent['parentPath'] Somewhat counterintuitively,
|
||||
* this property refers to the *parent* path, not the path object itself.
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
get path(): string;
|
||||
/**
|
||||
@ -622,7 +621,7 @@ export declare abstract class PathScurryBase {
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
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);
|
||||
/**
|
||||
* Get the depth of a provided path, string, or the cwd
|
||||
*/
|
||||
|
||||
2
frontend/node_modules/path-scurry/dist/commonjs/index.d.ts.map
generated
vendored
2
frontend/node_modules/path-scurry/dist/commonjs/index.d.ts.map
generated
vendored
File diff suppressed because one or more lines are too long
8
frontend/node_modules/path-scurry/dist/commonjs/index.js
generated
vendored
8
frontend/node_modules/path-scurry/dist/commonjs/index.js
generated
vendored
@ -99,7 +99,7 @@ const entToType = (s) => s.isFile() ? IFREG
|
||||
: s.isFIFO() ? IFIFO
|
||||
: UNKNOWN;
|
||||
// normalize unicode path names
|
||||
const normalizeCache = new Map();
|
||||
const normalizeCache = new lru_cache_1.LRUCache({ max: 2 ** 12 });
|
||||
const normalize = (s) => {
|
||||
const c = normalizeCache.get(s);
|
||||
if (c)
|
||||
@ -108,7 +108,7 @@ const normalize = (s) => {
|
||||
normalizeCache.set(s, n);
|
||||
return n;
|
||||
};
|
||||
const normalizeNocaseCache = new Map();
|
||||
const normalizeNocaseCache = new lru_cache_1.LRUCache({ max: 2 ** 12 });
|
||||
const normalizeNocase = (s) => {
|
||||
const c = normalizeNocaseCache.get(s);
|
||||
if (c)
|
||||
@ -299,13 +299,17 @@ class PathBase {
|
||||
get parentPath() {
|
||||
return (this.parent || this).fullpath();
|
||||
}
|
||||
/* c8 ignore start */
|
||||
/**
|
||||
* Deprecated alias for Dirent['parentPath'] Somewhat counterintuitively,
|
||||
* this property refers to the *parent* path, not the path object itself.
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
get path() {
|
||||
return this.parentPath;
|
||||
}
|
||||
/* c8 ignore stop */
|
||||
/**
|
||||
* Do not create new Path objects directly. They should always be accessed
|
||||
* via the PathScurry class or other methods on the Path class.
|
||||
|
||||
2
frontend/node_modules/path-scurry/dist/commonjs/index.js.map
generated
vendored
2
frontend/node_modules/path-scurry/dist/commonjs/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
7
frontend/node_modules/path-scurry/dist/esm/index.d.ts
generated
vendored
7
frontend/node_modules/path-scurry/dist/esm/index.d.ts
generated
vendored
@ -1,6 +1,3 @@
|
||||
/// <reference types="node" resolution-mode="require"/>
|
||||
/// <reference types="node" resolution-mode="require"/>
|
||||
/// <reference types="node" resolution-mode="require"/>
|
||||
import { LRUCache } from 'lru-cache';
|
||||
import { posix, win32 } from 'node:path';
|
||||
import { Minipass } from 'minipass';
|
||||
@ -193,6 +190,8 @@ export declare abstract class PathBase implements Dirent {
|
||||
/**
|
||||
* Deprecated alias for Dirent['parentPath'] Somewhat counterintuitively,
|
||||
* this property refers to the *parent* path, not the path object itself.
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
get path(): string;
|
||||
/**
|
||||
@ -622,7 +621,7 @@ export declare abstract class PathScurryBase {
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
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);
|
||||
/**
|
||||
* Get the depth of a provided path, string, or the cwd
|
||||
*/
|
||||
|
||||
2
frontend/node_modules/path-scurry/dist/esm/index.d.ts.map
generated
vendored
2
frontend/node_modules/path-scurry/dist/esm/index.d.ts.map
generated
vendored
File diff suppressed because one or more lines are too long
8
frontend/node_modules/path-scurry/dist/esm/index.js
generated
vendored
8
frontend/node_modules/path-scurry/dist/esm/index.js
generated
vendored
@ -73,7 +73,7 @@ const entToType = (s) => s.isFile() ? IFREG
|
||||
: s.isFIFO() ? IFIFO
|
||||
: UNKNOWN;
|
||||
// normalize unicode path names
|
||||
const normalizeCache = new Map();
|
||||
const normalizeCache = new LRUCache({ max: 2 ** 12 });
|
||||
const normalize = (s) => {
|
||||
const c = normalizeCache.get(s);
|
||||
if (c)
|
||||
@ -82,7 +82,7 @@ const normalize = (s) => {
|
||||
normalizeCache.set(s, n);
|
||||
return n;
|
||||
};
|
||||
const normalizeNocaseCache = new Map();
|
||||
const normalizeNocaseCache = new LRUCache({ max: 2 ** 12 });
|
||||
const normalizeNocase = (s) => {
|
||||
const c = normalizeNocaseCache.get(s);
|
||||
if (c)
|
||||
@ -271,13 +271,17 @@ export class PathBase {
|
||||
get parentPath() {
|
||||
return (this.parent || this).fullpath();
|
||||
}
|
||||
/* c8 ignore start */
|
||||
/**
|
||||
* Deprecated alias for Dirent['parentPath'] Somewhat counterintuitively,
|
||||
* this property refers to the *parent* path, not the path object itself.
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
get path() {
|
||||
return this.parentPath;
|
||||
}
|
||||
/* c8 ignore stop */
|
||||
/**
|
||||
* Do not create new Path objects directly. They should always be accessed
|
||||
* via the PathScurry class or other methods on the Path class.
|
||||
|
||||
2
frontend/node_modules/path-scurry/dist/esm/index.js.map
generated
vendored
2
frontend/node_modules/path-scurry/dist/esm/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user