Bundle WASM-only image codec runtimes - #44
Merged
Merged
Conversation
Replace native Sharp installations with a reproducibly generated WebAssembly-only distribution that is vendored into the published CLI package.\n\nBREAKING CHANGE: the package no longer installs platform-specific Sharp binaries.
343dev
force-pushed
the
improvement/wasm-hardening
branch
from
September 25, 2026 05:49
4ee6d0a to
8d4f405
Compare
Vendor a reproducible wasm64 Guetzli build, its provenance sources, parity fixtures, and the CLI adapter. Raise the runtime requirement to Node.js 24 for WebAssembly memory64 support.\n\nBREAKING CHANGE: Optimizt now requires Node.js 24.0.0 or newer.
343dev
force-pushed
the
improvement/wasm-hardening
branch
2 times, most recently
from
September 25, 2026 06:07
9ce6eeb to
4ae5e78
Compare
Vendor a reproducible wasm64 Gifsicle build with Worker-based cancellation, provenance sources, parity evidence, and codec-specific license notices.
343dev
force-pushed
the
improvement/wasm-hardening
branch
from
September 25, 2026 08:16
4ae5e78 to
5ea6e32
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replace the platform-specific Sharp, Guetzli, and Gifsicle binaries with WebAssembly runtimes bundled with Optimizt.
This PR also converts the repository to npm workspaces. Each codec runtime can now be built, verified, and vendored independently. Only
@343dev/optimiztis published.User-facing changes
Breaking changes
Implementation
packages/optimiztworkspace.Compatibility
The existing Optimizt CLI and configuration format remain unchanged. Parity tests compare each codec's output with the corresponding native implementation.