@zip.js/zip.js 2.7.49 → 2.7.50

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/deno.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zip-js/zip-js",
3
- "version": "2.7.48",
3
+ "version": "2.7.50",
4
4
  "exports": {
5
5
  ".": "./index.js",
6
6
  "./data-uri": "./lib/zip-data-uri.js"
@@ -9955,7 +9955,7 @@
9955
9955
  config: getConfiguration(),
9956
9956
  files: new Map(),
9957
9957
  filenames: new Set(),
9958
- offset: writer.writable.size,
9958
+ offset: options.offset === UNDEFINED_VALUE ? writer.writable.size : options.offset,
9959
9959
  pendingEntriesSize: 0,
9960
9960
  pendingAddFileCalls: new Set(),
9961
9961
  bufferedWrites: 0