@zip.js/zip.js 2.7.18 → 2.7.20
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/dist/zip-fs-full.js +3 -2
- package/dist/zip-fs-full.min.js +1 -1
- package/dist/zip-fs.js +3 -2
- package/dist/zip-fs.min.js +1 -1
- package/dist/zip-full.js +3 -2
- package/dist/zip-full.min.js +1 -1
- package/dist/zip-no-worker-deflate.min.js +1 -1
- package/dist/zip-no-worker.min.js +1 -1
- package/dist/zip.js +3 -2
- package/dist/zip.min.js +1 -1
- package/index.cjs +3 -2
- package/lib/core/zip-writer.js +3 -2
- package/package.json +1 -1
package/dist/zip-fs-full.js
CHANGED
|
@@ -9261,7 +9261,7 @@
|
|
|
9261
9261
|
dataDescriptor = true;
|
|
9262
9262
|
if (zip64 || zip64 === UNDEFINED_VALUE) {
|
|
9263
9263
|
zip64 = true;
|
|
9264
|
-
maximumCompressedSize = MAX_32_BITS;
|
|
9264
|
+
uncompressedSize = maximumCompressedSize = MAX_32_BITS;
|
|
9265
9265
|
}
|
|
9266
9266
|
} else {
|
|
9267
9267
|
uncompressedSize = reader.size;
|
|
@@ -9533,6 +9533,7 @@
|
|
|
9533
9533
|
let uncompressedSize = 0;
|
|
9534
9534
|
let signature;
|
|
9535
9535
|
const { writable } = writer;
|
|
9536
|
+
const metaDataLength = getLength(localHeaderArray, dataDescriptorArray);
|
|
9536
9537
|
if (reader) {
|
|
9537
9538
|
reader.chunkSize = getChunkSize(config);
|
|
9538
9539
|
await writeData(writable, localHeaderArray);
|
|
@@ -9602,7 +9603,7 @@
|
|
|
9602
9603
|
creationDate,
|
|
9603
9604
|
lastAccessDate,
|
|
9604
9605
|
encrypted,
|
|
9605
|
-
length:
|
|
9606
|
+
length: metaDataLength + compressedSize,
|
|
9606
9607
|
compressionMethod,
|
|
9607
9608
|
version,
|
|
9608
9609
|
headerArray,
|