@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.
@@ -11183,6 +11183,9 @@
11183
11183
 
11184
11184
  async exportZip(writer, options) {
11185
11185
  const zipEntry = this;
11186
+ if (options.bufferedWrite === undefined) {
11187
+ options.bufferedWrite = true;
11188
+ }
11186
11189
  await Promise.all([initReaders(zipEntry, options.readerOptions), initStream(writer)]);
11187
11190
  const zipWriter = new ZipWriter(writer, options);
11188
11191
  await exportZip(zipWriter, zipEntry, getTotalSize([zipEntry], "uncompressedSize"), options);