fix(deps): update wasm-bindgen

This commit is contained in:
renovate[bot] 2023-05-15 00:57:42 +00:00 committed by relrelb
parent b24fc7c07f
commit 5b26d1b2ee
12 changed files with 38 additions and 38 deletions

View File

@ -300,7 +300,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 test_web.yml, web/Cargo.toml and web/README.md. # Be sure to update in test_web.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.84 run: cargo install wasm-bindgen-cli --version 0.2.85
- name: Setup conda - name: Setup conda
uses: conda-incubator/setup-miniconda@v2 uses: conda-incubator/setup-miniconda@v2

View File

@ -63,7 +63,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.84 run: cargo install wasm-bindgen-cli --version 0.2.85
- name: Setup conda - name: Setup conda
uses: conda-incubator/setup-miniconda@v2 uses: conda-incubator/setup-miniconda@v2

36
Cargo.lock generated
View File

@ -2366,9 +2366,9 @@ checksum = "bc0000e42512c92e31c2252315bda326620a4e034105e900c98ec492fa077b3e"
[[package]] [[package]]
name = "js-sys" name = "js-sys"
version = "0.3.61" version = "0.3.62"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "445dde2150c55e483f3d8416706b97ec8e8237c307e5b7b4b8dd15e6af2a0730" checksum = "68c16e1bfd491478ab155fd8b4896b86f9ede344949b641e61501e07c2b8b4d5"
dependencies = [ dependencies = [
"wasm-bindgen", "wasm-bindgen",
] ]
@ -4982,9 +4982,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
[[package]] [[package]]
name = "wasm-bindgen" name = "wasm-bindgen"
version = "0.2.84" version = "0.2.85"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "31f8dcbc21f30d9b8f2ea926ecb58f6b91192c17e9d33594b3df58b2007ca53b" checksum = "5b6cb788c4e39112fbe1822277ef6fb3c55cd86b95cb3d3c4c1c9597e4ac74b4"
dependencies = [ dependencies = [
"cfg-if 1.0.0", "cfg-if 1.0.0",
"wasm-bindgen-macro", "wasm-bindgen-macro",
@ -4992,24 +4992,24 @@ dependencies = [
[[package]] [[package]]
name = "wasm-bindgen-backend" name = "wasm-bindgen-backend"
version = "0.2.84" version = "0.2.85"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "95ce90fd5bcc06af55a641a86428ee4229e44e07033963a2290a8e241607ccb9" checksum = "35e522ed4105a9d626d885b35d62501b30d9666283a5c8be12c14a8bdafe7822"
dependencies = [ dependencies = [
"bumpalo", "bumpalo",
"log", "log",
"once_cell", "once_cell",
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 1.0.109", "syn 2.0.15",
"wasm-bindgen-shared", "wasm-bindgen-shared",
] ]
[[package]] [[package]]
name = "wasm-bindgen-futures" name = "wasm-bindgen-futures"
version = "0.4.34" version = "0.4.35"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f219e0d211ba40266969f6dbdd90636da12f75bee4fc9d6c23d1260dadb51454" checksum = "083abe15c5d88556b77bdf7aef403625be9e327ad37c62c4e4129af740168163"
dependencies = [ dependencies = [
"cfg-if 1.0.0", "cfg-if 1.0.0",
"js-sys", "js-sys",
@ -5019,9 +5019,9 @@ dependencies = [
[[package]] [[package]]
name = "wasm-bindgen-macro" name = "wasm-bindgen-macro"
version = "0.2.84" version = "0.2.85"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c21f77c0bedc37fd5dc21f897894a5ca01e7bb159884559461862ae90c0b4c5" checksum = "358a79a0cb89d21db8120cbfb91392335913e4890665b1a7981d9e956903b434"
dependencies = [ dependencies = [
"quote", "quote",
"wasm-bindgen-macro-support", "wasm-bindgen-macro-support",
@ -5029,22 +5029,22 @@ dependencies = [
[[package]] [[package]]
name = "wasm-bindgen-macro-support" name = "wasm-bindgen-macro-support"
version = "0.2.84" version = "0.2.85"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2aff81306fcac3c7515ad4e177f521b5c9a15f2b08f4e32d823066102f35a5f6" checksum = "4783ce29f09b9d93134d41297aded3a712b7b979e9c6f28c32cb88c973a94869"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 1.0.109", "syn 2.0.15",
"wasm-bindgen-backend", "wasm-bindgen-backend",
"wasm-bindgen-shared", "wasm-bindgen-shared",
] ]
[[package]] [[package]]
name = "wasm-bindgen-shared" name = "wasm-bindgen-shared"
version = "0.2.84" version = "0.2.85"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0046fef7e28c3804e5e38bfa31ea2a0f73905319b677e57ebe37e49358989b5d" checksum = "a901d592cafaa4d711bc324edfaff879ac700b19c3dfd60058d2b445be2691eb"
[[package]] [[package]]
name = "wayland-client" name = "wayland-client"
@ -5127,9 +5127,9 @@ checksum = "323f4da9523e9a669e1eaf9c6e763892769b1d38c623913647bfdc1532fe4549"
[[package]] [[package]]
name = "web-sys" name = "web-sys"
version = "0.3.61" version = "0.3.62"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e33b99f4b23ba3eec1a53ac264e35a755f00e966e0065077d6027c0f575b0b97" checksum = "16b5f940c7edfdc6d12126d98c9ef4d1b3d470011c47c76a6581df47ad9ba721"
dependencies = [ dependencies = [
"js-sys", "js-sys",
"wasm-bindgen", "wasm-bindgen",

View File

@ -57,7 +57,7 @@ fluent-templates = "0.8.0"
version = "0.3.28" version = "0.3.28"
[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen-futures] [target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen-futures]
version = "0.4.34" version = "0.4.35"
[features] [features]
default = [] default = []

View File

@ -18,7 +18,7 @@ smallvec = { version = "1.10.0", features = ["union"] }
downcast-rs = "1.2.0" downcast-rs = "1.2.0"
lyon = { version = "1.0.1", optional = true } lyon = { version = "1.0.1", optional = true }
thiserror = "1.0" thiserror = "1.0"
wasm-bindgen = { version = "=0.2.84", optional = true } wasm-bindgen = { version = "=0.2.85", optional = true }
gc-arena = { workspace = true } gc-arena = { workspace = true }
enum-map = "2.5.0" enum-map = "2.5.0"
serde = { version = "1.0.160", features = ["derive"] } serde = { version = "1.0.160", features = ["derive"] }

View File

@ -8,10 +8,10 @@ repository.workspace = true
version.workspace = true version.workspace = true
[dependencies] [dependencies]
js-sys = "0.3.61" js-sys = "0.3.62"
log = "0.4" log = "0.4"
ruffle_web_common = { path = "../../web/common" } ruffle_web_common = { path = "../../web/common" }
wasm-bindgen = "=0.2.84" wasm-bindgen = "=0.2.85"
fnv = "1.0.7" fnv = "1.0.7"
ruffle_render = { path = "..", features = ["web"] } ruffle_render = { path = "..", features = ["web"] }
gc-arena = { workspace = true } gc-arena = { workspace = true }
@ -19,7 +19,7 @@ swf = { path = "../../swf" }
downcast-rs = "1.2.0" downcast-rs = "1.2.0"
[dependencies.web-sys] [dependencies.web-sys]
version = "0.3.61" version = "0.3.62"
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

@ -8,11 +8,11 @@ repository.workspace = true
version.workspace = true version.workspace = true
[dependencies] [dependencies]
js-sys = "0.3.61" js-sys = "0.3.62"
log = "0.4" log = "0.4"
ruffle_web_common = { path = "../../web/common" } ruffle_web_common = { path = "../../web/common" }
ruffle_render = { path = "..", features = ["tessellator", "web"] } ruffle_render = { path = "..", features = ["tessellator", "web"] }
wasm-bindgen = "=0.2.84" wasm-bindgen = "=0.2.85"
bytemuck = { version = "1.13.1", features = ["derive"] } bytemuck = { version = "1.13.1", features = ["derive"] }
gc-arena = { workspace = true } gc-arena = { workspace = true }
fnv = "1.0.7" fnv = "1.0.7"
@ -21,7 +21,7 @@ thiserror = "1.0"
downcast-rs = "1.2.0" downcast-rs = "1.2.0"
[dependencies.web-sys] [dependencies.web-sys]
version = "0.3.61" version = "0.3.62"
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

@ -34,7 +34,7 @@ version = "0.3.28"
# wasm # wasm
[target.'cfg(target_family = "wasm")'.dependencies.web-sys] [target.'cfg(target_family = "wasm")'.dependencies.web-sys]
version = "0.3.61" version = "0.3.62"
features = ["HtmlCanvasElement"] features = ["HtmlCanvasElement"]
[features] [features]

View File

@ -29,7 +29,7 @@ profiling = []
[dependencies] [dependencies]
console_error_panic_hook = { version = "0.1.7", optional = true } console_error_panic_hook = { version = "0.1.7", optional = true }
generational-arena = "0.2.8" generational-arena = "0.2.8"
js-sys = "0.3.61" js-sys = "0.3.62"
tracing = { version = "0.1.37", features = ["log"] } tracing = { version = "0.1.37", features = ["log"] }
tracing-subscriber = { version = "0.3.17", default-features = false, features = ["registry"] } tracing-subscriber = { version = "0.3.17", default-features = false, features = ["registry"] }
tracing-log = "0.1.3" tracing-log = "0.1.3"
@ -41,8 +41,8 @@ ruffle_render_webgl = { path = "../render/webgl", optional = true }
ruffle_render_wgpu = { path = "../render/wgpu", optional = true } ruffle_render_wgpu = { path = "../render/wgpu", optional = true }
ruffle_video_software = { path = "../video/software" } ruffle_video_software = { path = "../video/software" }
url = "2.3.1" url = "2.3.1"
wasm-bindgen = "=0.2.84" wasm-bindgen = "=0.2.85"
wasm-bindgen-futures = "0.4.34" wasm-bindgen-futures = "0.4.35"
serde-wasm-bindgen = "0.5.0" serde-wasm-bindgen = "0.5.0"
chrono = { version = "0.4", default-features = false, features = ["wasmbind", "clock"] } chrono = { version = "0.4", default-features = false, features = ["wasmbind", "clock"] }
getrandom = { version = "0.2", features = ["js"] } getrandom = { version = "0.2", features = ["js"] }
@ -56,7 +56,7 @@ default-features = false
features = ["audio", "mp3", "nellymoser", "wasm-bindgen", "default", "default_compatibility_rules"] features = ["audio", "mp3", "nellymoser", "wasm-bindgen", "default", "default_compatibility_rules"]
[dependencies.web-sys] [dependencies.web-sys]
version = "0.3.61" version = "0.3.62"
features = [ features = [
"AddEventListenerOptions", "AudioBuffer", "AudioBufferSourceNode", "AudioContext", "AddEventListenerOptions", "AudioBuffer", "AudioBufferSourceNode", "AudioContext",
"AudioDestinationNode", "AudioNode", "AudioParam", "Blob", "BlobPropertyBag", "AudioDestinationNode", "AudioNode", "AudioParam", "Blob", "BlobPropertyBag",

View File

@ -65,7 +65,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.84`. 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.85`. 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.workspace = true
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
[dependencies] [dependencies]
js-sys = "0.3.61" js-sys = "0.3.62"
tracing = "0.1.37" tracing = "0.1.37"
wasm-bindgen = "=0.2.84" wasm-bindgen = "=0.2.85"
[dependencies.web-sys] [dependencies.web-sys]
version = "0.3.61" version = "0.3.62"
features = ["Window"] features = ["Window"]

View File

@ -20,7 +20,7 @@ RUN wget 'https://sh.rustup.rs' --quiet -O- | sh -s -- -y
ENV PATH="/root/.cargo/bin:$PATH" ENV PATH="/root/.cargo/bin:$PATH"
RUN rustup update RUN rustup update
RUN rustup target add wasm32-unknown-unknown RUN rustup target add wasm32-unknown-unknown
RUN cargo install wasm-bindgen-cli --version 0.2.84 RUN cargo install wasm-bindgen-cli --version 0.2.85
COPY . ruffle COPY . ruffle
WORKDIR ruffle/web WORKDIR ruffle/web
RUN npm install RUN npm install