@jsquash/avif

Version: 2.1.1
Source: https://www.npmjs.com/package/@jsquash/avif
Repository: https://github.com/jamsinclair/jSquash
License: Apache-2.0

Bundled files:
- encode.js
- meta.js
- utils.js
- codec/enc/avif_enc.js
- codec/enc/avif_enc.wasm
- LICENSE
- README.md

Harvify uses the single-thread encoder file, codec/enc/avif_enc.wasm.
The multi-thread encoder is intentionally not bundled for Pro v1 because it
uses shared WebAssembly memory and can require SharedArrayBuffer/cross-origin
isolation headers that ordinary WordPress admin pages may not provide.

Local modification:
- encode.js was adjusted to always initialize codec/enc/avif_enc.js instead
  of auto-selecting the multi-thread encoder when WebAssembly threads are
  detected.
