@jsquash/[email protected]
- Fixes the decoding of PNG images using non-rgba color types.
@jsquash/[email protected]
encode
method now returns anArrayBuffer
which matches the return type of other jSquashencode
methods- Ignores checksum errors. Allows images with invalid header chunks to be decoded (Fixes #44)
- Upgrades codec to image-png 0.17.10 (increases wasm file size by 54KB)
- Codec wasm and js files moved to /codec/pkg dir (due to addition of Rust source)
- If you are accessing the wasm file by path you'll need to update your paths to reference
node_modules/@jsquash/png/codec/pkg/squoosh_png_bg.wasm
. It's now nested in thepkg
dir.
- If you are accessing the wasm file by path you'll need to update your paths to reference
@jsquash/[email protected]
- 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
- Removes *.d.ts.map files from the package
@jsquash/[email protected]
- Removes unused wasm-feature-detect dependency
@jsquash/[email protected]
Re-release of 2.1.1 with correct dist files
- Check for caches object on
globalThis
before using it
@jsquash/[email protected]
- Check for caches object on
globalThis
before using it
@jsquash/[email protected]
- Include polyfills for Cloudflare Worker environment for easier compatibility