Closed bluesky335 closed 1 year ago
That probably means the JS runtime does not support generators. A way to fix this issue would be to compile zip.js with babel. The build script already exists, see https://github.com/gildas-lormeau/zip.js/blob/master/rollup-es5.config.js. You should just have to clone the project, run npm install
and npx rollup -c rollup-es5.config.js
to build the files in the dist
folder and the index.cjs
file.
I'm moving the issue in the Discussions tab
I am writing a Thunderbird extension and encountered an error when reading a zip file attachment in the background page. The error message says ‘File format is not recognized’, but it works fine in Chrome.![image](https://github.com/gildas-lormeau/zip.js/assets/13523898/ed120627-0809-4ed7-9689-d250cb859f48)
Thunder Bird version: 102.11.2