diff --git a/.changeset/healthy-donuts-rule.md b/.changeset/healthy-donuts-rule.md deleted file mode 100644 index 06c6160c5dd..00000000000 --- a/.changeset/healthy-donuts-rule.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -swc_common: major ---- - -perf(common): Make `new_source_file` lazy diff --git a/.changeset/shiny-bears-thank.md b/.changeset/shiny-bears-thank.md deleted file mode 100644 index 89ad6739465..00000000000 --- a/.changeset/shiny-bears-thank.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -swc: patch -swc_core: patch ---- - -feat(es/plugin): Introduce `manual-tokio-runtmie` to `swc` crate diff --git a/.changeset/three-clocks-punch.md b/.changeset/three-clocks-punch.md deleted file mode 100644 index 55ca1901b1b..00000000000 --- a/.changeset/three-clocks-punch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -swc_ecma_ast: major ---- - -feat(es): Add `es2023` and `es2024` to `EsVersion` diff --git a/CHANGELOG.md b/CHANGELOG.md index ed1d4a7cebb..493efc1ab5d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,21 @@ # Changelog +## [unreleased] + +### Features + + + +- **(es)** Add `es2023` and `es2024` to `EsVersion` ([#9700](https://github.com/swc-project/swc/issues/9700)) ([5a6f0e6](https://github.com/swc-project/swc/commit/5a6f0e644ebd515c9de69f8efa0e2b5c79944a1d)) + + +- **(es/plugin)** Introduce `manual-tokio-runtmie` to `swc` crate ([#9701](https://github.com/swc-project/swc/issues/9701)) ([97298c4](https://github.com/swc-project/swc/commit/97298c4e36318674f82343b9cde2d938265ea3d8)) + +### Performance + + + +- **(common)** Make character analysis lazy ([#9696](https://github.com/swc-project/swc/issues/9696)) ([1c3eaf6](https://github.com/swc-project/swc/commit/1c3eaf684a40a22b09779db39cf68986e69147f1)) + ## [1.7.42] - 2024-10-31 ### Bug Fixes diff --git a/Cargo.lock b/Cargo.lock index 07eee325910..1c2a88f8b00 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -321,7 +321,7 @@ dependencies = [ [[package]] name = "binding_macros" -version = "3.0.0" +version = "4.0.0" dependencies = [ "anyhow", "console_error_panic_hook", @@ -1117,7 +1117,7 @@ checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" [[package]] name = "dbg-swc" -version = "3.0.0" +version = "4.0.0" dependencies = [ "anyhow", "clap 3.2.25", @@ -2057,7 +2057,7 @@ dependencies = [ [[package]] name = "jsdoc" -version = "2.0.0" +version = "3.0.0" dependencies = [ "anyhow", "dashmap 5.5.3", @@ -3850,7 +3850,7 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "swc" -version = "3.0.2" +version = "4.0.0" dependencies = [ "ansi_term", "anyhow", @@ -3952,7 +3952,7 @@ dependencies = [ [[package]] name = "swc_bundler" -version = "3.0.0" +version = "4.0.0" dependencies = [ "anyhow", "crc", @@ -4007,7 +4007,7 @@ dependencies = [ [[package]] name = "swc_cli_impl" -version = "3.0.0" +version = "4.0.0" dependencies = [ "anyhow", "assert_cmd", @@ -4030,7 +4030,7 @@ dependencies = [ [[package]] name = "swc_common" -version = "2.0.1" +version = "3.0.0" dependencies = [ "ahash 0.8.11", "anyhow", @@ -4066,7 +4066,7 @@ dependencies = [ [[package]] name = "swc_compiler_base" -version = "3.0.0" +version = "4.0.0" dependencies = [ "anyhow", "base64 0.21.7", @@ -4115,7 +4115,7 @@ dependencies = [ [[package]] name = "swc_core" -version = "3.0.2" +version = "4.0.0" dependencies = [ "anyhow", "binding_macros", @@ -4170,7 +4170,7 @@ dependencies = [ [[package]] name = "swc_css" -version = "2.0.0" +version = "3.0.0" dependencies = [ "swc_css_ast", "swc_css_codegen", @@ -4185,7 +4185,7 @@ dependencies = [ [[package]] name = "swc_css_ast" -version = "2.0.0" +version = "3.0.0" dependencies = [ "is-macro", "rkyv", @@ -4197,7 +4197,7 @@ dependencies = [ [[package]] name = "swc_css_codegen" -version = "2.0.0" +version = "3.0.0" dependencies = [ "auto_impl", "bitflags 2.6.0", @@ -4225,7 +4225,7 @@ dependencies = [ [[package]] name = "swc_css_compat" -version = "2.0.0" +version = "3.0.0" dependencies = [ "bitflags 2.6.0", "once_cell", @@ -4243,7 +4243,7 @@ dependencies = [ [[package]] name = "swc_css_lints" -version = "2.0.0" +version = "3.0.0" dependencies = [ "auto_impl", "parking_lot", @@ -4262,7 +4262,7 @@ dependencies = [ [[package]] name = "swc_css_minifier" -version = "2.0.0" +version = "3.0.0" dependencies = [ "codspeed-criterion-compat", "criterion", @@ -4280,7 +4280,7 @@ dependencies = [ [[package]] name = "swc_css_modules" -version = "2.0.0" +version = "3.0.0" dependencies = [ "indexmap 2.5.0", "rustc-hash", @@ -4298,7 +4298,7 @@ dependencies = [ [[package]] name = "swc_css_parser" -version = "2.0.0" +version = "3.0.0" dependencies = [ "codspeed-criterion-compat", "criterion", @@ -4315,7 +4315,7 @@ dependencies = [ [[package]] name = "swc_css_prefixer" -version = "2.0.0" +version = "3.0.0" dependencies = [ "once_cell", "preset_env_base", @@ -4333,7 +4333,7 @@ dependencies = [ [[package]] name = "swc_css_utils" -version = "2.0.0" +version = "3.0.0" dependencies = [ "once_cell", "serde", @@ -4346,7 +4346,7 @@ dependencies = [ [[package]] name = "swc_css_visit" -version = "2.0.0" +version = "3.0.0" dependencies = [ "serde", "swc_atoms", @@ -4357,7 +4357,7 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "2.0.0" +version = "3.0.0" dependencies = [ "arbitrary", "bitflags 2.6.0", @@ -4378,7 +4378,7 @@ dependencies = [ [[package]] name = "swc_ecma_codegen" -version = "2.0.0" +version = "3.0.0" dependencies = [ "base64 0.21.7", "codspeed-criterion-compat", @@ -4414,7 +4414,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_bugfixes" -version = "3.0.0" +version = "4.0.0" dependencies = [ "swc_atoms", "swc_common", @@ -4431,7 +4431,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_common" -version = "3.0.0" +version = "4.0.0" dependencies = [ "swc_common", "swc_ecma_ast", @@ -4442,7 +4442,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2015" -version = "3.0.1" +version = "4.0.0" dependencies = [ "arrayvec", "indexmap 2.5.0", @@ -4469,7 +4469,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2016" -version = "3.0.0" +version = "4.0.0" dependencies = [ "swc_atoms", "swc_common", @@ -4486,7 +4486,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2017" -version = "3.0.0" +version = "4.0.0" dependencies = [ "serde", "swc_atoms", @@ -4504,7 +4504,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2018" -version = "3.0.0" +version = "4.0.0" dependencies = [ "serde", "swc_atoms", @@ -4523,7 +4523,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2019" -version = "3.0.0" +version = "4.0.0" dependencies = [ "swc_atoms", "swc_common", @@ -4539,7 +4539,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2020" -version = "3.0.0" +version = "4.0.0" dependencies = [ "serde", "swc_atoms", @@ -4557,7 +4557,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2021" -version = "3.0.0" +version = "4.0.0" dependencies = [ "swc_atoms", "swc_common", @@ -4571,7 +4571,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2022" -version = "3.0.0" +version = "4.0.0" dependencies = [ "swc_atoms", "swc_common", @@ -4588,7 +4588,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es3" -version = "3.0.0" +version = "4.0.0" dependencies = [ "swc_common", "swc_ecma_ast", @@ -4603,7 +4603,7 @@ dependencies = [ [[package]] name = "swc_ecma_ext_transforms" -version = "3.0.0" +version = "4.0.0" dependencies = [ "phf", "swc_atoms", @@ -4615,7 +4615,7 @@ dependencies = [ [[package]] name = "swc_ecma_lints" -version = "3.0.0" +version = "4.0.0" dependencies = [ "auto_impl", "dashmap 5.5.3", @@ -4637,7 +4637,7 @@ dependencies = [ [[package]] name = "swc_ecma_loader" -version = "2.0.0" +version = "3.0.0" dependencies = [ "anyhow", "dashmap 5.5.3", @@ -4658,7 +4658,7 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "3.0.0" +version = "4.0.0" dependencies = [ "ansi_term", "anyhow", @@ -4702,7 +4702,7 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "3.0.1" +version = "4.0.0" dependencies = [ "codspeed-criterion-compat", "criterion", @@ -4730,7 +4730,7 @@ dependencies = [ [[package]] name = "swc_ecma_preset_env" -version = "3.0.0" +version = "4.0.0" dependencies = [ "anyhow", "codspeed-criterion-compat", @@ -4759,7 +4759,7 @@ dependencies = [ [[package]] name = "swc_ecma_quote" -version = "3.0.0" +version = "4.0.0" dependencies = [ "swc_atoms", "swc_common", @@ -4770,7 +4770,7 @@ dependencies = [ [[package]] name = "swc_ecma_quote_macros" -version = "3.0.0" +version = "4.0.0" dependencies = [ "anyhow", "proc-macro2", @@ -4785,7 +4785,7 @@ dependencies = [ [[package]] name = "swc_ecma_testing" -version = "2.0.0" +version = "3.0.0" dependencies = [ "anyhow", "hex", @@ -4796,7 +4796,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms" -version = "3.0.0" +version = "4.0.0" dependencies = [ "pretty_assertions", "sourcemap", @@ -4821,7 +4821,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "3.0.1" +version = "4.0.0" dependencies = [ "better_scoped_tls", "bitflags 2.6.0", @@ -4849,7 +4849,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_classes" -version = "3.0.0" +version = "4.0.0" dependencies = [ "swc_atoms", "swc_common", @@ -4861,7 +4861,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_compat" -version = "3.0.0" +version = "4.0.0" dependencies = [ "arrayvec", "indexmap 2.5.0", @@ -4910,7 +4910,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_module" -version = "3.0.0" +version = "4.0.0" dependencies = [ "Inflector", "anyhow", @@ -4940,7 +4940,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_optimization" -version = "3.0.0" +version = "4.0.0" dependencies = [ "dashmap 5.5.3", "indexmap 2.5.0", @@ -4970,7 +4970,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_proposal" -version = "3.0.0" +version = "4.0.0" dependencies = [ "either", "rustc-hash", @@ -4995,7 +4995,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_react" -version = "3.0.0" +version = "4.0.0" dependencies = [ "base64 0.21.7", "dashmap 5.5.3", @@ -5023,7 +5023,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_testing" -version = "3.0.0" +version = "4.0.0" dependencies = [ "ansi_term", "anyhow", @@ -5047,7 +5047,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_typescript" -version = "3.0.0" +version = "4.0.0" dependencies = [ "codspeed-criterion-compat", "criterion", @@ -5070,7 +5070,7 @@ dependencies = [ [[package]] name = "swc_ecma_usage_analyzer" -version = "3.0.0" +version = "4.0.0" dependencies = [ "indexmap 2.5.0", "rustc-hash", @@ -5085,7 +5085,7 @@ dependencies = [ [[package]] name = "swc_ecma_utils" -version = "3.0.0" +version = "4.0.0" dependencies = [ "indexmap 2.5.0", "num_cpus", @@ -5106,7 +5106,7 @@ dependencies = [ [[package]] name = "swc_ecma_visit" -version = "2.0.0" +version = "3.0.0" dependencies = [ "new_debug_unreachable", "num-bigint", @@ -5120,7 +5120,7 @@ dependencies = [ [[package]] name = "swc_ecmascript" -version = "3.0.0" +version = "4.0.0" dependencies = [ "swc_ecma_ast", "swc_ecma_codegen", @@ -5144,7 +5144,7 @@ dependencies = [ [[package]] name = "swc_error_reporters" -version = "3.0.0" +version = "4.0.0" dependencies = [ "anyhow", "miette", @@ -5155,7 +5155,7 @@ dependencies = [ [[package]] name = "swc_estree_ast" -version = "2.0.0" +version = "3.0.0" dependencies = [ "better_scoped_tls", "serde", @@ -5166,7 +5166,7 @@ dependencies = [ [[package]] name = "swc_estree_compat" -version = "3.0.0" +version = "4.0.0" dependencies = [ "ahash 0.8.11", "anyhow", @@ -5192,7 +5192,7 @@ dependencies = [ [[package]] name = "swc_fast_graph" -version = "3.0.0" +version = "4.0.0" dependencies = [ "indexmap 2.5.0", "petgraph", @@ -5202,7 +5202,7 @@ dependencies = [ [[package]] name = "swc_fast_ts_strip" -version = "3.0.0" +version = "4.0.0" dependencies = [ "anyhow", "codspeed-criterion-compat", @@ -5222,7 +5222,7 @@ dependencies = [ [[package]] name = "swc_graph_analyzer" -version = "2.0.0" +version = "3.0.0" dependencies = [ "auto_impl", "petgraph", @@ -5234,7 +5234,7 @@ dependencies = [ [[package]] name = "swc_html" -version = "3.0.0" +version = "4.0.0" dependencies = [ "swc_html_ast", "swc_html_codegen", @@ -5245,7 +5245,7 @@ dependencies = [ [[package]] name = "swc_html_ast" -version = "2.0.0" +version = "3.0.0" dependencies = [ "is-macro", "rkyv", @@ -5257,7 +5257,7 @@ dependencies = [ [[package]] name = "swc_html_codegen" -version = "2.0.0" +version = "3.0.0" dependencies = [ "auto_impl", "bitflags 2.6.0", @@ -5284,7 +5284,7 @@ dependencies = [ [[package]] name = "swc_html_minifier" -version = "3.0.0" +version = "4.0.0" dependencies = [ "codspeed-criterion-compat", "criterion", @@ -5315,7 +5315,7 @@ dependencies = [ [[package]] name = "swc_html_parser" -version = "2.0.0" +version = "3.0.0" dependencies = [ "codspeed-criterion-compat", "criterion", @@ -5332,7 +5332,7 @@ dependencies = [ [[package]] name = "swc_html_utils" -version = "2.0.0" +version = "3.0.0" dependencies = [ "once_cell", "serde", @@ -5343,7 +5343,7 @@ dependencies = [ [[package]] name = "swc_html_visit" -version = "2.0.0" +version = "3.0.0" dependencies = [ "serde", "swc_atoms", @@ -5371,7 +5371,7 @@ dependencies = [ [[package]] name = "swc_node_bundler" -version = "3.0.0" +version = "4.0.0" dependencies = [ "anyhow", "dashmap 5.5.3", @@ -5400,7 +5400,7 @@ dependencies = [ [[package]] name = "swc_node_comments" -version = "2.0.0" +version = "3.0.0" dependencies = [ "dashmap 5.5.3", "swc_atoms", @@ -5437,7 +5437,7 @@ dependencies = [ [[package]] name = "swc_plugin_proxy" -version = "2.0.0" +version = "3.0.0" dependencies = [ "better_scoped_tls", "rkyv", @@ -5449,7 +5449,7 @@ dependencies = [ [[package]] name = "swc_plugin_runner" -version = "2.0.0" +version = "3.0.0" dependencies = [ "anyhow", "codspeed-criterion-compat", @@ -5515,7 +5515,7 @@ dependencies = [ [[package]] name = "swc_typescript" -version = "2.0.0" +version = "3.0.0" dependencies = [ "swc_atoms", "swc_common", @@ -5540,7 +5540,7 @@ version = "0.1.0" [[package]] name = "swc_xml" -version = "2.0.0" +version = "3.0.0" dependencies = [ "swc_xml_ast", "swc_xml_codegen", @@ -5550,7 +5550,7 @@ dependencies = [ [[package]] name = "swc_xml_ast" -version = "2.0.0" +version = "3.0.0" dependencies = [ "is-macro", "serde", @@ -5561,7 +5561,7 @@ dependencies = [ [[package]] name = "swc_xml_codegen" -version = "2.0.0" +version = "3.0.0" dependencies = [ "auto_impl", "bitflags 2.6.0", @@ -5587,7 +5587,7 @@ dependencies = [ [[package]] name = "swc_xml_parser" -version = "2.0.0" +version = "3.0.0" dependencies = [ "serde", "serde_json", @@ -5600,7 +5600,7 @@ dependencies = [ [[package]] name = "swc_xml_visit" -version = "2.0.0" +version = "3.0.0" dependencies = [ "serde", "swc_atoms", @@ -5740,7 +5740,7 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "testing" -version = "2.0.0" +version = "3.0.0" dependencies = [ "ansi_term", "cargo_metadata", diff --git a/crates/binding_macros/Cargo.toml b/crates/binding_macros/Cargo.toml index 9e8b0c3c2d0..e4e1a5829fb 100644 --- a/crates/binding_macros/Cargo.toml +++ b/crates/binding_macros/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" license = "Apache-2.0" name = "binding_macros" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" [lib] bench = false @@ -33,11 +33,11 @@ binding_wasm = [ [dependencies] # Common deps for the SWC imports -swc = { optional = true, version = "3.0.2", path = "../swc" } -swc_common = { optional = true, version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { optional = true, version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_transforms = { optional = true, version = "3.0.0", path = "../swc_ecma_transforms" } -swc_ecma_visit = { optional = true, version = "2.0.0", path = "../swc_ecma_visit" } +swc = { optional = true, version = "4.0.0", path = "../swc" } +swc_common = { optional = true, version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { optional = true, version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_transforms = { optional = true, version = "4.0.0", path = "../swc_ecma_transforms" } +swc_ecma_visit = { optional = true, version = "3.0.0", path = "../swc_ecma_visit" } # Optional deps for the wasm binding macro anyhow = { workspace = true, optional = true } diff --git a/crates/dbg-swc/Cargo.toml b/crates/dbg-swc/Cargo.toml index 9d7950a82c1..17a1597e967 100644 --- a/crates/dbg-swc/Cargo.toml +++ b/crates/dbg-swc/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" license = "Apache-2.0" name = "dbg-swc" repository = { workspace = true } -version = "3.0.0" +version = "4.0.0" [[bin]] bench = false @@ -27,17 +27,17 @@ clap = { version = "3", features = ["derive"] } tracing-subscriber = { workspace = true, features = ["fmt", "env-filter"] } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", features = [ +swc_common = { version = "3.0.0", features = [ "concurrent", "tty-emitter", ], path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "2.0.0", path = "../swc_ecma_codegen" } -swc_ecma_minifier = { version = "3.0.0", path = "../swc_ecma_minifier", features = [ +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_codegen = { version = "3.0.0", path = "../swc_ecma_codegen" } +swc_ecma_minifier = { version = "4.0.0", path = "../swc_ecma_minifier", features = [ "concurrent", ] } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } -swc_error_reporters = { version = "3.0.0", path = "../swc_error_reporters" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } +swc_error_reporters = { version = "4.0.0", path = "../swc_error_reporters" } swc_timer = { version = "1.0.0", path = "../swc_timer" } diff --git a/crates/jsdoc/Cargo.toml b/crates/jsdoc/Cargo.toml index 041331b5d21..7cc6c8f1694 100644 --- a/crates/jsdoc/Cargo.toml +++ b/crates/jsdoc/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "jsdoc" repository = { workspace = true } -version = "2.0.0" +version = "3.0.0" [lib] bench = false @@ -20,12 +20,12 @@ nom = { workspace = true } serde = { workspace = true, features = ["derive"], optional = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } +swc_common = { version = "3.0.0", path = "../swc_common" } [dev-dependencies] anyhow = { workspace = true } dashmap = { workspace = true } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -testing = { version = "2.0.0", path = "../testing" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +testing = { version = "3.0.0", path = "../testing" } diff --git a/crates/swc/Cargo.toml b/crates/swc/Cargo.toml index 1fab8a93ea2..aa8289fa00e 100644 --- a/crates/swc/Cargo.toml +++ b/crates/swc/Cargo.toml @@ -9,7 +9,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc" repository = "https://github.com/swc-project/swc.git" -version = "3.0.2" +version = "4.0.0" [lib] bench = false @@ -71,26 +71,26 @@ url = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } swc_cached = { version = "1.0.0", path = "../swc_cached" } -swc_common = { version = "2.0.1", path = "../swc_common", features = [ +swc_common = { version = "3.0.0", path = "../swc_common", features = [ "ahash", "sourcemap", "parking_lot", ] } -swc_compiler_base = { version = "3.0.0", path = "../swc_compiler_base" } +swc_compiler_base = { version = "4.0.0", path = "../swc_compiler_base" } swc_config = { version = "1.0.0", path = "../swc_config" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "2.0.0", path = "../swc_ecma_codegen" } -swc_ecma_ext_transforms = { version = "3.0.0", path = "../swc_ecma_ext_transforms" } -swc_ecma_lints = { version = "3.0.0", path = "../swc_ecma_lints" } -swc_ecma_loader = { version = "2.0.0", path = "../swc_ecma_loader", features = [ +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_codegen = { version = "3.0.0", path = "../swc_ecma_codegen" } +swc_ecma_ext_transforms = { version = "4.0.0", path = "../swc_ecma_ext_transforms" } +swc_ecma_lints = { version = "4.0.0", path = "../swc_ecma_lints" } +swc_ecma_loader = { version = "3.0.0", path = "../swc_ecma_loader", features = [ "cache", "node", "tsc", ] } -swc_ecma_minifier = { version = "3.0.0", path = "../swc_ecma_minifier" } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_preset_env = { version = "3.0.0", path = "../swc_ecma_preset_env" } -swc_ecma_transforms = { version = "3.0.0", path = "../swc_ecma_transforms", features = [ +swc_ecma_minifier = { version = "4.0.0", path = "../swc_ecma_minifier" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_preset_env = { version = "4.0.0", path = "../swc_ecma_preset_env" } +swc_ecma_transforms = { version = "4.0.0", path = "../swc_ecma_transforms", features = [ "compat", "module", "optimization", @@ -98,18 +98,18 @@ swc_ecma_transforms = { version = "3.0.0", path = "../swc_ecma_transforms", feat "react", "typescript", ] } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_compat = { version = "3.0.0", path = "../swc_ecma_transforms_compat" } -swc_ecma_transforms_optimization = { version = "3.0.0", path = "../swc_ecma_transforms_optimization" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } -swc_error_reporters = { version = "3.0.0", path = "../swc_error_reporters" } -swc_node_comments = { version = "2.0.0", path = "../swc_node_comments" } -swc_plugin_proxy = { version = "2.0.0", path = "../swc_plugin_proxy", optional = true } -swc_plugin_runner = { version = "2.0.0", path = "../swc_plugin_runner", optional = true, default-features = false } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_compat = { version = "4.0.0", path = "../swc_ecma_transforms_compat" } +swc_ecma_transforms_optimization = { version = "4.0.0", path = "../swc_ecma_transforms_optimization" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } +swc_error_reporters = { version = "4.0.0", path = "../swc_error_reporters" } +swc_node_comments = { version = "3.0.0", path = "../swc_node_comments" } +swc_plugin_proxy = { version = "3.0.0", path = "../swc_plugin_proxy", optional = true } +swc_plugin_runner = { version = "3.0.0", path = "../swc_plugin_runner", optional = true, default-features = false } swc_timer = { version = "1.0.0", path = "../swc_timer" } swc_transform_common = { version = "1.0.0", path = "../swc_transform_common" } -swc_typescript = { version = "2.0.0", path = "../swc_typescript" } +swc_typescript = { version = "3.0.0", path = "../swc_typescript" } swc_visit = { version = "2.0.0", path = "../swc_visit" } [dependencies.tokio] @@ -135,15 +135,15 @@ rayon = { workspace = true } walkdir = { workspace = true } codspeed-criterion-compat = { workspace = true } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast", features = [ +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast", features = [ "serde-impl", ] } -swc_ecma_lints = { version = "3.0.0", path = "../swc_ecma_lints", features = [ +swc_ecma_lints = { version = "4.0.0", path = "../swc_ecma_lints", features = [ "non_critical_lints", ] } -swc_ecma_testing = { version = "2.0.0", path = "../swc_ecma_testing" } +swc_ecma_testing = { version = "3.0.0", path = "../swc_ecma_testing" } swc_malloc = { version = "1.0.0", path = "../swc_malloc" } -testing = { version = "2.0.0", path = "../testing" } +testing = { version = "3.0.0", path = "../testing" } [[example]] name = "transform" diff --git a/crates/swc_bundler/Cargo.toml b/crates/swc_bundler/Cargo.toml index 214f7f619c8..ad3a9cf1667 100644 --- a/crates/swc_bundler/Cargo.toml +++ b/crates/swc_bundler/Cargo.toml @@ -9,7 +9,7 @@ include = ["Cargo.toml", "build.rs", "src/**/*.rs", "src/**/*.js"] license = "Apache-2.0" name = "swc_bundler" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" [package.metadata.docs.rs] all-features = true @@ -38,17 +38,17 @@ relative-path = { workspace = true } tracing = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "2.0.0", path = "../swc_ecma_codegen" } -swc_ecma_loader = { version = "2.0.0", path = "../swc_ecma_loader" } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_optimization = { version = "3.0.0", path = "../swc_ecma_transforms_optimization" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } -swc_fast_graph = { version = "3.0.0", path = "../swc_fast_graph/" } -swc_graph_analyzer = { version = "2.0.0", path = "../swc_graph_analyzer/" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_codegen = { version = "3.0.0", path = "../swc_ecma_codegen" } +swc_ecma_loader = { version = "3.0.0", path = "../swc_ecma_loader" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_optimization = { version = "4.0.0", path = "../swc_ecma_transforms_optimization" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } +swc_fast_graph = { version = "4.0.0", path = "../swc_fast_graph/" } +swc_graph_analyzer = { version = "3.0.0", path = "../swc_graph_analyzer/" } [dev-dependencies] hex = { workspace = true } @@ -59,15 +59,15 @@ sha1 = { workspace = true } tempfile = { workspace = true } url = { workspace = true } -swc_ecma_loader = { version = "2.0.0", path = "../swc_ecma_loader", features = [ +swc_ecma_loader = { version = "3.0.0", path = "../swc_ecma_loader", features = [ "node", "cache", ] } -swc_ecma_minifier = { version = "3.0.0", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "4.0.0", path = "../swc_ecma_minifier", features = [ "concurrent", ] } -swc_ecma_transforms_proposal = { version = "3.0.0", path = "../swc_ecma_transforms_proposal" } -swc_ecma_transforms_react = { version = "3.0.0", path = "../swc_ecma_transforms_react" } -swc_ecma_transforms_typescript = { version = "3.0.0", path = "../swc_ecma_transforms_typescript" } +swc_ecma_transforms_proposal = { version = "4.0.0", path = "../swc_ecma_transforms_proposal" } +swc_ecma_transforms_react = { version = "4.0.0", path = "../swc_ecma_transforms_react" } +swc_ecma_transforms_typescript = { version = "4.0.0", path = "../swc_ecma_transforms_typescript" } swc_malloc = { version = "1.0.0", path = "../swc_malloc" } -testing = { version = "2.0.0", path = "../testing" } +testing = { version = "3.0.0", path = "../testing" } diff --git a/crates/swc_cli_impl/Cargo.toml b/crates/swc_cli_impl/Cargo.toml index 91718a0b0f4..c444afd6399 100644 --- a/crates/swc_cli_impl/Cargo.toml +++ b/crates/swc_cli_impl/Cargo.toml @@ -6,7 +6,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_cli_impl" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" [[bin]] name = "swc" @@ -39,7 +39,7 @@ tracing-futures = { workspace = true } tracing-subscriber = { workspace = true, features = ["env-filter"] } walkdir = { workspace = true } -swc_core = { version = "3.0.2", features = [ +swc_core = { version = "4.0.0", features = [ "trace_macro", "common_concurrent", "base_concurrent", diff --git a/crates/swc_common/Cargo.toml b/crates/swc_common/Cargo.toml index 4a3d8b27e4e..968d97ec0ac 100644 --- a/crates/swc_common/Cargo.toml +++ b/crates/swc_common/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_common" repository = "https://github.com/swc-project/swc.git" -version = "2.0.1" +version = "3.0.0" [package.metadata.docs.rs] all-features = true diff --git a/crates/swc_compiler_base/Cargo.toml b/crates/swc_compiler_base/Cargo.toml index eaf2122de79..30fe5a4a7fd 100644 --- a/crates/swc_compiler_base/Cargo.toml +++ b/crates/swc_compiler_base/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_compiler_base" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" [features] node = ["napi", "napi-derive"] @@ -24,15 +24,15 @@ sourcemap = { workspace = true } swc_allocator = { version = "1.0.0", path = "../swc_allocator", default-features = false } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common", features = [ +swc_common = { version = "3.0.0", path = "../swc_common", features = [ "sourcemap", ] } swc_config = { version = "1.0.0", path = "../swc_config" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "2.0.0", path = "../swc_ecma_codegen" } -swc_ecma_minifier = { version = "3.0.0", path = "../swc_ecma_minifier" } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_codegen = { version = "3.0.0", path = "../swc_ecma_codegen" } +swc_ecma_minifier = { version = "4.0.0", path = "../swc_ecma_minifier" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } swc_timer = { version = "1.0.0", path = "../swc_timer" } [dependencies.napi-derive] diff --git a/crates/swc_core/Cargo.toml b/crates/swc_core/Cargo.toml index 702118c2f02..23ef286758a 100644 --- a/crates/swc_core/Cargo.toml +++ b/crates/swc_core/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_core" repository = "https://github.com/swc-project/swc.git" -version = "3.0.2" +version = "4.0.0" [package.metadata.docs.rs] features = [ "allocator_node", @@ -338,57 +338,57 @@ __visit = ["__ecma", "swc_ecma_visit"] once_cell = { workspace = true, optional = true } # swc_* dependencies -binding_macros = { optional = true, version = "3.0.0", path = "../binding_macros" } -swc = { optional = true, version = "3.0.2", path = "../swc" } +binding_macros = { optional = true, version = "4.0.0", path = "../binding_macros" } +swc = { optional = true, version = "4.0.0", path = "../swc" } swc_atoms = { optional = true, version = "2.0.0", path = "../swc_atoms" } -swc_bundler = { optional = true, version = "3.0.0", path = "../swc_bundler" } +swc_bundler = { optional = true, version = "4.0.0", path = "../swc_bundler" } swc_cached = { optional = true, version = "1.0.0", path = "../swc_cached" } -swc_common = { optional = true, version = "2.0.1", path = "../swc_common" } -swc_css_ast = { optional = true, version = "2.0.0", path = "../swc_css_ast" } -swc_css_codegen = { optional = true, version = "2.0.0", path = "../swc_css_codegen" } -swc_css_compat = { optional = true, version = "2.0.0", path = "../swc_css_compat" } -swc_css_minifier = { optional = true, version = "2.0.0", path = "../swc_css_minifier" } -swc_css_modules = { optional = true, version = "2.0.0", path = "../swc_css_modules" } -swc_css_parser = { optional = true, version = "2.0.0", path = "../swc_css_parser" } -swc_css_prefixer = { optional = true, version = "2.0.0", path = "../swc_css_prefixer" } -swc_css_utils = { optional = true, version = "2.0.0", path = "../swc_css_utils/" } -swc_css_visit = { optional = true, version = "2.0.0", path = "../swc_css_visit" } -swc_ecma_ast = { optional = true, version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_codegen = { optional = true, version = "2.0.0", path = "../swc_ecma_codegen" } -swc_ecma_lints = { optional = true, version = "3.0.0", path = "../swc_ecma_lints" } -swc_ecma_loader = { optional = true, version = "2.0.0", path = "../swc_ecma_loader" } -swc_ecma_minifier = { optional = true, version = "3.0.0", path = "../swc_ecma_minifier" } -swc_ecma_parser = { optional = true, version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_preset_env = { optional = true, version = "3.0.0", path = "../swc_ecma_preset_env" } -swc_ecma_quote_macros = { optional = true, version = "3.0.0", path = "../swc_ecma_quote_macros" } -swc_ecma_transforms_base = { optional = true, version = "3.0.1", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_compat = { optional = true, version = "3.0.0", path = "../swc_ecma_transforms_compat" } -swc_ecma_transforms_module = { optional = true, version = "3.0.0", path = "../swc_ecma_transforms_module" } -swc_ecma_transforms_optimization = { optional = true, version = "3.0.0", path = "../swc_ecma_transforms_optimization" } -swc_ecma_transforms_proposal = { optional = true, version = "3.0.0", path = "../swc_ecma_transforms_proposal" } -swc_ecma_transforms_react = { optional = true, version = "3.0.0", path = "../swc_ecma_transforms_react" } -swc_ecma_transforms_testing = { optional = true, version = "3.0.0", path = "../swc_ecma_transforms_testing" } -swc_ecma_transforms_typescript = { optional = true, version = "3.0.0", path = "../swc_ecma_transforms_typescript" } -swc_ecma_usage_analyzer = { optional = true, version = "3.0.0", path = "../swc_ecma_usage_analyzer" } -swc_ecma_utils = { optional = true, version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { optional = true, version = "2.0.0", path = "../swc_ecma_visit" } +swc_common = { optional = true, version = "3.0.0", path = "../swc_common" } +swc_css_ast = { optional = true, version = "3.0.0", path = "../swc_css_ast" } +swc_css_codegen = { optional = true, version = "3.0.0", path = "../swc_css_codegen" } +swc_css_compat = { optional = true, version = "3.0.0", path = "../swc_css_compat" } +swc_css_minifier = { optional = true, version = "3.0.0", path = "../swc_css_minifier" } +swc_css_modules = { optional = true, version = "3.0.0", path = "../swc_css_modules" } +swc_css_parser = { optional = true, version = "3.0.0", path = "../swc_css_parser" } +swc_css_prefixer = { optional = true, version = "3.0.0", path = "../swc_css_prefixer" } +swc_css_utils = { optional = true, version = "3.0.0", path = "../swc_css_utils/" } +swc_css_visit = { optional = true, version = "3.0.0", path = "../swc_css_visit" } +swc_ecma_ast = { optional = true, version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_codegen = { optional = true, version = "3.0.0", path = "../swc_ecma_codegen" } +swc_ecma_lints = { optional = true, version = "4.0.0", path = "../swc_ecma_lints" } +swc_ecma_loader = { optional = true, version = "3.0.0", path = "../swc_ecma_loader" } +swc_ecma_minifier = { optional = true, version = "4.0.0", path = "../swc_ecma_minifier" } +swc_ecma_parser = { optional = true, version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_preset_env = { optional = true, version = "4.0.0", path = "../swc_ecma_preset_env" } +swc_ecma_quote_macros = { optional = true, version = "4.0.0", path = "../swc_ecma_quote_macros" } +swc_ecma_transforms_base = { optional = true, version = "4.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_compat = { optional = true, version = "4.0.0", path = "../swc_ecma_transforms_compat" } +swc_ecma_transforms_module = { optional = true, version = "4.0.0", path = "../swc_ecma_transforms_module" } +swc_ecma_transforms_optimization = { optional = true, version = "4.0.0", path = "../swc_ecma_transforms_optimization" } +swc_ecma_transforms_proposal = { optional = true, version = "4.0.0", path = "../swc_ecma_transforms_proposal" } +swc_ecma_transforms_react = { optional = true, version = "4.0.0", path = "../swc_ecma_transforms_react" } +swc_ecma_transforms_testing = { optional = true, version = "4.0.0", path = "../swc_ecma_transforms_testing" } +swc_ecma_transforms_typescript = { optional = true, version = "4.0.0", path = "../swc_ecma_transforms_typescript" } +swc_ecma_usage_analyzer = { optional = true, version = "4.0.0", path = "../swc_ecma_usage_analyzer" } +swc_ecma_utils = { optional = true, version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { optional = true, version = "3.0.0", path = "../swc_ecma_visit" } swc_malloc = { optional = true, version = "1.0.0", path = "../swc_malloc" } -swc_node_bundler = { optional = true, version = "3.0.0", path = "../swc_node_bundler" } +swc_node_bundler = { optional = true, version = "4.0.0", path = "../swc_node_bundler" } swc_nodejs_common = { optional = true, version = "1.0.0", path = "../swc_nodejs_common" } swc_plugin = { optional = true, version = "1.0.0", path = "../swc_plugin" } swc_plugin_macro = { optional = true, version = "1.0.0", path = "../swc_plugin_macro" } -swc_plugin_proxy = { optional = true, version = "2.0.0", path = "../swc_plugin_proxy" } +swc_plugin_proxy = { optional = true, version = "3.0.0", path = "../swc_plugin_proxy" } swc_trace_macro = { optional = true, version = "2.0.0", path = "../swc_trace_macro" } swc_transform_common = { optional = true, version = "1.0.0", path = "../swc_transform_common" } -swc_typescript = { optional = true, version = "2.0.0", path = "../swc_typescript" } -testing = { optional = true, version = "2.0.0", path = "../testing" } +swc_typescript = { optional = true, version = "3.0.0", path = "../swc_typescript" } +testing = { optional = true, version = "3.0.0", path = "../testing" } # TODO: eventually swc_plugin_runner needs to remove default features swc_allocator = { version = "1.0.0", path = "../swc_allocator", default-features = false } -swc_plugin_runner = { optional = true, version = "2.0.0", path = "../swc_plugin_runner", default-features = false } +swc_plugin_runner = { optional = true, version = "3.0.0", path = "../swc_plugin_runner", default-features = false } [build-dependencies] vergen = { workspace = true, features = ["cargo"] } [dev-dependencies] anyhow = { workspace = true } -testing = { version = "2.0.0", path = "../testing" } +testing = { version = "3.0.0", path = "../testing" } diff --git a/crates/swc_css/Cargo.toml b/crates/swc_css/Cargo.toml index 5976659ecf1..5507fa6fb0b 100644 --- a/crates/swc_css/Cargo.toml +++ b/crates/swc_css/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_css" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [package.metadata.docs.rs] all-features = true @@ -22,12 +22,12 @@ modules = ["swc_css_modules"] prefixer = ["swc_css_prefixer"] [dependencies] -swc_css_ast = { version = "2.0.0", path = "../swc_css_ast" } -swc_css_codegen = { version = "2.0.0", path = "../swc_css_codegen" } -swc_css_compat = { version = "2.0.0", path = "../swc_css_compat", optional = true } -swc_css_minifier = { version = "2.0.0", path = "../swc_css_minifier", optional = true } -swc_css_modules = { version = "2.0.0", path = "../swc_css_modules", optional = true } -swc_css_parser = { version = "2.0.0", path = "../swc_css_parser" } -swc_css_prefixer = { version = "2.0.0", path = "../swc_css_prefixer", optional = true } -swc_css_utils = { version = "2.0.0", path = "../swc_css_utils/" } -swc_css_visit = { version = "2.0.0", path = "../swc_css_visit" } +swc_css_ast = { version = "3.0.0", path = "../swc_css_ast" } +swc_css_codegen = { version = "3.0.0", path = "../swc_css_codegen" } +swc_css_compat = { version = "3.0.0", path = "../swc_css_compat", optional = true } +swc_css_minifier = { version = "3.0.0", path = "../swc_css_minifier", optional = true } +swc_css_modules = { version = "3.0.0", path = "../swc_css_modules", optional = true } +swc_css_parser = { version = "3.0.0", path = "../swc_css_parser" } +swc_css_prefixer = { version = "3.0.0", path = "../swc_css_prefixer", optional = true } +swc_css_utils = { version = "3.0.0", path = "../swc_css_utils/" } +swc_css_visit = { version = "3.0.0", path = "../swc_css_visit" } diff --git a/crates/swc_css_ast/Cargo.toml b/crates/swc_css_ast/Cargo.toml index 16017347287..4796a4693bf 100644 --- a/crates/swc_css_ast/Cargo.toml +++ b/crates/swc_css_ast/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_css_ast" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [lib] bench = false @@ -23,6 +23,6 @@ serde = { workspace = true, features = ["derive"], optional = true } string_enum = { version = "1.0.0", path = "../string_enum/" } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } +swc_common = { version = "3.0.0", path = "../swc_common" } rkyv = { workspace = true, features = ["validation"], optional = true } diff --git a/crates/swc_css_codegen/Cargo.toml b/crates/swc_css_codegen/Cargo.toml index 2767cbf4fc2..8f6644ec8f3 100644 --- a/crates/swc_css_codegen/Cargo.toml +++ b/crates/swc_css_codegen/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_css_codegen" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [lib] bench = false @@ -19,15 +19,15 @@ rustc-hash = { workspace = true } serde = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_css_ast = { version = "2.0.0", path = "../swc_css_ast" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_css_ast = { version = "3.0.0", path = "../swc_css_ast" } swc_css_codegen_macros = { version = "1.0.0", path = "../swc_css_codegen_macros" } -swc_css_utils = { version = "2.0.0", path = "../swc_css_utils" } +swc_css_utils = { version = "3.0.0", path = "../swc_css_utils" } [dev-dependencies] -swc_common = { version = "2.0.1", path = "../swc_common", features = [ +swc_common = { version = "3.0.0", path = "../swc_common", features = [ "sourcemap", ] } -swc_css_parser = { version = "2.0.0", path = "../swc_css_parser" } -swc_css_visit = { version = "2.0.0", path = "../swc_css_visit" } -testing = { version = "2.0.0", path = "../testing" } +swc_css_parser = { version = "3.0.0", path = "../swc_css_parser" } +swc_css_visit = { version = "3.0.0", path = "../swc_css_visit" } +testing = { version = "3.0.0", path = "../testing" } diff --git a/crates/swc_css_compat/Cargo.toml b/crates/swc_css_compat/Cargo.toml index 3145d5e6eaa..de150ddce75 100644 --- a/crates/swc_css_compat/Cargo.toml +++ b/crates/swc_css_compat/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "src/**/*.json", "data/**/*.json"] license = "Apache-2.0" name = "swc_css_compat" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [lib] bench = false @@ -19,12 +19,12 @@ serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_css_ast = { version = "2.0.0", path = "../swc_css_ast" } -swc_css_utils = { version = "2.0.0", path = "../swc_css_utils/" } -swc_css_visit = { version = "2.0.0", path = "../swc_css_visit" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_css_ast = { version = "3.0.0", path = "../swc_css_ast" } +swc_css_utils = { version = "3.0.0", path = "../swc_css_utils/" } +swc_css_visit = { version = "3.0.0", path = "../swc_css_visit" } [dev-dependencies] -swc_css_codegen = { version = "2.0.0", path = "../swc_css_codegen" } -swc_css_parser = { version = "2.0.0", path = "../swc_css_parser" } -testing = { version = "2.0.0", path = "../testing" } +swc_css_codegen = { version = "3.0.0", path = "../swc_css_codegen" } +swc_css_parser = { version = "3.0.0", path = "../swc_css_parser" } +testing = { version = "3.0.0", path = "../testing" } diff --git a/crates/swc_css_lints/Cargo.toml b/crates/swc_css_lints/Cargo.toml index 13ba988b72f..d3ffd032ec4 100644 --- a/crates/swc_css_lints/Cargo.toml +++ b/crates/swc_css_lints/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_css_lints" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [lib] bench = false @@ -21,12 +21,12 @@ thiserror = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } swc_cached = { version = "1.0.0", path = "../swc_cached" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_css_ast = { version = "2.0.0", path = "../swc_css_ast" } -swc_css_visit = { version = "2.0.0", path = "../swc_css_visit" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_css_ast = { version = "3.0.0", path = "../swc_css_ast" } +swc_css_visit = { version = "3.0.0", path = "../swc_css_visit" } [dev-dependencies] serde_json = { workspace = true } -swc_css_parser = { version = "2.0.0", path = "../swc_css_parser" } -testing = { version = "2.0.0", path = "../testing" } +swc_css_parser = { version = "3.0.0", path = "../swc_css_parser" } +testing = { version = "3.0.0", path = "../testing" } diff --git a/crates/swc_css_minifier/Cargo.toml b/crates/swc_css_minifier/Cargo.toml index 0cd07e91af0..a0117abb658 100644 --- a/crates/swc_css_minifier/Cargo.toml +++ b/crates/swc_css_minifier/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_css_minifier" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [lib] bench = false @@ -16,19 +16,19 @@ bench = false serde = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_css_ast = { version = "2.0.0", path = "../swc_css_ast" } -swc_css_utils = { version = "2.0.0", path = "../swc_css_utils/" } -swc_css_visit = { version = "2.0.0", path = "../swc_css_visit" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_css_ast = { version = "3.0.0", path = "../swc_css_ast" } +swc_css_utils = { version = "3.0.0", path = "../swc_css_utils/" } +swc_css_visit = { version = "3.0.0", path = "../swc_css_visit" } [dev-dependencies] codspeed-criterion-compat = { workspace = true } criterion = { workspace = true } -swc_css_codegen = { version = "2.0.0", path = "../swc_css_codegen" } -swc_css_parser = { version = "2.0.0", path = "../swc_css_parser" } +swc_css_codegen = { version = "3.0.0", path = "../swc_css_codegen" } +swc_css_parser = { version = "3.0.0", path = "../swc_css_parser" } swc_malloc = { version = "1.0.0", path = "../swc_malloc" } -testing = { version = "2.0.0", path = "../testing" } +testing = { version = "3.0.0", path = "../testing" } [[bench]] harness = false diff --git a/crates/swc_css_modules/Cargo.toml b/crates/swc_css_modules/Cargo.toml index da812388b57..6333b4e18d7 100644 --- a/crates/swc_css_modules/Cargo.toml +++ b/crates/swc_css_modules/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_css_modules" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [lib] bench = false @@ -19,15 +19,15 @@ rustc-hash = { workspace = true } serde = { workspace = true, features = ["derive"] } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_css_ast = { version = "2.0.0", path = "../swc_css_ast" } -swc_css_codegen = { version = "2.0.0", path = "../swc_css_codegen" } -swc_css_parser = { version = "2.0.0", path = "../swc_css_parser" } -swc_css_visit = { version = "2.0.0", path = "../swc_css_visit" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_css_ast = { version = "3.0.0", path = "../swc_css_ast" } +swc_css_codegen = { version = "3.0.0", path = "../swc_css_codegen" } +swc_css_parser = { version = "3.0.0", path = "../swc_css_parser" } +swc_css_visit = { version = "3.0.0", path = "../swc_css_visit" } [dev-dependencies] indexmap = { workspace = true, features = ["serde"] } serde_json = { workspace = true } -swc_css_compat = { version = "2.0.0", path = "../swc_css_compat" } -testing = { version = "2.0.0", path = "../testing" } +swc_css_compat = { version = "3.0.0", path = "../swc_css_compat" } +testing = { version = "3.0.0", path = "../testing" } diff --git a/crates/swc_css_parser/Cargo.toml b/crates/swc_css_parser/Cargo.toml index 2e3d10b410c..09c6a04ba27 100644 --- a/crates/swc_css_parser/Cargo.toml +++ b/crates/swc_css_parser/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_css_parser" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [lib] bench = false @@ -20,20 +20,20 @@ lexical = { workspace = true } serde = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_css_ast = { version = "2.0.0", path = "../swc_css_ast" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_css_ast = { version = "3.0.0", path = "../swc_css_ast" } [dev-dependencies] codspeed-criterion-compat = { workspace = true } criterion = { workspace = true } serde_json = { workspace = true } -swc_css_ast = { version = "2.0.0", path = "../swc_css_ast", features = [ +swc_css_ast = { version = "3.0.0", path = "../swc_css_ast", features = [ "serde-impl", ] } -swc_css_visit = { version = "2.0.0", path = "../swc_css_visit" } +swc_css_visit = { version = "3.0.0", path = "../swc_css_visit" } swc_malloc = { version = "1.0.0", path = "../swc_malloc" } -testing = { version = "2.0.0", path = "../testing" } +testing = { version = "3.0.0", path = "../testing" } [[bench]] harness = false diff --git a/crates/swc_css_prefixer/Cargo.toml b/crates/swc_css_prefixer/Cargo.toml index 6ac623c74b1..7f892502c29 100644 --- a/crates/swc_css_prefixer/Cargo.toml +++ b/crates/swc_css_prefixer/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "src/**/*.json", "data/**/*.json"] license = "Apache-2.0" name = "swc_css_prefixer" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [lib] bench = false @@ -19,12 +19,12 @@ serde_json = { workspace = true } preset_env_base = { version = "1.0.0", path = "../preset_env_base" } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_css_ast = { version = "2.0.0", path = "../swc_css_ast" } -swc_css_utils = { version = "2.0.0", path = "../swc_css_utils/" } -swc_css_visit = { version = "2.0.0", path = "../swc_css_visit" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_css_ast = { version = "3.0.0", path = "../swc_css_ast" } +swc_css_utils = { version = "3.0.0", path = "../swc_css_utils/" } +swc_css_visit = { version = "3.0.0", path = "../swc_css_visit" } [dev-dependencies] -swc_css_codegen = { version = "2.0.0", path = "../swc_css_codegen" } -swc_css_parser = { version = "2.0.0", path = "../swc_css_parser" } -testing = { version = "2.0.0", path = "../testing" } +swc_css_codegen = { version = "3.0.0", path = "../swc_css_codegen" } +swc_css_parser = { version = "3.0.0", path = "../swc_css_parser" } +testing = { version = "3.0.0", path = "../testing" } diff --git a/crates/swc_css_utils/Cargo.toml b/crates/swc_css_utils/Cargo.toml index 0dcdab496c7..1753af68a13 100644 --- a/crates/swc_css_utils/Cargo.toml +++ b/crates/swc_css_utils/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "src/**/*.json"] license = "Apache-2.0" name = "swc_css_utils" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [lib] bench = false @@ -18,6 +18,6 @@ serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_css_ast = { version = "2.0.0", path = "../swc_css_ast" } -swc_css_visit = { version = "2.0.0", path = "../swc_css_visit" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_css_ast = { version = "3.0.0", path = "../swc_css_ast" } +swc_css_visit = { version = "3.0.0", path = "../swc_css_visit" } diff --git a/crates/swc_css_visit/Cargo.toml b/crates/swc_css_visit/Cargo.toml index 0e972a74c23..154e18f5a13 100644 --- a/crates/swc_css_visit/Cargo.toml +++ b/crates/swc_css_visit/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_css_visit" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [package.metadata.docs.rs] all-features = true @@ -23,6 +23,6 @@ path = [] serde = { workspace = true, optional = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_css_ast = { version = "2.0.0", path = "../swc_css_ast" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_css_ast = { version = "3.0.0", path = "../swc_css_ast" } swc_visit = { version = "2.0.0", path = "../swc_visit" } diff --git a/crates/swc_ecma_ast/Cargo.toml b/crates/swc_ecma_ast/Cargo.toml index 1789c68d749..255e08e425a 100644 --- a/crates/swc_ecma_ast/Cargo.toml +++ b/crates/swc_ecma_ast/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_ecma_ast" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [package.metadata.docs.rs] all-features = true @@ -41,7 +41,7 @@ scoped-tls = { workspace = true } serde = { workspace = true, features = ["derive"], optional = true } string_enum = { version = "1.0.0", path = "../string_enum" } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } +swc_common = { version = "3.0.0", path = "../swc_common" } swc_visit = { version = "2.0.0", path = "../swc_visit" } unicode-id-start = { workspace = true } diff --git a/crates/swc_ecma_codegen/Cargo.toml b/crates/swc_ecma_codegen/Cargo.toml index 440af4bee75..449578995ee 100644 --- a/crates/swc_ecma_codegen/Cargo.toml +++ b/crates/swc_ecma_codegen/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_codegen" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [features] # This does not enable serde for ast nodes. @@ -27,8 +27,8 @@ tracing = { workspace = true } swc_allocator = { version = "1.0.0", path = "../swc_allocator", default-features = false } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } swc_ecma_codegen_macros = { version = "1.0.0", path = "../swc_ecma_codegen_macros" } [dev-dependencies] @@ -38,13 +38,13 @@ criterion = { workspace = true } serde_json = { workspace = true } swc_allocator = { version = "1.0.0", path = "../swc_allocator" } -swc_common = { version = "2.0.1", path = "../swc_common", features = [ +swc_common = { version = "3.0.0", path = "../swc_common", features = [ "sourcemap", ] } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_testing = { version = "2.0.0", path = "../swc_ecma_testing" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_testing = { version = "3.0.0", path = "../swc_ecma_testing" } swc_malloc = { version = "1.0.0", path = "../swc_malloc" } -testing = { version = "2.0.0", path = "../testing" } +testing = { version = "3.0.0", path = "../testing" } [[bench]] harness = false diff --git a/crates/swc_ecma_compat_bugfixes/Cargo.toml b/crates/swc_ecma_compat_bugfixes/Cargo.toml index ed7b6b3467b..3d00153401d 100644 --- a/crates/swc_ecma_compat_bugfixes/Cargo.toml +++ b/crates/swc_ecma_compat_bugfixes/Cargo.toml @@ -7,20 +7,20 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_compat_bugfixes" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_compat_es2015 = { version = "3.0.1", path = "../swc_ecma_compat_es2015" } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_compat_es2015 = { version = "4.0.0", path = "../swc_ecma_compat_es2015" } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } swc_trace_macro = { version = "2.0.0", path = "../swc_trace_macro" } tracing = { workspace = true } [dev-dependencies] -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_testing = { version = "3.0.0", path = "../swc_ecma_transforms_testing" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_testing = { version = "4.0.0", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_compat_common/Cargo.toml b/crates/swc_ecma_compat_common/Cargo.toml index d4404daba05..9c291829c1b 100644 --- a/crates/swc_ecma_compat_common/Cargo.toml +++ b/crates/swc_ecma_compat_common/Cargo.toml @@ -7,13 +7,13 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_compat_common" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } swc_trace_macro = { version = "2.0.0", path = "../swc_trace_macro" } diff --git a/crates/swc_ecma_compat_es2015/Cargo.toml b/crates/swc_ecma_compat_es2015/Cargo.toml index 4153ce9072d..e71f8529fee 100644 --- a/crates/swc_ecma_compat_es2015/Cargo.toml +++ b/crates/swc_ecma_compat_es2015/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_compat_es2015" repository = "https://github.com/swc-project/swc.git" -version = "3.0.1" +version = "4.0.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -23,18 +23,18 @@ smallvec = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } +swc_common = { version = "3.0.0", path = "../swc_common" } swc_config = { version = "1.0.0", path = "../swc_config" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_compat_common = { version = "3.0.0", path = "../swc_ecma_compat_common" } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_classes = { version = "3.0.0", path = "../swc_ecma_transforms_classes" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_compat_common = { version = "4.0.0", path = "../swc_ecma_compat_common" } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_classes = { version = "4.0.0", path = "../swc_ecma_transforms_classes" } swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } swc_trace_macro = { version = "2.0.0", path = "../swc_trace_macro" } tracing = { workspace = true } [dev-dependencies] -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_testing = { version = "3.0.0", path = "../swc_ecma_transforms_testing" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_testing = { version = "4.0.0", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_compat_es2016/Cargo.toml b/crates/swc_ecma_compat_es2016/Cargo.toml index 756f98224c8..89d3e9fd424 100644 --- a/crates/swc_ecma_compat_es2016/Cargo.toml +++ b/crates/swc_ecma_compat_es2016/Cargo.toml @@ -7,22 +7,22 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_compat_es2016" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } swc_trace_macro = { version = "2.0.0", path = "../swc_trace_macro" } tracing = { workspace = true } [dev-dependencies] -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_testing = { version = "3.0.0", path = "../swc_ecma_transforms_testing" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_testing = { version = "4.0.0", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_compat_es2017/Cargo.toml b/crates/swc_ecma_compat_es2017/Cargo.toml index a8ee3b4ee21..f4b4cffa5d3 100644 --- a/crates/swc_ecma_compat_es2017/Cargo.toml +++ b/crates/swc_ecma_compat_es2017/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_compat_es2017" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -17,14 +17,14 @@ serde = { workspace = true, features = ["derive"] } tracing = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } swc_trace_macro = { version = "2.0.0", path = "../swc_trace_macro" } [dev-dependencies] -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_testing = { version = "3.0.0", path = "../swc_ecma_transforms_testing" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_testing = { version = "4.0.0", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_compat_es2018/Cargo.toml b/crates/swc_ecma_compat_es2018/Cargo.toml index c56abbeb16e..43e37327ce7 100644 --- a/crates/swc_ecma_compat_es2018/Cargo.toml +++ b/crates/swc_ecma_compat_es2018/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_compat_es2018" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -17,15 +17,15 @@ serde = { workspace = true, features = ["derive"] } tracing = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_compat_common = { version = "3.0.0", path = "../swc_ecma_compat_common" } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_compat_common = { version = "4.0.0", path = "../swc_ecma_compat_common" } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } swc_trace_macro = { version = "2.0.0", path = "../swc_trace_macro" } [dev-dependencies] -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_testing = { version = "3.0.0", path = "../swc_ecma_transforms_testing" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_testing = { version = "4.0.0", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_compat_es2019/Cargo.toml b/crates/swc_ecma_compat_es2019/Cargo.toml index f1aed44fdb1..1120459d14c 100644 --- a/crates/swc_ecma_compat_es2019/Cargo.toml +++ b/crates/swc_ecma_compat_es2019/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_compat_es2019" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -17,13 +17,13 @@ tracing = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } swc_trace_macro = { version = "2.0.0", path = "../swc_trace_macro" } [dev-dependencies] -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_testing = { version = "3.0.0", path = "../swc_ecma_transforms_testing" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_testing = { version = "4.0.0", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_compat_es2020/Cargo.toml b/crates/swc_ecma_compat_es2020/Cargo.toml index c9a0e9b30d7..5c54fc018b5 100644 --- a/crates/swc_ecma_compat_es2020/Cargo.toml +++ b/crates/swc_ecma_compat_es2020/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_compat_es2020" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -15,15 +15,15 @@ version = "3.0.0" [dependencies] serde = { workspace = true, features = ["derive"] } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_compat_es2022 = { version = "3.0.0", path = "../swc_ecma_compat_es2022" } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_compat_es2022 = { version = "4.0.0", path = "../swc_ecma_compat_es2022" } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } swc_trace_macro = { version = "2.0.0", path = "../swc_trace_macro" } tracing = { workspace = true } [dev-dependencies] -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_testing = { version = "3.0.0", path = "../swc_ecma_transforms_testing" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_testing = { version = "4.0.0", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_compat_es2021/Cargo.toml b/crates/swc_ecma_compat_es2021/Cargo.toml index 77940cdd37e..1cbd0a30adb 100644 --- a/crates/swc_ecma_compat_es2021/Cargo.toml +++ b/crates/swc_ecma_compat_es2021/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_compat_es2021" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -16,9 +16,9 @@ version = "3.0.0" tracing = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } swc_trace_macro = { version = "2.0.0", path = "../swc_trace_macro" } diff --git a/crates/swc_ecma_compat_es2022/Cargo.toml b/crates/swc_ecma_compat_es2022/Cargo.toml index 0bd1d8412c3..3a025c6ab4d 100644 --- a/crates/swc_ecma_compat_es2022/Cargo.toml +++ b/crates/swc_ecma_compat_es2022/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_compat_es2022" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -17,12 +17,12 @@ tracing = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_compat_common = { version = "3.0.0", path = "../swc_ecma_compat_common" } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_classes = { version = "3.0.0", path = "../swc_ecma_transforms_classes" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_compat_common = { version = "4.0.0", path = "../swc_ecma_compat_common" } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_classes = { version = "4.0.0", path = "../swc_ecma_transforms_classes" } swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } swc_trace_macro = { version = "2.0.0", path = "../swc_trace_macro" } diff --git a/crates/swc_ecma_compat_es3/Cargo.toml b/crates/swc_ecma_compat_es3/Cargo.toml index 33f2a59fb6e..b3e544d989f 100644 --- a/crates/swc_ecma_compat_es3/Cargo.toml +++ b/crates/swc_ecma_compat_es3/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_compat_es3" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -15,13 +15,13 @@ version = "3.0.0" [dependencies] tracing = { workspace = true } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } swc_trace_macro = { version = "2.0.0", path = "../swc_trace_macro" } [dev-dependencies] -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_testing = { version = "3.0.0", path = "../swc_ecma_transforms_testing" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_testing = { version = "4.0.0", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_ext_transforms/Cargo.toml b/crates/swc_ecma_ext_transforms/Cargo.toml index 349510ab5be..b9e183df1c8 100644 --- a/crates/swc_ecma_ext_transforms/Cargo.toml +++ b/crates/swc_ecma_ext_transforms/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_ecma_ext_transforms" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" [lib] bench = false @@ -15,7 +15,7 @@ bench = false phf = { workspace = true, features = ["macros"] } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } diff --git a/crates/swc_ecma_lints/Cargo.toml b/crates/swc_ecma_lints/Cargo.toml index e8197e59d6b..39704c55f1e 100644 --- a/crates/swc_ecma_lints/Cargo.toml +++ b/crates/swc_ecma_lints/Cargo.toml @@ -6,7 +6,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_lints" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] @@ -21,21 +21,21 @@ regex = { workspace = true } serde = { workspace = true, features = ["derive"] } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common", features = [ +swc_common = { version = "3.0.0", path = "../swc_common", features = [ "concurrent", ] } swc_config = { version = "1.0.0", path = "../swc_config" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast", features = [ +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast", features = [ "serde", ] } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } [dev-dependencies] -swc_ecma_codegen = { version = "2.0.0", path = "../swc_ecma_codegen" } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } -testing = { version = "2.0.0", path = "../testing" } +swc_ecma_codegen = { version = "3.0.0", path = "../swc_ecma_codegen" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } +testing = { version = "3.0.0", path = "../testing" } [features] non_critical_lints = [] diff --git a/crates/swc_ecma_loader/Cargo.toml b/crates/swc_ecma_loader/Cargo.toml index fa95bb3111b..03070c0de7a 100644 --- a/crates/swc_ecma_loader/Cargo.toml +++ b/crates/swc_ecma_loader/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_ecma_loader" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [package.metadata.docs.rs] all-features = true @@ -38,7 +38,7 @@ tracing = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } swc_cached = { version = "1.0.0", optional = true, path = "../swc_cached" } -swc_common = { version = "2.0.1", path = "../swc_common" } +swc_common = { version = "3.0.0", path = "../swc_common" } [dev-dependencies] lazy_static = { workspace = true } diff --git a/crates/swc_ecma_minifier/Cargo.toml b/crates/swc_ecma_minifier/Cargo.toml index dd1752ec71c..741763df54b 100644 --- a/crates/swc_ecma_minifier/Cargo.toml +++ b/crates/swc_ecma_minifier/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "src/lists/*.json"] license = "Apache-2.0" name = "swc_ecma_minifier" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" [package.metadata.docs.rs] all-features = true @@ -54,20 +54,20 @@ tracing = { workspace = true } swc_allocator = { version = "1.0.0", path = "../swc_allocator", default-features = false } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } +swc_common = { version = "3.0.0", path = "../swc_common" } swc_config = { version = "1.0.0", path = "../swc_config", features = [ "sourcemap", ] } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast", features = [ +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast", features = [ "serde", ] } -swc_ecma_codegen = { version = "2.0.0", path = "../swc_ecma_codegen" } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_optimization = { version = "3.0.0", path = "../swc_ecma_transforms_optimization" } -swc_ecma_usage_analyzer = { version = "3.0.0", path = "../swc_ecma_usage_analyzer" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_ecma_codegen = { version = "3.0.0", path = "../swc_ecma_codegen" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_optimization = { version = "4.0.0", path = "../swc_ecma_transforms_optimization" } +swc_ecma_usage_analyzer = { version = "4.0.0", path = "../swc_ecma_usage_analyzer" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } swc_timer = { version = "1.0.0", path = "../swc_timer" } [dev-dependencies] @@ -79,9 +79,9 @@ walkdir = { workspace = true } codspeed-criterion-compat = { workspace = true } swc_allocator = { version = "1.0.0", path = "../swc_allocator" } -swc_ecma_testing = { version = "2.0.0", path = "../swc_ecma_testing" } +swc_ecma_testing = { version = "3.0.0", path = "../swc_ecma_testing" } swc_malloc = { version = "1.0.0", path = "../swc_malloc" } -testing = { version = "2.0.0", path = "../testing" } +testing = { version = "3.0.0", path = "../testing" } [[bench]] harness = false diff --git a/crates/swc_ecma_parser/Cargo.toml b/crates/swc_ecma_parser/Cargo.toml index 3c1100fddaa..f841ee28c11 100644 --- a/crates/swc_ecma_parser/Cargo.toml +++ b/crates/swc_ecma_parser/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "examples/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_parser" repository = "https://github.com/swc-project/swc.git" -version = "3.0.1" +version = "4.0.0" [package.metadata.docs.rs] all-features = true @@ -37,9 +37,9 @@ typed-arena = { workspace = true } new_debug_unreachable = { workspace = true } phf = { workspace = true, features = ["macros"] } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit", optional = true } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit", optional = true } [target.'cfg(not(any(target_arch = "wasm32", target_arch = "arm")))'.dependencies] stacker = { version = "0.1.15", optional = true } @@ -51,12 +51,12 @@ serde_json = { workspace = true } walkdir = { workspace = true } codspeed-criterion-compat = { workspace = true } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast", features = [ +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast", features = [ "serde-impl", ] } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } swc_malloc = { version = "1.0.0", path = "../swc_malloc" } -testing = { version = "2.0.0", path = "../testing" } +testing = { version = "3.0.0", path = "../testing" } [[example]] name = "lexer" diff --git a/crates/swc_ecma_preset_env/Cargo.toml b/crates/swc_ecma_preset_env/Cargo.toml index 6bc66b7325e..cc00d3bcb19 100644 --- a/crates/swc_ecma_preset_env/Cargo.toml +++ b/crates/swc_ecma_preset_env/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "src/**/*.json", "data/**/*.json"] license = "Apache-2.0" name = "swc_ecma_preset_env" repository = { workspace = true } -version = "3.0.0" +version = "4.0.0" [lib] bench = false @@ -30,23 +30,23 @@ preset_env_base = { version = "1.0.0", path = "../preset_env_base" } rustc-hash = { workspace = true } string_enum = { version = "1.0.0", path = "../string_enum" } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_transforms = { version = "3.0.0", path = "../swc_ecma_transforms", features = [ +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_transforms = { version = "4.0.0", path = "../swc_ecma_transforms", features = [ "compat", "proposal", ] } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } [dev-dependencies] codspeed-criterion-compat = { workspace = true } criterion = { workspace = true } pretty_assertions = { workspace = true } -swc_ecma_codegen = { version = "2.0.0", path = "../swc_ecma_codegen" } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -testing = { version = "2.0.0", path = "../testing" } +swc_ecma_codegen = { version = "3.0.0", path = "../swc_ecma_codegen" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +testing = { version = "3.0.0", path = "../testing" } [[bench]] harness = false diff --git a/crates/swc_ecma_quote/Cargo.toml b/crates/swc_ecma_quote/Cargo.toml index 0a96bd0b7ff..7151ad77bc2 100644 --- a/crates/swc_ecma_quote/Cargo.toml +++ b/crates/swc_ecma_quote/Cargo.toml @@ -6,16 +6,16 @@ edition = "2021" license = "Apache-2.0" name = "swc_ecma_quote" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" [lib] bench = false [dependencies] swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_quote_macros = { version = "3.0.0", path = "../swc_ecma_quote_macros" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_quote_macros = { version = "4.0.0", path = "../swc_ecma_quote_macros" } [dev-dependencies] -testing = { version = "2.0.0", path = "../testing" } +testing = { version = "3.0.0", path = "../testing" } diff --git a/crates/swc_ecma_quote_macros/Cargo.toml b/crates/swc_ecma_quote_macros/Cargo.toml index 44e46af198b..4b661dd31d1 100644 --- a/crates/swc_ecma_quote_macros/Cargo.toml +++ b/crates/swc_ecma_quote_macros/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_ecma_quote_macros" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" [lib] bench = false @@ -19,7 +19,7 @@ quote = { workspace = true } syn = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } swc_macros_common = { version = "1.0.0", path = "../swc_macros_common" } diff --git a/crates/swc_ecma_testing/Cargo.toml b/crates/swc_ecma_testing/Cargo.toml index 34b9052ac68..91e72e1270e 100644 --- a/crates/swc_ecma_testing/Cargo.toml +++ b/crates/swc_ecma_testing/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_ecma_testing" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [lib] bench = false @@ -17,4 +17,4 @@ hex = { workspace = true } sha2 = { workspace = true } tracing = { workspace = true } -testing = { version = "2.0.0", path = "../testing" } +testing = { version = "3.0.0", path = "../testing" } diff --git a/crates/swc_ecma_transforms/Cargo.toml b/crates/swc_ecma_transforms/Cargo.toml index 602d1d0bd4b..77869e58411 100644 --- a/crates/swc_ecma_transforms/Cargo.toml +++ b/crates/swc_ecma_transforms/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_transforms" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" [package.metadata.docs.rs] all-features = true @@ -33,24 +33,24 @@ typescript = ["swc_ecma_transforms_typescript"] [dependencies] swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_compat = { version = "3.0.0", path = "../swc_ecma_transforms_compat", optional = true } -swc_ecma_transforms_module = { version = "3.0.0", path = "../swc_ecma_transforms_module", optional = true } -swc_ecma_transforms_optimization = { version = "3.0.0", path = "../swc_ecma_transforms_optimization", optional = true } -swc_ecma_transforms_proposal = { version = "3.0.0", path = "../swc_ecma_transforms_proposal", optional = true } -swc_ecma_transforms_react = { version = "3.0.0", path = "../swc_ecma_transforms_react", optional = true } -swc_ecma_transforms_typescript = { version = "3.0.0", path = "../swc_ecma_transforms_typescript", optional = true } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_compat = { version = "4.0.0", path = "../swc_ecma_transforms_compat", optional = true } +swc_ecma_transforms_module = { version = "4.0.0", path = "../swc_ecma_transforms_module", optional = true } +swc_ecma_transforms_optimization = { version = "4.0.0", path = "../swc_ecma_transforms_optimization", optional = true } +swc_ecma_transforms_proposal = { version = "4.0.0", path = "../swc_ecma_transforms_proposal", optional = true } +swc_ecma_transforms_react = { version = "4.0.0", path = "../swc_ecma_transforms_react", optional = true } +swc_ecma_transforms_typescript = { version = "4.0.0", path = "../swc_ecma_transforms_typescript", optional = true } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } [dev-dependencies] pretty_assertions = { workspace = true } sourcemap = { workspace = true } tempfile = { workspace = true } -swc_ecma_codegen = { version = "2.0.0", path = "../swc_ecma_codegen" } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_testing = { version = "3.0.0", path = "../swc_ecma_transforms_testing" } -testing = { version = "2.0.0", path = "../testing" } +swc_ecma_codegen = { version = "3.0.0", path = "../swc_ecma_codegen" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_testing = { version = "4.0.0", path = "../swc_ecma_transforms_testing" } +testing = { version = "3.0.0", path = "../testing" } diff --git a/crates/swc_ecma_transforms_base/Cargo.toml b/crates/swc_ecma_transforms_base/Cargo.toml index d91acc475c2..ceb2bfb540d 100644 --- a/crates/swc_ecma_transforms_base/Cargo.toml +++ b/crates/swc_ecma_transforms_base/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "src/**/*.js"] license = "Apache-2.0" name = "swc_ecma_transforms_base" repository = "https://github.com/swc-project/swc.git" -version = "3.0.1" +version = "4.0.0" [lib] bench = false @@ -29,21 +29,21 @@ smallvec = { workspace = true } tracing = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } [dev-dependencies] codspeed-criterion-compat = { workspace = true } criterion = { workspace = true } rayon = { workspace = true } -swc_ecma_codegen = { version = "2.0.0", path = "../swc_ecma_codegen" } +swc_ecma_codegen = { version = "3.0.0", path = "../swc_ecma_codegen" } swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" } swc_malloc = { version = "1.0.0", path = "../swc_malloc" } -testing = { version = "2.0.0", path = "../testing" } +testing = { version = "3.0.0", path = "../testing" } [[bench]] harness = false diff --git a/crates/swc_ecma_transforms_classes/Cargo.toml b/crates/swc_ecma_transforms_classes/Cargo.toml index 781789a1cfd..5c07bb736e8 100644 --- a/crates/swc_ecma_transforms_classes/Cargo.toml +++ b/crates/swc_ecma_transforms_classes/Cargo.toml @@ -6,15 +6,15 @@ edition = "2021" license = "Apache-2.0" name = "swc_ecma_transforms_classes" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" [lib] bench = false [dependencies] swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } diff --git a/crates/swc_ecma_transforms_compat/Cargo.toml b/crates/swc_ecma_transforms_compat/Cargo.toml index cc7077adc9c..1cd20a2bc35 100644 --- a/crates/swc_ecma_transforms_compat/Cargo.toml +++ b/crates/swc_ecma_transforms_compat/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_transforms_compat" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" [lib] bench = false @@ -30,30 +30,30 @@ smallvec = { workspace = true } tracing = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } +swc_common = { version = "3.0.0", path = "../swc_common" } swc_config = { version = "1.0.0", path = "../swc_config" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_compat_bugfixes = { version = "3.0.0", path = "../swc_ecma_compat_bugfixes" } -swc_ecma_compat_common = { version = "3.0.0", path = "../swc_ecma_compat_common" } -swc_ecma_compat_es2015 = { version = "3.0.1", path = "../swc_ecma_compat_es2015" } -swc_ecma_compat_es2016 = { version = "3.0.0", path = "../swc_ecma_compat_es2016" } -swc_ecma_compat_es2017 = { version = "3.0.0", path = "../swc_ecma_compat_es2017" } -swc_ecma_compat_es2018 = { version = "3.0.0", path = "../swc_ecma_compat_es2018" } -swc_ecma_compat_es2019 = { version = "3.0.0", path = "../swc_ecma_compat_es2019" } -swc_ecma_compat_es2020 = { version = "3.0.0", path = "../swc_ecma_compat_es2020" } -swc_ecma_compat_es2021 = { version = "3.0.0", path = "../swc_ecma_compat_es2021" } -swc_ecma_compat_es2022 = { version = "3.0.0", path = "../swc_ecma_compat_es2022" } -swc_ecma_compat_es3 = { version = "3.0.0", path = "../swc_ecma_compat_es3" } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_classes = { version = "3.0.0", path = "../swc_ecma_transforms_classes" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_compat_bugfixes = { version = "4.0.0", path = "../swc_ecma_compat_bugfixes" } +swc_ecma_compat_common = { version = "4.0.0", path = "../swc_ecma_compat_common" } +swc_ecma_compat_es2015 = { version = "4.0.0", path = "../swc_ecma_compat_es2015" } +swc_ecma_compat_es2016 = { version = "4.0.0", path = "../swc_ecma_compat_es2016" } +swc_ecma_compat_es2017 = { version = "4.0.0", path = "../swc_ecma_compat_es2017" } +swc_ecma_compat_es2018 = { version = "4.0.0", path = "../swc_ecma_compat_es2018" } +swc_ecma_compat_es2019 = { version = "4.0.0", path = "../swc_ecma_compat_es2019" } +swc_ecma_compat_es2020 = { version = "4.0.0", path = "../swc_ecma_compat_es2020" } +swc_ecma_compat_es2021 = { version = "4.0.0", path = "../swc_ecma_compat_es2021" } +swc_ecma_compat_es2022 = { version = "4.0.0", path = "../swc_ecma_compat_es2022" } +swc_ecma_compat_es3 = { version = "4.0.0", path = "../swc_ecma_compat_es3" } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_classes = { version = "4.0.0", path = "../swc_ecma_transforms_classes" } swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } swc_trace_macro = { version = "2.0.0", path = "../swc_trace_macro" } [dev-dependencies] serde_json = { workspace = true } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_testing = { version = "3.0.0", path = "../swc_ecma_transforms_testing" } -testing = { version = "2.0.0", path = "../testing" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_testing = { version = "4.0.0", path = "../swc_ecma_transforms_testing" } +testing = { version = "3.0.0", path = "../testing" } diff --git a/crates/swc_ecma_transforms_module/Cargo.toml b/crates/swc_ecma_transforms_module/Cargo.toml index 0c06ddbc810..5f50fb7c2e3 100644 --- a/crates/swc_ecma_transforms_module/Cargo.toml +++ b/crates/swc_ecma_transforms_module/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_transforms_module" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" [lib] bench = false @@ -26,25 +26,25 @@ tracing = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } swc_cached = { version = "1.0.0", path = "../swc_cached" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_loader = { version = "2.0.0", path = "../swc_ecma_loader", features = [ +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_loader = { version = "3.0.0", path = "../swc_ecma_loader", features = [ "node", ] } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } [dev-dependencies] indexmap = { workspace = true, features = ["serde"] } serde_json = { workspace = true } -swc_ecma_loader = { version = "2.0.0", path = "../swc_ecma_loader", features = [ +swc_ecma_loader = { version = "3.0.0", path = "../swc_ecma_loader", features = [ "node", "tsc", ] } -swc_ecma_transforms_compat = { version = "3.0.0", path = "../swc_ecma_transforms_compat" } -swc_ecma_transforms_testing = { version = "3.0.0", path = "../swc_ecma_transforms_testing" } -swc_ecma_transforms_typescript = { version = "3.0.0", path = "../swc_ecma_transforms_typescript" } -testing = { version = "2.0.0", path = "../testing/" } +swc_ecma_transforms_compat = { version = "4.0.0", path = "../swc_ecma_transforms_compat" } +swc_ecma_transforms_testing = { version = "4.0.0", path = "../swc_ecma_transforms_testing" } +swc_ecma_transforms_typescript = { version = "4.0.0", path = "../swc_ecma_transforms_typescript" } +testing = { version = "3.0.0", path = "../testing/" } diff --git a/crates/swc_ecma_transforms_optimization/Cargo.toml b/crates/swc_ecma_transforms_optimization/Cargo.toml index 62a9184e25a..d3f8058c598 100644 --- a/crates/swc_ecma_transforms_optimization/Cargo.toml +++ b/crates/swc_ecma_transforms_optimization/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_transforms_optimization" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] @@ -32,20 +32,20 @@ serde_json = { workspace = true } tracing = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } -swc_fast_graph = { version = "3.0.0", path = "../swc_fast_graph" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } +swc_fast_graph = { version = "4.0.0", path = "../swc_fast_graph" } [dev-dependencies] -swc_ecma_transforms_compat = { version = "3.0.0", path = "../swc_ecma_transforms_compat" } -swc_ecma_transforms_module = { version = "3.0.0", path = "../swc_ecma_transforms_module" } -swc_ecma_transforms_proposal = { version = "3.0.0", path = "../swc_ecma_transforms_proposal" } -swc_ecma_transforms_react = { version = "3.0.0", path = "../swc_ecma_transforms_react" } -swc_ecma_transforms_testing = { version = "3.0.0", path = "../swc_ecma_transforms_testing" } -swc_ecma_transforms_typescript = { version = "3.0.0", path = "../swc_ecma_transforms_typescript" } -testing = { version = "2.0.0", path = "../testing" } +swc_ecma_transforms_compat = { version = "4.0.0", path = "../swc_ecma_transforms_compat" } +swc_ecma_transforms_module = { version = "4.0.0", path = "../swc_ecma_transforms_module" } +swc_ecma_transforms_proposal = { version = "4.0.0", path = "../swc_ecma_transforms_proposal" } +swc_ecma_transforms_react = { version = "4.0.0", path = "../swc_ecma_transforms_react" } +swc_ecma_transforms_testing = { version = "4.0.0", path = "../swc_ecma_transforms_testing" } +swc_ecma_transforms_typescript = { version = "4.0.0", path = "../swc_ecma_transforms_typescript" } +testing = { version = "3.0.0", path = "../testing" } diff --git a/crates/swc_ecma_transforms_proposal/Cargo.toml b/crates/swc_ecma_transforms_proposal/Cargo.toml index 708a6c4ebef..d641eab5603 100644 --- a/crates/swc_ecma_transforms_proposal/Cargo.toml +++ b/crates/swc_ecma_transforms_proposal/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_transforms_proposal" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" [lib] bench = false @@ -23,20 +23,20 @@ serde = { workspace = true, features = ["derive"] } smallvec = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_loader = { version = "2.0.0", path = "../swc_ecma_loader", optional = true } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_classes = { version = "3.0.0", path = "../swc_ecma_transforms_classes" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_loader = { version = "3.0.0", path = "../swc_ecma_loader", optional = true } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_classes = { version = "4.0.0", path = "../swc_ecma_transforms_classes" } swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } [dev-dependencies] serde_json = { workspace = true } -swc_ecma_codegen = { version = "2.0.0", path = "../swc_ecma_codegen" } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_compat = { version = "3.0.0", path = "../swc_ecma_transforms_compat" } -swc_ecma_transforms_testing = { version = "3.0.0", path = "../swc_ecma_transforms_testing" } -testing = { version = "2.0.0", path = "../testing" } +swc_ecma_codegen = { version = "3.0.0", path = "../swc_ecma_codegen" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_compat = { version = "4.0.0", path = "../swc_ecma_transforms_compat" } +swc_ecma_transforms_testing = { version = "4.0.0", path = "../swc_ecma_transforms_testing" } +testing = { version = "3.0.0", path = "../testing" } diff --git a/crates/swc_ecma_transforms_react/Cargo.toml b/crates/swc_ecma_transforms_react/Cargo.toml index 57c914f5e2b..1e2fd7a7255 100644 --- a/crates/swc_ecma_transforms_react/Cargo.toml +++ b/crates/swc_ecma_transforms_react/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_transforms_react" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" [lib] bench = false @@ -29,17 +29,17 @@ sha1 = { workspace = true } string_enum = { version = "1.0.0", path = "../string_enum" } swc_allocator = { version = "1.0.0", path = "../swc_allocator", default-features = false } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } +swc_common = { version = "3.0.0", path = "../swc_common" } swc_config = { version = "1.0.0", path = "../swc_config" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } [dev-dependencies] -swc_ecma_codegen = { version = "2.0.0", path = "../swc_ecma_codegen/" } -swc_ecma_transforms_compat = { version = "3.0.0", path = "../swc_ecma_transforms_compat/" } -swc_ecma_transforms_testing = { version = "3.0.0", path = "../swc_ecma_transforms_testing" } -testing = { version = "2.0.0", path = "../testing" } +swc_ecma_codegen = { version = "3.0.0", path = "../swc_ecma_codegen/" } +swc_ecma_transforms_compat = { version = "4.0.0", path = "../swc_ecma_transforms_compat/" } +swc_ecma_transforms_testing = { version = "4.0.0", path = "../swc_ecma_transforms_testing" } +testing = { version = "3.0.0", path = "../testing" } diff --git a/crates/swc_ecma_transforms_testing/Cargo.toml b/crates/swc_ecma_transforms_testing/Cargo.toml index 3e20fdca287..ce155a55d15 100644 --- a/crates/swc_ecma_transforms_testing/Cargo.toml +++ b/crates/swc_ecma_transforms_testing/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_ecma_transforms_testing" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" [lib] bench = false @@ -22,14 +22,14 @@ sha2 = { workspace = true } sourcemap = { workspace = true } tempfile = { workspace = true } -swc_common = { version = "2.0.1", path = "../swc_common", features = [ +swc_common = { version = "3.0.0", path = "../swc_common", features = [ "sourcemap", ] } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "2.0.0", path = "../swc_ecma_codegen" } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_testing = { version = "2.0.0", path = "../swc_ecma_testing" } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } -testing = { version = "2.0.0", path = "../testing" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_codegen = { version = "3.0.0", path = "../swc_ecma_codegen" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_testing = { version = "3.0.0", path = "../swc_ecma_testing" } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } +testing = { version = "3.0.0", path = "../testing" } diff --git a/crates/swc_ecma_transforms_typescript/Cargo.toml b/crates/swc_ecma_transforms_typescript/Cargo.toml index 40929136c8b..364fae80a58 100644 --- a/crates/swc_ecma_transforms_typescript/Cargo.toml +++ b/crates/swc_ecma_transforms_typescript/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_transforms_typescript" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" [lib] bench = false @@ -17,23 +17,23 @@ serde = { workspace = true, features = ["derive"] } ryu-js = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_react = { version = "3.0.0", path = "../swc_ecma_transforms_react" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_react = { version = "4.0.0", path = "../swc_ecma_transforms_react" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } [dev-dependencies] codspeed-criterion-compat = { workspace = true } criterion = { workspace = true } -swc_ecma_codegen = { version = "2.0.0", path = "../swc_ecma_codegen" } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_compat = { version = "3.0.0", path = "../swc_ecma_transforms_compat" } -swc_ecma_transforms_proposal = { version = "3.0.0", path = "../swc_ecma_transforms_proposal" } -swc_ecma_transforms_testing = { version = "3.0.0", path = "../swc_ecma_transforms_testing" } -testing = { version = "2.0.0", path = "../testing" } +swc_ecma_codegen = { version = "3.0.0", path = "../swc_ecma_codegen" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_compat = { version = "4.0.0", path = "../swc_ecma_transforms_compat" } +swc_ecma_transforms_proposal = { version = "4.0.0", path = "../swc_ecma_transforms_proposal" } +swc_ecma_transforms_testing = { version = "4.0.0", path = "../swc_ecma_transforms_testing" } +testing = { version = "3.0.0", path = "../testing" } [[bench]] harness = false diff --git a/crates/swc_ecma_usage_analyzer/Cargo.toml b/crates/swc_ecma_usage_analyzer/Cargo.toml index bf4c51dd93f..4140587cef6 100644 --- a/crates/swc_ecma_usage_analyzer/Cargo.toml +++ b/crates/swc_ecma_usage_analyzer/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_usage_analyzer" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" [package.metadata.docs.rs] all-features = true @@ -28,8 +28,8 @@ rustc-hash = { workspace = true } tracing = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } swc_timer = { version = "1.0.0", path = "../swc_timer" } diff --git a/crates/swc_ecma_utils/Cargo.toml b/crates/swc_ecma_utils/Cargo.toml index cb13e166864..7a317177bc4 100644 --- a/crates/swc_ecma_utils/Cargo.toml +++ b/crates/swc_ecma_utils/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_ecma_utils" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" [package.metadata.docs.rs] all-features = true @@ -30,13 +30,13 @@ tracing = { workspace = true } unicode-id = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } [target.'cfg(not(any(target_arch = "wasm32", target_arch = "arm")))'.dependencies] stacker = { version = "0.1.15", optional = true } [dev-dependencies] -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -testing = { version = "2.0.0", path = "../testing" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +testing = { version = "3.0.0", path = "../testing" } diff --git a/crates/swc_ecma_visit/Cargo.toml b/crates/swc_ecma_visit/Cargo.toml index b73125905b2..44ab9813d69 100644 --- a/crates/swc_ecma_visit/Cargo.toml +++ b/crates/swc_ecma_visit/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_ecma_visit" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [package.metadata.docs.rs] all-features = true @@ -27,6 +27,6 @@ serde = { workspace = true, optional = true } tracing = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } swc_visit = { version = "2.0.0", path = "../swc_visit" } diff --git a/crates/swc_ecmascript/Cargo.toml b/crates/swc_ecmascript/Cargo.toml index 38dff6eaa08..8cd740303ed 100644 --- a/crates/swc_ecmascript/Cargo.toml +++ b/crates/swc_ecmascript/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_ecmascript" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" [package.metadata.docs.rs] all-features = true @@ -38,14 +38,14 @@ react = ["swc_ecma_transforms/react"] typescript = ["typescript-parser", "swc_ecma_transforms/typescript"] [dependencies] -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "2.0.0", path = "../swc_ecma_codegen", optional = true } -swc_ecma_minifier = { version = "3.0.0", path = "../swc_ecma_minifier", optional = true } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser", optional = true, default-features = false } -swc_ecma_preset_env = { version = "3.0.0", path = "../swc_ecma_preset_env", optional = true } -swc_ecma_quote = { version = "3.0.0", path = "../swc_ecma_quote", optional = true } -swc_ecma_transforms = { version = "3.0.0", path = "../swc_ecma_transforms", optional = true } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils", optional = true } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit", optional = true } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_codegen = { version = "3.0.0", path = "../swc_ecma_codegen", optional = true } +swc_ecma_minifier = { version = "4.0.0", path = "../swc_ecma_minifier", optional = true } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser", optional = true, default-features = false } +swc_ecma_preset_env = { version = "4.0.0", path = "../swc_ecma_preset_env", optional = true } +swc_ecma_quote = { version = "4.0.0", path = "../swc_ecma_quote", optional = true } +swc_ecma_transforms = { version = "4.0.0", path = "../swc_ecma_transforms", optional = true } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils", optional = true } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit", optional = true } [dev-dependencies] diff --git a/crates/swc_error_reporters/Cargo.toml b/crates/swc_error_reporters/Cargo.toml index cbeebb208ff..b4b5f1e51d1 100644 --- a/crates/swc_error_reporters/Cargo.toml +++ b/crates/swc_error_reporters/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_error_reporters" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" [lib] bench = false @@ -17,6 +17,6 @@ miette = { workspace = true, features = ["fancy-no-syscall"] } once_cell = { workspace = true } parking_lot = { workspace = true } -swc_common = { version = "2.0.1", path = "../swc_common", features = [ +swc_common = { version = "3.0.0", path = "../swc_common", features = [ "concurrent", ] } diff --git a/crates/swc_estree_ast/Cargo.toml b/crates/swc_estree_ast/Cargo.toml index 1a384119f06..dc3fbdec7a0 100644 --- a/crates/swc_estree_ast/Cargo.toml +++ b/crates/swc_estree_ast/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" license = { workspace = true } name = "swc_estree_ast" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [package.metadata.docs.rs] all-features = true @@ -27,4 +27,4 @@ serde_json = { workspace = true } better_scoped_tls = { version = "1.0.0", path = "../better_scoped_tls" } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } +swc_common = { version = "3.0.0", path = "../swc_common" } diff --git a/crates/swc_estree_compat/Cargo.toml b/crates/swc_estree_compat/Cargo.toml index 11e53eabe98..9c9ef547ee4 100644 --- a/crates/swc_estree_compat/Cargo.toml +++ b/crates/swc_estree_compat/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_estree_compat" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" [package.metadata.docs.rs] all-features = true @@ -25,27 +25,27 @@ serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common", features = [ +swc_common = { version = "3.0.0", path = "../swc_common", features = [ "sourcemap", "tty-emitter", ] } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } -swc_estree_ast = { version = "2.0.0", path = "../swc_estree_ast" } -swc_node_comments = { version = "2.0.0", path = "../swc_node_comments/" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } +swc_estree_ast = { version = "3.0.0", path = "../swc_estree_ast" } +swc_node_comments = { version = "3.0.0", path = "../swc_node_comments/" } [dev-dependencies] codspeed-criterion-compat = { workspace = true } criterion = { workspace = true } pretty_assertions = { workspace = true } -swc = { version = "3.0.2", path = "../swc" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms = { version = "3.0.0", path = "../swc_ecma_transforms/" } -testing = { version = "2.0.0", path = "../testing" } +swc = { version = "4.0.0", path = "../swc" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_transforms = { version = "4.0.0", path = "../swc_ecma_transforms/" } +testing = { version = "3.0.0", path = "../testing" } walkdir = { workspace = true } [[bench]] diff --git a/crates/swc_fast_graph/Cargo.toml b/crates/swc_fast_graph/Cargo.toml index 714eb676845..d1cdce749e2 100644 --- a/crates/swc_fast_graph/Cargo.toml +++ b/crates/swc_fast_graph/Cargo.toml @@ -6,7 +6,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_fast_graph" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" [lib] bench = false @@ -16,4 +16,4 @@ indexmap = { workspace = true } petgraph = { workspace = true } rustc-hash = { workspace = true } -swc_common = { version = "2.0.1", path = "../swc_common" } +swc_common = { version = "3.0.0", path = "../swc_common" } diff --git a/crates/swc_fast_ts_strip/Cargo.toml b/crates/swc_fast_ts_strip/Cargo.toml index 459b1903ca1..ba736823365 100644 --- a/crates/swc_fast_ts_strip/Cargo.toml +++ b/crates/swc_fast_ts_strip/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_fast_ts_strip" repository = { workspace = true } -version = "3.0.0" +version = "4.0.0" [dependencies] @@ -17,20 +17,20 @@ wasm-bindgen = { workspace = true, optional = true } swc_allocator = { version = "1.0.0", path = "../swc_allocator", default-features = false } -swc_common = { version = "2.0.1", path = "../swc_common", features = [ +swc_common = { version = "3.0.0", path = "../swc_common", features = [ "sourcemap", ] } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "2.0.0", path = "../swc_ecma_codegen" } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_typescript = { version = "3.0.0", path = "../swc_ecma_transforms_typescript" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_codegen = { version = "3.0.0", path = "../swc_ecma_codegen" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_typescript = { version = "4.0.0", path = "../swc_ecma_transforms_typescript" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } [dev-dependencies] codspeed-criterion-compat = { workspace = true } criterion = { workspace = true } -testing = { version = "2.0.0", path = "../testing" } +testing = { version = "3.0.0", path = "../testing" } [[bench]] harness = false diff --git a/crates/swc_graph_analyzer/Cargo.toml b/crates/swc_graph_analyzer/Cargo.toml index 695419c81bf..f8db5e16282 100644 --- a/crates/swc_graph_analyzer/Cargo.toml +++ b/crates/swc_graph_analyzer/Cargo.toml @@ -6,7 +6,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_graph_analyzer" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [lib] bench = false @@ -14,9 +14,9 @@ bench = false [dependencies] auto_impl = { workspace = true } petgraph = { workspace = true } -swc_common = { version = "2.0.1", path = "../swc_common/" } -swc_fast_graph = { version = "3.0.0", path = "../swc_fast_graph/" } +swc_common = { version = "3.0.0", path = "../swc_common/" } +swc_fast_graph = { version = "4.0.0", path = "../swc_fast_graph/" } tracing = { workspace = true } [dev-dependencies] -testing = { version = "2.0.0", path = "../testing" } +testing = { version = "3.0.0", path = "../testing" } diff --git a/crates/swc_html/Cargo.toml b/crates/swc_html/Cargo.toml index e0377ac4340..7d5078939a8 100644 --- a/crates/swc_html/Cargo.toml +++ b/crates/swc_html/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" license = { workspace = true } name = "swc_html" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" [package.metadata.docs.rs] all-features = true @@ -22,8 +22,8 @@ bench = false minifier = ["swc_html_minifier"] [dependencies] -swc_html_ast = { version = "2.0.0", path = "../swc_html_ast" } -swc_html_codegen = { version = "2.0.0", path = "../swc_html_codegen" } -swc_html_minifier = { version = "3.0.0", path = "../swc_html_minifier", optional = true, default-features = false } -swc_html_parser = { version = "2.0.0", path = "../swc_html_parser" } -swc_html_visit = { version = "2.0.0", path = "../swc_html_visit" } +swc_html_ast = { version = "3.0.0", path = "../swc_html_ast" } +swc_html_codegen = { version = "3.0.0", path = "../swc_html_codegen" } +swc_html_minifier = { version = "4.0.0", path = "../swc_html_minifier", optional = true, default-features = false } +swc_html_parser = { version = "3.0.0", path = "../swc_html_parser" } +swc_html_visit = { version = "3.0.0", path = "../swc_html_visit" } diff --git a/crates/swc_html_ast/Cargo.toml b/crates/swc_html_ast/Cargo.toml index f3f7e16d2d3..d3136282be1 100644 --- a/crates/swc_html_ast/Cargo.toml +++ b/crates/swc_html_ast/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" license = { workspace = true } name = "swc_html_ast" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [lib] bench = false @@ -26,4 +26,4 @@ serde = { workspace = true, features = ["derive"], optional = true } string_enum = { version = "1.0.0", path = "../string_enum/" } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } +swc_common = { version = "3.0.0", path = "../swc_common" } diff --git a/crates/swc_html_codegen/Cargo.toml b/crates/swc_html_codegen/Cargo.toml index 84c1f4c1cc9..eb6b797a24b 100644 --- a/crates/swc_html_codegen/Cargo.toml +++ b/crates/swc_html_codegen/Cargo.toml @@ -10,7 +10,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = { workspace = true } name = "swc_html_codegen" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [lib] bench = false @@ -21,15 +21,15 @@ bitflags = { workspace = true } rustc-hash = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_html_ast = { version = "2.0.0", path = "../swc_html_ast" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_html_ast = { version = "3.0.0", path = "../swc_html_ast" } swc_html_codegen_macros = { version = "1.0.0", path = "../swc_html_codegen_macros" } -swc_html_utils = { version = "2.0.0", path = "../swc_html_utils" } +swc_html_utils = { version = "3.0.0", path = "../swc_html_utils" } [dev-dependencies] -swc_common = { version = "2.0.1", path = "../swc_common", features = [ +swc_common = { version = "3.0.0", path = "../swc_common", features = [ "sourcemap", ] } -swc_html_parser = { version = "2.0.0", path = "../swc_html_parser" } -swc_html_visit = { version = "2.0.0", path = "../swc_html_visit" } -testing = { version = "2.0.0", path = "../testing" } +swc_html_parser = { version = "3.0.0", path = "../swc_html_parser" } +swc_html_visit = { version = "3.0.0", path = "../swc_html_visit" } +testing = { version = "3.0.0", path = "../testing" } diff --git a/crates/swc_html_minifier/Cargo.toml b/crates/swc_html_minifier/Cargo.toml index d484d727a76..bc68b478184 100644 --- a/crates/swc_html_minifier/Cargo.toml +++ b/crates/swc_html_minifier/Cargo.toml @@ -10,7 +10,7 @@ include = ["Cargo.toml", "src/**/*.rs", "data/**/*.json"] license = { workspace = true } name = "swc_html_minifier" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" [lib] bench = false @@ -27,33 +27,33 @@ serde_json = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } swc_cached = { version = "1.0.0", path = "../swc_cached" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_css_ast = { version = "2.0.0", path = "../swc_css_ast", optional = true } -swc_css_codegen = { version = "2.0.0", path = "../swc_css_codegen", optional = true } -swc_css_minifier = { version = "2.0.0", path = "../swc_css_minifier", optional = true } -swc_css_parser = { version = "2.0.0", path = "../swc_css_parser", optional = true } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "2.0.0", path = "../swc_ecma_codegen", features = [ +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_css_ast = { version = "3.0.0", path = "../swc_css_ast", optional = true } +swc_css_codegen = { version = "3.0.0", path = "../swc_css_codegen", optional = true } +swc_css_minifier = { version = "3.0.0", path = "../swc_css_minifier", optional = true } +swc_css_parser = { version = "3.0.0", path = "../swc_css_parser", optional = true } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_codegen = { version = "3.0.0", path = "../swc_ecma_codegen", features = [ "serde-impl", ] } -swc_ecma_minifier = { version = "3.0.0", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "4.0.0", path = "../swc_ecma_minifier", features = [ "extra-serde", ] } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } -swc_html_ast = { version = "2.0.0", path = "../swc_html_ast" } -swc_html_codegen = { version = "2.0.0", path = "../swc_html_codegen" } -swc_html_parser = { version = "2.0.0", path = "../swc_html_parser" } -swc_html_utils = { version = "2.0.0", path = "../swc_html_utils" } -swc_html_visit = { version = "2.0.0", path = "../swc_html_visit" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_base = { version = "4.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } +swc_html_ast = { version = "3.0.0", path = "../swc_html_ast" } +swc_html_codegen = { version = "3.0.0", path = "../swc_html_codegen" } +swc_html_parser = { version = "3.0.0", path = "../swc_html_parser" } +swc_html_utils = { version = "3.0.0", path = "../swc_html_utils" } +swc_html_visit = { version = "3.0.0", path = "../swc_html_visit" } [dev-dependencies] codspeed-criterion-compat = { workspace = true } criterion = { workspace = true } swc_malloc = { version = "1.0.0", path = "../swc_malloc" } -testing = { version = "2.0.0", path = "../testing" } +testing = { version = "3.0.0", path = "../testing" } [[bench]] harness = false diff --git a/crates/swc_html_parser/Cargo.toml b/crates/swc_html_parser/Cargo.toml index e9135ad372d..ef0e709505b 100644 --- a/crates/swc_html_parser/Cargo.toml +++ b/crates/swc_html_parser/Cargo.toml @@ -10,7 +10,7 @@ include = ["Cargo.toml", "src/**/*.rs", "src/**/*.json"] license = { workspace = true } name = "swc_html_parser" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [lib] bench = false @@ -20,9 +20,9 @@ debug = [] [dependencies] swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_html_ast = { version = "2.0.0", path = "../swc_html_ast" } -swc_html_utils = { version = "2.0.0", path = "../swc_html_utils" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_html_ast = { version = "3.0.0", path = "../swc_html_ast" } +swc_html_utils = { version = "3.0.0", path = "../swc_html_utils" } [dev-dependencies] codspeed-criterion-compat = { workspace = true } @@ -30,12 +30,12 @@ criterion = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } -swc_html_ast = { version = "2.0.0", path = "../swc_html_ast", features = [ +swc_html_ast = { version = "3.0.0", path = "../swc_html_ast", features = [ "serde-impl", ] } -swc_html_visit = { version = "2.0.0", path = "../swc_html_visit" } +swc_html_visit = { version = "3.0.0", path = "../swc_html_visit" } swc_malloc = { version = "1.0.0", path = "../swc_malloc" } -testing = { version = "2.0.0", path = "../testing" } +testing = { version = "3.0.0", path = "../testing" } [[bench]] harness = false diff --git a/crates/swc_html_utils/Cargo.toml b/crates/swc_html_utils/Cargo.toml index fc5085d77c7..ebc6dfa7991 100644 --- a/crates/swc_html_utils/Cargo.toml +++ b/crates/swc_html_utils/Cargo.toml @@ -10,7 +10,7 @@ include = ["Cargo.toml", "src/**/*.rs", "data/**/*.json"] license = { workspace = true } name = "swc_html_utils" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [lib] bench = false @@ -21,4 +21,4 @@ serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } +swc_common = { version = "3.0.0", path = "../swc_common" } diff --git a/crates/swc_html_visit/Cargo.toml b/crates/swc_html_visit/Cargo.toml index 6912dd7cd1e..c03cb348b1e 100644 --- a/crates/swc_html_visit/Cargo.toml +++ b/crates/swc_html_visit/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" license = { workspace = true } name = "swc_html_visit" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [package.metadata.docs.rs] all-features = true @@ -26,6 +26,6 @@ path = [] serde = { workspace = true, optional = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_html_ast = { version = "2.0.0", path = "../swc_html_ast" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_html_ast = { version = "3.0.0", path = "../swc_html_ast" } swc_visit = { version = "2.0.0", path = "../swc_visit" } diff --git a/crates/swc_node_bundler/Cargo.toml b/crates/swc_node_bundler/Cargo.toml index d4aad0d4da6..73cc0015348 100644 --- a/crates/swc_node_bundler/Cargo.toml +++ b/crates/swc_node_bundler/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_node_bundler" repository = "https://github.com/swc-project/swc.git" -version = "3.0.0" +version = "4.0.0" [lib] bench = false @@ -29,24 +29,24 @@ serde_json = { workspace = true } tracing = { workspace = true } string_enum = { version = "1.0.0", path = "../string_enum" } -swc = { version = "3.0.2", path = "../swc" } +swc = { version = "4.0.0", path = "../swc" } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_bundler = { version = "3.0.0", path = "../swc_bundler", features = [ +swc_bundler = { version = "4.0.0", path = "../swc_bundler", features = [ "concurrent", ] } -swc_common = { version = "2.0.1", path = "../swc_common", features = [ +swc_common = { version = "3.0.0", path = "../swc_common", features = [ "concurrent", ] } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "2.0.0", path = "../swc_ecma_codegen" } -swc_ecma_loader = { version = "2.0.0", path = "../swc_ecma_loader" } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms = { version = "3.0.0", path = "../swc_ecma_transforms" } -swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } +swc_ecma_codegen = { version = "3.0.0", path = "../swc_ecma_codegen" } +swc_ecma_loader = { version = "3.0.0", path = "../swc_ecma_loader" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_transforms = { version = "4.0.0", path = "../swc_ecma_transforms" } +swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } swc_malloc = { version = "1.0.0", path = "../swc_malloc" } [dev-dependencies] pretty_assertions = { workspace = true } -testing = { version = "2.0.0", path = "../testing" } +testing = { version = "3.0.0", path = "../testing" } diff --git a/crates/swc_node_comments/Cargo.toml b/crates/swc_node_comments/Cargo.toml index 529bcfcc00c..cd6be4509aa 100644 --- a/crates/swc_node_comments/Cargo.toml +++ b/crates/swc_node_comments/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" license = { workspace = true } name = "swc_node_comments" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [lib] bench = false @@ -18,4 +18,4 @@ bench = false dashmap = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } +swc_common = { version = "3.0.0", path = "../swc_common" } diff --git a/crates/swc_plugin_proxy/Cargo.toml b/crates/swc_plugin_proxy/Cargo.toml index dbacc39a988..341961a1d22 100644 --- a/crates/swc_plugin_proxy/Cargo.toml +++ b/crates/swc_plugin_proxy/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_plugin_proxy" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [lib] bench = false @@ -26,6 +26,6 @@ rkyv = { workspace = true, features = ["validation"], optional = true } tracing = { workspace = true } better_scoped_tls = { version = "1.0.0", path = "../better_scoped_tls" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } swc_trace_macro = { version = "2.0.0", path = "../swc_trace_macro" } diff --git a/crates/swc_plugin_runner/Cargo.toml b/crates/swc_plugin_runner/Cargo.toml index 3def8c8f0d0..304cc6a23c7 100644 --- a/crates/swc_plugin_runner/Cargo.toml +++ b/crates/swc_plugin_runner/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_plugin_runner" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [lib] bench = false @@ -63,12 +63,12 @@ virtual-fs = { workspace = true } wasmer = { workspace = true } wasmer-wasix = { workspace = true } -swc_common = { version = "2.0.1", path = "../swc_common", features = [ +swc_common = { version = "3.0.0", path = "../swc_common", features = [ "concurrent", ] } -swc_css_ast = { version = "2.0.0", path = "../swc_css_ast", optional = true } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast", optional = true } -swc_plugin_proxy = { version = "2.0.0", path = "../swc_plugin_proxy" } +swc_css_ast = { version = "3.0.0", path = "../swc_css_ast", optional = true } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast", optional = true } +swc_plugin_proxy = { version = "3.0.0", path = "../swc_plugin_proxy" } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] wasmer-cache = { version = "4.3.7", optional = true } @@ -79,18 +79,18 @@ codspeed-criterion-compat = { workspace = true } criterion = { workspace = true } swc_atoms = { version = "2.0.0", path = '../swc_atoms' } -swc_css_ast = { version = "2.0.0", path = "../swc_css_ast", features = [ +swc_css_ast = { version = "3.0.0", path = "../swc_css_ast", features = [ "rkyv-impl", ] } -swc_css_parser = { version = "2.0.0", path = "../swc_css_parser" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast", features = [ +swc_css_parser = { version = "3.0.0", path = "../swc_css_parser" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast", features = [ "rkyv-impl", ] } -swc_ecma_loader = { version = "2.0.0", path = "../swc_ecma_loader" } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" } +swc_ecma_loader = { version = "3.0.0", path = "../swc_ecma_loader" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" } swc_malloc = { version = "1.0.0", path = "../swc_malloc" } -testing = { version = "2.0.0", path = "../testing" } +testing = { version = "3.0.0", path = "../testing" } tokio = { workspace = true, features = ["rt"] } [[bench]] diff --git a/crates/swc_timer/Cargo.toml b/crates/swc_timer/Cargo.toml index 7c72febe4b0..54ce7c46320 100644 --- a/crates/swc_timer/Cargo.toml +++ b/crates/swc_timer/Cargo.toml @@ -15,4 +15,4 @@ bench = false tracing = { workspace = true } [dev-dependencies] -testing = { version = "2.0.0", path = "../testing" } +testing = { version = "3.0.0", path = "../testing" } diff --git a/crates/swc_typescript/Cargo.toml b/crates/swc_typescript/Cargo.toml index 9ba737710b0..0975c8fb9ec 100644 --- a/crates/swc_typescript/Cargo.toml +++ b/crates/swc_typescript/Cargo.toml @@ -6,17 +6,17 @@ edition = "2021" license = "Apache-2.0" name = "swc_typescript" repository = { workspace = true } -version = "2.0.0" +version = "3.0.0" [dependencies] thiserror = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast" } [dev-dependencies] -swc_ecma_codegen = { version = "2.0.0", path = "../swc_ecma_codegen" } -swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" } -testing = { version = "2.0.0", path = "../testing" } +swc_ecma_codegen = { version = "3.0.0", path = "../swc_ecma_codegen" } +swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" } +testing = { version = "3.0.0", path = "../testing" } diff --git a/crates/swc_xml/Cargo.toml b/crates/swc_xml/Cargo.toml index 4521be7030c..e4e649551c8 100644 --- a/crates/swc_xml/Cargo.toml +++ b/crates/swc_xml/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" license = { workspace = true } name = "swc_xml" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [package.metadata.docs.rs] all-features = true @@ -19,7 +19,7 @@ version = "2.0.0" bench = false [dependencies] -swc_xml_ast = { version = "2.0.0", path = "../swc_xml_ast" } -swc_xml_codegen = { version = "2.0.0", path = "../swc_xml_codegen" } -swc_xml_parser = { version = "2.0.0", path = "../swc_xml_parser" } -swc_xml_visit = { version = "2.0.0", path = "../swc_xml_visit" } +swc_xml_ast = { version = "3.0.0", path = "../swc_xml_ast" } +swc_xml_codegen = { version = "3.0.0", path = "../swc_xml_codegen" } +swc_xml_parser = { version = "3.0.0", path = "../swc_xml_parser" } +swc_xml_visit = { version = "3.0.0", path = "../swc_xml_visit" } diff --git a/crates/swc_xml_ast/Cargo.toml b/crates/swc_xml_ast/Cargo.toml index ad30e6ff0b5..712b272a831 100644 --- a/crates/swc_xml_ast/Cargo.toml +++ b/crates/swc_xml_ast/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" license = { workspace = true } name = "swc_xml_ast" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [lib] bench = false @@ -23,4 +23,4 @@ serde = { workspace = true, features = ["derive"], optional = true } string_enum = { version = "1.0.0", path = "../string_enum/" } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } +swc_common = { version = "3.0.0", path = "../swc_common" } diff --git a/crates/swc_xml_codegen/Cargo.toml b/crates/swc_xml_codegen/Cargo.toml index 8f007e9765d..6cf371e4c73 100644 --- a/crates/swc_xml_codegen/Cargo.toml +++ b/crates/swc_xml_codegen/Cargo.toml @@ -10,7 +10,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = { workspace = true } name = "swc_xml_codegen" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [lib] bench = false @@ -21,14 +21,14 @@ bitflags = { workspace = true } rustc-hash = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_xml_ast = { version = "2.0.0", path = "../swc_xml_ast" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_xml_ast = { version = "3.0.0", path = "../swc_xml_ast" } swc_xml_codegen_macros = { version = "1.0.0", path = "../swc_xml_codegen_macros" } [dev-dependencies] -swc_common = { version = "2.0.1", path = "../swc_common", features = [ +swc_common = { version = "3.0.0", path = "../swc_common", features = [ "sourcemap", ] } -swc_xml_parser = { version = "2.0.0", path = "../swc_xml_parser" } -swc_xml_visit = { version = "2.0.0", path = "../swc_xml_visit" } -testing = { version = "2.0.0", path = "../testing" } +swc_xml_parser = { version = "3.0.0", path = "../swc_xml_parser" } +swc_xml_visit = { version = "3.0.0", path = "../swc_xml_visit" } +testing = { version = "3.0.0", path = "../testing" } diff --git a/crates/swc_xml_parser/Cargo.toml b/crates/swc_xml_parser/Cargo.toml index 8b567171d9a..597678e3162 100644 --- a/crates/swc_xml_parser/Cargo.toml +++ b/crates/swc_xml_parser/Cargo.toml @@ -10,7 +10,7 @@ include = ["Cargo.toml", "src/**/*.rs", "src/**/*.json"] license = { workspace = true } name = "swc_xml_parser" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [lib] bench = false @@ -20,15 +20,15 @@ debug = [] [dependencies] swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } -swc_xml_ast = { version = "2.0.0", path = "../swc_xml_ast" } +swc_common = { version = "3.0.0", path = "../swc_common" } +swc_xml_ast = { version = "3.0.0", path = "../swc_xml_ast" } [dev-dependencies] serde = { workspace = true } serde_json = { workspace = true } -swc_xml_ast = { version = "2.0.0", path = "../swc_xml_ast", features = [ +swc_xml_ast = { version = "3.0.0", path = "../swc_xml_ast", features = [ "serde-impl", ] } -swc_xml_visit = { version = "2.0.0", path = "../swc_xml_visit" } -testing = { version = "2.0.0", path = "../testing" } +swc_xml_visit = { version = "3.0.0", path = "../swc_xml_visit" } +testing = { version = "3.0.0", path = "../testing" } diff --git a/crates/swc_xml_visit/Cargo.toml b/crates/swc_xml_visit/Cargo.toml index 203bd075ef5..b5b0cc8f3dd 100644 --- a/crates/swc_xml_visit/Cargo.toml +++ b/crates/swc_xml_visit/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" license = { workspace = true } name = "swc_xml_visit" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [package.metadata.docs.rs] all-features = true @@ -26,6 +26,6 @@ path = [] serde = { workspace = true, optional = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } -swc_common = { version = "2.0.1", path = "../swc_common" } +swc_common = { version = "3.0.0", path = "../swc_common" } swc_visit = { version = "2.0.0", path = "../swc_visit" } -swc_xml_ast = { version = "2.0.0", path = "../swc_xml_ast" } +swc_xml_ast = { version = "3.0.0", path = "../swc_xml_ast" } diff --git a/crates/testing/Cargo.toml b/crates/testing/Cargo.toml index 74b74017dc2..c6f76b9619c 100644 --- a/crates/testing/Cargo.toml +++ b/crates/testing/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "testing" repository = "https://github.com/swc-project/swc.git" -version = "2.0.0" +version = "3.0.0" [lib] bench = false @@ -23,8 +23,8 @@ serde_json = { workspace = true } tracing = { workspace = true } tracing-subscriber = { workspace = true, features = ["env-filter"] } -swc_common = { version = "2.0.1", path = "../swc_common", features = [ +swc_common = { version = "3.0.0", path = "../swc_common", features = [ "tty-emitter", ] } -swc_error_reporters = { version = "3.0.0", path = "../swc_error_reporters" } +swc_error_reporters = { version = "4.0.0", path = "../swc_error_reporters" } testing_macros = { version = "1.0.0", path = "../testing_macros" }