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

ProgressEvent has no "detail" properties #414

Closed pixide closed 1 year ago

pixide commented 1 year ago

Using HttpReader with the useXHR options set to true, when the connection is lost, I get the error: "Cannot read properties of undefined (reading 'error')"

https://github.com/gildas-lormeau/zip.js/blob/edbac5dd06866e714516bcd9f09bdb642b88c12d/lib/core/io.js#L439

gildas-lormeau commented 1 year ago

Thank you for the report. It should be fixed in the version 2.7.14 I've just published.