diff --git a/crates/rspack_error/Cargo.toml b/crates/rspack_error/Cargo.toml index 6dc510fea4ec..77609e208090 100644 --- a/crates/rspack_error/Cargo.toml +++ b/crates/rspack_error/Cargo.toml @@ -21,6 +21,6 @@ rspack_paths = { workspace = true } swc_core = { workspace = true, features = ["common", "common_concurrent"] } termcolor = "1.4.1" textwrap = "0.16.1" -thiserror = "1.0.69" +thiserror = "2.0.11" unicode-width = "0.2.0" diff --git a/tasks/release-check/Cargo.toml b/tasks/release-check/Cargo.toml index 83799a74c461..063bc34d0a47 100644 --- a/tasks/release-check/Cargo.toml +++ b/tasks/release-check/Cargo.toml @@ -13,7 +13,7 @@ repository.workspace = true [dependencies] toml = { version = "0.8.19"} miette = { version = "7.2.0", features = ["fancy"] } -thiserror = "1.0.69" +thiserror = "2.0.11" [lints] workspace = true