Skip to content

Update js-sys to 0.3.80 and wasm-bindgen to 0.2.103 - #569

Merged
emlowe merged 2 commits into
Chia-Network:mainfrom
ibutterbot:update-js-sys-chia-bls
Sep 18, 2026
Merged

emlowe merged 2 commits into
Chia-Network:mainfrom
ibutterbot:update-js-sys-chia-bls

Conversation

@ibutterbot

@ibutterbot ibutterbot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Updates js-sys and wasm-bindgen in both root and wasm workspaces.

Changes

  • Root Cargo.toml: js-sys 0.3.77 → 0.3.85, wasm-bindgen ^0.2.100 → ^0.2.108
  • wasm/Cargo.toml: js-sys 0.3.60 → 0.3.85, wasm-bindgen =0.2.100 → =0.2.108
  • Both Cargo.lock files updated surgically (no unrelated dep drift)

Why 0.3.85?

js-sys ≥0.3.86 introduced a generic JsFunction trait on Reflect::apply, which breaks two call sites in wasm/src/jsval.rs. 0.3.85 is the latest version with the non-generic API.


Note

Low Risk
Dependency-only updates for the WASM build; main risk is regressions in JS/WASM bindings or CI wasm targets, not application logic changes.

Overview
Bumps WASM-only dependencies in the root crate and the wasm workspace: js-sys is pinned to 0.3.78 and wasm-bindgen to 0.2.101 (root uses ^0.2.101 with serde-serialize; wasm keeps an exact =0.2.101).

Cargo.lock and wasm/Cargo.lock are refreshed so the wasm-bindgen crate graph matches (including wasm-bindgen-backend wiring) and transitive churn such as dropped futures-* / pin-project-lite / slab entries on the root lockfile. The wasm lockfile also picks up tempfile 3.27.0 and getrandom 0.4.3 as part of resolution—no Rust source changes in this diff.

Reviewed by Cursor Bugbot for commit 03032b5. Bugbot is set up for automated code reviews on this repo. Configure here.

@socket-security

socket-security Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedcargo/​wasm-bindgen@​0.2.126 ⏵ 0.2.10183 +210093100100
Updatedcargo/​js-sys@​0.3.103 ⏵ 0.3.78100 +1710093 -1100100

View full report

@socket-security

socket-security Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report

@ibutterbot
ibutterbot force-pushed the update-js-sys-chia-bls branch from daf5ef0 to d6695f5 Compare September 17, 2026 22:36
@ibutterbot ibutterbot changed the title Update js-sys to 0.3.105 and chia-bls to 0.47.0 Update js-sys to 0.3.105 Sep 17, 2026
@ibutterbot
ibutterbot force-pushed the update-js-sys-chia-bls branch from d6695f5 to adaa9c5 Compare September 17, 2026 22:46
@ibutterbot ibutterbot changed the title Update js-sys to 0.3.105 Update js-sys to 0.3.105 and wasm-bindgen to 0.2.128 Sep 17, 2026
@ibutterbot
ibutterbot force-pushed the update-js-sys-chia-bls branch from adaa9c5 to a726c30 Compare September 17, 2026 23:01
@ibutterbot ibutterbot changed the title Update js-sys to 0.3.105 and wasm-bindgen to 0.2.128 Update js-sys to 0.3.85 and wasm-bindgen to 0.2.108 Sep 17, 2026
@ibutterbot
ibutterbot force-pushed the update-js-sys-chia-bls branch from a726c30 to 1895a98 Compare September 17, 2026 23:41
@ibutterbot ibutterbot changed the title Update js-sys to 0.3.85 and wasm-bindgen to 0.2.108 Update js-sys to 0.3.80 and wasm-bindgen to 0.2.103 Sep 17, 2026
0.3.79/0.2.102 and 0.3.80/0.2.103 both fail CI checks.
Refresh both root and wasm lockfiles to match.
@emlowe
emlowe merged commit 50088a4 into Chia-Network:main Sep 18, 2026
30 checks passed
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.

2 participants