update strip-ansi-escapes to 0.2.0 and the latest reedline (#9970)

# Description

This PR fixes the semver issues with `strip-ansi-escapes` and updates it
to 0.2.0 as well as updating to the latest reedline which just landed an
identical patch.

# 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 -A
clippy::needless_collect -A clippy::result_large_err` to check that
you're using the standard code style
- `cargo test --workspace` to check that all tests pass
- `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.
-->
This commit is contained in:
Darren Schroeder 2023-08-09 12:33:07 -05:00 committed by GitHub
parent bb3cc9e153
commit 6f5bd62a97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

6
Cargo.lock generated
View File

@ -4124,7 +4124,7 @@ dependencies = [
[[package]] [[package]]
name = "reedline" name = "reedline"
version = "0.22.0" version = "0.22.0"
source = "git+https://github.com/nushell/reedline.git?branch=main#541698fb74c249cd540583fab2425c91700481fa" source = "git+https://github.com/nushell/reedline.git?branch=main#e7ee24a2b01d041feefb5eb58ba2377a20412f94"
dependencies = [ dependencies = [
"chrono", "chrono",
"crossterm", "crossterm",
@ -4822,9 +4822,9 @@ dependencies = [
[[package]] [[package]]
name = "strip-ansi-escapes" name = "strip-ansi-escapes"
version = "0.1.2" version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dad0ed65755f6fdd06f7afd1afefe7b2b220c2b197844687c2ea9d6d4807305e" checksum = "55ff8ef943b384c414f54aefa961dd2bd853add74ec75e7ac74cf91dba62bcfa"
dependencies = [ dependencies = [
"vte 0.11.1", "vte 0.11.1",
] ]

View File

@ -21,7 +21,7 @@ nu-json = { path = "../nu-json", version = "0.83.2" }
nu-utils = { path = "../nu-utils", version = "0.83.2" } nu-utils = { path = "../nu-utils", version = "0.83.2" }
terminal_size = "0.2" terminal_size = "0.2"
strip-ansi-escapes = "0.1" strip-ansi-escapes = "0.2.0"
crossterm = "0.26" crossterm = "0.26"
ratatui = "0.20" ratatui = "0.20"
ansi-str = "0.8" ansi-str = "0.8"

View File

@ -20,7 +20,7 @@ bench = false
log = "0.4" log = "0.4"
lscolors = { version = "0.15", default-features = false, features = ["nu-ansi-term"] } lscolors = { version = "0.15", default-features = false, features = ["nu-ansi-term"] }
num-format = { version = "0.4" } num-format = { version = "0.4" }
strip-ansi-escapes = "0.1" strip-ansi-escapes = "0.2.0"
sys-locale = "0.3" sys-locale = "0.3"
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]