101arrowz / fflate

High performance (de)compression in an 8kB package
https://101arrowz.github.io/fflate
MIT License
2.21k stars 77 forks source link

Missing header when read with 7Zip with async api #126

Closed Plawn closed 1 year ago

Plawn commented 2 years ago

How to reproduce

Use the async api, with Zip and ZipDeflate, .end() and .terminate() write the chunks to a blob and save the file.

The file will properly be opened by windows explorer and 7Zip but 7Zip will complain about missing headers. The files can be properly opened and are not corrupted.

101arrowz commented 2 years ago

Probably the same as #92. Last time I tried to fix it I wasn't able to do so without adding a ton of extra complexity but I'll look into it again.

101arrowz commented 2 years ago

Think I've managed to fix this, will update in next release.

101arrowz commented 1 year ago

Fixed in v0.7.4.