diff --git a/CHANGELOG.md b/CHANGELOG.md index ac1f06ed1d71..d733676d8746 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,12 @@ - **(es/utils)** Fix string evaluation of array literals (#7731) ([e8c58cf](https://github.com/swc-project/swc/commit/e8c58cfd779f7c9dcfae06200ec2f726fbc74758)) +### Features + + + +- **(es/preset-env)** Update builtin definitions for `core-js` imports (#7715) ([b4f3332](https://github.com/swc-project/swc/commit/b4f3332b21fc2b04e9824469568401725d1dfca5)) + ## [1.3.72] - 2023-07-28 ### Bug Fixes diff --git a/Cargo.lock b/Cargo.lock index e07d01e28286..c4bb971baeee 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -235,7 +235,7 @@ dependencies = [ [[package]] name = "binding_macros" -version = "0.53.32" +version = "0.53.33" dependencies = [ "anyhow", "console_error_panic_hook", @@ -3525,7 +3525,7 @@ dependencies = [ [[package]] name = "swc" -version = "0.264.32" +version = "0.264.33" dependencies = [ "ahash 0.8.3", "ansi_term", @@ -3709,7 +3709,7 @@ dependencies = [ [[package]] name = "swc_core" -version = "0.79.35" +version = "0.79.36" dependencies = [ "anyhow", "binding_macros", @@ -4136,7 +4136,7 @@ dependencies = [ [[package]] name = "swc_ecma_preset_env" -version = "0.198.19" +version = "0.198.20" dependencies = [ "ahash 0.8.3", "anyhow", @@ -4514,7 +4514,7 @@ dependencies = [ [[package]] name = "swc_ecmascript" -version = "0.231.29" +version = "0.231.30" dependencies = [ "swc_ecma_ast", "swc_ecma_codegen", @@ -4562,7 +4562,7 @@ dependencies = [ [[package]] name = "swc_estree_compat" -version = "0.187.32" +version = "0.187.33" dependencies = [ "ahash 0.8.3", "anyhow", @@ -4747,7 +4747,7 @@ dependencies = [ [[package]] name = "swc_node_bundler" -version = "0.51.32" +version = "0.51.33" dependencies = [ "anyhow", "dashmap", diff --git a/crates/binding_macros/Cargo.toml b/crates/binding_macros/Cargo.toml index 5b9f17724f4e..acaf14298b14 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.53.32" +version = "0.53.33" [lib] bench = false @@ -33,7 +33,7 @@ binding_wasm = [ [dependencies] # Common deps for the SWC imports -swc = { optional = true, version = "0.264.32", path = "../swc" } +swc = { optional = true, version = "0.264.33", path = "../swc" } swc_common = { optional = true, version = "0.31.18", path = "../swc_common" } swc_ecma_ast = { optional = true, version = "0.107.2", path = "../swc_ecma_ast" } swc_ecma_transforms = { optional = true, version = "0.221.18", path = "../swc_ecma_transforms" } diff --git a/crates/swc/Cargo.toml b/crates/swc/Cargo.toml index dbd11d57aa11..f26bb103bf51 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.264.32" +version = "0.264.33" [lib] bench = false @@ -85,7 +85,7 @@ swc_ecma_loader = { version = "0.43.20", path = "../swc_ecma_loader", features = ] } swc_ecma_minifier = { version = "0.184.28", path = "../swc_ecma_minifier" } swc_ecma_parser = { version = "0.137.5", path = "../swc_ecma_parser" } -swc_ecma_preset_env = { version = "0.198.19", path = "../swc_ecma_preset_env" } +swc_ecma_preset_env = { version = "0.198.20", path = "../swc_ecma_preset_env" } swc_ecma_transforms = { version = "0.221.18", path = "../swc_ecma_transforms", features = [ "compat", "module", diff --git a/crates/swc_core/Cargo.toml b/crates/swc_core/Cargo.toml index bf302bd63e66..9e47bfcd1ad3 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.79.35" +version = "0.79.36" [package.metadata.docs.rs] features = [ "common_perf", @@ -325,8 +325,8 @@ __visit = ["__ecma", "swc_ecma_visit"] once_cell = { optional = true, version = "1.18.0" } # swc_* dependencies -binding_macros = { optional = true, version = "0.53.32", path = "../binding_macros" } -swc = { optional = true, version = "0.264.32", path = "../swc" } +binding_macros = { optional = true, version = "0.53.33", path = "../binding_macros" } +swc = { optional = true, version = "0.264.33", path = "../swc" } swc_atoms = { optional = true, version = "0.5.8", path = "../swc_atoms" } swc_bundler = { optional = true, version = "0.217.28", path = "../swc_bundler" } swc_cached = { optional = true, version = "0.3.17", path = "../swc_cached" } @@ -345,7 +345,7 @@ swc_ecma_codegen = { optional = true, version = "0.142.5", path swc_ecma_loader = { optional = true, version = "0.43.20", path = "../swc_ecma_loader" } swc_ecma_minifier = { optional = true, version = "0.184.28", path = "../swc_ecma_minifier" } swc_ecma_parser = { optional = true, version = "0.137.5", path = "../swc_ecma_parser" } -swc_ecma_preset_env = { optional = true, version = "0.198.19", path = "../swc_ecma_preset_env" } +swc_ecma_preset_env = { optional = true, version = "0.198.20", path = "../swc_ecma_preset_env" } swc_ecma_quote_macros = { optional = true, version = "0.48.5", path = "../swc_ecma_quote_macros" } swc_ecma_transforms_base = { optional = true, version = "0.130.9", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_compat = { optional = true, version = "0.156.14", path = "../swc_ecma_transforms_compat" } @@ -359,7 +359,7 @@ swc_ecma_usage_analyzer = { optional = true, version = "0.16.10", path swc_ecma_utils = { optional = true, version = "0.120.7", path = "../swc_ecma_utils" } swc_ecma_visit = { optional = true, version = "0.93.2", path = "../swc_ecma_visit" } swc_node_base = { optional = true, version = "0.5.8", path = "../swc_node_base" } -swc_node_bundler = { optional = true, version = "0.51.32", path = "../swc_node_bundler" } +swc_node_bundler = { optional = true, version = "0.51.33", 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_ecma_preset_env/Cargo.toml b/crates/swc_ecma_preset_env/Cargo.toml index 63be1edc43f5..20c4a7f58747 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.198.19" +version = "0.198.20" [lib] bench = false diff --git a/crates/swc_ecmascript/Cargo.toml b/crates/swc_ecmascript/Cargo.toml index 1af2af8fe337..1c9d6a560b6b 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.231.29" +version = "0.231.30" [package.metadata.docs.rs] all-features = true @@ -44,7 +44,7 @@ swc_ecma_codegen = { version = "0.142.5", path = "../swc_ecma_codegen", optio swc_ecma_dep_graph = { version = "0.109.5", path = "../swc_ecma_dep_graph", optional = true } swc_ecma_minifier = { version = "0.184.28", path = "../swc_ecma_minifier", optional = true } swc_ecma_parser = { version = "0.137.5", path = "../swc_ecma_parser", optional = true, default-features = false } -swc_ecma_preset_env = { version = "0.198.19", path = "../swc_ecma_preset_env", optional = true } +swc_ecma_preset_env = { version = "0.198.20", path = "../swc_ecma_preset_env", optional = true } swc_ecma_quote = { version = "0.53.5", path = "../swc_ecma_quote", optional = true } swc_ecma_transforms = { version = "0.221.18", path = "../swc_ecma_transforms", optional = true } swc_ecma_utils = { version = "0.120.7", path = "../swc_ecma_utils", optional = true } diff --git a/crates/swc_estree_compat/Cargo.toml b/crates/swc_estree_compat/Cargo.toml index dc743544f3dd..f4c26b7923a4 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.187.32" +version = "0.187.33" [package.metadata.docs.rs] all-features = true @@ -40,7 +40,7 @@ swc_node_comments = { version = "0.18.18", path = "../swc_node_comments/" } criterion = "0.5" pretty_assertions = "1.3" -swc = { version = "0.264.32", path = "../swc" } +swc = { version = "0.264.33", path = "../swc" } swc_ecma_ast = { version = "0.107.2", path = "../swc_ecma_ast" } swc_ecma_parser = { version = "0.137.5", path = "../swc_ecma_parser" } swc_ecma_transforms = { version = "0.221.18", path = "../swc_ecma_transforms/" } diff --git a/crates/swc_node_bundler/Cargo.toml b/crates/swc_node_bundler/Cargo.toml index e33c82a3e670..40e1c1ec3391 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.51.32" +version = "0.51.33" [lib] bench = false @@ -29,7 +29,7 @@ serde_json = "1" tracing = "0.1.37" string_enum = { version = "0.4.1", path = "../string_enum" } -swc = { version = "0.264.32", path = "../swc" } +swc = { version = "0.264.33", path = "../swc" } swc_atoms = { version = "0.5.8", path = "../swc_atoms" } swc_bundler = { version = "0.217.28", path = "../swc_bundler", features = [ "concurrent",