@zip.js/zip.js 2.8.21 → 2.8.22

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.js CHANGED
@@ -4908,7 +4908,7 @@
4908
4908
  lockPreviousFileEntry = previousFileEntry && previousFileEntry.lock;
4909
4909
  requestLockCurrentFileEntry();
4910
4910
  }
4911
- if ((options.bufferedWrite || zipWriter.writerLocked || (zipWriter.bufferedWrites && keepOrder) || !dataDescriptor) && !usdz) {
4911
+ if ((options.bufferedWrite || !keepOrder || zipWriter.writerLocked || zipWriter.bufferedWrites || !dataDescriptor) && !usdz) {
4912
4912
  if (options.createTempStream) {
4913
4913
  fileWriter = await options.createTempStream();
4914
4914
  } else {