From 3d900aa428ecdc83a34d40a969c7405e6254d57a Mon Sep 17 00:00:00 2001 From: Miles Johnson Date: Tue, 25 Jun 2024 10:54:38 -0700 Subject: [PATCH] deps: Audit 06/25 (#28) --- CHANGELOG.md | 6 +++ Cargo.lock | 95 +++++++++++++++++++++++---------------------- Cargo.toml | 8 ++-- rust-toolchain.toml | 2 +- src/proto.rs | 3 +- 5 files changed, 62 insertions(+), 52 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e54a280..83ac9af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.12.2 + +#### 🚀 Updates + +- Updated dependencies. + ## 0.12.1 #### 🚀 Updates diff --git a/Cargo.lock b/Cargo.lock index 15bd0b3..9c08674 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -166,9 +166,9 @@ dependencies = [ [[package]] name = "binstall-tar" -version = "0.4.39" +version = "0.4.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01db907e07c37309ea816c183ffe548daaa66ef640a291408f232d6ca4089dbb" +checksum = "e3620d72763b5d8df3384f3b2ec47dc5885441c2abbd94dd32197167d08b014a" dependencies = [ "filetime", "libc", @@ -215,7 +215,7 @@ checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "bun_plugin" -version = "0.12.1" +version = "0.12.2" dependencies = [ "extism-pdk", "proto_pdk", @@ -245,9 +245,9 @@ checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" [[package]] name = "cached" -version = "0.51.3" +version = "0.51.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd93a9f06ec296ca66b4c26fafa9ed63f32c473d7a708a5f28563ee64c948515" +checksum = "0feb64151eed3da6107fddd2d717a6ca4b9dbd74e43784c55c841d1abfe5a295" dependencies = [ "ahash", "cached_proc_macro", @@ -862,7 +862,7 @@ dependencies = [ "serde", "serde_json", "sha2", - "toml 0.8.13", + "toml 0.8.14", "tracing", "tracing-subscriber", "ureq", @@ -1020,9 +1020,9 @@ dependencies = [ [[package]] name = "fs4" -version = "0.8.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73969b81e8bc90a3828d913dd3973d80771bfb9d7fbe1a78a79122aad456af15" +checksum = "f7e180ac76c23b45e767bd7ae9579bc0bb458618c4bc71835926e098e61d15f8" dependencies = [ "rustix", "windows-sys 0.52.0", @@ -2062,9 +2062,9 @@ dependencies = [ [[package]] name = "proto_core" -version = "0.36.0" +version = "0.37.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b92765d89f8079e309534fe11516dd01bba1ac8e790a474db1398bbba7ee9992" +checksum = "12686907cd92fc1b09741a9973f1c33aabdb5e6ba779f4c296ed8bf6cd1ae5aa" dependencies = [ "cached", "indexmap 2.2.6", @@ -2096,9 +2096,9 @@ dependencies = [ [[package]] name = "proto_pdk" -version = "0.20.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a0cdbc3e9a79af9604fcad65dc16b8478d317ab0f6acd583ebb13edc2ade7be" +checksum = "b34fac0e13aad44867798931b9f98851483d5e276190c23b200cf5b7d8fe1f88" dependencies = [ "extism-pdk", "proto_pdk_api", @@ -2109,9 +2109,9 @@ dependencies = [ [[package]] name = "proto_pdk_api" -version = "0.20.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "faa4b628780934f3184277dcde34e0be5a11aafa4b8a987c9b3123cb52ccdb7f" +checksum = "e4d666fea2b722e6362b05eade29ae212341bdd5b2e244aaa1613b717dc2a188" dependencies = [ "rustc-hash", "semver", @@ -2125,9 +2125,9 @@ dependencies = [ [[package]] name = "proto_pdk_test_utils" -version = "0.24.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ba0dfb99e075d567287ed748dcf45c0038bab768cfe95786828b95bf7412625" +checksum = "b6496c0f4114c65dc229aad80ce5ae120e93f52b1399b8b8c4b47e2c785b9ed5" dependencies = [ "proto_core", "proto_pdk_api", @@ -2139,9 +2139,9 @@ dependencies = [ [[package]] name = "proto_shim" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f94b19eff501db1cc93313025132d462c52cfa45c63622051dab94516de4ad84" +checksum = "88ee42b1824bc24b6a9e2d7f9744f0fda67de2c1fbd4d5acd3a12098525d4929" dependencies = [ "command-group", "dirs 5.0.1", @@ -2259,9 +2259,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.4" +version = "1.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" +checksum = "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f" dependencies = [ "aho-corasick", "memchr", @@ -2514,7 +2514,7 @@ dependencies = [ "serde_path_to_error", "starbase_styles", "thiserror", - "toml 0.8.13", + "toml 0.8.14", "tracing", ] @@ -2539,7 +2539,7 @@ checksum = "788660c0972a2aab386e2b4b8bd304e0b21c21751e2722cead28d059597d3dad" dependencies = [ "indexmap 2.2.6", "serde_json", - "toml 0.8.13", + "toml 0.8.14", "url", ] @@ -2750,9 +2750,9 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "starbase_archive" -version = "0.7.2" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6c534fa921df0a5ee7d59029a53fa9f91db6dadfaf4e8cfd15785079e1ec7cb" +checksum = "1159e924d28043b3eb045d9a70e30312a50d31c7271ee0720865a32ba36042bf" dependencies = [ "binstall-tar", "flate2", @@ -2769,9 +2769,9 @@ dependencies = [ [[package]] name = "starbase_events" -version = "0.6.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1b23db0b8074346e689895c7a18e97517c3492ed4cd1c330b3eeb765a861346" +checksum = "c96e6586ad2f10fcbc6d30fe330b7ea88709de3d55db6259a64e309937016b4e" dependencies = [ "async-trait", "miette", @@ -2781,9 +2781,9 @@ dependencies = [ [[package]] name = "starbase_macros" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46b4e81f4dd3c13cb0a1b4328b2eebec66d033767bfb285fafad0e0d01197f68" +checksum = "052d4a67b75ca00709992b99a332679b21d621d3aad441a11d89dc4e1d42bd14" dependencies = [ "darling", "proc-macro2", @@ -2793,9 +2793,9 @@ dependencies = [ [[package]] name = "starbase_sandbox" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e87bd5565afbfbe20f19efa79db83d714a93fc21557dbdb4ccd8b02c08b295a" +checksum = "9dc8cc21fc2c389549297a2049074bf22a34aceb8ed8d31be6e1df42648abcb8" dependencies = [ "assert_cmd", "assert_fs", @@ -2820,9 +2820,9 @@ dependencies = [ [[package]] name = "starbase_utils" -version = "0.7.3" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc87e39c8390c2bf72ba24c38d1776f1a77745e7c756eea3c0d5d7c5a6798b4d" +checksum = "06fac1efba629ebe53fd2363b0af2a7b4f9a2a79540e53b1f0bbdd08c3cb6fbf" dependencies = [ "dirs 5.0.1", "fs4", @@ -2836,7 +2836,7 @@ dependencies = [ "starbase_styles", "thiserror", "tokio", - "toml 0.8.13", + "toml 0.8.14", "tracing", "url", "wax", @@ -3081,14 +3081,14 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.13" +version = "0.8.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4e43f8cc456c9704c851ae29c67e17ef65d2c30017c17a9765b89c382dc8bba" +checksum = "6f49eb2ab21d2f26bd6db7bf383edc527a7ebaee412d17af4d40fdccd442f335" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.22.13", + "toml_edit 0.22.14", ] [[package]] @@ -3113,9 +3113,9 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.22.13" +version = "0.22.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c127785850e8c20836d49732ae6abfa47616e60bf9d9f57c43c250361a9db96c" +checksum = "f21c7aaf97f1bd9ca9d4f9e73b0a6c74bd5afef56f2bc931943a6e1c37e04e38" dependencies = [ "indexmap 2.2.6", "serde", @@ -3290,9 +3290,9 @@ dependencies = [ [[package]] name = "url" -version = "2.5.0" +version = "2.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" +checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c" dependencies = [ "form_urlencoded", "idna", @@ -3323,15 +3323,16 @@ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] name = "version_spec" -version = "0.5.2" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cb928fc92912272002d6cc0c484d345867936785dec98ee16aae18429793550" +checksum = "d8316e120cf9c849f9ca6604ac7c42cce70b363d566843025874f1ab92daaa5b" dependencies = [ "human-sort", "regex", "schematic", "semver", "serde", + "thiserror", ] [[package]] @@ -4290,11 +4291,13 @@ dependencies = [ [[package]] name = "xattr" -version = "0.2.3" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d1526bbe5aaeb5eb06885f4d987bcdfa5e23187055de9b83fe00156a821fabc" +checksum = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f" dependencies = [ "libc", + "linux-raw-sys", + "rustix", ] [[package]] @@ -4340,9 +4343,9 @@ checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" [[package]] name = "zip" -version = "2.1.2" +version = "2.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "098d5d7737fb0b70814faa73c17df84f047d38dd31d13bbf2ec3fb354b5abf45" +checksum = "775a2b471036342aa69bc5a602bc889cb0a06cda00477d0c69566757d5553d39" dependencies = [ "arbitrary", "crc32fast", diff --git a/Cargo.toml b/Cargo.toml index 70a13b9..97748cd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bun_plugin" -version = "0.12.1" +version = "0.12.2" edition = "2021" license = "MIT" publish = false @@ -10,12 +10,12 @@ crate-type = ['cdylib'] [dependencies] extism-pdk = { version = "1.2.0" } -proto_pdk = { version = "0.20.0" } #, path = "../../proto/crates/pdk" } +proto_pdk = { version = "0.21.0" } #, path = "../../proto/crates/pdk" } serde = "1.0.203" [dev-dependencies] -proto_pdk_test_utils = { version = "0.24.0" } #, path = "../../proto/crates/pdk-test-utils" } -starbase_sandbox = "0.6.1" +proto_pdk_test_utils = { version = "0.25.0" } #, path = "../../proto/crates/pdk-test-utils" } +starbase_sandbox = "0.6.2" tokio = { version = "1.38.0", features = ["full"] } [features] diff --git a/rust-toolchain.toml b/rust-toolchain.toml index f92c249..d5ce77e 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] profile = "default" -channel = "1.78.0" +channel = "1.79.0" diff --git a/src/proto.rs b/src/proto.rs index d6daa07..a6d2aae 100644 --- a/src/proto.rs +++ b/src/proto.rs @@ -42,7 +42,8 @@ pub fn download_prebuilt( let has_windows_support = match &input.context.version { VersionSpec::Canary => true, VersionSpec::Alias(alias) => alias == "latest", - VersionSpec::Version(version) => version.major >= 1 && version.minor >= 1, + VersionSpec::Semantic(version) => version.major >= 1 && version.minor >= 1, + _ => false, }; check_supported_os_and_arch(