From 8c32ec53ee8907b48e6d6734748c8b51c8d75f44 Mon Sep 17 00:00:00 2001 From: extrawurst Date: Tue, 30 Aug 2022 13:46:06 +0200 Subject: [PATCH] pretty_assertions migrated away from ansi-termi this closes #1290 --- CHANGELOG.md | 3 +++ Cargo.lock | 21 +++++++++------------ Cargo.toml | 2 +- asyncgit/Cargo.toml | 2 +- filetreelist/Cargo.toml | 2 +- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ec662cd..00b6d2f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added * submodules support ([#1087](https://github.com/extrawurst/gitui/issues/1087)) +### Fixes +* remove insecure dependency `ansi_term` ([#1290](https://github.com/extrawurst/gitui/issues/1290)) + ## [0.21.0] - 2021-08-17 **popup stacking** diff --git a/Cargo.lock b/Cargo.lock index 7961efbb..8b2b04eb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -46,15 +46,6 @@ dependencies = [ "libc", ] -[[package]] -name = "ansi_term" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" -dependencies = [ - "winapi", -] - [[package]] name = "anyhow" version = "1.0.62" @@ -1139,14 +1130,14 @@ dependencies = [ [[package]] name = "pretty_assertions" -version = "1.2.1" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c89f989ac94207d048d92db058e4f6ec7342b0971fc58d1271ca148b799b3563" +checksum = "a25e9bcb20aa780fd0bb16b72403a9064d6b3f22f026946029acb941a50af755" dependencies = [ - "ansi_term", "ctor", "diff", "output_vt100", + "yansi", ] [[package]] @@ -1886,3 +1877,9 @@ name = "windows_x86_64_msvc" version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" + +[[package]] +name = "yansi" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" diff --git a/Cargo.toml b/Cargo.toml index 086ef3ef..512f90e8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -57,7 +57,7 @@ which = "4.2" pprof = { version = "0.10", features = ["flamegraph"], optional = true } [dev-dependencies] -pretty_assertions = "1.0" +pretty_assertions = "1.3" [badges] maintenance = { status = "actively-developed" } diff --git a/asyncgit/Cargo.toml b/asyncgit/Cargo.toml index ccfe09ee..95ec983b 100644 --- a/asyncgit/Cargo.toml +++ b/asyncgit/Cargo.toml @@ -29,7 +29,7 @@ url = "2.2" [dev-dependencies] invalidstring = { path = "../invalidstring", version = "0.1" } -pretty_assertions = "1.0" +pretty_assertions = "1.3" serial_test = "0.9" tempfile = "3.2" diff --git a/filetreelist/Cargo.toml b/filetreelist/Cargo.toml index 6a03a6fc..63177a0c 100644 --- a/filetreelist/Cargo.toml +++ b/filetreelist/Cargo.toml @@ -16,4 +16,4 @@ scopetime = { path = "../scopetime", version = "0.1" } thiserror = "1.0" [dev-dependencies] -pretty_assertions = "1.0" +pretty_assertions = "1.3"