diff --git a/Cargo.lock b/Cargo.lock index 96901f544d..404ceaa95a 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 = "hashbrown" @@ -1082,7 +1095,7 @@ dependencies = [ "serenity", "sha2", "swc_allocator", - "swc_atoms 1.0.0", + "swc_atoms", "swc_common", "swc_ecma_ast", "swc_ecma_parser", @@ -1855,33 +1868,22 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "swc_allocator" -version = "0.1.6" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dae2f696639ba1834a7edb1765a5ea0a7ef57de52ac1403135929bd006748731" +checksum = "76aa0eb65c0f39f9b6d82a7e5192c30f7ac9a78f084a21f270de1d8c600ca388" dependencies = [ - "allocator-api2", "bumpalo", + "hashbrown 0.14.5", "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.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0963b5f4cb08353dd4a386c7b5ee1c99d5a097722cdbc6a522efb2aeb91aad71" +checksum = "b25ff0f3fd48ab1a95d86fd0505fdd1ac904f84d0350dc8222bbc824e9d4fdf6" dependencies = [ "hstr", "once_cell", @@ -1891,9 +1893,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.36.0" +version = "0.40.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df5ed098e191c0cb289aa89eeae8a5312993cf0997e7c83e011e0a7dd1f6ce7b" +checksum = "ca32839a37f3b12213b18623b1bd58d37641cab750c50c3c287876cb98b12ab4" dependencies = [ "ast_node", "better_scoped_tls", @@ -1907,7 +1909,7 @@ dependencies = [ "serde", "siphasher", "swc_allocator", - "swc_atoms 0.6.7", + "swc_atoms", "swc_eq_ignore_macros", "swc_visit", "tracing", @@ -1917,9 +1919,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.117.0" +version = "0.121.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "536e973cd624cada731c22ad9ba3aa7a6432a5c1b6e002ec4f12809a8718da5d" +checksum = "84d568834a727fc06c608db119dcea52c2d58e9426e92e72f358e2f7dc847063" dependencies = [ "bitflags 2.6.0", "is-macro", @@ -1927,16 +1929,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.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59627c3704453c1bcb283c51ee161a5acf9988c80f80ef0250743fede0406602" +checksum = "b888663998ef49da15d1dd3377e6b62bab4f994588e4f405628cb058d11ce8b3" dependencies = [ "either", "new_debug_unreachable", @@ -1947,7 +1949,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 7f40dd2c9e..d3d8b6d228 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,14 +11,14 @@ edition = "2021" [dependencies] clap = { version = "=4.5.20", features = ["derive"] } -swc_common = "=0.36.0" +swc_common = "=0.40.2" sha2 = "=0.10.8" hex = "=0.4.3" serde_json = "=1.0.132" -swc_atoms = "=1.0.0" +swc_atoms = "=1.0.2" 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.2" +swc_ecma_ast = "=0.121.2" +swc_allocator = "=0.1.10" serenity = "=0.12.2" tokio = { version = "=1.41.0", features = ["rt", "rt-multi-thread", "macros"] } diff --git a/package.json b/package.json index 4212d5f7f2..dad8d41579 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "@pulumi/awsx": "2.16.1", "@pulumi/pulumi": "3.137.0", "@schemastore/package": "0.0.10", - "@swc/cli": "0.4.0", + "@swc/cli": "0.5.0", "@testing-library/react": "16.0.1", "@types/cross-spawn": "6.0.6", "@types/d3-axis": "3.0.6", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4065a4c977..bc62e91a57 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -221,8 +221,8 @@ devDependencies: specifier: 0.0.10 version: 0.0.10 '@swc/cli': - specifier: 0.4.0 - version: 0.4.0(@swc/core@1.7.42) + specifier: 0.5.0 + version: 0.5.0(@swc/core@1.7.42) '@testing-library/react': specifier: 16.0.1 version: 16.0.1(@testing-library/dom@10.4.0)(@types/react-dom@18.3.1)(@types/react@18.3.12)(react-dom@18.3.1)(react@18.3.1) @@ -6589,8 +6589,8 @@ packages: tslib: 2.8.1 dev: true - /@swc/cli@0.4.0(@swc/core@1.7.42): - resolution: {integrity: sha512-4JdVrPtF/4rCMXp6Q1h5I6YkYZrCCcqod7Wk97ZQq7K8vNGzJUryBv4eHCvqx5sJOJBrbYm9fcswe1B0TygNoA==} + /@swc/cli@0.5.0(@swc/core@1.7.42): + resolution: {integrity: sha512-eFsrNt85SbHTeX6svpBNcA5DQLP/wrSyCs3KVZjbuEHWD7JGpajZOIwH74lVhyrmrXOcGxgbnxXEbDIfRlLcSw==} engines: {node: '>= 16.14.0'} hasBin: true peerDependencies: