@zip.js/zip.js 2.7.28 → 2.7.29

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.
@@ -433,6 +433,9 @@ class ZipDirectoryEntry extends ZipEntry {
433
433
 
434
434
  async exportZip(writer, options) {
435
435
  const zipEntry = this;
436
+ if (options.bufferedWrite === undefined) {
437
+ options.bufferedWrite = true;
438
+ }
436
439
  await Promise.all([initReaders(zipEntry, options.readerOptions), initStream(writer)]);
437
440
  const zipWriter = new ZipWriter(writer, options);
438
441
  await exportZip(zipWriter, zipEntry, getTotalSize([zipEntry], "uncompressedSize"), options);
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.28",
6
+ "version": "2.7.29",
7
7
  "type": "module",
8
8
  "keywords": [
9
9
  "zip",