diff --git a/Cargo.lock b/Cargo.lock index 1bd3b63..fc56b83 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -321,8 +321,8 @@ dependencies = [ "log", "serde", "serde_json", - "swc_common", - "swc_ecma_ast", + "swc_common 0.31.22", + "swc_ecma_ast 0.112.3", "swc_ecma_parser", "swc_ecma_visit", "tempfile", @@ -367,6 +367,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" @@ -602,16 +615,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" @@ -621,6 +667,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" @@ -885,7 +940,7 @@ dependencies = [ "new_debug_unreachable", "once_cell", "parking_lot", - "phf_shared", + "phf_shared 0.10.0", "precomputed-hash", "serde", ] @@ -896,8 +951,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", ] @@ -953,6 +1008,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" @@ -971,7 +1038,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.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c85e8b15d0fb87691e27c8f3cf953748db3ccd2a39e165d6d5275a48fb0d29e3" +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", @@ -990,8 +1082,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.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a20cb4b0fcdc117296fdbe5979889a0a37b160cc76c2b152b1abb510d2a0340" +dependencies = [ + "bitflags 2.4.2", + "is-macro", + "num-bigint", + "phf", + "scoped-tls", + "string_enum", + "swc_atoms 0.6.5", + "swc_common 0.33.18", "unicode-id", ] @@ -1008,9 +1117,9 @@ 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", ] @@ -1022,9 +1131,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f61da6cac0ec3b7e62d367cfbd9e38e078a4601271891ad94f0dac5ff69f839" dependencies = [ "num-bigint", - "swc_atoms", - "swc_common", - "swc_ecma_ast", + "swc_atoms 0.5.9", + "swc_common 0.31.22", + "swc_ecma_ast 0.106.6", "swc_visit", "tracing", ] @@ -1053,9 +1162,9 @@ dependencies = [ [[package]] name = "swc_visit" -version = "0.5.8" +version = "0.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b27078d8571abe23aa52ef608dd1df89096a37d867cf691cbb4f4c392322b7c9" +checksum = "358e246dedeb4ae8efacebcce1360dc2f9b6c0b4c1ad8b737cc60f5b6633691a" dependencies = [ "either", "swc_visit_macros", @@ -1063,9 +1172,9 @@ dependencies = [ [[package]] name = "swc_visit_macros" -version = "0.5.9" +version = "0.5.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa8bb05975506741555ea4d10c3a3bdb0e2357cd58e1a4a4332b8ebb4b44c34d" +checksum = "fbbbb9d77d5112f90ed7ea00477135b16c4370c872b93a0b63b766e8710650ad" dependencies = [ "Inflector", "pmutil", diff --git a/crates/fta/Cargo.toml b/crates/fta/Cargo.toml index a6ff73d..1dee735 100644 --- a/crates/fta/Cargo.toml +++ b/crates/fta/Cargo.toml @@ -19,7 +19,7 @@ log = "0.4" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" swc_common = "0.31.12" -swc_ecma_ast = "0.106.0" +swc_ecma_ast = "0.112.3" swc_ecma_parser = "0.136.0" swc_ecma_visit = "0.92.0" tempfile = "3.10.0"