@zip.js/zip.js 2.7.19 → 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 +2 -1
- package/dist/zip-fs-full.min.js +1 -1
- package/dist/zip-fs.js +2 -1
- package/dist/zip-fs.min.js +1 -1
- package/dist/zip-full.js +2 -1
- 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 +2 -1
- package/dist/zip.min.js +1 -1
- package/index.cjs +2 -1
- package/lib/core/zip-writer.js +2 -1
- package/package.json +1 -1
package/dist/zip-fs-full.js
CHANGED
|
@@ -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,
|