gildas-lormeau / zip.js

JavaScript library to zip and unzip files supporting multi-core compression, compression streams, zip64, split files and encryption.
https://gildas-lormeau.github.io/zip.js
BSD 3-Clause "New" or "Revised" License
3.42k stars 512 forks source link

Fix `level` and `useCompressionStream` being ignored #345

Closed 0f-0b closed 2 years ago

0f-0b commented 2 years ago

Currently DeflateStream does not pass the level option to the codec, and the useCompressionStream option fails to be picked up due to a misconfiguration of rollup. This PR addresses these issues.

gildas-lormeau commented 2 years ago

Thank you very much for your contribution, it's perfect :)