diff --git a/Cargo.lock b/Cargo.lock index b5107bf..ed28863 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1926,9 +1926,9 @@ dependencies = [ [[package]] name = "swc" -version = "4.0.0" +version = "5.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75ed459d2becd7649143665548028e7c9254b8794bc5e15d262694a4bb54caa4" +checksum = "123d30af348de27da4b8f4762c603cdc44039b010f896aa2c3a24de12e9b910e" dependencies = [ "anyhow", "base64 0.21.7", @@ -2015,9 +2015,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "3.0.0" +version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "992b89cdcff8e61c1308a984af5450a60a382b106f3e79fd6aabf9e2e193d076" +checksum = "053e784870430ba47043278626e75686e745ac16876a8f5f4d6c9f39354ee7e7" dependencies = [ "ahash", "ast_node", @@ -2044,9 +2044,9 @@ dependencies = [ [[package]] name = "swc_compiler_base" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "990ad90a98e1e72af29ce25ed72e12e61d4a06c64725e6fa63c9d7291a9f1e27" +checksum = "93642202236e85434c36ec37daee144d4faf05d5495a4187228f9b03e6b4db88" dependencies = [ "anyhow", "base64 0.21.7", @@ -2097,9 +2097,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "3.0.0" +version = "4.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99e7c0cd9dfe2a49c8f0b4ce699c13c9e270b8487a0176e1d89e5a9a586d0b3b" +checksum = "1bdab7759509c1b37ec77bd9fc231f525b888d9609c2963ce71995da1b27357c" dependencies = [ "bitflags", "is-macro", @@ -2116,9 +2116,9 @@ dependencies = [ [[package]] name = "swc_ecma_codegen" -version = "3.0.0" +version = "4.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09236707a86e5d9f24c58e46c7f0efcc728daf1dd48167b2071f7afc11b7ea67" +checksum = "360f3a4ec392b6d395497d1f3649c70f8369db01707c756f5f0b8423474b40c4" dependencies = [ "memchr", "num-bigint", @@ -2148,9 +2148,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_bugfixes" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b75e7322ae25d39db5fc3e1022c9044415578646ad2b0e776d3651ea72c6c5ef" +checksum = "1329a40848de17863db27ab4d8840f5aa6a79e6655bab2a5abe0f4e7f5c56d6a" dependencies = [ "swc_atoms", "swc_common", @@ -2165,9 +2165,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_common" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41265d5e64e9e72e7916be2bc491529be6386f276878a5f938abd3de3e804ae2" +checksum = "c5d585318a0d8ad1465d68fb10c29674d41988f59f4fab1e162a2f0bf13dbdc2" dependencies = [ "swc_common", "swc_ecma_ast", @@ -2178,9 +2178,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2015" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2091f28686c27c001d661397078438ef7af3d5e63986fd3ebad406757221997a" +checksum = "27be5007d501b111706bb5e055a57388aeda89b5b13613831a285e4571575400" dependencies = [ "arrayvec", "indexmap", @@ -2205,9 +2205,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2016" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e7a93d54a35e32b14d676ce212af86ad12a3ed6a9e1a777592ca03ad530d380" +checksum = "4a329b3d6bcc4bebab396a556ec6accda6f7d4a8a1126ded05f2c7a705c6343e" dependencies = [ "swc_atoms", "swc_common", @@ -2222,9 +2222,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2017" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85b0f6ba7783a1fb34839b9c28c630b724b440fda93cccb7c62f0c689fb91155" +checksum = "ec0a6f9d438b79763da23e9eb20f10c3d7f39d4c301047fef89a7e4c7cc1d3e7" dependencies = [ "serde", "swc_atoms", @@ -2240,9 +2240,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2018" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76dc53785f2354b3f2adc828e6e1210f6358dac9d6bbdcb7aabd6953b1ea7d3d" +checksum = "d80354d791823c0fe754c5b9d35510e519261763e7871c6b3b15c57d54af928a" dependencies = [ "serde", "swc_atoms", @@ -2259,9 +2259,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2019" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dcd6f4d5adf45ee2f9a32b0ef8ae57064cc6ad9994b6b83ab8779a3cf4e2c88" +checksum = "d9389a8364fd44f041302b09ce46d54d42de033737597cf481c2bdc09ac8a899" dependencies = [ "swc_atoms", "swc_common", @@ -2275,9 +2275,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2020" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1103f8814cf15a841dfe3be7f236ba4ed7eeba99dd70ba95a6c50d3f06f98470" +checksum = "74b6f3a00525d801fd9c019570886edd9e4057aae45349bcf934260b0e1fb13f" dependencies = [ "serde", "swc_atoms", @@ -2293,9 +2293,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2021" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8bfc3e80b008c849c9fccfeacbf0c96b7a7bcc8cc36b80f5a36a2589e43112b" +checksum = "3c59d09c7146386ca51e3eb225f4c7b392d7d9020742e7cf47bc3c4ceb6aa4a6" dependencies = [ "swc_atoms", "swc_common", @@ -2309,9 +2309,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2022" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2c99e6bb989a1eeb0372a244eaecff7afe97ac9d5c90ff910fd9624fbb91b55" +checksum = "0947eca60f422bf25f926e06ebcde5f3189df7fb7fc9c4f0d07fcb6a90bd0acf" dependencies = [ "swc_atoms", "swc_common", @@ -2328,9 +2328,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es3" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d713149adf01aea336eab6dfd71efc69b47bd4c23bf00d94676b29a7a4399c2" +checksum = "2241d79bc42ab25133b9107c0ec08aef55503dde6dac85debae7ba750b21afd4" dependencies = [ "swc_common", "swc_ecma_ast", @@ -2343,9 +2343,9 @@ dependencies = [ [[package]] name = "swc_ecma_ext_transforms" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8372183140810c1b68167694ffc8b83ab184d57f936b655a141a21fc6be843e" +checksum = "b22832b3a044b1c136e2e36507da109e7882f43de959e5b8bf47f7e15eab20ef" dependencies = [ "phf", "swc_atoms", @@ -2357,9 +2357,9 @@ dependencies = [ [[package]] name = "swc_ecma_lints" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "281bc034243e0594dda84f1c0c705dbd25475fa384815cce454ffd75e2582cfe" +checksum = "b48790267b801843d341b4b1e4932a270e34a2998e0d8f66bca91cae819c65c5" dependencies = [ "auto_impl", "dashmap 5.5.3", @@ -2377,9 +2377,9 @@ dependencies = [ [[package]] name = "swc_ecma_loader" -version = "3.0.0" +version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3990b0a3db49dc0d6310b24487f502152c1cc92adea4fbe4335907fce4b13e42" +checksum = "be7c9ada6dc917b70f94cdff91cff1ac95f3d6693202109170ff5268ff4c0d1f" dependencies = [ "anyhow", "dashmap 5.5.3", @@ -2399,9 +2399,9 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ef4de55c8a57d10a2683157b4d17301482518a07fd15c3d71000fe0d1b99328" +checksum = "ba0fa4819b1353cbe5e15fabbc1618e0da6c51404214042457d3dd7a60e14960" dependencies = [ "arrayvec", "indexmap", @@ -2434,9 +2434,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a49f6ab5fa19498d0feb45a4943e1ad962736ee251e8f0f885330f7aeca39c39" +checksum = "54c5ab8bd4cc4a4956514699c84d1a25cdb5a33f5ec760ec64ce712e973019c9" dependencies = [ "either", "new_debug_unreachable", @@ -2456,9 +2456,9 @@ dependencies = [ [[package]] name = "swc_ecma_preset_env" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfe5e2978c94c480735ac2153e082cf3cdd25b27eb5b6e8053b11275a64ee7a5" +checksum = "536d242fcc9ae6dfcb3bf0fb1a0b087b20feca33e070aa51d585acbf8ac1ba5d" dependencies = [ "anyhow", "dashmap 5.5.3", @@ -2481,9 +2481,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a3e411329a10c03a9d7a006be3e0b556bf6ab7f557466e681f8fdedb6551122" +checksum = "1600bc245ac36783f219678d0831ffb8aeee7ab06908c394fc1da9be1b0fd16a" dependencies = [ "swc_atoms", "swc_common", @@ -2501,9 +2501,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "4.0.1" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6f43d1983d48dca819a7d0c79c5eb98011a2f8759acbddd972858ec228c66d4" +checksum = "f0a2438f61a45819b5adf0c338c92c07d83306d630fb2e6dc261c60fb75653d7" dependencies = [ "better_scoped_tls", "bitflags", @@ -2524,9 +2524,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_classes" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8edd0cf96f8f06071e164343829eb393e5824e0fd9fecfe02188448a29751b80" +checksum = "63a93f8b41f89e08edf77f70a8fa959cd3b84d396c2c6a3e0b0cca62f1b89683" dependencies = [ "swc_atoms", "swc_common", @@ -2538,9 +2538,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_compat" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66fe50b2f009c63d4e77a4fa9001af7c04be58824bc9748f576b614c65e80e9b" +checksum = "09ca64973f33eb69cc29b9d1a432e6eebfbffa281be128318f8754013557a69e" dependencies = [ "arrayvec", "indexmap", @@ -2586,9 +2586,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_module" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25f8b1f049d172e4b83167751293728ce0c4692e364c1ffbce7af35bb7dad855" +checksum = "a0487647586521fd66e937127fe8ce39edffbc5b96138c264ff0ba58786430bd" dependencies = [ "Inflector", "anyhow", @@ -2613,9 +2613,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_optimization" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30019eed0d2bf516f08216c87c89e372c91750c1bae8a3254335c5f6ad044852" +checksum = "f63d691ccea03a8eb25f37c7498e7609ad76ca3dc2070b630596e49f0b8fd1f4" dependencies = [ "dashmap 5.5.3", "indexmap", @@ -2637,9 +2637,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_proposal" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3090cde1901f95b5430171709acc319cd36acda5c2a4a77706656ede5fbdd4f" +checksum = "bc94b9be02d6ce4754b56222375be1684c9135cfea76bda13820d97beffbd804" dependencies = [ "either", "rustc-hash 1.1.0", @@ -2657,9 +2657,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_react" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dff97567117214938c3a5f397cd9c4ecb5945778982d918471b9623da351f1f0" +checksum = "90002fdbe17f10c84cb29a102154a30ee5ad3e7165f0610d18ba8aa3a592924c" dependencies = [ "base64 0.21.7", "dashmap 5.5.3", @@ -2682,9 +2682,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_typescript" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c4056d06593b73a3149530fdbd4f44e7692cb801c03750ec874c1753b68c6c6" +checksum = "f67d5ff2ec723d075db340ac155877fea9607186f179e41ef2116aeef960a2cf" dependencies = [ "ryu-js", "serde", @@ -2699,9 +2699,9 @@ dependencies = [ [[package]] name = "swc_ecma_usage_analyzer" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c85c31dad1d402a52394eb184742a7095ba02277c55df327b89fb8bd65e59a7c" +checksum = "89892c33cf84806957c34539cb84a26c69f6d2c7c8d9ae3131113105852f1d60" dependencies = [ "indexmap", "rustc-hash 1.1.0", @@ -2716,9 +2716,9 @@ dependencies = [ [[package]] name = "swc_ecma_utils" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9371e7e39fca55508ae91abf28fd3d8dae8eff3782e918081f6932523c68789c" +checksum = "024a9ee9a19f448b31af002b90c43b9dfdb4e1fad23c76c21fe26a7c6e0f78a7" dependencies = [ "indexmap", "num_cpus", @@ -2735,9 +2735,9 @@ dependencies = [ [[package]] name = "swc_ecma_visit" -version = "3.0.0" +version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a380252c317c67f321b8e0d66dbc2427842bd184505e12016f0d3f811776af86" +checksum = "642c58202491c273ea984e0d7e923319afe0f94195d2985b3e7f71f7d8232e06" dependencies = [ "new_debug_unreachable", "num-bigint", @@ -2761,9 +2761,9 @@ dependencies = [ [[package]] name = "swc_error_reporters" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44f6ddeea4e330922832e5f1544f8097b46b786c86d200eb3a6ef761ba83ce12" +checksum = "fb4a3c124af5d297d98e6c18776ba04024087cde14602621017e8e9c6cd1c2d1" dependencies = [ "anyhow", "miette", @@ -2774,9 +2774,9 @@ dependencies = [ [[package]] name = "swc_fast_graph" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1b3add3571bc073f49b4f4fb4326f54c24fe7799296e0ad5341af895150e79c" +checksum = "3f65856acf41991a43d47d19ca947ee34f1152fccc42f048063c64eaf45a8e26" dependencies = [ "indexmap", "petgraph", @@ -2797,9 +2797,9 @@ dependencies = [ [[package]] name = "swc_node_comments" -version = "3.0.0" +version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e4b8a903dde91bb4fc335508145d62b3c16eefb825e8457edaab57f6a8b6d91" +checksum = "ac391ef93674dd641bdecb940152de4684fa33822777dcdf8108115f013ce365" dependencies = [ "dashmap 5.5.3", "swc_atoms", @@ -2841,9 +2841,9 @@ dependencies = [ [[package]] name = "swc_typescript" -version = "3.0.0" +version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b70dfbda2233c81ecd0da521c6b2e1b318a7f57dc0e8186b7157ed5576db1e02" +checksum = "fbc49333e23eac4f485ee976267d1f81648637c1abe2b904641f28b00a1a514e" dependencies = [ "swc_atoms", "swc_common", diff --git a/Cargo.toml b/Cargo.toml index a7bcae8..2f3d9a4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,14 +23,14 @@ doctest = false [dependencies] oxc = { version = "0.35.0", features = ["transformer", "codegen", "semantic"] } -swc = "4.0.0" -swc_common = "3.0.0" -swc_ecma_ast = "3.0.0" -swc_ecma_parser = { version = "4.0.0", features = ["typescript"] } -swc_ecma_transforms = "4.0.0" -swc_ecma_transforms_react = "4.0.0" -swc_ecma_transforms_typescript = "4.0.0" -swc_ecma_visit = "3.0.0" +swc = "5.0.1" +swc_common = "4.0.0" +swc_ecma_ast = "4.0.1" +swc_ecma_parser = { version = "5.0.0", features = ["typescript"] } +swc_ecma_transforms = "5.0.0" +swc_ecma_transforms_react = "5.0.0" +swc_ecma_transforms_typescript = "5.0.0" +swc_ecma_visit = "4.0.0" num_cpus = "1.16.0" criterion2 = { version = "2.0.0", default-features = false }