From db8d3e441229f14fb6890740017bc0101bb7ab94 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 3 Mar 2020 10:55:51 -0600 Subject: [PATCH] Bump to 0.2.59 (#2026) Wow this is a big release! --- CHANGELOG.md | 80 +++++++++++++++++++ Cargo.toml | 10 +-- crates/anyref-xform/Cargo.toml | 2 +- crates/backend/Cargo.toml | 4 +- crates/cli-support/Cargo.toml | 14 ++-- crates/cli/Cargo.toml | 6 +- crates/futures/Cargo.toml | 8 +- crates/js-sys/Cargo.toml | 8 +- crates/macro-support/Cargo.toml | 6 +- crates/macro/Cargo.toml | 8 +- crates/multi-value-xform/Cargo.toml | 2 +- crates/shared/Cargo.toml | 2 +- crates/test-macro/Cargo.toml | 2 +- crates/test/Cargo.toml | 10 +-- crates/threads-xform/Cargo.toml | 4 +- crates/wasm-conventions/Cargo.toml | 2 +- crates/wasm-interpreter/Cargo.toml | 2 +- crates/web-sys/Cargo.toml | 10 +-- crates/webidl/Cargo.toml | 4 +- examples/add/Cargo.toml | 2 +- examples/canvas/Cargo.toml | 4 +- examples/char/Cargo.toml | 2 +- examples/closures/Cargo.toml | 4 +- examples/console_log/Cargo.toml | 4 +- examples/dom/Cargo.toml | 2 +- examples/duck-typed-interfaces/Cargo.toml | 2 +- examples/fetch/Cargo.toml | 6 +- .../guide-supported-types-examples/Cargo.toml | 2 +- examples/hello_world/Cargo.toml | 2 +- examples/import_js/crate/Cargo.toml | 2 +- examples/julia_set/Cargo.toml | 2 +- examples/paint/Cargo.toml | 4 +- examples/performance/Cargo.toml | 2 +- examples/raytrace-parallel/Cargo.toml | 6 +- examples/request-animation-frame/Cargo.toml | 2 +- examples/todomvc/Cargo.toml | 4 +- examples/wasm-in-wasm/Cargo.toml | 6 +- examples/wasm2js/Cargo.toml | 2 +- examples/webaudio/Cargo.toml | 2 +- examples/webgl/Cargo.toml | 4 +- examples/websockets/Cargo.toml | 2 +- examples/without-a-bundler/Cargo.toml | 2 +- 42 files changed, 167 insertions(+), 87 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 303a6e7b6..d8ddf5e00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,86 @@ -------------------------------------------------------------------------------- +## 0.2.59 + +Released 2020-03-03. + +### Added + +* The `js_sys::Number` type now has a number of JS-number associated constants + on it now. + [#1965](https://github.com/rustwasm/wasm-bindgen/pull/1965) + +* The `getTransform` method on `CanvasRenderingContext2D` has been added. + [#1966](https://github.com/rustwasm/wasm-bindgen/pull/1966) + +* Initial experimental support was added for electron targets with a new + `--omit-imports` flag. + [#1958](https://github.com/rustwasm/wasm-bindgen/pull/1958) + +* Optional struct fields are now reflected idiomatically in TypeScript. + [#1990](https://github.com/rustwasm/wasm-bindgen/pull/1990) + +* Typed arrays in `js_sys` onw have `get_index` and `set_index` methods. + [#2001](https://github.com/rustwasm/wasm-bindgen/pull/2001) + +* The `web_sys::Blob` type has been updated with `arrayBuffer` and `text` + methods. + [#2008](https://github.com/rustwasm/wasm-bindgen/pull/2008) + +* Support for unstable browser interfaces has now been added. By compiling + `web_sys` with `--cfg web_sys_unstable_apis` (typically via `RUSTFLAGS`) + you'll be able to access all bound WebIDL functions, even those like GPU + support on the web, which has now also had its WebIDL updated. + [#1997](https://github.com/rustwasm/wasm-bindgen/pull/1997) + +* The compile time for `web_sys` has been massively reduced by pre-generating + Rust code from WebIDL. It is also readable now since it generates + `#[wasm_bindgen]` annotations instead of expanded code. + [#2012](https://github.com/rustwasm/wasm-bindgen/pull/2012) + +* A new `skip_tyepscript` attribute is recognized to skip generating TypeScript + bindings for a function or type. + [#2016](https://github.com/rustwasm/wasm-bindgen/pull/2016) + +### Changed + +* More `uniformMatrix*` bindings now are whitelisted take shared slice instead + of a mutable slice. + [#1957](https://github.com/rustwasm/wasm-bindgen/pull/1957) + +* Non-`dependency` keys in `package.json` are now ignored instead of error'd + about. + [#1969](https://github.com/rustwasm/wasm-bindgen/pull/1969) + +* WebGPU has been removed from `web_sys` since it was outdated and didn't work + anywhere anyway. + [#1972](https://github.com/rustwasm/wasm-bindgen/pull/1972) + +* The JS heap of objects managed by wasm-bindgen has had its definition + tightended up a bit. + [#1987](https://github.com/rustwasm/wasm-bindgen/pull/1987) + +* The `self` identifier is no longe used on the `no-modules` target, making it a + bit more flexible in more environments. + [#1995](https://github.com/rustwasm/wasm-bindgen/pull/1995) + +* The wasm-loading logic is now more flexible and can take promises as well. + [#1996](https://github.com/rustwasm/wasm-bindgen/pull/1996) + +* JS glue for closures is now deduplicated. + [#2002](https://github.com/rustwasm/wasm-bindgen/pull/2002) + +* The `web_sys` crate now emits more accurate TypeScript definitions using named + types instead of `any` everywhere. + [#1998](https://github.com/rustwasm/wasm-bindgen/pull/1998) + +* The `send_with_u8_array` methods in `web_sys` are whitelisted to take shared + slices instead of mutable slices. + [#2015](https://github.com/rustwasm/wasm-bindgen/pull/2015) + +-------------------------------------------------------------------------------- + ## 0.2.58 Released 2020-01-07. diff --git a/Cargo.toml b/Cargo.toml index d5efdc134..d0ec7705b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen" -version = "0.2.58" +version = "0.2.59" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" readme = "README.md" @@ -36,15 +36,15 @@ 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.58" } +wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.59" } serde = { version = "1.0", optional = true } serde_json = { version = "1.0", optional = true } cfg-if = "0.1.9" [target.'cfg(target_arch = "wasm32")'.dev-dependencies] -js-sys = { path = 'crates/js-sys', version = '0.3.35' } -wasm-bindgen-test = { path = 'crates/test', version = '=0.3.8' } -wasm-bindgen-futures = { path = 'crates/futures', version = '=0.4.8' } +js-sys = { path = 'crates/js-sys', version = '0.3.36' } +wasm-bindgen-test = { path = 'crates/test', version = '=0.3.9' } +wasm-bindgen-futures = { path = 'crates/futures', version = '=0.4.9' } 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 243cb549a..58aebd25a 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.58" +version = "0.2.59" 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 c7250edef..7812d6785 100644 --- a/crates/backend/Cargo.toml +++ b/crates/backend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-backend" -version = "0.2.58" +version = "0.2.59" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend" @@ -22,4 +22,4 @@ log = "0.4" proc-macro2 = "1.0" quote = '1.0' syn = { version = '1.0', features = ['full'] } -wasm-bindgen-shared = { path = "../shared", version = "=0.2.58" } +wasm-bindgen-shared = { path = "../shared", version = "=0.2.59" } diff --git a/crates/cli-support/Cargo.toml b/crates/cli-support/Cargo.toml index 47fd5f578..763251ee7 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.58" +version = "0.2.59" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli-support" @@ -19,12 +19,12 @@ rustc-demangle = "0.1.13" serde_json = "1.0" tempfile = "3.0" walrus = "0.14.0" -wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.58' } -wasm-bindgen-multi-value-xform = { path = '../multi-value-xform', version = '=0.2.58' } -wasm-bindgen-shared = { path = "../shared", version = '=0.2.58' } -wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.58' } -wasm-bindgen-wasm-conventions = { path = '../wasm-conventions', version = '=0.2.58' } -wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.58' } +wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.59' } +wasm-bindgen-multi-value-xform = { path = '../multi-value-xform', version = '=0.2.59' } +wasm-bindgen-shared = { path = "../shared", version = '=0.2.59' } +wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.59' } +wasm-bindgen-wasm-conventions = { path = '../wasm-conventions', version = '=0.2.59' } +wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.59' } wit-text = "0.1.1" wit-walrus = "0.1.0" wit-validator = "0.1.0" diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index f29b1e10f..52e3bb465 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-cli" -version = "0.2.58" +version = "0.2.59" 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 = { version = "0.14.0", features = ['parallel'] } -wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.58" } -wasm-bindgen-shared = { path = "../shared", version = "=0.2.58" } +wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.59" } +wasm-bindgen-shared = { path = "../shared", version = "=0.2.59" } [dev-dependencies] assert_cmd = "0.11" diff --git a/crates/futures/Cargo.toml b/crates/futures/Cargo.toml index 728951c03..e2811540c 100644 --- a/crates/futures/Cargo.toml +++ b/crates/futures/Cargo.toml @@ -7,13 +7,13 @@ 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.4.8" +version = "0.4.9" edition = "2018" [dependencies] cfg-if = "0.1.9" -js-sys = { path = "../js-sys", version = '0.3.35' } -wasm-bindgen = { path = "../..", version = '0.2.58' } +js-sys = { path = "../js-sys", version = '0.3.36' } +wasm-bindgen = { path = "../..", version = '0.2.59' } [target.'cfg(target_feature = "atomics")'.dependencies.web-sys] path = "../web-sys" @@ -24,5 +24,5 @@ features = [ ] [target.'cfg(target_arch = "wasm32")'.dev-dependencies] -wasm-bindgen-test = { path = '../test', version = '0.3.8' } +wasm-bindgen-test = { path = '../test', version = '0.3.9' } futures-channel-preview = { version = "0.3.0-alpha.18" } diff --git a/crates/js-sys/Cargo.toml b/crates/js-sys/Cargo.toml index 546683aa5..28c685126 100644 --- a/crates/js-sys/Cargo.toml +++ b/crates/js-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "js-sys" -version = "0.3.35" +version = "0.3.36" authors = ["The wasm-bindgen Developers"] readme = "./README.md" categories = ["wasm"] @@ -19,8 +19,8 @@ test = false doctest = false [dependencies] -wasm-bindgen = { path = "../..", version = "0.2.58" } +wasm-bindgen = { path = "../..", version = "0.2.59" } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] -wasm-bindgen-test = { path = '../test', version = '=0.3.8' } -wasm-bindgen-futures = { path = '../futures', version = '0.4.8' } +wasm-bindgen-test = { path = '../test', version = '=0.3.9' } +wasm-bindgen-futures = { path = '../futures', version = '0.4.9' } diff --git a/crates/macro-support/Cargo.toml b/crates/macro-support/Cargo.toml index ad78f6c4a..0d2ee8432 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.58" +version = "0.2.59" 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 = '1.0', features = ['visit'] } quote = '1.0' proc-macro2 = "1.0" -wasm-bindgen-backend = { path = "../backend", version = "=0.2.58" } -wasm-bindgen-shared = { path = "../shared", version = "=0.2.58" } +wasm-bindgen-backend = { path = "../backend", version = "=0.2.59" } +wasm-bindgen-shared = { path = "../shared", version = "=0.2.59" } diff --git a/crates/macro/Cargo.toml b/crates/macro/Cargo.toml index f1eb82541..831cb52b9 100644 --- a/crates/macro/Cargo.toml +++ b/crates/macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-macro" -version = "0.2.58" +version = "0.2.59" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro" @@ -20,10 +20,10 @@ 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.58" } +wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.59" } quote = "1.0" [dev-dependencies] trybuild = "1.0" -wasm-bindgen = { path = "../..", version = "0.2.58", features = ['strict-macro'] } -wasm-bindgen-futures = { path = "../futures", version = "0.4.8" } +wasm-bindgen = { path = "../..", version = "0.2.59", features = ['strict-macro'] } +wasm-bindgen-futures = { path = "../futures", version = "0.4.9" } diff --git a/crates/multi-value-xform/Cargo.toml b/crates/multi-value-xform/Cargo.toml index f97b3540f..b673e37b2 100644 --- a/crates/multi-value-xform/Cargo.toml +++ b/crates/multi-value-xform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-multi-value-xform" -version = "0.2.58" +version = "0.2.59" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/multi-value-xform" diff --git a/crates/shared/Cargo.toml b/crates/shared/Cargo.toml index 050464180..68e72e5fa 100644 --- a/crates/shared/Cargo.toml +++ b/crates/shared/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-shared" -version = "0.2.58" +version = "0.2.59" 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 f35e10867..91cc51443 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.3.8" +version = "0.3.9" 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 33757c669..41713ebe8 100644 --- a/crates/test/Cargo.toml +++ b/crates/test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-test" -version = "0.3.8" +version = "0.3.9" authors = ["The wasm-bindgen Developers"] description = "Internal testing crate for wasm-bindgen" license = "MIT/Apache-2.0" @@ -9,11 +9,11 @@ edition = "2018" [dependencies] console_error_panic_hook = '0.1' -js-sys = { path = '../js-sys', version = '0.3.35' } +js-sys = { path = '../js-sys', version = '0.3.36' } scoped-tls = "1.0" -wasm-bindgen = { path = '../..', version = '0.2.58' } -wasm-bindgen-futures = { path = '../futures', version = '0.4.8' } -wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.3.8' } +wasm-bindgen = { path = '../..', version = '0.2.59' } +wasm-bindgen-futures = { path = '../futures', version = '0.4.9' } +wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.3.9' } [lib] test = false diff --git a/crates/threads-xform/Cargo.toml b/crates/threads-xform/Cargo.toml index fc7800b9e..cbc7661e9 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.58" +version = "0.2.59" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/threads-xform" @@ -14,4 +14,4 @@ edition = "2018" [dependencies] anyhow = "1.0" walrus = "0.14.0" -wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.58" } +wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.59" } diff --git a/crates/wasm-conventions/Cargo.toml b/crates/wasm-conventions/Cargo.toml index 413c9e30c..4b574304e 100644 --- a/crates/wasm-conventions/Cargo.toml +++ b/crates/wasm-conventions/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-wasm-conventions" -version = "0.2.58" +version = "0.2.59" authors = ["The wasm-bindgen developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/wasm-conventions" diff --git a/crates/wasm-interpreter/Cargo.toml b/crates/wasm-interpreter/Cargo.toml index 098fbf223..9d9d9d4dd 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.58" +version = "0.2.59" 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 73baf7b1c..3499f408c 100644 --- a/crates/web-sys/Cargo.toml +++ b/crates/web-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "web-sys" -version = "0.3.35" +version = "0.3.36" authors = ["The wasm-bindgen Developers"] readme = "./README.md" homepage = "https://rustwasm.github.io/wasm-bindgen/web-sys/index.html" @@ -21,12 +21,12 @@ doctest = false test = false [dependencies] -wasm-bindgen = { path = "../..", version = "0.2.58" } -js-sys = { path = '../js-sys', version = '0.3.35' } +wasm-bindgen = { path = "../..", version = "0.2.59" } +js-sys = { path = '../js-sys', version = '0.3.36' } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] -wasm-bindgen-test = { path = '../test', version = '0.3.8' } -wasm-bindgen-futures = { path = '../futures', version = '0.4.8' } +wasm-bindgen-test = { path = '../test', version = '0.3.9' } +wasm-bindgen-futures = { path = '../futures', version = '0.4.9' } # This list is auto-generated by the wasm-bindgen-webidl program [features] diff --git a/crates/webidl/Cargo.toml b/crates/webidl/Cargo.toml index 284637335..78612a9a8 100644 --- a/crates/webidl/Cargo.toml +++ b/crates/webidl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-webidl" -version = "0.2.58" +version = "0.2.59" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" categories = ["wasm"] @@ -20,7 +20,7 @@ log = "0.4.1" proc-macro2 = "1.0" quote = '1.0' syn = { version = '1.0', features = ['full'] } -wasm-bindgen-backend = { version = "=0.2.58", path = "../backend" } +wasm-bindgen-backend = { version = "=0.2.59", path = "../backend" } weedle = "0.11" lazy_static = "1.0.0" sourcefile = "0.1" diff --git a/examples/add/Cargo.toml b/examples/add/Cargo.toml index de2013d69..6f8481740 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.58" +wasm-bindgen = "0.2.59" diff --git a/examples/canvas/Cargo.toml b/examples/canvas/Cargo.toml index 2d2cc7ae8..86f172de4 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.35" -wasm-bindgen = "0.2.58" +js-sys = "0.3.36" +wasm-bindgen = "0.2.59" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/char/Cargo.toml b/examples/char/Cargo.toml index 41d0d0d87..4dccee5ef 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.58" +wasm-bindgen = "0.2.59" diff --git a/examples/closures/Cargo.toml b/examples/closures/Cargo.toml index 752c27f75..85e608d14 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.58" -js-sys = "0.3.35" +wasm-bindgen = "0.2.59" +js-sys = "0.3.36" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/console_log/Cargo.toml b/examples/console_log/Cargo.toml index c78ec4826..c1951f2df 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.58" -web-sys = { version = "0.3.35", features = ['console'] } +wasm-bindgen = "0.2.59" +web-sys = { version = "0.3.36", features = ['console'] } diff --git a/examples/dom/Cargo.toml b/examples/dom/Cargo.toml index 709806019..14013a0da 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.58" +wasm-bindgen = "0.2.59" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/duck-typed-interfaces/Cargo.toml b/examples/duck-typed-interfaces/Cargo.toml index 737d14138..81f6eb37a 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.58" +wasm-bindgen = "0.2.59" diff --git a/examples/fetch/Cargo.toml b/examples/fetch/Cargo.toml index 789b07bf2..f071f6f8b 100644 --- a/examples/fetch/Cargo.toml +++ b/examples/fetch/Cargo.toml @@ -8,9 +8,9 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = { version = "0.2.58", features = ["serde-serialize"] } -js-sys = "0.3.35" -wasm-bindgen-futures = "0.4.8" +wasm-bindgen = { version = "0.2.59", features = ["serde-serialize"] } +js-sys = "0.3.36" +wasm-bindgen-futures = "0.4.9" 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 3a357acb9..43be0f6f6 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.58" +wasm-bindgen = "0.2.59" diff --git a/examples/hello_world/Cargo.toml b/examples/hello_world/Cargo.toml index c8ef20621..1a8955342 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.58" +wasm-bindgen = "0.2.59" diff --git a/examples/import_js/crate/Cargo.toml b/examples/import_js/crate/Cargo.toml index b698fd8ba..6d4ce869b 100644 --- a/examples/import_js/crate/Cargo.toml +++ b/examples/import_js/crate/Cargo.toml @@ -8,4 +8,4 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.58" +wasm-bindgen = "0.2.59" diff --git a/examples/julia_set/Cargo.toml b/examples/julia_set/Cargo.toml index 2466cb73a..3af5c6b4d 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.58" +wasm-bindgen = "0.2.59" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/paint/Cargo.toml b/examples/paint/Cargo.toml index e4f10ad31..ef8510ae1 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.35" -wasm-bindgen = "0.2.58" +js-sys = "0.3.36" +wasm-bindgen = "0.2.59" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/performance/Cargo.toml b/examples/performance/Cargo.toml index 5cac9adf1..f6abe52e4 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.58" +wasm-bindgen = "0.2.59" humantime = "1" [dependencies.web-sys] diff --git a/examples/raytrace-parallel/Cargo.toml b/examples/raytrace-parallel/Cargo.toml index 09ed1db88..6c16eadc8 100644 --- a/examples/raytrace-parallel/Cargo.toml +++ b/examples/raytrace-parallel/Cargo.toml @@ -9,13 +9,13 @@ crate-type = ["cdylib"] [dependencies] console_error_panic_hook = "0.1" -js-sys = "0.3.35" +js-sys = "0.3.36" rayon = "1.1.0" rayon-core = "1.5.0" raytracer = { git = 'https://github.com/alexcrichton/raytracer', branch = 'update-deps' } futures-channel-preview = "0.3.0-alpha.18" -wasm-bindgen = { version = "0.2.58", features = ['serde-serialize'] } -wasm-bindgen-futures = "0.4.8" +wasm-bindgen = { version = "0.2.59", features = ['serde-serialize'] } +wasm-bindgen-futures = "0.4.9" [dependencies.web-sys] version = "0.3.23" diff --git a/examples/request-animation-frame/Cargo.toml b/examples/request-animation-frame/Cargo.toml index 4fa0c10bc..63312e962 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.58" +wasm-bindgen = "0.2.59" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/todomvc/Cargo.toml b/examples/todomvc/Cargo.toml index ac8aa0940..02e9b8802 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.35" -wasm-bindgen = "0.2.58" +js-sys = "0.3.36" +wasm-bindgen = "0.2.59" 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 2e64ce0ba..db07db2df 100644 --- a/examples/wasm-in-wasm/Cargo.toml +++ b/examples/wasm-in-wasm/Cargo.toml @@ -8,6 +8,6 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.58" -js-sys = "0.3.35" -wasm-bindgen-futures = "0.4.8" +wasm-bindgen = "0.2.59" +js-sys = "0.3.36" +wasm-bindgen-futures = "0.4.9" diff --git a/examples/wasm2js/Cargo.toml b/examples/wasm2js/Cargo.toml index f29dcfbb1..bda60f608 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.58" +wasm-bindgen = "0.2.59" diff --git a/examples/webaudio/Cargo.toml b/examples/webaudio/Cargo.toml index e29fd9aa9..d1e64c1fb 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.58" +wasm-bindgen = "0.2.59" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/webgl/Cargo.toml b/examples/webgl/Cargo.toml index 7e4034a96..5e77f82fe 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.35" -wasm-bindgen = "0.2.58" +js-sys = "0.3.36" +wasm-bindgen = "0.2.59" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/websockets/Cargo.toml b/examples/websockets/Cargo.toml index b47a5f387..440d55b0d 100644 --- a/examples/websockets/Cargo.toml +++ b/examples/websockets/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.58" +wasm-bindgen = "0.2.59" [dependencies.web-sys] version = "0.3.22" diff --git a/examples/without-a-bundler/Cargo.toml b/examples/without-a-bundler/Cargo.toml index 00ffa047d..ac8b4dbc6 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.58" +wasm-bindgen = "0.2.59" [dependencies.web-sys] version = "0.3.4"