Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
21
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/codes.d.mts
generated
vendored
Normal file
21
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/codes.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
// import type nodeZlib from "node:zlib";
|
||||
export declare const codes: {
|
||||
"0": string;
|
||||
"1": string;
|
||||
"2": string;
|
||||
Z_OK: number;
|
||||
Z_STREAM_END: number;
|
||||
Z_NEED_DICT: number;
|
||||
Z_ERRNO: number;
|
||||
Z_STREAM_ERROR: number;
|
||||
Z_DATA_ERROR: number;
|
||||
Z_MEM_ERROR: number;
|
||||
Z_BUF_ERROR: number;
|
||||
Z_VERSION_ERROR: number;
|
||||
"-1": string;
|
||||
"-2": string;
|
||||
"-3": string;
|
||||
"-4": string;
|
||||
"-5": string;
|
||||
"-6": string;
|
||||
};
|
||||
21
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/codes.mjs
generated
vendored
Normal file
21
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/codes.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
// import type nodeZlib from "node:zlib";
|
||||
export const codes = {
|
||||
"0": "Z_OK",
|
||||
"1": "Z_STREAM_END",
|
||||
"2": "Z_NEED_DICT",
|
||||
Z_OK: 0,
|
||||
Z_STREAM_END: 1,
|
||||
Z_NEED_DICT: 2,
|
||||
Z_ERRNO: -1,
|
||||
Z_STREAM_ERROR: -2,
|
||||
Z_DATA_ERROR: -3,
|
||||
Z_MEM_ERROR: -4,
|
||||
Z_BUF_ERROR: -5,
|
||||
Z_VERSION_ERROR: -6,
|
||||
"-1": "Z_ERRNO",
|
||||
"-2": "Z_STREAM_ERROR",
|
||||
"-3": "Z_DATA_ERROR",
|
||||
"-4": "Z_MEM_ERROR",
|
||||
"-5": "Z_BUF_ERROR",
|
||||
"-6": "Z_VERSION_ERROR"
|
||||
};
|
||||
108
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/constants.d.mts
generated
vendored
Normal file
108
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/constants.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,108 @@
|
|||
// npx -y node@22.14 -e 'const{constants}=require("zlib");console.log(Object.entries(constants).map(([k,v]) => `export const ${k} = ${JSON.stringify(v)}`).join("\n"))'
|
||||
export declare const Z_NO_FLUSH = 0;
|
||||
export declare const Z_PARTIAL_FLUSH = 1;
|
||||
export declare const Z_SYNC_FLUSH = 2;
|
||||
export declare const Z_FULL_FLUSH = 3;
|
||||
export declare const Z_FINISH = 4;
|
||||
export declare const Z_BLOCK = 5;
|
||||
export declare const Z_OK = 0;
|
||||
export declare const Z_STREAM_END = 1;
|
||||
export declare const Z_NEED_DICT = 2;
|
||||
export declare const Z_ERRNO = -1;
|
||||
export declare const Z_STREAM_ERROR = -2;
|
||||
export declare const Z_DATA_ERROR = -3;
|
||||
export declare const Z_MEM_ERROR = -4;
|
||||
export declare const Z_BUF_ERROR = -5;
|
||||
export declare const Z_VERSION_ERROR = -6;
|
||||
export declare const Z_NO_COMPRESSION = 0;
|
||||
export declare const Z_BEST_SPEED = 1;
|
||||
export declare const Z_BEST_COMPRESSION = 9;
|
||||
export declare const Z_DEFAULT_COMPRESSION = -1;
|
||||
export declare const Z_FILTERED = 1;
|
||||
export declare const Z_HUFFMAN_ONLY = 2;
|
||||
export declare const Z_RLE = 3;
|
||||
export declare const Z_FIXED = 4;
|
||||
export declare const Z_DEFAULT_STRATEGY = 0;
|
||||
export declare const ZLIB_VERNUM = 4865;
|
||||
export declare const DEFLATE = 1;
|
||||
export declare const INFLATE = 2;
|
||||
export declare const GZIP = 3;
|
||||
export declare const GUNZIP = 4;
|
||||
export declare const DEFLATERAW = 5;
|
||||
export declare const INFLATERAW = 6;
|
||||
export declare const UNZIP = 7;
|
||||
export declare const BROTLI_DECODE = 8;
|
||||
export declare const BROTLI_ENCODE = 9;
|
||||
export declare const Z_MIN_WINDOWBITS = 8;
|
||||
export declare const Z_MAX_WINDOWBITS = 15;
|
||||
export declare const Z_DEFAULT_WINDOWBITS = 15;
|
||||
export declare const Z_MIN_CHUNK = 64;
|
||||
export declare const Z_MAX_CHUNK: unknown;
|
||||
export declare const Z_DEFAULT_CHUNK = 16384;
|
||||
export declare const Z_MIN_MEMLEVEL = 1;
|
||||
export declare const Z_MAX_MEMLEVEL = 9;
|
||||
export declare const Z_DEFAULT_MEMLEVEL = 8;
|
||||
export declare const Z_MIN_LEVEL = -1;
|
||||
export declare const Z_MAX_LEVEL = 9;
|
||||
export declare const Z_DEFAULT_LEVEL = -1;
|
||||
export declare const BROTLI_OPERATION_PROCESS = 0;
|
||||
export declare const BROTLI_OPERATION_FLUSH = 1;
|
||||
export declare const BROTLI_OPERATION_FINISH = 2;
|
||||
export declare const BROTLI_OPERATION_EMIT_METADATA = 3;
|
||||
export declare const BROTLI_PARAM_MODE = 0;
|
||||
export declare const BROTLI_MODE_GENERIC = 0;
|
||||
export declare const BROTLI_MODE_TEXT = 1;
|
||||
export declare const BROTLI_MODE_FONT = 2;
|
||||
export declare const BROTLI_DEFAULT_MODE = 0;
|
||||
export declare const BROTLI_PARAM_QUALITY = 1;
|
||||
export declare const BROTLI_MIN_QUALITY = 0;
|
||||
export declare const BROTLI_MAX_QUALITY = 11;
|
||||
export declare const BROTLI_DEFAULT_QUALITY = 11;
|
||||
export declare const BROTLI_PARAM_LGWIN = 2;
|
||||
export declare const BROTLI_MIN_WINDOW_BITS = 10;
|
||||
export declare const BROTLI_MAX_WINDOW_BITS = 24;
|
||||
export declare const BROTLI_LARGE_MAX_WINDOW_BITS = 30;
|
||||
export declare const BROTLI_DEFAULT_WINDOW = 22;
|
||||
export declare const BROTLI_PARAM_LGBLOCK = 3;
|
||||
export declare const BROTLI_MIN_INPUT_BLOCK_BITS = 16;
|
||||
export declare const BROTLI_MAX_INPUT_BLOCK_BITS = 24;
|
||||
export declare const BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING = 4;
|
||||
export declare const BROTLI_PARAM_SIZE_HINT = 5;
|
||||
export declare const BROTLI_PARAM_LARGE_WINDOW = 6;
|
||||
export declare const BROTLI_PARAM_NPOSTFIX = 7;
|
||||
export declare const BROTLI_PARAM_NDIRECT = 8;
|
||||
export declare const BROTLI_DECODER_RESULT_ERROR = 0;
|
||||
export declare const BROTLI_DECODER_RESULT_SUCCESS = 1;
|
||||
export declare const BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT = 2;
|
||||
export declare const BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT = 3;
|
||||
export declare const BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION = 0;
|
||||
export declare const BROTLI_DECODER_PARAM_LARGE_WINDOW = 1;
|
||||
export declare const BROTLI_DECODER_NO_ERROR = 0;
|
||||
export declare const BROTLI_DECODER_SUCCESS = 1;
|
||||
export declare const BROTLI_DECODER_NEEDS_MORE_INPUT = 2;
|
||||
export declare const BROTLI_DECODER_NEEDS_MORE_OUTPUT = 3;
|
||||
export declare const BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE = -1;
|
||||
export declare const BROTLI_DECODER_ERROR_FORMAT_RESERVED = -2;
|
||||
export declare const BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE = -3;
|
||||
export declare const BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET = -4;
|
||||
export declare const BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME = -5;
|
||||
export declare const BROTLI_DECODER_ERROR_FORMAT_CL_SPACE = -6;
|
||||
export declare const BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE = -7;
|
||||
export declare const BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT = -8;
|
||||
export declare const BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1 = -9;
|
||||
export declare const BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2 = -10;
|
||||
export declare const BROTLI_DECODER_ERROR_FORMAT_TRANSFORM = -11;
|
||||
export declare const BROTLI_DECODER_ERROR_FORMAT_DICTIONARY = -12;
|
||||
export declare const BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS = -13;
|
||||
export declare const BROTLI_DECODER_ERROR_FORMAT_PADDING_1 = -14;
|
||||
export declare const BROTLI_DECODER_ERROR_FORMAT_PADDING_2 = -15;
|
||||
export declare const BROTLI_DECODER_ERROR_FORMAT_DISTANCE = -16;
|
||||
export declare const BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET = -19;
|
||||
export declare const BROTLI_DECODER_ERROR_INVALID_ARGUMENTS = -20;
|
||||
export declare const BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES = -21;
|
||||
export declare const BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS = -22;
|
||||
export declare const BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP = -25;
|
||||
export declare const BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1 = -26;
|
||||
export declare const BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2 = -27;
|
||||
export declare const BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES = -30;
|
||||
export declare const BROTLI_DECODER_ERROR_UNREACHABLE = -31;
|
||||
108
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/constants.mjs
generated
vendored
Normal file
108
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/constants.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,108 @@
|
|||
// npx -y node@22.14 -e 'const{constants}=require("zlib");console.log(Object.entries(constants).map(([k,v]) => `export const ${k} = ${JSON.stringify(v)}`).join("\n"))'
|
||||
export const Z_NO_FLUSH = 0;
|
||||
export const Z_PARTIAL_FLUSH = 1;
|
||||
export const Z_SYNC_FLUSH = 2;
|
||||
export const Z_FULL_FLUSH = 3;
|
||||
export const Z_FINISH = 4;
|
||||
export const Z_BLOCK = 5;
|
||||
export const Z_OK = 0;
|
||||
export const Z_STREAM_END = 1;
|
||||
export const Z_NEED_DICT = 2;
|
||||
export const Z_ERRNO = -1;
|
||||
export const Z_STREAM_ERROR = -2;
|
||||
export const Z_DATA_ERROR = -3;
|
||||
export const Z_MEM_ERROR = -4;
|
||||
export const Z_BUF_ERROR = -5;
|
||||
export const Z_VERSION_ERROR = -6;
|
||||
export const Z_NO_COMPRESSION = 0;
|
||||
export const Z_BEST_SPEED = 1;
|
||||
export const Z_BEST_COMPRESSION = 9;
|
||||
export const Z_DEFAULT_COMPRESSION = -1;
|
||||
export const Z_FILTERED = 1;
|
||||
export const Z_HUFFMAN_ONLY = 2;
|
||||
export const Z_RLE = 3;
|
||||
export const Z_FIXED = 4;
|
||||
export const Z_DEFAULT_STRATEGY = 0;
|
||||
export const ZLIB_VERNUM = 4865;
|
||||
export const DEFLATE = 1;
|
||||
export const INFLATE = 2;
|
||||
export const GZIP = 3;
|
||||
export const GUNZIP = 4;
|
||||
export const DEFLATERAW = 5;
|
||||
export const INFLATERAW = 6;
|
||||
export const UNZIP = 7;
|
||||
export const BROTLI_DECODE = 8;
|
||||
export const BROTLI_ENCODE = 9;
|
||||
export const Z_MIN_WINDOWBITS = 8;
|
||||
export const Z_MAX_WINDOWBITS = 15;
|
||||
export const Z_DEFAULT_WINDOWBITS = 15;
|
||||
export const Z_MIN_CHUNK = 64;
|
||||
export const Z_MAX_CHUNK = Number.POSITIVE_INFINITY;
|
||||
export const Z_DEFAULT_CHUNK = 16384;
|
||||
export const Z_MIN_MEMLEVEL = 1;
|
||||
export const Z_MAX_MEMLEVEL = 9;
|
||||
export const Z_DEFAULT_MEMLEVEL = 8;
|
||||
export const Z_MIN_LEVEL = -1;
|
||||
export const Z_MAX_LEVEL = 9;
|
||||
export const Z_DEFAULT_LEVEL = -1;
|
||||
export const BROTLI_OPERATION_PROCESS = 0;
|
||||
export const BROTLI_OPERATION_FLUSH = 1;
|
||||
export const BROTLI_OPERATION_FINISH = 2;
|
||||
export const BROTLI_OPERATION_EMIT_METADATA = 3;
|
||||
export const BROTLI_PARAM_MODE = 0;
|
||||
export const BROTLI_MODE_GENERIC = 0;
|
||||
export const BROTLI_MODE_TEXT = 1;
|
||||
export const BROTLI_MODE_FONT = 2;
|
||||
export const BROTLI_DEFAULT_MODE = 0;
|
||||
export const BROTLI_PARAM_QUALITY = 1;
|
||||
export const BROTLI_MIN_QUALITY = 0;
|
||||
export const BROTLI_MAX_QUALITY = 11;
|
||||
export const BROTLI_DEFAULT_QUALITY = 11;
|
||||
export const BROTLI_PARAM_LGWIN = 2;
|
||||
export const BROTLI_MIN_WINDOW_BITS = 10;
|
||||
export const BROTLI_MAX_WINDOW_BITS = 24;
|
||||
export const BROTLI_LARGE_MAX_WINDOW_BITS = 30;
|
||||
export const BROTLI_DEFAULT_WINDOW = 22;
|
||||
export const BROTLI_PARAM_LGBLOCK = 3;
|
||||
export const BROTLI_MIN_INPUT_BLOCK_BITS = 16;
|
||||
export const BROTLI_MAX_INPUT_BLOCK_BITS = 24;
|
||||
export const BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING = 4;
|
||||
export const BROTLI_PARAM_SIZE_HINT = 5;
|
||||
export const BROTLI_PARAM_LARGE_WINDOW = 6;
|
||||
export const BROTLI_PARAM_NPOSTFIX = 7;
|
||||
export const BROTLI_PARAM_NDIRECT = 8;
|
||||
export const BROTLI_DECODER_RESULT_ERROR = 0;
|
||||
export const BROTLI_DECODER_RESULT_SUCCESS = 1;
|
||||
export const BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT = 2;
|
||||
export const BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT = 3;
|
||||
export const BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION = 0;
|
||||
export const BROTLI_DECODER_PARAM_LARGE_WINDOW = 1;
|
||||
export const BROTLI_DECODER_NO_ERROR = 0;
|
||||
export const BROTLI_DECODER_SUCCESS = 1;
|
||||
export const BROTLI_DECODER_NEEDS_MORE_INPUT = 2;
|
||||
export const BROTLI_DECODER_NEEDS_MORE_OUTPUT = 3;
|
||||
export const BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE = -1;
|
||||
export const BROTLI_DECODER_ERROR_FORMAT_RESERVED = -2;
|
||||
export const BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE = -3;
|
||||
export const BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET = -4;
|
||||
export const BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME = -5;
|
||||
export const BROTLI_DECODER_ERROR_FORMAT_CL_SPACE = -6;
|
||||
export const BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE = -7;
|
||||
export const BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT = -8;
|
||||
export const BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1 = -9;
|
||||
export const BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2 = -10;
|
||||
export const BROTLI_DECODER_ERROR_FORMAT_TRANSFORM = -11;
|
||||
export const BROTLI_DECODER_ERROR_FORMAT_DICTIONARY = -12;
|
||||
export const BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS = -13;
|
||||
export const BROTLI_DECODER_ERROR_FORMAT_PADDING_1 = -14;
|
||||
export const BROTLI_DECODER_ERROR_FORMAT_PADDING_2 = -15;
|
||||
export const BROTLI_DECODER_ERROR_FORMAT_DISTANCE = -16;
|
||||
export const BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET = -19;
|
||||
export const BROTLI_DECODER_ERROR_INVALID_ARGUMENTS = -20;
|
||||
export const BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES = -21;
|
||||
export const BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS = -22;
|
||||
export const BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP = -25;
|
||||
export const BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1 = -26;
|
||||
export const BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2 = -27;
|
||||
export const BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES = -30;
|
||||
export const BROTLI_DECODER_ERROR_UNREACHABLE = -31;
|
||||
22
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/formats/_shared.d.mts
generated
vendored
Normal file
22
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/formats/_shared.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
import type nodeZlib from "node:zlib";
|
||||
import { Transform, type TransformOptions } from "node:stream";
|
||||
// Compression
|
||||
export declare abstract class ZlibCompress extends Transform {
|
||||
readonly __unenv__: true;
|
||||
readonly bytesRead = 0;
|
||||
readonly bytesWritten = 0;
|
||||
abstract readonly _format: undefined | "deflate" | "gzip" | "zlib" | "brotli" | "zip";
|
||||
constructor(opts?: TransformOptions);
|
||||
close(callback?: () => void);
|
||||
flush(kind?: number | undefined, callback?: (() => void) | undefined): void;
|
||||
flush(callback?: (() => void) | undefined): void;
|
||||
}
|
||||
// Decompression
|
||||
export declare abstract class ZLibDecompress extends ZlibCompress {}
|
||||
// Mock Compress/Decompress Function factory
|
||||
export interface CompressFunction {
|
||||
(buf: nodeZlib.InputType, options?: any, callback?: nodeZlib.CompressCallback): void;
|
||||
(buf: Buffer, callback?: nodeZlib.CompressCallback): void;
|
||||
__promisify__(buffer: nodeZlib.InputType, options?: any): Promise<Buffer>;
|
||||
}
|
||||
export declare function notImplementedCompress(format: string): CompressFunction;
|
||||
40
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/formats/_shared.mjs
generated
vendored
Normal file
40
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/formats/_shared.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
import { Transform } from "node:stream";
|
||||
import { createNotImplementedError } from "../../../../_internal/utils.mjs";
|
||||
// Compression
|
||||
export class ZlibCompress extends Transform {
|
||||
__unenv__ = true;
|
||||
bytesRead = 0;
|
||||
bytesWritten = 0;
|
||||
constructor(opts) {
|
||||
super(opts);
|
||||
throw createNotImplementedError("zlib is not implemented yet!");
|
||||
}
|
||||
close(callback) {
|
||||
if (typeof callback === "function") {
|
||||
callback();
|
||||
}
|
||||
}
|
||||
flush(kind, callback) {
|
||||
if (typeof callback === "function") {
|
||||
callback();
|
||||
}
|
||||
}
|
||||
}
|
||||
// Decompression
|
||||
export class ZLibDecompress extends ZlibCompress {}
|
||||
export function notImplementedCompress(format) {
|
||||
const fn = function(_buf, arg2, arg3) {
|
||||
const cb = typeof arg2 === "function" ? arg2 : arg3;
|
||||
const err = new Error(`[unenv] zlib ${format} compression not supported.`);
|
||||
if (typeof cb === "function") {
|
||||
cb(err, Buffer.from(""));
|
||||
} else {
|
||||
throw err;
|
||||
}
|
||||
};
|
||||
return Object.assign(fn, { __promisify__: (buffer, options) => {
|
||||
return new Promise((resolve, reject) => {
|
||||
fn(buffer, options, (err, result) => err ? reject(err) : resolve(result));
|
||||
});
|
||||
} });
|
||||
}
|
||||
16
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/formats/brotli.d.mts
generated
vendored
Normal file
16
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/formats/brotli.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import type nodeZlib from "node:zlib";
|
||||
import { ZlibCompress, ZLibDecompress } from "./_shared.mjs";
|
||||
// Brotli Compression
|
||||
export declare class BrotliCompress extends ZlibCompress {
|
||||
readonly _format = "brotli";
|
||||
}
|
||||
export declare const brotliCompress: typeof nodeZlib.brotliCompress;
|
||||
export declare const createBrotliCompress: typeof nodeZlib.createBrotliCompress;
|
||||
export declare const brotliCompressSync: typeof nodeZlib.brotliCompressSync;
|
||||
// Brotli Decompression
|
||||
export declare class BrotliDecompress extends ZLibDecompress {
|
||||
readonly _format = "brotli";
|
||||
}
|
||||
export declare const brotliDecompress: typeof nodeZlib.brotliDecompress;
|
||||
export declare const createBrotliDecompress: typeof nodeZlib.createBrotliDecompress;
|
||||
export declare const brotliDecompressSync: typeof nodeZlib.brotliDecompressSync;
|
||||
16
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/formats/brotli.mjs
generated
vendored
Normal file
16
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/formats/brotli.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import { notImplemented } from "../../../../_internal/utils.mjs";
|
||||
import { ZlibCompress, ZLibDecompress, notImplementedCompress } from "./_shared.mjs";
|
||||
// Brotli Compression
|
||||
export class BrotliCompress extends ZlibCompress {
|
||||
_format = "brotli";
|
||||
}
|
||||
export const brotliCompress = notImplementedCompress("brotliCompress");
|
||||
export const createBrotliCompress = () => new BrotliCompress();
|
||||
export const brotliCompressSync = /* @__PURE__ */ notImplemented("zlib.brotliCompressSync");
|
||||
// Brotli Decompression
|
||||
export class BrotliDecompress extends ZLibDecompress {
|
||||
_format = "brotli";
|
||||
}
|
||||
export const brotliDecompress = notImplementedCompress("brotliDecompress");
|
||||
export const createBrotliDecompress = () => new BrotliDecompress();
|
||||
export const brotliDecompressSync = /* @__PURE__ */ notImplemented("zlib.brotliDecompressSync");
|
||||
29
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/formats/deflate.d.mts
generated
vendored
Normal file
29
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/formats/deflate.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
import type nodeZlib from "node:zlib";
|
||||
import { ZlibCompress, ZLibDecompress } from "./_shared.mjs";
|
||||
// Deflate Compression
|
||||
export declare class Deflate extends ZlibCompress {
|
||||
readonly _format = "deflate";
|
||||
params(level: number, strategy: number, callback: () => void);
|
||||
reset();
|
||||
}
|
||||
export declare const deflate: typeof nodeZlib.deflate;
|
||||
export declare const createDeflate: typeof nodeZlib.createDeflate;
|
||||
export declare const deflateSync: typeof nodeZlib.deflateSync;
|
||||
// Deflate Decompress(Inflate)
|
||||
export declare class Inflate extends ZLibDecompress {
|
||||
readonly _format = "deflate";
|
||||
reset();
|
||||
}
|
||||
export declare const inflate: typeof nodeZlib.inflate;
|
||||
export declare const createInflate: typeof nodeZlib.createInflate;
|
||||
export declare const inflateSync: typeof nodeZlib.inflateSync;
|
||||
// Deflate Raw Compression
|
||||
export declare class DeflateRaw extends Deflate {}
|
||||
export declare const deflateRaw: typeof nodeZlib.deflateRaw;
|
||||
export declare const createDeflateRaw: typeof nodeZlib.createDeflateRaw;
|
||||
export declare const deflateRawSync: typeof nodeZlib.deflateRawSync;
|
||||
// Inflate Raw Decompress (Inflate Raw)
|
||||
export declare class InflateRaw extends Inflate {}
|
||||
export declare const inflateRaw: typeof nodeZlib.inflateRaw;
|
||||
export declare const createInflateRaw: typeof nodeZlib.createInflateRaw;
|
||||
export declare const inflateRawSync: typeof nodeZlib.inflateRawSync;
|
||||
36
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/formats/deflate.mjs
generated
vendored
Normal file
36
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/formats/deflate.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
import { createNotImplementedError } from "../../../../_internal/utils.mjs";
|
||||
import { notImplemented } from "../../../../_internal/utils.mjs";
|
||||
import { ZlibCompress, ZLibDecompress, notImplementedCompress } from "./_shared.mjs";
|
||||
// Deflate Compression
|
||||
export class Deflate extends ZlibCompress {
|
||||
_format = "deflate";
|
||||
params(level, strategy, callback) {
|
||||
throw createNotImplementedError("Deflate.params");
|
||||
}
|
||||
reset() {
|
||||
throw createNotImplementedError("Deflate.reset");
|
||||
}
|
||||
}
|
||||
export const deflate = notImplementedCompress("deflate");
|
||||
export const createDeflate = () => new Deflate();
|
||||
export const deflateSync = /* @__PURE__ */ notImplemented("zlib.deflateSync");
|
||||
// Deflate Decompress(Inflate)
|
||||
export class Inflate extends ZLibDecompress {
|
||||
_format = "deflate";
|
||||
reset() {
|
||||
throw createNotImplementedError("Inflate.reset");
|
||||
}
|
||||
}
|
||||
export const inflate = notImplementedCompress("inflate");
|
||||
export const createInflate = () => new Inflate();
|
||||
export const inflateSync = /* @__PURE__ */ notImplemented("zlib.inflateSync");
|
||||
// Deflate Raw Compression
|
||||
export class DeflateRaw extends Deflate {}
|
||||
export const deflateRaw = notImplementedCompress("deflateRaw");
|
||||
export const createDeflateRaw = () => new DeflateRaw();
|
||||
export const deflateRawSync = /* @__PURE__ */ notImplemented("zlib.deflateRawSync");
|
||||
// Inflate Raw Decompress (Inflate Raw)
|
||||
export class InflateRaw extends Inflate {}
|
||||
export const inflateRaw = notImplementedCompress("inflateRaw");
|
||||
export const createInflateRaw = () => new InflateRaw();
|
||||
export const inflateRawSync = /* @__PURE__ */ notImplemented("zlib.inflateRawSync");
|
||||
16
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/formats/gzip.d.mts
generated
vendored
Normal file
16
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/formats/gzip.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import type nodeZlib from "node:zlib";
|
||||
import { ZlibCompress, ZLibDecompress } from "./_shared.mjs";
|
||||
// Gzip Compression
|
||||
export declare class Gzip extends ZlibCompress {
|
||||
readonly _format = "gzip";
|
||||
}
|
||||
export declare const gzip: typeof nodeZlib.gzip;
|
||||
export declare const createGzip: typeof nodeZlib.createGzip;
|
||||
export declare const gzipSync: typeof nodeZlib.gzipSync;
|
||||
// Gzip Decompression
|
||||
export declare class Gunzip extends ZLibDecompress {
|
||||
readonly _format = "gzip";
|
||||
}
|
||||
export declare const gunzip: typeof nodeZlib.gunzip;
|
||||
export declare const createGunzip: typeof nodeZlib.createGunzip;
|
||||
export declare const gunzipSync: typeof nodeZlib.gunzipSync;
|
||||
16
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/formats/gzip.mjs
generated
vendored
Normal file
16
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/formats/gzip.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import { notImplemented } from "../../../../_internal/utils.mjs";
|
||||
import { ZlibCompress, ZLibDecompress, notImplementedCompress } from "./_shared.mjs";
|
||||
// Gzip Compression
|
||||
export class Gzip extends ZlibCompress {
|
||||
_format = "gzip";
|
||||
}
|
||||
export const gzip = notImplementedCompress("gzip");
|
||||
export const createGzip = () => new Gzip();
|
||||
export const gzipSync = /* @__PURE__ */ notImplemented("zlib.gzipSync");
|
||||
// Gzip Decompression
|
||||
export class Gunzip extends ZLibDecompress {
|
||||
_format = "gzip";
|
||||
}
|
||||
export const gunzip = notImplementedCompress("gunzip");
|
||||
export const createGunzip = () => new Gunzip();
|
||||
export const gunzipSync = /* @__PURE__ */ notImplemented("zlib.gunzipSync");
|
||||
9
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/formats/zip.d.mts
generated
vendored
Normal file
9
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/formats/zip.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import type nodeZlib from "node:zlib";
|
||||
import { ZlibCompress } from "./_shared.mjs";
|
||||
// Zip Decompression
|
||||
export declare class Unzip extends ZlibCompress {
|
||||
readonly _format = "zip";
|
||||
}
|
||||
export declare const createUnzip: typeof nodeZlib.createUnzip;
|
||||
export declare const unzip: typeof nodeZlib.unzip;
|
||||
export declare const unzipSync: typeof nodeZlib.unzipSync;
|
||||
9
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/formats/zip.mjs
generated
vendored
Normal file
9
Frontend-Learner/node_modules/unenv/dist/runtime/node/internal/zlib/formats/zip.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import { notImplemented } from "../../../../_internal/utils.mjs";
|
||||
import { ZlibCompress } from "./_shared.mjs";
|
||||
// Zip Decompression
|
||||
export class Unzip extends ZlibCompress {
|
||||
_format = "zip";
|
||||
}
|
||||
export const createUnzip = () => new Unzip();
|
||||
export const unzip = /* @__PURE__ */ notImplemented("zlib.unzip");
|
||||
export const unzipSync = /* @__PURE__ */ notImplemented("zlib.unzipSync");
|
||||
Loading…
Add table
Add a link
Reference in a new issue