@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.
@@ -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: getLength(localHeaderArray, dataDescriptorArray) + compressedSize,
9606
+ length: metaDataLength + compressedSize,
9606
9607
  compressionMethod,
9607
9608
  version,
9608
9609
  headerArray,