diff --git a/Cargo.lock b/Cargo.lock index 29961fa..b50b403 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -318,8 +318,8 @@ dependencies = [ "log", "serde", "serde_json", - "swc_common", - "swc_ecma_ast", + "swc_common 0.31.22", + "swc_ecma_ast 0.106.6", "swc_ecma_parser", "swc_ecma_visit", "tempfile", @@ -364,6 +364,19 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" +[[package]] +name = "hstr" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17fafeca18cf0927e23ea44d7a5189c10536279dfe9094e0dfa953053fbb5377" +dependencies = [ + "new_debug_unreachable", + "once_cell", + "phf", + "rustc-hash", + "smallvec", +] + [[package]] name = "humantime" version = "2.1.0" @@ -598,16 +611,49 @@ version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" +[[package]] +name = "phf" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ade2d8b8f33c7333b51bcf0428d37e217e9f32192ae4772156f65063b8ce03dc" +dependencies = [ + "phf_macros", + "phf_shared 0.11.2", +] + [[package]] name = "phf_generator" version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5d5285893bb5eb82e6aaf5d59ee909a06a16737a8970984dd7746ba9283498d6" dependencies = [ - "phf_shared", + "phf_shared 0.10.0", + "rand", +] + +[[package]] +name = "phf_generator" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48e4cc64c2ad9ebe670cb8fd69dd50ae301650392e81c05f9bfcb2d5bdbc24b0" +dependencies = [ + "phf_shared 0.11.2", "rand", ] +[[package]] +name = "phf_macros" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3444646e286606587e49f3bcf1679b8cef1dc2c5ecc29ddacaffc305180d464b" +dependencies = [ + "phf_generator 0.11.2", + "phf_shared 0.11.2", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "phf_shared" version = "0.10.0" @@ -617,6 +663,15 @@ dependencies = [ "siphasher", ] +[[package]] +name = "phf_shared" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90fcb95eef784c2ac79119d1dd819e162b5da872ce6f3c3abe1e8ca1c082f72b" +dependencies = [ + "siphasher", +] + [[package]] name = "pin-project-lite" version = "0.2.13" @@ -870,7 +925,7 @@ dependencies = [ "new_debug_unreachable", "once_cell", "parking_lot", - "phf_shared", + "phf_shared 0.10.0", "precomputed-hash", "serde", ] @@ -881,8 +936,8 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6bb30289b722be4ff74a408c3cc27edeaad656e06cb1fe8fa9231fa59c728988" dependencies = [ - "phf_generator", - "phf_shared", + "phf_generator 0.10.0", + "phf_shared 0.10.0", "proc-macro2", "quote", ] @@ -938,6 +993,18 @@ dependencies = [ "triomphe", ] +[[package]] +name = "swc_atoms" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d538eaaa6f085161d088a04cf0a3a5a52c5a7f2b3bd9b83f73f058b0ed357c0" +dependencies = [ + "hstr", + "once_cell", + "rustc-hash", + "serde", +] + [[package]] name = "swc_common" version = "0.31.22" @@ -956,7 +1023,32 @@ dependencies = [ "serde", "siphasher", "string_cache", - "swc_atoms", + "swc_atoms 0.5.9", + "swc_eq_ignore_macros", + "swc_visit", + "tracing", + "unicode-width", + "url", +] + +[[package]] +name = "swc_common" +version = "0.33.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc30ce6695b841f0a9ae01a9ca10ac3922cff559a6253c756a203c4332c62945" +dependencies = [ + "ast_node", + "better_scoped_tls", + "cfg-if", + "either", + "from_variant", + "new_debug_unreachable", + "num-bigint", + "once_cell", + "rustc-hash", + "serde", + "siphasher", + "swc_atoms 0.6.5", "swc_eq_ignore_macros", "swc_visit", "tracing", @@ -975,8 +1067,25 @@ dependencies = [ "num-bigint", "scoped-tls", "string_enum", - "swc_atoms", - "swc_common", + "swc_atoms 0.5.9", + "swc_common 0.31.22", + "unicode-id", +] + +[[package]] +name = "swc_ecma_ast" +version = "0.112.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "032f528398358da8ff2fe795755602b4a81ffc93430b9830c0e1d5f198d8f48d" +dependencies = [ + "bitflags 2.4.2", + "is-macro", + "num-bigint", + "phf", + "scoped-tls", + "string_enum", + "swc_atoms 0.6.5", + "swc_common 0.33.19", "unicode-id", ] @@ -993,23 +1102,23 @@ dependencies = [ "smallvec", "smartstring", "stacker", - "swc_atoms", - "swc_common", - "swc_ecma_ast", + "swc_atoms 0.5.9", + "swc_common 0.31.22", + "swc_ecma_ast 0.106.6", "tracing", "typed-arena", ] [[package]] name = "swc_ecma_visit" -version = "0.92.5" +version = "0.98.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f61da6cac0ec3b7e62d367cfbd9e38e078a4601271891ad94f0dac5ff69f839" +checksum = "889fc0ec3a9b55377e53e3d4ce06678247b635d7136c1e5d3a2c26578e16cd22" dependencies = [ "num-bigint", - "swc_atoms", - "swc_common", - "swc_ecma_ast", + "swc_atoms 0.6.5", + "swc_common 0.33.19", + "swc_ecma_ast 0.112.5", "swc_visit", "tracing", ] diff --git a/crates/fta/Cargo.toml b/crates/fta/Cargo.toml index 45be9c2..25c32b4 100644 --- a/crates/fta/Cargo.toml +++ b/crates/fta/Cargo.toml @@ -21,7 +21,7 @@ serde_json = "1.0" swc_common = "0.31.12" swc_ecma_ast = "0.106.0" swc_ecma_parser = "0.136.0" -swc_ecma_visit = "0.92.0" +swc_ecma_visit = "0.98.6" tempfile = "3.10.0" [features]