Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump oxipng from 6.0.0 -> 8.0.0 #9135

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

marcins
Copy link
Contributor

@marcins marcins commented Jul 18, 2023

↪️ Pull Request

This fixes an issue building for aarch64-unknown-linux-musl (e.g.: https://github.com/parcel-bundler/parcel/actions/runs/5433723752/jobs/9881567018) - where a C dependency of oxipng (cloudflare-zlib-sys) was failing to compile. The latest version does not use this dependency.

🚨 Test instructions

If the integration tests still work, this should be okay.. the code change was only to remove a default.

I validated that yarn build-release --target aarch64-unknown-linux-musl in the image optimizer now works in the same Docker container as CI uses after applying this change, where previously it was failing.

✔️ PR Todo

  • [n/a ] Added/updated unit tests for this change
  • Filled out test instructions (In case there aren't any unit tests)
  • Included links to related issues/PRs

@@ -14,7 +14,6 @@ pub fn optimize(kind: String, buf: Buffer, env: Env) -> Result<JsBuffer> {
match kind.as_ref() {
"png" => {
let options = Options {
deflate: Deflaters::Libdeflater,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes an issue building for aarch64-unknown-linux-musl - where a
C dependency of oxipng was failing to compile. The latest version does
not use this dependency.
@marcins marcins force-pushed the mszczepanski/bump-oxipng branch from 14fef09 to 2b42967 Compare July 18, 2023 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants