@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.
@@ -715,7 +715,7 @@ async function getFileEntry(zipWriter, name, reader, entryInfo, options) {
715
715
  lockPreviousFileEntry = previousFileEntry && previousFileEntry.lock;
716
716
  requestLockCurrentFileEntry();
717
717
  }
718
- if ((options.bufferedWrite || zipWriter.writerLocked || (zipWriter.bufferedWrites && keepOrder) || !dataDescriptor) && !usdz) {
718
+ if ((options.bufferedWrite || !keepOrder || zipWriter.writerLocked || zipWriter.bufferedWrites || !dataDescriptor) && !usdz) {
719
719
  if (options.createTempStream) {
720
720
  fileWriter = await options.createTempStream();
721
721
  } else {
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.8.21",
6
+ "version": "2.8.22",
7
7
  "type": "module",
8
8
  "keywords": [
9
9
  "zip",
@@ -156,9 +156,9 @@
156
156
  "devDependencies": {
157
157
  "@rollup/plugin-replace": "^6.0.3",
158
158
  "@rollup/plugin-terser": "^0.4.4",
159
- "eslint": "^10.0.0",
159
+ "eslint": "^10.0.2",
160
160
  "http-server": "^14.1.1",
161
- "rollup": "^4.57.1",
161
+ "rollup": "^4.59.0",
162
162
  "typedoc": "^0.28.17",
163
163
  "typedoc-plugin-markdown": "^4.10.0"
164
164
  }