From 74a5c7b146d46126dd31d2dbdc90bf7b85d1425e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 6 Dec 2024 03:47:36 +0000 Subject: [PATCH] chore(deps): update rust crate testing to v5 --- Cargo.lock | 355 +++++++++++------------------------------------------ Cargo.toml | 2 +- 2 files changed, 71 insertions(+), 286 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 203a2bc..6a5588b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,16 +1,12 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "Inflector" version = "0.11.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3" -dependencies = [ - "lazy_static", - "regex", -] [[package]] name = "ahash" @@ -65,18 +61,6 @@ version = "1.0.89" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "86fdf8605db99b54d3cd748a44c6d04df638eb5dafb219b135d0149bd0db01f6" -[[package]] -name = "ast_node" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4d23a6d1d5f18bdbc06d9aa908880e5f49205156ba804751af731c51f5cf81a" -dependencies = [ - "proc-macro2", - "quote", - "swc_macros_common 0.3.11", - "syn 2.0.87", -] - [[package]] name = "ast_node" version = "3.0.0" @@ -85,8 +69,8 @@ checksum = "91fb5864e2f5bf9fd9797b94b2dfd1554d4c3092b535008b27d7e15c86675a2f" dependencies = [ "proc-macro2", "quote", - "swc_macros_common 1.0.0", - "syn 2.0.87", + "swc_macros_common", + "syn", ] [[package]] @@ -110,15 +94,6 @@ dependencies = [ "simd-abstraction", ] -[[package]] -name = "better_scoped_tls" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "297b153aa5e573b5863108a6ddc9d5c968bd0b20e75cc614ee9821d2f45679c7" -dependencies = [ - "scoped-tls", -] - [[package]] name = "better_scoped_tls" version = "1.0.0" @@ -177,7 +152,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "50c8f430744b23b54ad15161fcbc22d82a29b73eacbe425fea23ec822600bc6f" dependencies = [ "bytecheck_derive", - "ptr_meta 0.3.0", + "ptr_meta", "rancor", "simdutf8", ] @@ -190,7 +165,7 @@ checksum = "523363cbe1df49b68215efdf500b103ac3b0fb4836aed6d15689a076eadb8fff" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn", ] [[package]] @@ -286,7 +261,7 @@ dependencies = [ "proc-macro2", "quote", "strsim", - "syn 2.0.87", + "syn", ] [[package]] @@ -297,7 +272,7 @@ checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" dependencies = [ "darling_core", "quote", - "syn 2.0.87", + "syn", ] [[package]] @@ -334,7 +309,7 @@ dependencies = [ "darling", "proc-macro2", "quote", - "syn 2.0.87", + "syn", ] [[package]] @@ -344,7 +319,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab63b0e2bf4d5928aff72e83a7dace85d7bba5fe12dcc3c5a572d78caffd3f3c" dependencies = [ "derive_builder_core", - "syn 2.0.87", + "syn", ] [[package]] @@ -423,17 +398,6 @@ dependencies = [ "percent-encoding", ] -[[package]] -name = "from_variant" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8d8947525c49c73130b5a7187b55b027b6b78fe60268d9f4c283ed690698cb1" -dependencies = [ - "proc-macro2", - "swc_macros_common 0.3.11", - "syn 2.0.87", -] - [[package]] name = "from_variant" version = "2.0.0" @@ -441,8 +405,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8d7ccf961415e7aa17ef93dcb6c2441faaa8e768abe09e659b908089546f74c5" dependencies = [ "proc-macro2", - "swc_macros_common 1.0.0", - "syn 2.0.87", + "swc_macros_common", + "syn", ] [[package]] @@ -570,7 +534,7 @@ dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.87", + "syn", ] [[package]] @@ -650,7 +614,7 @@ checksum = "dcf09caffaac8068c346b6df2a7fc27a177fd20b39421a39ce0a211bde679a6c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn", ] [[package]] @@ -670,7 +634,7 @@ checksum = "1bb5c1d8184f13f7d0ccbeeca0def2f9a181bce2624302793005f5ca8aa62e5e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn", ] [[package]] @@ -813,7 +777,7 @@ dependencies = [ "phf_shared", "proc-macro2", "quote", - "syn 2.0.87", + "syn", ] [[package]] @@ -859,33 +823,13 @@ dependencies = [ "cc", ] -[[package]] -name = "ptr_meta" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0738ccf7ea06b608c10564b31debd4f5bc5e197fc8bfe088f68ae5ce81e7a4f1" -dependencies = [ - "ptr_meta_derive 0.1.4", -] - [[package]] name = "ptr_meta" version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fe9e76f66d3f9606f44e45598d155cb13ecf09f4a28199e48daf8c8fc937ea90" dependencies = [ - "ptr_meta_derive 0.3.0", -] - -[[package]] -name = "ptr_meta_derive" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b845dbfca988fa33db069c0e230574d15a3088f147a87b64c7589eb662c9ac" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", + "ptr_meta_derive", ] [[package]] @@ -896,7 +840,7 @@ checksum = "ca414edb151b4c8d125c12566ab0d74dc9cdba36fb80eb7b848c15f495fd32d1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn", ] [[package]] @@ -920,7 +864,7 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "caf5f7161924b9d1cea0e4cabc97c372cea92b5f927fc13c6bca67157a0ad947" dependencies = [ - "ptr_meta 0.3.0", + "ptr_meta", ] [[package]] @@ -1017,7 +961,7 @@ dependencies = [ "hashbrown 0.15.2", "indexmap", "munge", - "ptr_meta 0.3.0", + "ptr_meta", "rancor", "rend", "rkyv_derive", @@ -1033,7 +977,7 @@ checksum = "beb382a4d9f53bd5c0be86b10d8179c3f8a14c30bf774ff77096ed6581e35981" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn", ] [[package]] @@ -1135,7 +1079,7 @@ checksum = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn", ] [[package]] @@ -1265,8 +1209,8 @@ checksum = "c9fe66b8ee349846ce2f9557a26b8f1e74843c4a13fb381f9a3d73617a5f956a" dependencies = [ "proc-macro2", "quote", - "swc_macros_common 1.0.0", - "syn 2.0.87", + "swc_macros_common", + "syn", ] [[package]] @@ -1275,19 +1219,6 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" -[[package]] -name = "swc_allocator" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76aa0eb65c0f39f9b6d82a7e5192c30f7ac9a78f084a21f270de1d8c600ca388" -dependencies = [ - "bumpalo", - "hashbrown 0.14.5", - "ptr_meta 0.1.4", - "rustc-hash", - "triomphe", -] - [[package]] name = "swc_allocator" version = "2.0.0" @@ -1296,23 +1227,11 @@ checksum = "117d5d3289663f53022ebf157df8a42b3872d7ac759e63abf96b5987b85d4af3" dependencies = [ "bumpalo", "hashbrown 0.14.5", - "ptr_meta 0.3.0", + "ptr_meta", "rustc-hash", "triomphe", ] -[[package]] -name = "swc_atoms" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b25ff0f3fd48ab1a95d86fd0505fdd1ac904f84d0350dc8222bbc824e9d4fdf6" -dependencies = [ - "hstr", - "once_cell", - "rustc-hash", - "serde", -] - [[package]] name = "swc_atoms" version = "3.0.0" @@ -1328,34 +1247,6 @@ dependencies = [ "serde", ] -[[package]] -name = "swc_common" -version = "0.40.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca32839a37f3b12213b18623b1bd58d37641cab750c50c3c287876cb98b12ab4" -dependencies = [ - "ast_node 1.0.0", - "better_scoped_tls 0.1.2", - "cfg-if", - "either", - "from_variant 1.0.0", - "new_debug_unreachable", - "num-bigint", - "once_cell", - "parking_lot", - "rustc-hash", - "serde", - "siphasher", - "swc_allocator 0.1.10", - "swc_atoms 1.0.2", - "swc_eq_ignore_macros 0.1.3", - "swc_visit 0.6.0", - "termcolor", - "tracing", - "unicode-width", - "url", -] - [[package]] name = "swc_common" version = "5.0.0" @@ -1363,12 +1254,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a521e8120dc0401580864a643b5bffa035c29fc3fc41697c972743d4f008ed22" dependencies = [ "anyhow", - "ast_node 3.0.0", - "better_scoped_tls 1.0.0", + "ast_node", + "better_scoped_tls", "bytecheck", "cfg-if", "either", - "from_variant 2.0.0", + "from_variant", "new_debug_unreachable", "num-bigint", "once_cell", @@ -1379,10 +1270,10 @@ dependencies = [ "serde", "siphasher", "sourcemap", - "swc_allocator 2.0.0", - "swc_atoms 3.0.0", - "swc_eq_ignore_macros 1.0.0", - "swc_visit 2.0.0", + "swc_allocator", + "swc_atoms", + "swc_eq_ignore_macros", + "swc_visit", "termcolor", "tracing", "unicode-width", @@ -1396,9 +1287,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "324e9dc1ddc05bb3ccef6b7541177a4bf7ae25ccaee65832a45a8c20a968ed80" dependencies = [ "once_cell", - "swc_allocator 2.0.0", - "swc_atoms 3.0.0", - "swc_common 5.0.0", + "swc_allocator", + "swc_atoms", + "swc_common", "swc_ecma_ast", "swc_ecma_transforms_base", "swc_ecma_transforms_testing", @@ -1425,9 +1316,9 @@ dependencies = [ "rkyv", "scoped-tls", "string_enum", - "swc_atoms 3.0.0", - "swc_common 5.0.0", - "swc_visit 2.0.0", + "swc_atoms", + "swc_common", + "swc_visit", "unicode-id-start", ] @@ -1443,9 +1334,9 @@ dependencies = [ "regex", "serde", "sourcemap", - "swc_allocator 2.0.0", - "swc_atoms 3.0.0", - "swc_common 5.0.0", + "swc_allocator", + "swc_atoms", + "swc_common", "swc_ecma_ast", "swc_ecma_codegen_macros", "tracing", @@ -1459,8 +1350,8 @@ checksum = "5f9a42f479a6475647e248fa9750982c87cd985e19d1016a1fc18a70682305d1" dependencies = [ "proc-macro2", "quote", - "swc_macros_common 1.0.0", - "syn 2.0.87", + "swc_macros_common", + "syn", ] [[package]] @@ -1478,8 +1369,8 @@ dependencies = [ "smallvec", "smartstring", "stacker", - "swc_atoms 3.0.0", - "swc_common 5.0.0", + "swc_atoms", + "swc_common", "swc_ecma_ast", "tracing", "typed-arena", @@ -1494,7 +1385,7 @@ dependencies = [ "anyhow", "hex", "sha2", - "testing 5.0.0", + "testing", "tracing", ] @@ -1504,7 +1395,7 @@ version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2409f9c896f99481d9f609de89c7786ccd0dba008650a4116f1aef7a58926422" dependencies = [ - "better_scoped_tls 1.0.0", + "better_scoped_tls", "bitflags 2.6.0", "indexmap", "once_cell", @@ -1512,8 +1403,8 @@ dependencies = [ "rustc-hash", "serde", "smallvec", - "swc_atoms 3.0.0", - "swc_common 5.0.0", + "swc_atoms", + "swc_common", "swc_ecma_ast", "swc_ecma_parser", "swc_ecma_utils", @@ -1535,7 +1426,7 @@ dependencies = [ "serde_json", "sha2", "sourcemap", - "swc_common 5.0.0", + "swc_common", "swc_ecma_ast", "swc_ecma_codegen", "swc_ecma_parser", @@ -1544,7 +1435,7 @@ dependencies = [ "swc_ecma_utils", "swc_ecma_visit", "tempfile", - "testing 5.0.0", + "testing", ] [[package]] @@ -1558,8 +1449,8 @@ dependencies = [ "once_cell", "rustc-hash", "ryu-js", - "swc_atoms 3.0.0", - "swc_common 5.0.0", + "swc_atoms", + "swc_common", "swc_ecma_ast", "swc_ecma_visit", "tracing", @@ -1574,24 +1465,13 @@ checksum = "b04c06c1805bda18c27165560f1617a57453feb9fb0638d90839053641af42d4" dependencies = [ "new_debug_unreachable", "num-bigint", - "swc_atoms 3.0.0", - "swc_common 5.0.0", + "swc_atoms", + "swc_common", "swc_ecma_ast", - "swc_visit 2.0.0", + "swc_visit", "tracing", ] -[[package]] -name = "swc_eq_ignore_macros" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "695a1d8b461033d32429b5befbf0ad4d7a2c4d6ba9cd5ba4e0645c615839e8e4" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.87", -] - [[package]] name = "swc_eq_ignore_macros" version = "1.0.0" @@ -1600,20 +1480,7 @@ checksum = "e96e15288bf385ab85eb83cff7f9e2d834348da58d0a31b33bdb572e66ee413e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", -] - -[[package]] -name = "swc_error_reporters" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83f9286183c9be40aafcbbe8c397403fb32af812a3dffe93eee9067aee4fbedb" -dependencies = [ - "anyhow", - "miette", - "once_cell", - "parking_lot", - "swc_common 0.40.2", + "syn", ] [[package]] @@ -1626,18 +1493,7 @@ dependencies = [ "miette", "once_cell", "parking_lot", - "swc_common 5.0.0", -] - -[[package]] -name = "swc_macros_common" -version = "0.3.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91745f3561057493d2da768437c427c0e979dff7396507ae02f16c981c4a8466" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.87", + "swc_common", ] [[package]] @@ -1648,7 +1504,7 @@ checksum = "a509f56fca05b39ba6c15f3e58636c3924c78347d63853632ed2ffcb6f5a0ac7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn", ] [[package]] @@ -1656,7 +1512,7 @@ name = "swc_mut_cjs_exports" version = "0.109.1" dependencies = [ "swc_core", - "testing 0.42.1", + "testing", ] [[package]] @@ -1676,7 +1532,7 @@ checksum = "0917ccfdcd3fa6cf41bdacef2388702a3b274f9ea708d930e1e8db37c7c3e1c6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn", ] [[package]] @@ -1685,11 +1541,11 @@ version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5aad63126fed3ee4885416b2f206153a10b51ca13808cdc8ff68f244d1bd32ec" dependencies = [ - "better_scoped_tls 1.0.0", + "better_scoped_tls", "bytecheck", "rancor", "rkyv", - "swc_common 5.0.0", + "swc_common", "swc_ecma_ast", "swc_trace_macro", "tracing", @@ -1703,17 +1559,7 @@ checksum = "4c78717a841565df57f811376a3d19c9156091c55175e12d378f3a522de70cef" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", -] - -[[package]] -name = "swc_visit" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52e2acde04c355dc8ffd62c56f263ba61a94b5c6d21ce2cdeaf857b5d74451a6" -dependencies = [ - "either", - "swc_visit_macros", + "syn", ] [[package]] @@ -1726,30 +1572,6 @@ dependencies = [ "new_debug_unreachable", ] -[[package]] -name = "swc_visit_macros" -version = "0.5.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ae9ef18ff8daffa999f729db056d2821cd2f790f3a11e46422d19f46bb193e7" -dependencies = [ - "Inflector", - "proc-macro2", - "quote", - "swc_macros_common 0.3.11", - "syn 2.0.87", -] - -[[package]] -name = "syn" -version = "1.0.109" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - [[package]] name = "syn" version = "2.0.87" @@ -1789,27 +1611,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "testing" -version = "0.42.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9217860da21fabe9c65981ba42f6dad2bd8f463b670448afe79aa9d50f0bc137" -dependencies = [ - "ansi_term", - "cargo_metadata", - "difference", - "once_cell", - "pretty_assertions", - "regex", - "serde", - "serde_json", - "swc_common 0.40.2", - "swc_error_reporters 1.0.0", - "testing_macros 0.2.12", - "tracing", - "tracing-subscriber", -] - [[package]] name = "testing" version = "5.0.0" @@ -1824,29 +1625,13 @@ dependencies = [ "regex", "serde", "serde_json", - "swc_common 5.0.0", - "swc_error_reporters 6.0.0", - "testing_macros 1.0.0", + "swc_common", + "swc_error_reporters", + "testing_macros", "tracing", "tracing-subscriber", ] -[[package]] -name = "testing_macros" -version = "0.2.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9d3864d4184569c1428645a51a304b3b6e8d3094cd61fb3cce8dfdd9f6d0f72" -dependencies = [ - "anyhow", - "glob", - "once_cell", - "proc-macro2", - "quote", - "regex", - "relative-path", - "syn 2.0.87", -] - [[package]] name = "testing_macros" version = "1.0.0" @@ -1860,7 +1645,7 @@ dependencies = [ "quote", "regex", "relative-path", - "syn 2.0.87", + "syn", ] [[package]] @@ -1891,7 +1676,7 @@ checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn", ] [[package]] @@ -1938,7 +1723,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn", ] [[package]] @@ -2240,5 +2025,5 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn", ] diff --git a/Cargo.toml b/Cargo.toml index b9a1477..4420146 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,7 @@ swc_core = { version = "8.0.1", features = [ [dev-dependencies] swc_core = { version = "8.0.1", features = ["testing_transform"] } -testing = "0.42.1" +testing = "5.0.0" [profile.release] codegen-units = 1