diff --git a/Cargo.lock b/Cargo.lock index 7178062..0faf913 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -422,9 +422,9 @@ dependencies = [ [[package]] name = "deno_ast" -version = "0.39.2" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "132aace7b62c317da51f84f1cfbbbfc56ce643110821937c04b36c916db64341" +checksum = "4d08372522975cce97fe0efbe42fea508c76eea4421619de6d63baae32792f7d" dependencies = [ "anyhow", "base64", @@ -463,9 +463,9 @@ dependencies = [ [[package]] name = "deno_graph" -version = "0.79.0" +version = "0.80.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "caa95531b3eb65aced626d8dd8117b29b3e57763e0c1ace502101fb56b8a2c31" +checksum = "e1ec763fcd824d63cc056f153ba7fbf6254b515c347ec8b7d1a21515742547bb" dependencies = [ "anyhow", "async-trait", @@ -581,9 +581,9 @@ dependencies = [ [[package]] name = "dprint-swc-ext" -version = "0.16.0" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "019d17f2c2457c5a70a7cf4505b1a562ca8ab168c0ac0c005744efbd29fcb8fe" +checksum = "5a0d5b63e52434314e3d767c463b1f68c467c31e61d279bc019227016c44e535" dependencies = [ "num-bigint", "rustc-hash", @@ -1215,9 +1215,9 @@ dependencies = [ [[package]] name = "new_debug_unreachable" -version = "1.0.4" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54" +checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086" [[package]] name = "num-bigint" @@ -1860,10 +1860,10 @@ dependencies = [ ] [[package]] -name = "sha-1" -version = "0.10.0" +name = "sha1" +version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "028f48d513f9678cda28f6e4064755b3fbb2af6acd672f2c209b62323f7aea0f" +checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" dependencies = [ "cfg-if", "cpufeatures", @@ -2028,9 +2028,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.33.26" +version = "0.34.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2f9706038906e66f3919028f9f7a37f3ed552f1b85578e93f4468742e2da438" +checksum = "9087befec6b63911f9d2f239e4f91c9b21589c169b86ed2d616944d23cf4a243" dependencies = [ "ast_node", "better_scoped_tls", @@ -2080,9 +2080,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.113.7" +version = "0.115.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98a534a8360a076a030989f6d121ba6044345594bdf0457c4629f432742026b8" +checksum = "7be1306930c235435a892104c00c2b5e16231043c085d5a10bd3e7537b15659b" dependencies = [ "bitflags 2.5.0", "is-macro", @@ -2098,9 +2098,9 @@ dependencies = [ [[package]] name = "swc_ecma_codegen" -version = "0.149.3" +version = "0.151.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efb2bef3f4998865b2d466fb2ef9410a03449d255d199f3eb807fb19acc3862b" +checksum = "f5141a8cb4eb69e090e6aea5d49061b46919be5210f3d084f9d9ad63d30f5cff" dependencies = [ "memchr", "num-bigint", @@ -2129,9 +2129,9 @@ dependencies = [ [[package]] name = "swc_ecma_loader" -version = "0.45.28" +version = "0.46.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92c68f934bd2c51f29c4ad0bcae09924e9dc30d7ce0680367d45b42d40338a67" +checksum = "5a9febebf047d1286e7b723fa2758f3229da2c103834f3eaee69833f46692612" dependencies = [ "anyhow", "pathdiff", @@ -2143,9 +2143,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.144.3" +version = "0.146.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc0b4193b9c127db1990a5a08111aafe0122bc8b138646807c63f2a6521b7da4" +checksum = "0a4e0c2e85f12c63b85c805e923079b04d1fb3e25edd069d638eed5f2098de74" dependencies = [ "either", "new_debug_unreachable", @@ -2165,9 +2165,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "0.138.4" +version = "0.140.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7b76d09313cdd8f99bc1519fb04f8a93427c7a6f4bfbc64b39fcc5a378ab1b7" +checksum = "d37dc505c92af56d0f77cf6f31a6ccd37ac40cad1e01ff77277e0b1c70e8f8ff" dependencies = [ "better_scoped_tls", "bitflags 2.5.0", @@ -2188,9 +2188,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_classes" -version = "0.127.1" +version = "0.129.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53043d81678f3c693604eeb1d1f0fe6ba10f303104a31b954dbeebed9cadf530" +checksum = "a3eab5f8179e5b0aedf385eacc2c033691c6d211a7babd1bbbff12cf794a824e" dependencies = [ "swc_atoms", "swc_common", @@ -2214,9 +2214,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_proposal" -version = "0.172.3" +version = "0.174.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fbc414d6a9c5479cfb4c6e92fcdac504582bd7bc89a0ed7f8808b72dc8bd1f0" +checksum = "6df8aa6752cc2fcf3d78ac67827542fb666e52283f2b26802aa058906bb750d3" dependencies = [ "either", "rustc-hash", @@ -2234,16 +2234,16 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_react" -version = "0.184.1" +version = "0.186.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "565a76c4ca47ce31d78301c0beab878e4c2cb4f624691254d834ec8c0e236755" +checksum = "446da32cac8299973aaf1d37496562bfd0c1e4f3c3ab5d0af6f07f42e8184102" dependencies = [ "base64", "dashmap", "indexmap", "once_cell", "serde", - "sha-1", + "sha1", "string_enum", "swc_atoms", "swc_common", @@ -2258,9 +2258,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_typescript" -version = "0.189.1" +version = "0.191.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e209026c1d3c577cafac257d87e7c0d23119282fbdc8ed03d7f56077e95beb90" +checksum = "f1ce8af2865449e714ae56dacb6b54b3f6dc4cc25074da4e39b878bd93c5e39c" dependencies = [ "ryu-js", "serde", @@ -2275,9 +2275,9 @@ dependencies = [ [[package]] name = "swc_ecma_utils" -version = "0.128.3" +version = "0.130.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02f470d8cc31adf6189b228636201ee3cdd268c0b5a2d0407f83093dfa96ff91" +checksum = "13e62b199454a576c5fdbd7e1bef8ab88a395427456d8a713d994b7d469833aa" dependencies = [ "indexmap", "num_cpus", @@ -2294,9 +2294,9 @@ dependencies = [ [[package]] name = "swc_ecma_visit" -version = "0.99.1" +version = "0.101.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28a6ce28ad8e591f8d627f1f9cb26b25e5d83052a9bc1b674d95fc28040cfa98" +checksum = "ce0d997f0c9b4e181225f603d161f6757c2a97022258170982cfe005ec69ec92" dependencies = [ "num-bigint", "swc_atoms", diff --git a/Cargo.toml b/Cargo.toml index 7939ec4..f08b6cb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,8 @@ license = "MIT" members = ["lib"] [workspace.dependencies] -deno_graph = "0.79.0" +deno_graph = { version = "0.80.0" } +deno_ast = { version = "0.40.0" } import_map = "0.20.0" serde = "1" @@ -45,7 +46,7 @@ default = ["sha256"] [dependencies] anyhow = "1" base64 = "0.21.0" -deno_ast = { version = "0.39.0", features = ["transpiling"] } +deno_ast = { workspace = true } deno_graph = { workspace = true } deno_npm = "0.21.0" deno_semver = "0.5.4"