From 24ce5755b4a156ea9fcd2b56165fa3a26f3ec9e8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 1 Mar 2022 13:45:49 +0000 Subject: [PATCH] chore(deps): update all non-major dependencies (#673) * chore(deps): update all non-major dependencies * cargo clippy --fix Co-authored-by: Renovate Bot Co-authored-by: Gal Schlezinger --- Cargo.lock | 28 ++++++++++++++++++---------- Cargo.toml | 6 +++--- site/package.json | 4 ++-- site/yarn.lock | 17 +++++++++++++---- src/commands/completions.rs | 2 +- src/commands/exec.rs | 2 +- 6 files changed, 38 insertions(+), 21 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cdb244b..57be61c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -189,9 +189,9 @@ dependencies = [ [[package]] name = "clap" -version = "3.0.14" +version = "3.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b63edc3f163b3c71ec8aa23f9bd6070f77edbf3d1d198b164afa90ff00e4ec62" +checksum = "86f8c0e2a6b902acc18214e24a6935cdaf8a8e34231913d4404dcaee659f65a1" dependencies = [ "atty", "bitflags", @@ -206,18 +206,18 @@ dependencies = [ [[package]] name = "clap_complete" -version = "3.0.6" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "678db4c39c013cc68b54d372bce2efc58e30a0337c497c9032fd196802df3bc3" +checksum = "23eec4dd324308f49d8bf86a2732078c34d57955fec1e1d865554fc37c15d420" dependencies = [ "clap", ] [[package]] name = "clap_derive" -version = "3.0.5" +version = "3.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41a0645a430ec9136d2d701e54a95d557de12649a9dd7109ced3187e648ac824" +checksum = "01d42c94ce7c2252681b5fed4d3627cc807b13dfc033246bd05d5b252399000e" dependencies = [ "heck", "proc-macro-error", @@ -1252,6 +1252,12 @@ dependencies = [ "base64", ] +[[package]] +name = "rustversion" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2cc38e8fa666e2de3c4aba7edeb5ffc5246c1c2ed0e3d17e560aeeba736b23f" + [[package]] name = "ryu" version = "1.0.5" @@ -1370,9 +1376,9 @@ dependencies = [ [[package]] name = "serial_test" -version = "0.5.1" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0bccbcf40c8938196944a3da0e133e031a33f4d6b72db3bda3cc556e361905d" +checksum = "e5bcc41d18f7a1d50525d080fd3e953be87c4f9f1a974f3c21798ca00d54ec15" dependencies = [ "lazy_static", "parking_lot", @@ -1381,12 +1387,14 @@ dependencies = [ [[package]] name = "serial_test_derive" -version = "0.5.1" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2acd6defeddb41eb60bb468f8825d0cfd0c2a76bc03bfd235b6a1dc4f6a1ad5" +checksum = "2881bccd7d60fb32dfa3d7b3136385312f8ad75e2674aab2852867a09790cae8" dependencies = [ + "proc-macro-error", "proc-macro2", "quote", + "rustversion", "syn", ] diff --git a/Cargo.toml b/Cargo.toml index a84c611..5b39a94 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ description = "Fast and simple Node.js version manager" [dependencies] serde = { version = "1.0.136", features = ["derive"] } -clap = { version = "3.0.14", features = ["derive", "env"] } +clap = { version = "3.1.3", features = ["derive", "env"] } serde_json = "1.0.79" chrono = { version = "0.4.19", features = ["serde"] } tar = "0.4.38" @@ -29,7 +29,7 @@ reqwest = { git = "https://github.com/seanmonstar/reqwest.git", rev = "d92d2aa3c url = "2.2.2" sysinfo = "0.23.2" thiserror = "1.0.30" -clap_complete = "3.0.6" +clap_complete = "3.1.0" anyhow = "1.0.53" [dev-dependencies] @@ -37,7 +37,7 @@ pretty_assertions = "1.1.0" duct = "0.13.5" shell-escape = "0.1.5" insta = { version = "1.12.0", features = ["backtrace"] } -serial_test = "0.5.1" +serial_test = "0.6.0" test-log = "0.2.8" [build-dependencies] diff --git a/site/package.json b/site/package.json index cf5c345..4c5b468 100644 --- a/site/package.json +++ b/site/package.json @@ -8,8 +8,8 @@ "build": "rm -rf public; mkdir public; cp ../.ci/install.sh ./public/install.txt" }, "devDependencies": { - "@vercel/node": "1.12.1", - "typescript": "4.5.5", + "@vercel/node": "1.13.0", + "typescript": "4.6.2", "vercel": "23.1.2" } } diff --git a/site/yarn.lock b/site/yarn.lock index 3fc7ae8..bd11bd8 100644 --- a/site/yarn.lock +++ b/site/yarn.lock @@ -43,6 +43,15 @@ ts-node "8.9.1" typescript "4.3.4" +"@vercel/node@1.13.0": + version "1.13.0" + resolved "https://registry.yarnpkg.com/@vercel/node/-/node-1.13.0.tgz#619595e1c90afeb1ad68ea6fa3652f7b3f682245" + integrity sha512-AqdUuJC0+r3q1lcL+Knjb+dHsSDSCRfwFPJ7odRkHO7sfoAkhJI4RussIDFTF7Yvt0e+GmWuYGFAgwSiv4FWEg== + dependencies: + "@types/node" "*" + ts-node "8.9.1" + typescript "4.3.4" + "@vercel/python@2.0.5": version "2.0.5" resolved "https://registry.yarnpkg.com/@vercel/python/-/python-2.0.5.tgz#76c09280febfac863c39651edffafbb0838a1df8" @@ -594,10 +603,10 @@ typescript@4.3.4: resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.4.tgz#3f85b986945bcf31071decdd96cf8bfa65f9dcbc" integrity sha512-uauPG7XZn9F/mo+7MrsRjyvbxFpzemRjKEZXS4AK83oP2KKOJPvb+9cO/gmnv8arWZvhnjVOXz7B49m1l0e9Ew== -typescript@4.5.5: - version "4.5.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.5.tgz#d8c953832d28924a9e3d37c73d729c846c5896f3" - integrity sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA== +typescript@4.6.2: + version "4.6.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.2.tgz#fe12d2727b708f4eef40f51598b3398baa9611d4" + integrity sha512-HM/hFigTBHZhLXshn9sN37H085+hQGeJHJ/X7LpBWLID/fbc2acUMfU+lGD98X81sKP+pFa9f0DZmCwB9GnbAg== unique-string@^2.0.0: version "2.0.0" diff --git a/src/commands/completions.rs b/src/commands/completions.rs index 47ca885..35fc156 100644 --- a/src/commands/completions.rs +++ b/src/commands/completions.rs @@ -22,7 +22,7 @@ impl Command for Completions { .shell .or_else(|| infer_shell().map(Into::into)) .ok_or(Error::CantInferShell)?; - let app = Cli::into_app(); + let app = Cli::command(); shell.generate(&app, &mut stdio); Ok(()) } diff --git a/src/commands/exec.rs b/src/commands/exec.rs index 3203b01..c7176c7 100644 --- a/src/commands/exec.rs +++ b/src/commands/exec.rs @@ -11,7 +11,7 @@ use std::process::{Command, Stdio}; use thiserror::Error; #[derive(Debug, clap::Parser)] -#[clap(setting = clap::AppSettings::TrailingVarArg)] +#[clap(trailing_var_arg = true)] pub struct Exec { /// Either an explicit version, or a filename with the version written in it #[clap(long = "using")]