From d7b274e0579a7f82d843a4fe761683934ffa6205 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Thu, 21 Mar 2024 11:06:21 +0900 Subject: [PATCH 01/10] Update swc crates --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a8d661468b9f3..49e66cf4d4140 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,11 +30,11 @@ 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.22", features = [ +swc_core = { version = "0.90.24", features = [ "ecma_loader_lru", "ecma_loader_parking_lot", ] } -testing = { version = "0.35.20" } +testing = { version = "0.35.21" } # Turbo crates turbopack-binding = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240320.2" } From cf8444d7f6425e88322a7e153579d77d23ad2ddf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Thu, 21 Mar 2024 11:06:25 +0900 Subject: [PATCH 02/10] cargo lockfile --- Cargo.lock | 222 ++++++++++++++++++++++++++--------------------------- 1 file changed, 111 insertions(+), 111 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0ea86c0d526aa..a9b7883e92fab 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -492,9 +492,9 @@ dependencies = [ [[package]] name = "binding_macros" -version = "0.64.21" +version = "0.64.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eafb79d33c5a86e79be2a61e4e61b964ba7f088cc71ccc1cf592bdd1e4ce8f6f" +checksum = "bfd8f34cab921542b9dcddd34d65e5ee3953d16d07a643509494ad2d7946cb1a" dependencies = [ "anyhow", "console_error_panic_hook", @@ -2137,7 +2137,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", - "socket2 0.4.9", + "socket2 0.5.6", "tokio", "tower-service", "tracing", @@ -5226,9 +5226,9 @@ dependencies = [ [[package]] name = "swc" -version = "0.273.21" +version = "0.273.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "271c22c41d6232166f69dd16264f44ab7217a5b3ee6c6c428991dae86e577c11" +checksum = "48a68d147a2270bbe2164ee4060d0176590a1035f54d82f7252d16a15e4154a9" dependencies = [ "anyhow", "base64 0.21.4", @@ -5293,9 +5293,9 @@ dependencies = [ [[package]] name = "swc_bundler" -version = "0.225.16" +version = "0.225.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64c48267139ec36f4250360c80a400c4efe3a9d82e69c74406a4760bb0f94297" +checksum = "f145a1a7293edce9efa80fe4f92a2cbd821c31d5c3123d04182fc1928613d978" dependencies = [ "anyhow", "crc", @@ -5339,9 +5339,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.33.19" +version = "0.33.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc30ce6695b841f0a9ae01a9ca10ac3922cff559a6253c756a203c4332c62945" +checksum = "317d2fcdbb1bc9ecfd0bfc67468d675a5159a6fd1863abf41c8c5b7b7adcab03" dependencies = [ "ahash 0.8.9", "anyhow", @@ -5372,9 +5372,9 @@ dependencies = [ [[package]] name = "swc_compiler_base" -version = "0.7.17" +version = "0.7.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da889eaa8f6d019f3b391eebfb395990a0b58b4f4e86f76689f2a14fd8de2239" +checksum = "e14edecfac835e77c88017d016c48dba60e82632ee94eb9565f516ebc7072e6a" dependencies = [ "anyhow", "base64 0.21.4", @@ -5424,9 +5424,9 @@ dependencies = [ [[package]] name = "swc_core" -version = "0.90.22" +version = "0.90.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cd79fcc3d20ab7b74794d4155ac12639760e8ec96fed7413624db61f3185e62" +checksum = "354892a17af24956c9ae5479c2bd0a2f9c344aab79e6f2fbd01b7b8eb4e46c2e" dependencies = [ "binding_macros", "swc", @@ -5466,9 +5466,9 @@ dependencies = [ [[package]] name = "swc_css_ast" -version = "0.140.20" +version = "0.140.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f84c34fffb1b9dde1024ad6fa473ff4e1616cf8efc69600bbb83df0bcac2708" +checksum = "a930397de06e2d10d5042d927993af9e09e7824ff84b7d4d7b4a663e7c63e55d" dependencies = [ "is-macro", "string_enum", @@ -5478,9 +5478,9 @@ dependencies = [ [[package]] name = "swc_css_codegen" -version = "0.151.30" +version = "0.151.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44f59063897824aac5509c94f26f991b64f91c4cda3679aa6cb3acb421ca634c" +checksum = "9dfdbd0d5eeb7b4cb4193d49aad0c1f1d8561b0533607992505a7c4a11dce4e8" dependencies = [ "auto_impl", "bitflags 2.4.0", @@ -5507,9 +5507,9 @@ dependencies = [ [[package]] name = "swc_css_compat" -version = "0.27.31" +version = "0.27.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9633219ea6d10276555460909afb4d0f8110245a2686a4919d7b721d71255ed9" +checksum = "8c8c4ffbda70abf13435778820470a804619bd1f33e6d11412a7de595ebcfbbb" dependencies = [ "bitflags 2.4.0", "once_cell", @@ -5538,9 +5538,9 @@ dependencies = [ [[package]] name = "swc_css_modules" -version = "0.29.33" +version = "0.29.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4665118c8f595da12f102229e07244d14e0c2e75138b0232d739497c87f36cb2" +checksum = "209966e658fb11773a8d14c004554fdc667f6d44128942c47f3d0195cf483613" dependencies = [ "rustc-hash", "serde", @@ -5554,9 +5554,9 @@ dependencies = [ [[package]] name = "swc_css_parser" -version = "0.150.29" +version = "0.150.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bab1cb5c7711f052322b47a26a04d064a7dc2fba56839a9249f895618120970d" +checksum = "ecf8cfbef4c0b847829ca1399d762e7e29da3c9fe6593670145fd222252eab6f" dependencies = [ "lexical", "serde", @@ -5584,9 +5584,9 @@ dependencies = [ [[package]] name = "swc_css_utils" -version = "0.137.20" +version = "0.137.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "516874bfd2cc1ddc9025d4049d1214127e5b2dcff7d02dcc80f54e359e34b675" +checksum = "3ac61660cd182bbb0fc53ee86f470e8bba6f5b0f1d85e44bf4ff9dfa2c862a12" dependencies = [ "once_cell", "serde", @@ -5599,9 +5599,9 @@ dependencies = [ [[package]] name = "swc_css_visit" -version = "0.139.20" +version = "0.139.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5930573480f409ee39ded5d109781ee68f084c92d1d3c90dc19e04f8988bdb9" +checksum = "d2bc4deb5540e3869f74e09997b2dd9e1d7b3f750ba2c910f88041f8027868c5" dependencies = [ "serde", "swc_atoms", @@ -5612,9 +5612,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.112.5" +version = "0.112.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "032f528398358da8ff2fe795755602b4a81ffc93430b9830c0e1d5f198d8f48d" +checksum = "70656acd47c91918635f1e8589963428cb3170975b71d786c79fb7a25605f687" dependencies = [ "bitflags 2.4.0", "bytecheck", @@ -5632,9 +5632,9 @@ dependencies = [ [[package]] name = "swc_ecma_codegen" -version = "0.148.11" +version = "0.148.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03d469ef5ec86a90fb2fa3bff474847fc4d16fd98e34254b834aaf2484bfe472" +checksum = "2afcce205914b8451880fc5ef63dae9bac3dc7b71917921ede64f8e7fd8447a1" dependencies = [ "memchr", "num-bigint", @@ -5663,9 +5663,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_bugfixes" -version = "0.4.16" +version = "0.4.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1a491b350c33afc7b043f065f060dcfbfe112e40765b3253e03c33d86149fcc" +checksum = "8731bec087336f7ed1cd4d4c082a6f7b7b9072ac5fc6f6379b6f98520a0e8303" dependencies = [ "swc_atoms", "swc_common", @@ -5680,9 +5680,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_common" -version = "0.4.12" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f30fd7f4e35d1a8e9edc495fdd843993103cf7b230bbd2ee960d402c5ca8e3c7" +checksum = "1b06844b66a86b8f3bad66888500fd8fe1e4ac09612c5ae0946ca3f77b81f6b0" dependencies = [ "swc_common", "swc_ecma_ast", @@ -5693,9 +5693,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2015" -version = "0.4.16" +version = "0.4.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34bd915d417c1dd95811ae7a16588969ccb598e65721f235781396aac158fb33" +checksum = "7646243203205d2409a891b998d4d30b7a4563a57429da1cbeabd03f18e506b2" dependencies = [ "arrayvec", "indexmap 2.2.3", @@ -5719,9 +5719,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2016" -version = "0.4.15" +version = "0.4.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63ca0be7e941e2c6cfcc66e1821d05511c7fa5bed01da2037ab65c0aa3a508bf" +checksum = "c75e868ae64fe2625c8aae1f929bae734500ae336d37731f6d4bdf66b8e3b8d3" dependencies = [ "swc_atoms", "swc_common", @@ -5736,9 +5736,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2017" -version = "0.4.15" +version = "0.4.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a85af431e6b334fbd5d83bebb3fdaaf9f94882c8a3fdb91bb4e5100319109a3" +checksum = "d9335b27e554e21db7cd541bcee1b5a58b5994439d1a2cb1c9188a3a557548d3" dependencies = [ "serde", "swc_atoms", @@ -5754,9 +5754,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2018" -version = "0.4.15" +version = "0.4.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "829e6bf821dbe4381d41b51b062b31f0a97c8d80c98b41060e4c80245d260cb5" +checksum = "66be32a60872762335524766f0afca4900699e1fc7ab14d87567e0e9b3d95cc2" dependencies = [ "serde", "swc_atoms", @@ -5773,9 +5773,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2019" -version = "0.4.15" +version = "0.4.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa7a7fd53ffa313ed1d03fa913ddb3db42e2e36609a4d062a2c4cfbfae68d9ac" +checksum = "6a984708b06d662df1c10c2fc06bf98562c6ea3bb93c0e4d5491ee8e61c08e00" dependencies = [ "swc_atoms", "swc_common", @@ -5789,9 +5789,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2020" -version = "0.4.15" +version = "0.4.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b56f42e0fbeabe54dd963a5f2ae861c5375e50084e0b9bd18520e9ee9308b13" +checksum = "c8b310227bbafd12dbe717c1969bf5095e9b6aff563cea3e9ff6e46371971293" dependencies = [ "serde", "swc_atoms", @@ -5807,9 +5807,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2021" -version = "0.4.15" +version = "0.4.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44df74b9fe6604faa8ae7b95fadfa1a783ee0e782caa35992f841a87b3943ee1" +checksum = "ab566642dff583a16b7b188cf9effc6ae603ea2172769f7a3e7fc1aaf41b67b3" dependencies = [ "swc_atoms", "swc_common", @@ -5823,9 +5823,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2022" -version = "0.4.15" +version = "0.4.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12e9090383b12124af70f1f4853e6b1108bfc70b7199282e8577d85a058bd23c" +checksum = "62fcfa41b83014ee338c219c446e4ac7f66620706d871b1234d68f990a26225b" dependencies = [ "swc_atoms", "swc_common", @@ -5842,9 +5842,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es3" -version = "0.4.15" +version = "0.4.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34f8eb567e43cd7d5f0816281eac57c505b5da2afe9e73b7e460fe074b924c32" +checksum = "3678f2454374d8aefe0997fa32089dd2c3f06d20ecaa0d1fa30c0d3e9871c79b" dependencies = [ "swc_common", "swc_ecma_ast", @@ -5857,9 +5857,9 @@ dependencies = [ [[package]] name = "swc_ecma_ext_transforms" -version = "0.113.12" +version = "0.113.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e78c06ae715d8b8137b9c9b2abc6728d699a7b252ed290bfa8a9a14b5af009f1" +checksum = "71d02e315207f4c6fd0a1a475039b2874392e46a04d1a297c9c66ef0082d9fce" dependencies = [ "phf 0.11.2", "swc_atoms", @@ -5871,9 +5871,9 @@ dependencies = [ [[package]] name = "swc_ecma_lints" -version = "0.92.17" +version = "0.92.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a41f1bda71bedf2b63f44d0ac3d9830d717491a4d826e70493778efd0fba0af1" +checksum = "12d3615603b9719f33180080ccada04d0cb6a077d90c958a71d746c7b015c040" dependencies = [ "auto_impl", "dashmap", @@ -5891,9 +5891,9 @@ dependencies = [ [[package]] name = "swc_ecma_loader" -version = "0.45.22" +version = "0.45.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5a8e2dfe2062f4c33413639ea1f5c2bd331ce30142b1405cbe025037008b95a" +checksum = "6732100aba9bec438fcff857ab8db5e5d3b64b42a522aec7c388d8c98a36d22a" dependencies = [ "anyhow", "dashmap", @@ -5913,9 +5913,9 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "0.192.17" +version = "0.192.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e390390abcdb1800f6106f7da5b462f5b84db6b4dbf8e46ea3c79cc74947709f" +checksum = "624b38cf23679ab41ca0e47c37f49617275cb15ad7bbaa66a307c42e67ebc1d5" dependencies = [ "arrayvec", "indexmap 2.2.3", @@ -5947,9 +5947,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.143.9" +version = "0.143.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5166745785657b26ff7722fc32fafd77a79b655602f8628da9c79cede921da74" +checksum = "4b919bb9ae5e1c8c54fb109f7e94b4a00185bd255c1238ba823e8102601e2133" dependencies = [ "either", "new_debug_unreachable", @@ -5969,9 +5969,9 @@ dependencies = [ [[package]] name = "swc_ecma_preset_env" -version = "0.206.16" +version = "0.206.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb7f79092196efdf7c1a714976a39b684ef2d32d9c4e782d0ddc7a35f5785518" +checksum = "3e30d4cf2d63c2094d22a2778537353ea817f91c42c2e3bafc88cbe064b1f681" dependencies = [ "anyhow", "dashmap", @@ -5994,9 +5994,9 @@ dependencies = [ [[package]] name = "swc_ecma_quote_macros" -version = "0.54.12" +version = "0.54.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6279141a1514e802863022d5b421a6bebe23f37ee01b426fff4958793028bd03" +checksum = "49a0e789f5cced50904847f0fefef0f416156c12f0e0cf8b054f6fba6233023a" dependencies = [ "anyhow", "proc-macro2", @@ -6011,9 +6011,9 @@ dependencies = [ [[package]] name = "swc_ecma_testing" -version = "0.22.21" +version = "0.22.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5053453e9d7571e80eed154a0567392bc4e8a9021a5336890c301bb17fc6706c" +checksum = "7c5704ef494b1805bc4566ff566b964bc1e9d3fb0f0e046ad6392b09a54de844" dependencies = [ "anyhow", "hex", @@ -6024,9 +6024,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms" -version = "0.229.16" +version = "0.229.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adf8082fa0c3fea4dd28caf11aff67ac778a299a596ecdd5950f24902594e7bc" +checksum = "52b22e7877d623332da5f2a93c204e808091ab2da1c060f794eaea66506fb530" dependencies = [ "swc_atoms", "swc_common", @@ -6044,9 +6044,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "0.137.15" +version = "0.137.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4867f24a241877838b03304ce42006f8347aec8ed5a0a3e794aa9350fc1a5362" +checksum = "69e9a23d6af398b6efd17bbdad2cfa580102f6c560611f85c63b48f76ffe8f0c" dependencies = [ "better_scoped_tls", "bitflags 2.4.0", @@ -6068,9 +6068,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_classes" -version = "0.126.15" +version = "0.126.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1a07bf4a67a816277896fa5841812ff9f74c26f5640d93e70e471a41d168194" +checksum = "47af84e64f0216f110839f5552a615d07ed74b45757927f29482700966ab4e97" dependencies = [ "swc_atoms", "swc_common", @@ -6082,9 +6082,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_compat" -version = "0.163.16" +version = "0.163.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1bc9b8f21a57c5ff07a98c02f152d5888efbac616126bc7d977dfd23cad2d30" +checksum = "895101f18b39009b8d27f231222e6459a0e71151ba0b3ddf934373bf657602b2" dependencies = [ "arrayvec", "indexmap 2.2.3", @@ -6131,9 +6131,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_module" -version = "0.180.16" +version = "0.180.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6437d14baad04975867acf2f6aabc3e628c4c3122403287e2ca2659f0d4e92e8" +checksum = "82c53f9d5e7384e840f78d096f0ed2e8cfd38486adafb282ef8550420cd44890" dependencies = [ "Inflector", "anyhow", @@ -6158,9 +6158,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_optimization" -version = "0.198.16" +version = "0.198.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a8eb51e53c81afd3563b763fae5ed9e5aaf7fbfaf113ba4fe8bf0b152a71b8a" +checksum = "86789174146707d78c086cee25868624bdfef924bb535ea3fc42f53fa426d4c0" dependencies = [ "dashmap", "indexmap 2.2.3", @@ -6183,9 +6183,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_proposal" -version = "0.171.16" +version = "0.171.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebd56ca4bd886a0b53a77697220780e9f83468885de6b86175558165c3233717" +checksum = "278fec72878ab88f63cf797b33091045d29789dfe13c4051ab7ea6731c4b7ffd" dependencies = [ "either", "rustc-hash", @@ -6203,9 +6203,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_react" -version = "0.183.16" +version = "0.183.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f9649010c5a8d2648c82d8ec1aef90869eb40429d3c107df09b10452be762b3" +checksum = "762dad12edcdca424213354518ce60bc3f03a026f8e1990b11459311cef04c91" dependencies = [ "base64 0.21.4", "dashmap", @@ -6228,9 +6228,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_testing" -version = "0.140.15" +version = "0.140.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2618344ef828120aa9e42f4441849f5c4c66cb171c79ed15daa400469a9f744" +checksum = "e9a51288aebf6894f8643c44ad08ed1d9c81b8bfce47195c13f9ff994b77a946" dependencies = [ "ansi_term", "anyhow", @@ -6254,9 +6254,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_typescript" -version = "0.188.16" +version = "0.188.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e64b474891d125eca576e741735acbf54751292c6384efe1e0f32e1e996d9541" +checksum = "6d6824fcd8d32ab2e90745a408f71548bd081bf4522d32617745ac1ea243de9c" dependencies = [ "ryu-js", "serde", @@ -6271,9 +6271,9 @@ dependencies = [ [[package]] name = "swc_ecma_usage_analyzer" -version = "0.23.12" +version = "0.23.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f913be2dca4c6f3536dc7645359507692cd66158f25b46b475a3ea76e6e4a9ae" +checksum = "21ccc0ff427471b70e48f265854a2e0843ef8429c729009898bea993f300fa77" dependencies = [ "indexmap 2.2.3", "rustc-hash", @@ -6288,9 +6288,9 @@ dependencies = [ [[package]] name = "swc_ecma_utils" -version = "0.127.12" +version = "0.127.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20e64596696563ec040297fa5bed9e7b041138664f8c61ad48cfd88d2fd79c3b" +checksum = "fc9c6ad70038b770d844fdfc20fd970d66ccebb1edc91804c8a9adaa689d4e39" dependencies = [ "indexmap 2.2.3", "num_cpus", @@ -6307,9 +6307,9 @@ dependencies = [ [[package]] name = "swc_ecma_visit" -version = "0.98.6" +version = "0.98.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "889fc0ec3a9b55377e53e3d4ce06678247b635d7136c1e5d3a2c26578e16cd22" +checksum = "93692bdcdbb63db8f5e10fea5d202b5487cb27eb443aec424f4335c88f9864af" dependencies = [ "num-bigint", "serde", @@ -6357,9 +6357,9 @@ dependencies = [ [[package]] name = "swc_error_reporters" -version = "0.17.18" +version = "0.17.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df568fdbcfab1bfc9f9df62113da46cf82626ad2e67e1812bf3b76ca3d800f92" +checksum = "3329e73f159a3d38d4cd5f606a0918eeff39f5bbdbdafd9b6fecb290d2e9a32d" dependencies = [ "anyhow", "miette", @@ -6370,9 +6370,9 @@ dependencies = [ [[package]] name = "swc_fast_graph" -version = "0.21.19" +version = "0.21.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "740f846d9450f3dd20b5fbea1db70e4c774493dd10d8bde54c2d2d5fc8ac824d" +checksum = "aa43c68166a88e233f241976dc3291c30471385fd1019d1fa5660ac503520110" dependencies = [ "indexmap 2.2.3", "petgraph", @@ -6382,9 +6382,9 @@ dependencies = [ [[package]] name = "swc_graph_analyzer" -version = "0.22.21" +version = "0.22.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be3df7f9506c34242a9802ce1406126bbd21a232a99b8782b50ec8e9270352cd" +checksum = "02b66d0e18899b3a69eca103e5b4af2f0c837427aa07a60be1c4ceb4346ea245" dependencies = [ "auto_impl", "petgraph", @@ -6406,9 +6406,9 @@ dependencies = [ [[package]] name = "swc_node_comments" -version = "0.20.18" +version = "0.20.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2dcee90f0a9702a4a0c4b11aa811d8e8fa09fbaeb5d5431d5736d20b3f7688b" +checksum = "fd75c635e4b54961c1c8dc693bb16eb70497eb8a2564f303089a9a66e81ed7ae" dependencies = [ "dashmap", "swc_atoms", @@ -6442,9 +6442,9 @@ dependencies = [ [[package]] name = "swc_plugin_proxy" -version = "0.41.5" +version = "0.41.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5488302a4e79ae658b6bacd691385e88836276c81dc7abde31d67f0f2ae7425" +checksum = "012e5996e3fe64805342b6e31a79d826402bbe4eed35be6a9366e54e41f5d75d" dependencies = [ "better_scoped_tls", "rkyv", @@ -6456,9 +6456,9 @@ dependencies = [ [[package]] name = "swc_plugin_runner" -version = "0.106.12" +version = "0.106.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fc260043f8a6aca969b390f612c047f09e670603a0e23a0ca21757e95aa9d73" +checksum = "e3fe0f8743615139eed21376c94d8201be331040c8999e9a7c86a43d0ca2ff8b" dependencies = [ "anyhow", "enumset", @@ -6498,9 +6498,9 @@ dependencies = [ [[package]] name = "swc_timer" -version = "0.21.20" +version = "0.21.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b589033a4387ea540b2e9c3e84e45b1e831e7b16dc301f27d4c9cd492099cdee" +checksum = "e75ce0373fd1b75a021073d796201d5af15106857fc0a801e31379e9e04891e9" dependencies = [ "tracing", ] @@ -6676,9 +6676,9 @@ dependencies = [ [[package]] name = "testing" -version = "0.35.20" +version = "0.35.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fff8bc163dd91547a6cb0ad5e32c8b19e0f1bc607031c81726d57c56d21609e0" +checksum = "761d1719907168f43b49b438bdb58c41608f4af5eac0995e2a8bb16c522656c5" dependencies = [ "ansi_term", "cargo_metadata", From 4d747db8d7971378f339a6f25bad3f21eb77a51b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Fri, 22 Mar 2024 22:03:31 +0900 Subject: [PATCH 03/10] link next.js --- Cargo.lock | 83 +++++++++++++++++++------------------- Cargo.toml | 6 +-- packages/next/package.json | 2 +- pnpm-lock.yaml | 8 ++-- 4 files changed, 50 insertions(+), 49 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 57e9f5e9c3586..1fe797563d27f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -321,7 +321,7 @@ dependencies = [ [[package]] name = "auto-hash-map" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "serde", "smallvec", @@ -3217,7 +3217,7 @@ dependencies = [ [[package]] name = "node-file-trace" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "serde", @@ -5165,9 +5165,9 @@ dependencies = [ [[package]] name = "styled_jsx" -version = "0.73.9" +version = "0.73.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "243182797daf80d4ebed2f8ea46c787ac0df5609d10bff5d634dace5375c49b0" +checksum = "fb7b2381ed0b1ba760b75671388d45be3196ab8514a6429b4fca05ab9dcfc86c" dependencies = [ "anyhow", "lightningcss", @@ -5177,6 +5177,7 @@ dependencies = [ "swc_common", "swc_css_ast", "swc_css_codegen", + "swc_css_compat", "swc_css_minifier", "swc_css_parser", "swc_css_prefixer", @@ -5524,9 +5525,9 @@ dependencies = [ [[package]] name = "swc_css_minifier" -version = "0.116.28" +version = "0.116.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74888e8f156a087c2aa81e8542d30b5301ea025a1a99e1706e1a8b7f68b9282f" +checksum = "dc7000b4de2dfbd04d8f2a1cc99046b8594fd9cd67fc9593f07df5425a508f75" dependencies = [ "serde", "swc_atoms", @@ -5567,9 +5568,9 @@ dependencies = [ [[package]] name = "swc_css_prefixer" -version = "0.153.31" +version = "0.153.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbc040a489255446c6cfbb506677f0ceee0b8241a6c2a6f0eaf6b460c8d19b8d" +checksum = "25c08c9394e9d314f4d7995653e7ef7bc9563aff1cb736457ed9009e278d72b9" dependencies = [ "once_cell", "preset_env_base", @@ -7160,7 +7161,7 @@ dependencies = [ [[package]] name = "turbo-tasks" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "async-trait", @@ -7192,7 +7193,7 @@ dependencies = [ [[package]] name = "turbo-tasks-build" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "cargo-lock", @@ -7204,7 +7205,7 @@ dependencies = [ [[package]] name = "turbo-tasks-bytes" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "bytes", @@ -7219,7 +7220,7 @@ dependencies = [ [[package]] name = "turbo-tasks-env" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "dotenvs", @@ -7233,7 +7234,7 @@ dependencies = [ [[package]] name = "turbo-tasks-fetch" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7250,7 +7251,7 @@ dependencies = [ [[package]] name = "turbo-tasks-fs" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "auto-hash-map", @@ -7282,7 +7283,7 @@ dependencies = [ [[package]] name = "turbo-tasks-hash" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "base16", "hex", @@ -7294,7 +7295,7 @@ dependencies = [ [[package]] name = "turbo-tasks-macros" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "convert_case 0.6.0", @@ -7308,7 +7309,7 @@ dependencies = [ [[package]] name = "turbo-tasks-macros-shared" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "proc-macro2", "quote", @@ -7318,7 +7319,7 @@ dependencies = [ [[package]] name = "turbo-tasks-malloc" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "mimalloc", ] @@ -7326,7 +7327,7 @@ dependencies = [ [[package]] name = "turbo-tasks-memory" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "auto-hash-map", @@ -7351,7 +7352,7 @@ dependencies = [ [[package]] name = "turbopack" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "async-recursion", @@ -7384,7 +7385,7 @@ dependencies = [ [[package]] name = "turbopack-binding" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "auto-hash-map", "mdxjs", @@ -7424,7 +7425,7 @@ dependencies = [ [[package]] name = "turbopack-browser" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7450,7 +7451,7 @@ dependencies = [ [[package]] name = "turbopack-cli-utils" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "clap", @@ -7469,7 +7470,7 @@ dependencies = [ [[package]] name = "turbopack-core" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "async-recursion", @@ -7500,7 +7501,7 @@ dependencies = [ [[package]] name = "turbopack-css" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "async-trait", @@ -7528,7 +7529,7 @@ dependencies = [ [[package]] name = "turbopack-dev-server" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "async-compression", @@ -7565,7 +7566,7 @@ dependencies = [ [[package]] name = "turbopack-ecmascript" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "async-trait", @@ -7603,7 +7604,7 @@ dependencies = [ [[package]] name = "turbopack-ecmascript-hmr-protocol" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "serde", "serde_json", @@ -7614,7 +7615,7 @@ dependencies = [ [[package]] name = "turbopack-ecmascript-plugins" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "async-trait", @@ -7639,7 +7640,7 @@ dependencies = [ [[package]] name = "turbopack-ecmascript-runtime" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "indoc", @@ -7656,7 +7657,7 @@ dependencies = [ [[package]] name = "turbopack-env" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7672,7 +7673,7 @@ dependencies = [ [[package]] name = "turbopack-image" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "base64 0.21.4", @@ -7692,7 +7693,7 @@ dependencies = [ [[package]] name = "turbopack-json" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "serde", @@ -7707,7 +7708,7 @@ dependencies = [ [[package]] name = "turbopack-mdx" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "mdxjs", @@ -7722,7 +7723,7 @@ dependencies = [ [[package]] name = "turbopack-node" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "async-stream", @@ -7760,7 +7761,7 @@ dependencies = [ [[package]] name = "turbopack-nodejs" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7784,7 +7785,7 @@ dependencies = [ [[package]] name = "turbopack-resolve" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "async-recursion", @@ -7806,7 +7807,7 @@ dependencies = [ [[package]] name = "turbopack-static" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "serde", @@ -7822,7 +7823,7 @@ dependencies = [ [[package]] name = "turbopack-swc-utils" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "swc_core", "turbo-tasks", @@ -7833,7 +7834,7 @@ dependencies = [ [[package]] name = "turbopack-trace-utils" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "crossbeam-channel", @@ -7849,7 +7850,7 @@ dependencies = [ [[package]] name = "turbopack-wasm" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240321.3#f8bff1a1177b7fb60d37a8bb496cd0eecc23855b" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" dependencies = [ "anyhow", "indexmap 1.9.3", diff --git a/Cargo.toml b/Cargo.toml index 042756dc432bd..ff40055d38010 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,11 +37,11 @@ swc_core = { version = "0.90.24", features = [ testing = { version = "0.35.21" } # Turbo crates -turbopack-binding = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240321.3" } +turbopack-binding = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240322.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-240321.3" } +turbo-tasks = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240322.2" } # [TODO]: need to refactor embed_directory! macro usage in next-core -turbo-tasks-fs = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240321.3" } +turbo-tasks-fs = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240322.2" } # General Deps diff --git a/packages/next/package.json b/packages/next/package.json index 728e1e1b077fd..06b79d26d8df7 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -192,7 +192,7 @@ "@types/ws": "8.2.0", "@vercel/ncc": "0.34.0", "@vercel/nft": "0.26.4", - "@vercel/turbopack-ecmascript-runtime": "https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240319.2", + "@vercel/turbopack-ecmascript-runtime": "https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240322.2", "acorn": "8.5.0", "amphtml-validator": "1.0.35", "anser": "1.4.9", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fd1abd919f074..f481126aa897f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1071,8 +1071,8 @@ importers: specifier: 0.26.4 version: 0.26.4 '@vercel/turbopack-ecmascript-runtime': - specifier: https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240319.2 - version: '@gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240319.2' + specifier: https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240322.2 + version: '@gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240322.2' acorn: specifier: 8.5.0 version: 8.5.0 @@ -25486,8 +25486,8 @@ packages: /zwitch@2.0.4: resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} - '@gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240319.2': - resolution: {tarball: https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240319.2} + '@gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240322.2': + resolution: {tarball: https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240322.2} name: '@vercel/turbopack-ecmascript-runtime' version: 0.0.0 dependencies: From c92bef8bf7659dc0c2789fa09db6d4b9f93cc1e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Mon, 25 Mar 2024 09:36:02 +0900 Subject: [PATCH 04/10] link next.js --- Cargo.lock | 70 +++++++++++++++++++------------------- Cargo.toml | 6 ++-- packages/next/package.json | 2 +- pnpm-lock.yaml | 8 ++--- 4 files changed, 43 insertions(+), 43 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1fe797563d27f..443aef43ae020 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -321,7 +321,7 @@ dependencies = [ [[package]] name = "auto-hash-map" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "serde", "smallvec", @@ -3217,7 +3217,7 @@ dependencies = [ [[package]] name = "node-file-trace" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "serde", @@ -7161,7 +7161,7 @@ dependencies = [ [[package]] name = "turbo-tasks" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "async-trait", @@ -7193,7 +7193,7 @@ dependencies = [ [[package]] name = "turbo-tasks-build" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "cargo-lock", @@ -7205,7 +7205,7 @@ dependencies = [ [[package]] name = "turbo-tasks-bytes" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "bytes", @@ -7220,7 +7220,7 @@ dependencies = [ [[package]] name = "turbo-tasks-env" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "dotenvs", @@ -7234,7 +7234,7 @@ dependencies = [ [[package]] name = "turbo-tasks-fetch" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7251,7 +7251,7 @@ dependencies = [ [[package]] name = "turbo-tasks-fs" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "auto-hash-map", @@ -7283,7 +7283,7 @@ dependencies = [ [[package]] name = "turbo-tasks-hash" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "base16", "hex", @@ -7295,7 +7295,7 @@ dependencies = [ [[package]] name = "turbo-tasks-macros" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "convert_case 0.6.0", @@ -7309,7 +7309,7 @@ dependencies = [ [[package]] name = "turbo-tasks-macros-shared" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "proc-macro2", "quote", @@ -7319,7 +7319,7 @@ dependencies = [ [[package]] name = "turbo-tasks-malloc" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "mimalloc", ] @@ -7327,7 +7327,7 @@ dependencies = [ [[package]] name = "turbo-tasks-memory" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "auto-hash-map", @@ -7352,7 +7352,7 @@ dependencies = [ [[package]] name = "turbopack" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "async-recursion", @@ -7385,7 +7385,7 @@ dependencies = [ [[package]] name = "turbopack-binding" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "auto-hash-map", "mdxjs", @@ -7425,7 +7425,7 @@ dependencies = [ [[package]] name = "turbopack-browser" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7451,7 +7451,7 @@ dependencies = [ [[package]] name = "turbopack-cli-utils" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "clap", @@ -7470,7 +7470,7 @@ dependencies = [ [[package]] name = "turbopack-core" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "async-recursion", @@ -7501,7 +7501,7 @@ dependencies = [ [[package]] name = "turbopack-css" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "async-trait", @@ -7529,7 +7529,7 @@ dependencies = [ [[package]] name = "turbopack-dev-server" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "async-compression", @@ -7566,7 +7566,7 @@ dependencies = [ [[package]] name = "turbopack-ecmascript" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "async-trait", @@ -7604,7 +7604,7 @@ dependencies = [ [[package]] name = "turbopack-ecmascript-hmr-protocol" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "serde", "serde_json", @@ -7615,7 +7615,7 @@ dependencies = [ [[package]] name = "turbopack-ecmascript-plugins" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "async-trait", @@ -7640,7 +7640,7 @@ dependencies = [ [[package]] name = "turbopack-ecmascript-runtime" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "indoc", @@ -7657,7 +7657,7 @@ dependencies = [ [[package]] name = "turbopack-env" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7673,7 +7673,7 @@ dependencies = [ [[package]] name = "turbopack-image" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "base64 0.21.4", @@ -7693,7 +7693,7 @@ dependencies = [ [[package]] name = "turbopack-json" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "serde", @@ -7708,7 +7708,7 @@ dependencies = [ [[package]] name = "turbopack-mdx" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "mdxjs", @@ -7723,7 +7723,7 @@ dependencies = [ [[package]] name = "turbopack-node" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "async-stream", @@ -7761,7 +7761,7 @@ dependencies = [ [[package]] name = "turbopack-nodejs" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7785,7 +7785,7 @@ dependencies = [ [[package]] name = "turbopack-resolve" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "async-recursion", @@ -7807,7 +7807,7 @@ dependencies = [ [[package]] name = "turbopack-static" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "serde", @@ -7823,7 +7823,7 @@ dependencies = [ [[package]] name = "turbopack-swc-utils" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "swc_core", "turbo-tasks", @@ -7834,7 +7834,7 @@ dependencies = [ [[package]] name = "turbopack-trace-utils" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "crossbeam-channel", @@ -7850,7 +7850,7 @@ dependencies = [ [[package]] name = "turbopack-wasm" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240322.2#4774f9efb5d54a4059c79b7b6d93984ae81bb284" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240325.1#d4cc4e05e16cc7567f724ac41aa6eaf34c6e50ae" dependencies = [ "anyhow", "indexmap 1.9.3", diff --git a/Cargo.toml b/Cargo.toml index ff40055d38010..d6c3620050df3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,11 +37,11 @@ swc_core = { version = "0.90.24", features = [ testing = { version = "0.35.21" } # Turbo crates -turbopack-binding = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240322.2" } +turbopack-binding = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240325.1" } # [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-240322.2" } +turbo-tasks = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240325.1" } # [TODO]: need to refactor embed_directory! macro usage in next-core -turbo-tasks-fs = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240322.2" } +turbo-tasks-fs = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240325.1" } # General Deps diff --git a/packages/next/package.json b/packages/next/package.json index 758a2a98b140e..816974e4d7fd5 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -192,7 +192,7 @@ "@types/ws": "8.2.0", "@vercel/ncc": "0.34.0", "@vercel/nft": "0.26.4", - "@vercel/turbopack-ecmascript-runtime": "https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240322.2", + "@vercel/turbopack-ecmascript-runtime": "https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240325.1", "acorn": "8.5.0", "amphtml-validator": "1.0.35", "anser": "1.4.9", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 17541c28a6656..549011bceaf9d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1071,8 +1071,8 @@ importers: specifier: 0.26.4 version: 0.26.4 '@vercel/turbopack-ecmascript-runtime': - specifier: https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240322.2 - version: '@gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240322.2' + specifier: https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240325.1 + version: '@gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240325.1' acorn: specifier: 8.5.0 version: 8.5.0 @@ -25486,8 +25486,8 @@ packages: /zwitch@2.0.4: resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} - '@gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240322.2': - resolution: {tarball: https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240322.2} + '@gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240325.1': + resolution: {tarball: https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240325.1} name: '@vercel/turbopack-ecmascript-runtime' version: 0.0.0 dependencies: From f15c2eeba456dfd43ef487fc90a2008c3cf6a130 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Mon, 25 Mar 2024 10:32:54 +0900 Subject: [PATCH 05/10] Update jest snapshot --- .../ReactRefreshLogBox-builtins.test.ts | 8 ++++++++ .../ReactRefreshLogBox-builtins.test.ts | 19 ++++++++++++++++++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/test/development/acceptance-app/ReactRefreshLogBox-builtins.test.ts b/test/development/acceptance-app/ReactRefreshLogBox-builtins.test.ts index e22624e77b709..4f96c8a35d2ba 100644 --- a/test/development/acceptance-app/ReactRefreshLogBox-builtins.test.ts +++ b/test/development/acceptance-app/ReactRefreshLogBox-builtins.test.ts @@ -58,6 +58,8 @@ describe.each(['default', 'turbo'])('ReactRefreshLogBox app %s', () => { | ^^^^^^^^^^^^^^ 2 | module.exports = dns + Import map: No import map entry + https://nextjs.org/docs/messages/module-not-found" `) } else { @@ -106,6 +108,8 @@ describe.each(['default', 'turbo'])('ReactRefreshLogBox app %s', () => { 3 | return ( 4 |
+ Import map: No import map entry + https://nextjs.org/docs/messages/module-not-found" `) } else { @@ -160,6 +164,8 @@ describe.each(['default', 'turbo'])('ReactRefreshLogBox app %s', () => { 4 | return ( 5 |
+ Import map: No import map entry + https://nextjs.org/docs/messages/module-not-found" `) } else { @@ -210,6 +216,8 @@ describe.each(['default', 'turbo'])('ReactRefreshLogBox app %s', () => { 4 | return

index page

5 | } + Import map: No import map entry + https://nextjs.org/docs/messages/module-not-found" `) } else { diff --git a/test/development/acceptance/ReactRefreshLogBox-builtins.test.ts b/test/development/acceptance/ReactRefreshLogBox-builtins.test.ts index 65069a556c8cc..dd72cc0ccfa1d 100644 --- a/test/development/acceptance/ReactRefreshLogBox-builtins.test.ts +++ b/test/development/acceptance/ReactRefreshLogBox-builtins.test.ts @@ -65,7 +65,18 @@ describe.each(['default', 'turbo'])('ReactRefreshLogBox %s', () => { Import trace for requested module: ./index.js ./pages/index.js" -` +`, + ` + "./node_modules/my-package/index.js:1:13 + Module not found: Can't resolve 'dns' + > 1 | const dns = require('dns') + | ^^^^^^^^^^^^^^ + 2 | module.exports = dns + + Import map: No import map entry + + https://nextjs.org/docs/messages/module-not-found" + ` ) await cleanup() @@ -102,6 +113,8 @@ describe.each(['default', 'turbo'])('ReactRefreshLogBox %s', () => { 3 | export default function Oops() { 4 | return ( + Import map: No import map entry + https://nextjs.org/docs/messages/module-not-found" `) } else { @@ -155,6 +168,8 @@ describe.each(['default', 'turbo'])('ReactRefreshLogBox %s', () => { 3 | export default function Oops() { 4 | return ( + Import map: No import map entry + https://nextjs.org/docs/messages/module-not-found" `) } else { @@ -211,6 +226,8 @@ describe.each(['default', 'turbo'])('ReactRefreshLogBox %s', () => { 3 | export default function App({ Component, pageProps }) { 4 | return + Import map: No import map entry + https://nextjs.org/docs/messages/module-not-found" `) } else { From 15fd0d4975763d5a1129babff791a2de5c8616da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Mon, 25 Mar 2024 10:49:44 +0900 Subject: [PATCH 06/10] split --- .../ReactRefreshLogBox-builtins.test.ts | 45 ++++++++----------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/test/development/acceptance/ReactRefreshLogBox-builtins.test.ts b/test/development/acceptance/ReactRefreshLogBox-builtins.test.ts index dd72cc0ccfa1d..aaba9c9ebc7cd 100644 --- a/test/development/acceptance/ReactRefreshLogBox-builtins.test.ts +++ b/test/development/acceptance/ReactRefreshLogBox-builtins.test.ts @@ -45,39 +45,32 @@ describe.each(['default', 'turbo'])('ReactRefreshLogBox %s', () => { ` ) expect(await session.hasRedbox()).toBe(true) - expect(await session.getRedboxSource()).toMatchInlineSnapshot( - process.env.TURBOPACK - ? ` - "./node_modules/my-package/index.js:1:13 - Module not found: Can't resolve 'dns' - > 1 | const dns = require('dns') - | ^^^^^^^^^^^^^^ - 2 | module.exports = dns - - https://nextjs.org/docs/messages/module-not-found" - ` - : ` - "./node_modules/my-package/index.js:1:1 - Module not found: Can't resolve 'dns' - - https://nextjs.org/docs/messages/module-not-found - - Import trace for requested module: - ./index.js - ./pages/index.js" -`, - ` + if (process.env.TURBOPACK) { + expect(await session.getRedboxSource()).toMatchInlineSnapshot( + ` "./node_modules/my-package/index.js:1:13 Module not found: Can't resolve 'dns' > 1 | const dns = require('dns') | ^^^^^^^^^^^^^^ 2 | module.exports = dns - - Import map: No import map entry - + https://nextjs.org/docs/messages/module-not-found" ` - ) + ) + } else { + expect(await session.getRedboxSource()).toMatchInlineSnapshot( + ` + "./node_modules/my-package/index.js:1:1 + Module not found: Can't resolve 'dns' + + https://nextjs.org/docs/messages/module-not-found + + Import trace for requested module: + ./index.js + ./pages/index.js" + ` + ) + } await cleanup() }) From 383af5fddc5e5f71797f09a5bf1a6acfdbab6b10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Mon, 25 Mar 2024 10:52:54 +0900 Subject: [PATCH 07/10] Update jest snapshot --- .../ReactRefreshLogBox-builtins.test.ts | 44 +++++++++---------- 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/test/development/acceptance/ReactRefreshLogBox-builtins.test.ts b/test/development/acceptance/ReactRefreshLogBox-builtins.test.ts index aaba9c9ebc7cd..fc1086743ce93 100644 --- a/test/development/acceptance/ReactRefreshLogBox-builtins.test.ts +++ b/test/development/acceptance/ReactRefreshLogBox-builtins.test.ts @@ -46,30 +46,28 @@ describe.each(['default', 'turbo'])('ReactRefreshLogBox %s', () => { ) expect(await session.hasRedbox()).toBe(true) if (process.env.TURBOPACK) { - expect(await session.getRedboxSource()).toMatchInlineSnapshot( - ` - "./node_modules/my-package/index.js:1:13 - Module not found: Can't resolve 'dns' - > 1 | const dns = require('dns') - | ^^^^^^^^^^^^^^ - 2 | module.exports = dns - - https://nextjs.org/docs/messages/module-not-found" - ` - ) + expect(await session.getRedboxSource()).toMatchInlineSnapshot(` + "./node_modules/my-package/index.js:1:13 + Module not found: Can't resolve 'dns' + > 1 | const dns = require('dns') + | ^^^^^^^^^^^^^^ + 2 | module.exports = dns + + Import map: No import map entry + + https://nextjs.org/docs/messages/module-not-found" + `) } else { - expect(await session.getRedboxSource()).toMatchInlineSnapshot( - ` - "./node_modules/my-package/index.js:1:1 - Module not found: Can't resolve 'dns' - - https://nextjs.org/docs/messages/module-not-found - - Import trace for requested module: - ./index.js - ./pages/index.js" - ` - ) + expect(await session.getRedboxSource()).toMatchInlineSnapshot(` + "./node_modules/my-package/index.js:1:1 + Module not found: Can't resolve 'dns' + + https://nextjs.org/docs/messages/module-not-found + + Import trace for requested module: + ./index.js + ./pages/index.js" + `) } await cleanup() From 7f77410e0ff754621d195711c177f6d2b674be45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Mon, 25 Mar 2024 11:12:34 +0900 Subject: [PATCH 08/10] Update jest snapshot --- test/development/acceptance-app/ReactRefreshLogBox.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/development/acceptance-app/ReactRefreshLogBox.test.ts b/test/development/acceptance-app/ReactRefreshLogBox.test.ts index 4786478abeda3..a9b24fd3bcbbd 100644 --- a/test/development/acceptance-app/ReactRefreshLogBox.test.ts +++ b/test/development/acceptance-app/ReactRefreshLogBox.test.ts @@ -240,7 +240,7 @@ describe.each(['default', 'turbo'])('ReactRefreshLogBox app %s', () => { "./index.js Error: x Unexpected token. Did you mean \`{'}'}\` or \`}\`? - ,-[TEST_DIR/index.js:4:1] + ,-[4:1] 4 |

lol

5 | div 6 | ) @@ -249,7 +249,7 @@ describe.each(['default', 'turbo'])('ReactRefreshLogBox app %s', () => { \`---- x Unexpected eof - ,-[TEST_DIR/index.js:4:1] + ,-[4:1] 4 |

lol

5 | div 6 | ) From b23b3e79845c53046e2ee1ba9f50d96020f8ab82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Mon, 25 Mar 2024 11:39:28 +0900 Subject: [PATCH 09/10] Update jest snapshot --- .../__snapshots__/ReactRefreshLogBox.test.ts.snap | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/development/acceptance-app/__snapshots__/ReactRefreshLogBox.test.ts.snap b/test/development/acceptance-app/__snapshots__/ReactRefreshLogBox.test.ts.snap index d764792b4b98e..eb372372b50e3 100644 --- a/test/development/acceptance-app/__snapshots__/ReactRefreshLogBox.test.ts.snap +++ b/test/development/acceptance-app/__snapshots__/ReactRefreshLogBox.test.ts.snap @@ -106,6 +106,8 @@ Module not found: Can't resolve './boom.css' > 1 | @import "./boom.css" | ^ +Import map: No import map entry + https://nextjs.org/docs/messages/module-not-found" `; @@ -115,6 +117,8 @@ Module not found: Can't resolve 'non-existing-module' > 1 | import "non-existing-module" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Import map: No import map entry + https://nextjs.org/docs/messages/module-not-found" `; From f3d6af205f73e9d9f1acb027a34f23f07f77f2f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Mon, 25 Mar 2024 11:59:36 +0900 Subject: [PATCH 10/10] revert --- test/development/acceptance-app/ReactRefreshLogBox.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/development/acceptance-app/ReactRefreshLogBox.test.ts b/test/development/acceptance-app/ReactRefreshLogBox.test.ts index a9b24fd3bcbbd..4786478abeda3 100644 --- a/test/development/acceptance-app/ReactRefreshLogBox.test.ts +++ b/test/development/acceptance-app/ReactRefreshLogBox.test.ts @@ -240,7 +240,7 @@ describe.each(['default', 'turbo'])('ReactRefreshLogBox app %s', () => { "./index.js Error: x Unexpected token. Did you mean \`{'}'}\` or \`}\`? - ,-[4:1] + ,-[TEST_DIR/index.js:4:1] 4 |

lol

5 | div 6 | ) @@ -249,7 +249,7 @@ describe.each(['default', 'turbo'])('ReactRefreshLogBox app %s', () => { \`---- x Unexpected eof - ,-[4:1] + ,-[TEST_DIR/index.js:4:1] 4 |

lol

5 | div 6 | )