Skip to content

Commit fa6b9c3

Browse files
committed
use console_static_text and deno_terminal
1 parent d1707f0 commit fa6b9c3

File tree

4 files changed

+166
-169
lines changed

4 files changed

+166
-169
lines changed

Cargo.lock

+14-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ cbc = { version = "=0.1.2", features = ["alloc"] }
123123
# Instead use util::time::utc_now()
124124
chrono = { version = "0.4", default-features = false, features = ["std", "serde"] }
125125
color-print = "0.3.5"
126-
console_static_text = "=0.8.1"
126+
console_static_text = "=0.8.3"
127127
ctr = { version = "0.9.2", features = ["alloc"] }
128128
dashmap = "5.5.3"
129129
data-encoding = "2.3.3"

cli/tools/registry/pm/outdated.rs

+2-6
Original file line numberDiff line numberDiff line change
@@ -350,14 +350,10 @@ async fn update(
350350
interactive::PackageInfo {
351351
current_version: current_version
352352
.as_ref()
353-
.map(|nv| nv.version.to_string())
354-
.unwrap_or_default(),
353+
.map(|nv| nv.version.clone()),
355354
name: dep.alias_or_name().into(),
356355
kind: dep.kind,
357-
new_version: new_req
358-
.version_text()
359-
.trim_start_matches('^')
360-
.to_string(),
356+
new_version: new_req.clone(),
361357
}
362358
},
363359
)

0 commit comments

Comments
 (0)