neozip-cli 0.70.0-alpha → 0.75.0-beta
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 +12 -12
- package/dist/neozipkit-bundles/blockchain.js +1491 -857
- package/dist/neozipkit-bundles/browser.js +755 -302
- package/dist/neozipkit-bundles/core.js +235 -162
- package/dist/neozipkit-bundles/{server.js → node.js} +4415 -1681
- package/dist/neozipkit-wrappers/index.js +2 -2
- package/dist/neozipkit-wrappers/node/index.js +2 -0
- package/package.json +7 -8
- package/dist/neozipkit-wrappers/server/index.js +0 -2
- package/dist/src/config/ConfigSetup.js +0 -455
- package/dist/src/config/ConfigStore.js +0 -373
- package/dist/src/config/ConfigWizard.js +0 -453
- package/dist/src/config/WalletConfig.js +0 -372
- package/dist/src/exit-codes.js +0 -210
- package/dist/src/index.js +0 -141
- package/dist/src/neolist.js +0 -1194
- package/dist/src/neounzip.js +0 -2177
- package/dist/src/neozip/CommentManager.js +0 -240
- package/dist/src/neozip/blockchain.js +0 -383
- package/dist/src/neozip/createZip.js +0 -2273
- package/dist/src/neozip/file-operations.js +0 -920
- package/dist/src/neozip/types.js +0 -6
- package/dist/src/neozip/user-interaction.js +0 -256
- package/dist/src/neozip/utils.js +0 -96
- package/dist/src/neozip.js +0 -785
- package/dist/src/server/CommentManager.js +0 -240
- package/dist/src/version.js +0 -59
|
@@ -6,9 +6,9 @@ var __commonJS = (cb, mod) => function __require() {
|
|
|
6
6
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
7
7
|
};
|
|
8
8
|
|
|
9
|
-
// neozipkit/dist/core/constants/Errors.js
|
|
9
|
+
// node_modules/neozipkit/dist/core/constants/Errors.js
|
|
10
10
|
var require_Errors = __commonJS({
|
|
11
|
-
"neozipkit/dist/core/constants/Errors.js"(exports2) {
|
|
11
|
+
"node_modules/neozipkit/dist/core/constants/Errors.js"(exports2) {
|
|
12
12
|
"use strict";
|
|
13
13
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
14
14
|
exports2.default = {
|
|
@@ -73,9 +73,9 @@ var require_Errors = __commonJS({
|
|
|
73
73
|
}
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
// neozipkit/dist/core/constants/Headers.js
|
|
76
|
+
// node_modules/neozipkit/dist/core/constants/Headers.js
|
|
77
77
|
var require_Headers = __commonJS({
|
|
78
|
-
"neozipkit/dist/core/constants/Headers.js"(exports2) {
|
|
78
|
+
"node_modules/neozipkit/dist/core/constants/Headers.js"(exports2) {
|
|
79
79
|
"use strict";
|
|
80
80
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
81
81
|
exports2.DOS_FILE_ATTR = exports2.FILE_SYSTEM = exports2.HDR_ID = exports2.EXTENSIBLE_DATA_FIELDS = exports2.GP_FLAG = exports2.CMP_METHOD = exports2.ZIP64_CENTRAL_END = exports2.ZIP64_CENTRAL_DIR = exports2.CENTRAL_END = exports2.CENTRAL_DIR = exports2.DATA_DESC = exports2.ENCRYPT_HDR_SIZE = exports2.LOCAL_HDR = exports2.TOKENIZED_METADATA = exports2.TIMESTAMP_METADATA = exports2.TIMESTAMP_SUBMITTED = exports2.DATA_DESCRIPTOR = exports2.ZIP64_CENTRAL_DIRECTORY_END = exports2.ZIP64_CENTRAL_DIRECTORY_LOCATOR = exports2.CENTRAL_DIRECTORY_END = exports2.CENTRAL_FILE_HEADER = exports2.LOCAL_FILE_HEADER = void 0;
|
|
@@ -382,9 +382,9 @@ var require_Headers = __commonJS({
|
|
|
382
382
|
}
|
|
383
383
|
});
|
|
384
384
|
|
|
385
|
-
// neozipkit/dist/core/components/Logger.js
|
|
385
|
+
// node_modules/neozipkit/dist/core/components/Logger.js
|
|
386
386
|
var require_Logger = __commonJS({
|
|
387
|
-
"neozipkit/dist/core/components/Logger.js"(exports2) {
|
|
387
|
+
"node_modules/neozipkit/dist/core/components/Logger.js"(exports2) {
|
|
388
388
|
"use strict";
|
|
389
389
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
390
390
|
exports2.Logger = void 0;
|
|
@@ -530,9 +530,9 @@ var require_Logger = __commonJS({
|
|
|
530
530
|
}
|
|
531
531
|
});
|
|
532
532
|
|
|
533
|
-
// neozipkit/dist/core/encryption/types.js
|
|
533
|
+
// node_modules/neozipkit/dist/core/encryption/types.js
|
|
534
534
|
var require_types = __commonJS({
|
|
535
|
-
"neozipkit/dist/core/encryption/types.js"(exports2) {
|
|
535
|
+
"node_modules/neozipkit/dist/core/encryption/types.js"(exports2) {
|
|
536
536
|
"use strict";
|
|
537
537
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
538
538
|
exports2.EncryptionMethod = void 0;
|
|
@@ -544,9 +544,9 @@ var require_types = __commonJS({
|
|
|
544
544
|
}
|
|
545
545
|
});
|
|
546
546
|
|
|
547
|
-
// neozipkit/dist/core/encryption/ZipCrypto.js
|
|
547
|
+
// node_modules/neozipkit/dist/core/encryption/ZipCrypto.js
|
|
548
548
|
var require_ZipCrypto = __commonJS({
|
|
549
|
-
"neozipkit/dist/core/encryption/ZipCrypto.js"(exports2) {
|
|
549
|
+
"node_modules/neozipkit/dist/core/encryption/ZipCrypto.js"(exports2) {
|
|
550
550
|
"use strict";
|
|
551
551
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
552
552
|
exports2.DecryptionStream = exports2.ZipCrypto = void 0;
|
|
@@ -1213,9 +1213,9 @@ var require_ZipCrypto = __commonJS({
|
|
|
1213
1213
|
}
|
|
1214
1214
|
});
|
|
1215
1215
|
|
|
1216
|
-
// neozipkit/dist/core/ZipEntry.js
|
|
1216
|
+
// node_modules/neozipkit/dist/core/ZipEntry.js
|
|
1217
1217
|
var require_ZipEntry = __commonJS({
|
|
1218
|
-
"neozipkit/dist/core/ZipEntry.js"(exports2) {
|
|
1218
|
+
"node_modules/neozipkit/dist/core/ZipEntry.js"(exports2) {
|
|
1219
1219
|
"use strict";
|
|
1220
1220
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
1221
1221
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -1283,8 +1283,10 @@ var require_ZipEntry = __commonJS({
|
|
|
1283
1283
|
switch (this.platform) {
|
|
1284
1284
|
case "darwin":
|
|
1285
1285
|
return Headers_1.FILE_SYSTEM.DARWIN << 8 | VER_ENCODING;
|
|
1286
|
+
// macOS/Darwin
|
|
1286
1287
|
case "win32":
|
|
1287
1288
|
return Headers_1.FILE_SYSTEM.NTFS << 8 | VER_ENCODING;
|
|
1289
|
+
// Windows
|
|
1288
1290
|
default:
|
|
1289
1291
|
return Headers_1.FILE_SYSTEM.UNIX << 8 | VER_ENCODING;
|
|
1290
1292
|
}
|
|
@@ -1699,10 +1701,13 @@ var require_ZipEntry = __commonJS({
|
|
|
1699
1701
|
switch (this.bitFlags & 6) {
|
|
1700
1702
|
case 0:
|
|
1701
1703
|
return "Deflate-N";
|
|
1704
|
+
// Deflate Normal
|
|
1702
1705
|
case 2:
|
|
1703
1706
|
return "Deflate-M";
|
|
1707
|
+
// Deflate Maximum
|
|
1704
1708
|
case 4:
|
|
1705
1709
|
return "Deflate-F";
|
|
1710
|
+
// Deflate Fast
|
|
1706
1711
|
case 6:
|
|
1707
1712
|
return "Deflate-S";
|
|
1708
1713
|
}
|
|
@@ -1933,9 +1938,9 @@ var require_ZipEntry = __commonJS({
|
|
|
1933
1938
|
}
|
|
1934
1939
|
});
|
|
1935
1940
|
|
|
1936
|
-
// neozipkit/dist/types/index.js
|
|
1941
|
+
// node_modules/neozipkit/dist/types/index.js
|
|
1937
1942
|
var require_types2 = __commonJS({
|
|
1938
|
-
"neozipkit/dist/types/index.js"(exports2) {
|
|
1943
|
+
"node_modules/neozipkit/dist/types/index.js"(exports2) {
|
|
1939
1944
|
"use strict";
|
|
1940
1945
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
1941
1946
|
exports2.NEOZIPKIT_INFO = exports2.NETWORKS = void 0;
|
|
@@ -1972,54 +1977,158 @@ var require_types2 = __commonJS({
|
|
|
1972
1977
|
}
|
|
1973
1978
|
});
|
|
1974
1979
|
|
|
1975
|
-
// neozipkit/dist/core/
|
|
1980
|
+
// node_modules/neozipkit/dist/core/ZstdManager.js
|
|
1981
|
+
var require_ZstdManager = __commonJS({
|
|
1982
|
+
"node_modules/neozipkit/dist/core/ZstdManager.js"(exports2) {
|
|
1983
|
+
"use strict";
|
|
1984
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
1985
|
+
exports2.ZstdManager = void 0;
|
|
1986
|
+
var zstd_js_1 = require("@oneidentity/zstd-js");
|
|
1987
|
+
var ZstdCodecManager = class _ZstdCodecManager {
|
|
1988
|
+
static {
|
|
1989
|
+
__name(this, "ZstdCodecManager");
|
|
1990
|
+
}
|
|
1991
|
+
constructor() {
|
|
1992
|
+
this.codec = null;
|
|
1993
|
+
this.initPromise = null;
|
|
1994
|
+
this.operationQueue = Promise.resolve();
|
|
1995
|
+
}
|
|
1996
|
+
/**
|
|
1997
|
+
* Get the singleton instance of ZstdCodecManager
|
|
1998
|
+
*/
|
|
1999
|
+
static getInstance() {
|
|
2000
|
+
if (!_ZstdCodecManager.instance) {
|
|
2001
|
+
_ZstdCodecManager.instance = new _ZstdCodecManager();
|
|
2002
|
+
}
|
|
2003
|
+
return _ZstdCodecManager.instance;
|
|
2004
|
+
}
|
|
2005
|
+
/**
|
|
2006
|
+
* Ensure the Zstd codec is initialized
|
|
2007
|
+
* This is called automatically before any compress/decompress operation
|
|
2008
|
+
*/
|
|
2009
|
+
async ensureInitialized() {
|
|
2010
|
+
if (this.codec) {
|
|
2011
|
+
return;
|
|
2012
|
+
}
|
|
2013
|
+
if (this.initPromise) {
|
|
2014
|
+
return this.initPromise;
|
|
2015
|
+
}
|
|
2016
|
+
this.initPromise = (async () => {
|
|
2017
|
+
this.codec = await (0, zstd_js_1.ZstdInit)();
|
|
2018
|
+
})();
|
|
2019
|
+
return this.initPromise;
|
|
2020
|
+
}
|
|
2021
|
+
/**
|
|
2022
|
+
* Queue an operation to ensure sequential execution
|
|
2023
|
+
* This prevents concurrent operations from interfering with each other
|
|
2024
|
+
*/
|
|
2025
|
+
async queueOperation(operation) {
|
|
2026
|
+
const promise = this.operationQueue.then(operation, operation);
|
|
2027
|
+
this.operationQueue = promise.catch(() => {
|
|
2028
|
+
});
|
|
2029
|
+
return promise;
|
|
2030
|
+
}
|
|
2031
|
+
/**
|
|
2032
|
+
* Compress data using Zstd
|
|
2033
|
+
* @param data - Data to compress (Uint8Array)
|
|
2034
|
+
* @param level - Compression level (1-22, default 6)
|
|
2035
|
+
* @returns Compressed data as Uint8Array
|
|
2036
|
+
*/
|
|
2037
|
+
async compress(data, level = 6) {
|
|
2038
|
+
return this.queueOperation(async () => {
|
|
2039
|
+
await this.ensureInitialized();
|
|
2040
|
+
if (!this.codec) {
|
|
2041
|
+
throw new Error("Zstd codec not initialized");
|
|
2042
|
+
}
|
|
2043
|
+
return this.codec.ZstdSimple.compress(data, level);
|
|
2044
|
+
});
|
|
2045
|
+
}
|
|
2046
|
+
/**
|
|
2047
|
+
* Decompress data using Zstd
|
|
2048
|
+
* @param data - Compressed data (Uint8Array or Buffer)
|
|
2049
|
+
* @returns Decompressed data as Uint8Array
|
|
2050
|
+
*/
|
|
2051
|
+
async decompress(data) {
|
|
2052
|
+
return this.queueOperation(async () => {
|
|
2053
|
+
await this.ensureInitialized();
|
|
2054
|
+
if (!this.codec) {
|
|
2055
|
+
throw new Error("Zstd codec not initialized");
|
|
2056
|
+
}
|
|
2057
|
+
const inputData = data instanceof Buffer ? new Uint8Array(data.buffer, data.byteOffset, data.byteLength) : data;
|
|
2058
|
+
return this.codec.ZstdSimple.decompress(inputData);
|
|
2059
|
+
});
|
|
2060
|
+
}
|
|
2061
|
+
/**
|
|
2062
|
+
* Reset the manager (for testing purposes)
|
|
2063
|
+
* @internal
|
|
2064
|
+
*/
|
|
2065
|
+
static reset() {
|
|
2066
|
+
_ZstdCodecManager.instance = null;
|
|
2067
|
+
}
|
|
2068
|
+
};
|
|
2069
|
+
ZstdCodecManager.instance = null;
|
|
2070
|
+
exports2.ZstdManager = {
|
|
2071
|
+
/**
|
|
2072
|
+
* Compress data using Zstd
|
|
2073
|
+
* Operations are automatically queued to prevent interference
|
|
2074
|
+
*/
|
|
2075
|
+
compress: /* @__PURE__ */ __name((data, level) => ZstdCodecManager.getInstance().compress(data, level), "compress"),
|
|
2076
|
+
/**
|
|
2077
|
+
* Decompress data using Zstd
|
|
2078
|
+
* Operations are automatically queued to prevent interference
|
|
2079
|
+
*/
|
|
2080
|
+
decompress: /* @__PURE__ */ __name((data) => ZstdCodecManager.getInstance().decompress(data), "decompress"),
|
|
2081
|
+
/**
|
|
2082
|
+
* Reset the manager (for testing)
|
|
2083
|
+
* @internal
|
|
2084
|
+
*/
|
|
2085
|
+
reset: /* @__PURE__ */ __name(() => ZstdCodecManager.reset(), "reset")
|
|
2086
|
+
};
|
|
2087
|
+
exports2.default = exports2.ZstdManager;
|
|
2088
|
+
}
|
|
2089
|
+
});
|
|
2090
|
+
|
|
2091
|
+
// node_modules/neozipkit/dist/core/components/HashCalculator.js
|
|
1976
2092
|
var require_HashCalculator = __commonJS({
|
|
1977
|
-
"neozipkit/dist/core/components/HashCalculator.js"(exports2) {
|
|
2093
|
+
"node_modules/neozipkit/dist/core/components/HashCalculator.js"(exports2) {
|
|
1978
2094
|
"use strict";
|
|
1979
|
-
var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
1980
|
-
if (k2 === void 0)
|
|
1981
|
-
k2 = k;
|
|
2095
|
+
var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
2096
|
+
if (k2 === void 0) k2 = k;
|
|
1982
2097
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1983
2098
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1984
|
-
desc = { enumerable: true, get: function() {
|
|
2099
|
+
desc = { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
1985
2100
|
return m[k];
|
|
1986
|
-
} };
|
|
2101
|
+
}, "get") };
|
|
1987
2102
|
}
|
|
1988
2103
|
Object.defineProperty(o, k2, desc);
|
|
1989
|
-
} : function(o, m, k, k2) {
|
|
1990
|
-
if (k2 === void 0)
|
|
1991
|
-
k2 = k;
|
|
2104
|
+
}) : (function(o, m, k, k2) {
|
|
2105
|
+
if (k2 === void 0) k2 = k;
|
|
1992
2106
|
o[k2] = m[k];
|
|
1993
|
-
});
|
|
1994
|
-
var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
|
|
2107
|
+
}));
|
|
2108
|
+
var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? (function(o, v) {
|
|
1995
2109
|
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
1996
|
-
} : function(o, v) {
|
|
2110
|
+
}) : function(o, v) {
|
|
1997
2111
|
o["default"] = v;
|
|
1998
2112
|
});
|
|
1999
|
-
var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ function() {
|
|
2113
|
+
var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ (function() {
|
|
2000
2114
|
var ownKeys = /* @__PURE__ */ __name(function(o) {
|
|
2001
2115
|
ownKeys = Object.getOwnPropertyNames || function(o2) {
|
|
2002
2116
|
var ar = [];
|
|
2003
|
-
for (var k in o2)
|
|
2004
|
-
if (Object.prototype.hasOwnProperty.call(o2, k))
|
|
2005
|
-
ar[ar.length] = k;
|
|
2117
|
+
for (var k in o2) if (Object.prototype.hasOwnProperty.call(o2, k)) ar[ar.length] = k;
|
|
2006
2118
|
return ar;
|
|
2007
2119
|
};
|
|
2008
2120
|
return ownKeys(o);
|
|
2009
2121
|
}, "ownKeys");
|
|
2010
2122
|
return function(mod) {
|
|
2011
|
-
if (mod && mod.__esModule)
|
|
2012
|
-
return mod;
|
|
2123
|
+
if (mod && mod.__esModule) return mod;
|
|
2013
2124
|
var result = {};
|
|
2014
2125
|
if (mod != null) {
|
|
2015
|
-
for (var k = ownKeys(mod), i = 0; i < k.length; i++)
|
|
2016
|
-
if (k[i] !== "default")
|
|
2017
|
-
__createBinding2(result, mod, k[i]);
|
|
2126
|
+
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding2(result, mod, k[i]);
|
|
2018
2127
|
}
|
|
2019
2128
|
__setModuleDefault(result, mod);
|
|
2020
2129
|
return result;
|
|
2021
2130
|
};
|
|
2022
|
-
}();
|
|
2131
|
+
})();
|
|
2023
2132
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2024
2133
|
exports2.HashCalculator = void 0;
|
|
2025
2134
|
var crypto = __importStar(require("crypto"));
|
|
@@ -2300,26 +2409,18 @@ var require_HashCalculator = __commonJS({
|
|
|
2300
2409
|
}
|
|
2301
2410
|
});
|
|
2302
2411
|
|
|
2303
|
-
// neozipkit/dist/core/ZipCompress.js
|
|
2412
|
+
// node_modules/neozipkit/dist/core/ZipCompress.js
|
|
2304
2413
|
var require_ZipCompress = __commonJS({
|
|
2305
|
-
"neozipkit/dist/core/ZipCompress.js"(exports2) {
|
|
2414
|
+
"node_modules/neozipkit/dist/core/ZipCompress.js"(exports2) {
|
|
2306
2415
|
"use strict";
|
|
2307
2416
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2308
2417
|
exports2.ZipCompress = void 0;
|
|
2309
2418
|
var pako = require("pako");
|
|
2310
|
-
var
|
|
2419
|
+
var ZstdManager_1 = require_ZstdManager();
|
|
2311
2420
|
var Logger_12 = require_Logger();
|
|
2312
2421
|
var Headers_1 = require_Headers();
|
|
2313
2422
|
var HashCalculator_12 = require_HashCalculator();
|
|
2314
2423
|
var ZipCrypto_12 = require_ZipCrypto();
|
|
2315
|
-
var zstdCodec = null;
|
|
2316
|
-
async function initZstd() {
|
|
2317
|
-
if (!zstdCodec) {
|
|
2318
|
-
zstdCodec = await (0, zstd_js_1.ZstdInit)();
|
|
2319
|
-
}
|
|
2320
|
-
return zstdCodec;
|
|
2321
|
-
}
|
|
2322
|
-
__name(initZstd, "initZstd");
|
|
2323
2424
|
var ZipCompress = class _ZipCompress {
|
|
2324
2425
|
static {
|
|
2325
2426
|
__name(this, "ZipCompress");
|
|
@@ -2491,20 +2592,11 @@ var require_ZipCompress = __commonJS({
|
|
|
2491
2592
|
if (typeof input === "object" && "totalSize" in input && "readChunk" in input) {
|
|
2492
2593
|
throw new Error("Chunked reader mode not supported in ZipCompress");
|
|
2493
2594
|
}
|
|
2494
|
-
const zstdCodec2 = await initZstd();
|
|
2495
2595
|
if (!input || input.length === 0) {
|
|
2496
2596
|
throw new Error("ZSTD compression: empty input buffer");
|
|
2497
2597
|
}
|
|
2498
2598
|
const inputArray = new Uint8Array(input.buffer, input.byteOffset, input.byteLength);
|
|
2499
|
-
|
|
2500
|
-
const compressed2 = zstdCodec2.ZstdSimple.compress(inputArray, level);
|
|
2501
|
-
const compressedBuffer2 = Buffer.from(compressed2);
|
|
2502
|
-
if (onOutputBuffer) {
|
|
2503
|
-
await onOutputBuffer(compressedBuffer2);
|
|
2504
|
-
}
|
|
2505
|
-
return compressedBuffer2;
|
|
2506
|
-
}
|
|
2507
|
-
const compressed = zstdCodec2.ZstdSimple.compress(inputArray, level);
|
|
2599
|
+
const compressed = await ZstdManager_1.ZstdManager.compress(inputArray, level);
|
|
2508
2600
|
const compressedBuffer = Buffer.from(compressed);
|
|
2509
2601
|
if (onOutputBuffer) {
|
|
2510
2602
|
await onOutputBuffer(compressedBuffer);
|
|
@@ -2559,28 +2651,20 @@ var require_ZipCompress = __commonJS({
|
|
|
2559
2651
|
}
|
|
2560
2652
|
});
|
|
2561
2653
|
|
|
2562
|
-
// neozipkit/dist/core/ZipDecompress.js
|
|
2654
|
+
// node_modules/neozipkit/dist/core/ZipDecompress.js
|
|
2563
2655
|
var require_ZipDecompress = __commonJS({
|
|
2564
|
-
"neozipkit/dist/core/ZipDecompress.js"(exports2) {
|
|
2656
|
+
"node_modules/neozipkit/dist/core/ZipDecompress.js"(exports2) {
|
|
2565
2657
|
"use strict";
|
|
2566
2658
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
2567
2659
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
2568
2660
|
};
|
|
2569
2661
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2570
2662
|
var pako = require("pako");
|
|
2571
|
-
var
|
|
2663
|
+
var ZstdManager_1 = require_ZstdManager();
|
|
2572
2664
|
var Logger_12 = require_Logger();
|
|
2573
2665
|
var Errors_1 = __importDefault2(require_Errors());
|
|
2574
2666
|
var Headers_1 = require_Headers();
|
|
2575
2667
|
var ZipCrypto_12 = require_ZipCrypto();
|
|
2576
|
-
var zstdCodec = null;
|
|
2577
|
-
async function initZstd() {
|
|
2578
|
-
if (!zstdCodec) {
|
|
2579
|
-
zstdCodec = await (0, zstd_js_1.ZstdInit)();
|
|
2580
|
-
}
|
|
2581
|
-
return zstdCodec;
|
|
2582
|
-
}
|
|
2583
|
-
__name(initZstd, "initZstd");
|
|
2584
2668
|
var ZipDecompress = class _ZipDecompress {
|
|
2585
2669
|
static {
|
|
2586
2670
|
__name(this, "ZipDecompress");
|
|
@@ -2594,7 +2678,6 @@ var require_ZipDecompress = __commonJS({
|
|
|
2594
2678
|
}
|
|
2595
2679
|
}
|
|
2596
2680
|
constructor(zipkit) {
|
|
2597
|
-
this.zstdCodec = null;
|
|
2598
2681
|
this.zipkit = zipkit;
|
|
2599
2682
|
this.debug = false;
|
|
2600
2683
|
if (_ZipDecompress.loggingEnabled) {
|
|
@@ -2612,12 +2695,9 @@ var require_ZipDecompress = __commonJS({
|
|
|
2612
2695
|
*/
|
|
2613
2696
|
async extract(entry, skipHashCheck) {
|
|
2614
2697
|
if (!this.zipkit.hasInBuffer()) {
|
|
2615
|
-
throw new Error("extract() requires Buffer-based ZIP. Use
|
|
2698
|
+
throw new Error("extract() requires Buffer-based ZIP. Use ZipkitNode.extractToFile() for file-based ZIP or call loadZip() first.");
|
|
2616
2699
|
}
|
|
2617
2700
|
this.log(`extract() called for entry: ${entry.filename}, method: ${entry.cmpMethod}, skipHashCheck: ${skipHashCheck}`);
|
|
2618
|
-
if (entry.cmpMethod === Headers_1.CMP_METHOD.ZSTD && !this.zstdCodec) {
|
|
2619
|
-
this.zstdCodec = await initZstd();
|
|
2620
|
-
}
|
|
2621
2701
|
const buffer = this.zipkit.ensureBuffer();
|
|
2622
2702
|
let fdata = this.zipkit.parseLocalHeader(entry, buffer);
|
|
2623
2703
|
if (entry.isEncrypted && this.zipkit?.password) {
|
|
@@ -2644,18 +2724,15 @@ var require_ZipDecompress = __commonJS({
|
|
|
2644
2724
|
* ZSTD codec is guaranteed to be initialized via factory method
|
|
2645
2725
|
* Internal method only
|
|
2646
2726
|
*/
|
|
2647
|
-
zstdDecompressSync(data) {
|
|
2727
|
+
async zstdDecompressSync(data) {
|
|
2648
2728
|
this.log(`zstdDecompressSync() called with ${data.length} bytes`);
|
|
2649
2729
|
try {
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
}
|
|
2653
|
-
const decompressed = this.zstdCodec.ZstdSimple.decompress(data);
|
|
2654
|
-
this.log(`ZSTD synchronous decompression successful: ${data.length} bytes -> ${decompressed.length} bytes`);
|
|
2730
|
+
const decompressed = await ZstdManager_1.ZstdManager.decompress(data);
|
|
2731
|
+
this.log(`ZSTD decompression successful: ${data.length} bytes -> ${decompressed.length} bytes`);
|
|
2655
2732
|
return Buffer.from(decompressed);
|
|
2656
2733
|
} catch (error) {
|
|
2657
|
-
this.log(`ZSTD
|
|
2658
|
-
throw new Error(`ZSTD
|
|
2734
|
+
this.log(`ZSTD decompression failed: ${error}`);
|
|
2735
|
+
throw new Error(`ZSTD decompression failed: ${error instanceof Error ? error.message : String(error)}`);
|
|
2659
2736
|
}
|
|
2660
2737
|
}
|
|
2661
2738
|
/**
|
|
@@ -2663,7 +2740,7 @@ var require_ZipDecompress = __commonJS({
|
|
|
2663
2740
|
* Handles decompression and hash verification
|
|
2664
2741
|
* Internal method only
|
|
2665
2742
|
*/
|
|
2666
|
-
unCompress(compressedData, entry, skipHashCheck) {
|
|
2743
|
+
async unCompress(compressedData, entry, skipHashCheck) {
|
|
2667
2744
|
this.log(`unCompress() called for entry: ${entry.filename}, method: ${entry.cmpMethod}, data length: ${compressedData.length}`);
|
|
2668
2745
|
if (compressedData.length === 0) {
|
|
2669
2746
|
return Buffer.alloc(0);
|
|
@@ -2674,7 +2751,7 @@ var require_ZipDecompress = __commonJS({
|
|
|
2674
2751
|
} else if (entry.cmpMethod === Headers_1.CMP_METHOD.DEFLATED) {
|
|
2675
2752
|
outBuf = this.inflate(compressedData);
|
|
2676
2753
|
} else if (entry.cmpMethod === Headers_1.CMP_METHOD.ZSTD) {
|
|
2677
|
-
outBuf = this.zstdDecompressSync(compressedData);
|
|
2754
|
+
outBuf = await this.zstdDecompressSync(compressedData);
|
|
2678
2755
|
} else {
|
|
2679
2756
|
throw new Error(`Unsupported compression method: ${entry.cmpMethod}`);
|
|
2680
2757
|
}
|
|
@@ -2699,9 +2776,9 @@ var require_ZipDecompress = __commonJS({
|
|
|
2699
2776
|
}
|
|
2700
2777
|
});
|
|
2701
2778
|
|
|
2702
|
-
// neozipkit/dist/core/Zipkit.js
|
|
2779
|
+
// node_modules/neozipkit/dist/core/Zipkit.js
|
|
2703
2780
|
var require_Zipkit = __commonJS({
|
|
2704
|
-
"neozipkit/dist/core/Zipkit.js"(exports2) {
|
|
2781
|
+
"node_modules/neozipkit/dist/core/Zipkit.js"(exports2) {
|
|
2705
2782
|
"use strict";
|
|
2706
2783
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
2707
2784
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -2719,51 +2796,51 @@ var require_Zipkit = __commonJS({
|
|
|
2719
2796
|
var ZipCrypto_12 = require_ZipCrypto();
|
|
2720
2797
|
var HashCalculator_12 = __importDefault2(require_HashCalculator());
|
|
2721
2798
|
var Headers_1 = require_Headers();
|
|
2722
|
-
Object.defineProperty(exports2, "LOCAL_HDR", { enumerable: true, get: function() {
|
|
2799
|
+
Object.defineProperty(exports2, "LOCAL_HDR", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
2723
2800
|
return Headers_1.LOCAL_HDR;
|
|
2724
|
-
} });
|
|
2725
|
-
Object.defineProperty(exports2, "ENCRYPT_HDR_SIZE", { enumerable: true, get: function() {
|
|
2801
|
+
}, "get") });
|
|
2802
|
+
Object.defineProperty(exports2, "ENCRYPT_HDR_SIZE", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
2726
2803
|
return Headers_1.ENCRYPT_HDR_SIZE;
|
|
2727
|
-
} });
|
|
2728
|
-
Object.defineProperty(exports2, "CMP_METHOD", { enumerable: true, get: function() {
|
|
2804
|
+
}, "get") });
|
|
2805
|
+
Object.defineProperty(exports2, "CMP_METHOD", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
2729
2806
|
return Headers_1.CMP_METHOD;
|
|
2730
|
-
} });
|
|
2731
|
-
Object.defineProperty(exports2, "CENTRAL_END", { enumerable: true, get: function() {
|
|
2807
|
+
}, "get") });
|
|
2808
|
+
Object.defineProperty(exports2, "CENTRAL_END", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
2732
2809
|
return Headers_1.CENTRAL_END;
|
|
2733
|
-
} });
|
|
2734
|
-
Object.defineProperty(exports2, "CENTRAL_DIR", { enumerable: true, get: function() {
|
|
2810
|
+
}, "get") });
|
|
2811
|
+
Object.defineProperty(exports2, "CENTRAL_DIR", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
2735
2812
|
return Headers_1.CENTRAL_DIR;
|
|
2736
|
-
} });
|
|
2737
|
-
Object.defineProperty(exports2, "ZIP64_CENTRAL_END", { enumerable: true, get: function() {
|
|
2813
|
+
}, "get") });
|
|
2814
|
+
Object.defineProperty(exports2, "ZIP64_CENTRAL_END", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
2738
2815
|
return Headers_1.ZIP64_CENTRAL_END;
|
|
2739
|
-
} });
|
|
2740
|
-
Object.defineProperty(exports2, "ZIP64_CENTRAL_DIR", { enumerable: true, get: function() {
|
|
2816
|
+
}, "get") });
|
|
2817
|
+
Object.defineProperty(exports2, "ZIP64_CENTRAL_DIR", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
2741
2818
|
return Headers_1.ZIP64_CENTRAL_DIR;
|
|
2742
|
-
} });
|
|
2743
|
-
Object.defineProperty(exports2, "GP_FLAG", { enumerable: true, get: function() {
|
|
2819
|
+
}, "get") });
|
|
2820
|
+
Object.defineProperty(exports2, "GP_FLAG", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
2744
2821
|
return Headers_1.GP_FLAG;
|
|
2745
|
-
} });
|
|
2746
|
-
Object.defineProperty(exports2, "TIMESTAMP_SUBMITTED", { enumerable: true, get: function() {
|
|
2822
|
+
}, "get") });
|
|
2823
|
+
Object.defineProperty(exports2, "TIMESTAMP_SUBMITTED", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
2747
2824
|
return Headers_1.TIMESTAMP_SUBMITTED;
|
|
2748
|
-
} });
|
|
2749
|
-
Object.defineProperty(exports2, "TIMESTAMP_METADATA", { enumerable: true, get: function() {
|
|
2825
|
+
}, "get") });
|
|
2826
|
+
Object.defineProperty(exports2, "TIMESTAMP_METADATA", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
2750
2827
|
return Headers_1.TIMESTAMP_METADATA;
|
|
2751
|
-
} });
|
|
2752
|
-
Object.defineProperty(exports2, "TOKENIZED_METADATA", { enumerable: true, get: function() {
|
|
2828
|
+
}, "get") });
|
|
2829
|
+
Object.defineProperty(exports2, "TOKENIZED_METADATA", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
2753
2830
|
return Headers_1.TOKENIZED_METADATA;
|
|
2754
|
-
} });
|
|
2755
|
-
Object.defineProperty(exports2, "LOCAL_FILE_HEADER", { enumerable: true, get: function() {
|
|
2831
|
+
}, "get") });
|
|
2832
|
+
Object.defineProperty(exports2, "LOCAL_FILE_HEADER", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
2756
2833
|
return Headers_1.LOCAL_FILE_HEADER;
|
|
2757
|
-
} });
|
|
2758
|
-
Object.defineProperty(exports2, "CENTRAL_FILE_HEADER", { enumerable: true, get: function() {
|
|
2834
|
+
}, "get") });
|
|
2835
|
+
Object.defineProperty(exports2, "CENTRAL_FILE_HEADER", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
2759
2836
|
return Headers_1.CENTRAL_FILE_HEADER;
|
|
2760
|
-
} });
|
|
2761
|
-
Object.defineProperty(exports2, "CENTRAL_DIRECTORY_END", { enumerable: true, get: function() {
|
|
2837
|
+
}, "get") });
|
|
2838
|
+
Object.defineProperty(exports2, "CENTRAL_DIRECTORY_END", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
2762
2839
|
return Headers_1.CENTRAL_DIRECTORY_END;
|
|
2763
|
-
} });
|
|
2764
|
-
Object.defineProperty(exports2, "HDR_ID", { enumerable: true, get: function() {
|
|
2840
|
+
}, "get") });
|
|
2841
|
+
Object.defineProperty(exports2, "HDR_ID", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
2765
2842
|
return Headers_1.HDR_ID;
|
|
2766
|
-
} });
|
|
2843
|
+
}, "get") });
|
|
2767
2844
|
var Zipkit = class {
|
|
2768
2845
|
static {
|
|
2769
2846
|
__name(this, "Zipkit");
|
|
@@ -3310,9 +3387,9 @@ var require_Zipkit = __commonJS({
|
|
|
3310
3387
|
}
|
|
3311
3388
|
});
|
|
3312
3389
|
|
|
3313
|
-
// neozipkit/dist/core/components/Support.js
|
|
3390
|
+
// node_modules/neozipkit/dist/core/components/Support.js
|
|
3314
3391
|
var require_Support = __commonJS({
|
|
3315
|
-
"neozipkit/dist/core/components/Support.js"(exports2) {
|
|
3392
|
+
"node_modules/neozipkit/dist/core/components/Support.js"(exports2) {
|
|
3316
3393
|
"use strict";
|
|
3317
3394
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3318
3395
|
var Support = {
|
|
@@ -3365,9 +3442,9 @@ var require_Support = __commonJS({
|
|
|
3365
3442
|
}
|
|
3366
3443
|
});
|
|
3367
3444
|
|
|
3368
|
-
// neozipkit/dist/core/components/Util.js
|
|
3445
|
+
// node_modules/neozipkit/dist/core/components/Util.js
|
|
3369
3446
|
var require_Util = __commonJS({
|
|
3370
|
-
"neozipkit/dist/core/components/Util.js"(exports2) {
|
|
3447
|
+
"node_modules/neozipkit/dist/core/components/Util.js"(exports2) {
|
|
3371
3448
|
"use strict";
|
|
3372
3449
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
3373
3450
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -3441,9 +3518,9 @@ var require_Util = __commonJS({
|
|
|
3441
3518
|
}
|
|
3442
3519
|
});
|
|
3443
3520
|
|
|
3444
|
-
// neozipkit/dist/core/components/ProgressTracker.js
|
|
3521
|
+
// node_modules/neozipkit/dist/core/components/ProgressTracker.js
|
|
3445
3522
|
var require_ProgressTracker = __commonJS({
|
|
3446
|
-
"neozipkit/dist/core/components/ProgressTracker.js"(exports2) {
|
|
3523
|
+
"node_modules/neozipkit/dist/core/components/ProgressTracker.js"(exports2) {
|
|
3447
3524
|
"use strict";
|
|
3448
3525
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3449
3526
|
exports2.ProgressTracker = void 0;
|
|
@@ -3549,9 +3626,9 @@ var require_ProgressTracker = __commonJS({
|
|
|
3549
3626
|
}
|
|
3550
3627
|
});
|
|
3551
3628
|
|
|
3552
|
-
// neozipkit/dist/core/encryption/Manager.js
|
|
3629
|
+
// node_modules/neozipkit/dist/core/encryption/Manager.js
|
|
3553
3630
|
var require_Manager = __commonJS({
|
|
3554
|
-
"neozipkit/dist/core/encryption/Manager.js"(exports2) {
|
|
3631
|
+
"node_modules/neozipkit/dist/core/encryption/Manager.js"(exports2) {
|
|
3555
3632
|
"use strict";
|
|
3556
3633
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3557
3634
|
exports2.EncryptionManager = void 0;
|
|
@@ -3672,42 +3749,38 @@ var require_Manager = __commonJS({
|
|
|
3672
3749
|
}
|
|
3673
3750
|
});
|
|
3674
3751
|
|
|
3675
|
-
// neozipkit/dist/core/version.js
|
|
3752
|
+
// node_modules/neozipkit/dist/core/version.js
|
|
3676
3753
|
var require_version = __commonJS({
|
|
3677
|
-
"neozipkit/dist/core/version.js"(exports2) {
|
|
3754
|
+
"node_modules/neozipkit/dist/core/version.js"(exports2) {
|
|
3678
3755
|
"use strict";
|
|
3679
3756
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3680
3757
|
exports2.VERSION = void 0;
|
|
3681
3758
|
var currentDate = /* @__PURE__ */ new Date();
|
|
3682
3759
|
var releaseDate = `${String(currentDate.getMonth() + 1).padStart(2, "0")}-${String(currentDate.getDate()).padStart(2, "0")}-${currentDate.getFullYear()}`;
|
|
3683
3760
|
exports2.VERSION = {
|
|
3684
|
-
number: "0.3.
|
|
3761
|
+
number: "0.3.1",
|
|
3685
3762
|
// packageJson.version,
|
|
3686
3763
|
date: releaseDate
|
|
3687
3764
|
};
|
|
3688
3765
|
}
|
|
3689
3766
|
});
|
|
3690
3767
|
|
|
3691
|
-
// neozipkit/dist/core/index.js
|
|
3692
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
3693
|
-
if (k2 === void 0)
|
|
3694
|
-
k2 = k;
|
|
3768
|
+
// node_modules/neozipkit/dist/core/index.js
|
|
3769
|
+
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
3770
|
+
if (k2 === void 0) k2 = k;
|
|
3695
3771
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
3696
3772
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
3697
|
-
desc = { enumerable: true, get: function() {
|
|
3773
|
+
desc = { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
3698
3774
|
return m[k];
|
|
3699
|
-
} };
|
|
3775
|
+
}, "get") };
|
|
3700
3776
|
}
|
|
3701
3777
|
Object.defineProperty(o, k2, desc);
|
|
3702
|
-
} : function(o, m, k, k2) {
|
|
3703
|
-
if (k2 === void 0)
|
|
3704
|
-
k2 = k;
|
|
3778
|
+
}) : (function(o, m, k, k2) {
|
|
3779
|
+
if (k2 === void 0) k2 = k;
|
|
3705
3780
|
o[k2] = m[k];
|
|
3706
|
-
});
|
|
3781
|
+
}));
|
|
3707
3782
|
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
3708
|
-
for (var p in m)
|
|
3709
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
|
|
3710
|
-
__createBinding(exports2, m, p);
|
|
3783
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
|
|
3711
3784
|
};
|
|
3712
3785
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
3713
3786
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -3718,49 +3791,49 @@ var Zipkit_1 = __importDefault(require_Zipkit());
|
|
|
3718
3791
|
__exportStar(require_Zipkit(), exports);
|
|
3719
3792
|
__exportStar(require_ZipEntry(), exports);
|
|
3720
3793
|
var ZipCompress_1 = require_ZipCompress();
|
|
3721
|
-
Object.defineProperty(exports, "ZipCompress", { enumerable: true, get: function() {
|
|
3794
|
+
Object.defineProperty(exports, "ZipCompress", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
3722
3795
|
return ZipCompress_1.ZipCompress;
|
|
3723
|
-
} });
|
|
3796
|
+
}, "get") });
|
|
3724
3797
|
exports.default = Zipkit_1.default;
|
|
3725
3798
|
var HashCalculator_1 = require_HashCalculator();
|
|
3726
|
-
Object.defineProperty(exports, "HashCalculator", { enumerable: true, get: function() {
|
|
3799
|
+
Object.defineProperty(exports, "HashCalculator", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
3727
3800
|
return __importDefault(HashCalculator_1).default;
|
|
3728
|
-
} });
|
|
3729
|
-
Object.defineProperty(exports, "HashCalculatorClass", { enumerable: true, get: function() {
|
|
3801
|
+
}, "get") });
|
|
3802
|
+
Object.defineProperty(exports, "HashCalculatorClass", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
3730
3803
|
return HashCalculator_1.HashCalculator;
|
|
3731
|
-
} });
|
|
3804
|
+
}, "get") });
|
|
3732
3805
|
__exportStar(require_Util(), exports);
|
|
3733
3806
|
__exportStar(require_Support(), exports);
|
|
3734
3807
|
var ProgressTracker_1 = require_ProgressTracker();
|
|
3735
|
-
Object.defineProperty(exports, "ProgressTracker", { enumerable: true, get: function() {
|
|
3808
|
+
Object.defineProperty(exports, "ProgressTracker", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
3736
3809
|
return ProgressTracker_1.ProgressTracker;
|
|
3737
|
-
} });
|
|
3810
|
+
}, "get") });
|
|
3738
3811
|
var Manager_1 = require_Manager();
|
|
3739
|
-
Object.defineProperty(exports, "EncryptionManager", { enumerable: true, get: function() {
|
|
3812
|
+
Object.defineProperty(exports, "EncryptionManager", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
3740
3813
|
return Manager_1.EncryptionManager;
|
|
3741
|
-
} });
|
|
3814
|
+
}, "get") });
|
|
3742
3815
|
var ZipCrypto_1 = require_ZipCrypto();
|
|
3743
|
-
Object.defineProperty(exports, "ZipCrypto", { enumerable: true, get: function() {
|
|
3816
|
+
Object.defineProperty(exports, "ZipCrypto", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
3744
3817
|
return ZipCrypto_1.ZipCrypto;
|
|
3745
|
-
} });
|
|
3746
|
-
Object.defineProperty(exports, "crc32", { enumerable: true, get: function() {
|
|
3818
|
+
}, "get") });
|
|
3819
|
+
Object.defineProperty(exports, "crc32", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
3747
3820
|
return ZipCrypto_1.crc32;
|
|
3748
|
-
} });
|
|
3749
|
-
Object.defineProperty(exports, "crc32update", { enumerable: true, get: function() {
|
|
3821
|
+
}, "get") });
|
|
3822
|
+
Object.defineProperty(exports, "crc32update", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
3750
3823
|
return ZipCrypto_1.crc32update;
|
|
3751
|
-
} });
|
|
3752
|
-
Object.defineProperty(exports, "sha256", { enumerable: true, get: function() {
|
|
3824
|
+
}, "get") });
|
|
3825
|
+
Object.defineProperty(exports, "sha256", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
3753
3826
|
return ZipCrypto_1.sha256;
|
|
3754
|
-
} });
|
|
3827
|
+
}, "get") });
|
|
3755
3828
|
__exportStar(require_types2(), exports);
|
|
3756
3829
|
__exportStar(require_Headers(), exports);
|
|
3757
3830
|
__exportStar(require_Errors(), exports);
|
|
3758
3831
|
__exportStar(require_version(), exports);
|
|
3759
3832
|
var Logger_1 = require_Logger();
|
|
3760
|
-
Object.defineProperty(exports, "Logger", { enumerable: true, get: function() {
|
|
3833
|
+
Object.defineProperty(exports, "Logger", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
3761
3834
|
return Logger_1.Logger;
|
|
3762
|
-
} });
|
|
3763
|
-
Object.defineProperty(exports, "configureLoggerFromEnvironment", { enumerable: true, get: function() {
|
|
3835
|
+
}, "get") });
|
|
3836
|
+
Object.defineProperty(exports, "configureLoggerFromEnvironment", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
3764
3837
|
return Logger_1.configureLoggerFromEnvironment;
|
|
3765
|
-
} });
|
|
3838
|
+
}, "get") });
|
|
3766
3839
|
//# sourceMappingURL=core.js.map
|