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.33k stars 506 forks source link

addUint8Array is not a function #448

Closed jobisoft closed 10 months ago

jobisoft commented 10 months ago

This is an awesome library, thanks for creating this exceptional piece of code.

While playing around with it, I found that fs.addUint8Array is not available. I had to add an entry here, similar to addBlob: https://github.com/gildas-lormeau/zip.js/blob/master/lib/core/zip-fs-core.js#L535-L537

gildas-lormeau commented 10 months ago

Thank you very much for the kind words and the bug report. I confirm that it was an unfortunate oversight, it's fixed in version 2.7.28 that I've just released.