@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.
- package/dist/zip-fs-full.js +3 -0
- package/dist/zip-fs-full.min.js +1 -1
- package/dist/zip-fs.js +3 -0
- package/dist/zip-fs.min.js +1 -1
- package/index.cjs +3 -0
- package/index.min.js +1 -1
- package/lib/core/zip-fs-core.js +3 -0
- package/package.json +1 -1
package/dist/zip-fs-full.js
CHANGED
|
@@ -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);
|