web: Bump wasm-bindgen to 0.2.82

As usual, also bump its helper crates (`js-sys`, `web-sys` and
`wasm-bindgen-futures`) to the latest versions.
This commit is contained in:
relrelb 2022-07-29 16:57:32 +03:00 committed by Mike Welsh
parent 30b185cbd4
commit 79f36964b4
10 changed files with 35 additions and 35 deletions

View File

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

View File

@ -55,7 +55,7 @@ jobs:
# wasm-bindgen-cli version must match wasm-bindgen crate version. # 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. # Be sure to update in release_nightly.yml, web/Cargo.toml and web/README.md.
- name: Install wasm-bindgen - name: Install wasm-bindgen
run: cargo install wasm-bindgen-cli --version 0.2.81 run: cargo install wasm-bindgen-cli --version 0.2.82
- name: Setup conda - name: Setup conda
uses: conda-incubator/setup-miniconda@v2 uses: conda-incubator/setup-miniconda@v2

34
Cargo.lock generated
View File

@ -1884,9 +1884,9 @@ dependencies = [
[[package]] [[package]]
name = "js-sys" name = "js-sys"
version = "0.3.58" version = "0.3.59"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c3fac17f7123a73ca62df411b1bf727ccc805daa070338fda671c86dac1bdc27" checksum = "258451ab10b34f8af53416d1fdab72c22e805f0c92a1136d59470ec0b11138b2"
dependencies = [ dependencies = [
"wasm-bindgen", "wasm-bindgen",
] ]
@ -3860,9 +3860,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
[[package]] [[package]]
name = "wasm-bindgen" name = "wasm-bindgen"
version = "0.2.81" version = "0.2.82"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c53b543413a17a202f4be280a7e5c62a1c69345f5de525ee64f8cfdbc954994" checksum = "fc7652e3f6c4706c8d9cd54832c4a4ccb9b5336e2c3bd154d5cccfbf1c1f5f7d"
dependencies = [ dependencies = [
"cfg-if 1.0.0", "cfg-if 1.0.0",
"serde", "serde",
@ -3872,13 +3872,13 @@ dependencies = [
[[package]] [[package]]
name = "wasm-bindgen-backend" name = "wasm-bindgen-backend"
version = "0.2.81" version = "0.2.82"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5491a68ab4500fa6b4d726bd67408630c3dbe9c4fe7bda16d5c82a1fd8c7340a" checksum = "662cd44805586bd52971b9586b1df85cdbbd9112e4ef4d8f41559c334dc6ac3f"
dependencies = [ dependencies = [
"bumpalo", "bumpalo",
"lazy_static",
"log", "log",
"once_cell",
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn", "syn",
@ -3887,9 +3887,9 @@ dependencies = [
[[package]] [[package]]
name = "wasm-bindgen-futures" name = "wasm-bindgen-futures"
version = "0.4.31" version = "0.4.32"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "de9a9cec1733468a8c657e57fa2413d2ae2c0129b95e87c5b72b8ace4d13f31f" checksum = "fa76fb221a1f8acddf5b54ace85912606980ad661ac7a503b4570ffd3a624dad"
dependencies = [ dependencies = [
"cfg-if 1.0.0", "cfg-if 1.0.0",
"js-sys", "js-sys",
@ -3899,9 +3899,9 @@ dependencies = [
[[package]] [[package]]
name = "wasm-bindgen-macro" name = "wasm-bindgen-macro"
version = "0.2.81" version = "0.2.82"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c441e177922bc58f1e12c022624b6216378e5febc2f0533e41ba443d505b80aa" checksum = "b260f13d3012071dfb1512849c033b1925038373aea48ced3012c09df952c602"
dependencies = [ dependencies = [
"quote", "quote",
"wasm-bindgen-macro-support", "wasm-bindgen-macro-support",
@ -3909,9 +3909,9 @@ dependencies = [
[[package]] [[package]]
name = "wasm-bindgen-macro-support" name = "wasm-bindgen-macro-support"
version = "0.2.81" version = "0.2.82"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7d94ac45fcf608c1f45ef53e748d35660f168490c10b23704c7779ab8f5c3048" checksum = "5be8e654bdd9b79216c2929ab90721aa82faf65c48cdf08bdc4e7f51357b80da"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -3922,9 +3922,9 @@ dependencies = [
[[package]] [[package]]
name = "wasm-bindgen-shared" name = "wasm-bindgen-shared"
version = "0.2.81" version = "0.2.82"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6a89911bd99e5f3659ec4acf9c4d93b0a90fe4a2a11f15328472058edc5261be" checksum = "6598dd0bd3c7d51095ff6531a5b23e02acdc81804e30d8f07afb77b7215a140a"
[[package]] [[package]]
name = "wayland-client" name = "wayland-client"
@ -4007,9 +4007,9 @@ checksum = "323f4da9523e9a669e1eaf9c6e763892769b1d38c623913647bfdc1532fe4549"
[[package]] [[package]]
name = "web-sys" name = "web-sys"
version = "0.3.58" version = "0.3.59"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2fed94beee57daf8dd7d51f2b15dc2bcde92d7a72304cdf662a4371008b71b90" checksum = "ed055ab27f941423197eb86b2035720b1a3ce40504df082cac2ecc6ed73335a1"
dependencies = [ dependencies = [
"js-sys", "js-sys",
"wasm-bindgen", "wasm-bindgen",

View File

@ -56,7 +56,7 @@ default-features = false # can't use rayon on web
version = "0.3.21" version = "0.3.21"
[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen-futures] [target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen-futures]
version = "0.4.31" version = "0.4.32"
[dev-dependencies] [dev-dependencies]
approx = "0.5.1" approx = "0.5.1"

View File

@ -6,10 +6,10 @@ edition = "2021"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
[dependencies] [dependencies]
js-sys = "0.3.58" js-sys = "0.3.59"
log = "0.4" log = "0.4"
ruffle_web_common = { path = "../../web/common" } ruffle_web_common = { path = "../../web/common" }
wasm-bindgen = "=0.2.81" wasm-bindgen = "=0.2.82"
fnv = "1.0.7" fnv = "1.0.7"
[dependencies.ruffle_core] [dependencies.ruffle_core]
@ -17,7 +17,7 @@ path = "../../core"
default-features = false default-features = false
[dependencies.web-sys] [dependencies.web-sys]
version = "0.3.58" version = "0.3.59"
features = [ features = [
"CanvasGradient", "CanvasPattern", "CanvasRenderingContext2d", "CanvasWindingRule", "CssStyleDeclaration", "CanvasGradient", "CanvasPattern", "CanvasRenderingContext2d", "CanvasWindingRule", "CssStyleDeclaration",
"Document", "DomMatrix", "Element", "HtmlCanvasElement", "ImageData", "Navigator", "Path2d", "SvgMatrix", "Document", "DomMatrix", "Element", "HtmlCanvasElement", "ImageData", "Navigator", "Path2d", "SvgMatrix",

View File

@ -6,11 +6,11 @@ edition = "2021"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
[dependencies] [dependencies]
js-sys = "0.3.58" js-sys = "0.3.59"
log = "0.4" log = "0.4"
ruffle_render_common_tess = { path = "../common_tess" } ruffle_render_common_tess = { path = "../common_tess" }
ruffle_web_common = { path = "../../web/common" } ruffle_web_common = { path = "../../web/common" }
wasm-bindgen = "=0.2.81" wasm-bindgen = "=0.2.82"
bytemuck = { version = "1.10.0", features = ["derive"] } bytemuck = { version = "1.10.0", features = ["derive"] }
fnv = "1.0.7" fnv = "1.0.7"
@ -19,7 +19,7 @@ path = "../../core"
default-features = false default-features = false
[dependencies.web-sys] [dependencies.web-sys]
version = "0.3.58" version = "0.3.59"
features = [ features = [
"HtmlCanvasElement", "OesVertexArrayObject", "WebGl2RenderingContext", "WebGlBuffer", "WebglDebugRendererInfo", "HtmlCanvasElement", "OesVertexArrayObject", "WebGl2RenderingContext", "WebGlBuffer", "WebglDebugRendererInfo",
"WebGlFramebuffer", "WebGlProgram", "WebGlRenderbuffer", "WebGlRenderingContext", "WebGlShader", "WebGlTexture", "WebGlFramebuffer", "WebGlProgram", "WebGlRenderbuffer", "WebGlRenderingContext", "WebGlShader", "WebGlTexture",

View File

@ -26,7 +26,7 @@ default-features = false
# wasm # wasm
[target.'cfg(target_family = "wasm")'.dependencies.web-sys] [target.'cfg(target_family = "wasm")'.dependencies.web-sys]
version = "0.3.58" version = "0.3.59"
features = ["HtmlCanvasElement"] features = ["HtmlCanvasElement"]
[features] [features]

View File

@ -32,15 +32,15 @@ console_error_panic_hook = { version = "0.1.7", optional = true }
console_log = { version = "0.2", optional = true } console_log = { version = "0.2", optional = true }
fnv = "1.0.7" fnv = "1.0.7"
generational-arena = "0.2.8" generational-arena = "0.2.8"
js-sys = "0.3.58" js-sys = "0.3.59"
log = { version = "0.4", features = ["serde"] } log = { version = "0.4", features = ["serde"] }
ruffle_render_canvas = { path = "../render/canvas", optional = true } ruffle_render_canvas = { path = "../render/canvas", optional = true }
ruffle_web_common = { path = "common" } ruffle_web_common = { path = "common" }
ruffle_render_webgl = { path = "../render/webgl", optional = true } ruffle_render_webgl = { path = "../render/webgl", optional = true }
ruffle_render_wgpu = { path = "../render/wgpu", optional = true } ruffle_render_wgpu = { path = "../render/wgpu", optional = true }
url = "2.2.2" url = "2.2.2"
wasm-bindgen = { version = "=0.2.81", features = ["serde-serialize"] } wasm-bindgen = { version = "=0.2.82", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4.31" wasm-bindgen-futures = "0.4.32"
chrono = { version = "0.4", features = ["wasmbind"] } chrono = { version = "0.4", features = ["wasmbind"] }
getrandom = { version = "0.2", features = ["js"] } getrandom = { version = "0.2", features = ["js"] }
serde = { version = "1.0.139", features = ["derive"] } serde = { version = "1.0.139", features = ["derive"] }
@ -53,7 +53,7 @@ default-features = false
features = ["h263", "vp6", "screenvideo", "symphonia", "wasm-bindgen"] features = ["h263", "vp6", "screenvideo", "symphonia", "wasm-bindgen"]
[dependencies.web-sys] [dependencies.web-sys]
version = "0.3.58" version = "0.3.59"
features = [ features = [
"AddEventListenerOptions", "AudioBuffer", "AudioBufferSourceNode", "AudioContext", "AudioDestinationNode", "AddEventListenerOptions", "AudioBuffer", "AudioBufferSourceNode", "AudioContext", "AudioDestinationNode",
"AudioNode", "AudioParam", "Blob", "BlobPropertyBag", "ChannelMergerNode", "AudioNode", "AudioParam", "Blob", "BlobPropertyBag", "ChannelMergerNode",

View File

@ -58,7 +58,7 @@ Note that npm 7 or newer is required. It should come bundled with Node.js 15 or
<!-- Be sure to also update the wasm-bindgen-cli version in `.github/workflows/*.yml` and `web/Cargo.toml`. --> <!-- Be sure to also update the wasm-bindgen-cli version in `.github/workflows/*.yml` and `web/Cargo.toml`. -->
This can be installed with `cargo install wasm-bindgen-cli --version 0.2.81`. 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.82`. Be sure to install this specific version of `wasm-bindgen-cli` to match the version used by Ruffle.
#### Binaryen #### Binaryen

View File

@ -6,10 +6,10 @@ edition = "2021"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
[dependencies] [dependencies]
js-sys = "0.3.58" js-sys = "0.3.59"
log = "0.4" log = "0.4"
wasm-bindgen = "=0.2.81" wasm-bindgen = "=0.2.82"
[dependencies.web-sys] [dependencies.web-sys]
version = "0.3.58" version = "0.3.59"
features = ["Window"] features = ["Window"]