Skip to content

Commit 60c1fa0

Browse files
mkaputedg-lJulianGCalderongabrielbosio
authored
Update wasm-bindgen to version 0.2.100 and unpin its version requirement (#1988)
* Update wasm-bindgen to version 0.2.100 and unpin its version requirement Upgraded the wasm-bindgen crate from 0.2.92 to 0.2.100 and removed the fixed version constraint in Cargo.toml. This ensures compatibility with newer dependencies and removes outdated restrictions. * Update CHANGELOG.md * Update Cargo.lock * bump every other wasm-bindgen-test dependency with hope it will fix tests * Update CHANGELOG.md Co-authored-by: Gabriel Bosio <38794644+gabrielbosio@users.noreply.github.com> --------- Co-authored-by: Edgar <git@edgarluque.com> Co-authored-by: Edgar <git@edgl.dev> Co-authored-by: Julian Gonzalez Calderon <gonzalezcalderonjulian@gmail.com> Co-authored-by: Gabriel Bosio <38794644+gabrielbosio@users.noreply.github.com>
1 parent d45ffb8 commit 60c1fa0

File tree

4 files changed

+44
-38
lines changed

4 files changed

+44
-38
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
* chore: Update fastecdsa python package [#1993](https://github.com/lambdaclass/cairo-vm/pull/1993)
1616

17+
* fix: Update wasm-bindgen to version 0.2.100 and unpin its version requirement [#1988](https://github.com/lambdaclass/cairo-vm/pull/1988)
18+
1719
#### [2.0.0] - 2025-02-26
1820

1921
* fix: Check overflow in cairo pie address calculation [#1945](https://github.com/lambdaclass/cairo-vm/pull/1945)

Cargo.lock

Lines changed: 39 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/wasm-demo/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ default = ["console_error_panic_hook"]
1717

1818
[dependencies]
1919
serde_json.workspace = true
20-
wasm-bindgen = "0.2.87"
20+
wasm-bindgen = "0.2.100"
2121

2222
# The `console_error_panic_hook` crate provides better debugging of panics by
2323
# logging them with `console.error`. This is great for development, but requires
@@ -28,4 +28,4 @@ console_error_panic_hook = { version = "0.1.6", optional = true }
2828
cairo-vm = { workspace = true }
2929

3030
[dev-dependencies]
31-
wasm-bindgen-test = "0.3.34"
31+
wasm-bindgen-test = "0.3.50"

vm/Cargo.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,13 @@ arbitrary = { workspace = true, features = ["derive"], optional = true }
8181
# Used to derive clap traits for CLIs
8282
clap = { version = "4.3.10", features = ["derive"], optional = true}
8383

84-
# Pin wasm-bindgen version to fix ensure-no_std CI workflow
85-
# It's not used directly
86-
wasm-bindgen = { version = "= 0.2.92" }
87-
8884
[dev-dependencies]
8985
assert_matches = "1.5.0"
9086
rstest = { version = "0.17.0", default-features = false }
9187
num-prime = { version = "0.4.3", features = ["big-int"] }
9288

9389
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
94-
wasm-bindgen-test = "0.3.34"
90+
wasm-bindgen-test = "0.3.50"
9591
# The js feature needs to be enabled
9692
getrandom = { version = "0.2", features = ["js"]}
9793

0 commit comments

Comments
 (0)