kleisauke / wasm-vips

libvips for the browser and Node.js, compiled to WebAssembly with Emscripten.
https://kleisauke.github.io/wasm-vips/
MIT License
463 stars 25 forks source link

Add 'emscripten' property to versions.json #60

Closed lovell closed 7 months ago

lovell commented 7 months ago

Emscripten does not guarantee ABI stability between versions so this information is useful for downstream consumers to verify compatibility.

Relates to https://github.com/lovell/sharp/pull/3907 e.g. allows future possible automation of this.

(Use of xargs is to clean up the version number as it might be wrapped in quotes.)

lovell commented 7 months ago

Ah, I wasn't aware of dumpversion, thanks for simplifying this.