Skip to content

chore(wasm): upgrade wasm-bindgen 0.2.100 -> 0.2.129 - #792

Merged
michaelpporter merged 1 commit into
mainfrom
chore/wasm-bindgen-upgrade
Oct 12, 2026
Merged

michaelpporter merged 1 commit into
mainfrom
chore/wasm-bindgen-upgrade

Conversation

@michaelpporter

Copy link
Copy Markdown
Owner

Moves the exact pin in wasm/Cargo.toml from =0.2.100 to =0.2.129 (plus matching js-sys / wasm-bindgen-test) and regenerates wasm/pkg.

The newer glue no longer emits the __wbg_newnoargs import (new Function(...), from js-sys's global() fallback), which the community directory scan reports as Dynamic Code Execution. main.js now contains no eval / new Function.

  • Public .d.ts API unchanged apart from an internal table rename (__wbindgen_export_2 -> __wbindgen_externrefs).
  • .wasm +12 KB (322 -> 334 KB).
  • Verified: wasm:test, build, 402 tests, lint; live graph build and trail traversal in the dev vault.

Newer glue no longer emits the newnoargs import (new Function(...)) that
the community directory scan flags as Dynamic Code Execution.
@michaelpporter
michaelpporter merged commit 83752db into main Oct 12, 2026
1 check passed
@michaelpporter
michaelpporter deleted the chore/wasm-bindgen-upgrade branch October 12, 2026 01:02
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.

1 participant