diff --git a/CHANGELOG.md b/CHANGELOG.md index f66288dd27f..4edbf0c5fa0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -68,6 +68,9 @@ - **(es)** Enable resolver if `jsc.baseUrl` is specified ([#7998](https://github.com/swc-project/swc/issues/7998)) ([f374ad9](https://github.com/swc-project/swc/commit/f374ad903a066ebf3a7e54a3656cb3fc44b37445)) +- **(es)** Apply `paren_remover` for minify ([#8442](https://github.com/swc-project/swc/issues/8442)) ([e68720a](https://github.com/swc-project/swc/commit/e68720a76cf8146befa26ff147a812e9ba2959aa)) + + - **(es/ast)** Bump version ([#7793](https://github.com/swc-project/swc/issues/7793)) ([13bedc0](https://github.com/swc-project/swc/commit/13bedc084e46db193b3fd0b7930046b2f013742b)) diff --git a/Cargo.lock b/Cargo.lock index 4c273f664e8..c59bd4b26c1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -307,7 +307,7 @@ dependencies = [ [[package]] name = "binding_macros" -version = "0.61.5" +version = "0.61.6" dependencies = [ "anyhow", "console_error_panic_hook", @@ -3785,7 +3785,7 @@ dependencies = [ [[package]] name = "swc" -version = "0.270.5" +version = "0.270.6" dependencies = [ "ansi_term", "anyhow", @@ -3909,7 +3909,7 @@ dependencies = [ [[package]] name = "swc_cli_impl" -version = "0.5.5" +version = "0.5.6" dependencies = [ "anyhow", "assert_cmd", @@ -4010,7 +4010,7 @@ dependencies = [ [[package]] name = "swc_core" -version = "0.87.5" +version = "0.87.6" dependencies = [ "anyhow", "binding_macros", @@ -5038,7 +5038,7 @@ dependencies = [ [[package]] name = "swc_estree_compat" -version = "0.195.5" +version = "0.195.6" dependencies = [ "ahash 0.8.5", "anyhow", @@ -5221,7 +5221,7 @@ dependencies = [ [[package]] name = "swc_node_bundler" -version = "0.59.5" +version = "0.59.6" dependencies = [ "anyhow", "dashmap", diff --git a/crates/binding_macros/Cargo.toml b/crates/binding_macros/Cargo.toml index 130723c07d9..6ef291a652e 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 = "0.61.5" +version = "0.61.6" [lib] bench = false @@ -33,7 +33,7 @@ binding_wasm = [ [dependencies] # Common deps for the SWC imports -swc = { optional = true, version = "0.270.5", path = "../swc" } +swc = { optional = true, version = "0.270.6", path = "../swc" } swc_common = { optional = true, version = "0.33.12", path = "../swc_common" } swc_ecma_ast = { optional = true, version = "0.110.15", path = "../swc_ecma_ast" } swc_ecma_transforms = { optional = true, version = "0.227.4", path = "../swc_ecma_transforms" } diff --git a/crates/swc/Cargo.toml b/crates/swc/Cargo.toml index 3f3bc24c2e1..524c2b9cd02 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 = "0.270.5" +version = "0.270.6" [lib] bench = false diff --git a/crates/swc_cli_impl/Cargo.toml b/crates/swc_cli_impl/Cargo.toml index c37a3b8c930..56a4e68b47e 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 = "0.5.5" +version = "0.5.6" [[bin]] name = "swc" @@ -40,7 +40,7 @@ tracing-futures = "0.2.5" tracing-subscriber = { version = "0.3.9", features = ["env-filter"] } walkdir = "2" -swc_core = { version = "0.87.5", features = [ +swc_core = { version = "0.87.6", features = [ "trace_macro", "common_concurrent", "base_concurrent", diff --git a/crates/swc_core/Cargo.toml b/crates/swc_core/Cargo.toml index 8d2490ff792..6c99dce9028 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.87.5" +version = "0.87.6" [package.metadata.docs.rs] features = [ "allocator_node", @@ -324,8 +324,8 @@ __visit = ["__ecma", "swc_ecma_visit"] once_cell = { optional = true, version = "1.18.0" } # swc_* dependencies -binding_macros = { optional = true, version = "0.61.5", path = "../binding_macros" } -swc = { optional = true, version = "0.270.5", path = "../swc" } +binding_macros = { optional = true, version = "0.61.6", path = "../binding_macros" } +swc = { optional = true, version = "0.270.6", path = "../swc" } swc_atoms = { optional = true, version = "0.6.5", path = "../swc_atoms" } swc_bundler = { optional = true, version = "0.223.4", path = "../swc_bundler" } swc_cached = { optional = true, version = "0.3.18", path = "../swc_cached" } @@ -358,7 +358,7 @@ swc_ecma_usage_analyzer = { optional = true, version = "0.21.0", path = swc_ecma_utils = { optional = true, version = "0.125.0", path = "../swc_ecma_utils" } swc_ecma_visit = { optional = true, version = "0.96.15", path = "../swc_ecma_visit" } swc_malloc = { optional = true, version = "0.5.10", path = "../swc_malloc" } -swc_node_bundler = { optional = true, version = "0.59.5", path = "../swc_node_bundler" } +swc_node_bundler = { optional = true, version = "0.59.6", path = "../swc_node_bundler" } swc_nodejs_common = { optional = true, version = "0.0.8", path = "../swc_nodejs_common" } swc_plugin = { optional = true, version = "0.90.0", path = "../swc_plugin" } swc_plugin_macro = { optional = true, version = "0.9.15", path = "../swc_plugin_macro" } diff --git a/crates/swc_estree_compat/Cargo.toml b/crates/swc_estree_compat/Cargo.toml index b1ff09d028f..6909a9fca0d 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 = "0.195.5" +version = "0.195.6" [package.metadata.docs.rs] all-features = true @@ -40,7 +40,7 @@ swc_node_comments = { version = "0.20.12", path = "../swc_node_comments/" } criterion = "0.5" pretty_assertions = "1.3" -swc = { version = "0.270.5", path = "../swc" } +swc = { version = "0.270.6", path = "../swc" } swc_ecma_ast = { version = "0.110.15", path = "../swc_ecma_ast" } swc_ecma_parser = { version = "0.141.33", path = "../swc_ecma_parser" } swc_ecma_transforms = { version = "0.227.4", path = "../swc_ecma_transforms/" } diff --git a/crates/swc_node_bundler/Cargo.toml b/crates/swc_node_bundler/Cargo.toml index 30570313a4e..04f46498954 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 = "0.59.5" +version = "0.59.6" [lib] bench = false @@ -29,7 +29,7 @@ serde_json = "1" tracing = "0.1.37" string_enum = { version = "0.4.2", path = "../string_enum" } -swc = { version = "0.270.5", path = "../swc" } +swc = { version = "0.270.6", path = "../swc" } swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_bundler = { version = "0.223.4", path = "../swc_bundler", features = [ "concurrent",