Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update wasm-bindgen to v0.2.92 #15424

Merged
merged 2 commits into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ jobs:
# 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.
- name: Install wasm-bindgen
run: cargo install wasm-bindgen-cli --version 0.2.91
run: cargo install wasm-bindgen-cli --version 0.2.92

- name: Setup conda
uses: conda-incubator/setup-miniconda@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_extension_dockerfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
registry-url: https://registry.npmjs.org

- name: Install wasm-bindgen
run: cargo install wasm-bindgen-cli --version 0.2.91
run: cargo install wasm-bindgen-cli --version 0.2.92

- name: Setup conda
uses: conda-incubator/setup-miniconda@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,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.91
run: cargo install wasm-bindgen-cli --version 0.2.92

- name: Setup conda
uses: conda-incubator/setup-miniconda@v3
Expand Down
32 changes: 16 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ id3 = "1.12.0"
version = "0.3.30"

[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen-futures]
version = "0.4.41"
version = "0.4.42"

[features]
default = []
Expand Down
2 changes: 1 addition & 1 deletion render/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ downcast-rs = "1.2.0"
lyon = { version = "1.0.1", optional = true }
lyon_geom = "1.0.5"
thiserror = "1.0"
wasm-bindgen = { version = "=0.2.91", optional = true }
wasm-bindgen = { version = "=0.2.92", optional = true }
enum-map = "2.7.3"
serde = { version = "1.0.197", features = ["derive"] }
clap = { version = "4.5.1", features = ["derive"], optional = true }
Expand Down
6 changes: 3 additions & 3 deletions render/canvas/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ version.workspace = true
workspace = true

[dependencies]
js-sys = "0.3.68"
js-sys = "0.3.69"
log = "0.4"
ruffle_web_common = { path = "../../web/common" }
wasm-bindgen = "=0.2.91"
wasm-bindgen = "=0.2.92"
fnv = "1.0.7"
ruffle_render = { path = "..", features = ["web"] }
swf = { path = "../../swf" }
downcast-rs = "1.2.0"

[dependencies.web-sys]
version = "0.3.68"
version = "0.3.69"
features = [
"CanvasGradient", "CanvasPattern", "CanvasRenderingContext2d", "CanvasWindingRule", "CssStyleDeclaration",
"Document", "DomMatrix", "Element", "HtmlCanvasElement", "ImageData", "Navigator", "Path2d", "SvgMatrix",
Expand Down
6 changes: 3 additions & 3 deletions render/webgl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ version.workspace = true
workspace = true

[dependencies]
js-sys = "0.3.68"
js-sys = "0.3.69"
log = "0.4"
ruffle_web_common = { path = "../../web/common" }
ruffle_render = { path = "..", features = ["tessellator", "web"] }
wasm-bindgen = "=0.2.91"
wasm-bindgen = "=0.2.92"
bytemuck = { version = "1.14.3", features = ["derive"] }
fnv = "1.0.7"
swf = { path = "../../swf" }
thiserror = "1.0"
downcast-rs = "1.2.0"

[dependencies.web-sys]
version = "0.3.68"
version = "0.3.69"
features = [
"HtmlCanvasElement", "OesVertexArrayObject", "WebGl2RenderingContext", "WebGlBuffer", "WebglDebugRendererInfo",
"WebGlFramebuffer", "WebGlProgram", "WebGlRenderbuffer", "WebGlRenderingContext", "WebGlShader", "WebGlTexture",
Expand Down
2 changes: 1 addition & 1 deletion render/wgpu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ version = "0.3.30"

# wasm
[target.'cfg(target_family = "wasm")'.dependencies.web-sys]
version = "0.3.68"
version = "0.3.69"
features = ["HtmlCanvasElement"]

[features]
Expand Down
8 changes: 4 additions & 4 deletions web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ profiling = []
[dependencies]
console_error_panic_hook = { version = "0.1.7", optional = true }
slotmap = { workspace = true }
js-sys = "0.3.68"
js-sys = "0.3.69"
tracing = { workspace = true, features = ["log"] }
tracing-subscriber = { version = "0.3.18", default-features = false, features = ["registry"] }
tracing-log = "0.2.0"
Expand All @@ -45,8 +45,8 @@ ruffle_render_webgl = { path = "../render/webgl", optional = true }
ruffle_render_wgpu = { path = "../render/wgpu", optional = true }
ruffle_video_software = { path = "../video/software" }
url = "2.5.0"
wasm-bindgen = "=0.2.91"
wasm-bindgen-futures = "0.4.41"
wasm-bindgen = "=0.2.92"
wasm-bindgen-futures = "0.4.42"
serde-wasm-bindgen = "0.6.5"
chrono = { version = "0.4", default-features = false, features = ["wasmbind", "clock"] }
getrandom = { version = "0.2", features = ["js"] }
Expand All @@ -65,7 +65,7 @@ path = "../core"
features = ["audio", "mp3", "nellymoser", "default_compatibility_rules", "default_font"]

[dependencies.web-sys]
version = "0.3.68"
version = "0.3.69"
features = [
"AddEventListenerOptions", "AudioBuffer", "AudioBufferSourceNode", "AudioContext",
"AudioDestinationNode", "AudioNode", "AudioParam", "Blob", "BlobPropertyBag",
Expand Down
2 changes: 1 addition & 1 deletion web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`. -->

This can be installed with `cargo install wasm-bindgen-cli --version 0.2.91`. 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.92`. Be sure to install this specific version of `wasm-bindgen-cli` to match the version used by Ruffle.

#### Binaryen

Expand Down
6 changes: 3 additions & 3 deletions web/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ license = "MIT OR Apache-2.0"
workspace = true

[dependencies]
js-sys = "0.3.68"
js-sys = "0.3.69"
tracing = { workspace = true }
wasm-bindgen = "=0.2.91"
wasm-bindgen = "=0.2.92"

[dependencies.web-sys]
version = "0.3.68"
version = "0.3.69"
features = ["Window"]
2 changes: 1 addition & 1 deletion web/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM node:20
# Installing Rust using rustup:
RUN wget 'https://sh.rustup.rs' --quiet -O- | sh -s -- -y --profile minimal --target wasm32-unknown-unknown
ENV PATH="/root/.cargo/bin:$PATH"
RUN cargo install wasm-bindgen-cli --version 0.2.91
RUN cargo install wasm-bindgen-cli --version 0.2.92
# Building Ruffle:
COPY . ruffle
WORKDIR ruffle/web
Expand Down