@zip.js/zip.js 2.7.25 → 2.7.26

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.
@@ -392,7 +392,7 @@ async function getFileEntry(zipWriter, name, reader, entryInfo, options) {
392
392
  writingEntryData = true;
393
393
  fileEntry.diskNumberStart = diskNumber;
394
394
  if (usdz) {
395
- appendExtraFieldUSDZ(entryInfo, zipWriter.offset);
395
+ appendExtraFieldUSDZ(entryInfo, zipWriter.offset - diskOffset);
396
396
  }
397
397
  fileEntry = await createFileEntry(reader, fileWriter, fileEntry, entryInfo, zipWriter.config, options);
398
398
  writingEntryData = false;
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.25",
6
+ "version": "2.7.26",
7
7
  "type": "module",
8
8
  "keywords": [
9
9
  "zip",