diff --git a/packages/png/.npmignore b/packages/png/.npmignore index 944c51f..dc8dfb0 100644 --- a/packages/png/.npmignore +++ b/packages/png/.npmignore @@ -1,4 +1,8 @@ node_modules -codecs/**/*package.json +codec/**/*package.json *.d.ts.map tsconfig.tsbuildinfo +target +src +Cargo.lock +Cargo.toml \ No newline at end of file diff --git a/packages/png/CHANGELOG.md b/packages/png/CHANGELOG.md index e6731b6..49ddf49 100644 --- a/packages/png/CHANGELOG.md +++ b/packages/png/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## @jsquash/png@3.0.0 + +### Breaking + +- Ignores checksum errors. Allows images with invalid header chunks to be decoded (Fixes [#44](https://github.com/jamsinclair/jSquash/issues/44)) +- Upgrades codec to image-png 0.17.10 (increases wasm file size by 50KB) + +### Misc + +- Codec wasm and js files moved to /codec/pkg dir (due to addition of Rust source) + ## @jsquash/png@2.2.0 ### Adds diff --git a/packages/png/package.json b/packages/png/package.json index 768ba76..f001610 100644 --- a/packages/png/package.json +++ b/packages/png/package.json @@ -1,9 +1,12 @@ { "name": "@jsquash/png", - "version": "2.2.0", + "version": "3.0.0", "main": "index.js", "description": "Wasm png encoder and decoder supporting the browser. Repackaged from Squoosh App.", - "repository": "jamsinclair/jSquash", + "repository": { + "type": "git", + "url": "git+https://github.com/jamsinclair/jSquash.git" + }, "author": { "name": "Jamie Sinclair", "email": "jamsinclairnz+npm@gmail.com"