ceifa / wasmoon

A real lua 5.4 VM with JS bindings made with webassembly
MIT License
495 stars 32 forks source link

[bug] New patch release might break older versions: `wasmoon@1.15.1` breaking `wasmoon@1.15.0` #93

Closed gudzpoz closed 12 months ago

gudzpoz commented 1 year ago

The current unpkg.com URL in factory.ts ignores the patch version (that is, the "0" in 1.15.0), which means it will always load the latest patch version of glue.wasm (e.g. from 1.15.1 even if the project depends on the 1.15.0 version.

Unfortunately, for example, the glue.wasm in version 1.15.1 does not seem to be compatible with 1.15.0. Some tests: