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.38k stars 510 forks source link

BlobWriter mime type not present after 2.6.16 #360

Closed Jyrka98 closed 2 years ago

Jyrka98 commented 2 years ago

Possibly caused by the following commit e467d8e, as Response.blob() doesn't accept any parameters as per MDN

Using the example from the ZipWriter docs, with the addition of console.log(blob.type), results in the default empty string

gildas-lormeau commented 2 years ago

Thank you very much and sorry for the inconvenience. It's fixed in the version 2.6.23 that I just published.