web: Bump wasm-bindgen to 0.2.74

Also bump its helper crates (js-sys, wasm-bindgen-futures) to the
latest versions, except for web-sys which seems to be locked by wgpu
to one version before the latest (0.3.50).
This commit is contained in:
relrelb 2021-07-24 00:17:37 +03:00 committed by Mike Welsh
parent 905cfb383a
commit 2ba103ac3f
8 changed files with 30 additions and 30 deletions

View File

@ -243,7 +243,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: install
args: wasm-bindgen-cli --version 0.2.73
args: wasm-bindgen-cli --version 0.2.74
- name: Setup conda
uses: conda-incubator/setup-miniconda@v2

View File

@ -38,7 +38,7 @@ jobs:
# wasm-bindgen-cli version must match wasm-bindgen crate version.
# Be sure to update in release_nightly.yml, web/Cargo.toml and web/README.md.
- name: Install wasm-bindgen
run: cargo install wasm-bindgen-cli --version 0.2.73
run: cargo install wasm-bindgen-cli --version 0.2.74
- name: Setup conda
uses: conda-incubator/setup-miniconda@v2

28
Cargo.lock generated
View File

@ -1890,9 +1890,9 @@ dependencies = [
[[package]]
name = "js-sys"
version = "0.3.50"
version = "0.3.51"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2d99f9e3e84b8f67f846ef5b4cbbc3b1c29f6c759fcbce6f01aa0e73d932a24c"
checksum = "83bdfbace3a0e81a4253f73b49e960b053e396a11012cbd49b9b74d6a2b67062"
dependencies = [
"wasm-bindgen",
]
@ -3769,9 +3769,9 @@ checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6"
[[package]]
name = "wasm-bindgen"
version = "0.2.73"
version = "0.2.74"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "83240549659d187488f91f33c0f8547cbfef0b2088bc470c116d1d260ef623d9"
checksum = "d54ee1d4ed486f78874278e63e4069fc1ab9f6a18ca492076ffb90c5eb2997fd"
dependencies = [
"cfg-if 1.0.0",
"serde",
@ -3781,9 +3781,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-backend"
version = "0.2.73"
version = "0.2.74"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ae70622411ca953215ca6d06d3ebeb1e915f0f6613e3b495122878d7ebec7dae"
checksum = "3b33f6a0694ccfea53d94db8b2ed1c3a8a4c86dd936b13b9f0a15ec4a451b900"
dependencies = [
"bumpalo",
"lazy_static",
@ -3796,9 +3796,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-futures"
version = "0.4.23"
version = "0.4.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "81b8b767af23de6ac18bf2168b690bed2902743ddf0fb39252e36f9e2bfc63ea"
checksum = "5fba7978c679d53ce2d0ac80c8c175840feb849a161664365d1287b41f2e67f1"
dependencies = [
"cfg-if 1.0.0",
"js-sys",
@ -3808,9 +3808,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro"
version = "0.2.73"
version = "0.2.74"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3e734d91443f177bfdb41969de821e15c516931c3c3db3d318fa1b68975d0f6f"
checksum = "088169ca61430fe1e58b8096c24975251700e7b1f6fd91cc9d59b04fb9b18bd4"
dependencies = [
"quote",
"wasm-bindgen-macro-support",
@ -3818,9 +3818,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro-support"
version = "0.2.73"
version = "0.2.74"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d53739ff08c8a68b0fdbcd54c372b8ab800b1449ab3c9d706503bc7dd1621b2c"
checksum = "be2241542ff3d9f241f5e2cb6dd09b37efe786df8851c54957683a49f0987a97"
dependencies = [
"proc-macro2",
"quote",
@ -3831,9 +3831,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-shared"
version = "0.2.73"
version = "0.2.74"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d9a543ae66aa233d14bb765ed9af4a33e81b8b58d1584cf1b47ff8cd0b9e4489"
checksum = "d7cff876b8f18eed75a66cf49b65e7f967cb354a7aa16003fb55dbfd25b44b4f"
[[package]]
name = "wayland-client"

View File

@ -11,13 +11,13 @@ crate-type = ["cdylib", "rlib"]
[dependencies]
base64 = "0.13.0"
fnv = "1.0.7"
js-sys = "0.3.50"
js-sys = "0.3.51"
log = "0.4"
ruffle_web_common = { path = "../../web/common" }
svg = "0.10.0"
percent-encoding = "2.1.0"
png = "0.16.8"
wasm-bindgen = "=0.2.73"
wasm-bindgen = "=0.2.74"
[dependencies.jpeg-decoder]
version = "0.1.22"
@ -28,7 +28,7 @@ path = "../../core"
default-features = false
[dependencies.web-sys]
version = "0.3.45"
version = "0.3.50"
features = [
"CanvasRenderingContext2d", "CssStyleDeclaration", "Document", "Element", "HtmlCanvasElement", "HtmlElement", "HtmlImageElement",
"Navigator", "Node", "UiEvent", "Window", "Path2d", "CanvasGradient", "CanvasPattern", "SvgMatrix", "SvgsvgElement"

View File

@ -7,13 +7,13 @@ license = "MIT OR Apache-2.0"
[dependencies]
fnv = "1.0.7"
js-sys = "0.3.50"
js-sys = "0.3.51"
log = "0.4"
percent-encoding = "2.1.0"
png = "0.16.8"
ruffle_render_common_tess = { path = "../common_tess" }
ruffle_web_common = { path = "../../web/common" }
wasm-bindgen = "=0.2.73"
wasm-bindgen = "=0.2.74"
bytemuck = { version = "1.7.0", features = ["derive"] }
[dependencies.jpeg-decoder]
@ -25,7 +25,7 @@ path = "../../core"
default-features = false
[dependencies.web-sys]
version = "0.3.45"
version = "0.3.50"
features = ["HtmlCanvasElement", "HtmlElement", "Node", "OesVertexArrayObject", "WebGlBuffer", "WebglDebugRendererInfo",
"WebGlFramebuffer", "WebGlProgram", "WebGlRenderbuffer", "WebGlRenderingContext", "WebGl2RenderingContext",
"WebGlShader", "WebGlTexture", "WebGlUniformLocation", "WebGlVertexArrayObject"]

View File

@ -26,14 +26,14 @@ console_error_panic_hook = { version = "0.1.1", optional = true }
console_log = { version = "0.2", optional = true }
fnv = "1.0.7"
generational-arena = "0.2.8"
js-sys = "0.3.50"
js-sys = "0.3.51"
log = { version = "0.4", features = ["serde"] }
ruffle_render_canvas = { path = "../render/canvas", optional = true }
ruffle_web_common = { path = "common" }
ruffle_render_webgl = { path = "../render/webgl", optional = true }
url = "2.2.2"
wasm-bindgen = { version = "=0.2.73", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4.19"
wasm-bindgen = { version = "=0.2.74", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4.24"
chrono = { version = "0.4", features = ["wasmbind"] }
getrandom = { version = "0.2", features = ["js"] }
serde = { version = "1.0.126", features = ["derive"] }
@ -46,7 +46,7 @@ default-features = false
features = ["serde", "wasm-bindgen"]
[dependencies.web-sys]
version = "0.3.45"
version = "0.3.50"
features = [
"AddEventListenerOptions", "AudioBuffer", "AudioBufferSourceNode", "AudioParam", "AudioProcessingEvent", "AudioContext", "AudioDestinationNode",
"AudioNode", "CanvasRenderingContext2d", "ChannelMergerNode", "ChannelSplitterNode", "CssStyleDeclaration", "Document",

View File

@ -55,7 +55,7 @@ We recommend using the currently active LTS 14, but we do also run tests with ma
#### wasm-bindgen
<!-- Be sure to also update the wasm-bindgen-cli version in .github/workflows/*.yaml and web/Cargo.toml -->
This can be installed with `cargo install wasm-bindgen-cli --version 0.2.73`. Be sure to install this specific version of `wasm-bindgen-cli` to match the version used by Ruffle.
This can be installed with `cargo install wasm-bindgen-cli --version 0.2.74`. Be sure to install this specific version of `wasm-bindgen-cli` to match the version used by Ruffle.
#### Binaryen

View File

@ -6,10 +6,10 @@ edition = "2018"
license = "MIT OR Apache-2.0"
[dependencies]
js-sys = "0.3.50"
js-sys = "0.3.51"
log = "0.4"
wasm-bindgen = "=0.2.73"
wasm-bindgen = "=0.2.74"
[dependencies.web-sys]
version = "0.3.41"
version = "0.3.50"
features = ["Window"]