forked from olcxjas-softworks/LarpixClient
update electron to v43
This commit is contained in:
parent
68ac0beedf
commit
fb6c8b6ee9
5385 changed files with 513060 additions and 123058 deletions
7
electron/node_modules/tar/dist/esm/parse.d.ts
generated
vendored
7
electron/node_modules/tar/dist/esm/parse.d.ts
generated
vendored
|
|
@ -33,6 +33,9 @@ declare const SAW_VALID_ENTRY: unique symbol;
|
|||
declare const SAW_NULL_BLOCK: unique symbol;
|
||||
declare const SAW_EOF: unique symbol;
|
||||
declare const CLOSESTREAM: unique symbol;
|
||||
declare const COMPRESSEDBYTESREAD: unique symbol;
|
||||
declare const DECOMPRESSEDBYTESREAD: unique symbol;
|
||||
declare const CHECKDECOMPRESSIONRATIO: unique symbol;
|
||||
export type State = 'begin' | 'header' | 'ignore' | 'meta' | 'body';
|
||||
export declare class Parser extends EE implements Warner {
|
||||
file: string;
|
||||
|
|
@ -41,6 +44,7 @@ export declare class Parser extends EE implements Warner {
|
|||
filter: Exclude<TarOptions['filter'], undefined>;
|
||||
brotli?: TarOptions['brotli'];
|
||||
zstd?: TarOptions['zstd'];
|
||||
maxDecompressionRatio: number;
|
||||
writable: true;
|
||||
readable: false;
|
||||
[QUEUE]: (ReadEntry | [string | symbol, unknown, unknown])[];
|
||||
|
|
@ -60,6 +64,8 @@ export declare class Parser extends EE implements Warner {
|
|||
[WRITING]: boolean;
|
||||
[CONSUMING]: boolean;
|
||||
[EMITTEDEND]: boolean;
|
||||
[COMPRESSEDBYTESREAD]: number;
|
||||
[DECOMPRESSEDBYTESREAD]: number;
|
||||
constructor(opt?: TarOptions);
|
||||
warn(code: string, message: string | Error, data?: WarnData): void;
|
||||
[CONSUMEHEADER](chunk: Buffer, position: number): void;
|
||||
|
|
@ -71,6 +77,7 @@ export declare class Parser extends EE implements Warner {
|
|||
[EMIT](ev: string | symbol, data?: unknown, extra?: unknown): void;
|
||||
[EMITMETA](entry: ReadEntry): void;
|
||||
abort(error: Error): void;
|
||||
[CHECKDECOMPRESSIONRATIO](chunk: Buffer): boolean;
|
||||
write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean;
|
||||
write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean;
|
||||
[BUFFERCONCAT](c: Buffer): void;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue