- Adds Node.js ESM support
- Updates relative imports to use file extensions
- Adds
module
field to relevantpackage.json
- Updates pre.js to polyfill ImageData for Node.js
- Correctly exports init method from encode module
- Removes *.d.ts.map files from the package
- Add missing
wasm-feature-detect
dependency
- Stops the WebWorker module code from being instantiated when running in a Cloudflare Worker environment
- Removed check threads util method that would have prevented threads not working outside of a worker context. That util was specific to the Squoosh app use case.
Initial Release.