mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 22:50:14 +02:00
Bump miette from 5.10.0 to 7.0.0 (#11788)
<!-- if this PR closes one or more issues, you can automatically link the PR with them by using one of the [*linking keywords*](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword), e.g. - this PR should close #xxxx - fixes #xxxx you can also mention related issues, PRs or discussions! --> # Description Bump miette from 5.10.0 to 7.0.0 # User-Facing Changes <!-- List of all changes that impact the user experience here. This helps us keep track of breaking changes. --> # Tests + Formatting <!-- Don't forget to add tests that cover your changes. Make sure you've run and fixed any issues with these commands: - `cargo fmt --all -- --check` to check standard code formatting (`cargo fmt --all` applies these changes) - `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used` to check that you're using the standard code style - `cargo test --workspace` to check that all tests pass (on Windows make sure to [enable developer mode](https://learn.microsoft.com/en-us/windows/apps/get-started/developer-mode-features-and-debugging)) - `cargo run -- -c "use std testing; testing run-tests --path crates/nu-std"` to run the tests for the standard library > **Note** > from `nushell` you can also use the `toolkit` as follows > ```bash > use toolkit.nu # or use an `env_change` hook to activate it automatically > toolkit check pr > ``` --> # After Submitting <!-- If your PR had any user-facing changes, update [the documentation](https://github.com/nushell/nushell.github.io) after the PR is merged, if necessary. This will help us keep the docs up to date. --> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
This commit is contained in:
@ -33,7 +33,7 @@ fancy-regex = "0.12"
|
||||
fuzzy-matcher = "0.3"
|
||||
is_executable = "1.0"
|
||||
log = "0.4"
|
||||
miette = { version = "5.10", features = ["fancy-no-backtrace"] }
|
||||
miette = { version = "7.0", features = ["fancy-no-backtrace"] }
|
||||
once_cell = "1.18"
|
||||
percent-encoding = "2"
|
||||
pathdiff = "0.2"
|
||||
|
@ -18,7 +18,7 @@ nu-protocol = { path = "../nu-protocol", version = "0.90.2" }
|
||||
nu-utils = { path = "../nu-utils", version = "0.90.2" }
|
||||
|
||||
indexmap = "2.1"
|
||||
miette = "5.10.0"
|
||||
miette = "7.0.0"
|
||||
|
||||
[dev-dependencies]
|
||||
nu-test-support = { path = "../nu-test-support", version = "0.90.2" }
|
||||
|
@ -53,7 +53,7 @@ itertools = "0.12"
|
||||
log = "0.4"
|
||||
lscolors = { version = "0.17", default-features = false, features = ["nu-ansi-term"] }
|
||||
md5 = { package = "md-5", version = "0.10" }
|
||||
miette = { version = "5.10", features = ["fancy-no-backtrace"] }
|
||||
miette = { version = "7.0", features = ["fancy-no-backtrace"] }
|
||||
mime = "0.3"
|
||||
mime_guess = "2.0"
|
||||
native-tls = "0.2"
|
||||
|
@ -17,7 +17,7 @@ reedline = { version = "0.29" }
|
||||
crossbeam-channel = "0.5.8"
|
||||
lsp-types = "0.95.0"
|
||||
lsp-server = "0.7.5"
|
||||
miette = "5.10"
|
||||
miette = "7.0"
|
||||
ropey = "1.6.1"
|
||||
serde = "1.0"
|
||||
serde_json = "1.0"
|
||||
|
@ -23,7 +23,7 @@ chrono-humanize = "0.2"
|
||||
fancy-regex = "0.12"
|
||||
indexmap = "2.1"
|
||||
lru = "0.12"
|
||||
miette = { version = "5.10", features = ["fancy-no-backtrace"] }
|
||||
miette = { version = "7.0", features = ["fancy-no-backtrace"] }
|
||||
num-format = "0.4"
|
||||
serde = { version = "1.0", default-features = false }
|
||||
serde_json = { version = "1.0", optional = true }
|
||||
|
@ -23,7 +23,7 @@ pub struct Span {
|
||||
|
||||
impl From<Span> for SourceSpan {
|
||||
fn from(s: Span) -> Self {
|
||||
Self::new(s.start.into(), (s.end - s.start).into())
|
||||
Self::new(s.start.into(), s.end - s.start)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -67,7 +67,7 @@ fn fancy_default_errors() {
|
||||
|
||||
assert_eq!(
|
||||
actual.err,
|
||||
"Error: \u{1b}[31m×\u{1b}[0m oh no!\n ╭─[\u{1b}[36;1;4mline1\u{1b}[0m:1:1]\n \u{1b}[2m1\u{1b}[0m │ force_error \"My error\"\n · \u{1b}[35;1m ─────┬────\u{1b}[0m\n · \u{1b}[35;1m╰── \u{1b}[35;1mhere's the error\u{1b}[0m\u{1b}[0m\n ╰────\n\n\n"
|
||||
"Error: \u{1b}[31m×\u{1b}[0m oh no!\n ╭─[\u{1b}[36;1;4mline1\u{1b}[0m:1:13]\n \u{1b}[2m1\u{1b}[0m │ force_error \"My error\"\n · \u{1b}[35;1m ─────┬────\u{1b}[0m\n · \u{1b}[35;1m╰── \u{1b}[35;1mhere's the error\u{1b}[0m\u{1b}[0m\n ╰────\n\n\n"
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -8,7 +8,8 @@ name = "nu-std"
|
||||
version = "0.90.2"
|
||||
|
||||
[dependencies]
|
||||
miette = { version = "5.10", features = ["fancy-no-backtrace"] }
|
||||
miette = { version = "7.0", features = ["fancy-no-backtrace"] }
|
||||
nu-parser = { version = "0.90.2", path = "../nu-parser" }
|
||||
nu-protocol = { version = "0.90.2", path = "../nu-protocol" }
|
||||
nu-engine = { version = "0.90.2", path = "../nu-engine" }
|
||||
|
||||
|
Reference in New Issue
Block a user