diff --git a/.changeset/nervous-hounds-kiss.md b/.changeset/nervous-hounds-kiss.md deleted file mode 100644 index 5608c763e45a..000000000000 --- a/.changeset/nervous-hounds-kiss.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -swc_ecma_compat_es2015: patch -swc_core: patch ---- - -fix: 🐛 add missing visit children in for stmt diff --git a/.changeset/plenty-frogs-live.md b/.changeset/plenty-frogs-live.md deleted file mode 100644 index b765b425d413..000000000000 --- a/.changeset/plenty-frogs-live.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -swc_ecma_minifier: patch -swc_core: patch ---- - -feat(es/minifier): Implement optional catch binding diff --git a/Cargo.lock b/Cargo.lock index 4755be94b0fb..1c93d09af7a5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4115,7 +4115,7 @@ dependencies = [ [[package]] name = "swc_core" -version = "1.0.3" +version = "1.0.4" dependencies = [ "anyhow", "binding_macros", @@ -4441,7 +4441,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2015" -version = "1.0.0" +version = "1.0.1" dependencies = [ "arrayvec", "indexmap 2.5.0", @@ -4657,7 +4657,7 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "1.0.1" +version = "1.0.2" dependencies = [ "ansi_term", "anyhow", diff --git a/crates/dbg-swc/Cargo.toml b/crates/dbg-swc/Cargo.toml index 5ba18d3c807c..2a72b8707767 100644 --- a/crates/dbg-swc/Cargo.toml +++ b/crates/dbg-swc/Cargo.toml @@ -33,7 +33,7 @@ swc_common = { version = "1.0.0", features = [ ], path = "../swc_common" } swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "1.0.0", path = "../swc_ecma_codegen" } -swc_ecma_minifier = { version = "1.0.1", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "1.0.2", path = "../swc_ecma_minifier", features = [ "concurrent", ] } swc_ecma_parser = { version = "1.0.1", path = "../swc_ecma_parser" } diff --git a/crates/swc/Cargo.toml b/crates/swc/Cargo.toml index 2a319f2ba978..5d3b7ae128e7 100644 --- a/crates/swc/Cargo.toml +++ b/crates/swc/Cargo.toml @@ -85,7 +85,7 @@ swc_ecma_loader = { version = "1.0.0", path = "../swc_ecma_loader", features = [ "node", "tsc", ] } -swc_ecma_minifier = { version = "1.0.1", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { version = "1.0.2", path = "../swc_ecma_minifier" } swc_ecma_parser = { version = "1.0.1", path = "../swc_ecma_parser" } swc_ecma_preset_env = { version = "1.0.0", path = "../swc_ecma_preset_env" } swc_ecma_transforms = { version = "1.0.0", path = "../swc_ecma_transforms", features = [ diff --git a/crates/swc_bundler/Cargo.toml b/crates/swc_bundler/Cargo.toml index 413dcc623b26..717ab4d7ff01 100644 --- a/crates/swc_bundler/Cargo.toml +++ b/crates/swc_bundler/Cargo.toml @@ -63,7 +63,7 @@ swc_ecma_loader = { version = "1.0.0", path = "../swc_ecma_loader", features = [ "node", "cache", ] } -swc_ecma_minifier = { version = "1.0.1", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "1.0.2", path = "../swc_ecma_minifier", features = [ "concurrent", ] } swc_ecma_transforms_proposal = { version = "1.0.1", path = "../swc_ecma_transforms_proposal" } diff --git a/crates/swc_cli_impl/Cargo.toml b/crates/swc_cli_impl/Cargo.toml index aa5b9813257c..943743dfbed7 100644 --- a/crates/swc_cli_impl/Cargo.toml +++ b/crates/swc_cli_impl/Cargo.toml @@ -39,7 +39,7 @@ tracing-futures = { workspace = true } tracing-subscriber = { workspace = true, features = ["env-filter"] } walkdir = { workspace = true } -swc_core = { version = "1.0.3", features = [ +swc_core = { version = "1.0.4", features = [ "trace_macro", "common_concurrent", "base_concurrent", diff --git a/crates/swc_compiler_base/Cargo.toml b/crates/swc_compiler_base/Cargo.toml index 0f08d45b9edc..e353746d5a57 100644 --- a/crates/swc_compiler_base/Cargo.toml +++ b/crates/swc_compiler_base/Cargo.toml @@ -30,7 +30,7 @@ swc_common = { version = "1.0.0", path = "../swc_common", features = [ swc_config = { version = "1.0.0", path = "../swc_config" } swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "1.0.0", path = "../swc_ecma_codegen" } -swc_ecma_minifier = { version = "1.0.1", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { version = "1.0.2", path = "../swc_ecma_minifier" } swc_ecma_parser = { version = "1.0.1", path = "../swc_ecma_parser" } swc_ecma_visit = { version = "1.0.0", path = "../swc_ecma_visit" } swc_timer = { version = "1.0.0", path = "../swc_timer" } diff --git a/crates/swc_core/Cargo.toml b/crates/swc_core/Cargo.toml index 535ca648d3bb..865a8f5b9b93 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 = "1.0.3" +version = "1.0.4" [package.metadata.docs.rs] features = [ "allocator_node", @@ -357,7 +357,7 @@ swc_ecma_ast = { optional = true, version = "1.0.0", path = swc_ecma_codegen = { optional = true, version = "1.0.0", path = "../swc_ecma_codegen" } swc_ecma_lints = { optional = true, version = "1.0.0", path = "../swc_ecma_lints" } swc_ecma_loader = { optional = true, version = "1.0.0", path = "../swc_ecma_loader" } -swc_ecma_minifier = { optional = true, version = "1.0.1", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { optional = true, version = "1.0.2", path = "../swc_ecma_minifier" } swc_ecma_parser = { optional = true, version = "1.0.1", path = "../swc_ecma_parser" } swc_ecma_preset_env = { optional = true, version = "1.0.0", path = "../swc_ecma_preset_env" } swc_ecma_quote_macros = { optional = true, version = "1.0.0", path = "../swc_ecma_quote_macros" } diff --git a/crates/swc_ecma_compat_bugfixes/Cargo.toml b/crates/swc_ecma_compat_bugfixes/Cargo.toml index d0f159ecdbe2..8a6594e0ea71 100644 --- a/crates/swc_ecma_compat_bugfixes/Cargo.toml +++ b/crates/swc_ecma_compat_bugfixes/Cargo.toml @@ -14,7 +14,7 @@ version = "1.0.0" swc_atoms = { version = "2.0.0", path = "../swc_atoms" } swc_common = { version = "1.0.0", path = "../swc_common" } swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } -swc_ecma_compat_es2015 = { version = "1.0.0", path = "../swc_ecma_compat_es2015" } +swc_ecma_compat_es2015 = { version = "1.0.1", path = "../swc_ecma_compat_es2015" } swc_ecma_transforms_base = { version = "1.0.0", path = "../swc_ecma_transforms_base" } swc_ecma_utils = { version = "1.0.1", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "1.0.0", path = "../swc_ecma_visit" } diff --git a/crates/swc_ecma_compat_es2015/Cargo.toml b/crates/swc_ecma_compat_es2015/Cargo.toml index 044577d439d3..8897f27429a3 100644 --- a/crates/swc_ecma_compat_es2015/Cargo.toml +++ b/crates/swc_ecma_compat_es2015/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_compat_es2015" repository = "https://github.com/swc-project/swc.git" -version = "1.0.0" +version = "1.0.1" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/swc_ecma_minifier/Cargo.toml b/crates/swc_ecma_minifier/Cargo.toml index 8a1e2c520c9c..31b67cda3e82 100644 --- a/crates/swc_ecma_minifier/Cargo.toml +++ b/crates/swc_ecma_minifier/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "src/lists/*.json"] license = "Apache-2.0" name = "swc_ecma_minifier" repository = "https://github.com/swc-project/swc.git" -version = "1.0.1" +version = "1.0.2" [package.metadata.docs.rs] all-features = true diff --git a/crates/swc_ecma_transforms_compat/Cargo.toml b/crates/swc_ecma_transforms_compat/Cargo.toml index e380cf100683..2efbfd4799ad 100644 --- a/crates/swc_ecma_transforms_compat/Cargo.toml +++ b/crates/swc_ecma_transforms_compat/Cargo.toml @@ -35,7 +35,7 @@ swc_config = { version = "1.0.0", path = "../swc_config" } swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } swc_ecma_compat_bugfixes = { version = "1.0.0", path = "../swc_ecma_compat_bugfixes" } swc_ecma_compat_common = { version = "1.0.0", path = "../swc_ecma_compat_common" } -swc_ecma_compat_es2015 = { version = "1.0.0", path = "../swc_ecma_compat_es2015" } +swc_ecma_compat_es2015 = { version = "1.0.1", path = "../swc_ecma_compat_es2015" } swc_ecma_compat_es2016 = { version = "1.0.0", path = "../swc_ecma_compat_es2016" } swc_ecma_compat_es2017 = { version = "1.0.0", path = "../swc_ecma_compat_es2017" } swc_ecma_compat_es2018 = { version = "1.0.0", path = "../swc_ecma_compat_es2018" } diff --git a/crates/swc_ecmascript/Cargo.toml b/crates/swc_ecmascript/Cargo.toml index 8dcaf9a82db2..f9b5d2dcae44 100644 --- a/crates/swc_ecmascript/Cargo.toml +++ b/crates/swc_ecmascript/Cargo.toml @@ -40,7 +40,7 @@ typescript = ["typescript-parser", "swc_ecma_transforms/typescript"] [dependencies] swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "1.0.0", path = "../swc_ecma_codegen", optional = true } -swc_ecma_minifier = { version = "1.0.1", path = "../swc_ecma_minifier", optional = true } +swc_ecma_minifier = { version = "1.0.2", path = "../swc_ecma_minifier", optional = true } swc_ecma_parser = { version = "1.0.1", path = "../swc_ecma_parser", optional = true, default-features = false } swc_ecma_preset_env = { version = "1.0.0", path = "../swc_ecma_preset_env", optional = true } swc_ecma_quote = { version = "1.0.0", path = "../swc_ecma_quote", optional = true } diff --git a/crates/swc_html_minifier/Cargo.toml b/crates/swc_html_minifier/Cargo.toml index 1d2a91321861..faccaab4437f 100644 --- a/crates/swc_html_minifier/Cargo.toml +++ b/crates/swc_html_minifier/Cargo.toml @@ -36,7 +36,7 @@ swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "1.0.0", path = "../swc_ecma_codegen", features = [ "serde-impl", ] } -swc_ecma_minifier = { version = "1.0.1", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "1.0.2", path = "../swc_ecma_minifier", features = [ "extra-serde", ] } swc_ecma_parser = { version = "1.0.1", path = "../swc_ecma_parser" }