diff --git a/crates/swc_ecma_transforms_typescript/Cargo.toml b/crates/swc_ecma_transforms_typescript/Cargo.toml index 71d610713ab0..e5517c683f94 100644 --- a/crates/swc_ecma_transforms_typescript/Cargo.toml +++ b/crates/swc_ecma_transforms_typescript/Cargo.toml @@ -13,7 +13,8 @@ version = "0.171.20" bench = false [dependencies] -serde = { version = "1.0.118", features = ["derive"] } +serde = { version = "1.0.118", features = ["derive"] } + swc_atoms = { version = "0.4.39", path = "../swc_atoms" } swc_common = { version = "0.29.39", path = "../swc_common" } swc_ecma_ast = { version = "0.100.5", path = "../swc_ecma_ast" } @@ -23,7 +24,8 @@ swc_ecma_utils = { version = "0.113.11", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.86.6", path = "../swc_ecma_visit" } [dev-dependencies] -criterion = "0.3" +criterion = "0.3" + swc_ecma_codegen = { version = "0.135.11", path = "../swc_ecma_codegen" } swc_ecma_parser = { version = "0.130.10", path = "../swc_ecma_parser" } swc_ecma_transforms_compat = { version = "0.148.18", path = "../swc_ecma_transforms_compat" } diff --git a/crates/swc_ecma_usage_analyzer/Cargo.toml b/crates/swc_ecma_usage_analyzer/Cargo.toml index 7fcf0d0f067e..10fe605863b6 100644 --- a/crates/swc_ecma_usage_analyzer/Cargo.toml +++ b/crates/swc_ecma_usage_analyzer/Cargo.toml @@ -22,13 +22,14 @@ concurrent = ["swc_common/concurrent", "indexmap/rayon"] trace-ast = [] [dependencies] -ahash = "0.7.6" -indexmap = "1.6.1" -rustc-hash = "1.1.0" +ahash = "0.7.6" +indexmap = "1.6.1" +rustc-hash = "1.1.0" +tracing = "0.1.32" + swc_atoms = { version = "0.4.39", path = "../swc_atoms" } swc_common = { version = "0.29.39", path = "../swc_common" } swc_ecma_ast = { version = "0.100.5", path = "../swc_ecma_ast" } swc_ecma_utils = { version = "0.113.11", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.86.6", path = "../swc_ecma_visit" } swc_timer = { version = "0.17.42", path = "../swc_timer" } -tracing = "0.1.32" diff --git a/crates/swc_ecma_utils/Cargo.toml b/crates/swc_ecma_utils/Cargo.toml index 05f8a7546cb8..f04b1580904a 100644 --- a/crates/swc_ecma_utils/Cargo.toml +++ b/crates/swc_ecma_utils/Cargo.toml @@ -20,17 +20,18 @@ bench = false concurrent = ["swc_common/concurrent", "rayon"] [dependencies] -indexmap = "1.6.1" -num_cpus = "1.13.1" -once_cell = "1.10.0" -rayon = { version = "1.5.1", optional = true } -rustc-hash = "1.1.0" +indexmap = "1.6.1" +num_cpus = "1.13.1" +once_cell = "1.10.0" +rayon = { version = "1.5.1", optional = true } +rustc-hash = "1.1.0" +tracing = "0.1.32" +unicode-id = "0.3" + swc_atoms = { version = "0.4.39", path = "../swc_atoms" } swc_common = { version = "0.29.39", path = "../swc_common" } swc_ecma_ast = { version = "0.100.5", path = "../swc_ecma_ast" } swc_ecma_visit = { version = "0.86.6", path = "../swc_ecma_visit" } -tracing = "0.1.32" -unicode-id = "0.3" [dev-dependencies] swc_ecma_parser = { version = "0.130.10", path = "../swc_ecma_parser" } diff --git a/crates/swc_ecma_visit/Cargo.toml b/crates/swc_ecma_visit/Cargo.toml index 133bf52f3208..612df5ea3e17 100644 --- a/crates/swc_ecma_visit/Cargo.toml +++ b/crates/swc_ecma_visit/Cargo.toml @@ -21,10 +21,11 @@ default = [] path = [] [dependencies] -num-bigint = { version = "0.4", features = ["serde"] } -serde = { version = "1", optional = true } +num-bigint = { version = "0.4", features = ["serde"] } +serde = { version = "1", optional = true } +tracing = "0.1.32" + swc_atoms = { version = "0.4.39", path = "../swc_atoms" } swc_common = { version = "0.29.39", path = "../swc_common" } swc_ecma_ast = { version = "0.100.5", path = "../swc_ecma_ast" } swc_visit = { version = "0.5.5", path = "../swc_visit" } -tracing = "0.1.32" diff --git a/crates/swc_error_reporters/Cargo.toml b/crates/swc_error_reporters/Cargo.toml index 9f135297c4cb..72580be042ec 100644 --- a/crates/swc_error_reporters/Cargo.toml +++ b/crates/swc_error_reporters/Cargo.toml @@ -12,10 +12,11 @@ version = "0.13.40" bench = false [dependencies] -anyhow = "1" -miette = { version = "4.2.1", features = ["fancy"] } -once_cell = "1" +anyhow = "1" +miette = { version = "4.2.1", features = ["fancy"] } +once_cell = "1" parking_lot = "0.12.0" + swc_common = { version = "0.29.39", path = "../swc_common", features = [ "concurrent", ] } diff --git a/crates/swc_estree_ast/Cargo.toml b/crates/swc_estree_ast/Cargo.toml index a5ab720624d5..4d0b454dd94b 100644 --- a/crates/swc_estree_ast/Cargo.toml +++ b/crates/swc_estree_ast/Cargo.toml @@ -18,8 +18,9 @@ version = "0.19.39" bench = false [dependencies] +serde = { version = "1", features = ["derive"] } +serde_json = "1" + better_scoped_tls = { version = "0.1.0", path = "../better_scoped_tls" } -serde = { version = "1", features = ["derive"] } -serde_json = "1" swc_atoms = { version = "0.4.39", path = "../swc_atoms" } swc_common = { version = "0.29.39", path = "../swc_common" } diff --git a/crates/swc_estree_compat/Cargo.toml b/crates/swc_estree_compat/Cargo.toml index 8f4c883685bf..c530fe76f373 100644 --- a/crates/swc_estree_compat/Cargo.toml +++ b/crates/swc_estree_compat/Cargo.toml @@ -16,12 +16,13 @@ version = "0.178.27" bench = false [dependencies] -ahash = { version = "0.7.0", features = ["compile-time-rng"] } -anyhow = "1" -copyless = "0.1.5" -rayon = "1.5.0" -serde = { version = "1", features = ["derive"] } +ahash = { version = "0.7.0", features = ["compile-time-rng"] } +anyhow = "1" +copyless = "0.1.5" +rayon = "1.5.0" +serde = { version = "1", features = ["derive"] } serde_json = "1.0.62" + swc_atoms = { version = "0.4.39", path = "../swc_atoms" } swc_common = { version = "0.29.39", path = "../swc_common", features = [ "concurrent", @@ -36,8 +37,9 @@ swc_estree_ast = { version = "0.19.39", path = "../swc_estree_ast" } swc_node_comments = { version = "0.16.39", path = "../swc_node_comments/" } [dev-dependencies] -criterion = "0.3" -pretty_assertions = "1.1" +criterion = "0.3" +pretty_assertions = "1.1" + swc = { version = "0.255.27", path = "../swc" } swc_ecma_ast = { version = "0.100.5", path = "../swc_ecma_ast" } swc_ecma_parser = { version = "0.130.10", path = "../swc_ecma_parser" } diff --git a/crates/swc_fast_graph/Cargo.toml b/crates/swc_fast_graph/Cargo.toml index 8783ccdc9384..2daa31e01d82 100644 --- a/crates/swc_fast_graph/Cargo.toml +++ b/crates/swc_fast_graph/Cargo.toml @@ -1,18 +1,19 @@ [package] -authors = ["강동윤 "] +authors = ["강동윤 "] description = "Faster version of petgraph" -edition = "2021" -include = ["Cargo.toml", "src/**/*.rs"] -license = "Apache-2.0" -name = "swc_fast_graph" -repository = "https://github.com/swc-project/swc.git" -version = "0.17.41" +edition = "2021" +include = ["Cargo.toml", "src/**/*.rs"] +license = "Apache-2.0" +name = "swc_fast_graph" +repository = "https://github.com/swc-project/swc.git" +version = "0.17.41" [lib] bench = false [dependencies] -indexmap = "1.6.1" -petgraph = "0.6" -swc_common = { version = "0.29.39", path = "../swc_common" } +indexmap = "1.6.1" +petgraph = "0.6" rustc-hash = "1.1.0" + +swc_common = { version = "0.29.39", path = "../swc_common" } diff --git a/crates/swc_html_ast/Cargo.toml b/crates/swc_html_ast/Cargo.toml index d828d3bc0d7f..b704bea5016f 100644 --- a/crates/swc_html_ast/Cargo.toml +++ b/crates/swc_html_ast/Cargo.toml @@ -17,13 +17,14 @@ bench = false [features] __rkyv = [] rkyv-bytecheck-impl = [] -rkyv-impl = ["__rkyv", "rkyv", "swc_atoms/rkyv-impl", "swc_common/rkyv-impl"] +rkyv-impl = ["__rkyv", "rkyv", "swc_atoms/rkyv-impl", "swc_common/rkyv-impl"] [dependencies] -bytecheck = { version = "0.6.9", optional = true } -is-macro = "0.2.0" -rkyv = { version = "=0.7.37", optional = true } -serde = { version = "1.0.127", features = ["derive"] } +bytecheck = { version = "0.6.9", optional = true } +is-macro = "0.2.0" +rkyv = { version = "=0.7.37", optional = true } +serde = { version = "1.0.127", features = ["derive"] } + string_enum = { version = "0.3.4", path = "../string_enum/" } swc_atoms = { version = "0.4.39", path = "../swc_atoms" } swc_common = { version = "0.29.39", path = "../swc_common" } diff --git a/crates/swc_html_codegen/Cargo.toml b/crates/swc_html_codegen/Cargo.toml index d4fe5556e5ec..d25564be0020 100644 --- a/crates/swc_html_codegen/Cargo.toml +++ b/crates/swc_html_codegen/Cargo.toml @@ -16,9 +16,10 @@ version = "0.37.45" bench = false [dependencies] -auto_impl = "0.5.0" -bitflags = "1.3.2" -rustc-hash = "1.1.0" +auto_impl = "0.5.0" +bitflags = "1.3.2" +rustc-hash = "1.1.0" + swc_atoms = { version = "0.4.39", path = "../swc_atoms" } swc_common = { version = "0.29.39", path = "../swc_common" } swc_html_ast = { version = "0.28.32", path = "../swc_html_ast" } diff --git a/crates/swc_html_codegen_macros/Cargo.toml b/crates/swc_html_codegen_macros/Cargo.toml index ebde7993fce4..5f6281b11ebb 100644 --- a/crates/swc_html_codegen_macros/Cargo.toml +++ b/crates/swc_html_codegen_macros/Cargo.toml @@ -16,8 +16,9 @@ bench = false proc-macro = true [dependencies] -pmutil = "0.5.1" -proc-macro2 = "1" -quote = "1" +pmutil = "0.5.1" +proc-macro2 = "1" +quote = "1" +syn = { version = "1", features = ["fold"] } + swc_macros_common = { version = "0.3.7", path = "../swc_macros_common" } -syn = { version = "1", features = ["fold"] } diff --git a/crates/swc_html_minifier/Cargo.toml b/crates/swc_html_minifier/Cargo.toml index 2266479c740a..31359754f5f2 100644 --- a/crates/swc_html_minifier/Cargo.toml +++ b/crates/swc_html_minifier/Cargo.toml @@ -16,9 +16,10 @@ version = "0.115.26" bench = false [dependencies] -once_cell = "1.10.0" -serde = { version = "1.0.118", features = ["derive"] } -serde_json = "1.0.61" +once_cell = "1.10.0" +serde = { version = "1.0.118", features = ["derive"] } +serde_json = "1.0.61" + swc_atoms = { version = "0.4.39", path = "../swc_atoms" } swc_cached = { version = "0.3.15", path = "../swc_cached" } swc_common = { version = "0.29.39", path = "../swc_common" } @@ -39,7 +40,8 @@ swc_html_utils = { version = "0.14.40", path = "../swc_html_utils" } swc_html_visit = { version = "0.28.32", path = "../swc_html_visit" } [dev-dependencies] -criterion = "0.3" +criterion = "0.3" + swc_node_base = { version = "0.5.8", path = "../swc_node_base" } testing = { version = "0.31.42", path = "../testing" } diff --git a/crates/swc_html_parser/Cargo.toml b/crates/swc_html_parser/Cargo.toml index 12f8615e88a0..9e0cb2d44a23 100644 --- a/crates/swc_html_parser/Cargo.toml +++ b/crates/swc_html_parser/Cargo.toml @@ -25,9 +25,10 @@ swc_html_ast = { version = "0.28.32", path = "../swc_html_ast" } swc_html_utils = { version = "0.14.40", path = "../swc_html_utils" } [dev-dependencies] -criterion = "0.3" -serde = "1.0.127" -serde_json = "1.0.66" +criterion = "0.3" +serde = "1.0.127" +serde_json = "1.0.66" + swc_html_visit = { version = "0.28.32", path = "../swc_html_visit" } swc_node_base = { version = "0.5.8", path = "../swc_node_base" } testing = { version = "0.31.42", path = "../testing" } diff --git a/crates/swc_html_utils/Cargo.toml b/crates/swc_html_utils/Cargo.toml index 5eefcd89077c..16b8a4964d58 100644 --- a/crates/swc_html_utils/Cargo.toml +++ b/crates/swc_html_utils/Cargo.toml @@ -19,5 +19,6 @@ bench = false once_cell = "1.10.0" serde = { version = "1.0.118", features = ["derive"] } serde_json = "1.0.61" + swc_atoms = { version = "0.4.39", path = "../swc_atoms" } swc_common = { version = "0.29.39", path = "../swc_common" } diff --git a/crates/swc_html_visit/Cargo.toml b/crates/swc_html_visit/Cargo.toml index cf0612582399..ed6a40c95834 100644 --- a/crates/swc_html_visit/Cargo.toml +++ b/crates/swc_html_visit/Cargo.toml @@ -23,7 +23,8 @@ default = ["serde"] path = [] [dependencies] -serde = { version = "1", optional = true } +serde = { version = "1", optional = true } + swc_atoms = { version = "0.4.39", path = "../swc_atoms" } swc_common = { version = "0.29.39", path = "../swc_common" } swc_html_ast = { version = "0.28.32", path = "../swc_html_ast" } diff --git a/crates/swc_node_bundler/Cargo.toml b/crates/swc_node_bundler/Cargo.toml index a9cd2a94f96a..396b0f0693cc 100644 --- a/crates/swc_node_bundler/Cargo.toml +++ b/crates/swc_node_bundler/Cargo.toml @@ -18,13 +18,15 @@ swc_v1 = [] swc_v2 = [] [dependencies] -anyhow = "1" -dashmap = "5.1.0" -is-macro = "0.2.0" -once_cell = "1.10.0" -regex = "1" -serde = { version = "1", features = ["derive"] } +anyhow = "1" +dashmap = "5.1.0" +is-macro = "0.2.0" +once_cell = "1.10.0" +regex = "1" +serde = { version = "1", features = ["derive"] } serde_json = "1" +tracing = "0.1.32" + string_enum = { version = "0.3.4", path = "../string_enum" } swc = { version = "0.255.27", path = "../swc" } swc_atoms = { version = "0.4.39", path = "../swc_atoms" } @@ -42,8 +44,8 @@ swc_ecma_transforms = { version = "0.212.21", path = "../swc_ecma_transforms" } swc_ecma_utils = { version = "0.113.11", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.86.6", path = "../swc_ecma_visit" } swc_node_base = { version = "0.5.8", path = "../swc_node_base" } -tracing = "0.1.32" [dev-dependencies] pretty_assertions = "1.1" -testing = { version = "0.31.42", path = "../testing" } + +testing = { version = "0.31.42", path = "../testing" } diff --git a/crates/swc_node_comments/Cargo.toml b/crates/swc_node_comments/Cargo.toml index 44bcf6811472..2ab35b42cb49 100644 --- a/crates/swc_node_comments/Cargo.toml +++ b/crates/swc_node_comments/Cargo.toml @@ -15,7 +15,8 @@ version = "0.16.39" bench = false [dependencies] -ahash = "0.7.6" -dashmap = "5.1.0" +ahash = "0.7.6" +dashmap = "5.1.0" + swc_atoms = { version = "0.4.39", path = "../swc_atoms" } swc_common = { version = "0.29.39", path = "../swc_common" } diff --git a/crates/swc_plugin_proxy/Cargo.toml b/crates/swc_plugin_proxy/Cargo.toml index 761a60195417..6da1493e068c 100644 --- a/crates/swc_plugin_proxy/Cargo.toml +++ b/crates/swc_plugin_proxy/Cargo.toml @@ -36,12 +36,14 @@ plugin-bytecheck-mode = [ plugin-mode = ["__plugin_mode", "swc_common/plugin-base", "rkyv-impl"] [dependencies] -better_scoped_tls = { version = "0.1.0", path = "../better_scoped_tls" } -rkyv = { package = "rkyv", version = "=0.7.37", optional = true } + +rkyv = { package = "rkyv", version = "=0.7.37", optional = true } # This is to avoid cargo version selection conflict between rkyv=0.7.37 and other versions, as it is strictly pinned # cannot be merged. -rkyv-latest = { package = "rkyv-test", version = "=0.7.38-test.2", optional = true } -swc_common = { version = "0.29.39", path = "../swc_common" } -swc_ecma_ast = { version = "0.100.5", path = "../swc_ecma_ast" } -swc_trace_macro = { version = "0.1.2", path = "../swc_trace_macro" } -tracing = "0.1.32" +rkyv-latest = { package = "rkyv-test", version = "=0.7.38-test.2", optional = true } +tracing = "0.1.32" + +better_scoped_tls = { version = "0.1.0", path = "../better_scoped_tls" } +swc_common = { version = "0.29.39", path = "../swc_common" } +swc_ecma_ast = { version = "0.100.5", path = "../swc_ecma_ast" } +swc_trace_macro = { version = "0.1.2", path = "../swc_trace_macro" } diff --git a/crates/swc_plugin_runner/Cargo.toml b/crates/swc_plugin_runner/Cargo.toml index 96a95709985a..2df695fff43d 100644 --- a/crates/swc_plugin_runner/Cargo.toml +++ b/crates/swc_plugin_runner/Cargo.toml @@ -36,21 +36,23 @@ rkyv-bytecheck-impl = [ rkyv-impl = ["__rkyv", "swc_common/plugin-rt", "swc_plugin_proxy/plugin-rt"] [dependencies] -anyhow = "1.0.42" -enumset = "1.0.12" -once_cell = "1.10.0" +anyhow = "1.0.42" +enumset = "1.0.12" +once_cell = "1.10.0" parking_lot = "0.12.0" -serde = { version = "1.0.126", features = ["derive"] } -serde_json = "1.0.64" +serde = { version = "1.0.126", features = ["derive"] } +serde_json = "1.0.64" +tracing = "0.1.32" +wasmer = { version = "2.3.0", default-features = false } +wasmer-wasi = { version = "2.3.0", default-features = false } + swc_common = { version = "0.29.39", path = "../swc_common", features = [ "concurrent", ] } swc_css_ast = { version = "0.134.13", path = "../swc_css_ast", optional = true } swc_ecma_ast = { version = "0.100.5", path = "../swc_ecma_ast", optional = true } swc_plugin_proxy = { version = "0.29.5", path = "../swc_plugin_proxy" } -tracing = "0.1.32" -wasmer = { version = "2.3.0", default-features = false } -wasmer-wasi = { version = "2.3.0", default-features = false } + [target.'cfg(not(target_arch = "wasm32"))'.dependencies] wasmer-cache = { version = "2.3.0", optional = true } @@ -58,7 +60,10 @@ wasmer-compiler-cranelift = { version = "2.3.0" } wasmer-engine-universal = { version = "2.3.0" } [dev-dependencies] -criterion = "0.3" +criterion = "0.3" +wasmer = "2.3.0" +wasmer-wasi = "2.3.0" + swc_atoms = { version = "0.4.39", path = '../swc_atoms' } swc_css_ast = { version = "0.134.13", path = "../swc_css_ast", features = [ "rkyv-impl", @@ -72,8 +77,6 @@ swc_ecma_parser = { version = "0.130.10", path = "../swc_ecma_parser" } swc_ecma_visit = { version = "0.86.6", path = "../swc_ecma_visit" } swc_node_base = { version = "0.5.8", path = "../swc_node_base" } testing = { version = "0.31.42", path = "../testing" } -wasmer = "2.3.0" -wasmer-wasi = "2.3.0" [[bench]] harness = false diff --git a/crates/swc_visit/Cargo.toml b/crates/swc_visit/Cargo.toml index e54cc2663470..eedb174d5822 100644 --- a/crates/swc_visit/Cargo.toml +++ b/crates/swc_visit/Cargo.toml @@ -14,5 +14,6 @@ bench = false path = [] [dependencies] -either = "1.5.3" +either = "1.5.3" + swc_visit_macros = { version = "0.5.6", path = "../swc_visit_macros" } diff --git a/crates/swc_visit_macros/Cargo.toml b/crates/swc_visit_macros/Cargo.toml index 1d9831c07bf2..23e9c0911eca 100644 --- a/crates/swc_visit_macros/Cargo.toml +++ b/crates/swc_visit_macros/Cargo.toml @@ -14,9 +14,10 @@ bench = false proc-macro = true [dependencies] -Inflector = "0.11.4" -pmutil = "0.5.1" -proc-macro2 = "1" -quote = "1" +Inflector = "0.11.4" +pmutil = "0.5.1" +proc-macro2 = "1" +quote = "1" +syn = { version = "1", features = ["parsing", "full"] } + swc_macros_common = { version = "0.3.7", path = "../swc_macros_common" } -syn = { version = "1", features = ["parsing", "full"] } diff --git a/crates/swc_xml_ast/Cargo.toml b/crates/swc_xml_ast/Cargo.toml index 16c873fba9d8..55540d0e2fa0 100644 --- a/crates/swc_xml_ast/Cargo.toml +++ b/crates/swc_xml_ast/Cargo.toml @@ -15,8 +15,9 @@ version = "0.7.22" bench = false [dependencies] -is-macro = "0.2.0" -serde = { version = "1.0.127", features = ["derive"] } +is-macro = "0.2.0" +serde = { version = "1.0.127", features = ["derive"] } + string_enum = { version = "0.3.4", path = "../string_enum/" } swc_atoms = { version = "0.4.39", path = "../swc_atoms" } swc_common = { version = "0.29.39", path = "../swc_common" } diff --git a/crates/swc_xml_codegen/Cargo.toml b/crates/swc_xml_codegen/Cargo.toml index 35a2ae987f78..278d40ce7caf 100644 --- a/crates/swc_xml_codegen/Cargo.toml +++ b/crates/swc_xml_codegen/Cargo.toml @@ -16,9 +16,10 @@ version = "0.8.24" bench = false [dependencies] -auto_impl = "0.5.0" -bitflags = "1.3.2" -rustc-hash = "1.1.0" +auto_impl = "0.5.0" +bitflags = "1.3.2" +rustc-hash = "1.1.0" + swc_atoms = { version = "0.4.39", path = "../swc_atoms" } swc_common = { version = "0.29.39", path = "../swc_common" } swc_xml_ast = { version = "0.7.22", path = "../swc_xml_ast" } diff --git a/crates/swc_xml_codegen_macros/Cargo.toml b/crates/swc_xml_codegen_macros/Cargo.toml index ed7e9533fb41..024eacb1963d 100644 --- a/crates/swc_xml_codegen_macros/Cargo.toml +++ b/crates/swc_xml_codegen_macros/Cargo.toml @@ -1,5 +1,8 @@ [package] -authors = ["강동윤 ", "Alexander Akait "] +authors = [ + "강동윤 ", + "Alexander Akait ", +] description = "Internal macro for the xml code generator" documentation = "https://rustdoc.swc.rs/swc_xml_codegen_macros/" edition = "2021" @@ -9,12 +12,13 @@ repository = "https://github.com/swc-project/swc.git" version = "0.1.1" [lib] -bench = false +bench = false proc-macro = true [dependencies] -pmutil = "0.5.1" +pmutil = "0.5.1" proc-macro2 = "1" -quote = "1" -swc_macros_common = {version = "0.3.7", path = "../swc_macros_common"} -syn = {version = "1", features = ["fold"]} +quote = "1" +syn = { version = "1", features = ["fold"] } + +swc_macros_common = { version = "0.3.7", path = "../swc_macros_common" } diff --git a/crates/swc_xml_parser/Cargo.toml b/crates/swc_xml_parser/Cargo.toml index fe7cafd9e411..7d7bb98ea96c 100644 --- a/crates/swc_xml_parser/Cargo.toml +++ b/crates/swc_xml_parser/Cargo.toml @@ -24,7 +24,8 @@ swc_common = { version = "0.29.39", path = "../swc_common" } swc_xml_ast = { version = "0.7.22", path = "../swc_xml_ast" } [dev-dependencies] -serde = "1.0.127" -serde_json = "1.0.66" +serde = "1.0.127" +serde_json = "1.0.66" + swc_xml_visit = { version = "0.7.22", path = "../swc_xml_visit" } testing = { version = "0.31.42", path = "../testing" } diff --git a/crates/swc_xml_visit/Cargo.toml b/crates/swc_xml_visit/Cargo.toml index d9fe75ea1e24..ce06259fcb84 100644 --- a/crates/swc_xml_visit/Cargo.toml +++ b/crates/swc_xml_visit/Cargo.toml @@ -23,7 +23,8 @@ default = ["serde"] path = [] [dependencies] -serde = { version = "1", optional = true } +serde = { version = "1", optional = true } + swc_atoms = { version = "0.4.39", path = "../swc_atoms" } swc_common = { version = "0.29.39", path = "../swc_common" } swc_visit = { version = "0.5.5", path = "../swc_visit" } diff --git a/crates/testing/Cargo.toml b/crates/testing/Cargo.toml index 3cd28abc572b..1240636dac24 100644 --- a/crates/testing/Cargo.toml +++ b/crates/testing/Cargo.toml @@ -1,27 +1,28 @@ [package] -authors = ["강동윤 "] -description = "Testing utilities for the swc project." +authors = ["강동윤 "] +description = "Testing utilities for the swc project." documentation = "https://rustdoc.swc.rs/testing/" -edition = "2021" -license = "Apache-2.0" -name = "testing" -repository = "https://github.com/swc-project/swc.git" -version = "0.31.42" +edition = "2021" +license = "Apache-2.0" +name = "testing" +repository = "https://github.com/swc-project/swc.git" +version = "0.31.42" [lib] bench = false [dependencies] -ansi_term = "0.12.1" -difference = "2" -once_cell = "1.10.0" -pretty_assertions = "1.1" -regex = "1" -serde_json = "1.0.71" -swc_common = {version = "0.29.39", path = "../swc_common", features = [ +ansi_term = "0.12.1" +difference = "2" +once_cell = "1.10.0" +pretty_assertions = "1.1" +regex = "1" +serde_json = "1.0.71" +tracing = "0.1.32" +tracing-subscriber = { version = "0.3.9", features = ["env-filter"] } + +swc_common = { version = "0.29.39", path = "../swc_common", features = [ "tty-emitter", -]} -swc_error_reporters = {version = "0.13.40", path = "../swc_error_reporters"} -testing_macros = {version = "0.2.9", path = "../testing_macros"} -tracing = "0.1.32" -tracing-subscriber = {version = "0.3.9", features = ["env-filter"]} +] } +swc_error_reporters = { version = "0.13.40", path = "../swc_error_reporters" } +testing_macros = { version = "0.2.9", path = "../testing_macros" }