Update nu-ansi-term to remove Deref impl (#5706)

Resolves an unexpected issue due to `Deref` and `ToString` interacting

Details: https://github.com/nushell/nu-ansi-term/pull/5 and https://github.com/nushell/reedline/pull/435#issuecomment-1141348209

Also updates reedline: Includes a fix for a panic when the directory containing the history is deleted during a running reedline session. (nushell/reedline#436)
This commit is contained in:
Stefan Holderbach
2022-06-03 21:38:54 +02:00
committed by GitHub
parent 0c16464320
commit a82fa75c31
7 changed files with 10 additions and 9 deletions

View File

@ -16,7 +16,7 @@ nu-path = { path = "../nu-path", version = "0.63.1" }
nu-parser = { path = "../nu-parser", version = "0.63.1" }
nu-protocol = { path = "../nu-protocol", version = "0.63.1" }
nu-utils = { path = "../nu-utils", version = "0.63.1" }
nu-ansi-term = "0.45.1"
nu-ansi-term = "0.46.0"
reedline = { git = "https://github.com/nushell/reedline", branch = "main", features = ["bashisms"]}
nu-color-config = { path = "../nu-color-config", version = "0.63.1" }
crossterm = "0.23.0"

View File

@ -8,7 +8,7 @@ version = "0.63.1"
[dependencies]
nu-protocol = { path = "../nu-protocol", version = "0.63.1" }
nu-ansi-term = "0.45.1"
nu-ansi-term = "0.46.0"
nu-json = { path = "../nu-json", version = "0.63.1" }
nu-table = { path = "../nu-table", version = "0.63.1" }
serde = { version="1.0.123", features=["derive"] }

View File

@ -23,7 +23,7 @@ nu-table = { path = "../nu-table", version = "0.63.1" }
nu-term-grid = { path = "../nu-term-grid", version = "0.63.1" }
nu-test-support = { path = "../nu-test-support", version = "0.63.1" }
nu-utils = { path = "../nu-utils", version = "0.63.1" }
nu-ansi-term = "0.45.1"
nu-ansi-term = "0.46.0"
# Potential dependencies for extras
alphanumeric-sort = "1.4.4"

View File

@ -16,7 +16,7 @@ name = "nu_pretty_hex"
path = "src/main.rs"
[dependencies]
nu-ansi-term = "0.45.1"
nu-ansi-term = "0.46.0"
rand = "0.8.3"
[dev-dependencies]

View File

@ -12,7 +12,7 @@ name = "table"
path = "src/main.rs"
[dependencies]
nu-ansi-term = "0.45.1"
nu-ansi-term = "0.46.0"
nu-protocol = { path = "../nu-protocol", version = "0.63.1" }
regex = "1.4"
unicode-width = "0.1.8"