From 8d8afdcfd6e2108ac040721aeaa6fdf676ca64cb Mon Sep 17 00:00:00 2001 From: Ermal Kaleci Date: Fri, 2 Jun 2023 11:42:41 +0200 Subject: [PATCH] update rust deps (#312) --- executor/Cargo.lock | 12 ++++++------ executor/Cargo.toml | 9 +++------ package.json | 2 +- rust-toolchain.toml | 2 +- yarn.lock | 38 +++++++++++++++++++------------------- 5 files changed, 30 insertions(+), 33 deletions(-) diff --git a/executor/Cargo.lock b/executor/Cargo.lock index 0e0dc7d1..2dfd24bd 100644 --- a/executor/Cargo.lock +++ b/executor/Cargo.lock @@ -453,9 +453,9 @@ dependencies = [ [[package]] name = "console_log" -version = "0.2.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "501a375961cef1a0d44767200e66e4a559283097e91d0730b1d75dfb2f8a1494" +checksum = "be8aed40e4edbf4d3b4431ab260b63fdc40f5780a4766824329ea0f1eefe3c0f" dependencies = [ "log", "web-sys", @@ -1036,9 +1036,9 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "hex-literal" -version = "0.3.4" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ebdb29d2ea9ed0083cd8cece49bbd968021bd99b0849edb4a9a7ee0fdf6a4e0" +checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" [[package]] name = "hmac" @@ -1727,9 +1727,9 @@ dependencies = [ [[package]] name = "serde-wasm-bindgen" -version = "0.4.5" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3b4c031cd0d9014307d82b8abf653c0290fbdaeb4c02d00c63cf52f728628bf" +checksum = "f3b143e2833c57ab9ad3ea280d21fd34e285a42837aeb0ee301f4f41890fa00e" dependencies = [ "js-sys", "serde", diff --git a/executor/Cargo.toml b/executor/Cargo.toml index ee5b9da1..455ac8a7 100644 --- a/executor/Cargo.toml +++ b/executor/Cargo.toml @@ -17,14 +17,14 @@ getrandom = { version = "0.2", default-features = false, features = ["js"] } serde = { version = "1.0.151", default-features = false } serde_json = { version = "1.0", default-features = false } hex = { version = "0.4.3", default-features = false } -hex-literal = "0.3.4" +hex-literal = "0.4.1" wasm-bindgen = "0.2.83" -serde-wasm-bindgen = "0.4.5" +serde-wasm-bindgen = "0.5.0" wasm-bindgen-futures = "0.4.33" js-sys = "0.3.60" log = "0.4.17" console_error_panic_hook = "0.1.7" -console_log = { version = "0.2.0", optional = true } +console_log = { version = "1.0.0", optional = true } smoldot = { path = '../vendor/smoldot/lib', default-features = false } @@ -40,6 +40,3 @@ logging = [ [profile.release] codegen-units = 1 lto = true - -[package.metadata.wasm-pack.profile.release] -wasm-opt = false diff --git a/package.json b/package.json index b5ded3a3..5fdf05ad 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "unplugin-swc": "^1.3.2", "vite-tsconfig-paths": "^4.2.0", "vitest": "^0.31.3", - "wasm-pack": "^0.10.3" + "wasm-pack": "^0.11.1" }, "exports": { ".": "./lib/index.js", diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 72e6d466..0e90e6bb 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] -channel = "nightly-2022-10-30" +channel = "1.69" targets = [ "wasm32-unknown-unknown" ] profile = "minimal" diff --git a/yarn.lock b/yarn.lock index 760d0140..970e2e5c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1605,12 +1605,12 @@ __metadata: languageName: node linkType: hard -"axios@npm:^0.21.1": - version: 0.21.4 - resolution: "axios@npm:0.21.4" +"axios@npm:^0.26.1": + version: 0.26.1 + resolution: "axios@npm:0.26.1" dependencies: - follow-redirects: ^1.14.0 - checksum: 44245f24ac971e7458f3120c92f9d66d1fc695e8b97019139de5b0cc65d9b8104647db01e5f46917728edfc0cfd88eb30fc4c55e6053eef4ace76768ce95ff3c + follow-redirects: ^1.14.8 + checksum: d9eb58ff4bc0b36a04783fc9ff760e9245c829a5a1052ee7ca6013410d427036b1d10d04e7380c02f3508c5eaf3485b1ae67bd2adbfec3683704745c8d7a6e1a languageName: node linkType: hard @@ -1646,14 +1646,14 @@ __metadata: languageName: node linkType: hard -"binary-install@npm:^0.1.0": - version: 0.1.1 - resolution: "binary-install@npm:0.1.1" +"binary-install@npm:^1.0.1": + version: 1.1.0 + resolution: "binary-install@npm:1.1.0" dependencies: - axios: ^0.21.1 + axios: ^0.26.1 rimraf: ^3.0.2 - tar: ^6.1.0 - checksum: a3df9c07a3ab81533cff610527263181c4c34a44efb115555be910b6011ac047bf875ad57469cc2259dfaba58e971c7ba2958038e9d222c546eef7b58b826ecc + tar: ^6.1.11 + checksum: 271344b49f42460f5e3ec29d681cd4b749aaf9592040d49f6ae86d267b997b5fd094fd7a710df4d477fc299a51833b8cb94206595db6c46edea3f1603266a0d2 languageName: node linkType: hard @@ -1874,7 +1874,7 @@ __metadata: unplugin-swc: ^1.3.2 vite-tsconfig-paths: ^4.2.0 vitest: ^0.31.3 - wasm-pack: ^0.10.3 + wasm-pack: ^0.11.1 languageName: unknown linkType: soft @@ -2792,7 +2792,7 @@ __metadata: languageName: node linkType: hard -"follow-redirects@npm:^1.14.0, follow-redirects@npm:^1.15.0": +"follow-redirects@npm:^1.14.8, follow-redirects@npm:^1.15.0": version: 1.15.2 resolution: "follow-redirects@npm:1.15.2" peerDependenciesMeta: @@ -5138,7 +5138,7 @@ __metadata: languageName: node linkType: hard -"tar@npm:^6.0.2, tar@npm:^6.1.0, tar@npm:^6.1.11, tar@npm:^6.1.2": +"tar@npm:^6.0.2, tar@npm:^6.1.11, tar@npm:^6.1.2": version: 6.1.13 resolution: "tar@npm:6.1.13" dependencies: @@ -5765,14 +5765,14 @@ __metadata: languageName: node linkType: hard -"wasm-pack@npm:^0.10.3": - version: 0.10.3 - resolution: "wasm-pack@npm:0.10.3" +"wasm-pack@npm:^0.11.1": + version: 0.11.1 + resolution: "wasm-pack@npm:0.11.1" dependencies: - binary-install: ^0.1.0 + binary-install: ^1.0.1 bin: wasm-pack: run.js - checksum: b980b33fc8adcd208556a1f5c4656b02d1ae584792259874f09ab5647dd52d0cdd3179d970ba99eed72ac1a422445c3c81122a3e9d7c05ebb2a3ff83bd7ec7db + checksum: 14849d054d7ef4e6498b4f8d44f8cb25dd93d5e84373798a26e4deb88edabadd467b2aa754ffa2c8976f718581fbb75a9da143cddd40e01fb871c27f59c12462 languageName: node linkType: hard