diff --git a/CHANGELOG.md b/CHANGELOG.md index fa31583c76f..309a6af27be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,9 @@ - **(es/compat)** Handle initializer hole in array patterns (#3442) ([3bb2a6c](https://github.com/swc-project/swc/commit/3bb2a6ccca4e78412f80aea4fe6c22d04d345a00)) + +- **(es/resolver)** Fix handling of for statements (#3446) ([2af5096](https://github.com/swc-project/swc/commit/2af5096e83229df1e5ccfe62659360c0392ef0ba)) + ### Features diff --git a/Cargo.lock b/Cargo.lock index ac8a54afc0c..7af5b1ada4e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2612,7 +2612,7 @@ dependencies = [ [[package]] name = "swc" -version = "0.121.0" +version = "0.121.1" dependencies = [ "ahash", "anyhow", @@ -3042,7 +3042,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms" -version = "0.115.0" +version = "0.115.1" dependencies = [ "pretty_assertions", "sourcemap", @@ -3068,7 +3068,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "0.58.0" +version = "0.58.1" dependencies = [ "once_cell", "phf", @@ -3311,7 +3311,7 @@ dependencies = [ [[package]] name = "swc_ecmascript" -version = "0.112.0" +version = "0.112.1" dependencies = [ "swc_ecma_ast", "swc_ecma_codegen", diff --git a/crates/swc/Cargo.toml b/crates/swc/Cargo.toml index 27df399d44c..fa52ceb1fd7 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.121.0" +version = "0.121.1" [lib] name = "swc" @@ -55,7 +55,7 @@ swc_ecma_loader = {version = "0.28.0", path = "../swc_ecma_loader", features = [ swc_ecma_minifier = {version = "0.72.0", path = "../swc_ecma_minifier"} swc_ecma_parser = {version = "0.88.0", path = "../swc_ecma_parser"} swc_ecma_preset_env = {version = "0.88.0", path = "../swc_ecma_preset_env"} -swc_ecma_transforms = {version = "0.115.0", path = "../swc_ecma_transforms", features = [ +swc_ecma_transforms = {version = "0.115.1", path = "../swc_ecma_transforms", features = [ "compat", "module", "optimization", @@ -63,12 +63,12 @@ swc_ecma_transforms = {version = "0.115.0", path = "../swc_ecma_transforms", fea "react", "typescript", ]} -swc_ecma_transforms_base = {version = "0.58.0", path = "../swc_ecma_transforms_base"} +swc_ecma_transforms_base = {version = "0.58.1", path = "../swc_ecma_transforms_base"} swc_ecma_transforms_compat = {version = "0.69.0", path = "../swc_ecma_transforms_compat"} swc_ecma_transforms_optimization = {version = "0.85.0", path = "../swc_ecma_transforms_optimization"} swc_ecma_utils = {version = "0.65.0", path = "../swc_ecma_utils"} swc_ecma_visit = {version = "0.51.1", path = "../swc_ecma_visit"} -swc_ecmascript = {version = "0.112.0", path = "../swc_ecmascript"} +swc_ecmascript = {version = "0.112.1", path = "../swc_ecmascript"} swc_node_comments = {version = "0.4.0", path = "../swc_node_comments"} swc_plugin_runner = {version = "0.31.0", path = "../swc_plugin_runner", optional = true} swc_visit = {version = "0.3.0", path = "../swc_visit"} diff --git a/crates/swc_ecma_transforms/Cargo.toml b/crates/swc_ecma_transforms/Cargo.toml index b3cff13eb08..b6fe4719b82 100644 --- a/crates/swc_ecma_transforms/Cargo.toml +++ b/crates/swc_ecma_transforms/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_ecma_transforms" repository = "https://github.com/swc-project/swc.git" -version = "0.115.0" +version = "0.115.1" [package.metadata.docs.rs] all-features = true @@ -27,7 +27,7 @@ swc_atoms = {version = "0.2.0", path = "../swc_atoms"} swc_common = {version = "0.17.0", path = "../swc_common"} swc_ecma_ast = {version = "0.65.0", path = "../swc_ecma_ast"} swc_ecma_parser = {version = "0.88.0", path = "../swc_ecma_parser"} -swc_ecma_transforms_base = {version = "0.58.0", path = "../swc_ecma_transforms_base"} +swc_ecma_transforms_base = {version = "0.58.1", path = "../swc_ecma_transforms_base"} swc_ecma_transforms_compat = {version = "0.69.0", path = "../swc_ecma_transforms_compat", optional = true} swc_ecma_transforms_module = {version = "0.76.0", path = "../swc_ecma_transforms_module", optional = true} swc_ecma_transforms_optimization = {version = "0.85.0", path = "../swc_ecma_transforms_optimization", optional = true} diff --git a/crates/swc_ecma_transforms_base/Cargo.toml b/crates/swc_ecma_transforms_base/Cargo.toml index 235f89e0aa5..0d44497ead2 100644 --- a/crates/swc_ecma_transforms_base/Cargo.toml +++ b/crates/swc_ecma_transforms_base/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_ecma_transforms_base" repository = "https://github.com/swc-project/swc.git" -version = "0.58.0" +version = "0.58.1" [features] concurrent = [ diff --git a/crates/swc_ecmascript/Cargo.toml b/crates/swc_ecmascript/Cargo.toml index da92f8d60e1..234148ea1bc 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.112.0" +version = "0.112.1" [package.metadata.docs.rs] all-features = true @@ -39,7 +39,7 @@ swc_ecma_dep_graph = {version = "0.59.0", path = "../swc_ecma_dep_graph", option swc_ecma_minifier = {version = "0.72.0", path = "../swc_ecma_minifier", optional = true} swc_ecma_parser = {version = "0.88.0", path = "../swc_ecma_parser", optional = true, default-features = false} swc_ecma_preset_env = {version = "0.88.0", path = "../swc_ecma_preset_env", optional = true} -swc_ecma_transforms = {version = "0.115.0", path = "../swc_ecma_transforms", optional = true} +swc_ecma_transforms = {version = "0.115.1", path = "../swc_ecma_transforms", optional = true} swc_ecma_utils = {version = "0.65.0", path = "../swc_ecma_utils", optional = true} swc_ecma_visit = {version = "0.51.1", path = "../swc_ecma_visit", optional = true}