diff --git a/Cargo.lock b/Cargo.lock index aa693c9c87..eea6d144d5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -29,14 +29,23 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" +[[package]] +name = "ahash" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" +dependencies = [ + "cfg-if", + "once_cell", + "version_check", + "zerocopy", +] + [[package]] name = "allocator-api2" version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" -dependencies = [ - "serde", -] [[package]] name = "android-tzdata" @@ -122,9 +131,9 @@ dependencies = [ [[package]] name = "ast_node" -version = "0.9.9" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9184f2b369b3e8625712493c89b785881f27eedc6cde480a81883cef78868b2" +checksum = "f4d23a6d1d5f18bdbc06d9aa908880e5f49205156ba804751af731c51f5cf81a" dependencies = [ "proc-macro2", "quote", @@ -584,9 +593,9 @@ dependencies = [ [[package]] name = "from_variant" -version = "0.1.9" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32016f1242eb82af5474752d00fd8ebcd9004bd69b462b1c91de833972d08ed4" +checksum = "e8d8947525c49c73130b5a7187b55b027b6b78fe60268d9f4c283ed690698cb1" dependencies = [ "proc-macro2", "swc_macros_common", @@ -736,6 +745,10 @@ name = "hashbrown" version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" +dependencies = [ + "ahash", + "allocator-api2", +] [[package]] name = "heck" @@ -1076,7 +1089,7 @@ dependencies = [ "serenity", "sha2", "swc_allocator", - "swc_atoms 1.0.0", + "swc_atoms", "swc_common", "swc_ecma_ast", "swc_ecma_parser", @@ -1858,33 +1871,22 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "swc_allocator" -version = "0.1.6" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dae2f696639ba1834a7edb1765a5ea0a7ef57de52ac1403135929bd006748731" +checksum = "7016ee7a5186d6a80e381aa1926e0f3c7b06eaf444745ff7af3632e978eb8dc5" dependencies = [ - "allocator-api2", "bumpalo", + "hashbrown", "ptr_meta", - "triomphe", -] - -[[package]] -name = "swc_atoms" -version = "0.6.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb6567e4e67485b3e7662b486f1565bdae54bd5b9d6b16b2ba1a9babb1e42125" -dependencies = [ - "hstr", - "once_cell", "rustc-hash", - "serde", + "triomphe", ] [[package]] name = "swc_atoms" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0963b5f4cb08353dd4a386c7b5ee1c99d5a097722cdbc6a522efb2aeb91aad71" +checksum = "26cbf6019321add3a50377aaa4e06767a97a115084895289e10be000db207faf" dependencies = [ "hstr", "once_cell", @@ -1894,9 +1896,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.36.0" +version = "0.40.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df5ed098e191c0cb289aa89eeae8a5312993cf0997e7c83e011e0a7dd1f6ce7b" +checksum = "f355465eaed1104244ce918b7ffb77ceb109aabeb74b04b98acae85683b0215b" dependencies = [ "ast_node", "better_scoped_tls", @@ -1910,7 +1912,7 @@ dependencies = [ "serde", "siphasher", "swc_allocator", - "swc_atoms 0.6.7", + "swc_atoms", "swc_eq_ignore_macros", "swc_visit", "tracing", @@ -1920,9 +1922,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.117.0" +version = "0.121.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "536e973cd624cada731c22ad9ba3aa7a6432a5c1b6e002ec4f12809a8718da5d" +checksum = "db7e1b73c85ff968404867505646b3c6f26e4661e4fc831593b9e182fa59ddd4" dependencies = [ "bitflags 2.6.0", "is-macro", @@ -1930,16 +1932,16 @@ dependencies = [ "phf", "scoped-tls", "string_enum", - "swc_atoms 0.6.7", + "swc_atoms", "swc_common", "unicode-id-start", ] [[package]] name = "swc_ecma_parser" -version = "0.148.0" +version = "0.152.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59627c3704453c1bcb283c51ee161a5acf9988c80f80ef0250743fede0406602" +checksum = "a4cfd7930abe18c6829d4adedb5249e1b9fa68e8e786c6636250637992ba0466" dependencies = [ "either", "new_debug_unreachable", @@ -1950,7 +1952,7 @@ dependencies = [ "smallvec", "smartstring", "stacker", - "swc_atoms 0.6.7", + "swc_atoms", "swc_common", "swc_ecma_ast", "tracing", diff --git a/Cargo.toml b/Cargo.toml index fe03d66705..fc821d210c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,14 +11,14 @@ edition = "2021" [dependencies] clap = { version = "=4.5.18", features = ["derive"] } -swc_common = "=0.36.0" +swc_common = "=0.40.1" sha2 = "=0.10.8" hex = "=0.4.3" serde_json = "=1.0.128" -swc_atoms = "=1.0.0" +swc_atoms = "=1.0.1" rxp = "=0.2.0" -swc_ecma_parser = "=0.148.0" -swc_ecma_ast = "=0.117.0" -swc_allocator = "=0.1.6" +swc_ecma_parser = "=0.152.1" +swc_ecma_ast = "=0.121.1" +swc_allocator = "=0.1.9" serenity = "=0.12.2" tokio = { version = "=1.40.0", features = ["rt", "rt-multi-thread", "macros"] }