diff --git a/Cargo.lock b/Cargo.lock index e16a7cc6ad3..ba2ffd05216 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2582,7 +2582,7 @@ dependencies = [ "supports-hyperlinks", "supports-unicode", "terminal_size", - "textwrap 0.16.1", + "textwrap", "thiserror 1.0.69", "unicode-width 0.1.12", ] @@ -3918,7 +3918,7 @@ dependencies = [ "rspack_paths", "swc_core", "termcolor", - "textwrap 0.15.2", + "textwrap", "thiserror 1.0.69", "unicode-width 0.2.0", ] @@ -6793,17 +6793,6 @@ dependencies = [ "libc", ] -[[package]] -name = "textwrap" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7b3e525a49ec206798b40326a44121291b530c963cfb01018f63e135bac543d" -dependencies = [ - "smawk", - "unicode-linebreak", - "unicode-width 0.1.12", -] - [[package]] name = "textwrap" version = "0.16.1" diff --git a/crates/rspack_error/Cargo.toml b/crates/rspack_error/Cargo.toml index 093fb8aaaa8..98ce7c44dd6 100644 --- a/crates/rspack_error/Cargo.toml +++ b/crates/rspack_error/Cargo.toml @@ -20,7 +20,7 @@ rspack_collections = { workspace = true } rspack_paths = { workspace = true } swc_core = { workspace = true, features = ["common", "common_concurrent"] } termcolor = "1.4.1" -textwrap = "0.15.2" +textwrap = "0.16.1" thiserror = "1.0.69" unicode-width = "0.2.0"