node-liblzma 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +156 -63
- package/binding.gyp +7 -2
- package/index.d.ts +26 -3
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +26 -15
- package/lib/errors.js.map +1 -1
- package/lib/lzma.d.ts +236 -2
- package/lib/lzma.d.ts.map +1 -1
- package/lib/lzma.js +225 -39
- package/lib/lzma.js.map +1 -1
- package/lib/pool.d.ts.map +1 -1
- package/lib/pool.js +9 -3
- package/lib/pool.js.map +1 -1
- package/lib/types.d.ts +68 -1
- package/lib/types.d.ts.map +1 -1
- package/package.json +34 -17
- package/scripts/build_xz_with_cmake.py +23 -26
- package/scripts/download_xz_from_github.py +14 -13
- package/src/bindings/node-liblzma.cpp +40 -4
- package/src/bindings/node-liblzma.hpp +2 -1
- package/xz-version.json +3 -3
- package/.claude/settings.local.json +0 -92
- package/.gitattributes +0 -3
- package/.release-it.json +0 -6
- package/CHANGELOG.md +0 -209
- package/History.md +0 -79
- package/RELEASING.md +0 -131
- package/biome.json +0 -81
- package/coverage/base.css +0 -224
- package/coverage/block-navigation.js +0 -87
- package/coverage/errors.ts.html +0 -586
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +0 -146
- package/coverage/lcov-report/base.css +0 -224
- package/coverage/lcov-report/block-navigation.js +0 -87
- package/coverage/lcov-report/errors.ts.html +0 -586
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +0 -146
- package/coverage/lcov-report/lzma.ts.html +0 -2596
- package/coverage/lcov-report/pool.ts.html +0 -769
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -210
- package/coverage/lcov.info +0 -636
- package/coverage/lzma.ts.html +0 -2596
- package/coverage/pool.ts.html +0 -769
- package/coverage/prettify.css +0 -1
- package/coverage/prettify.js +0 -2
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +0 -210
- package/coverage-reports/assets/monocart-coverage-app.js +0 -2
- package/coverage-reports/coverage-data.js +0 -1
- package/coverage-reports/index.html +0 -48
- package/err.log +0 -26
- package/pnpm-workspace.yaml +0 -3
- package/scripts/analyze-coverage.js +0 -132
- package/scripts/compare-coverage-tools.js +0 -93
- package/scripts/prebuildify.py +0 -13
- package/src/errors.ts +0 -167
- package/src/lzma.ts +0 -839
- package/src/pool.ts +0 -228
- package/src/types.ts +0 -30
- package/tsconfig.json +0 -50
- package/vitest.config.istanbul.ts +0 -29
- package/vitest.config.monocart.ts +0 -44
- package/vitest.config.ts +0 -44
package/lib/lzma.d.ts
CHANGED
|
@@ -18,44 +18,107 @@
|
|
|
18
18
|
import { Transform, type TransformCallback, type TransformOptions } from 'node:stream';
|
|
19
19
|
import type { NativeLZMA } from '../index.js';
|
|
20
20
|
import { LZMABufferError, LZMADataError, LZMAError, LZMAFormatError, LZMAMemoryError, LZMAMemoryLimitError, LZMAOptionsError, LZMAProgrammingError } from './errors.js';
|
|
21
|
-
import type { CheckType, CompressionCallback, FilterType, LZMAActionType, LZMAOptions, LZMAStatusType, ModeType, PresetType } from './types.js';
|
|
21
|
+
import type { CheckType, CompressionCallback, FilterType, LZMAActionType, LZMAOptions, LZMAStatusType, ModeType, PresetType, ProgressInfo } from './types.js';
|
|
22
22
|
export { LZMAError, LZMAMemoryError, LZMAMemoryLimitError, LZMAFormatError, LZMAOptionsError, LZMADataError, LZMABufferError, LZMAProgrammingError, };
|
|
23
23
|
export { LZMAPool, type PoolMetrics } from './pool.js';
|
|
24
|
+
/**
|
|
25
|
+
* Integrity check types for XZ streams.
|
|
26
|
+
* Use CRC64 for best balance of speed and error detection.
|
|
27
|
+
* @example
|
|
28
|
+
* ```ts
|
|
29
|
+
* const compressor = createXz({ check: check.CRC64 });
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
24
32
|
export declare const check: {
|
|
25
33
|
readonly NONE: any;
|
|
26
34
|
readonly CRC32: any;
|
|
27
35
|
readonly CRC64: any;
|
|
28
36
|
readonly SHA256: any;
|
|
29
37
|
};
|
|
38
|
+
/**
|
|
39
|
+
* Compression preset flags.
|
|
40
|
+
* Can be combined with preset level using bitwise OR.
|
|
41
|
+
* @example
|
|
42
|
+
* ```ts
|
|
43
|
+
* const compressor = createXz({ preset: 6 | preset.EXTREME });
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
30
46
|
export declare const preset: {
|
|
47
|
+
/** Default compression level (6) */
|
|
31
48
|
readonly DEFAULT: any;
|
|
49
|
+
/** Extreme mode flag - slower but better compression */
|
|
32
50
|
readonly EXTREME: any;
|
|
33
51
|
};
|
|
52
|
+
/**
|
|
53
|
+
* Decoder flags for controlling decompression behavior.
|
|
54
|
+
* @example
|
|
55
|
+
* ```ts
|
|
56
|
+
* const decompressor = createUnxz({ flushFlag: flag.CONCATENATED });
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
34
59
|
export declare const flag: {
|
|
60
|
+
/** Tell decoder if input has no integrity check */
|
|
35
61
|
readonly TELL_NO_CHECK: any;
|
|
62
|
+
/** Tell decoder if integrity check is unsupported */
|
|
36
63
|
readonly TELL_UNSUPPORTED_CHECK: any;
|
|
64
|
+
/** Tell decoder about any integrity check type */
|
|
37
65
|
readonly TELL_ANY_CHECK: any;
|
|
66
|
+
/** Allow concatenated XZ streams */
|
|
38
67
|
readonly CONCATENATED: any;
|
|
39
68
|
};
|
|
69
|
+
/**
|
|
70
|
+
* Compression filters for preprocessing data before LZMA2.
|
|
71
|
+
* BCJ filters improve compression for executable code.
|
|
72
|
+
* @example
|
|
73
|
+
* ```ts
|
|
74
|
+
* // Compress x86 executable with BCJ filter
|
|
75
|
+
* const compressor = createXz({ filters: [filter.X86, filter.LZMA2] });
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
40
78
|
export declare const filter: {
|
|
79
|
+
/** LZMA2 compression filter (required, must be last) */
|
|
41
80
|
readonly LZMA2: any;
|
|
81
|
+
/** BCJ filter for x86 executables */
|
|
42
82
|
readonly X86: any;
|
|
83
|
+
/** BCJ filter for PowerPC executables */
|
|
43
84
|
readonly POWERPC: any;
|
|
85
|
+
/** BCJ filter for IA-64 executables */
|
|
44
86
|
readonly IA64: any;
|
|
87
|
+
/** BCJ filter for ARM executables */
|
|
45
88
|
readonly ARM: any;
|
|
89
|
+
/** BCJ filter for ARM-Thumb executables */
|
|
46
90
|
readonly ARMTHUMB: any;
|
|
91
|
+
/** BCJ filter for SPARC executables */
|
|
47
92
|
readonly SPARC: any;
|
|
48
93
|
};
|
|
94
|
+
/**
|
|
95
|
+
* Compression mode selection.
|
|
96
|
+
* FAST uses less memory, NORMAL provides better compression.
|
|
97
|
+
*/
|
|
49
98
|
export declare const mode: {
|
|
99
|
+
/** Fast compression mode - less memory, faster */
|
|
50
100
|
readonly FAST: any;
|
|
101
|
+
/** Normal compression mode - better ratio */
|
|
51
102
|
readonly NORMAL: any;
|
|
52
103
|
};
|
|
104
|
+
/**
|
|
105
|
+
* LZMA stream action constants.
|
|
106
|
+
* Control how the encoder/decoder processes input.
|
|
107
|
+
*/
|
|
53
108
|
export declare const LZMAAction: {
|
|
109
|
+
/** Normal processing - continue encoding/decoding */
|
|
54
110
|
readonly RUN: any;
|
|
111
|
+
/** Flush pending output synchronously */
|
|
55
112
|
readonly SYNC_FLUSH: any;
|
|
113
|
+
/** Flush and reset encoder state */
|
|
56
114
|
readonly FULL_FLUSH: any;
|
|
115
|
+
/** Finish the stream - no more input */
|
|
57
116
|
readonly FINISH: any;
|
|
58
117
|
};
|
|
118
|
+
/**
|
|
119
|
+
* LZMA operation status/return codes.
|
|
120
|
+
* Used to indicate the result of encoding/decoding operations.
|
|
121
|
+
*/
|
|
59
122
|
export declare const LZMAStatus: {
|
|
60
123
|
readonly OK: any;
|
|
61
124
|
readonly STREAM_END: any;
|
|
@@ -77,12 +140,19 @@ export declare const LZMAFilter: {
|
|
|
77
140
|
readonly ARM_ALT: any;
|
|
78
141
|
readonly ARMTHUMB_ALT: any;
|
|
79
142
|
readonly FILTERS_MAX: any;
|
|
143
|
+
/** LZMA2 compression filter (required, must be last) */
|
|
80
144
|
readonly LZMA2: any;
|
|
145
|
+
/** BCJ filter for x86 executables */
|
|
81
146
|
readonly X86: any;
|
|
147
|
+
/** BCJ filter for PowerPC executables */
|
|
82
148
|
readonly POWERPC: any;
|
|
149
|
+
/** BCJ filter for IA-64 executables */
|
|
83
150
|
readonly IA64: any;
|
|
151
|
+
/** BCJ filter for ARM executables */
|
|
84
152
|
readonly ARM: any;
|
|
153
|
+
/** BCJ filter for ARM-Thumb executables */
|
|
85
154
|
readonly ARMTHUMB: any;
|
|
155
|
+
/** BCJ filter for SPARC executables */
|
|
86
156
|
readonly SPARC: any;
|
|
87
157
|
};
|
|
88
158
|
export declare const LZMA_RUN: any;
|
|
@@ -107,7 +177,20 @@ export declare const LZMA_FILTER_IA64: any;
|
|
|
107
177
|
export declare const LZMA_FILTER_ARM: any;
|
|
108
178
|
export declare const LZMA_FILTER_ARMTHUMB: any;
|
|
109
179
|
export declare const LZMA_FILTERS_MAX: any;
|
|
110
|
-
export type { LZMAOptions, CompressionCallback, LZMAActionType, LZMAStatusType, CheckType, PresetType, FilterType, ModeType, };
|
|
180
|
+
export type { LZMAOptions, CompressionCallback, LZMAActionType, LZMAStatusType, CheckType, PresetType, FilterType, ModeType, ProgressInfo, };
|
|
181
|
+
/**
|
|
182
|
+
* Abstract base class for XZ compression/decompression streams.
|
|
183
|
+
* Extends Node.js Transform stream with LZMA2 encoding/decoding.
|
|
184
|
+
*
|
|
185
|
+
* @example
|
|
186
|
+
* ```ts
|
|
187
|
+
* // Use Xz or Unxz classes instead of XzStream directly
|
|
188
|
+
* const compressor = new Xz({ preset: 6 });
|
|
189
|
+
* readStream.pipe(compressor).pipe(writeStream);
|
|
190
|
+
* ```
|
|
191
|
+
*
|
|
192
|
+
* Emits `progress` event after each chunk with `{bytesRead, bytesWritten}` info.
|
|
193
|
+
*/
|
|
111
194
|
export declare abstract class XzStream extends Transform {
|
|
112
195
|
protected _opts: Required<LZMAOptions>;
|
|
113
196
|
protected _chunkSize: number;
|
|
@@ -117,8 +200,20 @@ export declare abstract class XzStream extends Transform {
|
|
|
117
200
|
protected _hadError: boolean;
|
|
118
201
|
protected _offset: number;
|
|
119
202
|
protected _buffer: Buffer;
|
|
203
|
+
/** Total bytes read from input */
|
|
204
|
+
protected _bytesRead: number;
|
|
205
|
+
/** Total bytes written to output */
|
|
206
|
+
protected _bytesWritten: number;
|
|
120
207
|
constructor(streamMode: number, opts?: LZMAOptions, options?: TransformOptions);
|
|
121
208
|
private _createLZMAError;
|
|
209
|
+
/** Get total bytes read from input so far */
|
|
210
|
+
get bytesRead(): number;
|
|
211
|
+
/** Get total bytes written to output so far */
|
|
212
|
+
get bytesWritten(): number;
|
|
213
|
+
/**
|
|
214
|
+
* Emit a progress event with current bytesRead and bytesWritten
|
|
215
|
+
*/
|
|
216
|
+
protected _emitProgress(): void;
|
|
122
217
|
private _reallocateBuffer;
|
|
123
218
|
flush(callback?: () => void): void;
|
|
124
219
|
flush(kind: number, callback?: () => void): void;
|
|
@@ -127,15 +222,64 @@ export declare abstract class XzStream extends Transform {
|
|
|
127
222
|
_flush(callback: TransformCallback): void;
|
|
128
223
|
_processChunk(chunk: Buffer | null, flushFlag: number, cb?: TransformCallback): Buffer | undefined;
|
|
129
224
|
}
|
|
225
|
+
/**
|
|
226
|
+
* XZ compression stream.
|
|
227
|
+
* Compresses data using LZMA2 algorithm.
|
|
228
|
+
*
|
|
229
|
+
* @example
|
|
230
|
+
* ```ts
|
|
231
|
+
* const compressor = new Xz({ preset: 6 });
|
|
232
|
+
* input.pipe(compressor).pipe(output);
|
|
233
|
+
* ```
|
|
234
|
+
*/
|
|
130
235
|
export declare class Xz extends XzStream {
|
|
131
236
|
constructor(lzmaOptions?: LZMAOptions, options?: TransformOptions);
|
|
132
237
|
}
|
|
238
|
+
/**
|
|
239
|
+
* XZ decompression stream.
|
|
240
|
+
* Decompresses data compressed with XZ/LZMA2.
|
|
241
|
+
*
|
|
242
|
+
* @example
|
|
243
|
+
* ```ts
|
|
244
|
+
* const decompressor = new Unxz();
|
|
245
|
+
* compressedInput.pipe(decompressor).pipe(output);
|
|
246
|
+
* ```
|
|
247
|
+
*/
|
|
133
248
|
export declare class Unxz extends XzStream {
|
|
134
249
|
constructor(lzmaOptions?: LZMAOptions, options?: TransformOptions);
|
|
135
250
|
}
|
|
251
|
+
/**
|
|
252
|
+
* Create a new XZ compression stream.
|
|
253
|
+
* @param lzmaOptions - LZMA compression options
|
|
254
|
+
* @param options - Node.js Transform stream options
|
|
255
|
+
* @returns New Xz compression stream
|
|
256
|
+
*
|
|
257
|
+
* @example
|
|
258
|
+
* ```ts
|
|
259
|
+
* const compressor = createXz({ preset: 9 });
|
|
260
|
+
* ```
|
|
261
|
+
*/
|
|
136
262
|
export declare function createXz(lzmaOptions?: LZMAOptions, options?: TransformOptions): Xz;
|
|
263
|
+
/**
|
|
264
|
+
* Create a new XZ decompression stream.
|
|
265
|
+
* @param lzmaOptions - LZMA decompression options
|
|
266
|
+
* @param options - Node.js Transform stream options
|
|
267
|
+
* @returns New Unxz decompression stream
|
|
268
|
+
*
|
|
269
|
+
* @example
|
|
270
|
+
* ```ts
|
|
271
|
+
* const decompressor = createUnxz();
|
|
272
|
+
* ```
|
|
273
|
+
*/
|
|
137
274
|
export declare function createUnxz(lzmaOptions?: LZMAOptions, options?: TransformOptions): Unxz;
|
|
275
|
+
/**
|
|
276
|
+
* Check if liblzma was built with threading support.
|
|
277
|
+
* @returns true if multi-threaded compression is available
|
|
278
|
+
*/
|
|
138
279
|
export declare function hasThreads(): boolean;
|
|
280
|
+
/**
|
|
281
|
+
* Human-readable error messages for LZMA status codes.
|
|
282
|
+
*/
|
|
139
283
|
export declare enum LZMAErrorMessage {
|
|
140
284
|
SUCCESS = "Operation completed successfully",
|
|
141
285
|
STREAM_END = "End of stream was reached",
|
|
@@ -150,14 +294,89 @@ export declare enum LZMAErrorMessage {
|
|
|
150
294
|
BUF_ERROR = "No progress is possible",
|
|
151
295
|
PROG_ERROR = "Programming error"
|
|
152
296
|
}
|
|
297
|
+
/**
|
|
298
|
+
* Array of error messages indexed by LZMA status code.
|
|
299
|
+
* @deprecated Use LZMAErrorMessage enum instead
|
|
300
|
+
*/
|
|
153
301
|
export declare const messages: readonly string[];
|
|
302
|
+
/**
|
|
303
|
+
* Decompress a buffer asynchronously using callback.
|
|
304
|
+
* @param buffer - Compressed data to decompress
|
|
305
|
+
* @param callback - Callback with error or decompressed data
|
|
306
|
+
*
|
|
307
|
+
* @example
|
|
308
|
+
* ```ts
|
|
309
|
+
* unxz(compressedBuffer, (err, result) => {
|
|
310
|
+
* if (err) throw err;
|
|
311
|
+
* console.log(result.toString());
|
|
312
|
+
* });
|
|
313
|
+
* ```
|
|
314
|
+
*/
|
|
154
315
|
export declare function unxz(buffer: Buffer | string, callback: CompressionCallback): void;
|
|
155
316
|
export declare function unxz(buffer: Buffer | string, opts: LZMAOptions, callback: CompressionCallback): void;
|
|
317
|
+
/**
|
|
318
|
+
* Decompress a buffer synchronously.
|
|
319
|
+
* @param buffer - Compressed data to decompress
|
|
320
|
+
* @param opts - LZMA decompression options
|
|
321
|
+
* @returns Decompressed data buffer
|
|
322
|
+
*
|
|
323
|
+
* @example
|
|
324
|
+
* ```ts
|
|
325
|
+
* const decompressed = unxzSync(compressedBuffer);
|
|
326
|
+
* ```
|
|
327
|
+
*/
|
|
156
328
|
export declare function unxzSync(buffer: Buffer | string, opts?: LZMAOptions): Buffer;
|
|
329
|
+
/**
|
|
330
|
+
* Compress a buffer asynchronously using callback.
|
|
331
|
+
* @param buffer - Data to compress
|
|
332
|
+
* @param callback - Callback with error or compressed data
|
|
333
|
+
*
|
|
334
|
+
* @example
|
|
335
|
+
* ```ts
|
|
336
|
+
* xz(data, { preset: 6 }, (err, result) => {
|
|
337
|
+
* if (err) throw err;
|
|
338
|
+
* fs.writeFileSync('data.xz', result);
|
|
339
|
+
* });
|
|
340
|
+
* ```
|
|
341
|
+
*/
|
|
157
342
|
export declare function xz(buffer: Buffer | string, callback: CompressionCallback): void;
|
|
158
343
|
export declare function xz(buffer: Buffer | string, opts: LZMAOptions, callback: CompressionCallback): void;
|
|
344
|
+
/**
|
|
345
|
+
* Compress a buffer synchronously.
|
|
346
|
+
* @param buffer - Data to compress
|
|
347
|
+
* @param opts - LZMA compression options
|
|
348
|
+
* @returns Compressed data buffer
|
|
349
|
+
*
|
|
350
|
+
* @example
|
|
351
|
+
* ```ts
|
|
352
|
+
* const compressed = xzSync(data, { preset: 9 });
|
|
353
|
+
* ```
|
|
354
|
+
*/
|
|
159
355
|
export declare function xzSync(buffer: Buffer | string, opts?: LZMAOptions): Buffer;
|
|
356
|
+
/**
|
|
357
|
+
* Compress a buffer asynchronously using Promise.
|
|
358
|
+
* @param buffer - Data to compress
|
|
359
|
+
* @param opts - LZMA compression options
|
|
360
|
+
* @returns Promise resolving to compressed data buffer
|
|
361
|
+
*
|
|
362
|
+
* @example
|
|
363
|
+
* ```ts
|
|
364
|
+
* const compressed = await xzAsync(data, { preset: 6 });
|
|
365
|
+
* ```
|
|
366
|
+
*/
|
|
160
367
|
export declare function xzAsync(buffer: Buffer | string, opts?: LZMAOptions): Promise<Buffer>;
|
|
368
|
+
/**
|
|
369
|
+
* Decompress a buffer asynchronously using Promise.
|
|
370
|
+
* @param buffer - Compressed data to decompress
|
|
371
|
+
* @param opts - LZMA decompression options
|
|
372
|
+
* @returns Promise resolving to decompressed data buffer
|
|
373
|
+
*
|
|
374
|
+
* @example
|
|
375
|
+
* ```ts
|
|
376
|
+
* const decompressed = await unxzAsync(compressedBuffer);
|
|
377
|
+
* console.log(decompressed.toString());
|
|
378
|
+
* ```
|
|
379
|
+
*/
|
|
161
380
|
export declare function unxzAsync(buffer: Buffer | string, opts?: LZMAOptions): Promise<Buffer>;
|
|
162
381
|
/**
|
|
163
382
|
* Compress a file using XZ compression
|
|
@@ -188,26 +407,41 @@ declare const _default: {
|
|
|
188
407
|
readonly SHA256: any;
|
|
189
408
|
};
|
|
190
409
|
preset: {
|
|
410
|
+
/** Default compression level (6) */
|
|
191
411
|
readonly DEFAULT: any;
|
|
412
|
+
/** Extreme mode flag - slower but better compression */
|
|
192
413
|
readonly EXTREME: any;
|
|
193
414
|
};
|
|
194
415
|
flag: {
|
|
416
|
+
/** Tell decoder if input has no integrity check */
|
|
195
417
|
readonly TELL_NO_CHECK: any;
|
|
418
|
+
/** Tell decoder if integrity check is unsupported */
|
|
196
419
|
readonly TELL_UNSUPPORTED_CHECK: any;
|
|
420
|
+
/** Tell decoder about any integrity check type */
|
|
197
421
|
readonly TELL_ANY_CHECK: any;
|
|
422
|
+
/** Allow concatenated XZ streams */
|
|
198
423
|
readonly CONCATENATED: any;
|
|
199
424
|
};
|
|
200
425
|
filter: {
|
|
426
|
+
/** LZMA2 compression filter (required, must be last) */
|
|
201
427
|
readonly LZMA2: any;
|
|
428
|
+
/** BCJ filter for x86 executables */
|
|
202
429
|
readonly X86: any;
|
|
430
|
+
/** BCJ filter for PowerPC executables */
|
|
203
431
|
readonly POWERPC: any;
|
|
432
|
+
/** BCJ filter for IA-64 executables */
|
|
204
433
|
readonly IA64: any;
|
|
434
|
+
/** BCJ filter for ARM executables */
|
|
205
435
|
readonly ARM: any;
|
|
436
|
+
/** BCJ filter for ARM-Thumb executables */
|
|
206
437
|
readonly ARMTHUMB: any;
|
|
438
|
+
/** BCJ filter for SPARC executables */
|
|
207
439
|
readonly SPARC: any;
|
|
208
440
|
};
|
|
209
441
|
mode: {
|
|
442
|
+
/** Fast compression mode - less memory, faster */
|
|
210
443
|
readonly FAST: any;
|
|
444
|
+
/** Normal compression mode - better ratio */
|
|
211
445
|
readonly NORMAL: any;
|
|
212
446
|
};
|
|
213
447
|
createXz: typeof createXz;
|
package/lib/lzma.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lzma.d.ts","sourceRoot":"","sources":["../src/lzma.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAMH,OAAO,EAAE,SAAS,EAAE,KAAK,iBAAiB,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEvF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAEL,eAAe,EACf,aAAa,EACb,SAAS,EACT,eAAe,EACf,eAAe,EACf,oBAAoB,EACpB,gBAAgB,EAChB,oBAAoB,EACrB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EACV,SAAS,EACT,mBAAmB,EACnB,UAAU,EACV,cAAc,EACd,WAAW,EACX,cAAc,EACd,QAAQ,EACR,UAAU,
|
|
1
|
+
{"version":3,"file":"lzma.d.ts","sourceRoot":"","sources":["../src/lzma.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAMH,OAAO,EAAE,SAAS,EAAE,KAAK,iBAAiB,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEvF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAEL,eAAe,EACf,aAAa,EACb,SAAS,EACT,eAAe,EACf,eAAe,EACf,oBAAoB,EACpB,gBAAgB,EAChB,oBAAoB,EACrB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EACV,SAAS,EACT,mBAAmB,EACnB,UAAU,EACV,cAAc,EACd,WAAW,EACX,cAAc,EACd,QAAQ,EACR,UAAU,EACV,YAAY,EACb,MAAM,YAAY,CAAC;AAGpB,OAAO,EACL,SAAS,EACT,eAAe,EACf,oBAAoB,EACpB,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,eAAe,EACf,oBAAoB,GACrB,CAAC;AAGF,OAAO,EAAE,QAAQ,EAAE,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AAqB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