From 415ebf207f309b7030e781b445c812f37a095e25 Mon Sep 17 00:00:00 2001 From: nibon7 Date: Mon, 22 Jan 2024 23:28:47 +0800 Subject: [PATCH] Remove duplicate `which` 4.4.2 (#11613) # Description `which` 5.0.0 is already in the dependency tree, so remove v4.4.2 Related: https://github.com/nushell/nushell/issues/8060 --- Cargo.lock | 18 +++--------------- crates/nu-test-support/Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index dbc7f0f9d6..435e4902cf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2857,7 +2857,7 @@ dependencies = [ "sysinfo 0.30.5", "unicode-segmentation", "uuid", - "which 5.0.0", + "which", ] [[package]] @@ -3050,7 +3050,7 @@ dependencies = [ "uuid", "v_htmlescape", "wax", - "which 5.0.0", + "which", "windows 0.52.0", "winreg", ] @@ -3254,7 +3254,7 @@ dependencies = [ "nu-utils", "num-format", "tempfile", - "which 4.4.2", + "which", ] [[package]] @@ -6481,18 +6481,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "which" -version = "4.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" -dependencies = [ - "either", - "home", - "once_cell", - "rustix", -] - [[package]] name = "which" version = "5.0.0" diff --git a/crates/nu-test-support/Cargo.toml b/crates/nu-test-support/Cargo.toml index d609d6a268..45d00f1452 100644 --- a/crates/nu-test-support/Cargo.toml +++ b/crates/nu-test-support/Cargo.toml @@ -17,6 +17,6 @@ nu-glob = { path = "../nu-glob", version = "0.89.1" } nu-utils = { path = "../nu-utils", version = "0.89.1" } num-format = "0.4" -which = "4.3" +which = "5.0.0" tempfile = "3.2" hamcrest2 = "0.3"