diff --git a/.changeset/funny-drinks-remain.md b/.changeset/funny-drinks-remain.md deleted file mode 100644 index 490efab02b3..00000000000 --- a/.changeset/funny-drinks-remain.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -swc_core: patch -swc_ecma_codegen: patch ---- - -perf(es/codegen): Reduce usage of `tracing::instrument` diff --git a/.changeset/tall-rocks-jam.md b/.changeset/tall-rocks-jam.md deleted file mode 100644 index 249da848d7b..00000000000 --- a/.changeset/tall-rocks-jam.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -swc_core: patch -swc_ecma_transforms_module: patch ---- - -fix(es/modules): Allow TypeScript nodes for `Rewriter` diff --git a/.changeset/thick-ants-applaud.md b/.changeset/thick-ants-applaud.md deleted file mode 100644 index 0e5fc904599..00000000000 --- a/.changeset/thick-ants-applaud.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -swc_ecma_transforms_typescript: patch -swc_core: patch ---- - -perf(es/typescript): Reduce unnecessary visits diff --git a/CHANGELOG.md b/CHANGELOG.md index 05188a58047..d24691ef9be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,24 @@ # Changelog +## [unreleased] + +### Bug Fixes + + + +- **(es/module)** Allow TypeScript nodes for `Rewriter` ([#9606](https://github.com/swc-project/swc/issues/9606)) ([4ee45ac](https://github.com/swc-project/swc/commit/4ee45ac1fd10da1ea982a152a458deb9f5359998)) + +### Performance + + + +- **(es/codegen)** Reduce usage of `tracing::instrument` ([#9604](https://github.com/swc-project/swc/issues/9604)) ([2f06fc5](https://github.com/swc-project/swc/commit/2f06fc559c8e200ea89133b8b30045f970ffc20b)) + + +- **(es/transforms)** Copy benchmarks from `oxc` ([#9602](https://github.com/swc-project/swc/issues/9602)) ([24c3a0c](https://github.com/swc-project/swc/commit/24c3a0ce138bacbf12b4660862ccfe9e3d19bdd9)) + + +- **(es/typescript)** Reduce unnecessary visits ([#9605](https://github.com/swc-project/swc/issues/9605)) ([866af6c](https://github.com/swc-project/swc/commit/866af6c9478b92cd6be780c515ddd51d2db90ac3)) + ## [1.7.29] - 2024-10-01 ### Bug Fixes @@ -1301,12 +1321,6 @@ - **(css/modules)** Fix `:global` selectors without preceding whitespace ([#8926](https://github.com/swc-project/swc/issues/8926)) ([2405dc6](https://github.com/swc-project/swc/commit/2405dc6ba0aa227df81fda3db303fc6f523972db)) -- **(es/fixer)** Wrap class expressions in callee ([#8928](https://github.com/swc-project/swc/issues/8928)) ([6b60bdb](https://github.com/swc-project/swc/commit/6b60bdb69713f7ccf603db04696621985d200d28)) - - -- **(es/minifier)** Respect `module: false` ([#8925](https://github.com/swc-project/swc/issues/8925)) ([aca6a77](https://github.com/swc-project/swc/commit/aca6a77903e31099f473587eb9285ae1c4dee309)) - - - **(es/minifier)** Consider side effects of operands of binary expressions ([#8929](https://github.com/swc-project/swc/issues/8929)) ([4d4a7a9](https://github.com/swc-project/swc/commit/4d4a7a9bcb39228973c0da2991310b5107feb319)) diff --git a/Cargo.lock b/Cargo.lock index 7944d127b78..7f987cd9e29 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4115,7 +4115,7 @@ dependencies = [ [[package]] name = "swc_core" -version = "0.106.3" +version = "0.106.4" dependencies = [ "anyhow", "binding_macros", @@ -4377,7 +4377,7 @@ dependencies = [ [[package]] name = "swc_ecma_codegen" -version = "0.158.0" +version = "0.158.1" dependencies = [ "base64 0.21.7", "codspeed-criterion-compat", @@ -4909,7 +4909,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_module" -version = "0.194.0" +version = "0.194.1" dependencies = [ "Inflector", "anyhow", @@ -5046,7 +5046,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_typescript" -version = "0.202.0" +version = "0.202.1" dependencies = [ "codspeed-criterion-compat", "criterion", diff --git a/crates/dbg-swc/Cargo.toml b/crates/dbg-swc/Cargo.toml index 3c760700650..306ae9e02de 100644 --- a/crates/dbg-swc/Cargo.toml +++ b/crates/dbg-swc/Cargo.toml @@ -32,7 +32,7 @@ swc_common = { version = "0.40.1", features = [ "tty-emitter", ], path = "../swc_common" } swc_ecma_ast = { version = "0.121.1", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" } +swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" } swc_ecma_minifier = { version = "0.208.1", path = "../swc_ecma_minifier", features = [ "concurrent", ] } diff --git a/crates/swc/Cargo.toml b/crates/swc/Cargo.toml index d4f29339b19..14df933a2c0 100644 --- a/crates/swc/Cargo.toml +++ b/crates/swc/Cargo.toml @@ -77,7 +77,7 @@ swc_common = { version = "0.40.1", path = "../swc_common", features = [ swc_compiler_base = { version = "0.23.0", path = "../swc_compiler_base" } swc_config = { version = "0.1.13", path = "../swc_config" } swc_ecma_ast = { version = "0.121.1", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" } +swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" } swc_ecma_ext_transforms = { version = "0.123.0", path = "../swc_ecma_ext_transforms" } swc_ecma_lints = { version = "0.104.1", path = "../swc_ecma_lints" } swc_ecma_loader = { version = "0.52.1", path = "../swc_ecma_loader", features = [ diff --git a/crates/swc_bundler/Cargo.toml b/crates/swc_bundler/Cargo.toml index 089599165a4..b8eba15fb15 100644 --- a/crates/swc_bundler/Cargo.toml +++ b/crates/swc_bundler/Cargo.toml @@ -40,7 +40,7 @@ tracing = { workspace = true } swc_atoms = { version = "1.0.0", path = "../swc_atoms" } swc_common = { version = "0.40.1", path = "../swc_common" } swc_ecma_ast = { version = "0.121.1", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" } +swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" } swc_ecma_loader = { version = "0.52.1", path = "../swc_ecma_loader" } swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser" } swc_ecma_transforms_base = { version = "0.149.0", path = "../swc_ecma_transforms_base" } @@ -68,6 +68,6 @@ swc_ecma_minifier = { version = "0.208.1", path = "../swc_ecma_minifier", featur ] } swc_ecma_transforms_proposal = { version = "0.183.0", path = "../swc_ecma_transforms_proposal" } swc_ecma_transforms_react = { version = "0.195.0", path = "../swc_ecma_transforms_react" } -swc_ecma_transforms_typescript = { version = "0.202.0", path = "../swc_ecma_transforms_typescript" } +swc_ecma_transforms_typescript = { version = "0.202.1", path = "../swc_ecma_transforms_typescript" } swc_malloc = { version = "0.5.10", path = "../swc_malloc" } testing = { version = "0.42.0", path = "../testing" } diff --git a/crates/swc_cli_impl/Cargo.toml b/crates/swc_cli_impl/Cargo.toml index 56c40f2c329..2a4aad86b4e 100644 --- a/crates/swc_cli_impl/Cargo.toml +++ b/crates/swc_cli_impl/Cargo.toml @@ -39,7 +39,7 @@ tracing-futures = { workspace = true } tracing-subscriber = { workspace = true, features = ["env-filter"] } walkdir = { workspace = true } -swc_core = { version = "0.106.3", features = [ +swc_core = { version = "0.106.4", features = [ "trace_macro", "common_concurrent", "base_concurrent", diff --git a/crates/swc_compiler_base/Cargo.toml b/crates/swc_compiler_base/Cargo.toml index d70147ac622..160393e7208 100644 --- a/crates/swc_compiler_base/Cargo.toml +++ b/crates/swc_compiler_base/Cargo.toml @@ -29,7 +29,7 @@ swc_common = { version = "0.40.1", path = "../swc_common", features = [ ] } swc_config = { version = "0.1.13", path = "../swc_config" } swc_ecma_ast = { version = "0.121.1", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" } +swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" } swc_ecma_minifier = { version = "0.208.1", path = "../swc_ecma_minifier" } swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser" } swc_ecma_visit = { version = "0.107.0", path = "../swc_ecma_visit" } diff --git a/crates/swc_core/Cargo.toml b/crates/swc_core/Cargo.toml index d364d4cfc0d..c1a84a5647d 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 = "0.106.3" +version = "0.106.4" [package.metadata.docs.rs] features = [ "allocator_node", @@ -354,7 +354,7 @@ swc_css_prefixer = { optional = true, version = "0.161.0", path swc_css_utils = { optional = true, version = "0.144.0", path = "../swc_css_utils/" } swc_css_visit = { optional = true, version = "0.146.0", path = "../swc_css_visit" } swc_ecma_ast = { optional = true, version = "0.121.1", path = "../swc_ecma_ast" } -swc_ecma_codegen = { optional = true, version = "0.158.0", path = "../swc_ecma_codegen" } +swc_ecma_codegen = { optional = true, version = "0.158.1", path = "../swc_ecma_codegen" } swc_ecma_lints = { optional = true, version = "0.104.1", path = "../swc_ecma_lints" } swc_ecma_loader = { optional = true, version = "0.52.1", path = "../swc_ecma_loader" } swc_ecma_minifier = { optional = true, version = "0.208.1", path = "../swc_ecma_minifier" } @@ -363,12 +363,12 @@ swc_ecma_preset_env = { optional = true, version = "0.221.0", path swc_ecma_quote_macros = { optional = true, version = "0.63.0", path = "../swc_ecma_quote_macros" } swc_ecma_transforms_base = { optional = true, version = "0.149.0", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_compat = { optional = true, version = "0.175.0", path = "../swc_ecma_transforms_compat" } -swc_ecma_transforms_module = { optional = true, version = "0.194.0", path = "../swc_ecma_transforms_module" } +swc_ecma_transforms_module = { optional = true, version = "0.194.1", path = "../swc_ecma_transforms_module" } swc_ecma_transforms_optimization = { optional = true, version = "0.212.1", path = "../swc_ecma_transforms_optimization" } swc_ecma_transforms_proposal = { optional = true, version = "0.183.0", path = "../swc_ecma_transforms_proposal" } swc_ecma_transforms_react = { optional = true, version = "0.195.0", path = "../swc_ecma_transforms_react" } swc_ecma_transforms_testing = { optional = true, version = "0.152.0", path = "../swc_ecma_transforms_testing" } -swc_ecma_transforms_typescript = { optional = true, version = "0.202.0", path = "../swc_ecma_transforms_typescript" } +swc_ecma_transforms_typescript = { optional = true, version = "0.202.1", path = "../swc_ecma_transforms_typescript" } swc_ecma_usage_analyzer = { optional = true, version = "0.33.0", path = "../swc_ecma_usage_analyzer" } swc_ecma_utils = { optional = true, version = "0.137.0", path = "../swc_ecma_utils" } swc_ecma_visit = { optional = true, version = "0.107.0", path = "../swc_ecma_visit" } diff --git a/crates/swc_ecma_codegen/Cargo.toml b/crates/swc_ecma_codegen/Cargo.toml index b63d344186b..ac3637f2906 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 = "0.158.0" +version = "0.158.1" [features] # This does not enable serde for ast nodes. diff --git a/crates/swc_ecma_lints/Cargo.toml b/crates/swc_ecma_lints/Cargo.toml index 2524185cfe4..a240a2366df 100644 --- a/crates/swc_ecma_lints/Cargo.toml +++ b/crates/swc_ecma_lints/Cargo.toml @@ -32,7 +32,7 @@ swc_ecma_utils = { version = "0.137.0", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.107.0", path = "../swc_ecma_visit" } [dev-dependencies] -swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" } +swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" } swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser" } swc_ecma_transforms_base = { version = "0.149.0", path = "../swc_ecma_transforms_base" } testing = { version = "0.42.0", path = "../testing" } diff --git a/crates/swc_ecma_minifier/Cargo.toml b/crates/swc_ecma_minifier/Cargo.toml index c1ff8251bc5..2ad4517a9dc 100644 --- a/crates/swc_ecma_minifier/Cargo.toml +++ b/crates/swc_ecma_minifier/Cargo.toml @@ -61,7 +61,7 @@ swc_config = { version = "0.1.13", path = "../swc_config", features = [ swc_ecma_ast = { version = "0.121.1", path = "../swc_ecma_ast", features = [ "serde", ] } -swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" } +swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" } swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser" } swc_ecma_transforms_base = { version = "0.149.0", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_optimization = { version = "0.212.1", path = "../swc_ecma_transforms_optimization" } diff --git a/crates/swc_ecma_preset_env/Cargo.toml b/crates/swc_ecma_preset_env/Cargo.toml index 92ab049e793..7196cf9bcca 100644 --- a/crates/swc_ecma_preset_env/Cargo.toml +++ b/crates/swc_ecma_preset_env/Cargo.toml @@ -44,7 +44,7 @@ codspeed-criterion-compat = { workspace = true } criterion = { workspace = true } pretty_assertions = { workspace = true } -swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" } +swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" } swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser" } testing = { version = "0.42.0", path = "../testing" } diff --git a/crates/swc_ecma_transforms/Cargo.toml b/crates/swc_ecma_transforms/Cargo.toml index c47ef4ea19b..6abfb27d7c8 100644 --- a/crates/swc_ecma_transforms/Cargo.toml +++ b/crates/swc_ecma_transforms/Cargo.toml @@ -36,11 +36,11 @@ swc_common = { version = "0.40.1", path = "../swc_common" swc_ecma_ast = { version = "0.121.1", path = "../swc_ecma_ast" } swc_ecma_transforms_base = { version = "0.149.0", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_compat = { version = "0.175.0", path = "../swc_ecma_transforms_compat", optional = true } -swc_ecma_transforms_module = { version = "0.194.0", path = "../swc_ecma_transforms_module", optional = true } +swc_ecma_transforms_module = { version = "0.194.1", path = "../swc_ecma_transforms_module", optional = true } swc_ecma_transforms_optimization = { version = "0.212.1", path = "../swc_ecma_transforms_optimization", optional = true } swc_ecma_transforms_proposal = { version = "0.183.0", path = "../swc_ecma_transforms_proposal", optional = true } swc_ecma_transforms_react = { version = "0.195.0", path = "../swc_ecma_transforms_react", optional = true } -swc_ecma_transforms_typescript = { version = "0.202.0", path = "../swc_ecma_transforms_typescript", optional = true } +swc_ecma_transforms_typescript = { version = "0.202.1", path = "../swc_ecma_transforms_typescript", optional = true } swc_ecma_utils = { version = "0.137.0", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.107.0", path = "../swc_ecma_visit" } @@ -49,7 +49,7 @@ pretty_assertions = { workspace = true } sourcemap = { workspace = true } tempfile = { workspace = true } -swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" } +swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" } swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser" } swc_ecma_transforms_testing = { version = "0.152.0", path = "../swc_ecma_transforms_testing" } testing = { version = "0.42.0", path = "../testing" } diff --git a/crates/swc_ecma_transforms_base/Cargo.toml b/crates/swc_ecma_transforms_base/Cargo.toml index 466d8db2337..bddbd64189e 100644 --- a/crates/swc_ecma_transforms_base/Cargo.toml +++ b/crates/swc_ecma_transforms_base/Cargo.toml @@ -40,7 +40,7 @@ codspeed-criterion-compat = { workspace = true } criterion = { workspace = true } rayon = { workspace = true } -swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" } +swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" } swc_ecma_transforms_macros = { version = "0.5.5", path = "../swc_ecma_transforms_macros" } swc_malloc = { version = "0.5.10", path = "../swc_malloc" } testing = { version = "0.42.0", path = "../testing" } diff --git a/crates/swc_ecma_transforms_module/Cargo.toml b/crates/swc_ecma_transforms_module/Cargo.toml index 664096f06d3..b1ad8733876 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 = "0.194.0" +version = "0.194.1" [lib] bench = false @@ -46,5 +46,5 @@ swc_ecma_loader = { version = "0.52.1", path = "../swc_ecma_loader", features = ] } swc_ecma_transforms_compat = { version = "0.175.0", path = "../swc_ecma_transforms_compat" } swc_ecma_transforms_testing = { version = "0.152.0", path = "../swc_ecma_transforms_testing" } -swc_ecma_transforms_typescript = { version = "0.202.0", path = "../swc_ecma_transforms_typescript" } +swc_ecma_transforms_typescript = { version = "0.202.1", path = "../swc_ecma_transforms_typescript" } testing = { version = "0.42.0", path = "../testing/" } diff --git a/crates/swc_ecma_transforms_optimization/Cargo.toml b/crates/swc_ecma_transforms_optimization/Cargo.toml index 1ed803be304..b27f06dda04 100644 --- a/crates/swc_ecma_transforms_optimization/Cargo.toml +++ b/crates/swc_ecma_transforms_optimization/Cargo.toml @@ -43,9 +43,9 @@ swc_fast_graph = { version = "1.0.0", path = "../swc_fast_graph" } [dev-dependencies] swc_ecma_transforms_compat = { version = "0.175.0", path = "../swc_ecma_transforms_compat" } -swc_ecma_transforms_module = { version = "0.194.0", path = "../swc_ecma_transforms_module" } +swc_ecma_transforms_module = { version = "0.194.1", path = "../swc_ecma_transforms_module" } swc_ecma_transforms_proposal = { version = "0.183.0", path = "../swc_ecma_transforms_proposal" } swc_ecma_transforms_react = { version = "0.195.0", path = "../swc_ecma_transforms_react" } swc_ecma_transforms_testing = { version = "0.152.0", path = "../swc_ecma_transforms_testing" } -swc_ecma_transforms_typescript = { version = "0.202.0", path = "../swc_ecma_transforms_typescript" } +swc_ecma_transforms_typescript = { version = "0.202.1", path = "../swc_ecma_transforms_typescript" } testing = { version = "0.42.0", path = "../testing" } diff --git a/crates/swc_ecma_transforms_proposal/Cargo.toml b/crates/swc_ecma_transforms_proposal/Cargo.toml index b6e967fb31d..5c7dd5528f5 100644 --- a/crates/swc_ecma_transforms_proposal/Cargo.toml +++ b/crates/swc_ecma_transforms_proposal/Cargo.toml @@ -35,7 +35,7 @@ swc_ecma_visit = { version = "0.107.0", path = "../swc_ecma_visit" [dev-dependencies] serde_json = { workspace = true } -swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" } +swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" } swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser" } swc_ecma_transforms_compat = { version = "0.175.0", path = "../swc_ecma_transforms_compat" } swc_ecma_transforms_testing = { version = "0.152.0", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_transforms_react/Cargo.toml b/crates/swc_ecma_transforms_react/Cargo.toml index 14cfd50200f..165067019ab 100644 --- a/crates/swc_ecma_transforms_react/Cargo.toml +++ b/crates/swc_ecma_transforms_react/Cargo.toml @@ -39,7 +39,7 @@ swc_ecma_utils = { version = "0.137.0", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.107.0", path = "../swc_ecma_visit" } [dev-dependencies] -swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen/" } +swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen/" } swc_ecma_transforms_compat = { version = "0.175.0", path = "../swc_ecma_transforms_compat/" } swc_ecma_transforms_testing = { version = "0.152.0", path = "../swc_ecma_transforms_testing" } testing = { version = "0.42.0", path = "../testing" } diff --git a/crates/swc_ecma_transforms_testing/Cargo.toml b/crates/swc_ecma_transforms_testing/Cargo.toml index c45c09e4231..e8f116b81a1 100644 --- a/crates/swc_ecma_transforms_testing/Cargo.toml +++ b/crates/swc_ecma_transforms_testing/Cargo.toml @@ -26,7 +26,7 @@ swc_common = { version = "0.40.1", path = "../swc_common", features = [ "sourcemap", ] } swc_ecma_ast = { version = "0.121.1", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" } +swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" } swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser" } swc_ecma_testing = { version = "0.29.0", path = "../swc_ecma_testing" } swc_ecma_transforms_base = { version = "0.149.0", path = "../swc_ecma_transforms_base" } diff --git a/crates/swc_ecma_transforms_typescript/Cargo.toml b/crates/swc_ecma_transforms_typescript/Cargo.toml index e0d8b10625c..d5e911b1605 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 = "0.202.0" +version = "0.202.1" [lib] bench = false @@ -28,7 +28,7 @@ swc_ecma_visit = { version = "0.107.0", path = "../swc_ecma_visit" } codspeed-criterion-compat = { workspace = true } criterion = { workspace = true } -swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" } +swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" } swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser" } swc_ecma_transforms_compat = { version = "0.175.0", path = "../swc_ecma_transforms_compat" } swc_ecma_transforms_proposal = { version = "0.183.0", path = "../swc_ecma_transforms_proposal" } diff --git a/crates/swc_ecmascript/Cargo.toml b/crates/swc_ecmascript/Cargo.toml index d2557fdb136..ba6bb068073 100644 --- a/crates/swc_ecmascript/Cargo.toml +++ b/crates/swc_ecmascript/Cargo.toml @@ -39,7 +39,7 @@ typescript = ["typescript-parser", "swc_ecma_transforms/typescript"] [dependencies] swc_ecma_ast = { version = "0.121.1", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen", optional = true } +swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen", optional = true } swc_ecma_minifier = { version = "0.208.1", path = "../swc_ecma_minifier", optional = true } swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser", optional = true, default-features = false } swc_ecma_preset_env = { version = "0.221.0", path = "../swc_ecma_preset_env", optional = true } diff --git a/crates/swc_fast_ts_strip/Cargo.toml b/crates/swc_fast_ts_strip/Cargo.toml index da54f639ac6..6fca49294dc 100644 --- a/crates/swc_fast_ts_strip/Cargo.toml +++ b/crates/swc_fast_ts_strip/Cargo.toml @@ -21,10 +21,10 @@ swc_common = { version = "0.40.1", path = "../swc_common", features = [ "sourcemap", ] } swc_ecma_ast = { version = "0.121.1", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" } +swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" } swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser" } swc_ecma_transforms_base = { version = "0.149.0", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_typescript = { version = "0.202.0", path = "../swc_ecma_transforms_typescript" } +swc_ecma_transforms_typescript = { version = "0.202.1", path = "../swc_ecma_transforms_typescript" } swc_ecma_visit = { version = "0.107.0", path = "../swc_ecma_visit" } [dev-dependencies] diff --git a/crates/swc_html_minifier/Cargo.toml b/crates/swc_html_minifier/Cargo.toml index b547282dddd..44b18ab235e 100644 --- a/crates/swc_html_minifier/Cargo.toml +++ b/crates/swc_html_minifier/Cargo.toml @@ -33,7 +33,7 @@ swc_css_codegen = { version = "0.158.0", path = "../swc_css_codegen", optional = swc_css_minifier = { version = "0.123.0", path = "../swc_css_minifier", optional = true } swc_css_parser = { version = "0.157.0", path = "../swc_css_parser", optional = true } swc_ecma_ast = { version = "0.121.1", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen", features = [ +swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen", features = [ "serde-impl", ] } swc_ecma_minifier = { version = "0.208.1", path = "../swc_ecma_minifier", features = [ diff --git a/crates/swc_node_bundler/Cargo.toml b/crates/swc_node_bundler/Cargo.toml index 8551fc9e342..df4c7edf496 100644 --- a/crates/swc_node_bundler/Cargo.toml +++ b/crates/swc_node_bundler/Cargo.toml @@ -38,7 +38,7 @@ swc_common = { version = "0.40.1", path = "../swc_common", features = [ "concurrent", ] } swc_ecma_ast = { version = "0.121.1", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" } +swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" } swc_ecma_loader = { version = "0.52.1", path = "../swc_ecma_loader" } swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser" } swc_ecma_transforms = { version = "0.243.0", path = "../swc_ecma_transforms" } diff --git a/crates/swc_typescript/Cargo.toml b/crates/swc_typescript/Cargo.toml index 53c3f2dfe1f..64e11b64885 100644 --- a/crates/swc_typescript/Cargo.toml +++ b/crates/swc_typescript/Cargo.toml @@ -17,6 +17,6 @@ swc_ecma_ast = { version = "0.121.1", path = "../swc_ecma_ast" } [dev-dependencies] -swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" } +swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" } swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser" } testing = { version = "0.42.0", path = "../testing" }