diff --git a/CHANGELOG.md b/CHANGELOG.md index e9a7fafd1435..af6f96b2e5c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ - **(es/minifier)** Don't skip shorthand properties from sequential inliner (#6918) ([725d3fb](https://github.com/swc-project/swc/commit/725d3fb645976681bc11b1df943f3ca1008788ab)) + +- **(es/preset-env)** Fix default target (#6921) ([85a8def](https://github.com/swc-project/swc/commit/85a8defc37ce20b051b1bf2139ead7182d496483)) + ## [1.3.34] - 2023-02-08 ### Bug Fixes diff --git a/Cargo.lock b/Cargo.lock index 06c0fae17c3f..c4c89ddc4bfb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -177,7 +177,7 @@ dependencies = [ [[package]] name = "binding_macros" -version = "0.34.21" +version = "0.34.22" dependencies = [ "anyhow", "console_error_panic_hook", @@ -3114,7 +3114,7 @@ dependencies = [ [[package]] name = "swc" -version = "0.245.21" +version = "0.245.22" dependencies = [ "ahash", "ansi_term", @@ -3300,7 +3300,7 @@ dependencies = [ [[package]] name = "swc_core" -version = "0.59.22" +version = "0.59.23" dependencies = [ "anyhow", "binding_macros", @@ -3731,7 +3731,7 @@ dependencies = [ [[package]] name = "swc_ecma_preset_env" -version = "0.180.16" +version = "0.180.17" dependencies = [ "ahash", "anyhow", @@ -4105,7 +4105,7 @@ dependencies = [ [[package]] name = "swc_ecmascript" -version = "0.213.18" +version = "0.213.19" dependencies = [ "swc_ecma_ast", "swc_ecma_codegen", @@ -4153,7 +4153,7 @@ dependencies = [ [[package]] name = "swc_estree_compat" -version = "0.168.21" +version = "0.168.22" dependencies = [ "ahash", "anyhow", @@ -4339,7 +4339,7 @@ dependencies = [ [[package]] name = "swc_node_bundler" -version = "0.32.21" +version = "0.32.22" dependencies = [ "anyhow", "dashmap", diff --git a/crates/binding_macros/Cargo.toml b/crates/binding_macros/Cargo.toml index 17c424cd3b2b..e054638a2112 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.34.21" +version = "0.34.22" [lib] bench = false @@ -33,7 +33,7 @@ binding_wasm = [ [dependencies] # Common deps for the SWC imports -swc = { optional = true, version = "0.245.21", path = "../swc" } +swc = { optional = true, version = "0.245.22", path = "../swc" } swc_common = { optional = true, version = "0.29.29", path = "../swc_common" } swc_ecma_ast = { optional = true, version = "0.96.3", path = "../swc_ecma_ast" } swc_ecma_transforms = { optional = true, version = "0.203.15", path = "../swc_ecma_transforms" } diff --git a/crates/swc/Cargo.toml b/crates/swc/Cargo.toml index f19d80501892..0996e4a07e9e 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.245.21" +version = "0.245.22" [lib] bench = false @@ -81,7 +81,7 @@ swc_ecma_loader = { version = "0.41.31", path = "../swc_ecma_loader", features = ] } swc_ecma_minifier = { version = "0.166.18", path = "../swc_ecma_minifier" } swc_ecma_parser = { version = "0.124.7", path = "../swc_ecma_parser" } -swc_ecma_preset_env = { version = "0.180.16", path = "../swc_ecma_preset_env" } +swc_ecma_preset_env = { version = "0.180.17", path = "../swc_ecma_preset_env" } swc_ecma_transforms = { version = "0.203.15", path = "../swc_ecma_transforms", features = [ "compat", "module", diff --git a/crates/swc_core/Cargo.toml b/crates/swc_core/Cargo.toml index e5f62074aed2..6fee82cf8895 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.59.22" +version = "0.59.23" [package.metadata.docs.rs] features = [ "common_perf", @@ -340,8 +340,8 @@ wasmer = { optional = true, version = "2.3.0", default-features = false } wasmer-wasi = { optional = true, version = "2.3.0", default-features = false } # swc_* dependencies -binding_macros = { optional = true, version = "0.34.21", path = "../binding_macros" } -swc = { optional = true, version = "0.245.21", path = "../swc" } +binding_macros = { optional = true, version = "0.34.22", path = "../binding_macros" } +swc = { optional = true, version = "0.245.22", path = "../swc" } swc_atoms = { optional = true, version = "0.4.32", path = "../swc_atoms" } swc_bundler = { optional = true, version = "0.199.18", path = "../swc_bundler" } swc_cached = { optional = true, version = "0.3.15", path = "../swc_cached" } @@ -359,7 +359,7 @@ swc_ecma_codegen = { optional = true, version = "0.129.10", path swc_ecma_loader = { optional = true, version = "0.41.31", path = "../swc_ecma_loader" } swc_ecma_minifier = { optional = true, version = "0.166.18", path = "../swc_ecma_minifier" } swc_ecma_parser = { optional = true, version = "0.124.7", path = "../swc_ecma_parser" } -swc_ecma_preset_env = { optional = true, version = "0.180.16", path = "../swc_ecma_preset_env" } +swc_ecma_preset_env = { optional = true, version = "0.180.17", path = "../swc_ecma_preset_env" } swc_ecma_quote_macros = { optional = true, version = "0.35.7", path = "../swc_ecma_quote_macros" } swc_ecma_transforms_base = { optional = true, version = "0.116.7", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_compat = { optional = true, version = "0.141.9", path = "../swc_ecma_transforms_compat" } @@ -373,7 +373,7 @@ swc_ecma_usage_analyzer = { optional = true, version = "0.3.5", path = swc_ecma_utils = { optional = true, version = "0.107.7", path = "../swc_ecma_utils" } swc_ecma_visit = { optional = true, version = "0.82.3", path = "../swc_ecma_visit" } swc_node_base = { optional = true, version = "0.5.8", path = "../swc_node_base" } -swc_node_bundler = { optional = true, version = "0.32.21", path = "../swc_node_bundler" } +swc_node_bundler = { optional = true, version = "0.32.22", path = "../swc_node_bundler" } swc_nodejs_common = { optional = true, version = "0.0.4", path = "../swc_nodejs_common" } swc_plugin = { optional = true, version = "0.90.0", path = "../swc_plugin" } swc_plugin_macro = { optional = true, version = "0.9.10", path = "../swc_plugin_macro" } diff --git a/crates/swc_ecma_preset_env/Cargo.toml b/crates/swc_ecma_preset_env/Cargo.toml index a3fab03f31cd..88193f448712 100644 --- a/crates/swc_ecma_preset_env/Cargo.toml +++ b/crates/swc_ecma_preset_env/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" include = ["Cargo.toml", "src/**/*.rs", "src/**/*.json", "data/**/*.json"] license = "Apache-2.0" name = "swc_ecma_preset_env" -version = "0.180.16" +version = "0.180.17" [lib] bench = false diff --git a/crates/swc_ecmascript/Cargo.toml b/crates/swc_ecmascript/Cargo.toml index de9690691738..a5bc33b6296c 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 = "0.213.18" +version = "0.213.19" [package.metadata.docs.rs] all-features = true @@ -44,7 +44,7 @@ swc_ecma_codegen = { version = "0.129.10", path = "../swc_ecma_codegen", opti swc_ecma_dep_graph = { version = "0.96.7", path = "../swc_ecma_dep_graph", optional = true } swc_ecma_minifier = { version = "0.166.18", path = "../swc_ecma_minifier", optional = true } swc_ecma_parser = { version = "0.124.7", path = "../swc_ecma_parser", optional = true, default-features = false } -swc_ecma_preset_env = { version = "0.180.16", path = "../swc_ecma_preset_env", optional = true } +swc_ecma_preset_env = { version = "0.180.17", path = "../swc_ecma_preset_env", optional = true } swc_ecma_quote = { version = "0.40.8", path = "../swc_ecma_quote", optional = true } swc_ecma_transforms = { version = "0.203.15", path = "../swc_ecma_transforms", optional = true } swc_ecma_utils = { version = "0.107.7", path = "../swc_ecma_utils", optional = true } diff --git a/crates/swc_estree_compat/Cargo.toml b/crates/swc_estree_compat/Cargo.toml index 910cf6198e6d..fbb7c8713ec2 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.168.21" +version = "0.168.22" [package.metadata.docs.rs] all-features = true @@ -38,7 +38,7 @@ swc_node_comments = { version = "0.16.29", path = "../swc_node_comments/" } [dev-dependencies] criterion = "0.3" pretty_assertions = "1.1" -swc = { version = "0.245.21", path = "../swc" } +swc = { version = "0.245.22", path = "../swc" } swc_ecma_ast = { version = "0.96.3", path = "../swc_ecma_ast" } swc_ecma_parser = { version = "0.124.7", path = "../swc_ecma_parser" } swc_ecma_transforms = { version = "0.203.15", path = "../swc_ecma_transforms/" } diff --git a/crates/swc_node_bundler/Cargo.toml b/crates/swc_node_bundler/Cargo.toml index bc02b6339b9d..8df00baf9b18 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.32.21" +version = "0.32.22" [lib] bench = false @@ -26,7 +26,7 @@ regex = "1" serde = { version = "1", features = ["derive"] } serde_json = "1" string_enum = { version = "0.3.2", path = "../string_enum" } -swc = { version = "0.245.21", path = "../swc" } +swc = { version = "0.245.22", path = "../swc" } swc_atoms = { version = "0.4.32", path = "../swc_atoms" } swc_bundler = { version = "0.199.18", path = "../swc_bundler", features = [ "concurrent",