diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d73dab..937eb19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.3.1 + +#### ⚙️ Internal + +- Updated dependencies. + ## 0.3.0 #### 🚀 Updates diff --git a/Cargo.lock b/Cargo.lock index 9eedf48..986bcc3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -258,28 +258,24 @@ checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" [[package]] name = "cached" -version = "0.44.0" +version = "0.45.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b195e4fbc4b6862bbd065b991a34750399c119797efff72492f28a5864de8700" +checksum = "90eb5776f28a149524d1d8623035760b4454ec881e8cf3838fa8d7e1b11254b3" dependencies = [ - "async-trait", "cached_proc_macro", "cached_proc_macro_types", - "futures", "hashbrown 0.13.2", "instant", "once_cell", "thiserror", - "tokio", ] [[package]] name = "cached_proc_macro" -version = "0.17.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b48814962d2fd604c50d2b9433c2a41a0ab567779ee2c02f7fba6eca1221f082" +checksum = "7da8245dd5f576a41c3b76247b54c15b0e43139ceeb4f732033e15be7c005176" dependencies = [ - "cached_proc_macro_types", "darling 0.14.4", "proc-macro2", "quote", @@ -467,6 +463,16 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "core-foundation" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" +dependencies = [ + "core-foundation-sys", + "libc", +] + [[package]] name = "core-foundation-sys" version = "0.8.4" @@ -923,9 +929,9 @@ dependencies = [ [[package]] name = "extism" -version = "0.5.0" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0fcd6ad10f959f7f35680feda30bdcb7c1f6e0584e8358b09d735ff2c232f58" +checksum = "7a94848d5b49906bd97b83cf5a8bd25082dbc6f8bdfe98f12687910228734552" dependencies = [ "anyhow", "extism-manifest", @@ -973,9 +979,9 @@ dependencies = [ [[package]] name = "extism-runtime" -version = "0.5.0" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2be84fc8659ebaa268478a52f98e7066e4352fc7a90b74ec3aa52e7ac03eecd4" +checksum = "a3b0ba8ef6ecbf59c0f6e47fd2feea575ebc3a09e81603d06a41af92fe61cdfa" dependencies = [ "anyhow", "cbindgen", @@ -1859,7 +1865,7 @@ dependencies = [ [[package]] name = "node_depman_plugin" -version = "0.3.0" +version = "0.3.1" dependencies = [ "extism-pdk", "node_common", @@ -1873,7 +1879,7 @@ dependencies = [ [[package]] name = "node_plugin" -version = "0.3.0" +version = "0.3.1" dependencies = [ "extism-pdk", "node_common", @@ -1972,6 +1978,12 @@ dependencies = [ "stable_deref_trait", ] +[[package]] +name = "openssl-probe" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" + [[package]] name = "option-ext" version = "0.2.0" @@ -2119,9 +2131,9 @@ dependencies = [ [[package]] name = "proto_core" -version = "0.17.2" +version = "0.18.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f9d66bf857561212ef611c073ce1f83f09a3bc70ee8b5edbdf1dff433f8e71d" +checksum = "dec55eb026f4887cdf8ae1b6de17c0b96f4c83c50f1cdfea325468f3b3ff2fcc" dependencies = [ "cached", "extism", @@ -2144,14 +2156,15 @@ dependencies = [ "tinytemplate", "tracing", "url", + "version_spec", "warpgate", ] [[package]] name = "proto_pdk" -version = "0.7.1" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2e7ee5ae588b5cda3bcbd90c87f2875292bba9ce846569f4ed427fc520ba96d" +checksum = "2bbfbaa6ce5358bdaa3f825f55efb7eb11813c690cf6d524149018404934f248" dependencies = [ "anyhow", "extism-pdk", @@ -2163,9 +2176,9 @@ dependencies = [ [[package]] name = "proto_pdk_api" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33aee2bcc06bc3f8d0033e2c733e0ddaf8e1fcd141e151064ef7f73867e123cd" +checksum = "a35152b2019ada980d05aee93c0dd1224b91013c6db0c61854a10bdd060afdcd" dependencies = [ "anyhow", "semver", @@ -2177,9 +2190,9 @@ dependencies = [ [[package]] name = "proto_pdk_test_utils" -version = "0.6.2" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b799a8c37613832e1129d7a52887406a1e2aabf1565484b1925d4ad3d3dac98" +checksum = "0dceda3da62d584df46b584ea5d2b48f73b9b3e54eea1994b691ea2735708e35" dependencies = [ "extism", "proto_core", @@ -2190,9 +2203,9 @@ dependencies = [ [[package]] name = "proto_wasm_plugin" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a377902a50bcfd6658744b43c416b18088921d6c52db0de2be0e8f7a76ec4aed" +checksum = "99e2b8dc5c25b9c3eaf31b21adf0890bd5e03476db73c22289b3cfa2a1397090" dependencies = [ "extism", "proto_pdk_api", @@ -2388,6 +2401,7 @@ dependencies = [ "percent-encoding", "pin-project-lite", "rustls", + "rustls-native-certs", "rustls-pemfile", "serde", "serde_json", @@ -2399,7 +2413,6 @@ dependencies = [ "wasm-bindgen", "wasm-bindgen-futures", "web-sys", - "webpki-roots 0.25.2", "winreg", ] @@ -2493,6 +2506,18 @@ dependencies = [ "sct", ] +[[package]] +name = "rustls-native-certs" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" +dependencies = [ + "openssl-probe", + "rustls-pemfile", + "schannel", + "security-framework", +] + [[package]] name = "rustls-pemfile" version = "1.0.3" @@ -2537,6 +2562,15 @@ dependencies = [ "winapi-util", ] +[[package]] +name = "schannel" +version = "0.1.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88" +dependencies = [ + "windows-sys 0.48.0", +] + [[package]] name = "scopeguard" version = "1.2.0" @@ -2553,6 +2587,29 @@ dependencies = [ "untrusted", ] +[[package]] +name = "security-framework" +version = "2.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de" +dependencies = [ + "bitflags 1.3.2", + "core-foundation", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + +[[package]] +name = "security-framework-sys" +version = "2.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a" +dependencies = [ + "core-foundation-sys", + "libc", +] + [[package]] name = "semver" version = "1.0.18" @@ -2594,9 +2651,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.105" +version = "1.0.107" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "693151e1ac27563d6dbcec9dee9fbd5da8539b20fa14ad3752b2e6d363ace360" +checksum = "6b420ce6e3d8bd882e9b243c6eed35dbc9a6110c9769e74b584e0d68d1f20c65" dependencies = [ "itoa", "ryu", @@ -3257,7 +3314,7 @@ dependencies = [ "rustls", "rustls-webpki 0.100.2", "url", - "webpki-roots 0.23.1", + "webpki-roots", ] [[package]] @@ -3286,6 +3343,19 @@ version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +[[package]] +name = "version_spec" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf76e050d169eab93ec6369ec26d60748d48f2f2edb59ed8f357e7d7242e809c" +dependencies = [ + "human-sort", + "once_cell", + "regex", + "semver", + "serde", +] + [[package]] name = "wait-timeout" version = "0.2.0" @@ -3316,9 +3386,9 @@ dependencies = [ [[package]] name = "warpgate" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37e105ab7fd178b2fc6b59439046418278b478e761549658a41eb48c97a9944a" +checksum = "6cbf79662d393831516fe10316f9613a4810db388adf86a57c763cf72b32e68b" dependencies = [ "extism", "miette", @@ -3887,12 +3957,6 @@ dependencies = [ "rustls-webpki 0.100.2", ] -[[package]] -name = "webpki-roots" -version = "0.25.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14247bb57be4f377dfb94c72830b8ce8fc6beac03cf4bf7b9732eadd414123fc" - [[package]] name = "wiggle" version = "11.0.1" diff --git a/Cargo.toml b/Cargo.toml index ef7c521..b3f90d7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,14 +4,17 @@ members = ["crates/*"] [workspace.dependencies] extism-pdk = "0.3.4" -proto_pdk = { version = "0.7.1" } # , path = "../../proto/crates/pdk" } -proto_pdk_api = { version = "0.7.1" } # , path = "../../proto/crates/pdk-api" } -proto_pdk_test_utils = { version = "0.6.2" } # , path = "../../proto/crates/pdk-test-utils" } +proto_pdk = { version = "0.7.3" } # , path = "../../proto/crates/pdk" } +proto_pdk_api = { version = "0.7.2" } # , path = "../../proto/crates/pdk-api" } +proto_pdk_test_utils = { version = "0.7.1" } # , path = "../../proto/crates/pdk-test-utils" } serde = "1.0.188" -serde_json = "1.0.105" +serde_json = "1.0.107" starbase_sandbox = "0.1.10" tokio = "1.32.0" [profile.release] codegen-units = 1 +debug = false lto = true +opt-level = "s" +panic = "abort" diff --git a/README.md b/README.md index 2d8c950..0288213 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ Node.js, npm, pnpm, and yarn WASM plugins for [proto](https://github.com/moonrep ```shell proto install node +proto install npm ``` ## Post-install hook diff --git a/crates/node-depman/Cargo.toml b/crates/node-depman/Cargo.toml index 62e99db..669cfe7 100644 --- a/crates/node-depman/Cargo.toml +++ b/crates/node-depman/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "node_depman_plugin" -version = "0.3.0" +version = "0.3.1" edition = "2021" license = "MIT" publish = false diff --git a/crates/node/Cargo.toml b/crates/node/Cargo.toml index 46e7a08..c1da9a8 100644 --- a/crates/node/Cargo.toml +++ b/crates/node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "node_plugin" -version = "0.3.0" +version = "0.3.1" edition = "2021" license = "MIT" publish = false diff --git a/crates/node/tests/versions_test.rs b/crates/node/tests/versions_test.rs index 4642bab..540c4cd 100644 --- a/crates/node/tests/versions_test.rs +++ b/crates/node/tests/versions_test.rs @@ -6,8 +6,8 @@ generate_resolve_versions_tests!("node-test", { "10.1" => "10.1.0", "lts-gallium" => "16.20.2", "lts/fermium" => "14.21.3", - "stable" => "18.17.1", - "node" => "20.6.1", + "stable" => "18.18.0", + "node" => "20.7.0", }); #[test]