Skip to content

Commit 19beb1a

Browse files
authored
Merge pull request #1396 from andrews05/oxipng9
Update oxipng to v9 [updated]
2 parents e217740 + e2514df commit 19beb1a

21 files changed

+144
-361
lines changed

codecs/oxipng/Cargo.lock

Lines changed: 80 additions & 311 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codecs/oxipng/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ wasm-opt = ["-O", "--no-validation"]
1212
crate-type = ["cdylib"]
1313

1414
[dependencies]
15-
oxipng = { version = "4.0.3", default-features = false, features = ["libdeflater"] }
16-
libdeflater = { version = "0.7.1", features = ["freestanding"] }
15+
oxipng = { version = "9.0", default-features = false, features = ["freestanding"] }
1716
wasm-bindgen = "0.2.73"
1817
log = { version = "0.4.11", features = ["release_max_level_off"] }
1918
wasm-bindgen-rayon = { version = "1.0", optional = true }

codecs/oxipng/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# OxiPNG
22

33
- Source: <https://github.com/shssoichiro/oxipng>
4-
- Version: v3.0.0
4+
- Version: v9.0.0
55
- License: MIT

codecs/oxipng/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ set -e
55
rm -rf pkg,{-parallel}
66
export CFLAGS="${CFLAGS} -DUNALIGNED_ACCESS_IS_FAST=1"
77
wasm-pack build -t web
8-
RUSTFLAGS='-C target-feature=+atomics,+bulk-memory' wasm-pack build -t web -d pkg-parallel -- -Z build-std=panic_abort,std --features=parallel
8+
RUSTFLAGS='-C target-feature=+atomics,+bulk-memory' wasm-pack build -t web -d pkg-parallel . -- -Z build-std=panic_abort,std --features=parallel
99
rm pkg{,-parallel}/.gitignore

codecs/oxipng/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oxipng",
33
"scripts": {
4-
"build": "RUST_IMG=rustlang/rust@sha256:744aeea5a38f95aa7a96ec37269a65f0c6197a1cdd87d6534e12bb869141d807 ../build-rust.sh ./build.sh"
4+
"build": "RUST_IMG=rustlang/rust@sha256:5fd16a5576c22c8fdd5d659247755999e426c04de8dcf18a41ea446c5f253309 ../build-rust.sh ./build.sh"
55
}
66
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# OxiPNG
22

33
- Source: <https://github.com/shssoichiro/oxipng>
4-
- Version: v3.0.0
4+
- Version: v9.0.0
55
- License: MIT

codecs/oxipng/pkg-parallel/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@
1111
],
1212
"module": "squoosh_oxipng.js",
1313
"types": "squoosh_oxipng.d.ts",
14-
"sideEffects": false
14+
"sideEffects": [
15+
"./snippets/*"
16+
]
1517
}

codecs/oxipng/pkg-parallel/squoosh_oxipng.d.ts

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codecs/oxipng/pkg-parallel/squoosh_oxipng.js

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
-115 KB
Binary file not shown.

0 commit comments

Comments
 (0)