diff --git a/CHANGELOG.md b/CHANGELOG.md index b8e182dd518..4e358937934 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,9 @@ - **(es/module)** Support top-level await in dynamic imports (#4277) ([720244f](https://github.com/swc-project/swc/commit/720244fff9f3fcf5cb0ed4bcfc6e2a5795ad3be1)) + +- **(es/optimization)** Don't create invalid sequence expressions (#4285) ([4868c73](https://github.com/swc-project/swc/commit/4868c73d5bc5eb3ffbbc2fd31c485e3e22795550)) + ### Features diff --git a/Cargo.lock b/Cargo.lock index b6f25fd1ddb..e95d65b8cec 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3479,7 +3479,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_optimization" -version = "0.112.0" +version = "0.112.1" dependencies = [ "ahash", "dashmap", diff --git a/crates/swc_ecma_transforms_optimization/Cargo.toml b/crates/swc_ecma_transforms_optimization/Cargo.toml index 8d4adbbb3fb..02532320063 100644 --- a/crates/swc_ecma_transforms_optimization/Cargo.toml +++ b/crates/swc_ecma_transforms_optimization/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_transforms_optimization" repository = "https://github.com/swc-project/swc.git" -version = "0.112.0" +version = "0.112.1" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] @@ -28,23 +28,23 @@ ahash = "0.7.4" dashmap = "5.1.0" indexmap = "1.6.1" once_cell = "1.10.0" -rayon = {version = "1.5.1", optional = true} +rayon = { version = "1.5.1", optional = true } serde_json = "1.0.61" -swc_atoms = {version = "0.2", path = "../swc_atoms"} -swc_common = { version = "0.17.20", path = "../swc_common"} -swc_ecma_ast = {version = "0.75.0", path = "../swc_ecma_ast"} -swc_ecma_parser = {version = "0.100.0", path = "../swc_ecma_parser"} -swc_ecma_transforms_base = {version = "0.75.0", path = "../swc_ecma_transforms_base"} -swc_ecma_transforms_macros = {version = "0.3.0", path = "../swc_ecma_transforms_macros"} -swc_ecma_utils = {version = "0.79.0", path = "../swc_ecma_utils"} -swc_ecma_visit = {version = "0.61.0", path = "../swc_ecma_visit"} +swc_atoms = { version = "0.2", path = "../swc_atoms" } +swc_common = { version = "0.17.20", path = "../swc_common" } +swc_ecma_ast = { version = "0.75.0", path = "../swc_ecma_ast" } +swc_ecma_parser = { version = "0.100.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_base = { version = "0.75.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_macros = { version = "0.3.0", path = "../swc_ecma_transforms_macros" } +swc_ecma_utils = { version = "0.79.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "0.61.0", path = "../swc_ecma_visit" } tracing = "0.1.32" [dev-dependencies] -swc_ecma_transforms_compat = {version = "0.89.0", path = "../swc_ecma_transforms_compat"} -swc_ecma_transforms_module = {version = "0.102.0", path = "../swc_ecma_transforms_module"} -swc_ecma_transforms_proposal = {version = "0.97.0", path = "../swc_ecma_transforms_proposal"} -swc_ecma_transforms_react = {version = "0.104.0", path = "../swc_ecma_transforms_react"} -swc_ecma_transforms_testing = {version = "0.77.0", path = "../swc_ecma_transforms_testing"} -swc_ecma_transforms_typescript = {version = "0.107.0", path = "../swc_ecma_transforms_typescript"} -testing = {version = "0.19.0", path = "../testing"} +swc_ecma_transforms_compat = { version = "0.89.0", path = "../swc_ecma_transforms_compat" } +swc_ecma_transforms_module = { version = "0.102.0", path = "../swc_ecma_transforms_module" } +swc_ecma_transforms_proposal = { version = "0.97.0", path = "../swc_ecma_transforms_proposal" } +swc_ecma_transforms_react = { version = "0.104.0", path = "../swc_ecma_transforms_react" } +swc_ecma_transforms_testing = { version = "0.77.0", path = "../swc_ecma_transforms_testing" } +swc_ecma_transforms_typescript = { version = "0.107.0", path = "../swc_ecma_transforms_typescript" } +testing = { version = "0.19.0", path = "../testing" }