@zip.js/zip.js 2.7.44 → 2.7.45

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.
@@ -339,7 +339,7 @@ async function addFile(zipWriter, name, reader, options) {
339
339
  zip64DiskNumberStart,
340
340
  password,
341
341
  rawPassword,
342
- level: !useCompressionStream && zipWriter.config.CompressionStream === UNDEFINED_VALUE ? 0 : level,
342
+ level: !useCompressionStream && (zipWriter.config.CompressionStream === UNDEFINED_VALUE && zipWriter.config.CompressionStreamNative === UNDEFINED_VALUE) ? 0 : level,
343
343
  useWebWorkers,
344
344
  encryptionStrength,
345
345
  extendedTimestamp,
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.44",
6
+ "version": "2.7.45",
7
7
  "type": "module",
8
8
  "keywords": [
9
9
  "zip",