mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-15 12:44:31 +03:00
Update walrus and wasmparser deps (#2234)
* Update walrus and wasmparser deps Gets some bug fixes and encoding updates for reference types * Update test expectations * Fix test for node 14.5
This commit is contained in:
parent
954a3c4fae
commit
45cf6a4f99
@ -18,13 +18,13 @@ log = "0.4"
|
|||||||
rustc-demangle = "0.1.13"
|
rustc-demangle = "0.1.13"
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
tempfile = "3.0"
|
tempfile = "3.0"
|
||||||
walrus = "0.17.0"
|
walrus = "0.18.0"
|
||||||
wasm-bindgen-externref-xform = { path = '../externref-xform', version = '=0.2.64' }
|
wasm-bindgen-externref-xform = { path = '../externref-xform', version = '=0.2.64' }
|
||||||
wasm-bindgen-multi-value-xform = { path = '../multi-value-xform', version = '=0.2.64' }
|
wasm-bindgen-multi-value-xform = { path = '../multi-value-xform', version = '=0.2.64' }
|
||||||
wasm-bindgen-shared = { path = "../shared", version = '=0.2.64' }
|
wasm-bindgen-shared = { path = "../shared", version = '=0.2.64' }
|
||||||
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.64' }
|
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.64' }
|
||||||
wasm-bindgen-wasm-conventions = { path = '../wasm-conventions', version = '=0.2.64' }
|
wasm-bindgen-wasm-conventions = { path = '../wasm-conventions', version = '=0.2.64' }
|
||||||
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.64' }
|
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.64' }
|
||||||
wit-text = "0.7.0"
|
wit-text = "0.8.0"
|
||||||
wit-walrus = "0.4.0"
|
wit-walrus = "0.5.0"
|
||||||
wit-validator = "0.2.0"
|
wit-validator = "0.2.0"
|
||||||
|
@ -24,7 +24,7 @@ rouille = { version = "3.0.0", default-features = false }
|
|||||||
serde = { version = "1.0", features = ['derive'] }
|
serde = { version = "1.0", features = ['derive'] }
|
||||||
serde_derive = "1.0"
|
serde_derive = "1.0"
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
walrus = { version = "0.17.0", features = ['parallel'] }
|
walrus = { version = "0.18.0", features = ['parallel'] }
|
||||||
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.64" }
|
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.64" }
|
||||||
wasm-bindgen-shared = { path = "../shared", version = "=0.2.64" }
|
wasm-bindgen-shared = { path = "../shared", version = "=0.2.64" }
|
||||||
|
|
||||||
@ -34,11 +34,10 @@ diff = "0.1"
|
|||||||
predicates = "1.0.0"
|
predicates = "1.0.0"
|
||||||
rayon = "1.0"
|
rayon = "1.0"
|
||||||
tempfile = "3.0"
|
tempfile = "3.0"
|
||||||
walrus = "0.17"
|
|
||||||
wit-printer = "0.2"
|
wit-printer = "0.2"
|
||||||
wit-text = "0.7"
|
wit-text = "0.8"
|
||||||
wit-validator = "0.2"
|
wit-validator = "0.2"
|
||||||
wit-walrus = "0.4"
|
wit-walrus = "0.5"
|
||||||
|
|
||||||
[[test]]
|
[[test]]
|
||||||
name = "reference"
|
name = "reference"
|
||||||
|
@ -13,12 +13,12 @@ edition = '2018'
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0"
|
anyhow = "1.0"
|
||||||
walrus = "0.17.0"
|
walrus = "0.18.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
rayon = "1.0"
|
rayon = "1.0"
|
||||||
wasmprinter = "0.2"
|
wasmprinter = "0.2"
|
||||||
wast = "17.0"
|
wast = "21.0"
|
||||||
wat = "1.0"
|
wat = "1.0"
|
||||||
|
|
||||||
[[test]]
|
[[test]]
|
||||||
|
@ -13,12 +13,12 @@ edition = "2018"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0"
|
anyhow = "1.0"
|
||||||
walrus = "0.17.0"
|
walrus = "0.18.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
rayon = "1.0"
|
rayon = "1.0"
|
||||||
wasmprinter = "0.2"
|
wasmprinter = "0.2"
|
||||||
wast = "17.0"
|
wast = "21.0"
|
||||||
wat = "1.0"
|
wat = "1.0"
|
||||||
|
|
||||||
[[test]]
|
[[test]]
|
||||||
|
@ -13,5 +13,5 @@ edition = "2018"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0"
|
anyhow = "1.0"
|
||||||
walrus = "0.17.0"
|
walrus = "0.18.0"
|
||||||
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.64" }
|
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.64" }
|
||||||
|
@ -10,5 +10,5 @@ description = "Utilities for working with Wasm codegen conventions (usually esta
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
walrus = "0.17.0"
|
walrus = "0.18.0"
|
||||||
anyhow = "1.0"
|
anyhow = "1.0"
|
||||||
|
@ -14,7 +14,7 @@ edition = '2018'
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0"
|
anyhow = "1.0"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
walrus = "0.17.0"
|
walrus = "0.18.0"
|
||||||
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "0.2.64" }
|
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "0.2.64" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
@ -200,7 +200,7 @@ exports.js_test_inspectable_classes = () => {
|
|||||||
assert.deepStrictEqual(inspectable.toJSON(), { a: inspectable.a });
|
assert.deepStrictEqual(inspectable.toJSON(), { a: inspectable.a });
|
||||||
assert.strictEqual(inspectable.toString(), `{"a":${inspectable.a}}`);
|
assert.strictEqual(inspectable.toString(), `{"a":${inspectable.a}}`);
|
||||||
// Inspectable classes in Node.js have improved console.log formatting as well
|
// Inspectable classes in Node.js have improved console.log formatting as well
|
||||||
assert.strictEqual(console_log_to_string(inspectable), `Inspectable { a: ${inspectable.a} }`);
|
assert(console_log_to_string(inspectable).endsWith(`{ a: ${inspectable.a} }`));
|
||||||
// Non-inspectable classes do not have a toJSON or toString generated
|
// Non-inspectable classes do not have a toJSON or toString generated
|
||||||
assert.strictEqual(not_inspectable.toJSON, undefined);
|
assert.strictEqual(not_inspectable.toJSON, undefined);
|
||||||
assert.strictEqual(not_inspectable.toString(), '[object Object]');
|
assert.strictEqual(not_inspectable.toString(), '[object Object]');
|
||||||
|
Loading…
Reference in New Issue
Block a user