diff --git a/Cargo.lock b/Cargo.lock index 7d85c3eb61..49a2ba9310 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2886,7 +2886,7 @@ dependencies = [ "uu_cp", "uuid", "wax", - "which", + "which 5.0.0", "windows 0.48.0", "winreg", ] @@ -3068,7 +3068,7 @@ dependencies = [ "nu-utils", "num-format", "tempfile", - "which", + "which 4.4.2", ] [[package]] @@ -5859,6 +5859,19 @@ dependencies = [ "rustix 0.38.15", ] +[[package]] +name = "which" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bf3ea8596f3a0dd5980b46430f2058dfe2c36a27ccfbb1845d6fbfcd9ba6e14" +dependencies = [ + "either", + "home", + "once_cell", + "rustix 0.38.15", + "windows-sys 0.48.0", +] + [[package]] name = "wild" version = "2.2.0" diff --git a/crates/nu-command/Cargo.toml b/crates/nu-command/Cargo.toml index 386d9e0ce3..cfbc33effa 100644 --- a/crates/nu-command/Cargo.toml +++ b/crates/nu-command/Cargo.toml @@ -90,7 +90,7 @@ url = "2.2" uu_cp = "0.0.22" uuid = { version = "1.5", features = ["v4"] } wax = { version = "0.6" } -which = { version = "4.4", optional = true } +which = { version = "5.0", optional = true } bracoxide = "0.1.2" chardetng = "0.1.17"