update electron to v43
All checks were successful
Android Build / publish (push) Successful in 55s
Linux Build / publish (push) Successful in 1m6s

This commit is contained in:
olcxja 2026-07-09 22:38:33 +02:00
commit fb6c8b6ee9
5385 changed files with 513060 additions and 123058 deletions

View file

@ -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;