diff --git a/Cargo.lock b/Cargo.lock index e16d7a91c862ad..e28b13bf726964 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -231,9 +231,9 @@ dependencies = [ [[package]] name = "ast_node" -version = "0.9.7" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e521452c6bce47ee5a5461c5e5d707212907826de14124962c58fcaf463115e" +checksum = "2ab31376d309dd3bfc9cfb3c11c93ce0e0741bbe0354b20e7f8c60b044730b79" dependencies = [ "proc-macro2", "quote", @@ -321,7 +321,7 @@ dependencies = [ [[package]] name = "auto-hash-map" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "serde", "smallvec", @@ -417,6 +417,12 @@ version = "0.21.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ba43ea6f343b788c8764558649e08df62f86c6ef251fdaeb1ffd010a9ae50a2" +[[package]] +name = "base64" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" + [[package]] name = "base64-simd" version = "0.7.0" @@ -446,9 +452,9 @@ dependencies = [ [[package]] name = "binding_macros" -version = "0.64.23" +version = "0.66.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61a30675e0f0406190035d0acdf826e65eb8b91e3d27464d83ede9570ee4ea33" +checksum = "ee3f426fc63b42e1c6e6e0974d3fa3fe08513c5b441d80fd24d0c0a54b661dfa" dependencies = [ "anyhow", "console_error_panic_hook", @@ -633,7 +639,7 @@ version = "8.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "031718ddb8f78aa5def78a09e90defe30151d1f6c672f937af4dd916429ed996" dependencies = [ - "semver 1.0.18", + "semver 1.0.23", "serde", "toml 0.5.11", "url", @@ -656,7 +662,7 @@ checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", - "semver 1.0.18", + "semver 1.0.23", "serde", "serde_json", "thiserror", @@ -861,12 +867,6 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13418e745008f7349ec7e449155f419a61b92b58a99cc3616942b926825ec76b" -[[package]] -name = "convert_case" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb4a24b1aaf0fd0ce8b45161144d6f42cd91677fd5940fd431183eb023b3a2b8" - [[package]] name = "convert_case" version = "0.6.0" @@ -1144,7 +1144,7 @@ dependencies = [ "cssparser-macros", "dtoa-short", "itoa", - "phf 0.11.2", + "phf 0.10.1", "serde", "smallvec", ] @@ -1624,9 +1624,9 @@ dependencies = [ [[package]] name = "from_variant" -version = "0.1.7" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a0b11eeb173ce52f84ebd943d42e58813a2ebb78a6a3ff0a243b71c5199cd7b" +checksum = "fdc9cc75639b041067353b9bce2450d6847e547276c6fbe4487d7407980e07db" dependencies = [ "proc-macro2", "swc_macros_common", @@ -1877,9 +1877,9 @@ checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7" [[package]] name = "handlebars" -version = "4.3.6" +version = "5.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "035ef95d03713f2c347a72547b7cd38cbc9af7cd51e6099fb62d586d4a6dee3a" +checksum = "d08485b96a0e6393e9e4d1b8d48cf74ad6c063cd905eb33f42c1ce3f0377539b" dependencies = [ "log", "pest", @@ -2560,9 +2560,9 @@ dependencies = [ [[package]] name = "lightningcss" -version = "1.0.0-alpha.54" +version = "1.0.0-alpha.55" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07d306844e5af1753490c420c0d6ae3d814b00725092d106332762827ca8f0fe" +checksum = "3bd5bed3814fb631bfc1e24c2be6f7e86a9837c660909acab79a38374dcb8798" dependencies = [ "ahash 0.8.9", "bitflags 2.5.0", @@ -2678,9 +2678,9 @@ dependencies = [ [[package]] name = "markdown" -version = "1.0.0-alpha.16" +version = "1.0.0-alpha.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b0f0025e8c0d89b84d6dc63e859475e40e8e82ab1a08be0a93ad5731513a508" +checksum = "21e27d6220ce21f80ce5c4201f23a37c6f1ad037c72c9d1ff215c2919605a5d6" dependencies = [ "unicode-id", ] @@ -2721,9 +2721,9 @@ dependencies = [ [[package]] name = "mdxjs" -version = "0.1.23" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "539f014f8de0298191ec2c05cb91b8bab0530be56b268dffedac7944c9c5f36a" +checksum = "e5860860bfc09972a5d99bfb866dde39485fe397210f8a9ccf68a6c6740d687b" dependencies = [ "markdown", "serde", @@ -2868,11 +2868,11 @@ dependencies = [ [[package]] name = "modularize_imports" -version = "0.68.9" +version = "0.68.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ef94a126a88f5ba86c3b2e366fef393d27992693df15d44ff56de2f4e7d1344" +checksum = "440dfda6d4b4cfa76c0b12b564c9b8d643b5c2bc8a63ed5dfc2a46cf1c68ac61" dependencies = [ - "convert_case 0.5.0", + "convert_case", "handlebars", "once_cell", "regex", @@ -2926,7 +2926,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7622f0dbe0968af2dacdd64870eee6dee94f93c989c841f1ad8f300cf1abd514" dependencies = [ "cfg-if", - "convert_case 0.6.0", + "convert_case", "napi-derive-backend", "proc-macro2", "quote", @@ -2939,12 +2939,12 @@ version = "1.0.60" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6cf2d74ac66fd1cccb646be75fdd1c1dce8acfe20a68f61566a31da0d3eb9786" dependencies = [ - "convert_case 0.6.0", + "convert_case", "once_cell", "proc-macro2", "quote", "regex", - "semver 1.0.18", + "semver 1.0.23", "syn 2.0.58", ] @@ -3106,7 +3106,7 @@ dependencies = [ [[package]] name = "node-file-trace" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "serde", @@ -3576,7 +3576,9 @@ version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259" dependencies = [ + "phf_macros 0.10.0", "phf_shared 0.10.0", + "proc-macro-hack", ] [[package]] @@ -3585,7 +3587,7 @@ version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ade2d8b8f33c7333b51bcf0428d37e217e9f32192ae4772156f65063b8ce03dc" dependencies = [ - "phf_macros", + "phf_macros 0.11.2", "phf_shared 0.11.2", ] @@ -3619,6 +3621,20 @@ dependencies = [ "rand", ] +[[package]] +name = "phf_macros" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58fdf3184dd560f160dd73922bea2d5cd6e8f064bf4b13110abd81b03697b4e0" +dependencies = [ + "phf_generator 0.10.0", + "phf_shared 0.10.0", + "proc-macro-hack", + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "phf_macros" version = "0.11.2" @@ -3743,9 +3759,9 @@ checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" [[package]] name = "preset_env_base" -version = "0.4.12" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "276bbd6eba6fd9963e5304e8fa960b40b68c7c5dd8f689b26e301142499466dd" +checksum = "08ccd15679953ae0d5fa716af78b58c0bfdc69a0534bfe9ea423abd1eaaf527b" dependencies = [ "ahash 0.8.9", "anyhow", @@ -3753,7 +3769,7 @@ dependencies = [ "dashmap", "from_variant", "once_cell", - "semver 1.0.18", + "semver 1.0.23", "serde", "st-map", "tracing", @@ -3813,6 +3829,12 @@ dependencies = [ "version_check", ] +[[package]] +name = "proc-macro-hack" +version = "0.5.20+deprecated" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" + [[package]] name = "proc-macro2" version = "1.0.79" @@ -4016,9 +4038,9 @@ dependencies = [ [[package]] name = "react_remove_properties" -version = "0.24.7" +version = "0.24.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dd07f7e48a14e0864a09c598987223f3ada89cba2054d2ad3c1146301e49bcf" +checksum = "5fb434309dc6f664c8f531b3965dd7f99b7f8a52d4171697bb9de6af83564265" dependencies = [ "serde", "swc_atoms", @@ -4071,14 +4093,14 @@ dependencies = [ [[package]] name = "regex" -version = "1.9.5" +version = "1.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "697061221ea1b4a94a624f67d0ae2bfe4e22b8a17b6a192afb11046542cc8c47" +checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.3.8", - "regex-syntax 0.7.5", + "regex-automata 0.4.6", + "regex-syntax 0.8.3", ] [[package]] @@ -4092,13 +4114,13 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.3.8" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2f401f4955220693b56f8ec66ee9c78abffd8d1c4f23dc41a23839eb88f0795" +checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.7.5", + "regex-syntax 0.8.3", ] [[package]] @@ -4109,9 +4131,9 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.7.5" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" +checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" [[package]] name = "region" @@ -4133,9 +4155,9 @@ checksum = "c707298afce11da2efef2f600116fa93ffa7a032b5d7b628aa17711ec81383ca" [[package]] name = "remove_console" -version = "0.25.7" +version = "0.25.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e1e77c5ede7244b521831458cfb0f8d5285e0d463479af4c306c20d3c44259d" +checksum = "ad1f807e0b5d9565a8558139ad4f1ec9703dd8cfa15607e347f3f66c4b7a0327" dependencies = [ "serde", "swc_atoms", @@ -4305,7 +4327,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver 1.0.18", + "semver 1.0.23", ] [[package]] @@ -4465,9 +4487,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.18" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0293b4b29daaf487284529cc2f5675b8e57c61f70167ba415a463651fd6a918" +checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" dependencies = [ "serde", ] @@ -4488,9 +4510,9 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.197" +version = "1.0.201" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" +checksum = "780f1cebed1629e4753a1a38a3c72d30b97ec044f0aef68cb26650a3c5cf363c" dependencies = [ "serde_derive", ] @@ -4537,9 +4559,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.197" +version = "1.0.201" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" +checksum = "c5e405930b9796f1c00bee880d03fc7e0bb4b9a11afc776885ffe84320da2865" dependencies = [ "proc-macro2", "quote", @@ -4983,9 +5005,9 @@ dependencies = [ [[package]] name = "string_enum" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6960defec35d15d58331ffb8a315d551634f757fe139c7b3d6063cae88ec90f6" +checksum = "05e383308aebc257e7d7920224fa055c632478d92744eca77f99be8fa1545b90" dependencies = [ "proc-macro2", "quote", @@ -5007,9 +5029,9 @@ checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01" [[package]] name = "styled_components" -version = "0.96.8" +version = "0.96.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27f13af1b2e9b55614b681c785ddcf96e059076be58393c1055b795c8283a956" +checksum = "2d7e14a22b6bf299ed8c2072e719c27324be5060a39b2bd70e62ad2a9505fe71" dependencies = [ "Inflector", "once_cell", @@ -5025,9 +5047,9 @@ dependencies = [ [[package]] name = "styled_jsx" -version = "0.73.13" +version = "0.73.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e6eeab19721dd473f4b9c3c17f45aec015bc8bf626ab238ecd781cda90c9ddf" +checksum = "441654f465db08fc2c3c36c598c89e8d27fb445d4c97263fb701b07029e9755b" dependencies = [ "anyhow", "lightningcss", @@ -5087,9 +5109,9 @@ dependencies = [ [[package]] name = "swc" -version = "0.273.26" +version = "0.275.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b71ac791abe45ebdbf3d547595f9dc6406d3a294d23c22c8edd0ad9bb040d0f" +checksum = "2ac38cd938ce20693b58b26a5d1926a46074db09cf90a251d83cf17cdaea6031" dependencies = [ "anyhow", "base64 0.21.4", @@ -5154,9 +5176,9 @@ dependencies = [ [[package]] name = "swc_bundler" -version = "0.225.19" +version = "0.227.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8dda466636577e45b76ff019d040ba5f7973228cb821734460c636350ff4f3ae" +checksum = "d1a212bd08b1121c7204a04407ea055779fc00cf80024fc666dd97b00749cf87" dependencies = [ "anyhow", "crc", @@ -5200,9 +5222,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.33.24" +version = "0.33.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a6a61c748b650cc498748f54b3bf86ba478b5f9f590abcf62bc939e1093ef99" +checksum = "a2f9706038906e66f3919028f9f7a37f3ed552f1b85578e93f4468742e2da438" dependencies = [ "ahash 0.8.9", "anyhow", @@ -5233,9 +5255,9 @@ dependencies = [ [[package]] name = "swc_compiler_base" -version = "0.7.20" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d7a0a78d52886c01786246fad54aa614cc145154d18607ddda72a180d1cb56c" +checksum = "754058388d4f51df61f9aced73dfca96d81fed1c0a46583dc7b3da07688af80d" dependencies = [ "anyhow", "base64 0.21.4", @@ -5258,9 +5280,9 @@ dependencies = [ [[package]] name = "swc_config" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ada712ac5e28a301683c8af957e8a56deca675cbc376473dd207a527b989efb5" +checksum = "7be1a689e146be1eae53139482cb061dcf0fa01dff296bbe7b96fff92d8e2936" dependencies = [ "anyhow", "indexmap 2.2.3", @@ -5273,9 +5295,9 @@ dependencies = [ [[package]] name = "swc_config_macro" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b2574f75082322a27d990116cd2a24de52945fc94172b24ca0b3e9e2a6ceb6b" +checksum = "7c5f56139042c1a95b54f5ca48baa0e0172d369bcc9d3d473dad1de36bae8399" dependencies = [ "proc-macro2", "quote", @@ -5285,9 +5307,9 @@ dependencies = [ [[package]] name = "swc_core" -version = "0.90.33" +version = "0.92.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b671d6b61601035da37d2734797321644821152f87db4502405eed6574de728b" +checksum = "e317f6f8b15019358d1e48631c0e6d098d9a3d00d666ea99650201661abea855" dependencies = [ "binding_macros", "swc", @@ -5327,9 +5349,9 @@ dependencies = [ [[package]] name = "swc_css_ast" -version = "0.140.22" +version = "0.140.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5eeb244560d41d5885c5d86623c0fb25d1e3783edcdf878f2572d1952010955e" +checksum = "be69b267990e9727881125d39b3a2b8204bb2f85b9ece2ad3e212a1fe5c79bea" dependencies = [ "is-macro", "string_enum", @@ -5339,9 +5361,9 @@ dependencies = [ [[package]] name = "swc_css_codegen" -version = "0.151.33" +version = "0.151.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4dc37f8b8ee3cac9b24bb385c63ddd7bda41a641e147fd18e90036604a9acf1" +checksum = "dc65d732bd6fd1757a14dc4636b762d9224fc83f1f978b6a5840b843a3964bde" dependencies = [ "auto_impl", "bitflags 2.5.0", @@ -5356,9 +5378,9 @@ dependencies = [ [[package]] name = "swc_css_codegen_macros" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0db1d634bcd2df2b694e2bf9320b8f808db3451e35d70e36252966b551a11ef4" +checksum = "de2ece8c7dbdde85aa1bcc9764c5f41f7450d8bf1312eac2375b8dc0ecbc13d7" dependencies = [ "proc-macro2", "quote", @@ -5368,9 +5390,9 @@ dependencies = [ [[package]] name = "swc_css_compat" -version = "0.27.34" +version = "0.27.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b65ee8377e112ffe8e1a01147ef5622a51e9c9bf63e85ed21e0a184f91f50f41" +checksum = "c3973cc69eb96e64798f506fe57c5ad1d9a24fd7cf870250144e110d000ce045" dependencies = [ "bitflags 2.5.0", "once_cell", @@ -5385,9 +5407,9 @@ dependencies = [ [[package]] name = "swc_css_minifier" -version = "0.116.33" +version = "0.116.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee993aeb2314bad3b1ac2449f142a230c204443749a96a3c807f34bf8d845ad6" +checksum = "1bee9bb889f46af0e7426ace32cc2150d4e56f1a3376377d9ed51101bea29d35" dependencies = [ "serde", "swc_atoms", @@ -5399,9 +5421,9 @@ dependencies = [ [[package]] name = "swc_css_modules" -version = "0.29.34" +version = "0.29.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "209966e658fb11773a8d14c004554fdc667f6d44128942c47f3d0195cf483613" +checksum = "33a367c7ec6afd24bb3fcc2df95a2adf5d7462367d5b13afd8e43a7beba44358" dependencies = [ "rustc-hash", "serde", @@ -5415,9 +5437,9 @@ dependencies = [ [[package]] name = "swc_css_parser" -version = "0.150.32" +version = "0.150.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf0b402ad8f51d62e8af1d22ea093881147dbc6fd46cba2634df66add05945ec" +checksum = "174995d62f066e4a4091c03ce9d35233cf8a2e23d729c2041cd5c2b3e2af2d1e" dependencies = [ "lexical", "serde", @@ -5428,9 +5450,9 @@ dependencies = [ [[package]] name = "swc_css_prefixer" -version = "0.153.36" +version = "0.153.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f202bf9b7eec1e87c74bf4be8677e1086d8bbf9832f57829f5d106c62a6e715" +checksum = "12416e97bced06666368f3cf7801abacb1a8962c9a4b9b2924faa4f45dc512aa" dependencies = [ "once_cell", "preset_env_base", @@ -5445,9 +5467,9 @@ dependencies = [ [[package]] name = "swc_css_utils" -version = "0.137.22" +version = "0.137.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fb7bc3fd90d4e0ad270b255d20e7172f26c26bd91d8b8c709b54690a2f209a3" +checksum = "a890e543134dc78ac46d0ffce3028d37b639f8854f25aaef67178111459ba021" dependencies = [ "once_cell", "serde", @@ -5460,9 +5482,9 @@ dependencies = [ [[package]] name = "swc_css_visit" -version = "0.139.21" +version = "0.139.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2bc4deb5540e3869f74e09997b2dd9e1d7b3f750ba2c910f88041f8027868c5" +checksum = "d5f0f267339cff49928e87b68ba453e85808eb11d660c720b3eb9c1c8510ad7a" dependencies = [ "serde", "swc_atoms", @@ -5473,9 +5495,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.112.8" +version = "0.113.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1d5c33c22ad50e8e34b3080a6fb133316d2eaa7d00400fc5018151f5ca44c5a" +checksum = "dc1690cc0c9ab60b44ac0225ba1e231ac532f7ba1d754df761c6ee607561afae" dependencies = [ "bitflags 2.5.0", "bytecheck", @@ -5493,9 +5515,9 @@ dependencies = [ [[package]] name = "swc_ecma_codegen" -version = "0.148.16" +version = "0.149.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fb89c03991afedda9dc1ea1bff66dc560a3921a90367927a3831938dc59a0f0" +checksum = "4fef147127a2926ca26171c7afcbf028ff86dc543ced87d316713f25620a15b9" dependencies = [ "memchr", "num-bigint", @@ -5512,9 +5534,9 @@ dependencies = [ [[package]] name = "swc_ecma_codegen_macros" -version = "0.7.5" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17ab87ba81ae05efd394ab4a8cbdba595ac3554a5e393c76699449d47c43582e" +checksum = "090e409af49c8d1a3c13b3aab1ed09dd4eda982207eb3e63c2ad342f072b49c8" dependencies = [ "proc-macro2", "quote", @@ -5524,9 +5546,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_bugfixes" -version = "0.4.18" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f5396aca4707f5bb34bee83160864209a45b7117ea76932daedcb9109541f40" +checksum = "47dad0d8b1c4ca3264a8c5ac59a10127e4f1c3ec5ed271692c8897228f306d05" dependencies = [ "swc_atoms", "swc_common", @@ -5541,9 +5563,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_common" -version = "0.4.13" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b06844b66a86b8f3bad66888500fd8fe1e4ac09612c5ae0946ca3f77b81f6b0" +checksum = "d888bcaea9c3b8178ea4abf65adf64457a95a5dd3a3c109a69e02c3c38878e96" dependencies = [ "swc_common", "swc_ecma_ast", @@ -5554,9 +5576,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2015" -version = "0.4.19" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "260948998b33771db552037ea693a7a3e5c853b62431691272185878edab17f7" +checksum = "248532f9ae603be6bf4763f66f74ad0dfd82d6307be876ccf4c5d081826a1161" dependencies = [ "arrayvec", "indexmap 2.2.3", @@ -5580,9 +5602,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2016" -version = "0.4.16" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c75e868ae64fe2625c8aae1f929bae734500ae336d37731f6d4bdf66b8e3b8d3" +checksum = "8d7222c8114ae47fb2e46a65f426b125edab523192e835aecbe3136541f96500" dependencies = [ "swc_atoms", "swc_common", @@ -5597,9 +5619,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2017" -version = "0.4.17" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a4b59b144c818b639e741b0538fb70cd08500e03b3f399e3aef7b774dac1cf1" +checksum = "8ccdc725616ef5a558fb905b991cf328a3a36a4d1b8423173708a02568077a14" dependencies = [ "serde", "swc_atoms", @@ -5615,9 +5637,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2018" -version = "0.4.17" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cced4ec764d3bda35ef5451a260dc747e5ce1f179372aa09ff77bb57c42cfb0c" +checksum = "4a6c329c3980fb20c6c3f7f2afc94975bfe640d53dbb90b74a4707a514f16882" dependencies = [ "serde", "swc_atoms", @@ -5634,9 +5656,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2019" -version = "0.4.16" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a984708b06d662df1c10c2fc06bf98562c6ea3bb93c0e4d5491ee8e61c08e00" +checksum = "f1934f5021e80f6b76e5e0bd06e331d719eb9541c13cb5c128a2b994931952a4" dependencies = [ "swc_atoms", "swc_common", @@ -5650,9 +5672,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2020" -version = "0.4.17" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d4b23ada85bf580f4e1639e54ab237c566a7c319c6e2d1f8010ae5323d0d1ba" +checksum = "0aeddeba198fef2e0ed2bc4a5a0b412a04063f062dc47f93e191b492fc07db4f" dependencies = [ "serde", "swc_atoms", @@ -5668,9 +5690,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2021" -version = "0.4.16" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab566642dff583a16b7b188cf9effc6ae603ea2172769f7a3e7fc1aaf41b67b3" +checksum = "288ad7b2cc410dc4fb08687915c1f588f6a714d737e0a4d4128657124902bcae" dependencies = [ "swc_atoms", "swc_common", @@ -5684,9 +5706,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2022" -version = "0.4.17" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75a3b535284aa37b89b608544508a12ac9770193eec5b2a3c015e94d32f32cfd" +checksum = "8d4a8a9fde6f96316e8b0792a72baa209277e0ce3050b476ee3ab408ec579a2d" dependencies = [ "swc_atoms", "swc_common", @@ -5703,9 +5725,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es3" -version = "0.4.16" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3678f2454374d8aefe0997fa32089dd2c3f06d20ecaa0d1fa30c0d3e9871c79b" +checksum = "bc88d41bf1d86c163997a48b10ad47a40d2d0c8b9c6ee03ead151d0022975789" dependencies = [ "swc_common", "swc_ecma_ast", @@ -5718,9 +5740,9 @@ dependencies = [ [[package]] name = "swc_ecma_ext_transforms" -version = "0.113.13" +version = "0.114.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71d02e315207f4c6fd0a1a475039b2874392e46a04d1a297c9c66ef0082d9fce" +checksum = "259b7b69630aafde63c6304eeacb93fd54619cbdb199c978549acc76cd512d76" dependencies = [ "phf 0.11.2", "swc_atoms", @@ -5732,9 +5754,9 @@ dependencies = [ [[package]] name = "swc_ecma_lints" -version = "0.92.21" +version = "0.93.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23c5c0dc62f29e6aafa3714b585a67280f2102a6925f1ed280ac1826a352ff26" +checksum = "e66af960e41704f081a2e5dd012c304f9e74bacf8846d70f5c653b32b7f7845a" dependencies = [ "auto_impl", "dashmap", @@ -5752,9 +5774,9 @@ dependencies = [ [[package]] name = "swc_ecma_loader" -version = "0.45.26" +version = "0.45.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46ed3847b7c2a70af9a422b24430f7386d70bf3d0408a54991be383f1c3aa954" +checksum = "92c68f934bd2c51f29c4ad0bcae09924e9dc30d7ce0680367d45b42d40338a67" dependencies = [ "anyhow", "dashmap", @@ -5774,9 +5796,9 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "0.192.23" +version = "0.194.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1feab97d24c9931c5e88dca7730e6a6d4c7689ced9ba05814d9092651b3534db" +checksum = "4dbee669d44953537b6dcaad4a07aa00034fb9eabe4974b5b60acdd1fa9ce209" dependencies = [ "arrayvec", "indexmap 2.2.3", @@ -5808,9 +5830,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.143.15" +version = "0.144.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6a9fcc676d603f70f32797f20c2909c14117b5d510092e049c71c93595764d4" +checksum = "0499e69683ae5d67a20ff0279b94bc90f29df7922a46331b54d5dd367bf89570" dependencies = [ "either", "new_debug_unreachable", @@ -5830,9 +5852,9 @@ dependencies = [ [[package]] name = "swc_ecma_preset_env" -version = "0.206.17" +version = "0.207.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e30d4cf2d63c2094d22a2778537353ea817f91c42c2e3bafc88cbe064b1f681" +checksum = "b5969314bf66a4cca45b0401689dd0c74e568c69243ce46f2342d59219e1283c" dependencies = [ "anyhow", "dashmap", @@ -5840,7 +5862,7 @@ dependencies = [ "once_cell", "preset_env_base", "rustc-hash", - "semver 1.0.18", + "semver 1.0.23", "serde", "serde_json", "st-map", @@ -5855,9 +5877,9 @@ dependencies = [ [[package]] name = "swc_ecma_quote_macros" -version = "0.54.13" +version = "0.55.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49a0e789f5cced50904847f0fefef0f416156c12f0e0cf8b054f6fba6233023a" +checksum = "cfc3a759d2885a78cd2a6ac1c1865eb6be02cafe35fbb6c5abd3720d0fca559a" dependencies = [ "anyhow", "proc-macro2", @@ -5872,9 +5894,9 @@ dependencies = [ [[package]] name = "swc_ecma_testing" -version = "0.22.22" +version = "0.22.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c5704ef494b1805bc4566ff566b964bc1e9d3fb0f0e046ad6392b09a54de844" +checksum = "dbe778ce5eae6a7e620e1f6b5326e78f00203c4548e0c659fd22da8be0538fd1" dependencies = [ "anyhow", "hex", @@ -5885,9 +5907,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms" -version = "0.229.18" +version = "0.230.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8eb90c2d122976f3e32bf41a2bf710f01e51ef34ef50108992b185cc1cc53e28" +checksum = "b37b4301415b83165109b94c99f9ac62b38fd1da625bfc830883d65d29a473f9" dependencies = [ "swc_atoms", "swc_common", @@ -5905,9 +5927,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "0.137.20" +version = "0.138.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b59fad924fb4fbd7a67e3992751a3f8d205f1f548ce73b9e5abdf5bd83af370" +checksum = "eddb95c2bdad1c9c29edf35712e1e0f9b9ddc1cdb5ba2d582fd93468cb075a03" dependencies = [ "better_scoped_tls", "bitflags 2.5.0", @@ -5929,9 +5951,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_classes" -version = "0.126.16" +version = "0.127.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47af84e64f0216f110839f5552a615d07ed74b45757927f29482700966ab4e97" +checksum = "53043d81678f3c693604eeb1d1f0fe6ba10f303104a31b954dbeebed9cadf530" dependencies = [ "swc_atoms", "swc_common", @@ -5943,9 +5965,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_compat" -version = "0.163.19" +version = "0.164.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed183e0eb761a1eddd9ef2232612bcd6790a9fb8b6dd1885b2a9ea0a2f93752c" +checksum = "7d4e2942c5d8b7afdf81b8d1eec2f4a961aa9fc89ab05ebe5cbd0f6066b60afc" dependencies = [ "arrayvec", "indexmap 2.2.3", @@ -5980,9 +6002,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_macros" -version = "0.5.4" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17e309b88f337da54ef7fe4c5b99c2c522927071f797ee6c9fb8b6bf2d100481" +checksum = "500a1dadad1e0e41e417d633b3d6d5de677c9e0d3159b94ba3348436cdb15aab" dependencies = [ "proc-macro2", "quote", @@ -5992,9 +6014,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_module" -version = "0.180.19" +version = "0.181.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "914cbfb4d9e9aa4b0a5a63c01fb4c2edfa8d7486bec0b891a5e15a94615453a2" +checksum = "477b6ac686dc1e4ab1af5cc6e8417facca0d4e71ce27df0e759c94d8c365c8e2" dependencies = [ "Inflector", "anyhow", @@ -6019,9 +6041,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_optimization" -version = "0.198.21" +version = "0.199.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9f79c85fadc9e4d06cafba9b646a559d0c401ca2d2dc0b5ec8600351042c8b7" +checksum = "32ea30b3df748236c619409f222f0ba68ebeebc08dfff109d2195664a15689f9" dependencies = [ "dashmap", "indexmap 2.2.3", @@ -6044,9 +6066,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_proposal" -version = "0.171.23" +version = "0.172.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a00e0cc7d9cfb3935354a43455116636b001d34d103304883b90837cd87f048c" +checksum = "7fbc414d6a9c5479cfb4c6e92fcdac504582bd7bc89a0ed7f8808b72dc8bd1f0" dependencies = [ "either", "rustc-hash", @@ -6064,9 +6086,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_react" -version = "0.183.19" +version = "0.184.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2570aa788b03d38404558d4822c7b88a35a930a47cf2417cc7732a032015e43d" +checksum = "565a76c4ca47ce31d78301c0beab878e4c2cb4f624691254d834ec8c0e236755" dependencies = [ "base64 0.21.4", "dashmap", @@ -6089,9 +6111,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_testing" -version = "0.140.18" +version = "0.141.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c0ea6f85b7bf04391a172d7a369e49865effa77ec3a6cd0e969a274cfcb982d" +checksum = "686445efd086ca6dd52874b4d1935663914e2fb76514c0ad7b0105cec7859451" dependencies = [ "ansi_term", "anyhow", @@ -6115,9 +6137,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_typescript" -version = "0.188.19" +version = "0.189.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af4aa805d31f534cf230ea43282c1d58e580da2c470e3a95cb9f06f5039e5377" +checksum = "e209026c1d3c577cafac257d87e7c0d23119282fbdc8ed03d7f56077e95beb90" dependencies = [ "ryu-js", "serde", @@ -6132,9 +6154,9 @@ dependencies = [ [[package]] name = "swc_ecma_usage_analyzer" -version = "0.23.14" +version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b82af8ae5c6e5c1c1bdef70d5fb3ef16917985031f8688a7342c10a2123cfa6b" +checksum = "98a693898bd44782a234d9a4122d52b93accf447282d08c2364eb739ae864154" dependencies = [ "indexmap 2.2.3", "rustc-hash", @@ -6149,9 +6171,9 @@ dependencies = [ [[package]] name = "swc_ecma_utils" -version = "0.127.19" +version = "0.128.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95eb7d0729c17e7b1bddfc67b26f120efa69ae0c9f39738bb5eb8aa154a31cb9" +checksum = "fe5242670bc74e0a0b64b9d4912b37be36944517ce0881314162aeb4381272c3" dependencies = [ "indexmap 2.2.3", "num_cpus", @@ -6168,9 +6190,9 @@ dependencies = [ [[package]] name = "swc_ecma_visit" -version = "0.98.7" +version = "0.99.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93692bdcdbb63db8f5e10fea5d202b5487cb27eb443aec424f4335c88f9864af" +checksum = "28a6ce28ad8e591f8d627f1f9cb26b25e5d83052a9bc1b674d95fc28040cfa98" dependencies = [ "num-bigint", "serde", @@ -6183,11 +6205,11 @@ dependencies = [ [[package]] name = "swc_emotion" -version = "0.72.8" +version = "0.72.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c43a5946f5e0ea03341b23786e43e3fa07eaa014f03fb39cf584b02c38e9c80c" +checksum = "4b454c1b99da4da9aab3731ab34d7582d2eab96e47670d0c62711053886ef7e2" dependencies = [ - "base64 0.13.1", + "base64 0.22.1", "byteorder", "fxhash", "once_cell", @@ -6218,9 +6240,9 @@ dependencies = [ [[package]] name = "swc_error_reporters" -version = "0.17.19" +version = "0.17.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3329e73f159a3d38d4cd5f606a0918eeff39f5bbdbdafd9b6fecb290d2e9a32d" +checksum = "72100a5f7b0c178adf7bcc5e7c8ad9d4180f499a5f5bae9faf3f417c7cbc4915" dependencies = [ "anyhow", "miette", @@ -6231,9 +6253,9 @@ dependencies = [ [[package]] name = "swc_fast_graph" -version = "0.21.21" +version = "0.21.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54db83cdbd924cc8b5082ab54ff2a1b4f53ecde8f53c87b9f9c877c9daef4569" +checksum = "f3fdd64bc3d161d6c1ea9a8ae5779e4ba132afc67e7b8ece5420bfc9c6e1275d" dependencies = [ "indexmap 2.2.3", "petgraph", @@ -6243,9 +6265,9 @@ dependencies = [ [[package]] name = "swc_graph_analyzer" -version = "0.22.22" +version = "0.22.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02b66d0e18899b3a69eca103e5b4af2f0c837427aa07a60be1c4ceb4346ea245" +checksum = "c728a8f9b82b7160a1ae246e31232177b371f827eb0d01006c0f120a3494871c" dependencies = [ "auto_impl", "petgraph", @@ -6256,9 +6278,9 @@ dependencies = [ [[package]] name = "swc_macros_common" -version = "0.3.10" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a5be7766a95a2840ded618baeaab63809b71230ef19094b34f76c8af4d85aa2" +checksum = "91745f3561057493d2da768437c427c0e979dff7396507ae02f16c981c4a8466" dependencies = [ "proc-macro2", "quote", @@ -6267,9 +6289,9 @@ dependencies = [ [[package]] name = "swc_node_comments" -version = "0.20.19" +version = "0.20.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd75c635e4b54961c1c8dc693bb16eb70497eb8a2564f303089a9a66e81ed7ae" +checksum = "d39218bffecf32538d94a22791a12ff6f65e618edcc632d42e065a4e9c773065" dependencies = [ "dashmap", "swc_atoms", @@ -6303,9 +6325,9 @@ dependencies = [ [[package]] name = "swc_plugin_proxy" -version = "0.41.7" +version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e09ebf5da9eb13f431ebfb916cd3378a87ffae927ba896261ebc9dc094457ae" +checksum = "98974702046356b67da841a8de561480fd75f963f5d406eee40d690e014e4b55" dependencies = [ "better_scoped_tls", "rkyv", @@ -6317,9 +6339,9 @@ dependencies = [ [[package]] name = "swc_plugin_runner" -version = "0.106.16" +version = "0.107.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41c4b6d5c4ea05c3ddd68702736cf524661cde1200185ee8c27f10c4a5811a3d" +checksum = "73640537e0967a88a537c853de4a41ba6cdf77bfff1999f7c6c449e5bc550eed" dependencies = [ "anyhow", "enumset", @@ -6342,9 +6364,9 @@ dependencies = [ [[package]] name = "swc_relay" -version = "0.44.8" +version = "0.44.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68cd77d63c87626434782b9542e4a1335490200cee86e03e1cb6c61fccc71a30" +checksum = "b36a22861087d88f0ae4d78800b6fd44e2dc5b541f8da53e81388c611bab0ef9" dependencies = [ "once_cell", "regex", @@ -6360,9 +6382,9 @@ dependencies = [ [[package]] name = "swc_timer" -version = "0.21.21" +version = "0.21.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e75ce0373fd1b75a021073d796201d5af15106857fc0a801e31379e9e04891e9" +checksum = "0c05c13aecc7a128f86273004f57b5964a6e8828a90e542f362deaed7985504f" dependencies = [ "tracing", ] @@ -6380,9 +6402,9 @@ dependencies = [ [[package]] name = "swc_visit" -version = "0.5.13" +version = "0.5.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0263be55289abfe9c877ffef83d877b5bdfac036ffe2de793f48f5e47e41dbae" +checksum = "043d11fe683dcb934583ead49405c0896a5af5face522e4682c16971ef7871b9" dependencies = [ "either", "swc_visit_macros", @@ -6390,9 +6412,9 @@ dependencies = [ [[package]] name = "swc_visit_macros" -version = "0.5.11" +version = "0.5.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33fc817055fe127b4285dc85058596768bfde7537ae37da82c67815557f03e33" +checksum = "4ae9ef18ff8daffa999f729db056d2821cd2f790f3a11e46422d19f46bb193e7" dependencies = [ "Inflector", "proc-macro2", @@ -6532,9 +6554,9 @@ dependencies = [ [[package]] name = "testing" -version = "0.35.23" +version = "0.35.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "689e2661712768726869f62945ccbe5d76ab3a3957b88221275bebe22a0761c8" +checksum = "c71dd5265f4921fe51b386b1496c63ac058589d8cd38de6b61489a98c6019a16" dependencies = [ "ansi_term", "cargo_metadata", @@ -6952,7 +6974,7 @@ dependencies = [ [[package]] name = "turbo-tasks" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "async-trait", @@ -6978,12 +7000,13 @@ dependencies = [ "turbo-tasks-build", "turbo-tasks-hash", "turbo-tasks-macros", + "turbo-tasks-malloc", ] [[package]] name = "turbo-tasks-build" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "cargo-lock", @@ -6995,7 +7018,7 @@ dependencies = [ [[package]] name = "turbo-tasks-bytes" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "bytes", @@ -7009,7 +7032,7 @@ dependencies = [ [[package]] name = "turbo-tasks-env" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "dotenvs", @@ -7023,7 +7046,7 @@ dependencies = [ [[package]] name = "turbo-tasks-fetch" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "lazy_static", @@ -7039,7 +7062,7 @@ dependencies = [ [[package]] name = "turbo-tasks-fs" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "auto-hash-map", @@ -7071,7 +7094,7 @@ dependencies = [ [[package]] name = "turbo-tasks-hash" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "base16", "hex", @@ -7083,7 +7106,7 @@ dependencies = [ [[package]] name = "turbo-tasks-macros" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "proc-macro-error", @@ -7097,7 +7120,7 @@ dependencies = [ [[package]] name = "turbo-tasks-macros-shared" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "proc-macro2", "quote", @@ -7107,7 +7130,7 @@ dependencies = [ [[package]] name = "turbo-tasks-malloc" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "mimalloc", ] @@ -7115,7 +7138,7 @@ dependencies = [ [[package]] name = "turbo-tasks-memory" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "auto-hash-map", @@ -7141,7 +7164,7 @@ dependencies = [ [[package]] name = "turbopack" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "async-recursion", @@ -7171,7 +7194,7 @@ dependencies = [ [[package]] name = "turbopack-binding" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "auto-hash-map", "mdxjs", @@ -7212,7 +7235,7 @@ dependencies = [ [[package]] name = "turbopack-browser" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7235,7 +7258,7 @@ dependencies = [ [[package]] name = "turbopack-cli-utils" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "clap", @@ -7252,7 +7275,7 @@ dependencies = [ [[package]] name = "turbopack-core" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "async-recursion", @@ -7281,7 +7304,7 @@ dependencies = [ [[package]] name = "turbopack-css" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7308,7 +7331,7 @@ dependencies = [ [[package]] name = "turbopack-dev-server" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "async-compression", @@ -7344,7 +7367,7 @@ dependencies = [ [[package]] name = "turbopack-ecmascript" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "async-trait", @@ -7379,7 +7402,7 @@ dependencies = [ [[package]] name = "turbopack-ecmascript-hmr-protocol" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "serde", "serde_json", @@ -7390,7 +7413,7 @@ dependencies = [ [[package]] name = "turbopack-ecmascript-plugins" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "async-trait", @@ -7414,7 +7437,7 @@ dependencies = [ [[package]] name = "turbopack-ecmascript-runtime" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "indoc", @@ -7430,7 +7453,7 @@ dependencies = [ [[package]] name = "turbopack-env" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7446,7 +7469,7 @@ dependencies = [ [[package]] name = "turbopack-image" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "base64 0.21.4", @@ -7465,7 +7488,7 @@ dependencies = [ [[package]] name = "turbopack-json" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "serde", @@ -7480,7 +7503,7 @@ dependencies = [ [[package]] name = "turbopack-mdx" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "mdxjs", @@ -7495,7 +7518,7 @@ dependencies = [ [[package]] name = "turbopack-node" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "async-stream", @@ -7529,7 +7552,7 @@ dependencies = [ [[package]] name = "turbopack-nodejs" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7549,7 +7572,7 @@ dependencies = [ [[package]] name = "turbopack-resolve" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7567,7 +7590,7 @@ dependencies = [ [[package]] name = "turbopack-static" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "serde", @@ -7583,7 +7606,7 @@ dependencies = [ [[package]] name = "turbopack-swc-utils" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "swc_core", "turbo-tasks", @@ -7594,7 +7617,7 @@ dependencies = [ [[package]] name = "turbopack-trace-server" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "either", @@ -7613,7 +7636,7 @@ dependencies = [ [[package]] name = "turbopack-trace-utils" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "crossbeam-channel", @@ -7629,7 +7652,7 @@ dependencies = [ [[package]] name = "turbopack-wasm" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240516.1#993891fa67a7dc3576ee8322408fb2c00da85304" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240517.2#a56214480242960a36ad6940ce6c5e84664e8705" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7727,9 +7750,9 @@ checksum = "d70b6494226b36008c8366c288d77190b3fad2eb4c10533139c1c1f461127f1a" [[package]] name = "unicode-id-start" -version = "1.1.2" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8f73150333cb58412db36f2aca8f2875b013049705cc77b94ded70a1ab1f5da" +checksum = "02aebfa694eccbbbffdd92922c7de136b9fe764396d2f10e21bce1681477cfc1" [[package]] name = "unicode-ident" @@ -8294,7 +8317,7 @@ dependencies = [ "anyhow", "derive_builder", "indexmap 2.2.3", - "semver 1.0.18", + "semver 1.0.23", "serde", "serde_cbor", "serde_json", @@ -8377,7 +8400,7 @@ dependencies = [ "pin-project", "rand", "rusty_pool", - "semver 1.0.18", + "semver 1.0.23", "serde", "serde_cbor", "serde_derive", @@ -8456,7 +8479,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1dfcdb72d96f01e6c85b6bf20102e7423bdbaad5c337301bab2bbf253d26413c" dependencies = [ "indexmap 2.2.3", - "semver 1.0.18", + "semver 1.0.23", ] [[package]] @@ -8507,7 +8530,7 @@ dependencies = [ "once_cell", "path-clean 1.0.1", "rand", - "semver 1.0.18", + "semver 1.0.23", "serde", "serde_cbor", "serde_json", diff --git a/Cargo.toml b/Cargo.toml index 1d86ab300fc91c..7943219a84653f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,18 +30,18 @@ next-core = { path = "packages/next-swc/crates/next-core" } next-custom-transforms = { path = "packages/next-swc/crates/next-custom-transforms" } # SWC crates -swc_core = { version = "0.90.33", features = [ +swc_core = { version = "0.92.5", features = [ "ecma_loader_lru", "ecma_loader_parking_lot", ] } -testing = { version = "0.35.22" } +testing = { version = "0.35.24" } # Turbo crates -turbopack-binding = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240516.1" } +turbopack-binding = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240517.2" } # [TODO]: need to refactor embed_directory! macro usages, as well as resolving turbo_tasks::function, macros.. -turbo-tasks = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240516.1" } +turbo-tasks = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240517.2" } # [TODO]: need to refactor embed_directory! macro usage in next-core -turbo-tasks-fs = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240516.1" } +turbo-tasks-fs = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240517.2" } # General Deps @@ -90,7 +90,7 @@ indoc = "2.0.0" itertools = "0.10.5" lazy_static = "1.4.0" log = "0.4.17" -lightningcss = { version = "=1.0.0-alpha.54", features = [ +lightningcss = { version = "1.0.0-alpha.54", features = [ "serde", "visitor", "into_owned", diff --git a/packages/next-swc/crates/next-custom-transforms/Cargo.toml b/packages/next-swc/crates/next-custom-transforms/Cargo.toml index 30409ef6bd644a..58dd112cf56748 100644 --- a/packages/next-swc/crates/next-custom-transforms/Cargo.toml +++ b/packages/next-swc/crates/next-custom-transforms/Cargo.toml @@ -38,8 +38,8 @@ turbopack-binding = { workspace = true, features = [ ] } # To allow quote! macro works swc_core = { workspace = true, features = ["ecma_quote"] } -react_remove_properties = "0.24.7" -remove_console = "0.25.7" +react_remove_properties = "0.24.12" +remove_console = "0.25.12" preset_env_base = "0.4.12" [dev-dependencies] diff --git a/packages/next-swc/crates/next-custom-transforms/tests/full/example/output.js b/packages/next-swc/crates/next-custom-transforms/tests/full/example/output.js index 13400c58cc5b93..fb9bcca222aadf 100644 --- a/packages/next-swc/crates/next-custom-transforms/tests/full/example/output.js +++ b/packages/next-swc/crates/next-custom-transforms/tests/full/example/output.js @@ -1,6 +1,6 @@ import "@swc/helpers/_/_class_call_check"; import { _ as e } from "@swc/helpers/_/_sliced_to_array"; -import r from "other"; +import r from 'other'; e(r, 1)[0]; export var __N_SSG = !0; export default function t() { diff --git a/packages/next-swc/crates/next-custom-transforms/tests/loader/auto-cjs/2/output.js b/packages/next-swc/crates/next-custom-transforms/tests/loader/auto-cjs/2/output.js index a03bd878428a32..ea282ab4e1dd61 100644 --- a/packages/next-swc/crates/next-custom-transforms/tests/loader/auto-cjs/2/output.js +++ b/packages/next-swc/crates/next-custom-transforms/tests/loader/auto-cjs/2/output.js @@ -1,4 +1,4 @@ export default 1; -Object.defineProperty(exports, "__esModule", { +Object.defineProperty(exports, '__esModule', { value: true }); diff --git a/packages/next-swc/crates/next-custom-transforms/tests/loader/auto-cjs/3/output.js b/packages/next-swc/crates/next-custom-transforms/tests/loader/auto-cjs/3/output.js index 3e5a204d3e331f..1d78e27257cd39 100644 --- a/packages/next-swc/crates/next-custom-transforms/tests/loader/auto-cjs/3/output.js +++ b/packages/next-swc/crates/next-custom-transforms/tests/loader/auto-cjs/3/output.js @@ -1,6 +1,6 @@ export default 1; -console.log("__esModule"); -Object.defineProperty({}, "__esModule", { +console.log('__esModule'); +Object.defineProperty({}, '__esModule', { value: true }); Object.defineProperty(); diff --git a/packages/next-swc/crates/next-custom-transforms/tests/loader/auto-cjs/pack-2074/1/output.js b/packages/next-swc/crates/next-custom-transforms/tests/loader/auto-cjs/pack-2074/1/output.js index 4e639dd2cd9f05..0729c240de2179 100644 --- a/packages/next-swc/crates/next-custom-transforms/tests/loader/auto-cjs/pack-2074/1/output.js +++ b/packages/next-swc/crates/next-custom-transforms/tests/loader/auto-cjs/pack-2074/1/output.js @@ -1,4 +1,4 @@ export default function(module) { module.exports = {}; }; -export var value = "mixed-syntax-esm"; +export var value = 'mixed-syntax-esm'; diff --git a/packages/next-swc/crates/next-custom-transforms/tests/loader/auto-cjs/pack-2074/2/output.js b/packages/next-swc/crates/next-custom-transforms/tests/loader/auto-cjs/pack-2074/2/output.js index d4b63d0ff81ced..25c9bc8daacbe8 100644 --- a/packages/next-swc/crates/next-custom-transforms/tests/loader/auto-cjs/pack-2074/2/output.js +++ b/packages/next-swc/crates/next-custom-transforms/tests/loader/auto-cjs/pack-2074/2/output.js @@ -1,4 +1,4 @@ function foo(module) { - module.exports = "this is just normal assignment of scope variable"; + module.exports = 'this is just normal assignment of scope variable'; } -export var value = "mixed-syntax-esm"; +export var value = 'mixed-syntax-esm'; diff --git a/packages/next-swc/crates/next-custom-transforms/tests/loader/example/output.js b/packages/next-swc/crates/next-custom-transforms/tests/loader/example/output.js index f004b8772c7a03..599ae8eb13f0e0 100644 --- a/packages/next-swc/crates/next-custom-transforms/tests/loader/example/output.js +++ b/packages/next-swc/crates/next-custom-transforms/tests/loader/example/output.js @@ -1,6 +1,6 @@ import { _ as _class_call_check } from "@swc/helpers/_/_class_call_check"; import { _ as _sliced_to_array } from "@swc/helpers/_/_sliced_to_array"; -import other from "other"; +import other from 'other'; var _other = _sliced_to_array(other, 1), foo = _other[0]; var Foo = function Foo() { "use strict"; diff --git a/packages/next-swc/crates/next-custom-transforms/tests/loader/issue-31627/output.js b/packages/next-swc/crates/next-custom-transforms/tests/loader/issue-31627/output.js index 0c1b9a1ca95de5..3eb56aeb148f06 100644 --- a/packages/next-swc/crates/next-custom-transforms/tests/loader/issue-31627/output.js +++ b/packages/next-swc/crates/next-custom-transforms/tests/loader/issue-31627/output.js @@ -1,6 +1,6 @@ import { _ as _class_call_check } from "@swc/helpers/_/_class_call_check"; -import { useEffect } from "react"; -import { select, selectAll } from "d3-selection"; +import { useEffect } from 'react'; +import { select, selectAll } from 'd3-selection'; export default function Home() { useEffect(function() { new MyClass(); @@ -14,7 +14,7 @@ export default function Home() { var MyClass = function MyClass() { "use strict"; _class_call_check(this, MyClass); - selectAll(".group").each(function() { - select(this).selectAll("path"); + selectAll('.group').each(function() { + select(this).selectAll('path'); }); }; diff --git a/packages/next-swc/crates/next-custom-transforms/tests/loader/issue-32553/output.js b/packages/next-swc/crates/next-custom-transforms/tests/loader/issue-32553/output.js index 183b610d5087b1..70364d18bf7518 100644 --- a/packages/next-swc/crates/next-custom-transforms/tests/loader/issue-32553/output.js +++ b/packages/next-swc/crates/next-custom-transforms/tests/loader/issue-32553/output.js @@ -1,2 +1,2 @@ /*#__PURE__*/ React.createElement("div", null, "children"); -"<>hello"; +'<>hello'; diff --git a/packages/next-swc/crates/next-custom-transforms/tests/loader/styled-components/1/output.js b/packages/next-swc/crates/next-custom-transforms/tests/loader/styled-components/1/output.js index cc8cc75171f68b..9556cb2d3f9b09 100644 --- a/packages/next-swc/crates/next-custom-transforms/tests/loader/styled-components/1/output.js +++ b/packages/next-swc/crates/next-custom-transforms/tests/loader/styled-components/1/output.js @@ -1,4 +1,4 @@ -import styled from "styled-components"; +import styled from 'styled-components'; export var foo = styled.input.withConfig({ displayName: "input__foo", componentId: "sc-21a13c03-0" diff --git a/packages/next-swc/crates/wasm/src/mdx.rs b/packages/next-swc/crates/wasm/src/mdx.rs index 89a44c45f92f37..36b94110df4271 100644 --- a/packages/next-swc/crates/wasm/src/mdx.rs +++ b/packages/next-swc/crates/wasm/src/mdx.rs @@ -10,7 +10,9 @@ pub fn mdx_compile_sync(value: JsString, opts: JsValue) -> Result { if (n === "Map" || n === "Set") return Array.from(n); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen); } - import { useState } from "react"; + import { useState } from 'react'; var _useState = _sliced_to_array(useState(0), 2), count = _useState[0], setCount = _useState[1]; " `) @@ -107,7 +107,7 @@ describe('next/swc', () => { if (n === "Map" || n === "Set") return Array.from(n); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen); } - import { useState } from "react"; + import { useState } from 'react'; var _useState = _to_array(useState(0)), copy = _useState.slice(0); " `)