From db6a570627d48fcf33c17697e02a84c8630abf0e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 18:25:24 +0000 Subject: [PATCH] Bump thiserror from 1.0.67 to 2.0.3 Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.67 to 2.0.3. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.67...2.0.3) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 80 ++++++++++++++++++++++------------- cli/Cargo.toml | 2 +- lockfile/Cargo.toml | 2 +- lockfile_generator/Cargo.toml | 2 +- 4 files changed, 53 insertions(+), 33 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8f8947d8e..8887bdbef 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -249,7 +249,7 @@ dependencies = [ "nom 7.1.3", "num-traits", "rusticata-macros", - "thiserror", + "thiserror 1.0.69", "time", ] @@ -1157,7 +1157,7 @@ dependencies = [ "swc_visit", "swc_visit_macros", "text_lines", - "thiserror", + "thiserror 1.0.69", "unicode-width 0.1.14", "url", ] @@ -1403,7 +1403,7 @@ dependencies = [ "scopeguard", "serde", "smallvec", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-util", ] @@ -1595,7 +1595,7 @@ dependencies = [ "sm3", "spki", "stable_deref_trait", - "thiserror", + "thiserror 1.0.69", "tokio", "url", "winapi", @@ -1617,7 +1617,7 @@ dependencies = [ "strum", "strum_macros", "syn 2.0.87", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1630,7 +1630,7 @@ dependencies = [ "indexmap", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", "url", ] @@ -1724,7 +1724,7 @@ dependencies = [ "monch", "once_cell", "serde", - "thiserror", + "thiserror 1.0.69", "url", ] @@ -1930,7 +1930,7 @@ dependencies = [ "rand", "rusqlite", "serde_json", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-stream", "uuid", @@ -2004,7 +2004,7 @@ dependencies = [ "fuzzy-matcher", "shell-words", "tempfile", - "thiserror", + "thiserror 1.0.69", "zeroize", ] @@ -2420,7 +2420,7 @@ dependencies = [ "rand", "sha1", "simdutf8", - "thiserror", + "thiserror 1.0.69", "tokio", "utf-8", ] @@ -3748,7 +3748,7 @@ dependencies = [ "serde", "serde_json", "tempfile", - "thiserror", + "thiserror 2.0.3", ] [[package]] @@ -3945,7 +3945,7 @@ dependencies = [ "serde", "spirv", "termcolor", - "thiserror", + "thiserror 1.0.69", "unicode-xid", ] @@ -4024,7 +4024,7 @@ dependencies = [ "path-clean", "regex", "serde_json", - "thiserror", + "thiserror 1.0.69", "tokio", "url", ] @@ -4507,7 +4507,7 @@ dependencies = [ "shellexpand", "tempfile", "textwrap", - "thiserror", + "thiserror 2.0.3", "tokio", "toml", "unicode-width 0.2.0", @@ -4537,7 +4537,7 @@ dependencies = [ "serde_json", "serde_yaml", "tempfile", - "thiserror", + "thiserror 2.0.3", "toml", "urlencoding", "walkdir", @@ -4911,7 +4911,7 @@ dependencies = [ "percent-encoding", "phf", "smartstring", - "thiserror", + "thiserror 1.0.69", "unicase", ] @@ -4945,7 +4945,7 @@ dependencies = [ "rustc-hash 2.0.0", "rustls", "socket2", - "thiserror", + "thiserror 1.0.69", "tokio", "tracing", ] @@ -4962,7 +4962,7 @@ dependencies = [ "rustc-hash 2.0.0", "rustls", "slab", - "thiserror", + "thiserror 1.0.69", "tinyvec", "tracing", ] @@ -5085,7 +5085,7 @@ checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ "getrandom", "libredox", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -5707,7 +5707,7 @@ dependencies = [ "num-bigint", "serde", "smallvec", - "thiserror", + "thiserror 1.0.69", "v8", ] @@ -6563,7 +6563,16 @@ version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c006c85c7651b3cf2ada4584faa36773bd07bac24acfb39f3c431b36d7e667aa" +dependencies = [ + "thiserror-impl 2.0.3", ] [[package]] @@ -6577,6 +6586,17 @@ dependencies = [ "syn 2.0.87", ] +[[package]] +name = "thiserror-impl" +version = "2.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f077553d607adc1caf65430528a576c757a71ed73944b66ebb58ef2bbd243568" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.87", +] + [[package]] name = "thread_local" version = "1.1.8" @@ -6696,7 +6716,7 @@ checksum = "0d4770b8024672c1101b3f6733eab95b18007dbe0847a8afe341fcf79e06043f" dependencies = [ "either", "futures-util", - "thiserror", + "thiserror 1.0.69", "tokio", ] @@ -6896,7 +6916,7 @@ dependencies = [ "rand", "serde", "smallvec", - "thiserror", + "thiserror 1.0.69", "tinyvec", "tokio", "tracing", @@ -6919,7 +6939,7 @@ dependencies = [ "resolv-conf", "serde", "smallvec", - "thiserror", + "thiserror 1.0.69", "tokio", "tracing", "trust-dns-proto", @@ -7166,7 +7186,7 @@ dependencies = [ "indexmap", "num-bigint", "serde", - "thiserror", + "thiserror 1.0.69", "wtf8", ] @@ -7213,7 +7233,7 @@ dependencies = [ "serde", "serde_json", "tar", - "thiserror", + "thiserror 1.0.69", "tree-sitter", "walkdir", ] @@ -7374,7 +7394,7 @@ dependencies = [ "rustc-hash 1.1.0", "serde", "smallvec", - "thiserror", + "thiserror 1.0.69", "web-sys", "wgpu-hal", "wgpu-types", @@ -7415,7 +7435,7 @@ dependencies = [ "raw-window-handle", "rustc-hash 1.1.0", "smallvec", - "thiserror", + "thiserror 1.0.69", "wasm-bindgen", "web-sys", "wgpu-types", @@ -7782,7 +7802,7 @@ dependencies = [ "nom 7.1.3", "oid-registry", "rusticata-macros", - "thiserror", + "thiserror 1.0.69", "time", ] @@ -7918,7 +7938,7 @@ dependencies = [ "flate2", "indexmap", "memchr", - "thiserror", + "thiserror 1.0.69", "zopfli", ] diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 5b97d50ca..ea4effb93 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -59,7 +59,7 @@ sha2 = "0.10.2" shellexpand = "3.0.0" tempfile = "3.3.0" textwrap = "0.16.0" -thiserror = "1.0.29" +thiserror = "2.0.3" tokio = { version = "^1.0", features = ["full"] } toml = "0.8.19" unicode-width = "0.2.0" diff --git a/lockfile/Cargo.toml b/lockfile/Cargo.toml index 781662a8b..1e2cc6ab7 100644 --- a/lockfile/Cargo.toml +++ b/lockfile/Cargo.toml @@ -26,7 +26,7 @@ quick-xml = { version = "0.31.0", features = [ serde = { version = "1.0.144", features = ["derive"] } serde_json = "1.0.85" serde_yaml = "0.9.2" -thiserror = "1.0.40" +thiserror = "2.0.3" toml = "0.8.19" urlencoding = "2.1.2" walkdir = "2.3.2" diff --git a/lockfile_generator/Cargo.toml b/lockfile_generator/Cargo.toml index 61de61300..9fe244a5a 100644 --- a/lockfile_generator/Cargo.toml +++ b/lockfile_generator/Cargo.toml @@ -11,6 +11,6 @@ serde = { version = "1.0.163", features = ["derive"] } serde_json = "1.0.96" anyhow = "1.0.75" glob = "0.3.1" -thiserror = "1.0.49" +thiserror = "2.0.3" tempfile = "3.3.0" dunce = "1.0.5"