@zip.js/zip.js 2.7.0 → 2.7.2

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.
@@ -586,16 +586,14 @@ async function createFileEntry(reader, writer, { diskNumberStart, lock }, entryI
586
586
  } else {
587
587
  rawExtraFieldZip64 = new Uint8Array();
588
588
  }
589
- if (reader) {
590
- setEntryInfo({
591
- signature,
592
- rawExtraFieldZip64,
593
- compressedSize,
594
- uncompressedSize,
595
- headerInfo,
596
- dataDescriptorInfo
597
- }, options);
598
- }
589
+ setEntryInfo({
590
+ signature,
591
+ rawExtraFieldZip64,
592
+ compressedSize,
593
+ uncompressedSize,
594
+ headerInfo,
595
+ dataDescriptorInfo
596
+ }, options);
599
597
  if (dataDescriptor) {
600
598
  await writeData(writable, dataDescriptorArray);
601
599
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "A JavaScript library to zip and unzip files in the browser, Deno and Node.js",
4
4
  "author": "Gildas Lormeau",
5
5
  "license": "BSD-3-Clause",
6
- "version": "2.7.0",
6
+ "version": "2.7.2",
7
7
  "type": "module",
8
8
  "keywords": [
9
9
  "zip",