node-liblzma 1.1.8 → 2.0.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/.claude/settings.local.json +92 -0
- package/.gitattributes +3 -0
- package/.release-it.json +6 -0
- package/CHANGELOG.md +209 -0
- package/History.md +23 -1
- package/README.md +750 -30
- package/RELEASING.md +131 -0
- package/binding.gyp +159 -438
- package/biome.json +81 -0
- package/coverage/base.css +224 -0
- package/coverage/block-navigation.js +87 -0
- package/coverage/errors.ts.html +586 -0
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +146 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/errors.ts.html +586 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +146 -0
- package/coverage/lcov-report/lzma.ts.html +2596 -0
- package/coverage/lcov-report/pool.ts.html +769 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +210 -0
- package/coverage/lcov.info +636 -0
- package/coverage/lzma.ts.html +2596 -0
- package/coverage/pool.ts.html +769 -0
- package/coverage/prettify.css +1 -0
- package/coverage/prettify.js +2 -0
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +210 -0
- package/coverage-reports/assets/monocart-coverage-app.js +2 -0
- package/coverage-reports/coverage-data.js +1 -0
- package/coverage-reports/index.html +48 -0
- package/err.log +26 -0
- package/index.d.ts +254 -0
- package/lib/errors.d.ts +72 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +153 -0
- package/lib/errors.js.map +1 -0
- package/lib/lzma.d.ts +245 -0
- package/lib/lzma.d.ts.map +1 -0
- package/lib/lzma.js +626 -345
- package/lib/lzma.js.map +1 -0
- package/lib/pool.d.ts +123 -0
- package/lib/pool.d.ts.map +1 -0
- package/lib/pool.js +188 -0
- package/lib/pool.js.map +1 -0
- package/lib/types.d.ts +27 -0
- package/lib/types.d.ts.map +1 -0
- package/lib/types.js +5 -0
- package/lib/types.js.map +1 -0
- package/package.json +60 -21
- package/pnpm-workspace.yaml +3 -0
- package/scripts/analyze-coverage.js +132 -0
- package/scripts/build_xz_with_cmake.py +390 -0
- package/scripts/compare-coverage-tools.js +93 -0
- package/scripts/copy_dll.py +51 -0
- package/scripts/download_xz_from_github.py +375 -0
- package/src/bindings/module.cpp +107 -0
- package/src/bindings/node-liblzma.cpp +522 -0
- package/src/bindings/node-liblzma.hpp +144 -0
- package/src/errors.ts +167 -0
- package/src/lzma.ts +839 -0
- package/src/pool.ts +228 -0
- package/src/types.ts +30 -0
- package/tsconfig.json +50 -0
- package/vitest.config.istanbul.ts +29 -0
- package/vitest.config.monocart.ts +44 -0
- package/vitest.config.ts +44 -0
- package/xz-version.json +8 -0
- package/prebuilds/darwin-x64/node.napi.node +0 -0
- package/prebuilds/linux-x64/node.napi.node +0 -0
- package/prebuilds/win32-x64/node.napi.node +0 -0
- package/scripts/download_extract_deps.py +0 -29
package/lib/errors.d.ts
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* node-liblzma - Node.js bindings for liblzma
|
|
3
|
+
* Copyright (C) Olivier Orabona <olivier.orabona@gmail.com>
|
|
4
|
+
*
|
|
5
|
+
* This program is free software: you can redistribute it and/or modify
|
|
6
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
7
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
8
|
+
* (at your option) any later version.
|
|
9
|
+
*
|
|
10
|
+
* This program is distributed in the hope that it will be useful,
|
|
11
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
+
* GNU General Public License for more details.
|
|
14
|
+
*
|
|
15
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
16
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Base class for all LZMA-related errors
|
|
20
|
+
*/
|
|
21
|
+
export declare class LZMAError extends Error {
|
|
22
|
+
readonly errno: number;
|
|
23
|
+
readonly code: number;
|
|
24
|
+
constructor(message: string, errno: number);
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Memory allocation error - thrown when LZMA cannot allocate required memory
|
|
28
|
+
*/
|
|
29
|
+
export declare class LZMAMemoryError extends LZMAError {
|
|
30
|
+
constructor(errno: number);
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Memory limit error - thrown when operation would exceed memory usage limit
|
|
34
|
+
*/
|
|
35
|
+
export declare class LZMAMemoryLimitError extends LZMAError {
|
|
36
|
+
constructor(errno: number);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Format error - thrown when file format is not recognized
|
|
40
|
+
*/
|
|
41
|
+
export declare class LZMAFormatError extends LZMAError {
|
|
42
|
+
constructor(errno: number);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Options error - thrown when invalid or unsupported options are provided
|
|
46
|
+
*/
|
|
47
|
+
export declare class LZMAOptionsError extends LZMAError {
|
|
48
|
+
constructor(errno: number);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Data error - thrown when compressed data is corrupt
|
|
52
|
+
*/
|
|
53
|
+
export declare class LZMADataError extends LZMAError {
|
|
54
|
+
constructor(errno: number);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Buffer error - thrown when no progress is possible (e.g., buffer too small)
|
|
58
|
+
*/
|
|
59
|
+
export declare class LZMABufferError extends LZMAError {
|
|
60
|
+
constructor(errno: number);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Programming error - thrown when there's an internal programming error
|
|
64
|
+
*/
|
|
65
|
+
export declare class LZMAProgrammingError extends LZMAError {
|
|
66
|
+
constructor(errno: number);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Factory function to create appropriate error instance based on errno
|
|
70
|
+
*/
|
|
71
|
+
export declare function createLZMAError(errno: number, message?: string): LZMAError;
|
|
72
|
+
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;GAEG;AACH,qBAAa,SAAU,SAAQ,KAAK;IAClC,SAAgB,KAAK,EAAE,MAAM,CAAC;IAC9B,SAAgB,IAAI,EAAE,MAAM,CAAC;gBAEjB,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;CAO3C;AAED;;GAEG;AACH,qBAAa,eAAgB,SAAQ,SAAS;gBAChC,KAAK,EAAE,MAAM;CAI1B;AAED;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,SAAS;gBACrC,KAAK,EAAE,MAAM;CAI1B;AAED;;GAEG;AACH,qBAAa,eAAgB,SAAQ,SAAS;gBAChC,KAAK,EAAE,MAAM;CAI1B;AAED;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,SAAS;gBACjC,KAAK,EAAE,MAAM;CAI1B;AAED;;GAEG;AACH,qBAAa,aAAc,SAAQ,SAAS;gBAC9B,KAAK,EAAE,MAAM;CAI1B;AAED;;GAEG;AACH,qBAAa,eAAgB,SAAQ,SAAS;gBAChC,KAAK,EAAE,MAAM;CAI1B;AAED;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,SAAS;gBACrC,KAAK,EAAE,MAAM;CAI1B;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAoC1E"}
|
package/lib/errors.js
ADDED
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* node-liblzma - Node.js bindings for liblzma
|
|
3
|
+
* Copyright (C) Olivier Orabona <olivier.orabona@gmail.com>
|
|
4
|
+
*
|
|
5
|
+
* This program is free software: you can redistribute it and/or modify
|
|
6
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
7
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
8
|
+
* (at your option) any later version.
|
|
9
|
+
*
|
|
10
|
+
* This program is distributed in the hope that it will be useful,
|
|
11
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
+
* GNU General Public License for more details.
|
|
14
|
+
*
|
|
15
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
16
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Base class for all LZMA-related errors
|
|
20
|
+
*/
|
|
21
|
+
export class LZMAError extends Error {
|
|
22
|
+
constructor(message, errno) {
|
|
23
|
+
super(message);
|
|
24
|
+
this.name = 'LZMAError';
|
|
25
|
+
this.errno = errno;
|
|
26
|
+
this.code = errno;
|
|
27
|
+
Error.captureStackTrace(this, this.constructor);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Memory allocation error - thrown when LZMA cannot allocate required memory
|
|
32
|
+
*/
|
|
33
|
+
export class LZMAMemoryError extends LZMAError {
|
|
34
|
+
constructor(errno) {
|
|
35
|
+
super('Cannot allocate memory', errno);
|
|
36
|
+
this.name = 'LZMAMemoryError';
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Memory limit error - thrown when operation would exceed memory usage limit
|
|
41
|
+
*/
|
|
42
|
+
export class LZMAMemoryLimitError extends LZMAError {
|
|
43
|
+
constructor(errno) {
|
|
44
|
+
super('Memory usage limit was reached', errno);
|
|
45
|
+
this.name = 'LZMAMemoryLimitError';
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Format error - thrown when file format is not recognized
|
|
50
|
+
*/
|
|
51
|
+
export class LZMAFormatError extends LZMAError {
|
|
52
|
+
constructor(errno) {
|
|
53
|
+
super('File format not recognized', errno);
|
|
54
|
+
this.name = 'LZMAFormatError';
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Options error - thrown when invalid or unsupported options are provided
|
|
59
|
+
*/
|
|
60
|
+
export class LZMAOptionsError extends LZMAError {
|
|
61
|
+
constructor(errno) {
|
|
62
|
+
super('Invalid or unsupported options', errno);
|
|
63
|
+
this.name = 'LZMAOptionsError';
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Data error - thrown when compressed data is corrupt
|
|
68
|
+
*/
|
|
69
|
+
export class LZMADataError extends LZMAError {
|
|
70
|
+
constructor(errno) {
|
|
71
|
+
super('Data is corrupt', errno);
|
|
72
|
+
this.name = 'LZMADataError';
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Buffer error - thrown when no progress is possible (e.g., buffer too small)
|
|
77
|
+
*/
|
|
78
|
+
export class LZMABufferError extends LZMAError {
|
|
79
|
+
constructor(errno) {
|
|
80
|
+
super('No progress is possible', errno);
|
|
81
|
+
this.name = 'LZMABufferError';
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Programming error - thrown when there's an internal programming error
|
|
86
|
+
*/
|
|
87
|
+
export class LZMAProgrammingError extends LZMAError {
|
|
88
|
+
constructor(errno) {
|
|
89
|
+
super('Programming error', errno);
|
|
90
|
+
this.name = 'LZMAProgrammingError';
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Factory function to create appropriate error instance based on errno
|
|
95
|
+
*/
|
|
96
|
+
export function createLZMAError(errno, message) {
|
|
97
|
+
// LZMA error codes mapping
|
|
98
|
+
const LZMA_OK = 0;
|
|
99
|
+
const LZMA_STREAM_END = 1;
|
|
100
|
+
const LZMA_NO_CHECK = 2;
|
|
101
|
+
const LZMA_UNSUPPORTED_CHECK = 3;
|
|
102
|
+
const LZMA_GET_CHECK = 4;
|
|
103
|
+
const LZMA_MEM_ERROR = 5;
|
|
104
|
+
const LZMA_MEMLIMIT_ERROR = 6;
|
|
105
|
+
const LZMA_FORMAT_ERROR = 7;
|
|
106
|
+
const LZMA_OPTIONS_ERROR = 8;
|
|
107
|
+
const LZMA_DATA_ERROR = 9;
|
|
108
|
+
const LZMA_BUF_ERROR = 10;
|
|
109
|
+
const LZMA_PROG_ERROR = 11;
|
|
110
|
+
switch (errno) {
|
|
111
|
+
case LZMA_MEM_ERROR:
|
|
112
|
+
return new LZMAMemoryError(errno);
|
|
113
|
+
case LZMA_MEMLIMIT_ERROR:
|
|
114
|
+
return new LZMAMemoryLimitError(errno);
|
|
115
|
+
case LZMA_FORMAT_ERROR:
|
|
116
|
+
return new LZMAFormatError(errno);
|
|
117
|
+
case LZMA_OPTIONS_ERROR:
|
|
118
|
+
return new LZMAOptionsError(errno);
|
|
119
|
+
case LZMA_DATA_ERROR:
|
|
120
|
+
return new LZMADataError(errno);
|
|
121
|
+
case LZMA_BUF_ERROR:
|
|
122
|
+
return new LZMABufferError(errno);
|
|
123
|
+
case LZMA_PROG_ERROR:
|
|
124
|
+
return new LZMAProgrammingError(errno);
|
|
125
|
+
default: {
|
|
126
|
+
// For success codes and unknown errors, use base LZMAError
|
|
127
|
+
const errorMessage = message || getErrorMessage(errno);
|
|
128
|
+
return new LZMAError(errorMessage, errno);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Get error message for a given errno
|
|
134
|
+
*/
|
|
135
|
+
function getErrorMessage(errno) {
|
|
136
|
+
const messages = [
|
|
137
|
+
'Operation completed successfully',
|
|
138
|
+
'End of stream was reached',
|
|
139
|
+
'Input stream has no integrity check',
|
|
140
|
+
'Cannot calculate the integrity check',
|
|
141
|
+
'Integrity check type is not available',
|
|
142
|
+
'Cannot allocate memory',
|
|
143
|
+
'Memory usage limit was reached',
|
|
144
|
+
'File format not recognized',
|
|
145
|
+
'Invalid or unsupported options',
|
|
146
|
+
'Data is corrupt',
|
|
147
|
+
'No progress is possible',
|
|
148
|
+
'Programming error',
|
|
149
|
+
];
|
|
150
|
+
const messageIndex = Math.max(0, Math.min(errno, messages.length - 1));
|
|
151
|
+
return messages[messageIndex];
|
|
152
|
+
}
|
|
153
|
+
//# sourceMappingURL=errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;GAEG;AACH,MAAM,OAAO,SAAU,SAAQ,KAAK;IAIlC,YAAY,OAAe,EAAE,KAAa;QACxC,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC;QACxB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;QAClB,KAAK,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;IAClD,CAAC;CACF;AAED;;GAEG;AACH,MAAM,OAAO,eAAgB,SAAQ,SAAS;IAC5C,YAAY,KAAa;QACvB,KAAK,CAAC,wBAAwB,EAAE,KAAK,CAAC,CAAC;QACvC,IAAI,CAAC,IAAI,GAAG,iBAAiB,CAAC;IAChC,CAAC;CACF;AAED;;GAEG;AACH,MAAM,OAAO,oBAAqB,SAAQ,SAAS;IACjD,YAAY,KAAa;QACvB,KAAK,CAAC,gCAAgC,EAAE,KAAK,CAAC,CAAC;QAC/C,IAAI,CAAC,IAAI,GAAG,sBAAsB,CAAC;IACrC,CAAC;CACF;AAED;;GAEG;AACH,MAAM,OAAO,eAAgB,SAAQ,SAAS;IAC5C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CAAC,CAAC,CAAC,CAAC;IACvE,OAAO,QAAQ,CAAC,YAAY,CAAC,CAAC;AAChC,CAAC"}
|
package/lib/lzma.d.ts
ADDED
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* node-liblzma - Node.js bindings for liblzma
|
|
3
|
+
* Copyright (C) Olivier Orabona <olivier.orabona@gmail.com>
|
|
4
|
+
*
|
|
5
|
+
* This program is free software: you can redistribute it and/or modify
|
|
6
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
7
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
8
|
+
* (at your option) any later version.
|
|
9
|
+
*
|
|
10
|
+
* This program is distributed in the hope that it will be useful,
|
|
11
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
+
* GNU General Public License for more details.
|
|
14
|
+
*
|
|
15
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
16
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
|
+
*/
|
|
18
|
+
import { Transform, type TransformCallback, type TransformOptions } from 'node:stream';
|
|
19
|
+
import type { NativeLZMA } from '../index.js';
|
|
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';
|
|
22
|
+
export { LZMAError, LZMAMemoryError, LZMAMemoryLimitError, LZMAFormatError, LZMAOptionsError, LZMADataError, LZMABufferError, LZMAProgrammingError, };
|
|
23
|
+
export { LZMAPool, type PoolMetrics } from './pool.js';
|
|
24
|
+
export declare const check: {
|
|
25
|
+
readonly NONE: any;
|
|
26
|
+
readonly CRC32: any;
|
|
27
|
+
readonly CRC64: any;
|
|
28
|
+
readonly SHA256: any;
|
|
29
|
+
};
|
|
30
|
+
export declare const preset: {
|
|
31
|
+
readonly DEFAULT: any;
|
|
32
|
+
readonly EXTREME: any;
|
|
33
|
+
};
|
|
34
|
+
export declare const flag: {
|
|
35
|
+
readonly TELL_NO_CHECK: any;
|
|
36
|
+
readonly TELL_UNSUPPORTED_CHECK: any;
|
|
37
|
+
readonly TELL_ANY_CHECK: any;
|
|
38
|
+
readonly CONCATENATED: any;
|
|
39
|
+
};
|
|
40
|
+
export declare const filter: {
|
|
41
|
+
readonly LZMA2: any;
|
|
42
|
+
readonly X86: any;
|
|
43
|
+
readonly POWERPC: any;
|
|
44
|
+
readonly IA64: any;
|
|
45
|
+
readonly ARM: any;
|
|
46
|
+
readonly ARMTHUMB: any;
|
|
47
|
+
readonly SPARC: any;
|
|
48
|
+
};
|
|
49
|
+
export declare const mode: {
|
|
50
|
+
readonly FAST: any;
|
|
51
|
+
readonly NORMAL: any;
|
|
52
|
+
};
|
|
53
|
+
export declare const LZMAAction: {
|
|
54
|
+
readonly RUN: any;
|
|
55
|
+
readonly SYNC_FLUSH: any;
|
|
56
|
+
readonly FULL_FLUSH: any;
|
|
57
|
+
readonly FINISH: any;
|
|
58
|
+
};
|
|
59
|
+
export declare const LZMAStatus: {
|
|
60
|
+
readonly OK: any;
|
|
61
|
+
readonly STREAM_END: any;
|
|
62
|
+
readonly NO_CHECK: any;
|
|
63
|
+
readonly UNSUPPORTED_CHECK: any;
|
|
64
|
+
readonly GET_CHECK: any;
|
|
65
|
+
readonly MEM_ERROR: any;
|
|
66
|
+
readonly MEMLIMIT_ERROR: any;
|
|
67
|
+
readonly FORMAT_ERROR: any;
|
|
68
|
+
readonly OPTIONS_ERROR: any;
|
|
69
|
+
readonly DATA_ERROR: any;
|
|
70
|
+
readonly BUF_ERROR: any;
|
|
71
|
+
readonly PROG_ERROR: any;
|
|
72
|
+
};
|
|
73
|
+
export declare const LZMAFilter: {
|
|
74
|
+
readonly X86_ALT: any;
|
|
75
|
+
readonly POWERPC_ALT: any;
|
|
76
|
+
readonly IA64_ALT: any;
|
|
77
|
+
readonly ARM_ALT: any;
|
|
78
|
+
readonly ARMTHUMB_ALT: any;
|
|
79
|
+
readonly FILTERS_MAX: any;
|
|
80
|
+
readonly LZMA2: any;
|
|
81
|
+
readonly X86: any;
|
|
82
|
+
readonly POWERPC: any;
|
|
83
|
+
readonly IA64: any;
|
|
84
|
+
readonly ARM: any;
|
|
85
|
+
readonly ARMTHUMB: any;
|
|
86
|
+
readonly SPARC: any;
|
|
87
|
+
};
|
|
88
|
+
export declare const LZMA_RUN: any;
|
|
89
|
+
export declare const LZMA_SYNC_FLUSH: any;
|
|
90
|
+
export declare const LZMA_FULL_FLUSH: any;
|
|
91
|
+
export declare const LZMA_FINISH: any;
|
|
92
|
+
export declare const LZMA_OK: any;
|
|
93
|
+
export declare const LZMA_STREAM_END: any;
|
|
94
|
+
export declare const LZMA_NO_CHECK: any;
|
|
95
|
+
export declare const LZMA_UNSUPPORTED_CHECK: any;
|
|
96
|
+
export declare const LZMA_GET_CHECK: any;
|
|
97
|
+
export declare const LZMA_MEM_ERROR: any;
|
|
98
|
+
export declare const LZMA_MEMLIMIT_ERROR: any;
|
|
99
|
+
export declare const LZMA_FORMAT_ERROR: any;
|
|
100
|
+
export declare const LZMA_OPTIONS_ERROR: any;
|
|
101
|
+
export declare const LZMA_DATA_ERROR: any;
|
|
102
|
+
export declare const LZMA_BUF_ERROR: any;
|
|
103
|
+
export declare const LZMA_PROG_ERROR: any;
|
|
104
|
+
export declare const LZMA_FILTER_X86: any;
|
|
105
|
+
export declare const LZMA_FILTER_POWERPC: any;
|
|
106
|
+
export declare const LZMA_FILTER_IA64: any;
|
|
107
|
+
export declare const LZMA_FILTER_ARM: any;
|
|
108
|
+
export declare const LZMA_FILTER_ARMTHUMB: any;
|
|
109
|
+
export declare const LZMA_FILTERS_MAX: any;
|
|
110
|
+
export type { LZMAOptions, CompressionCallback, LZMAActionType, LZMAStatusType, CheckType, PresetType, FilterType, ModeType, };
|
|
111
|
+
export declare abstract class XzStream extends Transform {
|
|
112
|
+
protected _opts: Required<LZMAOptions>;
|
|
113
|
+
protected _chunkSize: number;
|
|
114
|
+
protected _flushFlag: number;
|
|
115
|
+
protected lzma: NativeLZMA;
|
|
116
|
+
protected _closed: boolean;
|
|
117
|
+
protected _hadError: boolean;
|
|
118
|
+
protected _offset: number;
|
|
119
|
+
protected _buffer: Buffer;
|
|
120
|
+
constructor(streamMode: number, opts?: LZMAOptions, options?: TransformOptions);
|
|
121
|
+
private _createLZMAError;
|
|
122
|
+
private _reallocateBuffer;
|
|
123
|
+
flush(callback?: () => void): void;
|
|
124
|
+
flush(kind: number, callback?: () => void): void;
|
|
125
|
+
close(callback?: () => void): void;
|
|
126
|
+
_transform(chunk: Buffer | null, _encoding: string, callback: TransformCallback): void;
|
|
127
|
+
_flush(callback: TransformCallback): void;
|
|
128
|
+
_processChunk(chunk: Buffer | null, flushFlag: number, cb?: TransformCallback): Buffer | undefined;
|
|
129
|
+
}
|
|
130
|
+
export declare class Xz extends XzStream {
|
|
131
|
+
constructor(lzmaOptions?: LZMAOptions, options?: TransformOptions);
|
|
132
|
+
}
|
|
133
|
+
export declare class Unxz extends XzStream {
|
|
134
|
+
constructor(lzmaOptions?: LZMAOptions, options?: TransformOptions);
|
|
135
|
+
}
|
|
136
|
+
export declare function createXz(lzmaOptions?: LZMAOptions, options?: TransformOptions): Xz;
|
|
137
|
+
export declare function createUnxz(lzmaOptions?: LZMAOptions, options?: TransformOptions): Unxz;
|
|
138
|
+
export declare function hasThreads(): boolean;
|
|
139
|
+
export declare enum LZMAErrorMessage {
|
|
140
|
+
SUCCESS = "Operation completed successfully",
|
|
141
|
+
STREAM_END = "End of stream was reached",
|
|
142
|
+
NO_CHECK = "Input stream has no integrity check",
|
|
143
|
+
UNSUPPORTED_CHECK = "Cannot calculate the integrity check",
|
|
144
|
+
GET_CHECK = "Integrity check type is not available",
|
|
145
|
+
MEM_ERROR = "Cannot allocate memory",
|
|
146
|
+
MEMLIMIT_ERROR = "Memory usage limit was reached",
|
|
147
|
+
FORMAT_ERROR = "File format not recognized",
|
|
148
|
+
OPTIONS_ERROR = "Invalid or unsupported options",
|
|
149
|
+
DATA_ERROR = "Data is corrupt",
|
|
150
|
+
BUF_ERROR = "No progress is possible",
|
|
151
|
+
PROG_ERROR = "Programming error"
|
|
152
|
+
}
|
|
153
|
+
export declare const messages: readonly string[];
|
|
154
|
+
export declare function unxz(buffer: Buffer | string, callback: CompressionCallback): void;
|
|
155
|
+
export declare function unxz(buffer: Buffer | string, opts: LZMAOptions, callback: CompressionCallback): void;
|
|
156
|
+
export declare function unxzSync(buffer: Buffer | string, opts?: LZMAOptions): Buffer;
|
|
157
|
+
export declare function xz(buffer: Buffer | string, callback: CompressionCallback): void;
|
|
158
|
+
export declare function xz(buffer: Buffer | string, opts: LZMAOptions, callback: CompressionCallback): void;
|
|
159
|
+
export declare function xzSync(buffer: Buffer | string, opts?: LZMAOptions): Buffer;
|
|
160
|
+
export declare function xzAsync(buffer: Buffer | string, opts?: LZMAOptions): Promise<Buffer>;
|
|
161
|
+
export declare function unxzAsync(buffer: Buffer | string, opts?: LZMAOptions): Promise<Buffer>;
|
|
162
|
+
/**
|
|
163
|
+
* Compress a file using XZ compression
|
|
164
|
+
* @param inputPath Path to input file
|
|
165
|
+
* @param outputPath Path to output compressed file
|
|
166
|
+
* @param opts LZMA compression options
|
|
167
|
+
* @returns Promise that resolves when compression is complete
|
|
168
|
+
*/
|
|
169
|
+
export declare function xzFile(inputPath: string, outputPath: string, opts?: LZMAOptions): Promise<void>;
|
|
170
|
+
/**
|
|
171
|
+
* Decompress an XZ compressed file
|
|
172
|
+
* @param inputPath Path to compressed input file
|
|
173
|
+
* @param outputPath Path to output decompressed file
|
|
174
|
+
* @param opts LZMA decompression options
|
|
175
|
+
* @returns Promise that resolves when decompression is complete
|
|
176
|
+
*/
|
|
177
|
+
export declare function unxzFile(inputPath: string, outputPath: string, opts?: LZMAOptions): Promise<void>;
|
|
178
|
+
declare const _default: {
|
|
179
|
+
Xz: typeof Xz;
|
|
180
|
+
Unxz: typeof Unxz;
|
|
181
|
+
XzStream: typeof XzStream;
|
|
182
|
+
hasThreads: typeof hasThreads;
|
|
183
|
+
messages: readonly string[];
|
|
184
|
+
check: {
|
|
185
|
+
readonly NONE: any;
|
|
186
|
+
readonly CRC32: any;
|
|
187
|
+
readonly CRC64: any;
|
|
188
|
+
readonly SHA256: any;
|
|
189
|
+
};
|
|
190
|
+
preset: {
|
|
191
|
+
readonly DEFAULT: any;
|
|
192
|
+
readonly EXTREME: any;
|
|
193
|
+
};
|
|
194
|
+
flag: {
|
|
195
|
+
readonly TELL_NO_CHECK: any;
|
|
196
|
+
readonly TELL_UNSUPPORTED_CHECK: any;
|
|
197
|
+
readonly TELL_ANY_CHECK: any;
|
|
198
|
+
readonly CONCATENATED: any;
|
|
199
|
+
};
|
|
200
|
+
filter: {
|
|
201
|
+
readonly LZMA2: any;
|
|
202
|
+
readonly X86: any;
|
|
203
|
+
readonly POWERPC: any;
|
|
204
|
+
readonly IA64: any;
|
|
205
|
+
readonly ARM: any;
|
|
206
|
+
readonly ARMTHUMB: any;
|
|
207
|
+
readonly SPARC: any;
|
|
208
|
+
};
|
|
209
|
+
mode: {
|
|
210
|
+
readonly FAST: any;
|
|
211
|
+
readonly NORMAL: any;
|
|
212
|
+
};
|
|
213
|
+
createXz: typeof createXz;
|
|
214
|
+
createUnxz: typeof createUnxz;
|
|
215
|
+
unxz: typeof unxz;
|
|
216
|
+
unxzSync: typeof unxzSync;
|
|
217
|
+
xz: typeof xz;
|
|
218
|
+
xzSync: typeof xzSync;
|
|
219
|
+
xzAsync: typeof xzAsync;
|
|
220
|
+
unxzAsync: typeof unxzAsync;
|
|
221
|
+
LZMA_RUN: any;
|
|
222
|
+
LZMA_SYNC_FLUSH: any;
|
|
223
|
+
LZMA_FULL_FLUSH: any;
|
|
224
|
+
LZMA_FINISH: any;
|
|
225
|
+
LZMA_OK: any;
|
|
226
|
+
LZMA_STREAM_END: any;
|
|
227
|
+
LZMA_NO_CHECK: any;
|
|
228
|
+
LZMA_UNSUPPORTED_CHECK: any;
|
|
229
|
+
LZMA_GET_CHECK: any;
|
|
230
|
+
LZMA_MEM_ERROR: any;
|
|
231
|
+
LZMA_MEMLIMIT_ERROR: any;
|
|
232
|
+
LZMA_FORMAT_ERROR: any;
|
|
233
|
+
LZMA_OPTIONS_ERROR: any;
|
|
234
|
+
LZMA_DATA_ERROR: any;
|
|
235
|
+
LZMA_BUF_ERROR: any;
|
|
236
|
+
LZMA_PROG_ERROR: any;
|
|
237
|
+
LZMA_FILTER_X86: any;
|
|
238
|
+
LZMA_FILTER_POWERPC: any;
|
|
239
|
+
LZMA_FILTER_IA64: any;
|
|
240
|
+
LZMA_FILTER_ARM: any;
|
|
241
|
+
LZMA_FILTER_ARMTHUMB: any;
|
|
242
|
+
LZMA_FILTERS_MAX: any;
|
|
243
|
+
};
|
|
244
|
+
export default _default;
|
|
245
|
+
//# sourceMappingURL=lzma.d.ts.map
|
|
@@ -0,0 +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,EACX,MAAM,YAAY,CAAC;AAGpB,OAAO,EACL,SAAS,EACT,eAAe,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