diff --git a/Cargo.lock b/Cargo.lock index dfb9947de..585be5c8e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -151,9 +151,9 @@ checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" [[package]] name = "ast_node" -version = "2.0.0" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94741d66bdda032fcbf33e621b4e3a888d7d11bd3ac4446d82c5593a136936ff" +checksum = "91fb5864e2f5bf9fd9797b94b2dfd1554d4c3092b535008b27d7e15c86675a2f" dependencies = [ "proc-macro2", "quote", @@ -311,8 +311,20 @@ version = "0.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23cdc57ce23ac53c931e88a43d06d070a6fd142f2617be5855eb75efc9beb1c2" dependencies = [ - "bytecheck_derive", - "ptr_meta", + "bytecheck_derive 0.6.12", + "ptr_meta 0.1.4", + "simdutf8", +] + +[[package]] +name = "bytecheck" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50c8f430744b23b54ad15161fcbc22d82a29b73eacbe425fea23ec822600bc6f" +dependencies = [ + "bytecheck_derive 0.8.0", + "ptr_meta 0.3.0", + "rancor", "simdutf8", ] @@ -327,6 +339,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "bytecheck_derive" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "523363cbe1df49b68215efdf500b103ac3b0fb4836aed6d15689a076eadb8fff" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.77", +] + [[package]] name = "byteorder" version = "1.5.0" @@ -933,6 +956,12 @@ dependencies = [ "allocator-api2", ] +[[package]] +name = "hashbrown" +version = "0.15.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" + [[package]] name = "heck" version = "0.5.0" @@ -1315,7 +1344,7 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "modularize_imports" -version = "0.68.31" +version = "0.69.0" dependencies = [ "convert_case", "handlebars", @@ -1332,6 +1361,26 @@ dependencies = [ "testing", ] +[[package]] +name = "munge" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64142d38c84badf60abf06ff9bd80ad2174306a5b11bd4706535090a30a419df" +dependencies = [ + "munge_macro", +] + +[[package]] +name = "munge_macro" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bb5c1d8184f13f7d0ccbeeca0def2f9a181bce2624302793005f5ca8aa62e5e" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.77", +] + [[package]] name = "new_debug_unreachable" version = "1.0.6" @@ -1452,7 +1501,7 @@ checksum = "485b74d7218068b2b7c0e3ff12fbc61ae11d57cb5d8224f525bd304c6be05bbb" dependencies = [ "base64-simd", "data-url", - "rkyv", + "rkyv 0.7.45", "serde", "serde_json", "vlq", @@ -1694,7 +1743,16 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0738ccf7ea06b608c10564b31debd4f5bc5e197fc8bfe088f68ae5ce81e7a4f1" dependencies = [ - "ptr_meta_derive", + "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]] @@ -1708,6 +1766,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "ptr_meta_derive" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca414edb151b4c8d125c12566ab0d74dc9cdba36fb80eb7b848c15f495fd32d1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.77", +] + [[package]] name = "quote" version = "1.0.37" @@ -1729,6 +1798,15 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ce082a9940a7ace2ad4a8b7d0b1eac6aa378895f18be598230c5f2284ac05426" +[[package]] +name = "rancor" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "caf5f7161924b9d1cea0e4cabc97c372cea92b5f927fc13c6bca67157a0ad947" +dependencies = [ + "ptr_meta 0.3.0", +] + [[package]] name = "rand" version = "0.8.5" @@ -1766,7 +1844,7 @@ dependencies = [ [[package]] name = "react_remove_properties" -version = "0.24.26" +version = "0.25.0" dependencies = [ "serde", "swc_atoms", @@ -1841,7 +1919,7 @@ checksum = "ba39f3699c378cd8970968dcbff9c43159ea4cfbd88d43c00b22f2ef10a435d2" [[package]] name = "remove_console" -version = "0.25.26" +version = "0.26.0" dependencies = [ "serde", "swc_atoms", @@ -1861,7 +1939,16 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "71fe3824f5629716b1589be05dacd749f6aa084c87e00e016714a8cdfccc997c" dependencies = [ - "bytecheck", + "bytecheck 0.6.12", +] + +[[package]] +name = "rend" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a35e8a6bf28cd121053a66aa2e6a2e3eaffad4a60012179f0e864aa5ffeff215" +dependencies = [ + "bytecheck 0.8.0", ] [[package]] @@ -1871,17 +1958,36 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9008cd6385b9e161d8229e1f6549dd23c3d022f132a2ea37ac3a10ac4935779b" dependencies = [ "bitvec", - "bytecheck", + "bytecheck 0.6.12", "bytes", "hashbrown 0.12.3", - "ptr_meta", - "rend", - "rkyv_derive", + "ptr_meta 0.1.4", + "rend 0.4.2", + "rkyv_derive 0.7.45", "seahash", "tinyvec", "uuid", ] +[[package]] +name = "rkyv" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b11a153aec4a6ab60795f8ebe2923c597b16b05bb1504377451e705ef1a45323" +dependencies = [ + "bytecheck 0.8.0", + "bytes", + "hashbrown 0.15.2", + "indexmap", + "munge", + "ptr_meta 0.3.0", + "rancor", + "rend 0.5.2", + "rkyv_derive 0.8.9", + "tinyvec", + "uuid", +] + [[package]] name = "rkyv_derive" version = "0.7.45" @@ -1893,6 +1999,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "rkyv_derive" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "beb382a4d9f53bd5c0be86b10d8179c3f8a14c30bf774ff77096ed6581e35981" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.77", +] + [[package]] name = "rustc-hash" version = "1.1.0" @@ -2244,7 +2361,7 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "styled_components" -version = "0.96.29" +version = "0.97.0" dependencies = [ "Inflector", "once_cell", @@ -2265,7 +2382,7 @@ dependencies = [ [[package]] name = "styled_jsx" -version = "0.73.41" +version = "0.74.0" dependencies = [ "anyhow", "lightningcss", @@ -2294,27 +2411,28 @@ dependencies = [ [[package]] name = "swc_allocator" -version = "1.0.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52cacc28f0ada8e4e31a720dd849ff06864b10e6ab0a1aaa99c06456cfe046af" +checksum = "117d5d3289663f53022ebf157df8a42b3872d7ac759e63abf96b5987b85d4af3" dependencies = [ "bumpalo", "hashbrown 0.14.5", - "ptr_meta", + "ptr_meta 0.3.0", "rustc-hash 1.1.0", "triomphe", ] [[package]] name = "swc_atoms" -version = "2.0.0" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d7211e5c57ea972f32b8a104d7006c4a68d094ec30c6a73bcd20d4d6c473c7c" +checksum = "151a6feb82b989a087433baca7f6a6eb4fcf83f828c479eecd039c9312d60e10" dependencies = [ - "bytecheck", + "bytecheck 0.8.0", "hstr", "once_cell", - "rkyv", + "rancor", + "rkyv 0.8.9", "rustc-hash 1.1.0", "serde", ] @@ -2335,14 +2453,14 @@ dependencies = [ [[package]] name = "swc_common" -version = "4.0.1" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f87a21612a324493fd065e9c6fea960b4031088a213db782e2ca71d2fabb3ec" +checksum = "a521e8120dc0401580864a643b5bffa035c29fc3fc41697c972743d4f008ed22" dependencies = [ "anyhow", "ast_node", "better_scoped_tls", - "bytecheck", + "bytecheck 0.8.0", "cfg-if", "either", "from_variant", @@ -2350,7 +2468,8 @@ dependencies = [ "num-bigint", "once_cell", "parking_lot", - "rkyv", + "rancor", + "rkyv 0.8.9", "rustc-hash 1.1.0", "serde", "siphasher", @@ -2367,7 +2486,7 @@ dependencies = [ [[package]] name = "swc_confidential" -version = "0.19.26" +version = "0.20.0" dependencies = [ "cipher 0.4.4", "hex", @@ -2413,9 +2532,9 @@ dependencies = [ [[package]] name = "swc_core" -version = "6.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9ce5176f207d9c7640fde8283f984644cca9893fb8e571faab5f2b97d69968d" +checksum = "324e9dc1ddc05bb3ccef6b7541177a4bf7ae25ccaee65832a45a8c20a968ed80" dependencies = [ "once_cell", "swc_allocator", @@ -2434,9 +2553,9 @@ dependencies = [ [[package]] name = "swc_css_ast" -version = "4.0.1" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3c0d7f6c3485edee176e31495ef4e485d6f629bce53dde64fc1b897050d6daf" +checksum = "97ea594f3e6848df951d1368dd72fed27f60f4557a95284c478678755ce88783" dependencies = [ "is-macro", "string_enum", @@ -2446,9 +2565,9 @@ dependencies = [ [[package]] name = "swc_css_codegen" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76297590ad5c4c102ddc88beb1de5f7cb7120a86996e7fff7396f0247ac099ab" +checksum = "fbbb22067f61df47fef4f8a59594386780928eb451df85066e384ca796d8921a" dependencies = [ "auto_impl", "bitflags", @@ -2475,9 +2594,9 @@ dependencies = [ [[package]] name = "swc_css_compat" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5677f3c8a0d0c4a38fe901fdd9f3c53daaa3743d8e256ee5f9654224a0b2dda6" +checksum = "965fcc8c7d978cd40e4f7744a6cfa3ccd7eb63c24fcad42a2d27d68f18f2d22b" dependencies = [ "bitflags", "once_cell", @@ -2492,9 +2611,9 @@ dependencies = [ [[package]] name = "swc_css_minifier" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b91ce81c2389210479ced310347e9ceb92034f344b36bb107fa523bb02cbfd09" +checksum = "a2cc91d827f866032e2e7633c9febf05f89da5c95e7280d0d37ca4b67316376e" dependencies = [ "serde", "swc_atoms", @@ -2506,9 +2625,9 @@ dependencies = [ [[package]] name = "swc_css_parser" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52eaea47f26a2a5588437d307542dfeae87267aaddc1298d9b785e63cff63802" +checksum = "2f73d5ba78153df910d2b07906efa67aaa1394ba197071452d857d57e453cdfe" dependencies = [ "lexical", "serde", @@ -2519,9 +2638,9 @@ dependencies = [ [[package]] name = "swc_css_prefixer" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9bf2286eaaf587790a56a580402ba4d773182c1b61bbd3c43cb314f1f782e82" +checksum = "c057841ee09b6dcc791e3a46b6f2c47df9fec2afd81546fe2d88e6326fe33162" dependencies = [ "once_cell", "preset_env_base", @@ -2536,9 +2655,9 @@ dependencies = [ [[package]] name = "swc_css_utils" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1302ba659075b796e69a7cd902dc19197ab77e62f1084c292c5f09b0e92e8f2d" +checksum = "b49f46c974a02ba0c2859e07a80bbda5fdd8622829a47e744f799f00068bb5ee" dependencies = [ "once_cell", "serde", @@ -2551,9 +2670,9 @@ dependencies = [ [[package]] name = "swc_css_visit" -version = "4.0.1" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d39152b05c0eed649d457dd086866ec5086c65cdc70cdf96a514353fc9c474e4" +checksum = "d6edcfb74803061ba6a7adb877a639a712af4e635d8e38710d2932888d86df52" dependencies = [ "serde", "swc_atoms", @@ -2564,16 +2683,17 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "4.0.1" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bdab7759509c1b37ec77bd9fc231f525b888d9609c2963ce71995da1b27357c" +checksum = "94cf86f17358b93fcfe2876a9f0f7a7ebbff94cd6eaab4c809c7a0da1f4b892e" dependencies = [ "bitflags", - "bytecheck", + "bytecheck 0.8.0", "is-macro", "num-bigint", "phf", - "rkyv", + "rancor", + "rkyv 0.8.9", "scoped-tls", "serde", "string_enum", @@ -2585,9 +2705,9 @@ dependencies = [ [[package]] name = "swc_ecma_codegen" -version = "4.0.2" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e474f6c2671524dbb179b44a36425cb1a58928f0f7211c45043f0951a1842c5d" +checksum = "fb17e77270860f2a975c546c4609e9fa7ae8dbcf85260497e31af19890645800" dependencies = [ "memchr", "num-bigint", @@ -2617,9 +2737,9 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "5.0.1" +version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "204923532b1f6f47d91958338bdf9d455cfea730c3c477a094317a3819247f99" +checksum = "5368ebcf923fb8e94c94f5fe0caa230c7920b72e5d79ed4cc32592c03213b43d" dependencies = [ "arrayvec", "indexmap", @@ -2652,9 +2772,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "5.0.0" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54c5ab8bd4cc4a4956514699c84d1a25cdb5a33f5ec760ec64ce712e973019c9" +checksum = "c2c361b4153905dc088a6bacfaa944b582305cf94fbfcaa9b3aa61a7dd3adbf9" dependencies = [ "either", "new_debug_unreachable", @@ -2674,9 +2794,9 @@ dependencies = [ [[package]] name = "swc_ecma_quote_macros" -version = "5.0.0" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88380844ce3b4634aa4f8ea5f01b8ae66c35c6e19858e142d729eb6485a06d92" +checksum = "d098f0eca09f8c1a5a5b95c3db8416168e00b920fb9e02165177b9e12b38f395" dependencies = [ "anyhow", "proc-macro2", @@ -2691,9 +2811,9 @@ dependencies = [ [[package]] name = "swc_ecma_testing" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d0397cdbbdcfec2048da1291f44e2d433471fab9bfb430f8f879a831242d636" +checksum = "e8ac0df7dbb231e54ebbdf9b5f4f83cc3e3830e7329fa4365e5da510f373f158" dependencies = [ "anyhow", "hex", @@ -2704,9 +2824,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms" -version = "6.0.0" +version = "7.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3570a4bbd8596ee82ad6cb35e25b3ba57deda503191c104af98cf9994922fdb" +checksum = "85be851a12e79e29bb4a60175a57de46219d71e662b13b67d5fa97d41a000116" dependencies = [ "swc_atoms", "swc_common", @@ -2718,9 +2838,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "5.0.1" +version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0eb4000822f02b54af0be4f668649fa1e5555f1e3392479d17a277eb81a841f0" +checksum = "2409f9c896f99481d9f609de89c7786ccd0dba008650a4116f1aef7a58926422" dependencies = [ "better_scoped_tls", "bitflags", @@ -2753,9 +2873,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_optimization" -version = "5.0.0" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f63d691ccea03a8eb25f37c7498e7609ad76ca3dc2070b630596e49f0b8fd1f4" +checksum = "350a4965abfada7d5b23b3140896652acc11e110ac042a160bcea5bf8b08d367" dependencies = [ "dashmap", "indexmap", @@ -2777,9 +2897,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_react" -version = "5.0.0" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90002fdbe17f10c84cb29a102154a30ee5ad3e7165f0610d18ba8aa3a592924c" +checksum = "4cabf9375cfb71fc0e3d98e07e6fca39a18daa23d4878d8d2daa4c2b6c07b379" dependencies = [ "base64 0.21.7", "dashmap", @@ -2802,9 +2922,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_testing" -version = "5.0.0" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21721599724e9f9c40467ff9cdd20f045f134c26e5fe794b1ee6708798c724ed" +checksum = "24f86199b13edfb6fe4a1c6390c39f1c14a4281145d8736027c91fc25af7a0e1" dependencies = [ "ansi_term", "anyhow", @@ -2828,9 +2948,9 @@ dependencies = [ [[package]] name = "swc_ecma_usage_analyzer" -version = "5.0.0" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89892c33cf84806957c34539cb84a26c69f6d2c7c8d9ae3131113105852f1d60" +checksum = "6f58c91cfddea5723e22dbb8b1738642714d0acd1463d26d3bc7518b83468414" dependencies = [ "indexmap", "rustc-hash 1.1.0", @@ -2845,9 +2965,9 @@ dependencies = [ [[package]] name = "swc_ecma_utils" -version = "5.0.1" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0eb9a28511d17d1e6c5dfcf209368a1da4a542270c450fba7f27faf22c34df22" +checksum = "527fad9bdb16883782d55291fd3330925b3572f512ef89b3d92a29e2f713fe4f" dependencies = [ "indexmap", "num_cpus", @@ -2864,9 +2984,9 @@ dependencies = [ [[package]] name = "swc_ecma_visit" -version = "4.0.1" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5af5332117aa0424e418556f74e9cee335dc47eb7ae35dddbd9fd65fc01452c" +checksum = "b04c06c1805bda18c27165560f1617a57453feb9fb0638d90839053641af42d4" dependencies = [ "new_debug_unreachable", "num-bigint", @@ -2880,7 +3000,7 @@ dependencies = [ [[package]] name = "swc_emotion" -version = "0.72.29" +version = "0.73.0" dependencies = [ "base64 0.22.1", "byteorder", @@ -2918,9 +3038,9 @@ dependencies = [ [[package]] name = "swc_error_reporters" -version = "5.0.0" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb4a3c124af5d297d98e6c18776ba04024087cde14602621017e8e9c6cd1c2d1" +checksum = "4f741b530b2df577a287e193c4a111182de01b43361617af228ec9e6e6222fa4" dependencies = [ "anyhow", "miette", @@ -2931,9 +3051,9 @@ dependencies = [ [[package]] name = "swc_fast_graph" -version = "5.0.0" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f65856acf41991a43d47d19ca947ee34f1152fccc42f048063c64eaf45a8e26" +checksum = "c22e0a0478b1b06610453a97c8371cafa742e371a79aff860ccfbabe1ab160a7" dependencies = [ "indexmap", "petgraph", @@ -2943,7 +3063,7 @@ dependencies = [ [[package]] name = "swc_formatjs_transform" -version = "1.0.1" +version = "2.0.0" dependencies = [ "base64ct", "once_cell", @@ -2958,7 +3078,7 @@ dependencies = [ [[package]] name = "swc_icu_messageformat_parser" -version = "1.0.1" +version = "2.0.0" dependencies = [ "langtag", "once_cell", @@ -2984,7 +3104,7 @@ dependencies = [ [[package]] name = "swc_magic" -version = "0.19.26" +version = "0.20.0" dependencies = [ "serde", "swc_atoms", @@ -3104,12 +3224,14 @@ dependencies = [ [[package]] name = "swc_plugin_proxy" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6749c4027aad79cf648ffce6633100ea01a7b0d6cf17299cfa68ce141897c26c" +checksum = "5aad63126fed3ee4885416b2f206153a10b51ca13808cdc8ff68f244d1bd32ec" dependencies = [ "better_scoped_tls", - "rkyv", + "bytecheck 0.8.0", + "rancor", + "rkyv 0.8.9", "swc_common", "swc_ecma_ast", "swc_trace_macro", @@ -3247,7 +3369,7 @@ dependencies = [ [[package]] name = "swc_prefresh" -version = "0.1.12" +version = "0.2.0" dependencies = [ "serde", "swc_atoms", @@ -3263,7 +3385,7 @@ dependencies = [ [[package]] name = "swc_relay" -version = "0.44.31" +version = "0.45.0" dependencies = [ "once_cell", "regex", @@ -3281,7 +3403,7 @@ dependencies = [ [[package]] name = "swc_sdk" -version = "0.1.2" +version = "0.2.0" dependencies = [ "default-from-serde", "serde", @@ -3377,9 +3499,9 @@ dependencies = [ [[package]] name = "testing" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c6b200c27382caadd583563c79cdf870d854e14c4c078731d447ecbfe27c35f" +checksum = "fd6bafc289474aa56e277aa3f54f91cfdaac75656b6bea37af999bc91ba2b49f" dependencies = [ "ansi_term", "cargo_metadata", diff --git a/Cargo.toml b/Cargo.toml index 8085de35d..e9da71d58 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,31 +43,31 @@ serde_repr = "0.1" sha2 = "0.10" similar-asserts = "1.4.2" sourcemap = "9.0.0" -swc_atoms = "2.0.0" +swc_atoms = "3.0.0" swc_cached = "1.0.0" -swc_common = "4.0.1" -swc_core = "6.0.2" -swc_css_ast = "4.0.1" -swc_css_codegen = "4.0.0" -swc_css_compat = "4.0.0" -swc_css_minifier = "4.0.0" -swc_css_parser = "4.0.0" -swc_css_prefixer = "4.0.0" -swc_css_visit = "4.0.1" -swc_ecma_ast = "4.0.1" -swc_ecma_codegen = "4.0.2" -swc_ecma_minifier = "5.0.1" -swc_ecma_parser = "5.0.0" -swc_ecma_transforms = "6.0.0" -swc_ecma_transforms_base = "5.0.1" -swc_ecma_transforms_react = "5.0.0" -swc_ecma_transforms_testing = "5.0.0" -swc_ecma_utils = "5.0.1" -swc_ecma_visit = "4.0.1" +swc_common = "5.0.0" +swc_core = "8.0.1" +swc_css_ast = "5.0.0" +swc_css_codegen = "5.0.0" +swc_css_compat = "5.0.0" +swc_css_minifier = "5.0.0" +swc_css_parser = "5.0.0" +swc_css_prefixer = "5.0.0" +swc_css_visit = "5.0.0" +swc_ecma_ast = "5.0.0" +swc_ecma_codegen = "5.0.0" +swc_ecma_minifier = "6.0.1" +swc_ecma_parser = "6.0.0" +swc_ecma_transforms = "7.0.0" +swc_ecma_transforms_base = "6.0.1" +swc_ecma_transforms_react = "6.0.0" +swc_ecma_transforms_testing = "6.0.0" +swc_ecma_utils = "6.0.0" +swc_ecma_visit = "5.0.0" swc_plugin_macro = "1.0.0" -swc_plugin_proxy = "4.0.0" +swc_plugin_proxy = "5.0.0" swc_trace_macro = "2.0.0" -testing = "4.0.0" +testing = "5.0.0" tracing = "0.1.40" widestring = "1.0.2" diff --git a/crates/swc_icu_messageformat_parser/Cargo.toml b/crates/swc_icu_messageformat_parser/Cargo.toml index d3bbc3f50..71d46e19c 100644 --- a/crates/swc_icu_messageformat_parser/Cargo.toml +++ b/crates/swc_icu_messageformat_parser/Cargo.toml @@ -8,7 +8,7 @@ edition = { workspace = true } license = { workspace = true } name = "swc_icu_messageformat_parser" repository = { workspace = true } -version = "1.0.1" +version = "2.0.0" [features] diff --git a/packages/emotion/CHANGELOG.md b/packages/emotion/CHANGELOG.md index 5025c323d..e5378b915 100644 --- a/packages/emotion/CHANGELOG.md +++ b/packages/emotion/CHANGELOG.md @@ -1,5 +1,17 @@ # @swc/plugin-emotion +## 8.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 8.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 7.0.3 ### Patch Changes diff --git a/packages/emotion/README.md b/packages/emotion/README.md index 47ed4ff9a..acb9068d0 100644 --- a/packages/emotion/README.md +++ b/packages/emotion/README.md @@ -34,6 +34,18 @@ Source code for plugin itself (not transforms) are copied from https://github.co # @swc/plugin-emotion +## 8.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 8.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 7.0.3 ### Patch Changes diff --git a/packages/emotion/package.json b/packages/emotion/package.json index 7b0e0a223..2f7923284 100644 --- a/packages/emotion/package.json +++ b/packages/emotion/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-emotion", - "version": "7.0.3", + "version": "8.0.1", "description": "SWC plugin for emotion css-in-js library", "main": "swc_plugin_emotion.wasm", "scripts": { diff --git a/packages/emotion/transform/Cargo.toml b/packages/emotion/transform/Cargo.toml index 56fe0ce66..7ed204124 100644 --- a/packages/emotion/transform/Cargo.toml +++ b/packages/emotion/transform/Cargo.toml @@ -7,7 +7,7 @@ license = { workspace = true } name = "swc_emotion" repository = { workspace = true } rust-version = { workspace = true } -version = "0.72.29" +version = "0.73.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/packages/formatjs/CHANGELOG.md b/packages/formatjs/CHANGELOG.md index 187ff0d55..eba072e5b 100644 --- a/packages/formatjs/CHANGELOG.md +++ b/packages/formatjs/CHANGELOG.md @@ -1,5 +1,17 @@ # @swc/plugin-formatjs +## 2.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 2.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 1.0.3 ### Patch Changes diff --git a/packages/formatjs/Cargo.toml b/packages/formatjs/Cargo.toml index 02e547953..be09b938e 100644 --- a/packages/formatjs/Cargo.toml +++ b/packages/formatjs/Cargo.toml @@ -21,4 +21,4 @@ swc_core = { workspace = true, features = [ "ecma_plugin_transform", "ecma_ast_serde", ] } -swc_formatjs_transform = { path = "./transform", version = "1.0.0" } +swc_formatjs_transform = { path = "./transform", version = "2.0.0" } diff --git a/packages/formatjs/README.md b/packages/formatjs/README.md index 194c8857d..cef3afe23 100644 --- a/packages/formatjs/README.md +++ b/packages/formatjs/README.md @@ -4,6 +4,18 @@ FormatJS SWC plugin, maintained by SWC team. # @swc/plugin-formatjs +## 2.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 2.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 1.0.3 ### Patch Changes diff --git a/packages/formatjs/package.json b/packages/formatjs/package.json index bf641517a..91be3da63 100644 --- a/packages/formatjs/package.json +++ b/packages/formatjs/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-formatjs", - "version": "1.0.3", + "version": "2.0.1", "description": "FormatJS SWC plugin", "main": "swc_plugin_formatjs.wasm", "scripts": { diff --git a/packages/formatjs/transform/Cargo.toml b/packages/formatjs/transform/Cargo.toml index af3aab844..b46a1c48e 100644 --- a/packages/formatjs/transform/Cargo.toml +++ b/packages/formatjs/transform/Cargo.toml @@ -8,20 +8,23 @@ edition = { workspace = true } license = { workspace = true } name = "swc_formatjs_transform" repository = { workspace = true } -version = "1.0.1" +version = "2.0.0" [features] custom_transform = [] [dependencies] -base64ct = { workspace = true, features = ["alloc"] } -once_cell = { workspace = true } -regex = { workspace = true } -serde = { workspace = true, features = ["derive"] } -serde_json = { workspace = true } -sha2 = { workspace = true } -swc_core = { workspace = true, features = ["common", "ecma_visit", "ecma_ast"] } -swc_icu_messageformat_parser = { workspace = true, features = ["utf16"] } +base64ct = { workspace = true, features = ["alloc"] } +once_cell = { workspace = true } +regex = { workspace = true } +serde = { workspace = true, features = ["derive"] } +serde_json = { workspace = true } +sha2 = { workspace = true } +swc_core = { workspace = true, features = ["common", "ecma_visit", "ecma_ast"] } + +swc_icu_messageformat_parser = { features = [ + "utf16", +], path = "../../../crates/swc_icu_messageformat_parser", version = "2.0.0" } [dev-dependencies] pretty_assertions = { workspace = true } diff --git a/packages/jest/CHANGELOG.md b/packages/jest/CHANGELOG.md index ecbfbb90a..f5274d339 100644 --- a/packages/jest/CHANGELOG.md +++ b/packages/jest/CHANGELOG.md @@ -1,5 +1,17 @@ # @swc/plugin-jest +## 6.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 6.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 5.0.2 ### Patch Changes diff --git a/packages/jest/README.md b/packages/jest/README.md index 7ee954a40..5ec2f6838 100644 --- a/packages/jest/README.md +++ b/packages/jest/README.md @@ -2,6 +2,18 @@ # @swc/plugin-jest +## 6.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 6.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 5.0.2 ### Patch Changes diff --git a/packages/jest/package.json b/packages/jest/package.json index f5efc16f3..e1b17ebd3 100644 --- a/packages/jest/package.json +++ b/packages/jest/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-jest", - "version": "5.0.2", + "version": "6.0.1", "description": "SWC plugin for jest", "main": "swc_plugin_jest.wasm", "scripts": { diff --git a/packages/loadable-components/CHANGELOG.md b/packages/loadable-components/CHANGELOG.md index 886470085..74bfcaeaa 100644 --- a/packages/loadable-components/CHANGELOG.md +++ b/packages/loadable-components/CHANGELOG.md @@ -1,5 +1,17 @@ # @swc/plugin-loadable-components +## 5.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 5.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 4.0.3 ### Patch Changes diff --git a/packages/loadable-components/README.md b/packages/loadable-components/README.md index 5663de4f7..7502d1fb9 100644 --- a/packages/loadable-components/README.md +++ b/packages/loadable-components/README.md @@ -23,6 +23,18 @@ By default `loadable-components` are configured to transform dynamic imports use # @swc/plugin-loadable-components +## 5.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 5.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 4.0.3 ### Patch Changes diff --git a/packages/loadable-components/package.json b/packages/loadable-components/package.json index 6ca1108c3..c5f07f43a 100644 --- a/packages/loadable-components/package.json +++ b/packages/loadable-components/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-loadable-components", - "version": "4.0.3", + "version": "5.0.1", "description": "SWC plugin for `@loadable/components`", "main": "swc_plugin_loadable_components.wasm", "scripts": { diff --git a/packages/noop/CHANGELOG.md b/packages/noop/CHANGELOG.md index f22dfe05d..e2db78fa8 100644 --- a/packages/noop/CHANGELOG.md +++ b/packages/noop/CHANGELOG.md @@ -1,5 +1,17 @@ # @swc/plugin-noop +## 6.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 6.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 5.0.2 ### Patch Changes diff --git a/packages/noop/README.md b/packages/noop/README.md index 3d395aecd..970c968c2 100644 --- a/packages/noop/README.md +++ b/packages/noop/README.md @@ -2,6 +2,18 @@ # @swc/plugin-noop +## 6.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 6.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 5.0.2 ### Patch Changes diff --git a/packages/noop/package.json b/packages/noop/package.json index 740e88ac6..3e050e610 100644 --- a/packages/noop/package.json +++ b/packages/noop/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-noop", - "version": "5.0.2", + "version": "6.0.1", "description": "Noop SWC plugin, for debugging", "main": "swc_plugin_noop.wasm", "scripts": { diff --git a/packages/prefresh/CHANGELOG.md b/packages/prefresh/CHANGELOG.md index c395b3dd5..73a27c845 100644 --- a/packages/prefresh/CHANGELOG.md +++ b/packages/prefresh/CHANGELOG.md @@ -1,5 +1,17 @@ # @swc/plugin-prefresh +## 6.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 6.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 5.0.2 ### Patch Changes diff --git a/packages/prefresh/README.md b/packages/prefresh/README.md index db46f74e8..456c11c54 100644 --- a/packages/prefresh/README.md +++ b/packages/prefresh/README.md @@ -40,6 +40,18 @@ And SWC has built-in React Refresh transformation, therefore, this plugin only i # @swc/plugin-prefresh +## 6.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 6.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 5.0.2 ### Patch Changes diff --git a/packages/prefresh/package.json b/packages/prefresh/package.json index 0f3ca072e..ebddcf767 100644 --- a/packages/prefresh/package.json +++ b/packages/prefresh/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-prefresh", - "version": "5.0.2", + "version": "6.0.1", "description": "SWC plugin for preact refresh", "main": "swc_plugin_prefresh.wasm", "scripts": { diff --git a/packages/prefresh/transform/Cargo.toml b/packages/prefresh/transform/Cargo.toml index 1bc01fcd1..d1f91ef3c 100644 --- a/packages/prefresh/transform/Cargo.toml +++ b/packages/prefresh/transform/Cargo.toml @@ -10,7 +10,7 @@ homepage = { workspace = true } license = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } -version = "0.1.12" +version = "0.2.0" [dependencies] serde = { workspace = true, features = ["derive"] } diff --git a/packages/react-remove-properties/CHANGELOG.md b/packages/react-remove-properties/CHANGELOG.md index 110c65fc0..43da5859c 100644 --- a/packages/react-remove-properties/CHANGELOG.md +++ b/packages/react-remove-properties/CHANGELOG.md @@ -1,5 +1,17 @@ # @swc/plugin-react-remove-properties +## 6.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 6.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 5.0.2 ### Patch Changes diff --git a/packages/react-remove-properties/README.md b/packages/react-remove-properties/README.md index 91c2d146e..614a9c254 100644 --- a/packages/react-remove-properties/README.md +++ b/packages/react-remove-properties/README.md @@ -23,6 +23,18 @@ or # @swc/plugin-react-remove-properties +## 6.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 6.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 5.0.2 ### Patch Changes diff --git a/packages/react-remove-properties/package.json b/packages/react-remove-properties/package.json index 5f97e5310..21ceb5ad7 100644 --- a/packages/react-remove-properties/package.json +++ b/packages/react-remove-properties/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-react-remove-properties", - "version": "5.0.2", + "version": "6.0.1", "description": "SWC plugin for https://www.npmjs.com/package/babel-plugin-react-remove-properties", "main": "swc_plugin_react_remove_properties.wasm", "scripts": { diff --git a/packages/react-remove-properties/transform/Cargo.toml b/packages/react-remove-properties/transform/Cargo.toml index 1b4b0de90..4956f8d02 100644 --- a/packages/react-remove-properties/transform/Cargo.toml +++ b/packages/react-remove-properties/transform/Cargo.toml @@ -11,7 +11,7 @@ homepage = { workspace = true } license = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } -version = "0.24.26" +version = "0.25.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/packages/relay/CHANGELOG.md b/packages/relay/CHANGELOG.md index b2468f6c3..2fed4dbba 100644 --- a/packages/relay/CHANGELOG.md +++ b/packages/relay/CHANGELOG.md @@ -1,5 +1,17 @@ # @swc/plugin-relay +## 6.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 6.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 5.0.3 ### Patch Changes diff --git a/packages/relay/README.md b/packages/relay/README.md index 68f10e061..ee30ead27 100644 --- a/packages/relay/README.md +++ b/packages/relay/README.md @@ -104,6 +104,18 @@ In this example typescript graphql files will output transpiled import path of ` # @swc/plugin-relay +## 6.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 6.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 5.0.3 ### Patch Changes diff --git a/packages/relay/package.json b/packages/relay/package.json index 3c9cbf4f2..f55654ec1 100644 --- a/packages/relay/package.json +++ b/packages/relay/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-relay", - "version": "5.0.3", + "version": "6.0.1", "description": "SWC plugin for relay", "main": "swc_plugin_relay.wasm", "types": "./types.d.ts", diff --git a/packages/relay/transform/Cargo.toml b/packages/relay/transform/Cargo.toml index 3959eed5e..6dc756b14 100644 --- a/packages/relay/transform/Cargo.toml +++ b/packages/relay/transform/Cargo.toml @@ -11,7 +11,7 @@ homepage = { workspace = true } license = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } -version = "0.44.31" +version = "0.45.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/packages/remove-console/CHANGELOG.md b/packages/remove-console/CHANGELOG.md index 7bbec5875..0c5b7c2f7 100644 --- a/packages/remove-console/CHANGELOG.md +++ b/packages/remove-console/CHANGELOG.md @@ -1,5 +1,17 @@ # @swc/plugin-remove-console +## 6.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 6.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 5.0.2 ### Patch Changes diff --git a/packages/remove-console/README.md b/packages/remove-console/README.md index f54a70101..394b29f2b 100644 --- a/packages/remove-console/README.md +++ b/packages/remove-console/README.md @@ -21,6 +21,18 @@ or # @swc/plugin-remove-console +## 6.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 6.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 5.0.2 ### Patch Changes diff --git a/packages/remove-console/package.json b/packages/remove-console/package.json index 5ca77c541..3f188d3ed 100644 --- a/packages/remove-console/package.json +++ b/packages/remove-console/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-remove-console", - "version": "5.0.2", + "version": "6.0.1", "description": "SWC plugin for https://www.npmjs.com/package/babel-plugin-remove-console", "main": "swc_plugin_remove_console.wasm", "scripts": { diff --git a/packages/remove-console/transform/Cargo.toml b/packages/remove-console/transform/Cargo.toml index 64df1a29f..c7bd123ac 100644 --- a/packages/remove-console/transform/Cargo.toml +++ b/packages/remove-console/transform/Cargo.toml @@ -11,7 +11,7 @@ homepage = { workspace = true } license = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } -version = "0.25.26" +version = "0.26.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/packages/styled-components/CHANGELOG.md b/packages/styled-components/CHANGELOG.md index 53b230ef3..c5c749ebd 100644 --- a/packages/styled-components/CHANGELOG.md +++ b/packages/styled-components/CHANGELOG.md @@ -1,5 +1,17 @@ # @swc/plugin-styled-components +## 6.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 6.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 5.0.2 ### Patch Changes diff --git a/packages/styled-components/README.md b/packages/styled-components/README.md index 973c7ecd5..0305a1ad2 100644 --- a/packages/styled-components/README.md +++ b/packages/styled-components/README.md @@ -28,6 +28,18 @@ Then update your `.swcrc` file like below: # @swc/plugin-styled-components +## 6.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 6.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 5.0.2 ### Patch Changes diff --git a/packages/styled-components/package.json b/packages/styled-components/package.json index f0ed08039..e2a2b8318 100644 --- a/packages/styled-components/package.json +++ b/packages/styled-components/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-styled-components", - "version": "5.0.2", + "version": "6.0.1", "description": "SWC plugin for styled-components", "main": "swc_plugin_styled_components.wasm", "scripts": { diff --git a/packages/styled-components/transform/Cargo.toml b/packages/styled-components/transform/Cargo.toml index 993c1e62b..1e78d8129 100644 --- a/packages/styled-components/transform/Cargo.toml +++ b/packages/styled-components/transform/Cargo.toml @@ -12,7 +12,7 @@ homepage = { workspace = true } license = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } -version = "0.96.29" +version = "0.97.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/packages/styled-jsx/CHANGELOG.md b/packages/styled-jsx/CHANGELOG.md index bd318cdf3..8a661cb4d 100644 --- a/packages/styled-jsx/CHANGELOG.md +++ b/packages/styled-jsx/CHANGELOG.md @@ -1,5 +1,17 @@ # @swc/plugin-styled-jsx +## 6.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 6.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 5.0.2 ### Patch Changes diff --git a/packages/styled-jsx/README.md b/packages/styled-jsx/README.md index e8cb87b6b..2a7aadf93 100644 --- a/packages/styled-jsx/README.md +++ b/packages/styled-jsx/README.md @@ -2,6 +2,18 @@ # @swc/plugin-styled-jsx +## 6.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 6.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 5.0.2 ### Patch Changes diff --git a/packages/styled-jsx/package.json b/packages/styled-jsx/package.json index 8637cef7f..6b2ab1495 100644 --- a/packages/styled-jsx/package.json +++ b/packages/styled-jsx/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-styled-jsx", - "version": "5.0.2", + "version": "6.0.1", "description": "SWC plugin for styled-jsx", "main": "swc_plugin_styled_jsx.wasm", "scripts": { diff --git a/packages/styled-jsx/transform/Cargo.toml b/packages/styled-jsx/transform/Cargo.toml index 8067ac0cd..4e9cf96b0 100644 --- a/packages/styled-jsx/transform/Cargo.toml +++ b/packages/styled-jsx/transform/Cargo.toml @@ -10,7 +10,7 @@ license = { workspace = true } name = "styled_jsx" repository = { workspace = true } rust-version = { workspace = true } -version = "0.73.41" +version = "0.74.0" [features] diff --git a/packages/styled-jsx/transform/src/transform_css_lightningcss.rs b/packages/styled-jsx/transform/src/transform_css_lightningcss.rs index 57a5d04b0..999423851 100644 --- a/packages/styled-jsx/transform/src/transform_css_lightningcss.rs +++ b/packages/styled-jsx/transform/src/transform_css_lightningcss.rs @@ -52,7 +52,7 @@ fn report( let file = file_lines_cache.get_or_insert_with(|| cm.lookup_char_pos(css_span.lo)); let lo = if let Some(loc) = &err.loc { - Some(file.file.lines[(loc.line + 1) as usize] + BytePos(loc.column)) + Some(file.file.analyze().lines[(loc.line + 1) as usize] + BytePos(loc.column)) } else { None }; diff --git a/packages/styled-jsx/transform/tests/fixture/attribute-generation-modes/output.lightningcss.js b/packages/styled-jsx/transform/tests/fixture/attribute-generation-modes/output.lightningcss.js index 6f4e3cea1..0fc673233 100644 --- a/packages/styled-jsx/transform/tests/fixture/attribute-generation-modes/output.lightningcss.js +++ b/packages/styled-jsx/transform/tests/fixture/attribute-generation-modes/output.lightningcss.js @@ -16,7 +16,7 @@ export const Test2 = ()=>

external and dynamic

- <_JSXStyle id={"d2da13039fc0361"} dynamic={[ + <_JSXStyle id={"99ddf2042f3d09ca"} dynamic={[ color ]}>{`p.__jsx-style-dynamic-selector{color:${color}}`} <_JSXStyle id={styles.__hash}>{styles} @@ -38,7 +38,7 @@ export const Test3 = ({ color })=>

external, static and dynamic

<_JSXStyle id={"ceba8c9ce34e3d0c"}>{"p.jsx-ceba8c9ce34e3d0c{display:inline-block}"} - <_JSXStyle id={"6dde3bd8f10491b0"} dynamic={[ + <_JSXStyle id={"39ea2692a3c00395"} dynamic={[ color ]}>{`p.__jsx-style-dynamic-selector{color:${color}}`} <_JSXStyle id={styles.__hash}>{styles} @@ -67,7 +67,7 @@ export const Test5 = ()=>
// static and dynamic export const Test6 = ({ color })=>

static and dynamic

<_JSXStyle id={"ceba8c9ce34e3d0c"}>{"p.jsx-ceba8c9ce34e3d0c{display:inline-block}"} - <_JSXStyle id={"d1512a849fe89163"} dynamic={[ + <_JSXStyle id={"b738f64ac5063616"} dynamic={[ color ]}>{`p.__jsx-style-dynamic-selector{color:${color}}`}
; // dynamic only export const Test7 = ({ color })=>

dynamic only

- <_JSXStyle id={"a759cffae3a9783c"} dynamic={[ + <_JSXStyle id={"edc8550739d23c37"} dynamic={[ color ]}>{`p.__jsx-style-dynamic-selector{color:${color}}`}
; @@ -115,7 +115,7 @@ export const Test8 = ({ color })=>{ }; return
{ ])}>

dynamic with scoped compound variable

- <_JSXStyle id={"94b3e0247b9a36c"} dynamic={[ + <_JSXStyle id={"d57887312571e047"} dynamic={[ innerProps.color ]}>{`p.__jsx-style-dynamic-selector{color:${innerProps.color}}`}
; @@ -142,7 +142,7 @@ export const Test9 = ({ color })=>{ }; return
{ ])}>

dynamic with compound variable

- <_JSXStyle id={"7f3d84a1e2a80ddf"} dynamic={[ + <_JSXStyle id={"f2f21007320d38b4"} dynamic={[ innerProps.color ]}>{`p.__jsx-style-dynamic-selector{color:${innerProps.color}}`}
; }; const foo = "red"; // dynamic with constant variable -export const Test10 = ()=>
-

dynamic with constant variable

- <_JSXStyle id={"8b3000ec45e05233"}>{`p.jsx-8b3000ec45e05233{color:${foo}}`} +export const Test10 = ()=>
+

dynamic with constant variable

+ <_JSXStyle id={"5f584f57d5db4f98"}>{`p.jsx-5f584f57d5db4f98{color:${foo}}`}
; // dynamic with complex scope export const Test11 = ({ color })=>{ @@ -173,13 +173,13 @@ export const Test11 = ({ color })=>{ length: 5 }).map((item, i)=>
  • - <_JSXStyle id={"657d9cf312a27b74"} dynamic={[ + <_JSXStyle id={"270ba7e917b2ffd0"} dynamic={[ color ]}>{`.item.__jsx-style-dynamic-selector{color:${color}}`} Item #{i + 1} diff --git a/packages/styled-jsx/transform/tests/fixture/attribute-generation-modes/output.swc.js b/packages/styled-jsx/transform/tests/fixture/attribute-generation-modes/output.swc.js index 6f4e3cea1..0fc673233 100644 --- a/packages/styled-jsx/transform/tests/fixture/attribute-generation-modes/output.swc.js +++ b/packages/styled-jsx/transform/tests/fixture/attribute-generation-modes/output.swc.js @@ -16,7 +16,7 @@ export const Test2 = ()=>

    external and dynamic

    - <_JSXStyle id={"d2da13039fc0361"} dynamic={[ + <_JSXStyle id={"99ddf2042f3d09ca"} dynamic={[ color ]}>{`p.__jsx-style-dynamic-selector{color:${color}}`} <_JSXStyle id={styles.__hash}>{styles} @@ -38,7 +38,7 @@ export const Test3 = ({ color })=>

    external, static and dynamic

    <_JSXStyle id={"ceba8c9ce34e3d0c"}>{"p.jsx-ceba8c9ce34e3d0c{display:inline-block}"} - <_JSXStyle id={"6dde3bd8f10491b0"} dynamic={[ + <_JSXStyle id={"39ea2692a3c00395"} dynamic={[ color ]}>{`p.__jsx-style-dynamic-selector{color:${color}}`} <_JSXStyle id={styles.__hash}>{styles} @@ -67,7 +67,7 @@ export const Test5 = ()=>
    // static and dynamic export const Test6 = ({ color })=>

    static and dynamic

    <_JSXStyle id={"ceba8c9ce34e3d0c"}>{"p.jsx-ceba8c9ce34e3d0c{display:inline-block}"} - <_JSXStyle id={"d1512a849fe89163"} dynamic={[ + <_JSXStyle id={"b738f64ac5063616"} dynamic={[ color ]}>{`p.__jsx-style-dynamic-selector{color:${color}}`}
    ; // dynamic only export const Test7 = ({ color })=>

    dynamic only

    - <_JSXStyle id={"a759cffae3a9783c"} dynamic={[ + <_JSXStyle id={"edc8550739d23c37"} dynamic={[ color ]}>{`p.__jsx-style-dynamic-selector{color:${color}}`}
    ; @@ -115,7 +115,7 @@ export const Test8 = ({ color })=>{ }; return
    { ])}>

    dynamic with scoped compound variable

    - <_JSXStyle id={"94b3e0247b9a36c"} dynamic={[ + <_JSXStyle id={"d57887312571e047"} dynamic={[ innerProps.color ]}>{`p.__jsx-style-dynamic-selector{color:${innerProps.color}}`}
    ; @@ -142,7 +142,7 @@ export const Test9 = ({ color })=>{ }; return
    { ])}>

    dynamic with compound variable

    - <_JSXStyle id={"7f3d84a1e2a80ddf"} dynamic={[ + <_JSXStyle id={"f2f21007320d38b4"} dynamic={[ innerProps.color ]}>{`p.__jsx-style-dynamic-selector{color:${innerProps.color}}`}
    ; }; const foo = "red"; // dynamic with constant variable -export const Test10 = ()=>
    -

    dynamic with constant variable

    - <_JSXStyle id={"8b3000ec45e05233"}>{`p.jsx-8b3000ec45e05233{color:${foo}}`} +export const Test10 = ()=>
    +

    dynamic with constant variable

    + <_JSXStyle id={"5f584f57d5db4f98"}>{`p.jsx-5f584f57d5db4f98{color:${foo}}`}
    ; // dynamic with complex scope export const Test11 = ({ color })=>{ @@ -173,13 +173,13 @@ export const Test11 = ({ color })=>{ length: 5 }).map((item, i)=>
  • - <_JSXStyle id={"657d9cf312a27b74"} dynamic={[ + <_JSXStyle id={"270ba7e917b2ffd0"} dynamic={[ color ]}>{`.item.__jsx-style-dynamic-selector{color:${color}}`} Item #{i + 1} diff --git a/packages/styled-jsx/transform/tests/fixture/different-jsx-ids/output.lightningcss.js b/packages/styled-jsx/transform/tests/fixture/different-jsx-ids/output.lightningcss.js index e53d17ec1..7b4db6443 100644 --- a/packages/styled-jsx/transform/tests/fixture/different-jsx-ids/output.lightningcss.js +++ b/packages/styled-jsx/transform/tests/fixture/different-jsx-ids/output.lightningcss.js @@ -1,13 +1,13 @@ import _JSXStyle from "styled-jsx/style"; const color = "red"; const otherColor = "green"; -const A = ()=>
    -

    test

    - <_JSXStyle id={"ba5593a7ec9cac44"}>{`p.jsx-ba5593a7ec9cac44{color:${color}}`} +const A = ()=>
    +

    test

    + <_JSXStyle id={"806720d41ae9fbf8"}>{`p.jsx-806720d41ae9fbf8{color:${color}}`}
    ; -const B = ()=>
    -

    test

    - <_JSXStyle id={"ddf7b1ec0b39ee5b"}>{`p.jsx-ddf7b1ec0b39ee5b{color:${otherColor}}`} +const B = ()=>
    +

    test

    + <_JSXStyle id={"5a7e7d24349275f2"}>{`p.jsx-5a7e7d24349275f2{color:${otherColor}}`}
    ; export default (()=>
    diff --git a/packages/styled-jsx/transform/tests/fixture/different-jsx-ids/output.swc.js b/packages/styled-jsx/transform/tests/fixture/different-jsx-ids/output.swc.js index e53d17ec1..7b4db6443 100644 --- a/packages/styled-jsx/transform/tests/fixture/different-jsx-ids/output.swc.js +++ b/packages/styled-jsx/transform/tests/fixture/different-jsx-ids/output.swc.js @@ -1,13 +1,13 @@ import _JSXStyle from "styled-jsx/style"; const color = "red"; const otherColor = "green"; -const A = ()=>
    -

    test

    - <_JSXStyle id={"ba5593a7ec9cac44"}>{`p.jsx-ba5593a7ec9cac44{color:${color}}`} +const A = ()=>
    +

    test

    + <_JSXStyle id={"806720d41ae9fbf8"}>{`p.jsx-806720d41ae9fbf8{color:${color}}`}
    ; -const B = ()=>
    -

    test

    - <_JSXStyle id={"ddf7b1ec0b39ee5b"}>{`p.jsx-ddf7b1ec0b39ee5b{color:${otherColor}}`} +const B = ()=>
    +

    test

    + <_JSXStyle id={"5a7e7d24349275f2"}>{`p.jsx-5a7e7d24349275f2{color:${otherColor}}`}
    ; export default (()=>
    diff --git a/packages/styled-jsx/transform/tests/fixture/issue-30480/output.lightningcss.js b/packages/styled-jsx/transform/tests/fixture/issue-30480/output.lightningcss.js index 746b4c5c8..9657bd4fb 100644 --- a/packages/styled-jsx/transform/tests/fixture/issue-30480/output.lightningcss.js +++ b/packages/styled-jsx/transform/tests/fixture/issue-30480/output.lightningcss.js @@ -1,13 +1,13 @@ import _JSXStyle from "styled-jsx/style"; export default (({ breakPoint })=>
    - <_JSXStyle id={"e5fa52a87d22cbeb"} dynamic={[ + <_JSXStyle id={"dd62c6a1a61ac28d"} dynamic={[ breakPoint ]}>{`@media (${breakPoint}){.test.__jsx-style-dynamic-selector{margin-bottom:1em}}`}
    ); diff --git a/packages/styled-jsx/transform/tests/fixture/issue-30480/output.swc.js b/packages/styled-jsx/transform/tests/fixture/issue-30480/output.swc.js index 746b4c5c8..9657bd4fb 100644 --- a/packages/styled-jsx/transform/tests/fixture/issue-30480/output.swc.js +++ b/packages/styled-jsx/transform/tests/fixture/issue-30480/output.swc.js @@ -1,13 +1,13 @@ import _JSXStyle from "styled-jsx/style"; export default (({ breakPoint })=>
    - <_JSXStyle id={"e5fa52a87d22cbeb"} dynamic={[ + <_JSXStyle id={"dd62c6a1a61ac28d"} dynamic={[ breakPoint ]}>{`@media (${breakPoint}){.test.__jsx-style-dynamic-selector{margin-bottom:1em}}`}
    ); diff --git a/packages/styled-jsx/transform/tests/fixture/issue-31562-interpolation-in-mdea/output.lightningcss.js b/packages/styled-jsx/transform/tests/fixture/issue-31562-interpolation-in-mdea/output.lightningcss.js index 137f90243..fa28d83fc 100644 --- a/packages/styled-jsx/transform/tests/fixture/issue-31562-interpolation-in-mdea/output.lightningcss.js +++ b/packages/styled-jsx/transform/tests/fixture/issue-31562-interpolation-in-mdea/output.lightningcss.js @@ -3,7 +3,7 @@ export default class { render() { return

    test

    - <_JSXStyle id={"20b71d72b438ca89"} dynamic={[ + <_JSXStyle id={"3a60728aa8425aca"} dynamic={[ Typography.base.size.default, Typography.base.lineHeight, Target.mediumPlus, diff --git a/packages/styled-jsx/transform/tests/fixture/issue-31562-interpolation-in-mdea/output.swc.js b/packages/styled-jsx/transform/tests/fixture/issue-31562-interpolation-in-mdea/output.swc.js index 137f90243..fa28d83fc 100644 --- a/packages/styled-jsx/transform/tests/fixture/issue-31562-interpolation-in-mdea/output.swc.js +++ b/packages/styled-jsx/transform/tests/fixture/issue-31562-interpolation-in-mdea/output.swc.js @@ -3,7 +3,7 @@ export default class { render() { return

    test

    - <_JSXStyle id={"20b71d72b438ca89"} dynamic={[ + <_JSXStyle id={"3a60728aa8425aca"} dynamic={[ Typography.base.size.default, Typography.base.lineHeight, Target.mediumPlus, diff --git a/packages/styled-jsx/transform/tests/fixture/next-55679/output.lightningcss.js b/packages/styled-jsx/transform/tests/fixture/next-55679/output.lightningcss.js index d46015c43..974d702f2 100644 --- a/packages/styled-jsx/transform/tests/fixture/next-55679/output.lightningcss.js +++ b/packages/styled-jsx/transform/tests/fixture/next-55679/output.lightningcss.js @@ -3,7 +3,7 @@ import { AppProps } from "next/app"; const someVar = "--var-1"; export default function App({ Component, pageProps }) { return <> - <_JSXStyle id={"375c0739fd480132"}>{`:root{${someVar}:red;background-color:var(${someVar})}`} - + <_JSXStyle id={"3325ddb654ec5bd1"}>{`:root{${someVar}:red;background-color:var(${someVar})}`} + ; } diff --git a/packages/styled-jsx/transform/tests/fixture/next-55679/output.swc.js b/packages/styled-jsx/transform/tests/fixture/next-55679/output.swc.js index d46015c43..974d702f2 100644 --- a/packages/styled-jsx/transform/tests/fixture/next-55679/output.swc.js +++ b/packages/styled-jsx/transform/tests/fixture/next-55679/output.swc.js @@ -3,7 +3,7 @@ import { AppProps } from "next/app"; const someVar = "--var-1"; export default function App({ Component, pageProps }) { return <> - <_JSXStyle id={"375c0739fd480132"}>{`:root{${someVar}:red;background-color:var(${someVar})}`} - + <_JSXStyle id={"3325ddb654ec5bd1"}>{`:root{${someVar}:red;background-color:var(${someVar})}`} + ; } diff --git a/packages/styled-jsx/transform/tests/fixture/next-61788/output.lightningcss.js b/packages/styled-jsx/transform/tests/fixture/next-61788/output.lightningcss.js index ddaa7dda7..aba2b5289 100644 --- a/packages/styled-jsx/transform/tests/fixture/next-61788/output.lightningcss.js +++ b/packages/styled-jsx/transform/tests/fixture/next-61788/output.lightningcss.js @@ -3,7 +3,7 @@ const MOBILE_MAX = 767; export default function Home() { return

    Hello

    - <_JSXStyle id={"f9c7b7e360105f70"} dynamic={[ + <_JSXStyle id={"8fb02092502cd9d6"} dynamic={[ MOBILE_MAX ]}>{`.header.__jsx-style-dynamic-selector{font-size:48px}`}
    ; diff --git a/packages/styled-jsx/transform/tests/fixture/next-61788/output.swc.js b/packages/styled-jsx/transform/tests/fixture/next-61788/output.swc.js index ddaa7dda7..aba2b5289 100644 --- a/packages/styled-jsx/transform/tests/fixture/next-61788/output.swc.js +++ b/packages/styled-jsx/transform/tests/fixture/next-61788/output.swc.js @@ -3,7 +3,7 @@ const MOBILE_MAX = 767; export default function Home() { return

    Hello

    - <_JSXStyle id={"f9c7b7e360105f70"} dynamic={[ + <_JSXStyle id={"8fb02092502cd9d6"} dynamic={[ MOBILE_MAX ]}>{`.header.__jsx-style-dynamic-selector{font-size:48px}`}
    ; diff --git a/packages/styled-jsx/transform/tests/fixture/next-64389/output.lightningcss.js b/packages/styled-jsx/transform/tests/fixture/next-64389/output.lightningcss.js index 558ba666a..fbddc0248 100644 --- a/packages/styled-jsx/transform/tests/fixture/next-64389/output.lightningcss.js +++ b/packages/styled-jsx/transform/tests/fixture/next-64389/output.lightningcss.js @@ -2,9 +2,9 @@ import _JSXStyle from "styled-jsx/style"; const color = "color: red;"; export default function RootLayout({ children }) { - return - - {children} - <_JSXStyle id={"84b13d47b42d4e1a"}>{`body{${color}}body p{font-size:72px}`} + return + + {children} + <_JSXStyle id={"f6d1f9c8cef9f33a"}>{`body{${color}}body p{font-size:72px}`} ; } diff --git a/packages/styled-jsx/transform/tests/fixture/next-64389/output.swc.js b/packages/styled-jsx/transform/tests/fixture/next-64389/output.swc.js index 558ba666a..fbddc0248 100644 --- a/packages/styled-jsx/transform/tests/fixture/next-64389/output.swc.js +++ b/packages/styled-jsx/transform/tests/fixture/next-64389/output.swc.js @@ -2,9 +2,9 @@ import _JSXStyle from "styled-jsx/style"; const color = "color: red;"; export default function RootLayout({ children }) { - return - - {children} - <_JSXStyle id={"84b13d47b42d4e1a"}>{`body{${color}}body p{font-size:72px}`} + return + + {children} + <_JSXStyle id={"f6d1f9c8cef9f33a"}>{`body{${color}}body p{font-size:72px}`} ; } diff --git a/packages/styled-jsx/transform/tests/fixture/number-after-placeholder/output.lightningcss.js b/packages/styled-jsx/transform/tests/fixture/number-after-placeholder/output.lightningcss.js index 899eaa265..16c933ba7 100644 --- a/packages/styled-jsx/transform/tests/fixture/number-after-placeholder/output.lightningcss.js +++ b/packages/styled-jsx/transform/tests/fixture/number-after-placeholder/output.lightningcss.js @@ -1,11 +1,11 @@ import _JSXStyle from "styled-jsx/style"; import Link from "next/link"; export default function IndexPage() { - return
    + return
    Hello World.{" "} - Abound + Abound - <_JSXStyle id={"deaa27ac79320e74"}>{`a.jsx-deaa27ac79320e74{color:${"#abcdef"}12}`} + <_JSXStyle id={"c6d4de744aa7f979"}>{`a.jsx-c6d4de744aa7f979{color:${"#abcdef"}12}`}
    ; } diff --git a/packages/styled-jsx/transform/tests/fixture/number-after-placeholder/output.swc.js b/packages/styled-jsx/transform/tests/fixture/number-after-placeholder/output.swc.js index 899eaa265..16c933ba7 100644 --- a/packages/styled-jsx/transform/tests/fixture/number-after-placeholder/output.swc.js +++ b/packages/styled-jsx/transform/tests/fixture/number-after-placeholder/output.swc.js @@ -1,11 +1,11 @@ import _JSXStyle from "styled-jsx/style"; import Link from "next/link"; export default function IndexPage() { - return
    + return
    Hello World.{" "} - Abound + Abound - <_JSXStyle id={"deaa27ac79320e74"}>{`a.jsx-deaa27ac79320e74{color:${"#abcdef"}12}`} + <_JSXStyle id={"c6d4de744aa7f979"}>{`a.jsx-c6d4de744aa7f979{color:${"#abcdef"}12}`}
    ; } diff --git a/packages/styled-jsx/transform/tests/fixture/pack-2714/output.lightningcss.js b/packages/styled-jsx/transform/tests/fixture/pack-2714/output.lightningcss.js index fc161143f..73a0b25ca 100644 --- a/packages/styled-jsx/transform/tests/fixture/pack-2714/output.lightningcss.js +++ b/packages/styled-jsx/transform/tests/fixture/pack-2714/output.lightningcss.js @@ -1,5 +1,5 @@ import _JSXStyle from "styled-jsx/style"; const { className: cardClassName, styles } = { - styles: <_JSXStyle id={"d662e9d5783da781"}>{`.jsx-d662e9d5783da781:hover{z-index:${hoverAnimation ? "1" : "auto"}}`}, - className: "jsx-d662e9d5783da781" + styles: <_JSXStyle id={"d28d7cf46399bfda"}>{`.jsx-d28d7cf46399bfda:hover{z-index:${hoverAnimation ? "1" : "auto"}}`}, + className: "jsx-d28d7cf46399bfda" }; diff --git a/packages/styled-jsx/transform/tests/fixture/pack-2714/output.swc.js b/packages/styled-jsx/transform/tests/fixture/pack-2714/output.swc.js index fc161143f..73a0b25ca 100644 --- a/packages/styled-jsx/transform/tests/fixture/pack-2714/output.swc.js +++ b/packages/styled-jsx/transform/tests/fixture/pack-2714/output.swc.js @@ -1,5 +1,5 @@ import _JSXStyle from "styled-jsx/style"; const { className: cardClassName, styles } = { - styles: <_JSXStyle id={"d662e9d5783da781"}>{`.jsx-d662e9d5783da781:hover{z-index:${hoverAnimation ? "1" : "auto"}}`}, - className: "jsx-d662e9d5783da781" + styles: <_JSXStyle id={"d28d7cf46399bfda"}>{`.jsx-d28d7cf46399bfda:hover{z-index:${hoverAnimation ? "1" : "auto"}}`}, + className: "jsx-d28d7cf46399bfda" }; diff --git a/packages/styled-jsx/transform/tests/fixture/styles/output.lightningcss.js b/packages/styled-jsx/transform/tests/fixture/styles/output.lightningcss.js index 418ea8741..0a8c5b35e 100644 --- a/packages/styled-jsx/transform/tests/fixture/styles/output.lightningcss.js +++ b/packages/styled-jsx/transform/tests/fixture/styles/output.lightningcss.js @@ -6,26 +6,26 @@ bar.__hash = "aaed0341accea8f"; const baz = new String("div{font-size:3em}"); baz.__hash = "aaed0341accea8f"; const a = new String(`div{font-size:${size}em}`); -a.__hash = "f3f709dce236d2c7"; +a.__hash = "8228e42d40d15965"; export const uh = bar; -export const foo = new String(`div.jsx-58279132b4e97b93{color:${color}}`); -foo.__hash = "58279132b4e97b93"; +export const foo = new String(`div.jsx-b43c82a70e4f0472{color:${color}}`); +foo.__hash = "b43c82a70e4f0472"; ({ - styles: <_JSXStyle id={"4616b980b67d37b1"}>{`div.jsx-4616b980b67d37b1{color:${colors.green.light}}a.jsx-4616b980b67d37b1{color:red}`}, - className: "jsx-4616b980b67d37b1" + styles: <_JSXStyle id={"1064355a76cd6647"}>{`div.jsx-1064355a76cd6647{color:${colors.green.light}}a.jsx-1064355a76cd6647{color:red}`}, + className: "jsx-1064355a76cd6647" }); const b = { - styles: <_JSXStyle id={"1d9f9a0af736c476"}>{`div.jsx-1d9f9a0af736c476{color:${colors.green.light}}a.jsx-1d9f9a0af736c476{color:red}`}, - className: "jsx-1d9f9a0af736c476" + styles: <_JSXStyle id={"8301ec39281a1d5c"}>{`div.jsx-8301ec39281a1d5c{color:${colors.green.light}}a.jsx-8301ec39281a1d5c{color:red}`}, + className: "jsx-8301ec39281a1d5c" }; const dynamic = (colors)=>{ const b = { - styles: <_JSXStyle id={"bde9d329308be70b"} dynamic={[ + styles: <_JSXStyle id={"da01783efa8657c1"} dynamic={[ colors.green.light ]}>{`div.__jsx-style-dynamic-selector{color:${colors.green.light}}a.__jsx-style-dynamic-selector{color:red}`}, className: _JSXStyle.dynamic([ [ - "bde9d329308be70b", + "da01783efa8657c1", [ colors.green.light ] @@ -34,6 +34,6 @@ const dynamic = (colors)=>{ }; }; export default { - styles: <_JSXStyle id={"2707c6e87ff4b8f7"}>{`div.jsx-2707c6e87ff4b8f7{font-size:3em}p.jsx-2707c6e87ff4b8f7{color:${color}}`}, - className: "jsx-2707c6e87ff4b8f7" + styles: <_JSXStyle id={"14be4d3687cb89a3"}>{`div.jsx-14be4d3687cb89a3{font-size:3em}p.jsx-14be4d3687cb89a3{color:${color}}`}, + className: "jsx-14be4d3687cb89a3" }; diff --git a/packages/styled-jsx/transform/tests/fixture/styles/output.swc.js b/packages/styled-jsx/transform/tests/fixture/styles/output.swc.js index 418ea8741..0a8c5b35e 100644 --- a/packages/styled-jsx/transform/tests/fixture/styles/output.swc.js +++ b/packages/styled-jsx/transform/tests/fixture/styles/output.swc.js @@ -6,26 +6,26 @@ bar.__hash = "aaed0341accea8f"; const baz = new String("div{font-size:3em}"); baz.__hash = "aaed0341accea8f"; const a = new String(`div{font-size:${size}em}`); -a.__hash = "f3f709dce236d2c7"; +a.__hash = "8228e42d40d15965"; export const uh = bar; -export const foo = new String(`div.jsx-58279132b4e97b93{color:${color}}`); -foo.__hash = "58279132b4e97b93"; +export const foo = new String(`div.jsx-b43c82a70e4f0472{color:${color}}`); +foo.__hash = "b43c82a70e4f0472"; ({ - styles: <_JSXStyle id={"4616b980b67d37b1"}>{`div.jsx-4616b980b67d37b1{color:${colors.green.light}}a.jsx-4616b980b67d37b1{color:red}`}, - className: "jsx-4616b980b67d37b1" + styles: <_JSXStyle id={"1064355a76cd6647"}>{`div.jsx-1064355a76cd6647{color:${colors.green.light}}a.jsx-1064355a76cd6647{color:red}`}, + className: "jsx-1064355a76cd6647" }); const b = { - styles: <_JSXStyle id={"1d9f9a0af736c476"}>{`div.jsx-1d9f9a0af736c476{color:${colors.green.light}}a.jsx-1d9f9a0af736c476{color:red}`}, - className: "jsx-1d9f9a0af736c476" + styles: <_JSXStyle id={"8301ec39281a1d5c"}>{`div.jsx-8301ec39281a1d5c{color:${colors.green.light}}a.jsx-8301ec39281a1d5c{color:red}`}, + className: "jsx-8301ec39281a1d5c" }; const dynamic = (colors)=>{ const b = { - styles: <_JSXStyle id={"bde9d329308be70b"} dynamic={[ + styles: <_JSXStyle id={"da01783efa8657c1"} dynamic={[ colors.green.light ]}>{`div.__jsx-style-dynamic-selector{color:${colors.green.light}}a.__jsx-style-dynamic-selector{color:red}`}, className: _JSXStyle.dynamic([ [ - "bde9d329308be70b", + "da01783efa8657c1", [ colors.green.light ] @@ -34,6 +34,6 @@ const dynamic = (colors)=>{ }; }; export default { - styles: <_JSXStyle id={"2707c6e87ff4b8f7"}>{`div.jsx-2707c6e87ff4b8f7{font-size:3em}p.jsx-2707c6e87ff4b8f7{color:${color}}`}, - className: "jsx-2707c6e87ff4b8f7" + styles: <_JSXStyle id={"14be4d3687cb89a3"}>{`div.jsx-14be4d3687cb89a3{font-size:3em}p.jsx-14be4d3687cb89a3{color:${color}}`}, + className: "jsx-14be4d3687cb89a3" }; diff --git a/packages/styled-jsx/transform/tests/fixture/too-many/output.lightningcss.js b/packages/styled-jsx/transform/tests/fixture/too-many/output.lightningcss.js index 95ce940ec..adc3f73dc 100644 --- a/packages/styled-jsx/transform/tests/fixture/too-many/output.lightningcss.js +++ b/packages/styled-jsx/transform/tests/fixture/too-many/output.lightningcss.js @@ -2,7 +2,7 @@ import _JSXStyle from "styled-jsx/style"; export const Red = ({ Component = "button" })=>{ return { ] ])}> {} - <_JSXStyle id={"44f9b0abb187fcd1"} dynamic={[ + <_JSXStyle id={"e93198ce9f5c0ae8"} dynamic={[ e1, e2, e3, diff --git a/packages/styled-jsx/transform/tests/fixture/too-many/output.swc.js b/packages/styled-jsx/transform/tests/fixture/too-many/output.swc.js index 95ce940ec..adc3f73dc 100644 --- a/packages/styled-jsx/transform/tests/fixture/too-many/output.swc.js +++ b/packages/styled-jsx/transform/tests/fixture/too-many/output.swc.js @@ -2,7 +2,7 @@ import _JSXStyle from "styled-jsx/style"; export const Red = ({ Component = "button" })=>{ return { ] ])}> {} - <_JSXStyle id={"44f9b0abb187fcd1"} dynamic={[ + <_JSXStyle id={"e93198ce9f5c0ae8"} dynamic={[ e1, e2, e3, diff --git a/packages/styled-jsx/transform/tests/fixture/tpl-escape-2/output.lightningcss.js b/packages/styled-jsx/transform/tests/fixture/tpl-escape-2/output.lightningcss.js index 031977949..7dd86e6cd 100644 --- a/packages/styled-jsx/transform/tests/fixture/tpl-escape-2/output.lightningcss.js +++ b/packages/styled-jsx/transform/tests/fixture/tpl-escape-2/output.lightningcss.js @@ -2,13 +2,13 @@ import _JSXStyle from "styled-jsx/style"; export default function Home({ fontFamily }) { return
    - <_JSXStyle id={"76bef3ff9f6520b5"} dynamic={[ + <_JSXStyle id={"71c0cf9cd328dd28"} dynamic={[ fontFamily ]}>{`body{font-family:${fontFamily}}code:before,code:after{content:"\`"}`}
    ; diff --git a/packages/styled-jsx/transform/tests/fixture/tpl-escape-2/output.swc.js b/packages/styled-jsx/transform/tests/fixture/tpl-escape-2/output.swc.js index 031977949..7dd86e6cd 100644 --- a/packages/styled-jsx/transform/tests/fixture/tpl-escape-2/output.swc.js +++ b/packages/styled-jsx/transform/tests/fixture/tpl-escape-2/output.swc.js @@ -2,13 +2,13 @@ import _JSXStyle from "styled-jsx/style"; export default function Home({ fontFamily }) { return
    - <_JSXStyle id={"76bef3ff9f6520b5"} dynamic={[ + <_JSXStyle id={"71c0cf9cd328dd28"} dynamic={[ fontFamily ]}>{`body{font-family:${fontFamily}}code:before,code:after{content:"\`"}`}
    ; diff --git a/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-1-as-property/output.lightningcss.js b/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-1-as-property/output.lightningcss.js index 10e5de7c1..0ebd8521d 100644 --- a/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-1-as-property/output.lightningcss.js +++ b/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-1-as-property/output.lightningcss.js @@ -3,7 +3,7 @@ export default class { render() { return

    test

    - <_JSXStyle id={"95ee89dbd62ebe47"} dynamic={[ + <_JSXStyle id={"a1bbf3e77dc92644"} dynamic={[ inputSize ? "height: calc(2 * var(--a)) !important;" : "" ]}>{`@media only screen{a.__jsx-style-dynamic-selector{${inputSize ? "height: calc(2 * var(--a)) !important;" : ""}}}`}
    ; diff --git a/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-1-as-property/output.swc.js b/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-1-as-property/output.swc.js index 10e5de7c1..0ebd8521d 100644 --- a/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-1-as-property/output.swc.js +++ b/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-1-as-property/output.swc.js @@ -3,7 +3,7 @@ export default class { render() { return

    test

    - <_JSXStyle id={"95ee89dbd62ebe47"} dynamic={[ + <_JSXStyle id={"a1bbf3e77dc92644"} dynamic={[ inputSize ? "height: calc(2 * var(--a)) !important;" : "" ]}>{`@media only screen{a.__jsx-style-dynamic-selector{${inputSize ? "height: calc(2 * var(--a)) !important;" : ""}}}`}
    ; diff --git a/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-2-as-part-of-value/output.lightningcss.js b/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-2-as-part-of-value/output.lightningcss.js index d2ce70cc8..7887e1fbb 100644 --- a/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-2-as-part-of-value/output.lightningcss.js +++ b/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-2-as-part-of-value/output.lightningcss.js @@ -3,7 +3,7 @@ export default class { render() { return

    test

    - <_JSXStyle id={"39dec80b241d5ecc"} dynamic={[ + <_JSXStyle id={"afb53d92c5119844"} dynamic={[ a[b], -1 * (c || 0), d diff --git a/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-2-as-part-of-value/output.swc.js b/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-2-as-part-of-value/output.swc.js index d2ce70cc8..7887e1fbb 100644 --- a/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-2-as-part-of-value/output.swc.js +++ b/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-2-as-part-of-value/output.swc.js @@ -3,7 +3,7 @@ export default class { render() { return

    test

    - <_JSXStyle id={"39dec80b241d5ecc"} dynamic={[ + <_JSXStyle id={"afb53d92c5119844"} dynamic={[ a[b], -1 * (c || 0), d diff --git a/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-3-as-value/output.lightningcss.js b/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-3-as-value/output.lightningcss.js index 5b91920ed..8b1698bb1 100644 --- a/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-3-as-value/output.lightningcss.js +++ b/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-3-as-value/output.lightningcss.js @@ -3,7 +3,7 @@ export default class { render() { return

    test

    - <_JSXStyle id={"15b816b3924dce9a"} dynamic={[ + <_JSXStyle id={"cc01b1d5a2273296"} dynamic={[ a ]}>{`@media only screen{a.__jsx-style-dynamic-selector{color:${a}}}`}
    ; diff --git a/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-3-as-value/output.swc.js b/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-3-as-value/output.swc.js index 5b91920ed..8b1698bb1 100644 --- a/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-3-as-value/output.swc.js +++ b/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-3-as-value/output.swc.js @@ -3,7 +3,7 @@ export default class { render() { return

    test

    - <_JSXStyle id={"15b816b3924dce9a"} dynamic={[ + <_JSXStyle id={"cc01b1d5a2273296"} dynamic={[ a ]}>{`@media only screen{a.__jsx-style-dynamic-selector{color:${a}}}`}
    ; diff --git a/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-4-as-part-of-value-in-multiple/output.lightningcss.js b/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-4-as-part-of-value-in-multiple/output.lightningcss.js index f612b5f8f..ac14c004b 100644 --- a/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-4-as-part-of-value-in-multiple/output.lightningcss.js +++ b/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-4-as-part-of-value-in-multiple/output.lightningcss.js @@ -3,7 +3,7 @@ export default class { render() { return

    test

    - <_JSXStyle id={"210ccb6ece14e37"} dynamic={[ + <_JSXStyle id={"df8660b92977cac5"} dynamic={[ a || "var(--c)", b || "inherit" ]}>{`.a:hover .b.__jsx-style-dynamic-selector{padding:0 ${a || "var(--c)"};color:${b || "inherit"};display:inline-block}`} diff --git a/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-4-as-part-of-value-in-multiple/output.swc.js b/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-4-as-part-of-value-in-multiple/output.swc.js index 1522d74db..902921e3a 100644 --- a/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-4-as-part-of-value-in-multiple/output.swc.js +++ b/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-4-as-part-of-value-in-multiple/output.swc.js @@ -3,7 +3,7 @@ export default class { render() { return

    test

    - <_JSXStyle id={"210ccb6ece14e37"} dynamic={[ + <_JSXStyle id={"df8660b92977cac5"} dynamic={[ a || "var(--c)", b || "inherit" ]}>{`.a:hover .b.__jsx-style-dynamic-selector{display:inline-block;padding:0 ${a || "var(--c)"};color:${b || "inherit"}}`} diff --git a/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-5-values-of-multiple-properties/output.lightningcss.js b/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-5-values-of-multiple-properties/output.lightningcss.js index 17a813b49..cc98534e4 100644 --- a/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-5-values-of-multiple-properties/output.lightningcss.js +++ b/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-5-values-of-multiple-properties/output.lightningcss.js @@ -3,7 +3,7 @@ export default class { render() { return

    test

    - <_JSXStyle id={"8a9c5d01fc6fe64e"} dynamic={[ + <_JSXStyle id={"1a3d2e1d5c490605"} dynamic={[ a ? "100%" : "200px", b ? "0" : "8px 20px" ]}>{`.item.__jsx-style-dynamic-selector{max-width:${a ? "100%" : "200px"};padding:${b ? "0" : "8px 20px"}}`} diff --git a/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-5-values-of-multiple-properties/output.swc.js b/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-5-values-of-multiple-properties/output.swc.js index 17a813b49..cc98534e4 100644 --- a/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-5-values-of-multiple-properties/output.swc.js +++ b/packages/styled-jsx/transform/tests/fixture/tpl-placeholder-5-values-of-multiple-properties/output.swc.js @@ -3,7 +3,7 @@ export default class { render() { return

    test

    - <_JSXStyle id={"8a9c5d01fc6fe64e"} dynamic={[ + <_JSXStyle id={"1a3d2e1d5c490605"} dynamic={[ a ? "100%" : "200px", b ? "0" : "8px 20px" ]}>{`.item.__jsx-style-dynamic-selector{max-width:${a ? "100%" : "200px"};padding:${b ? "0" : "8px 20px"}}`} diff --git a/packages/swc-confidential/CHANGELOG.md b/packages/swc-confidential/CHANGELOG.md index dd6188431..b115abfb5 100644 --- a/packages/swc-confidential/CHANGELOG.md +++ b/packages/swc-confidential/CHANGELOG.md @@ -1,5 +1,17 @@ # @swc/plugin-swc-confidential +## 5.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 5.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 4.0.2 ### Patch Changes diff --git a/packages/swc-confidential/package.json b/packages/swc-confidential/package.json index 6d8f8b7a4..ef2e339ae 100644 --- a/packages/swc-confidential/package.json +++ b/packages/swc-confidential/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-swc-confidential", - "version": "4.0.2", + "version": "5.0.1", "description": "SWC plugin for swc-confidential", "main": "swc_plugin_swc_confidential.wasm", "scripts": { diff --git a/packages/swc-confidential/transform/Cargo.toml b/packages/swc-confidential/transform/Cargo.toml index 3f808950a..8e6610e2b 100644 --- a/packages/swc-confidential/transform/Cargo.toml +++ b/packages/swc-confidential/transform/Cargo.toml @@ -10,7 +10,7 @@ license = { workspace = true } name = "swc_confidential" repository = { workspace = true } rust-version = { workspace = true } -version = "0.19.26" +version = "0.20.0" [dependencies] diff --git a/packages/swc-magic/CHANGELOG.md b/packages/swc-magic/CHANGELOG.md index a83a183af..008ce4078 100644 --- a/packages/swc-magic/CHANGELOG.md +++ b/packages/swc-magic/CHANGELOG.md @@ -1,5 +1,17 @@ # @swc/plugin-swc-magic +## 6.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 6.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 5.0.2 ### Patch Changes diff --git a/packages/swc-magic/README.md b/packages/swc-magic/README.md index 2572631f5..55fd04ab1 100644 --- a/packages/swc-magic/README.md +++ b/packages/swc-magic/README.md @@ -24,6 +24,18 @@ markAsPure(() => console.log("This will be removed by the SWC minifier")); # @swc/plugin-swc-magic +## 6.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 6.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 5.0.2 ### Patch Changes diff --git a/packages/swc-magic/package.json b/packages/swc-magic/package.json index ad470a5fb..22bb3b555 100644 --- a/packages/swc-magic/package.json +++ b/packages/swc-magic/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-swc-magic", - "version": "5.0.2", + "version": "6.0.1", "description": "SWC plugin for swc-magic", "main": "swc_plugin_swc_magic.wasm", "scripts": { diff --git a/packages/swc-magic/transform/Cargo.toml b/packages/swc-magic/transform/Cargo.toml index 846ab11d6..d6543737f 100644 --- a/packages/swc-magic/transform/Cargo.toml +++ b/packages/swc-magic/transform/Cargo.toml @@ -10,7 +10,7 @@ license = { workspace = true } name = "swc_magic" repository = { workspace = true } rust-version = { workspace = true } -version = "0.19.26" +version = "0.20.0" [dependencies] diff --git a/packages/swc-sdk/CHANGELOG.md b/packages/swc-sdk/CHANGELOG.md index afa60ee74..9e7c88a36 100644 --- a/packages/swc-sdk/CHANGELOG.md +++ b/packages/swc-sdk/CHANGELOG.md @@ -1,5 +1,17 @@ # @swc/plugin-swc-sdk +## 6.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 6.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 5.0.2 ### Patch Changes diff --git a/packages/swc-sdk/README.md b/packages/swc-sdk/README.md index 50d50ff0b..1d2f1550b 100644 --- a/packages/swc-sdk/README.md +++ b/packages/swc-sdk/README.md @@ -24,6 +24,18 @@ markAsPure(() => console.log("This will be removed by the SWC minifier")); # @swc/plugin-swc-sdk +## 6.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 6.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 5.0.2 ### Patch Changes diff --git a/packages/swc-sdk/package.json b/packages/swc-sdk/package.json index 768dd838c..c32ff1d72 100644 --- a/packages/swc-sdk/package.json +++ b/packages/swc-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-swc-sdk", - "version": "5.0.2", + "version": "6.0.1", "description": "SWC plugin for swc-sdk", "main": "swc_plugin_swc_sdk.wasm", "scripts": { diff --git a/packages/swc-sdk/transform/Cargo.toml b/packages/swc-sdk/transform/Cargo.toml index 92f9bf3c9..bede18357 100644 --- a/packages/swc-sdk/transform/Cargo.toml +++ b/packages/swc-sdk/transform/Cargo.toml @@ -10,7 +10,7 @@ license = { workspace = true } name = "swc_sdk" repository = { workspace = true } rust-version = { workspace = true } -version = "0.1.2" +version = "0.2.0" [dependencies] diff --git a/packages/transform-imports/CHANGELOG.md b/packages/transform-imports/CHANGELOG.md index 280b6881c..13cb4429d 100644 --- a/packages/transform-imports/CHANGELOG.md +++ b/packages/transform-imports/CHANGELOG.md @@ -1,5 +1,17 @@ # @swc/plugin-transform-imports +## 6.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 6.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 5.0.3 ### Patch Changes diff --git a/packages/transform-imports/README.md b/packages/transform-imports/README.md index 8e53cee26..75a13e7f7 100644 --- a/packages/transform-imports/README.md +++ b/packages/transform-imports/README.md @@ -18,6 +18,18 @@ # @swc/plugin-transform-imports +## 6.0.1 + +### Patch Changes + +- c9e75ce: Bump crate versions + +## 6.0.0 + +### Major Changes + +- 4574a70: Update swc_core to v8.0.1 + ## 5.0.3 ### Patch Changes diff --git a/packages/transform-imports/package.json b/packages/transform-imports/package.json index 3bf6ad767..eb4e7e542 100644 --- a/packages/transform-imports/package.json +++ b/packages/transform-imports/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-transform-imports", - "version": "5.0.3", + "version": "6.0.1", "description": "SWC plugin for https://www.npmjs.com/package/babel-plugin-transform-imports", "main": "swc_plugin_transform_imports.wasm", "scripts": { diff --git a/packages/transform-imports/transform/Cargo.toml b/packages/transform-imports/transform/Cargo.toml index 7f30cc3a4..6dc812541 100644 --- a/packages/transform-imports/transform/Cargo.toml +++ b/packages/transform-imports/transform/Cargo.toml @@ -11,7 +11,7 @@ homepage = { workspace = true } license = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } -version = "0.68.31" +version = "0.69.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/scripts/bump-crates.sh b/scripts/bump-crates.sh new file mode 100755 index 000000000..02a776922 --- /dev/null +++ b/scripts/bump-crates.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eu + +cargo mono bump $@ +git commit -a -m "Bump crates" || true diff --git a/scripts/bump.sh b/scripts/bump.sh index a664a3afa..8425492f2 100755 --- a/scripts/bump.sh +++ b/scripts/bump.sh @@ -11,5 +11,5 @@ done git commit -am "Merge CHANGELOG into README" -cargo mono bump -i +cargo mono bump -i $@ git commit -a -m "Bump crates" || true