From b87b7822d9337260d841087072356a9661890aea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donny/=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Mon, 14 Oct 2024 09:52:27 +0900 Subject: [PATCH] build: Update `swc_core` to `v1.0.0` (#351) --- Cargo.lock | 228 +++++++++--------- Cargo.toml | 52 ++-- packages/emotion/CHANGELOG.md | 6 + packages/emotion/README.md | 6 + packages/emotion/package.json | 2 +- packages/emotion/transform/Cargo.toml | 2 +- packages/jest/CHANGELOG.md | 6 + packages/jest/README.md | 6 + packages/jest/package.json | 2 +- packages/loadable-components/CHANGELOG.md | 6 + packages/loadable-components/README.md | 6 + packages/loadable-components/package.json | 2 +- packages/noop/CHANGELOG.md | 6 + packages/noop/README.md | 6 + packages/noop/package.json | 2 +- packages/prefresh/CHANGELOG.md | 6 + packages/prefresh/README.md | 6 + packages/prefresh/package.json | 2 +- packages/prefresh/transform/Cargo.toml | 2 +- packages/react-remove-properties/CHANGELOG.md | 6 + packages/react-remove-properties/README.md | 6 + packages/react-remove-properties/package.json | 2 +- .../transform/Cargo.toml | 2 +- packages/relay/CHANGELOG.md | 6 + packages/relay/README.md | 6 + packages/relay/package.json | 2 +- packages/relay/transform/Cargo.toml | 2 +- packages/relay/transform/tests/fixture.rs | 27 ++- packages/remove-console/CHANGELOG.md | 6 + packages/remove-console/README.md | 6 + packages/remove-console/package.json | 2 +- packages/remove-console/transform/Cargo.toml | 2 +- packages/styled-components/CHANGELOG.md | 6 + packages/styled-components/README.md | 6 + packages/styled-components/package.json | 2 +- .../styled-components/transform/Cargo.toml | 2 +- .../transform/tests/fixture.rs | 7 +- packages/styled-jsx/CHANGELOG.md | 6 + packages/styled-jsx/README.md | 6 + packages/styled-jsx/package.json | 2 +- packages/styled-jsx/transform/Cargo.toml | 2 +- .../styled-jsx/transform/tests/fixture.rs | 3 + packages/swc-confidential/CHANGELOG.md | 6 + packages/swc-confidential/package.json | 2 +- .../swc-confidential/transform/Cargo.toml | 2 +- packages/swc-magic/CHANGELOG.md | 6 + packages/swc-magic/README.md | 6 + packages/swc-magic/package.json | 2 +- packages/swc-magic/transform/Cargo.toml | 2 +- packages/swc-sdk/CHANGELOG.md | 6 + packages/swc-sdk/README.md | 6 + packages/swc-sdk/package.json | 2 +- packages/transform-imports/CHANGELOG.md | 6 + packages/transform-imports/README.md | 6 + packages/transform-imports/package.json | 2 +- .../transform-imports/transform/Cargo.toml | 2 +- 56 files changed, 355 insertions(+), 172 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 384849acf..47fc26f1e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -151,9 +151,9 @@ checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" [[package]] name = "ast_node" -version = "1.0.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4d23a6d1d5f18bdbc06d9aa908880e5f49205156ba804751af731c51f5cf81a" +checksum = "94741d66bdda032fcbf33e621b4e3a888d7d11bd3ac4446d82c5593a136936ff" dependencies = [ "proc-macro2", "quote", @@ -201,9 +201,9 @@ dependencies = [ [[package]] name = "better_scoped_tls" -version = "0.1.1" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "794edcc9b3fb07bb4aecaa11f093fd45663b4feadb782d68303a2268bc2701de" +checksum = "50fd297a11c709be8348aec039c8b91de16075d2b2bdaee1bd562c0875993664" dependencies = [ "scoped-tls", ] @@ -802,9 +802,9 @@ dependencies = [ [[package]] name = "from_variant" -version = "1.0.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8d8947525c49c73130b5a7187b55b027b6b78fe60268d9f4c283ed690698cb1" +checksum = "8d7ccf961415e7aa17ef93dcb6c2441faaa8e768abe09e659b908089546f74c5" dependencies = [ "proc-macro2", "swc_macros_common", @@ -918,9 +918,9 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "hstr" -version = "0.2.10" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96274be293b8877e61974a607105d09c84caebe9620b47774aa8a6b942042dd4" +checksum = "dae404c0c5d4e95d4858876ab02eecd6a196bb8caa42050dfa809938833fc412" dependencies = [ "hashbrown 0.14.5", "new_debug_unreachable", @@ -1274,7 +1274,7 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "modularize_imports" -version = "0.68.26" +version = "0.68.27" dependencies = [ "convert_case", "handlebars", @@ -1616,9 +1616,9 @@ checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" [[package]] name = "preset_env_base" -version = "0.6.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1aaeaf4147a07c6615d43fce02d8139e1f835e6ee53e69db2a4810823c138c26" +checksum = "7c8a797e42c09d55157424ac6e9b6e9e5843fc68b887691b280b055e8c3ca5e4" dependencies = [ "ahash 0.8.11", "anyhow", @@ -1777,7 +1777,7 @@ dependencies = [ [[package]] name = "react_remove_properties" -version = "0.24.21" +version = "0.24.22" dependencies = [ "serde", "swc_atoms", @@ -1852,7 +1852,7 @@ checksum = "ba39f3699c378cd8970968dcbff9c43159ea4cfbd88d43c00b22f2ef10a435d2" [[package]] name = "remove_console" -version = "0.25.21" +version = "0.25.22" dependencies = [ "serde", "swc_atoms", @@ -1877,9 +1877,9 @@ dependencies = [ [[package]] name = "rkyv" -version = "0.7.44" +version = "0.7.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cba464629b3394fc4dbc6f940ff8f5b4ff5c7aef40f29166fd4ad12acbc99c0" +checksum = "9008cd6385b9e161d8229e1f6549dd23c3d022f132a2ea37ac3a10ac4935779b" dependencies = [ "bitvec", "bytecheck", @@ -1895,9 +1895,9 @@ dependencies = [ [[package]] name = "rkyv_derive" -version = "0.7.44" +version = "0.7.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7dddfff8de25e6f62b9d64e6e432bf1c6736c57d20323e15ee10435fbda7c65" +checksum = "503d1d27590a2b0a3a4ca4c94755aa2875657196ecbf401a42eff41d7de532c0" dependencies = [ "proc-macro2", "quote", @@ -2200,9 +2200,9 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "string_enum" -version = "0.4.4" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05e383308aebc257e7d7920224fa055c632478d92744eca77f99be8fa1545b90" +checksum = "c9fe66b8ee349846ce2f9557a26b8f1e74843c4a13fb381f9a3d73617a5f956a" dependencies = [ "proc-macro2", "quote", @@ -2218,7 +2218,7 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "styled_components" -version = "0.96.24" +version = "0.96.25" dependencies = [ "Inflector", "once_cell", @@ -2239,7 +2239,7 @@ dependencies = [ [[package]] name = "styled_jsx" -version = "0.73.35" +version = "0.73.36" dependencies = [ "anyhow", "lightningcss", @@ -2268,9 +2268,9 @@ dependencies = [ [[package]] name = "swc_allocator" -version = "0.1.8" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adc8bd3075d1c6964010333fae9ddcd91ad422a4f8eb8b3206a9b2b6afb4209e" +checksum = "52cacc28f0ada8e4e31a720dd849ff06864b10e6ab0a1aaa99c06456cfe046af" dependencies = [ "bumpalo", "hashbrown 0.14.5", @@ -2281,9 +2281,9 @@ dependencies = [ [[package]] name = "swc_atoms" -version = "1.0.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0963b5f4cb08353dd4a386c7b5ee1c99d5a097722cdbc6a522efb2aeb91aad71" +checksum = "5d7211e5c57ea972f32b8a104d7006c4a68d094ec30c6a73bcd20d4d6c473c7c" dependencies = [ "bytecheck", "hstr", @@ -2295,9 +2295,9 @@ dependencies = [ [[package]] name = "swc_cached" -version = "0.3.20" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83406221c501860fce9c27444f44125eafe9e598b8b81be7563d7036784cd05c" +checksum = "96b6a5ef4cfec51d3fa30b73600f206453a37fc30cf1141e4644a57b1ed88616" dependencies = [ "ahash 0.8.11", "anyhow", @@ -2309,9 +2309,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.40.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95fca87acdd34580b59a6f6686dfe72bcc7bad4b7abb7e6728e8e3fd4ecb1d7c" +checksum = "e8505eddfd6488cde74b0e80a4b959b12392a8a15eb62243d45eb82cf568b9b9" dependencies = [ "anyhow", "ast_node", @@ -2341,7 +2341,7 @@ dependencies = [ [[package]] name = "swc_confidential" -version = "0.19.21" +version = "0.19.22" dependencies = [ "cipher 0.4.4", "hex", @@ -2360,9 +2360,9 @@ dependencies = [ [[package]] name = "swc_config" -version = "0.1.15" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4740e53eaf68b101203c1df0937d5161a29f3c13bceed0836ddfe245b72dd000" +checksum = "4aa30931f9b26af8edcb4cce605909d15dcfd7577220b22c50a2988f2a53c4c1" dependencies = [ "anyhow", "indexmap", @@ -2375,9 +2375,9 @@ dependencies = [ [[package]] name = "swc_config_macro" -version = "0.1.4" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c5f56139042c1a95b54f5ca48baa0e0172d369bcc9d3d473dad1de36bae8399" +checksum = "7f2ebd37ef52a8555c8c9be78b694d64adcb5e3bc16c928f030d82f1d65fac57" dependencies = [ "proc-macro2", "quote", @@ -2387,9 +2387,9 @@ dependencies = [ [[package]] name = "swc_core" -version = "0.106.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57e99f5a654203ac30e8b819a7c36a913d7620210ef43d7ca04e1269bbd17781" +checksum = "a322c95f99033d16ebba06999a8ca98ffe74d864ff29a027473c344b5ef3fde8" dependencies = [ "once_cell", "swc_allocator", @@ -2408,9 +2408,9 @@ dependencies = [ [[package]] name = "swc_css_ast" -version = "0.147.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1ae9a520c25198d262a8fed0957321ab3c7e9e5959f75ca16b36fa4d5f355fc" +checksum = "216c379c04fb5740ba824bed01c80f701fc987abe7ebe3c17ca884619adae0be" dependencies = [ "is-macro", "string_enum", @@ -2420,9 +2420,9 @@ dependencies = [ [[package]] name = "swc_css_codegen" -version = "0.158.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "060428f43c8dc70d2cd9db7577fd674690fcd4f5d0421903004b5d6b2a2d223c" +checksum = "bde5ed19d6407091ec839654dd9ef461fe1729e30dadbcbaa2426d85538a894e" dependencies = [ "auto_impl", "bitflags", @@ -2437,9 +2437,9 @@ dependencies = [ [[package]] name = "swc_css_codegen_macros" -version = "0.2.4" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de2ece8c7dbdde85aa1bcc9764c5f41f7450d8bf1312eac2375b8dc0ecbc13d7" +checksum = "50abd25b3b79f18423cdf99b0d11dee24e64496be3b8abe18c10a2c40bd6c91f" dependencies = [ "proc-macro2", "quote", @@ -2449,9 +2449,9 @@ dependencies = [ [[package]] name = "swc_css_compat" -version = "0.34.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8fd47833ce23489bfc01d215556df3636820295c32f91cd11f4d13eae4afb74" +checksum = "299ada95052b2bb4e3260180ae68ac7d996141ffccb867c4606031fe7c55193f" dependencies = [ "bitflags", "once_cell", @@ -2466,9 +2466,9 @@ dependencies = [ [[package]] name = "swc_css_minifier" -version = "0.123.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbcd85b181e2dea8d339dbc89468833d5b44b8b8be70104af1294f692e0e96cf" +checksum = "98ad75e982df2f5c727b4accf0f07be766736e7cc82dec9a573c0d3fd7c4796b" dependencies = [ "serde", "swc_atoms", @@ -2480,9 +2480,9 @@ dependencies = [ [[package]] name = "swc_css_parser" -version = "0.157.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3f8211306cab33a9296d8ab435139be962d5f24ced8cf42d3259203590888f9" +checksum = "622aaac491256c52da8a303e982e0649cf864fc1c8bc1cecc342475826999d25" dependencies = [ "lexical", "serde", @@ -2493,9 +2493,9 @@ dependencies = [ [[package]] name = "swc_css_prefixer" -version = "0.161.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7eec3b6fc9742f21a61a3e628c75b2d2434f5a09500b47d8d75eba51d2d70947" +checksum = "9a1cb45d6aaf248dd74ff773fcf7f8e4c61ddd884e6e9357eb0615188f5d6b3d" dependencies = [ "once_cell", "preset_env_base", @@ -2510,9 +2510,9 @@ dependencies = [ [[package]] name = "swc_css_utils" -version = "0.144.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50872344e03c60694589e83afac62b7f30806b9b2e783595522ff1660aef50d6" +checksum = "812dd6ff3a4311d0bed04a35cbe22806e7f018d2e4a83b8a40790b513c38ca14" dependencies = [ "once_cell", "serde", @@ -2525,9 +2525,9 @@ dependencies = [ [[package]] name = "swc_css_visit" -version = "0.146.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dfd7289d66619bee7a26159ed22359c1d49ea2649cc7bb0aba654863383ae34" +checksum = "c93e801cb6ac36d9466de3411633140b279600fb9dc5c3e3e8b0c53d885e6582" dependencies = [ "serde", "swc_atoms", @@ -2538,9 +2538,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.121.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1628b2c0c6349c1960b007fda04e0c1537480e0d0b1405305ef5846b752aa7a8" +checksum = "6795be2785b968ccff06096bc758b306459f05fc936e6363b4dd39fb27fba22a" dependencies = [ "bitflags", "bytecheck", @@ -2558,9 +2558,9 @@ dependencies = [ [[package]] name = "swc_ecma_codegen" -version = "0.158.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25aef555943803034f0e0fd98ddfe72f1c3454f2c68a897075eb29bc63d4e930" +checksum = "7ae4fee003ef373adef1ff2af1e73607925f510a8105a5e368c1aa655ece9a41" dependencies = [ "memchr", "num-bigint", @@ -2578,9 +2578,9 @@ dependencies = [ [[package]] name = "swc_ecma_codegen_macros" -version = "0.7.7" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "859fabde36db38634f3fad548dd5e3410c1aebba1b67a3c63e67018fa57a0bca" +checksum = "5f9a42f479a6475647e248fa9750982c87cd985e19d1016a1fc18a70682305d1" dependencies = [ "proc-macro2", "quote", @@ -2590,9 +2590,9 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "0.208.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c65d350bcb52551bd71df44084ab69a21fa2cf41216c7677d16d75e490d9ef51" +checksum = "638fbd0db2fe9127bf91e6f57d3489c5fb8e5060ce2c4ec542d68142ef354796" dependencies = [ "arrayvec", "indexmap", @@ -2625,9 +2625,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.152.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ef96894fa0fb3fba233ede22a75a7ddd8b7f0727a40aa8d1028b5dd25013d2e" +checksum = "09b26e37822d421710c4f49eb7f63cc9792a57ad1b6e461d1b3eca84dbe45ae6" dependencies = [ "either", "new_debug_unreachable", @@ -2647,9 +2647,9 @@ dependencies = [ [[package]] name = "swc_ecma_quote_macros" -version = "0.63.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6782774ce045d06682408be632ea2899e807a61fd9a307126d0a2407228de1b" +checksum = "f95d9410749b3abae6d4dafbaad79f446f91c5848b07b7fabd5a55f8aca0babd" dependencies = [ "anyhow", "proc-macro2", @@ -2664,9 +2664,9 @@ dependencies = [ [[package]] name = "swc_ecma_testing" -version = "0.29.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d88a64496b73a0e9c9d8333d14d39904e8d87dbcefe7baaa161803a7f5bae110" +checksum = "f18ed0d82088c142076b952fd4086c52d98cf8d728ba9f216a463dbdbc53ad75" dependencies = [ "anyhow", "hex", @@ -2677,9 +2677,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms" -version = "0.243.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b22f584075dfbd349c107def9c52de654979f0a1e8cdc4255dd4e7ec5b39800" +checksum = "b19ea1b66e4e99ae56d8645b763cc55683201c3b373c36c3c6876d279312ca63" dependencies = [ "swc_atoms", "swc_common", @@ -2691,9 +2691,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "0.149.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2194d20416a03ae02058934f8387691809f86466a2f2e7a65c56dcb001bd46b" +checksum = "7feebd16859fb7c102d9dfdf75dde065825683c38f3ba250729da33dbfc11869" dependencies = [ "better_scoped_tls", "bitflags", @@ -2714,9 +2714,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_macros" -version = "0.5.5" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "500a1dadad1e0e41e417d633b3d6d5de677c9e0d3159b94ba3348436cdb15aab" +checksum = "6845dfb88569f3e8cd05901505916a8ebe98be3922f94769ca49f84e8ccec8f7" dependencies = [ "proc-macro2", "quote", @@ -2726,9 +2726,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_optimization" -version = "0.212.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "454df4c54d0ff859b10e33168c9101f805ca8ee0deb11b71b0380fa6ce844438" +checksum = "04e01c27c2855f23341d26ab9267cb8e1518657b334ed0da2a0ce0864a0d9569" dependencies = [ "dashmap", "indexmap", @@ -2750,9 +2750,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_react" -version = "0.195.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06ddcb8943976319a4f8b899862f094f6984511490e4bfa9b4c8fbd334539b62" +checksum = "240b46d37c929693ecbfecdd8023b3f2b50d52d46b9329df4dad705713c15a36" dependencies = [ "base64 0.21.7", "dashmap", @@ -2775,9 +2775,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_testing" -version = "0.152.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0cd337a171f362abb45841429b75c8fa78750fefa4896c8b1900ba16e4a2e71" +checksum = "9ca6416a26f9be7126de6ef68ecd1d1f59416c60f7d6fa4a8c2f13c8cf4a0bff" dependencies = [ "ansi_term", "anyhow", @@ -2801,9 +2801,9 @@ dependencies = [ [[package]] name = "swc_ecma_usage_analyzer" -version = "0.33.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55a1d8b627b6adc706ccd2a4a30a5413e9df91a9cff6569cb9d3b9f41c1bc8de" +checksum = "b8931e47f1370758e8babde04a137c0652f1096c6707f5051a50341a78ed9f3e" dependencies = [ "indexmap", "rustc-hash", @@ -2818,9 +2818,9 @@ dependencies = [ [[package]] name = "swc_ecma_utils" -version = "0.137.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "939f21c75eff61ad3e485fc54d38988f2f9744ceda24a3feb8228dd072171d94" +checksum = "7cb34d0a24e40cfeedaae2a49bd2ba4d27ad8bfd0cf006d3de292f385a9b9335" dependencies = [ "indexmap", "num_cpus", @@ -2837,9 +2837,9 @@ dependencies = [ [[package]] name = "swc_ecma_visit" -version = "0.107.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15bd17e03251272ee04d1155036be5288055ab43d40ab2d9fd63ff815d326dad" +checksum = "d9cc511aa14bf58a6bc66815e78b76a4fed15f148681856d8d9b0456577050aa" dependencies = [ "new_debug_unreachable", "num-bigint", @@ -2852,7 +2852,7 @@ dependencies = [ [[package]] name = "swc_emotion" -version = "0.72.23" +version = "0.72.24" dependencies = [ "base64 0.22.1", "byteorder", @@ -2879,9 +2879,9 @@ dependencies = [ [[package]] name = "swc_eq_ignore_macros" -version = "0.1.4" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63db0adcff29d220c3d151c5b25c0eabe7e32dd936212b84cdaa1392e3130497" +checksum = "e96e15288bf385ab85eb83cff7f9e2d834348da58d0a31b33bdb572e66ee413e" dependencies = [ "proc-macro2", "quote", @@ -2890,9 +2890,9 @@ dependencies = [ [[package]] name = "swc_error_reporters" -version = "1.0.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83f9286183c9be40aafcbbe8c397403fb32af812a3dffe93eee9067aee4fbedb" +checksum = "fca3b3c6da0e2d659c8a5cc6d0a1c76fe3272ae1d55e93e48c74de655271142b" dependencies = [ "anyhow", "miette", @@ -2903,9 +2903,9 @@ dependencies = [ [[package]] name = "swc_fast_graph" -version = "1.0.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3daff8d4379be2a99ab4b146e4dd631ef2415965dc4f1d33e988a737c5ccc39a" +checksum = "1ca7ec2681ee91fd5a8dc83dd202d71aae2356e3bb12597d329aad1264bb3495" dependencies = [ "indexmap", "petgraph", @@ -2915,9 +2915,9 @@ dependencies = [ [[package]] name = "swc_macros_common" -version = "0.3.13" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f486687bfb7b5c560868f69ed2d458b880cebc9babebcb67e49f31b55c5bf847" +checksum = "a509f56fca05b39ba6c15f3e58636c3924c78347d63853632ed2ffcb6f5a0ac7" dependencies = [ "proc-macro2", "quote", @@ -2926,7 +2926,7 @@ dependencies = [ [[package]] name = "swc_magic" -version = "0.19.21" +version = "0.19.22" dependencies = [ "serde", "swc_atoms", @@ -2942,9 +2942,9 @@ dependencies = [ [[package]] name = "swc_plugin" -version = "0.90.2" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9dd2ab83a683ee8cdd8be4ce3f363d760a9977d4539aeaee5dbed179ec49fcc7" +checksum = "6b45099a38ed45528bef939d0eac1a0c1347749d0c67d3dd744d545316c5fd05" dependencies = [ "once_cell", ] @@ -3002,9 +3002,9 @@ dependencies = [ [[package]] name = "swc_plugin_macro" -version = "0.9.16" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3232db481484070637b20a155c064096c0ea1ba04fa2247b89b618661b3574f4" +checksum = "0917ccfdcd3fa6cf41bdacef2388702a3b274f9ea708d930e1e8db37c7c3e1c6" dependencies = [ "proc-macro2", "quote", @@ -3036,9 +3036,9 @@ dependencies = [ [[package]] name = "swc_plugin_proxy" -version = "0.50.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7d1ff72008f9a4dd53b5b79f64057a59bedb3245ae17165fa8aece8b2da4782" +checksum = "d2b12f6e1064370116757b9aebc33ab82c123eabc635d00b38770a1f2dbebdc8" dependencies = [ "better_scoped_tls", "rkyv", @@ -3179,7 +3179,7 @@ dependencies = [ [[package]] name = "swc_prefresh" -version = "0.1.7" +version = "0.1.8" dependencies = [ "serde", "swc_atoms", @@ -3195,7 +3195,7 @@ dependencies = [ [[package]] name = "swc_relay" -version = "0.44.26" +version = "0.44.27" dependencies = [ "once_cell", "regex", @@ -3230,18 +3230,18 @@ dependencies = [ [[package]] name = "swc_timer" -version = "0.27.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f53899e4ab3f9ce3db83b4c845f8a27f37bf700b233febbc9a6da749651c2fbb" +checksum = "4db06b46cc832f7cf83c2ce21905fc465d01443a2bdccf63644383e1f5847532" dependencies = [ "tracing", ] [[package]] name = "swc_trace_macro" -version = "1.0.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69aa25f667e4d74ab10a17a266edeb8b354273817b20b91e60471f1c860a221b" +checksum = "4c78717a841565df57f811376a3d19c9156091c55175e12d378f3a522de70cef" dependencies = [ "proc-macro2", "quote", @@ -3250,9 +3250,9 @@ dependencies = [ [[package]] name = "swc_visit" -version = "0.6.2" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ceb044142ba2719ef9eb3b6b454fce61ab849eb696c34d190f04651955c613d" +checksum = "b40b33e89a4fe7b07b39665f81203a83ffecb3a930522b6ad075716ee6dad637" dependencies = [ "either", "new_debug_unreachable", @@ -3309,9 +3309,9 @@ dependencies = [ [[package]] name = "testing" -version = "0.42.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb07036f78601d34da9ba6855e8694ee5f420b915b59c2e44283be0606ae304f" +checksum = "544770604eb95960ad9a00996b95a902d975ee502cf7f93c231112cfb598d035" dependencies = [ "ansi_term", "cargo_metadata", @@ -3330,9 +3330,9 @@ dependencies = [ [[package]] name = "testing_macros" -version = "0.2.14" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a39660370116afe46d5ff8bcb01b7afe2140dda3137ef5cb1914681e37a4ee06" +checksum = "a2d27bf245b90a80d5aa231133418ae7db98f032855ce5292e12071ab29c4b26" dependencies = [ "anyhow", "glob", diff --git a/Cargo.toml b/Cargo.toml index e9a1a6cb1..35631e12f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,37 +31,37 @@ magic-crypt = "3.1.13" once_cell = "1.19.0" parcel_selectors = "0.27.0" phf = "0.11.2" -preset_env_base = "0.6.0" +preset_env_base = "1.0.0" radix_fmt = "1" regex = { version = "1.10.4", default-features = false } serde = "1.0.203" serde_json = "1.0.117" sourcemap = "9.0.0" -swc_atoms = "1.0.0" -swc_cached = "0.3.20" -swc_common = "0.40.0" -swc_core = "0.106.0" -swc_css_ast = "0.147.0" -swc_css_codegen = "0.158.0" -swc_css_compat = "0.34.0" -swc_css_minifier = "0.123.0" -swc_css_parser = "0.157.0" -swc_css_prefixer = "0.161.0" -swc_css_visit = "0.146.0" -swc_ecma_ast = "0.121.0" -swc_ecma_codegen = "0.158.0" -swc_ecma_minifier = "0.208.0" -swc_ecma_parser = "0.152.0" -swc_ecma_transforms = "0.243.0" -swc_ecma_transforms_base = "0.149.0" -swc_ecma_transforms_react = "0.195.0" -swc_ecma_transforms_testing = "0.152.0" -swc_ecma_utils = "0.137.0" -swc_ecma_visit = "0.107.0" -swc_plugin_macro = "0.9.16" -swc_plugin_proxy = "0.50.0" -swc_trace_macro = "1.0.0" -testing = "0.42.0" +swc_atoms = "2.0.0" +swc_cached = "1.0.0" +swc_common = "1.0.0" +swc_core = "1.0.0" +swc_css_ast = "1.0.0" +swc_css_codegen = "1.0.0" +swc_css_compat = "1.0.0" +swc_css_minifier = "1.0.0" +swc_css_parser = "1.0.0" +swc_css_prefixer = "1.0.0" +swc_css_visit = "1.0.0" +swc_ecma_ast = "1.0.0" +swc_ecma_codegen = "1.0.0" +swc_ecma_minifier = "1.0.0" +swc_ecma_parser = "1.0.0" +swc_ecma_transforms = "1.0.0" +swc_ecma_transforms_base = "1.0.0" +swc_ecma_transforms_react = "1.0.0" +swc_ecma_transforms_testing = "1.0.0" +swc_ecma_utils = "1.0.0" +swc_ecma_visit = "1.0.0" +swc_plugin_macro = "1.0.0" +swc_plugin_proxy = "1.0.0" +swc_trace_macro = "2.0.0" +testing = "1.0.0" tracing = "0.1.40" diff --git a/packages/emotion/CHANGELOG.md b/packages/emotion/CHANGELOG.md index 872cbf56f..6f1123b9b 100644 --- a/packages/emotion/CHANGELOG.md +++ b/packages/emotion/CHANGELOG.md @@ -1,5 +1,11 @@ # @swc/plugin-emotion +## 4.0.3 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 4.0.2 ### Patch Changes diff --git a/packages/emotion/README.md b/packages/emotion/README.md index 9c163b2f9..8eeaeaf17 100644 --- a/packages/emotion/README.md +++ b/packages/emotion/README.md @@ -34,6 +34,12 @@ Source code for plugin itself (not transforms) are copied from https://github.co # @swc/plugin-emotion +## 4.0.3 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 4.0.2 ### Patch Changes diff --git a/packages/emotion/package.json b/packages/emotion/package.json index e9cebb953..557d10fba 100644 --- a/packages/emotion/package.json +++ b/packages/emotion/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-emotion", - "version": "4.0.2", + "version": "4.0.3", "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 6435d4448..a62d93a6b 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.23" +version = "0.72.24" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/packages/jest/CHANGELOG.md b/packages/jest/CHANGELOG.md index 2a6116f9a..65eaab2a6 100644 --- a/packages/jest/CHANGELOG.md +++ b/packages/jest/CHANGELOG.md @@ -1,5 +1,11 @@ # @swc/plugin-jest +## 3.0.3 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 3.0.2 ### Patch Changes diff --git a/packages/jest/README.md b/packages/jest/README.md index d90bb30fd..68507089e 100644 --- a/packages/jest/README.md +++ b/packages/jest/README.md @@ -2,6 +2,12 @@ # @swc/plugin-jest +## 3.0.3 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 3.0.2 ### Patch Changes diff --git a/packages/jest/package.json b/packages/jest/package.json index dd5780fcd..7e9a6237f 100644 --- a/packages/jest/package.json +++ b/packages/jest/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-jest", - "version": "3.0.2", + "version": "3.0.3", "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 a741e93b7..affa83042 100644 --- a/packages/loadable-components/CHANGELOG.md +++ b/packages/loadable-components/CHANGELOG.md @@ -1,5 +1,11 @@ # @swc/plugin-loadable-components +## 2.0.3 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 2.0.2 ### Patch Changes diff --git a/packages/loadable-components/README.md b/packages/loadable-components/README.md index 73bac3e61..60f132080 100644 --- a/packages/loadable-components/README.md +++ b/packages/loadable-components/README.md @@ -23,6 +23,12 @@ By default `loadable-components` are configured to transform dynamic imports use # @swc/plugin-loadable-components +## 2.0.3 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 2.0.2 ### Patch Changes diff --git a/packages/loadable-components/package.json b/packages/loadable-components/package.json index 4d3170096..70556ee68 100644 --- a/packages/loadable-components/package.json +++ b/packages/loadable-components/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-loadable-components", - "version": "2.0.2", + "version": "2.0.3", "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 d69a1ebdc..db9e9a840 100644 --- a/packages/noop/CHANGELOG.md +++ b/packages/noop/CHANGELOG.md @@ -1,5 +1,11 @@ # @swc/plugin-noop +## 3.0.3 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 3.0.2 ### Patch Changes diff --git a/packages/noop/README.md b/packages/noop/README.md index 43841f562..5476d33f2 100644 --- a/packages/noop/README.md +++ b/packages/noop/README.md @@ -2,6 +2,12 @@ # @swc/plugin-noop +## 3.0.3 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 3.0.2 ### Patch Changes diff --git a/packages/noop/package.json b/packages/noop/package.json index cc3d16215..0cfe01269 100644 --- a/packages/noop/package.json +++ b/packages/noop/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-noop", - "version": "3.0.2", + "version": "3.0.3", "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 fb944b4db..c80f0f960 100644 --- a/packages/prefresh/CHANGELOG.md +++ b/packages/prefresh/CHANGELOG.md @@ -1,5 +1,11 @@ # @swc/plugin-prefresh +## 3.0.3 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 3.0.2 ### Patch Changes diff --git a/packages/prefresh/README.md b/packages/prefresh/README.md index 4f556f2be..2427b804b 100644 --- a/packages/prefresh/README.md +++ b/packages/prefresh/README.md @@ -40,6 +40,12 @@ And SWC has built-in React Refresh transformation, therefore, this plugin only i # @swc/plugin-prefresh +## 3.0.3 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 3.0.2 ### Patch Changes diff --git a/packages/prefresh/package.json b/packages/prefresh/package.json index cc76ea9b1..b8b29ed54 100644 --- a/packages/prefresh/package.json +++ b/packages/prefresh/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-prefresh", - "version": "3.0.2", + "version": "3.0.3", "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 e3ceeacdb..7e3059176 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.7" +version = "0.1.8" [dependencies] serde = { workspace = true, features = ["derive"] } diff --git a/packages/react-remove-properties/CHANGELOG.md b/packages/react-remove-properties/CHANGELOG.md index 82c424b72..981872be0 100644 --- a/packages/react-remove-properties/CHANGELOG.md +++ b/packages/react-remove-properties/CHANGELOG.md @@ -1,5 +1,11 @@ # @swc/plugin-react-remove-properties +## 3.0.3 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 3.0.2 ### Patch Changes diff --git a/packages/react-remove-properties/README.md b/packages/react-remove-properties/README.md index deb37958e..45e12f4f3 100644 --- a/packages/react-remove-properties/README.md +++ b/packages/react-remove-properties/README.md @@ -23,6 +23,12 @@ or # @swc/plugin-react-remove-properties +## 3.0.3 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 3.0.2 ### Patch Changes diff --git a/packages/react-remove-properties/package.json b/packages/react-remove-properties/package.json index 90d3b830b..5e2462939 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": "3.0.2", + "version": "3.0.3", "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 28665f925..fbeb1f799 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.21" +version = "0.24.22" # 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 2739847ed..5bf547a51 100644 --- a/packages/relay/CHANGELOG.md +++ b/packages/relay/CHANGELOG.md @@ -1,5 +1,11 @@ # @swc/plugin-relay +## 3.0.3 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 3.0.2 ### Patch Changes diff --git a/packages/relay/README.md b/packages/relay/README.md index 5179c28b6..6200e2f6b 100644 --- a/packages/relay/README.md +++ b/packages/relay/README.md @@ -104,6 +104,12 @@ In this example typescript graphql files will output transpiled import path of ` # @swc/plugin-relay +## 3.0.3 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 3.0.2 ### Patch Changes diff --git a/packages/relay/package.json b/packages/relay/package.json index 461f2f93e..b26363c8d 100644 --- a/packages/relay/package.json +++ b/packages/relay/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-relay", - "version": "3.0.2", + "version": "3.0.3", "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 779b4405a..c351f98ca 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.26" +version = "0.44.27" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/packages/relay/transform/tests/fixture.rs b/packages/relay/transform/tests/fixture.rs index 354b7fcb6..459ce0447 100644 --- a/packages/relay/transform/tests/fixture.rs +++ b/packages/relay/transform/tests/fixture.rs @@ -1,7 +1,7 @@ use std::path::{Path, PathBuf}; use swc_common::FileName; -use swc_ecma_transforms_testing::test_fixture; +use swc_ecma_transforms_testing::{test_fixture, FixtureTestConfig}; use swc_relay::{relay, Config, OutputFileExtension, ProjectConfig, RelayLanguageConfig}; #[testing::fixture("tests/fixture/simple/**/input.js")] @@ -28,7 +28,10 @@ fn fixture(input: PathBuf) { }, &input, &output, - Default::default(), + FixtureTestConfig { + module: Some(true), + ..Default::default() + }, ); } @@ -56,7 +59,10 @@ fn fixture_es_modules(input: PathBuf) { }, &input, &output, - Default::default(), + FixtureTestConfig { + module: Some(true), + ..Default::default() + }, ); } @@ -84,7 +90,10 @@ fn fixture_output_file_extension_javascript(input: PathBuf) { }, &input, &output, - Default::default(), + FixtureTestConfig { + module: Some(true), + ..Default::default() + }, ); } @@ -112,7 +121,10 @@ fn fixture_output_file_extension_typescript(input: PathBuf) { }, &input, &output, - Default::default(), + FixtureTestConfig { + module: Some(true), + ..Default::default() + }, ); } @@ -160,6 +172,9 @@ fn fixture_multi_projects(input: PathBuf) { }, &input, &output, - Default::default(), + FixtureTestConfig { + module: Some(true), + ..Default::default() + }, ); } diff --git a/packages/remove-console/CHANGELOG.md b/packages/remove-console/CHANGELOG.md index f2f9149d9..044e3f075 100644 --- a/packages/remove-console/CHANGELOG.md +++ b/packages/remove-console/CHANGELOG.md @@ -1,5 +1,11 @@ # @swc/plugin-remove-console +## 3.0.3 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 3.0.2 ### Patch Changes diff --git a/packages/remove-console/README.md b/packages/remove-console/README.md index 1ef29c93c..01b2fb7b8 100644 --- a/packages/remove-console/README.md +++ b/packages/remove-console/README.md @@ -21,6 +21,12 @@ or # @swc/plugin-remove-console +## 3.0.3 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 3.0.2 ### Patch Changes diff --git a/packages/remove-console/package.json b/packages/remove-console/package.json index f2bf727df..5240d8bb8 100644 --- a/packages/remove-console/package.json +++ b/packages/remove-console/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-remove-console", - "version": "3.0.2", + "version": "3.0.3", "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 0e0f26ac9..fb207348a 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.21" +version = "0.25.22" # 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 5e1fde035..0c4989602 100644 --- a/packages/styled-components/CHANGELOG.md +++ b/packages/styled-components/CHANGELOG.md @@ -1,5 +1,11 @@ # @swc/plugin-styled-components +## 3.0.3 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 3.0.2 ### Patch Changes diff --git a/packages/styled-components/README.md b/packages/styled-components/README.md index 8c7485025..2c6b2a054 100644 --- a/packages/styled-components/README.md +++ b/packages/styled-components/README.md @@ -28,6 +28,12 @@ Then update your `.swcrc` file like below: # @swc/plugin-styled-components +## 3.0.3 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 3.0.2 ### Patch Changes diff --git a/packages/styled-components/package.json b/packages/styled-components/package.json index 45b46c104..0b0eca74c 100644 --- a/packages/styled-components/package.json +++ b/packages/styled-components/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-styled-components", - "version": "3.0.2", + "version": "3.0.3", "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 1d821d153..01b012fa0 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.24" +version = "0.96.25" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/packages/styled-components/transform/tests/fixture.rs b/packages/styled-components/transform/tests/fixture.rs index 30f55a3cb..267f6526f 100644 --- a/packages/styled-components/transform/tests/fixture.rs +++ b/packages/styled-components/transform/tests/fixture.rs @@ -6,7 +6,7 @@ use styled_components::{styled_components, Config}; use swc_common::{chain, Mark}; use swc_ecma_parser::{EsSyntax, Syntax}; use swc_ecma_transforms::resolver; -use swc_ecma_transforms_testing::test_fixture; +use swc_ecma_transforms_testing::{test_fixture, FixtureTestConfig}; #[testing::fixture("tests/fixtures/**/code.js")] fn fixture(input: PathBuf) { @@ -36,6 +36,9 @@ fn fixture(input: PathBuf) { }, &input, &dir.join("output.js"), - Default::default(), + FixtureTestConfig { + module: Some(true), + ..Default::default() + }, ) } diff --git a/packages/styled-jsx/CHANGELOG.md b/packages/styled-jsx/CHANGELOG.md index 5fcefd840..aa1ee9ac3 100644 --- a/packages/styled-jsx/CHANGELOG.md +++ b/packages/styled-jsx/CHANGELOG.md @@ -1,5 +1,11 @@ # @swc/plugin-styled-jsx +## 3.0.5 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 3.0.4 ### Patch Changes diff --git a/packages/styled-jsx/README.md b/packages/styled-jsx/README.md index 9650617d6..2b6097f72 100644 --- a/packages/styled-jsx/README.md +++ b/packages/styled-jsx/README.md @@ -2,6 +2,12 @@ # @swc/plugin-styled-jsx +## 3.0.5 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 3.0.4 ### Patch Changes diff --git a/packages/styled-jsx/package.json b/packages/styled-jsx/package.json index 701c623ca..dd91dfa96 100644 --- a/packages/styled-jsx/package.json +++ b/packages/styled-jsx/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-styled-jsx", - "version": "3.0.4", + "version": "3.0.5", "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 455c54a24..460373857 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.35" +version = "0.73.36" [features] diff --git a/packages/styled-jsx/transform/tests/fixture.rs b/packages/styled-jsx/transform/tests/fixture.rs index 76920c14f..e7a95a0b9 100644 --- a/packages/styled-jsx/transform/tests/fixture.rs +++ b/packages/styled-jsx/transform/tests/fixture.rs @@ -89,6 +89,7 @@ fn run(input: PathBuf, use_lightningcss: bool) { &output, FixtureTestConfig { allow_error: true, + module: Some(true), ..Default::default() }, ); @@ -137,6 +138,7 @@ fn styled_jsx_errors(input: PathBuf) { &output, FixtureTestConfig { allow_error: true, + module: Some(true), ..Default::default() }, ); @@ -162,6 +164,7 @@ fn styled_jsx_errors(input: PathBuf) { &output, FixtureTestConfig { allow_error: true, + module: Some(true), ..Default::default() }, ); diff --git a/packages/swc-confidential/CHANGELOG.md b/packages/swc-confidential/CHANGELOG.md index 29f210167..9edbbfd4c 100644 --- a/packages/swc-confidential/CHANGELOG.md +++ b/packages/swc-confidential/CHANGELOG.md @@ -1,5 +1,11 @@ # @swc/plugin-swc-confidential +## 2.0.3 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 2.0.2 ### Patch Changes diff --git a/packages/swc-confidential/package.json b/packages/swc-confidential/package.json index f0d81e1bd..309137bc4 100644 --- a/packages/swc-confidential/package.json +++ b/packages/swc-confidential/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-swc-confidential", - "version": "2.0.2", + "version": "2.0.3", "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 840c7fcb6..45f0cd94e 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.21" +version = "0.19.22" [dependencies] diff --git a/packages/swc-magic/CHANGELOG.md b/packages/swc-magic/CHANGELOG.md index 89975c18b..f00979e86 100644 --- a/packages/swc-magic/CHANGELOG.md +++ b/packages/swc-magic/CHANGELOG.md @@ -1,5 +1,11 @@ # @swc/plugin-swc-magic +## 3.0.3 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 3.0.2 ### Patch Changes diff --git a/packages/swc-magic/README.md b/packages/swc-magic/README.md index 79fce487d..edd984ea5 100644 --- a/packages/swc-magic/README.md +++ b/packages/swc-magic/README.md @@ -24,6 +24,12 @@ markAsPure(() => console.log("This will be removed by the SWC minifier")); # @swc/plugin-swc-magic +## 3.0.3 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 3.0.2 ### Patch Changes diff --git a/packages/swc-magic/package.json b/packages/swc-magic/package.json index d4de444f4..c13e2cdf8 100644 --- a/packages/swc-magic/package.json +++ b/packages/swc-magic/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-swc-magic", - "version": "3.0.2", + "version": "3.0.3", "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 a9bc6171f..2e59f0542 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.21" +version = "0.19.22" [dependencies] diff --git a/packages/swc-sdk/CHANGELOG.md b/packages/swc-sdk/CHANGELOG.md index 0ec310d1f..e2b1e8e09 100644 --- a/packages/swc-sdk/CHANGELOG.md +++ b/packages/swc-sdk/CHANGELOG.md @@ -1,5 +1,11 @@ # @swc/plugin-swc-sdk +## 3.0.3 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 3.0.2 ### Patch Changes diff --git a/packages/swc-sdk/README.md b/packages/swc-sdk/README.md index dc6a7cd35..3fb85cd7e 100644 --- a/packages/swc-sdk/README.md +++ b/packages/swc-sdk/README.md @@ -24,6 +24,12 @@ markAsPure(() => console.log("This will be removed by the SWC minifier")); # @swc/plugin-swc-sdk +## 3.0.3 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 3.0.2 ### Patch Changes diff --git a/packages/swc-sdk/package.json b/packages/swc-sdk/package.json index 20decdb87..664fe2fbf 100644 --- a/packages/swc-sdk/package.json +++ b/packages/swc-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-swc-sdk", - "version": "3.0.2", + "version": "3.0.3", "description": "SWC plugin for swc-sdk", "main": "swc_plugin_swc_sdk.wasm", "scripts": { diff --git a/packages/transform-imports/CHANGELOG.md b/packages/transform-imports/CHANGELOG.md index 67d827fab..f4138d630 100644 --- a/packages/transform-imports/CHANGELOG.md +++ b/packages/transform-imports/CHANGELOG.md @@ -1,5 +1,11 @@ # @swc/plugin-transform-imports +## 3.0.4 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 3.0.3 ### Patch Changes diff --git a/packages/transform-imports/README.md b/packages/transform-imports/README.md index 837b48ac3..0472072b4 100644 --- a/packages/transform-imports/README.md +++ b/packages/transform-imports/README.md @@ -18,6 +18,12 @@ # @swc/plugin-transform-imports +## 3.0.4 + +### Patch Changes + +- cd5ad2a: Update swc_core to 1.0 + ## 3.0.3 ### Patch Changes diff --git a/packages/transform-imports/package.json b/packages/transform-imports/package.json index 17286f0a5..a25d83ee1 100644 --- a/packages/transform-imports/package.json +++ b/packages/transform-imports/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-transform-imports", - "version": "3.0.3", + "version": "3.0.4", "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 18bfcd9ff..0b511f457 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.26" +version = "0.68.27" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html