diff --git a/.changeset/silly-wolves-suffer.md b/.changeset/silly-wolves-suffer.md deleted file mode 100644 index e408bdfe564..00000000000 --- a/.changeset/silly-wolves-suffer.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -swc_core: patch -swc_ecma_minifier: patch ---- - -fix(es/codegen): Improve EndsWithAlphaNum diff --git a/.changeset/sixty-ladybugs-help.md b/.changeset/sixty-ladybugs-help.md deleted file mode 100644 index ecafeeb18b4..00000000000 --- a/.changeset/sixty-ladybugs-help.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -swc_core: patch -swc_ecma_transforms_base: patch ---- - -fix(es/renamer): check `preserved` in normal renaming mode diff --git a/CHANGELOG.md b/CHANGELOG.md index 48b7fd5d378..bc74cc584fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,27 @@ # Changelog +## [unreleased] + +### Bug Fixes + + + +- **(bindings)** Update napi to handle string with `\0` ([#9665](https://github.com/swc-project/swc/issues/9665)) ([8f45eaf](https://github.com/swc-project/swc/commit/8f45eaf837d023847c478e562265e141213ce231)) + + +- **(bindings/node)** Add `VisitTsPropertySignature` ([#9670](https://github.com/swc-project/swc/issues/9670)) ([715c42c](https://github.com/swc-project/swc/commit/715c42c0bfe699d822a7e9ea18751d35aac3235d)) + + +- **(es/codegen)** Improve EndsWithAlphaNum ([#9675](https://github.com/swc-project/swc/issues/9675)) ([ba2a942](https://github.com/swc-project/swc/commit/ba2a942f56776e6927b48cfd185d8720052b7409)) + + +- **(es/renamer)** Check `preserved` in normal renaming mode ([#9666](https://github.com/swc-project/swc/issues/9666)) ([87b4e10](https://github.com/swc-project/swc/commit/87b4e10e5dbeb236ee5232d85d3176472fa4a9d0)) + +### Documentation + + + +- **(contributing)** Document changeset ([#9667](https://github.com/swc-project/swc/issues/9667)) ([602c667](https://github.com/swc-project/swc/commit/602c667b9d435fa9155345952379287cb11e59db)) + ## [1.7.39] - 2024-10-22 ### Bug Fixes diff --git a/Cargo.lock b/Cargo.lock index 02fdcc5063e..6bb9693bbd0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4115,7 +4115,7 @@ dependencies = [ [[package]] name = "swc_core" -version = "1.0.4" +version = "1.0.5" dependencies = [ "anyhow", "binding_macros", @@ -4657,7 +4657,7 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "1.0.2" +version = "1.0.3" dependencies = [ "ansi_term", "anyhow", @@ -4820,7 +4820,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "1.0.0" +version = "1.0.1" dependencies = [ "better_scoped_tls", "bitflags 2.6.0", diff --git a/crates/dbg-swc/Cargo.toml b/crates/dbg-swc/Cargo.toml index 2a72b870776..b6158a8a0d9 100644 --- a/crates/dbg-swc/Cargo.toml +++ b/crates/dbg-swc/Cargo.toml @@ -33,11 +33,11 @@ swc_common = { version = "1.0.0", features = [ ], path = "../swc_common" } swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "1.0.0", path = "../swc_ecma_codegen" } -swc_ecma_minifier = { version = "1.0.2", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "1.0.3", path = "../swc_ecma_minifier", features = [ "concurrent", ] } swc_ecma_parser = { version = "1.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_visit = { version = "1.0.0", path = "../swc_ecma_visit" } swc_error_reporters = { version = "2.0.0", path = "../swc_error_reporters" } swc_timer = { version = "1.0.0", path = "../swc_timer" } diff --git a/crates/swc/Cargo.toml b/crates/swc/Cargo.toml index 5d3b7ae128e..3eb28bf622d 100644 --- a/crates/swc/Cargo.toml +++ b/crates/swc/Cargo.toml @@ -85,7 +85,7 @@ swc_ecma_loader = { version = "1.0.0", path = "../swc_ecma_loader", features = [ "node", "tsc", ] } -swc_ecma_minifier = { version = "1.0.2", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { version = "1.0.3", path = "../swc_ecma_minifier" } swc_ecma_parser = { version = "1.0.1", path = "../swc_ecma_parser" } swc_ecma_preset_env = { version = "1.0.0", path = "../swc_ecma_preset_env" } swc_ecma_transforms = { version = "1.0.0", path = "../swc_ecma_transforms", features = [ @@ -96,7 +96,7 @@ swc_ecma_transforms = { version = "1.0.0", path = "../swc_ecma_transforms", feat "react", "typescript", ] } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_compat = { version = "1.0.0", path = "../swc_ecma_transforms_compat" } swc_ecma_transforms_optimization = { version = "1.0.0", path = "../swc_ecma_transforms_optimization" } swc_ecma_utils = { version = "1.0.1", path = "../swc_ecma_utils" } diff --git a/crates/swc_bundler/Cargo.toml b/crates/swc_bundler/Cargo.toml index 717ab4d7ff0..3de7f51fb23 100644 --- a/crates/swc_bundler/Cargo.toml +++ b/crates/swc_bundler/Cargo.toml @@ -43,7 +43,7 @@ swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" swc_ecma_codegen = { version = "1.0.0", path = "../swc_ecma_codegen" } swc_ecma_loader = { version = "1.0.0", path = "../swc_ecma_loader" } swc_ecma_parser = { version = "1.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_optimization = { version = "1.0.0", path = "../swc_ecma_transforms_optimization" } swc_ecma_utils = { version = "1.0.1", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "1.0.0", path = "../swc_ecma_visit" } @@ -63,7 +63,7 @@ swc_ecma_loader = { version = "1.0.0", path = "../swc_ecma_loader", features = [ "node", "cache", ] } -swc_ecma_minifier = { version = "1.0.2", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "1.0.3", path = "../swc_ecma_minifier", features = [ "concurrent", ] } swc_ecma_transforms_proposal = { version = "1.0.1", path = "../swc_ecma_transforms_proposal" } diff --git a/crates/swc_cli_impl/Cargo.toml b/crates/swc_cli_impl/Cargo.toml index 943743dfbed..75211a6b1a6 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 = "1.0.4", features = [ +swc_core = { version = "1.0.5", features = [ "trace_macro", "common_concurrent", "base_concurrent", diff --git a/crates/swc_compiler_base/Cargo.toml b/crates/swc_compiler_base/Cargo.toml index e353746d5a5..22dc93de5eb 100644 --- a/crates/swc_compiler_base/Cargo.toml +++ b/crates/swc_compiler_base/Cargo.toml @@ -30,7 +30,7 @@ swc_common = { version = "1.0.0", path = "../swc_common", features = [ swc_config = { version = "1.0.0", path = "../swc_config" } swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "1.0.0", path = "../swc_ecma_codegen" } -swc_ecma_minifier = { version = "1.0.2", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { version = "1.0.3", path = "../swc_ecma_minifier" } swc_ecma_parser = { version = "1.0.1", path = "../swc_ecma_parser" } swc_ecma_visit = { version = "1.0.0", path = "../swc_ecma_visit" } swc_timer = { version = "1.0.0", path = "../swc_timer" } diff --git a/crates/swc_core/Cargo.toml b/crates/swc_core/Cargo.toml index 865a8f5b9b9..ffd6b60500a 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 = "1.0.4" +version = "1.0.5" [package.metadata.docs.rs] features = [ "allocator_node", @@ -357,11 +357,11 @@ swc_ecma_ast = { optional = true, version = "1.0.0", path = swc_ecma_codegen = { optional = true, version = "1.0.0", path = "../swc_ecma_codegen" } swc_ecma_lints = { optional = true, version = "1.0.0", path = "../swc_ecma_lints" } swc_ecma_loader = { optional = true, version = "1.0.0", path = "../swc_ecma_loader" } -swc_ecma_minifier = { optional = true, version = "1.0.2", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { optional = true, version = "1.0.3", path = "../swc_ecma_minifier" } swc_ecma_parser = { optional = true, version = "1.0.1", path = "../swc_ecma_parser" } swc_ecma_preset_env = { optional = true, version = "1.0.0", path = "../swc_ecma_preset_env" } swc_ecma_quote_macros = { optional = true, version = "1.0.0", path = "../swc_ecma_quote_macros" } -swc_ecma_transforms_base = { optional = true, version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { optional = true, version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_compat = { optional = true, version = "1.0.0", path = "../swc_ecma_transforms_compat" } swc_ecma_transforms_module = { optional = true, version = "1.0.0", path = "../swc_ecma_transforms_module" } swc_ecma_transforms_optimization = { optional = true, version = "1.0.0", path = "../swc_ecma_transforms_optimization" } diff --git a/crates/swc_ecma_compat_bugfixes/Cargo.toml b/crates/swc_ecma_compat_bugfixes/Cargo.toml index 8a6594e0ea7..20e3cf086c5 100644 --- a/crates/swc_ecma_compat_bugfixes/Cargo.toml +++ b/crates/swc_ecma_compat_bugfixes/Cargo.toml @@ -15,7 +15,7 @@ swc_atoms = { version = "2.0.0", path = "../swc_atoms" } swc_common = { version = "1.0.0", path = "../swc_common" } swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } swc_ecma_compat_es2015 = { version = "1.0.1", path = "../swc_ecma_compat_es2015" } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_utils = { version = "1.0.1", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "1.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 8897f27429a..662f3522306 100644 --- a/crates/swc_ecma_compat_es2015/Cargo.toml +++ b/crates/swc_ecma_compat_es2015/Cargo.toml @@ -27,7 +27,7 @@ swc_common = { version = "1.0.0", path = "../swc_common" } swc_config = { version = "1.0.0", path = "../swc_config" } swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } swc_ecma_compat_common = { version = "1.0.0", path = "../swc_ecma_compat_common" } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_classes = { version = "1.0.0", path = "../swc_ecma_transforms_classes" } swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" } swc_ecma_utils = { version = "1.0.1", path = "../swc_ecma_utils" } diff --git a/crates/swc_ecma_compat_es2016/Cargo.toml b/crates/swc_ecma_compat_es2016/Cargo.toml index e2116bcd6b8..c5b0ce45a92 100644 --- a/crates/swc_ecma_compat_es2016/Cargo.toml +++ b/crates/swc_ecma_compat_es2016/Cargo.toml @@ -16,7 +16,7 @@ version = "1.0.0" swc_atoms = { version = "2.0.0", path = "../swc_atoms" } swc_common = { version = "1.0.0", path = "../swc_common" } swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" } swc_ecma_utils = { version = "1.0.1", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "1.0.0", path = "../swc_ecma_visit" } diff --git a/crates/swc_ecma_compat_es2017/Cargo.toml b/crates/swc_ecma_compat_es2017/Cargo.toml index ca4ea18b592..7f28634efa2 100644 --- a/crates/swc_ecma_compat_es2017/Cargo.toml +++ b/crates/swc_ecma_compat_es2017/Cargo.toml @@ -19,7 +19,7 @@ tracing = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } swc_common = { version = "1.0.0", path = "../swc_common" } swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" } swc_ecma_utils = { version = "1.0.1", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "1.0.0", path = "../swc_ecma_visit" } diff --git a/crates/swc_ecma_compat_es2018/Cargo.toml b/crates/swc_ecma_compat_es2018/Cargo.toml index efcc4db3800..df2fc280ee0 100644 --- a/crates/swc_ecma_compat_es2018/Cargo.toml +++ b/crates/swc_ecma_compat_es2018/Cargo.toml @@ -20,7 +20,7 @@ swc_atoms = { version = "2.0.0", path = "../swc_atoms" } swc_common = { version = "1.0.0", path = "../swc_common" } swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } swc_ecma_compat_common = { version = "1.0.0", path = "../swc_ecma_compat_common" } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" } swc_ecma_utils = { version = "1.0.1", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "1.0.0", path = "../swc_ecma_visit" } diff --git a/crates/swc_ecma_compat_es2019/Cargo.toml b/crates/swc_ecma_compat_es2019/Cargo.toml index 3351d1c1ec0..6a1783c559d 100644 --- a/crates/swc_ecma_compat_es2019/Cargo.toml +++ b/crates/swc_ecma_compat_es2019/Cargo.toml @@ -19,7 +19,7 @@ tracing = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } swc_common = { version = "1.0.0", path = "../swc_common" } swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_utils = { version = "1.0.1", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "1.0.0", path = "../swc_ecma_visit" } swc_trace_macro = { version = "2.0.0", path = "../swc_trace_macro" } diff --git a/crates/swc_ecma_compat_es2020/Cargo.toml b/crates/swc_ecma_compat_es2020/Cargo.toml index b7bc4769ccf..56081beded8 100644 --- a/crates/swc_ecma_compat_es2020/Cargo.toml +++ b/crates/swc_ecma_compat_es2020/Cargo.toml @@ -18,7 +18,7 @@ swc_atoms = { version = "2.0.0", path = "../swc_atoms" } swc_common = { version = "1.0.0", path = "../swc_common" } swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } swc_ecma_compat_es2022 = { version = "1.0.0", path = "../swc_ecma_compat_es2022" } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_utils = { version = "1.0.1", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "1.0.0", path = "../swc_ecma_visit" } swc_trace_macro = { version = "2.0.0", path = "../swc_trace_macro" } diff --git a/crates/swc_ecma_compat_es2021/Cargo.toml b/crates/swc_ecma_compat_es2021/Cargo.toml index 578019ed212..02548e49a80 100644 --- a/crates/swc_ecma_compat_es2021/Cargo.toml +++ b/crates/swc_ecma_compat_es2021/Cargo.toml @@ -18,7 +18,7 @@ tracing = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } swc_common = { version = "1.0.0", path = "../swc_common" } swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_utils = { version = "1.0.1", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "1.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 3a522d0bd3b..1f01c2d9afe 100644 --- a/crates/swc_ecma_compat_es2022/Cargo.toml +++ b/crates/swc_ecma_compat_es2022/Cargo.toml @@ -20,7 +20,7 @@ swc_atoms = { version = "2.0.0", path = "../swc_atoms" } swc_common = { version = "1.0.0", path = "../swc_common" } swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } swc_ecma_compat_common = { version = "1.0.0", path = "../swc_ecma_compat_common" } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_classes = { version = "1.0.0", path = "../swc_ecma_transforms_classes" } swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" } swc_ecma_utils = { version = "1.0.1", path = "../swc_ecma_utils" } diff --git a/crates/swc_ecma_compat_es3/Cargo.toml b/crates/swc_ecma_compat_es3/Cargo.toml index 2524e7cc32f..809b1156d91 100644 --- a/crates/swc_ecma_compat_es3/Cargo.toml +++ b/crates/swc_ecma_compat_es3/Cargo.toml @@ -17,7 +17,7 @@ tracing = { workspace = true } swc_common = { version = "1.0.0", path = "../swc_common" } swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_utils = { version = "1.0.1", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "1.0.0", path = "../swc_ecma_visit" } swc_trace_macro = { version = "2.0.0", path = "../swc_trace_macro" } diff --git a/crates/swc_ecma_lints/Cargo.toml b/crates/swc_ecma_lints/Cargo.toml index 7fb7f08bfb4..27e04ebc1e6 100644 --- a/crates/swc_ecma_lints/Cargo.toml +++ b/crates/swc_ecma_lints/Cargo.toml @@ -34,7 +34,7 @@ swc_ecma_visit = { version = "1.0.0", path = "../swc_ecma_visit" } [dev-dependencies] swc_ecma_codegen = { version = "1.0.0", path = "../swc_ecma_codegen" } swc_ecma_parser = { version = "1.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } testing = { version = "1.0.0", path = "../testing" } [features] diff --git a/crates/swc_ecma_minifier/Cargo.toml b/crates/swc_ecma_minifier/Cargo.toml index 31b67cda3e8..4ff573bf1bb 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 = "1.0.2" +version = "1.0.3" [package.metadata.docs.rs] all-features = true @@ -63,7 +63,7 @@ swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast", features = [ ] } swc_ecma_codegen = { version = "1.0.0", path = "../swc_ecma_codegen" } swc_ecma_parser = { version = "1.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_optimization = { version = "1.0.0", path = "../swc_ecma_transforms_optimization" } swc_ecma_usage_analyzer = { version = "1.0.1", path = "../swc_ecma_usage_analyzer" } swc_ecma_utils = { version = "1.0.1", path = "../swc_ecma_utils" } diff --git a/crates/swc_ecma_transforms/Cargo.toml b/crates/swc_ecma_transforms/Cargo.toml index fcffa26ec50..7f066aae3f8 100644 --- a/crates/swc_ecma_transforms/Cargo.toml +++ b/crates/swc_ecma_transforms/Cargo.toml @@ -35,7 +35,7 @@ typescript = ["swc_ecma_transforms_typescript"] swc_atoms = { version = "2.0.0", path = "../swc_atoms" } swc_common = { version = "1.0.0", path = "../swc_common" } swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_compat = { version = "1.0.0", path = "../swc_ecma_transforms_compat", optional = true } swc_ecma_transforms_module = { version = "1.0.0", path = "../swc_ecma_transforms_module", optional = true } swc_ecma_transforms_optimization = { version = "1.0.0", path = "../swc_ecma_transforms_optimization", optional = true } diff --git a/crates/swc_ecma_transforms_base/Cargo.toml b/crates/swc_ecma_transforms_base/Cargo.toml index 575421b9176..676b15e16e4 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 = "1.0.0" +version = "1.0.1" [lib] bench = false diff --git a/crates/swc_ecma_transforms_classes/Cargo.toml b/crates/swc_ecma_transforms_classes/Cargo.toml index 2dc2b200839..1cbf2480885 100644 --- a/crates/swc_ecma_transforms_classes/Cargo.toml +++ b/crates/swc_ecma_transforms_classes/Cargo.toml @@ -15,6 +15,6 @@ bench = false swc_atoms = { version = "2.0.0", path = "../swc_atoms" } swc_common = { version = "1.0.0", path = "../swc_common" } swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_utils = { version = "1.0.1", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "1.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 2efbfd4799a..0fade2a2b0f 100644 --- a/crates/swc_ecma_transforms_compat/Cargo.toml +++ b/crates/swc_ecma_transforms_compat/Cargo.toml @@ -44,7 +44,7 @@ swc_ecma_compat_es2020 = { version = "1.0.0", path = "../swc_ecma_compat_es swc_ecma_compat_es2021 = { version = "1.0.0", path = "../swc_ecma_compat_es2021" } swc_ecma_compat_es2022 = { version = "1.0.0", path = "../swc_ecma_compat_es2022" } swc_ecma_compat_es3 = { version = "1.0.0", path = "../swc_ecma_compat_es3" } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_classes = { version = "1.0.0", path = "../swc_ecma_transforms_classes" } swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" } swc_ecma_utils = { version = "1.0.1", path = "../swc_ecma_utils" } diff --git a/crates/swc_ecma_transforms_module/Cargo.toml b/crates/swc_ecma_transforms_module/Cargo.toml index 68df7692ca2..d77e9c5256e 100644 --- a/crates/swc_ecma_transforms_module/Cargo.toml +++ b/crates/swc_ecma_transforms_module/Cargo.toml @@ -32,7 +32,7 @@ swc_ecma_loader = { version = "1.0.0", path = "../swc_ecma_loader", features = [ "node", ] } swc_ecma_parser = { version = "1.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_utils = { version = "1.0.1", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "1.0.0", path = "../swc_ecma_visit" } diff --git a/crates/swc_ecma_transforms_optimization/Cargo.toml b/crates/swc_ecma_transforms_optimization/Cargo.toml index 37c30f1689c..c58d9b98b69 100644 --- a/crates/swc_ecma_transforms_optimization/Cargo.toml +++ b/crates/swc_ecma_transforms_optimization/Cargo.toml @@ -35,7 +35,7 @@ swc_atoms = { version = "2.0.0", path = "../swc_atoms" } swc_common = { version = "1.0.0", path = "../swc_common" } swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } swc_ecma_parser = { version = "1.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" } swc_ecma_utils = { version = "1.0.1", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "1.0.0", path = "../swc_ecma_visit" } diff --git a/crates/swc_ecma_transforms_proposal/Cargo.toml b/crates/swc_ecma_transforms_proposal/Cargo.toml index 5e726e3335a..4633b6fb04b 100644 --- a/crates/swc_ecma_transforms_proposal/Cargo.toml +++ b/crates/swc_ecma_transforms_proposal/Cargo.toml @@ -26,7 +26,7 @@ swc_atoms = { version = "2.0.0", path = "../swc_atoms" } swc_common = { version = "1.0.0", path = "../swc_common" } swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } swc_ecma_loader = { version = "1.0.0", path = "../swc_ecma_loader", optional = true } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_classes = { version = "1.0.0", path = "../swc_ecma_transforms_classes" } swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" } swc_ecma_utils = { version = "1.0.1", path = "../swc_ecma_utils" } diff --git a/crates/swc_ecma_transforms_react/Cargo.toml b/crates/swc_ecma_transforms_react/Cargo.toml index 8baacefedc7..5ca3bcd8db5 100644 --- a/crates/swc_ecma_transforms_react/Cargo.toml +++ b/crates/swc_ecma_transforms_react/Cargo.toml @@ -33,7 +33,7 @@ swc_common = { version = "1.0.0", path = "../swc_common" } swc_config = { version = "1.0.0", path = "../swc_config" } swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } swc_ecma_parser = { version = "1.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" } swc_ecma_utils = { version = "1.0.1", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "1.0.0", path = "../swc_ecma_visit" } diff --git a/crates/swc_ecma_transforms_testing/Cargo.toml b/crates/swc_ecma_transforms_testing/Cargo.toml index a0fa02be10a..8cf12700d0e 100644 --- a/crates/swc_ecma_transforms_testing/Cargo.toml +++ b/crates/swc_ecma_transforms_testing/Cargo.toml @@ -29,7 +29,7 @@ swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "1.0.0", path = "../swc_ecma_codegen" } swc_ecma_parser = { version = "1.0.1", path = "../swc_ecma_parser" } swc_ecma_testing = { version = "1.0.0", path = "../swc_ecma_testing" } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_utils = { version = "1.0.1", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "1.0.0", path = "../swc_ecma_visit" } testing = { version = "1.0.0", path = "../testing" } diff --git a/crates/swc_ecma_transforms_typescript/Cargo.toml b/crates/swc_ecma_transforms_typescript/Cargo.toml index d548ad60f00..f6ec5cfe182 100644 --- a/crates/swc_ecma_transforms_typescript/Cargo.toml +++ b/crates/swc_ecma_transforms_typescript/Cargo.toml @@ -19,7 +19,7 @@ ryu-js = { workspace = true } swc_atoms = { version = "2.0.0", path = "../swc_atoms" } swc_common = { version = "1.0.0", path = "../swc_common" } swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_react = { version = "1.0.0", path = "../swc_ecma_transforms_react" } swc_ecma_utils = { version = "1.0.1", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "1.0.0", path = "../swc_ecma_visit" } diff --git a/crates/swc_ecmascript/Cargo.toml b/crates/swc_ecmascript/Cargo.toml index f9b5d2dcae4..d5672b34ac0 100644 --- a/crates/swc_ecmascript/Cargo.toml +++ b/crates/swc_ecmascript/Cargo.toml @@ -40,7 +40,7 @@ typescript = ["typescript-parser", "swc_ecma_transforms/typescript"] [dependencies] swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "1.0.0", path = "../swc_ecma_codegen", optional = true } -swc_ecma_minifier = { version = "1.0.2", path = "../swc_ecma_minifier", optional = true } +swc_ecma_minifier = { version = "1.0.3", path = "../swc_ecma_minifier", optional = true } swc_ecma_parser = { version = "1.0.1", path = "../swc_ecma_parser", optional = true, default-features = false } swc_ecma_preset_env = { version = "1.0.0", path = "../swc_ecma_preset_env", optional = true } swc_ecma_quote = { version = "1.0.0", path = "../swc_ecma_quote", optional = true } diff --git a/crates/swc_fast_ts_strip/Cargo.toml b/crates/swc_fast_ts_strip/Cargo.toml index c66753aab6c..be3981f1161 100644 --- a/crates/swc_fast_ts_strip/Cargo.toml +++ b/crates/swc_fast_ts_strip/Cargo.toml @@ -23,7 +23,7 @@ swc_common = { version = "1.0.0", path = "../swc_common", features = [ swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "1.0.0", path = "../swc_ecma_codegen" } swc_ecma_parser = { version = "1.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_typescript = { version = "1.0.1", path = "../swc_ecma_transforms_typescript" } swc_ecma_visit = { version = "1.0.0", path = "../swc_ecma_visit" } diff --git a/crates/swc_html_minifier/Cargo.toml b/crates/swc_html_minifier/Cargo.toml index faccaab4437..eb320c44e75 100644 --- a/crates/swc_html_minifier/Cargo.toml +++ b/crates/swc_html_minifier/Cargo.toml @@ -36,11 +36,11 @@ swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "1.0.0", path = "../swc_ecma_codegen", features = [ "serde-impl", ] } -swc_ecma_minifier = { version = "1.0.2", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "1.0.3", path = "../swc_ecma_minifier", features = [ "extra-serde", ] } swc_ecma_parser = { version = "1.0.1", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "1.0.1", path = "../swc_ecma_transforms_base" } swc_ecma_visit = { version = "1.0.0", path = "../swc_ecma_visit" } swc_html_ast = { version = "1.0.0", path = "../swc_html_ast" } swc_html_codegen = { version = "1.0.0", path = "../swc_html_codegen" }