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

web: Bump wasm-bindgen to 0.2.79 #6126

Closed
wants to merge 1 commit into from
Closed
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 @@ -237,7 +237,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: install
args: wasm-bindgen-cli --version 0.2.78
args: wasm-bindgen-cli --version 0.2.79

- name: Setup conda
uses: conda-incubator/setup-miniconda@v2
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.78
run: cargo install wasm-bindgen-cli --version 0.2.79

- name: Setup conda
uses: conda-incubator/setup-miniconda@v2
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.

6 changes: 3 additions & 3 deletions render/canvas/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ crate-type = ["cdylib", "rlib"]
[dependencies]
base64 = "0.13.0"
fnv = "1.0.7"
js-sys = "0.3.55"
js-sys = "0.3.56"
log = "0.4"
ruffle_web_common = { path = "../../web/common" }
svg = "0.10.0"
percent-encoding = "2.1.0"
png = "0.17.2"
wasm-bindgen = "=0.2.78"
wasm-bindgen = "=0.2.79"

[dependencies.jpeg-decoder]
version = "0.2.1"
Expand All @@ -28,7 +28,7 @@ path = "../../core"
default-features = false

[dependencies.web-sys]
version = "0.3.50"
version = "0.3.56"
features = [
"CanvasGradient", "CanvasPattern", "CanvasRenderingContext2d", "CanvasWindingRule", "CssStyleDeclaration",
"Document", "Element", "HtmlCanvasElement", "HtmlElement", "HtmlImageElement", "ImageData", "Navigator",
Expand Down
6 changes: 3 additions & 3 deletions render/webgl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ edition = "2021"
license = "MIT OR Apache-2.0"

[dependencies]
js-sys = "0.3.55"
js-sys = "0.3.56"
log = "0.4"
ruffle_render_common_tess = { path = "../common_tess" }
ruffle_web_common = { path = "../../web/common" }
wasm-bindgen = "=0.2.78"
wasm-bindgen = "=0.2.79"
bytemuck = { version = "1.7.3", features = ["derive"] }

[dependencies.ruffle_core]
path = "../../core"
default-features = false

[dependencies.web-sys]
version = "0.3.50"
version = "0.3.56"
features = ["HtmlCanvasElement", "HtmlElement", "Node", "OesVertexArrayObject", "WebGlBuffer", "WebglDebugRendererInfo",
"WebGlFramebuffer", "WebGlProgram", "WebGlRenderbuffer", "WebGlRenderingContext", "WebGl2RenderingContext",
"WebGlShader", "WebGlTexture", "WebGlUniformLocation", "WebGlVertexArrayObject"]
4 changes: 2 additions & 2 deletions render/wgpu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ version = "0.12"

# wasm
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"
version = "0.4.29"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
version = "0.3.56"
features = ["HtmlCanvasElement"]

[target.'cfg(target_arch = "wasm32")'.dependencies.wgpu]
Expand Down
8 changes: 4 additions & 4 deletions web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ console_error_panic_hook = { version = "0.1.7", optional = true }
console_log = { version = "0.2", optional = true }
fnv = "1.0.7"
generational-arena = "0.2.8"
js-sys = "0.3.55"
js-sys = "0.3.56"
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 }
ruffle_render_wgpu = { path = "../render/wgpu", optional = true }
url = "2.2.2"
wasm-bindgen = { version = "=0.2.78", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4.28"
wasm-bindgen = { version = "=0.2.79", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4.29"
chrono = { version = "0.4", features = ["wasmbind"] }
getrandom = { version = "0.2", features = ["js"] }
serde = { version = "1.0.133", features = ["derive"] }
Expand All @@ -53,7 +53,7 @@ default-features = false
features = ["h263", "vp6", "screenvideo", "serde", "wasm-bindgen"]

[dependencies.web-sys]
version = "0.3.50"
version = "0.3.56"
features = [
"AddEventListenerOptions", "AudioBuffer", "AudioBufferSourceNode", "AudioParam", "AudioProcessingEvent", "AudioContext", "AudioDestinationNode",
"AudioNode", "CanvasRenderingContext2d", "ChannelMergerNode", "ChannelSplitterNode", "CssStyleDeclaration", "Document",
Expand Down
2 changes: 1 addition & 1 deletion web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`. -->

This can be installed with `cargo install wasm-bindgen-cli --version 0.2.78`. 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.79`. 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 @@ -6,10 +6,10 @@ edition = "2021"
license = "MIT OR Apache-2.0"

[dependencies]
js-sys = "0.3.55"
js-sys = "0.3.56"
log = "0.4"
wasm-bindgen = "=0.2.78"
wasm-bindgen = "=0.2.79"

[dependencies.web-sys]
version = "0.3.50"
version = "0.3.56"
features = ["Window"]