diff --git a/CHANGELOG.md b/CHANGELOG.md index 555fc1f80a31..55ccbe76f83e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,9 @@ - **(es/preset-env)** Upgrade `browserslist-rs` (#3069) ([a1b315a](https://github.com/swc-project/swc/commit/a1b315a114d63aa06856de63d02070d471c271d0)) + +- **(es/preset-env)** Add ES2022 features to `preset-env` (#3072) ([7beaabd](https://github.com/swc-project/swc/commit/7beaabd533c9f5f368da8baa7365c7e1a30f9512)) + ## [1.2.121] - 2021-12-19 ### Bug Fixes diff --git a/Cargo.lock b/Cargo.lock index b5daaee120fd..b709806ee07f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2477,7 +2477,7 @@ checksum = "6446ced80d6c486436db5c078dde11a9f73d42b57fb273121e160b84f63d894c" [[package]] name = "swc" -version = "0.97.3" +version = "0.98.0" dependencies = [ "ahash", "anyhow", @@ -2895,7 +2895,7 @@ dependencies = [ [[package]] name = "swc_ecma_preset_env" -version = "0.75.1" +version = "0.76.0" dependencies = [ "ahash", "anyhow", @@ -3197,7 +3197,7 @@ dependencies = [ [[package]] name = "swc_ecmascript" -version = "0.97.0" +version = "0.98.0" dependencies = [ "swc_ecma_ast", "swc_ecma_codegen", @@ -3233,7 +3233,7 @@ dependencies = [ [[package]] name = "swc_estree_compat" -version = "0.15.0" +version = "0.16.0" dependencies = [ "ahash", "anyhow", @@ -3448,7 +3448,7 @@ dependencies = [ [[package]] name = "swc_webpack_ast" -version = "0.13.2" +version = "0.14.0" dependencies = [ "anyhow", "rayon", diff --git a/crates/swc/Cargo.toml b/crates/swc/Cargo.toml index d5e0146a21ff..d13cb38bc2fa 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.97.3" +version = "0.98.0" [lib] name = "swc" @@ -60,7 +60,7 @@ swc_ecma_lints = {version = "0.1.0", path = "../swc_ecma_lints"} swc_ecma_loader = {version = "0.25.0", path = "../swc_ecma_loader", features = ["lru", "node", "tsc"]} swc_ecma_minifier = {version = "0.60.0", path = "../swc_ecma_minifier"} swc_ecma_parser = {version = "0.82.0", path = "../swc_ecma_parser"} -swc_ecma_preset_env = {version = "0.75.0", path = "../swc_ecma_preset_env"} +swc_ecma_preset_env = {version = "0.76.0", path = "../swc_ecma_preset_env"} swc_ecma_transforms = {version = "0.103.0", path = "../swc_ecma_transforms", features = [ "compat", "module", @@ -74,7 +74,7 @@ swc_ecma_transforms_compat = {version = "0.59.0", path = "../swc_ecma_transforms swc_ecma_transforms_optimization = {version = "0.73.0", path = "../swc_ecma_transforms_optimization"} swc_ecma_utils = {version = "0.56.0", path = "../swc_ecma_utils"} swc_ecma_visit = {version = "0.46.0", path = "../swc_ecma_visit"} -swc_ecmascript = {version = "0.97.0", path = "../swc_ecmascript"} +swc_ecmascript = {version = "0.98.0", path = "../swc_ecmascript"} swc_node_comments = {version = "0.2.0", path = "../swc_node_comments"} swc_plugin_runner = {version = "0.22.0", path = "../swc_plugin_runner", optional = true} swc_visit = {version = "0.3.0", path = "../swc_visit"} diff --git a/crates/swc_ecma_preset_env/Cargo.toml b/crates/swc_ecma_preset_env/Cargo.toml index 7eb65c3f1e94..6d6f4b1ea168 100644 --- a/crates/swc_ecma_preset_env/Cargo.toml +++ b/crates/swc_ecma_preset_env/Cargo.toml @@ -5,7 +5,7 @@ documentation = "https://rustdoc.swc.rs/swc_ecma_preset_env/" edition = "2018" license = "Apache-2.0" name = "swc_ecma_preset_env" -version = "0.75.1" +version = "0.76.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/swc_ecmascript/Cargo.toml b/crates/swc_ecmascript/Cargo.toml index 2aadc01f45f3..514a93272ad2 100644 --- a/crates/swc_ecmascript/Cargo.toml +++ b/crates/swc_ecmascript/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0" name = "swc_ecmascript" repository = "https://github.com/swc-project/swc.git" -version = "0.97.0" +version = "0.98.0" [package.metadata.docs.rs] all-features = true @@ -38,7 +38,7 @@ swc_ecma_codegen = {version = "0.84.0", path = "../swc_ecma_codegen", optional = swc_ecma_dep_graph = {version = "0.51.0", path = "../swc_ecma_dep_graph", optional = true} swc_ecma_minifier = {version = "0.60.0", path = "../swc_ecma_minifier", optional = true} swc_ecma_parser = {version = "0.82.0", path = "../swc_ecma_parser", optional = true, default-features = false} -swc_ecma_preset_env = {version = "0.75.0", path = "../swc_ecma_preset_env", optional = true} +swc_ecma_preset_env = {version = "0.76.0", path = "../swc_ecma_preset_env", optional = true} swc_ecma_transforms = {version = "0.103.0", path = "../swc_ecma_transforms", optional = true} swc_ecma_utils = {version = "0.56.0", path = "../swc_ecma_utils", optional = true} swc_ecma_visit = {version = "0.46.0", path = "../swc_ecma_visit", optional = true} diff --git a/crates/swc_estree_compat/Cargo.toml b/crates/swc_estree_compat/Cargo.toml index c2a71367edf0..c41b1ec1cd57 100644 --- a/crates/swc_estree_compat/Cargo.toml +++ b/crates/swc_estree_compat/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0" name = "swc_estree_compat" repository = "https://github.com/swc-project/swc.git" -version = "0.15.0" +version = "0.16.0" [package.metadata.docs.rs] all-features = true @@ -29,7 +29,7 @@ swc_node_comments = {version = "0.2.0", path = "../swc_node_comments/"} [dev-dependencies] pretty_assertions = "0.7.1" -swc = {version = "0.97.0", path = "../swc"} +swc = {version = "0.98.0", path = "../swc"} swc_ecma_ast = {version = "0.60.0", path = "../swc_ecma_ast"} swc_ecma_parser = {version = "0.82.0", path = "../swc_ecma_parser"} swc_ecma_transforms = {version = "0.103.0", path = "../swc_ecma_transforms/"} diff --git a/crates/swc_webpack_ast/Cargo.toml b/crates/swc_webpack_ast/Cargo.toml index 9e6f694e75b6..5d05e332109e 100644 --- a/crates/swc_webpack_ast/Cargo.toml +++ b/crates/swc_webpack_ast/Cargo.toml @@ -5,7 +5,7 @@ edition = "2018" license = "Apache-2.0" name = "swc_webpack_ast" repository = "https://github.com/swc-project/swc.git" -version = "0.13.2" +version = "0.14.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -22,7 +22,7 @@ swc_ecma_transforms_base = {version = "0.49.0", path = "../swc_ecma_transforms_b swc_ecma_utils = {version = "0.56.0", path = "../swc_ecma_utils"} swc_ecma_visit = {version = "0.46.0", path = "../swc_ecma_visit"} swc_estree_ast = {version = "0.5.0", path = "../swc_estree_ast"} -swc_estree_compat = {version = "0.15.0", path = "../swc_estree_compat"} +swc_estree_compat = {version = "0.16.0", path = "../swc_estree_compat"} swc_timer = {version = "0.2.0", path = "../swc_timer"} tracing = "0.1.29"