diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a182a17e12..47872006454 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,47 @@ Released YYYY-MM-DD. -------------------------------------------------------------------------------- +## 0.2.40 + +Released 2019-03-21. + +### Added + +* TypeScript and JS generation will now attempt to preserve argument names in + the generated JS where possible. + [#1344](https://github.com/rustwasm/wasm-bindgen/pull/1344) + +* Enable `Option` support for enums defined in WebIDL. + [#1350](https://github.com/rustwasm/wasm-bindgen/pull/1350) + +* Add a `raw_module` attribute to `#[wasm_bindgen]` which is the same as + `module` except doesn't attempt to recognize `./`, `../`, `or `/` prefixed + paths. + [#1353](https://github.com/rustwasm/wasm-bindgen/pull/1353) + +* The `wasm-bindgen` CLI flags have now all been renamed under a `--target` + flag. Instead of `--web` you'll now pass `--target web`, for example. This + increases consistency between the `wasm-bindgen` and `wasm-pack` CLI. + [#1369](https://github.com/rustwasm/wasm-bindgen/pull/1369) + +### Fixed + +* Definitions for `TypedArray` imports of `js-sys` have been unified with a + macro to improve consistency and fix future bugs. + [#1371](https://github.com/rustwasm/wasm-bindgen/pull/1371) + +* Usage of `--no-modules` in CloudFlare workers should now work by default. + [#1384](https://github.com/rustwasm/wasm-bindgen/pull/1384) + +* A use-after-free when a closure is reinvoked after being destroyed on the Rust + die has been fixed. + [#1385](https://github.com/rustwasm/wasm-bindgen/pull/1385) + +* A bug causing nondeterministic generation of JS bindings has been fixed. + [#1383](https://github.com/rustwasm/wasm-bindgen/pull/1383) + +-------------------------------------------------------------------------------- + ## 0.2.39 Released 2018-03-13. diff --git a/Cargo.toml b/Cargo.toml index 9a0b1ffd0d5..7810b7ea42e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen" -version = "0.2.39" +version = "0.2.40" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" readme = "README.md" @@ -34,13 +34,13 @@ strict-macro = ["wasm-bindgen-macro/strict-macro"] xxx_debug_only_print_generated_code = ["wasm-bindgen-macro/xxx_debug_only_print_generated_code"] [dependencies] -wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.39" } +wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.40" } serde = { version = "1.0", optional = true } serde_json = { version = "1.0", optional = true } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] -js-sys = { path = 'crates/js-sys', version = '0.3.16' } -wasm-bindgen-test = { path = 'crates/test', version = '=0.2.39' } +js-sys = { path = 'crates/js-sys', version = '0.3.17' } +wasm-bindgen-test = { path = 'crates/test', version = '=0.2.40' } serde_derive = "1.0" wasm-bindgen-test-crate-a = { path = 'tests/crates/a', version = '0.1' } wasm-bindgen-test-crate-b = { path = 'tests/crates/b', version = '0.1' } diff --git a/crates/anyref-xform/Cargo.toml b/crates/anyref-xform/Cargo.toml index c725daa38df..7c8e54194b9 100644 --- a/crates/anyref-xform/Cargo.toml +++ b/crates/anyref-xform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-anyref-xform" -version = "0.2.39" +version = "0.2.40" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/anyref-xform" diff --git a/crates/backend/Cargo.toml b/crates/backend/Cargo.toml index 14a9fb0a0c5..20988db5d6d 100644 --- a/crates/backend/Cargo.toml +++ b/crates/backend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-backend" -version = "0.2.39" +version = "0.2.40" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend" @@ -21,4 +21,4 @@ log = "0.4" proc-macro2 = "0.4.8" quote = '0.6' syn = { version = '0.15', features = ['full'] } -wasm-bindgen-shared = { path = "../shared", version = "=0.2.39" } +wasm-bindgen-shared = { path = "../shared", version = "=0.2.40" } diff --git a/crates/cli-support/Cargo.toml b/crates/cli-support/Cargo.toml index b8d87da0b4c..8f19d8ec5b3 100644 --- a/crates/cli-support/Cargo.toml +++ b/crates/cli-support/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-cli-support" -version = "0.2.39" +version = "0.2.40" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli-support" @@ -18,7 +18,7 @@ log = "0.4" rustc-demangle = "0.1.13" tempfile = "3.0" walrus = "0.5.0" -wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.39' } -wasm-bindgen-shared = { path = "../shared", version = '=0.2.39' } -wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.39' } -wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.39' } +wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.40' } +wasm-bindgen-shared = { path = "../shared", version = '=0.2.40' } +wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.40' } +wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.40' } diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index 72b61c64594..aa646f4018d 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-cli" -version = "0.2.39" +version = "0.2.40" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli" @@ -25,8 +25,8 @@ serde = { version = "1.0", features = ['derive'] } serde_derive = "1.0" serde_json = "1.0" walrus = "0.5" -wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.39" } -wasm-bindgen-shared = { path = "../shared", version = "=0.2.39" } +wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.40" } +wasm-bindgen-shared = { path = "../shared", version = "=0.2.40" } [features] vendored-openssl = ['openssl/vendored'] diff --git a/crates/futures/Cargo.toml b/crates/futures/Cargo.toml index 958f0a4570d..bf28eb6f9b5 100644 --- a/crates/futures/Cargo.toml +++ b/crates/futures/Cargo.toml @@ -7,12 +7,12 @@ license = "MIT/Apache-2.0" name = "wasm-bindgen-futures" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/futures" readme = "./README.md" -version = "0.3.16" +version = "0.3.17" [dependencies] futures = "0.1.20" -js-sys = { path = "../js-sys", version = '0.3.16' } -wasm-bindgen = { path = "../..", version = '0.2.39' } +js-sys = { path = "../js-sys", version = '0.3.17' } +wasm-bindgen = { path = "../..", version = '0.2.40' } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] -wasm-bindgen-test = { path = '../test', version = '0.2.39' } +wasm-bindgen-test = { path = '../test', version = '0.2.40' } diff --git a/crates/js-sys/Cargo.toml b/crates/js-sys/Cargo.toml index ba2f875c9ee..d36ec0d4790 100644 --- a/crates/js-sys/Cargo.toml +++ b/crates/js-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "js-sys" -version = "0.3.16" +version = "0.3.17" authors = ["The wasm-bindgen Developers"] readme = "./README.md" categories = ["wasm"] @@ -18,9 +18,9 @@ test = false doctest = false [dependencies] -wasm-bindgen = { path = "../..", version = "0.2.39" } +wasm-bindgen = { path = "../..", version = "0.2.40" } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] futures = "0.1.20" -wasm-bindgen-test = { path = '../test', version = '=0.2.39' } -wasm-bindgen-futures = { path = '../futures', version = '=0.3.16' } +wasm-bindgen-test = { path = '../test', version = '=0.2.40' } +wasm-bindgen-futures = { path = '../futures', version = '=0.3.17' } diff --git a/crates/macro-support/Cargo.toml b/crates/macro-support/Cargo.toml index 219c72ff1d9..72b5185c736 100644 --- a/crates/macro-support/Cargo.toml +++ b/crates/macro-support/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-macro-support" -version = "0.2.39" +version = "0.2.40" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro-support" @@ -20,5 +20,5 @@ strict-macro = [] syn = { version = '0.15.0', features = ['visit'] } quote = '0.6' proc-macro2 = "0.4.9" -wasm-bindgen-backend = { path = "../backend", version = "=0.2.39" } -wasm-bindgen-shared = { path = "../shared", version = "=0.2.39" } +wasm-bindgen-backend = { path = "../backend", version = "=0.2.40" } +wasm-bindgen-shared = { path = "../shared", version = "=0.2.40" } diff --git a/crates/macro/Cargo.toml b/crates/macro/Cargo.toml index d4f15336155..b85ca06c15c 100644 --- a/crates/macro/Cargo.toml +++ b/crates/macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-macro" -version = "0.2.39" +version = "0.2.40" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro" @@ -19,5 +19,5 @@ xxx_debug_only_print_generated_code = [] strict-macro = ["wasm-bindgen-macro-support/strict-macro"] [dependencies] -wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.39" } +wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.40" } quote = "0.6" diff --git a/crates/shared/Cargo.toml b/crates/shared/Cargo.toml index 5b096217fc3..ad23cd15782 100644 --- a/crates/shared/Cargo.toml +++ b/crates/shared/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-shared" -version = "0.2.39" +version = "0.2.40" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/shared" diff --git a/crates/test-macro/Cargo.toml b/crates/test-macro/Cargo.toml index 14010091189..b602a28a687 100644 --- a/crates/test-macro/Cargo.toml +++ b/crates/test-macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-test-macro" -version = "0.2.39" +version = "0.2.40" authors = ["The wasm-bindgen Developers"] description = "Internal testing macro for wasm-bindgen" license = "MIT/Apache-2.0" diff --git a/crates/test/Cargo.toml b/crates/test/Cargo.toml index fec00359a52..99232fe5487 100644 --- a/crates/test/Cargo.toml +++ b/crates/test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-test" -version = "0.2.39" +version = "0.2.40" authors = ["The wasm-bindgen Developers"] description = "Internal testing crate for wasm-bindgen" license = "MIT/Apache-2.0" @@ -9,11 +9,11 @@ repository = "https://github.com/rustwasm/wasm-bindgen" [dependencies] console_error_panic_hook = '0.1' futures = "0.1" -js-sys = { path = '../js-sys', version = '0.3.16' } +js-sys = { path = '../js-sys', version = '0.3.17' } scoped-tls = "1.0" -wasm-bindgen = { path = '../..', version = '0.2.39' } -wasm-bindgen-futures = { path = '../futures', version = '0.3.16' } -wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.39' } +wasm-bindgen = { path = '../..', version = '0.2.40' } +wasm-bindgen-futures = { path = '../futures', version = '0.3.17' } +wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.40' } [lib] test = false diff --git a/crates/threads-xform/Cargo.toml b/crates/threads-xform/Cargo.toml index c57324acc25..c2b9a410b4f 100644 --- a/crates/threads-xform/Cargo.toml +++ b/crates/threads-xform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-threads-xform" -version = "0.2.39" +version = "0.2.40" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/threads-xform" diff --git a/crates/wasm-interpreter/Cargo.toml b/crates/wasm-interpreter/Cargo.toml index 58a167747c0..76b8d898b04 100644 --- a/crates/wasm-interpreter/Cargo.toml +++ b/crates/wasm-interpreter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-wasm-interpreter" -version = "0.2.39" +version = "0.2.40" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/wasm-interpreter" diff --git a/crates/web-sys/Cargo.toml b/crates/web-sys/Cargo.toml index 931bb2b5d9c..57eaa917048 100644 --- a/crates/web-sys/Cargo.toml +++ b/crates/web-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "web-sys" -version = "0.3.16" +version = "0.3.17" authors = ["The wasm-bindgen Developers"] readme = "./README.md" homepage = "https://rustwasm.github.io/wasm-bindgen/web-sys/index.html" @@ -21,17 +21,17 @@ test = false [build-dependencies] env_logger = "0.6.0" failure = "0.1.2" -wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.39" } +wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.40" } sourcefile = "0.1" [dependencies] -wasm-bindgen = { path = "../..", version = "0.2.39" } -js-sys = { path = '../js-sys', version = '0.3.16' } +wasm-bindgen = { path = "../..", version = "0.2.40" } +js-sys = { path = '../js-sys', version = '0.3.17' } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] futures = "0.1" -wasm-bindgen-test = { path = '../test', version = '0.2.39' } -wasm-bindgen-futures = { path = '../futures', version = '0.3.16' } +wasm-bindgen-test = { path = '../test', version = '0.2.40' } +wasm-bindgen-futures = { path = '../futures', version = '0.3.17' } # This list is generated by passing `__WASM_BINDGEN_DUMP_FEATURES=foo` when # compiling this crate which dumps the total list of features to a file called diff --git a/crates/webidl/Cargo.toml b/crates/webidl/Cargo.toml index 98c35cd2ee3..104ac596dd9 100644 --- a/crates/webidl/Cargo.toml +++ b/crates/webidl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-webidl" -version = "0.2.39" +version = "0.2.40" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" categories = ["wasm"] @@ -18,5 +18,5 @@ log = "0.4.1" proc-macro2 = "0.4.8" quote = '0.6' syn = { version = '0.15', features = ['full'] } -wasm-bindgen-backend = { version = "=0.2.39", path = "../backend" } +wasm-bindgen-backend = { version = "=0.2.40", path = "../backend" } weedle = "0.8" diff --git a/examples/add/Cargo.toml b/examples/add/Cargo.toml index 92a837f9fe3..f1b3dff9cd9 100644 --- a/examples/add/Cargo.toml +++ b/examples/add/Cargo.toml @@ -8,4 +8,4 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.39" +wasm-bindgen = "0.2.40" diff --git a/examples/canvas/Cargo.toml b/examples/canvas/Cargo.toml index b6dd71fcd7d..5a4dc531621 100644 --- a/examples/canvas/Cargo.toml +++ b/examples/canvas/Cargo.toml @@ -8,8 +8,8 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -js-sys = "0.3.16" -wasm-bindgen = "0.2.39" +js-sys = "0.3.17" +wasm-bindgen = "0.2.40" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/char/Cargo.toml b/examples/char/Cargo.toml index 6e8d1eb9276..2f708ec25b9 100644 --- a/examples/char/Cargo.toml +++ b/examples/char/Cargo.toml @@ -8,4 +8,4 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.39" +wasm-bindgen = "0.2.40" diff --git a/examples/closures/Cargo.toml b/examples/closures/Cargo.toml index aadd2eb8146..8ce7cb01492 100644 --- a/examples/closures/Cargo.toml +++ b/examples/closures/Cargo.toml @@ -8,8 +8,8 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.39" -js-sys = "0.3.16" +wasm-bindgen = "0.2.40" +js-sys = "0.3.17" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/console_log/Cargo.toml b/examples/console_log/Cargo.toml index 2c922e27196..b4696e5c41e 100644 --- a/examples/console_log/Cargo.toml +++ b/examples/console_log/Cargo.toml @@ -8,5 +8,5 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.39" -web-sys = { version = "0.3.16", features = ['console'] } +wasm-bindgen = "0.2.40" +web-sys = { version = "0.3.17", features = ['console'] } diff --git a/examples/dom/Cargo.toml b/examples/dom/Cargo.toml index 73f05375cf6..6b584800dbc 100644 --- a/examples/dom/Cargo.toml +++ b/examples/dom/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.39" +wasm-bindgen = "0.2.40" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/duck-typed-interfaces/Cargo.toml b/examples/duck-typed-interfaces/Cargo.toml index 5eb3d1081bd..82863a93e56 100644 --- a/examples/duck-typed-interfaces/Cargo.toml +++ b/examples/duck-typed-interfaces/Cargo.toml @@ -8,4 +8,4 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.39" +wasm-bindgen = "0.2.40" diff --git a/examples/fetch/Cargo.toml b/examples/fetch/Cargo.toml index d13753557e8..eee401548ce 100644 --- a/examples/fetch/Cargo.toml +++ b/examples/fetch/Cargo.toml @@ -9,9 +9,9 @@ crate-type = ["cdylib"] [dependencies] futures = "0.1.20" -wasm-bindgen = { version = "0.2.39", features = ["serde-serialize"] } -js-sys = "0.3.16" -wasm-bindgen-futures = "0.3.16" +wasm-bindgen = { version = "0.2.40", features = ["serde-serialize"] } +js-sys = "0.3.17" +wasm-bindgen-futures = "0.3.17" serde = { version = "1.0.80", features = ["derive"] } serde_derive = "^1.0.59" diff --git a/examples/guide-supported-types-examples/Cargo.toml b/examples/guide-supported-types-examples/Cargo.toml index 958ff882a27..4426b45b7a9 100644 --- a/examples/guide-supported-types-examples/Cargo.toml +++ b/examples/guide-supported-types-examples/Cargo.toml @@ -8,4 +8,4 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.39" +wasm-bindgen = "0.2.40" diff --git a/examples/hello_world/Cargo.toml b/examples/hello_world/Cargo.toml index 3b20a5f9644..32dfc572ddc 100644 --- a/examples/hello_world/Cargo.toml +++ b/examples/hello_world/Cargo.toml @@ -8,4 +8,4 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.39" +wasm-bindgen = "0.2.40" diff --git a/examples/import_js/Cargo.toml b/examples/import_js/Cargo.toml index 59dfb5a22be..4cc846e01a3 100644 --- a/examples/import_js/Cargo.toml +++ b/examples/import_js/Cargo.toml @@ -8,4 +8,4 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.39" +wasm-bindgen = "0.2.40" diff --git a/examples/julia_set/Cargo.toml b/examples/julia_set/Cargo.toml index 7864b8faa0e..a532ba89f4a 100644 --- a/examples/julia_set/Cargo.toml +++ b/examples/julia_set/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.39" +wasm-bindgen = "0.2.40" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/paint/Cargo.toml b/examples/paint/Cargo.toml index b1c136f7b40..61b425b0f42 100644 --- a/examples/paint/Cargo.toml +++ b/examples/paint/Cargo.toml @@ -8,8 +8,8 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -js-sys = "0.3.16" -wasm-bindgen = "0.2.39" +js-sys = "0.3.17" +wasm-bindgen = "0.2.40" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/performance/Cargo.toml b/examples/performance/Cargo.toml index 2cedaeeab92..d933122fcfb 100644 --- a/examples/performance/Cargo.toml +++ b/examples/performance/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.39" +wasm-bindgen = "0.2.40" humantime = "1" [dependencies.web-sys] diff --git a/examples/raytrace-parallel/Cargo.toml b/examples/raytrace-parallel/Cargo.toml index 6bd4fda1320..26a42fe42ea 100644 --- a/examples/raytrace-parallel/Cargo.toml +++ b/examples/raytrace-parallel/Cargo.toml @@ -10,10 +10,10 @@ crate-type = ["cdylib"] [dependencies] console_error_panic_hook = "0.1" futures = "0.1" -js-sys = "0.3.16" +js-sys = "0.3.17" raytracer = { git = 'https://github.com/alexcrichton/raytracer', branch = 'update-deps' } -wasm-bindgen = { version = "0.2.39", features = ['serde-serialize'] } -wasm-bindgen-futures = "0.3.16" +wasm-bindgen = { version = "0.2.40", features = ['serde-serialize'] } +wasm-bindgen-futures = "0.3.17" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/request-animation-frame/Cargo.toml b/examples/request-animation-frame/Cargo.toml index 1c906bab4f1..5cd41996ce9 100644 --- a/examples/request-animation-frame/Cargo.toml +++ b/examples/request-animation-frame/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.39" +wasm-bindgen = "0.2.40" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/todomvc/Cargo.toml b/examples/todomvc/Cargo.toml index 0b75b7af5aa..32ff302e303 100644 --- a/examples/todomvc/Cargo.toml +++ b/examples/todomvc/Cargo.toml @@ -11,8 +11,8 @@ crate-type = ["cdylib"] askama = "0.7.2" [dependencies] -js-sys = "0.3.16" -wasm-bindgen = "0.2.39" +js-sys = "0.3.17" +wasm-bindgen = "0.2.40" askama = "0.7.2" console_error_panic_hook = "0.1.5" diff --git a/examples/wasm-in-wasm/Cargo.toml b/examples/wasm-in-wasm/Cargo.toml index 573520394aa..817b3e90e05 100644 --- a/examples/wasm-in-wasm/Cargo.toml +++ b/examples/wasm-in-wasm/Cargo.toml @@ -8,5 +8,5 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.39" -js-sys = "0.3.16" +wasm-bindgen = "0.2.40" +js-sys = "0.3.17" diff --git a/examples/wasm2js/Cargo.toml b/examples/wasm2js/Cargo.toml index 24784126018..5c100132df4 100644 --- a/examples/wasm2js/Cargo.toml +++ b/examples/wasm2js/Cargo.toml @@ -8,4 +8,4 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.39" +wasm-bindgen = "0.2.40" diff --git a/examples/webaudio/Cargo.toml b/examples/webaudio/Cargo.toml index ef5b9fffe88..9e6a03b6706 100644 --- a/examples/webaudio/Cargo.toml +++ b/examples/webaudio/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.39" +wasm-bindgen = "0.2.40" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/webgl/Cargo.toml b/examples/webgl/Cargo.toml index d9783ddfef4..a0031931b3b 100644 --- a/examples/webgl/Cargo.toml +++ b/examples/webgl/Cargo.toml @@ -8,8 +8,8 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -js-sys = "0.3.16" -wasm-bindgen = "0.2.39" +js-sys = "0.3.17" +wasm-bindgen = "0.2.40" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/without-a-bundler/Cargo.toml b/examples/without-a-bundler/Cargo.toml index bca30cf91a5..0196551f600 100644 --- a/examples/without-a-bundler/Cargo.toml +++ b/examples/without-a-bundler/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.39" +wasm-bindgen = "0.2.40" [dependencies.web-sys] version = "0.3.4"