Skip to content

Commit

Permalink
Update nu-ansi-term to remove Deref impl (nushell#5706)
Browse files Browse the repository at this point in the history
Resolves an unexpected issue due to `Deref` and `ToString` interacting

Details: nushell/nu-ansi-term#5 and nushell/reedline#435 (comment)

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)
  • Loading branch information
sholderbach authored and fennewald committed Jun 27, 2022
1 parent 973287f commit c5bd25e
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ crossterm = "0.23.0"
ctrlc = "3.2.1"
log = "0.4"
miette = "4.5.0"
nu-ansi-term = "0.45.1"
nu-ansi-term = "0.46.0"
nu-cli = { path="./crates/nu-cli", version = "0.63.1" }
nu-color-config = { path = "./crates/nu-color-config", version = "0.63.1" }
nu-command = { path="./crates/nu-command", version = "0.63.1" }
Expand Down Expand Up @@ -118,3 +118,4 @@ debug = false
[[bin]]
name = "nu"
path = "src/main.rs"

2 changes: 1 addition & 1 deletion crates/nu-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion crates/nu-color-config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
2 changes: 1 addition & 1 deletion crates/nu-command/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion crates/nu-pretty-hex/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion crates/nu-table/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c5bd25e

Please sign in to comment.