Skip to content

Commit

Permalink
use console_static_text and deno_terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanwhit committed Feb 1, 2025
1 parent e39f145 commit bc3f783
Show file tree
Hide file tree
Showing 4 changed files with 166 additions and 169 deletions.
18 changes: 14 additions & 4 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ cbc = { version = "=0.1.2", features = ["alloc"] }
# Instead use util::time::utc_now()
chrono = { version = "0.4", default-features = false, features = ["std", "serde"] }
color-print = "0.3.5"
console_static_text = "=0.8.1"
console_static_text = "=0.8.3"
ctr = { version = "0.9.2", features = ["alloc"] }
dashmap = "5.5.3"
data-encoding = "2.3.3"
Expand Down
8 changes: 2 additions & 6 deletions cli/tools/registry/pm/outdated.rs
Original file line number Diff line number Diff line change
Expand Up @@ -350,14 +350,10 @@ async fn update(
interactive::PackageInfo {
current_version: current_version
.as_ref()
.map(|nv| nv.version.to_string())
.unwrap_or_default(),
.map(|nv| nv.version.clone()),
name: dep.alias_or_name().into(),
kind: dep.kind,
new_version: new_req
.version_text()
.trim_start_matches('^')
.to_string(),
new_version: new_req.clone(),
}
},
)
Expand Down
Loading

0 comments on commit bc3f783

Please sign in to comment.