diff --git a/Cargo.lock b/Cargo.lock index 7ad7fdc4c..d6bc1e670 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1739,6 +1739,12 @@ dependencies = [ "libc", ] +[[package]] +name = "hermit-abi" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286" + [[package]] name = "hex" version = "0.4.3" @@ -1963,6 +1969,18 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "is-terminal" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8687c819457e979cc940d09cb16e42a1bf70aa6b60a549de6d3a62a0ee90c69e" +dependencies = [ + "hermit-abi 0.3.1", + "io-lifetimes", + "rustix", + "windows-sys 0.45.0", +] + [[package]] name = "is_ci" version = "1.1.1" @@ -2381,11 +2399,11 @@ dependencies = [ [[package]] name = "miette" -version = "5.5.0" +version = "5.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4afd9b301defa984bbdbe112b4763e093ed191750a0d914a78c1106b2d0fe703" +checksum = "07749fb52853e739208049fb513287c6f448de9103dfa78b05ae01f2fc5809bb" dependencies = [ - "atty", + "is-terminal", "miette-derive", "once_cell", "owo-colors", @@ -2400,9 +2418,9 @@ dependencies = [ [[package]] name = "miette-derive" -version = "5.5.0" +version = "5.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97c2401ab7ac5282ca5c8b518a87635b1a93762b0b90b9990c509888eeccba29" +checksum = "2a07ad93a80d1b92bb44cb42d7c49b49c9aab1778befefad49cceb5e4c5bf460" dependencies = [ "proc-macro2", "quote", @@ -4957,30 +4975,30 @@ dependencies = [ [[package]] name = "supports-color" -version = "1.3.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ba6faf2ca7ee42fdd458f4347ae0a9bd6bcc445ad7cb57ad82b383f18870d6f" +checksum = "4950e7174bffabe99455511c39707310e7e9b440364a2fcb1cc21521be57b354" dependencies = [ - "atty", + "is-terminal", "is_ci", ] [[package]] name = "supports-hyperlinks" -version = "1.2.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "590b34f7c5f01ecc9d78dba4b3f445f31df750a67621cf31626f3b7441ce6406" +checksum = "4b4806e0b03b9906e76b018a5d821ebf198c8e9dc0829ed3328eeeb5094aed60" dependencies = [ - "atty", + "is-terminal", ] [[package]] name = "supports-unicode" -version = "1.0.2" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8b945e45b417b125a8ec51f1b7df2f8df7920367700d1f98aedd21e5735f8b2" +checksum = "4b6c2cb240ab5dd21ed4906895ee23fe5a48acdbd15a3ce388e7b62a9b66baf7" dependencies = [ - "atty", + "is-terminal", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 4c6211929..ca47da1c3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,7 +45,7 @@ chrono = { version = "0.4.23", features = ["serde"] } crossterm = "0.24.0" ctrlc = "3.2.1" log = "0.4" -miette = { version = "5.5.0", features = ["fancy-no-backtrace"] } +miette = { version = "5.6.0", features = ["fancy-no-backtrace"] } nu-cli = { path = "./crates/nu-cli", version = "0.77.2" } nu-color-config = { path = "./crates/nu-color-config", version = "0.77.2" } nu-cmd-lang = { path = "./crates/nu-cmd-lang", version = "0.77.2" } diff --git a/crates/nu-cli/Cargo.toml b/crates/nu-cli/Cargo.toml index ac0daea46..b611ba98e 100644 --- a/crates/nu-cli/Cargo.toml +++ b/crates/nu-cli/Cargo.toml @@ -34,7 +34,7 @@ fuzzy-matcher = "0.3.7" is_executable = "1.0.1" once_cell = "1.17.0" log = "0.4" -miette = { version = "5.5.0", features = ["fancy-no-backtrace"] } +miette = { version = "5.6.0", features = ["fancy-no-backtrace"] } percent-encoding = "2" sysinfo = "0.28.2" thiserror = "1.0.31" diff --git a/crates/nu-command/Cargo.toml b/crates/nu-command/Cargo.toml index b4ff586b4..5ad1b6291 100644 --- a/crates/nu-command/Cargo.toml +++ b/crates/nu-command/Cargo.toml @@ -60,7 +60,7 @@ itertools = "0.10.0" log = "0.4.14" lscolors = { version = "0.12.0", features = ["crossterm"], default-features = false } md5 = { package = "md-5", version = "0.10.0" } -miette = { version = "5.5.0", features = ["fancy-no-backtrace"] } +miette = { version = "5.6.0", features = ["fancy-no-backtrace"] } mime = "0.3.16" mime_guess = "2.0.4" notify = "4.0.17" diff --git a/crates/nu-parser/Cargo.toml b/crates/nu-parser/Cargo.toml index 213c4e6e4..95d9bcac4 100644 --- a/crates/nu-parser/Cargo.toml +++ b/crates/nu-parser/Cargo.toml @@ -14,7 +14,7 @@ bench = false bytesize = "1.2.0" chrono = { default-features = false, features = ['std'], version = "0.4.23" } itertools = "0.10" -miette = {version = "5.5.0", features = ["fancy-no-backtrace"]} +miette = {version = "5.6.0", features = ["fancy-no-backtrace"]} thiserror = "1.0.31" serde_json = "1.0" nu-path = {path = "../nu-path", version = "0.77.2" } diff --git a/crates/nu-protocol/Cargo.toml b/crates/nu-protocol/Cargo.toml index 612ea3696..cda679d54 100644 --- a/crates/nu-protocol/Cargo.toml +++ b/crates/nu-protocol/Cargo.toml @@ -24,7 +24,7 @@ chrono-humanize = "0.2.1" fancy-regex = "0.11.0" indexmap = { version = "1.7" } lru = "0.10.0" -miette = { version = "5.5.0", features = ["fancy-no-backtrace"] } +miette = { version = "5.6.0", features = ["fancy-no-backtrace"] } num-format = "0.4.3" serde = { version = "1.0.143", default-features = false } serde_json = { version = "1.0", optional = true }