From f014f3e76ffeaf11fde5a8f1f92525596a34e00e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Sun, 19 Jan 2025 14:14:35 +0900 Subject: [PATCH] chore: Publish crates with `swc_core` `v10.4.0` --- .changeset/late-maps-jump.md | 6 ------ CHANGELOG.md | 3 +++ Cargo.lock | 4 ++-- crates/dbg-swc/Cargo.toml | 2 +- crates/swc/Cargo.toml | 2 +- crates/swc_bundler/Cargo.toml | 2 +- crates/swc_cli_impl/Cargo.toml | 2 +- crates/swc_compiler_base/Cargo.toml | 2 +- crates/swc_core/Cargo.toml | 4 ++-- crates/swc_ecma_minifier/Cargo.toml | 2 +- crates/swc_ecmascript/Cargo.toml | 2 +- crates/swc_html_minifier/Cargo.toml | 2 +- 12 files changed, 15 insertions(+), 18 deletions(-) delete mode 100644 .changeset/late-maps-jump.md diff --git a/.changeset/late-maps-jump.md b/.changeset/late-maps-jump.md deleted file mode 100644 index 1ebf16c621bc..000000000000 --- a/.changeset/late-maps-jump.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -swc_core: minor -swc_ecma_minifier: minor ---- - -perf(es/minifier): Reduce memory allocations diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f47ad99d88a..1a586a4eb054 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,6 +38,9 @@ - **(es/minifier)** Adjust parallel threshold ([#9872](https://github.com/swc-project/swc/issues/9872)) ([d5d856c](https://github.com/swc-project/swc/commit/d5d856cf3b7c89da4d917cb1acea4fdb3096769b)) +- **(es/minifier)** Box `VarUsageInfo` of `ProgramData` ([#9894](https://github.com/swc-project/swc/issues/9894)) ([fafd754](https://github.com/swc-project/swc/commit/fafd754f74be0cd9dfc1c0f5a24b1c078023cb64)) + + - **(es/renamer)** Use `IndexSet` for rename queue ([#9866](https://github.com/swc-project/swc/issues/9866)) ([f404720](https://github.com/swc-project/swc/commit/f404720b8fa0166a27f47bf6913307353def7fae)) diff --git a/Cargo.lock b/Cargo.lock index 9ab2fba625dd..dc719bf20049 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4680,7 +4680,7 @@ dependencies = [ [[package]] name = "swc_core" -version = "10.3.0" +version = "10.4.0" dependencies = [ "anyhow", "binding_macros", @@ -5233,7 +5233,7 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "7.1.0" +version = "7.2.0" dependencies = [ "ansi_term", "anyhow", diff --git a/crates/dbg-swc/Cargo.toml b/crates/dbg-swc/Cargo.toml index 14065a3e7fd7..2545d7979bba 100644 --- a/crates/dbg-swc/Cargo.toml +++ b/crates/dbg-swc/Cargo.toml @@ -33,7 +33,7 @@ swc_common = { version = "5.0.0", features = [ ], path = "../swc_common" } swc_ecma_ast = { version = "5.0.2", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "5.1.0", path = "../swc_ecma_codegen" } -swc_ecma_minifier = { version = "7.1.0", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "7.2.0", path = "../swc_ecma_minifier", features = [ "concurrent", ] } swc_ecma_parser = { version = "6.0.2", path = "../swc_ecma_parser" } diff --git a/crates/swc/Cargo.toml b/crates/swc/Cargo.toml index 6c9f0a073786..0f073dd34654 100644 --- a/crates/swc/Cargo.toml +++ b/crates/swc/Cargo.toml @@ -88,7 +88,7 @@ swc_ecma_loader = { version = "5.0.0", path = "../swc_ecma_loader", features = [ "node", "tsc", ] } -swc_ecma_minifier = { version = "7.1.0", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { version = "7.2.0", path = "../swc_ecma_minifier" } swc_ecma_parser = { version = "6.0.2", path = "../swc_ecma_parser" } swc_ecma_preset_env = { version = "9.0.0", path = "../swc_ecma_preset_env" } swc_ecma_transforms = { version = "9.0.0", path = "../swc_ecma_transforms", features = [ diff --git a/crates/swc_bundler/Cargo.toml b/crates/swc_bundler/Cargo.toml index 3a045b177aaf..0670037aa2ef 100644 --- a/crates/swc_bundler/Cargo.toml +++ b/crates/swc_bundler/Cargo.toml @@ -63,7 +63,7 @@ swc_ecma_loader = { version = "5.0.0", path = "../swc_ecma_loader", features = [ "node", "cache", ] } -swc_ecma_minifier = { version = "7.1.0", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "7.2.0", path = "../swc_ecma_minifier", features = [ "concurrent", ] } swc_ecma_transforms_proposal = { version = "7.0.1", path = "../swc_ecma_transforms_proposal" } diff --git a/crates/swc_cli_impl/Cargo.toml b/crates/swc_cli_impl/Cargo.toml index 35e3f5da7790..6c1af039022f 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 = "10.3.0", features = [ +swc_core = { version = "10.4.0", features = [ "trace_macro", "common_concurrent", "base_concurrent", diff --git a/crates/swc_compiler_base/Cargo.toml b/crates/swc_compiler_base/Cargo.toml index 558071c61a00..baa66d788445 100644 --- a/crates/swc_compiler_base/Cargo.toml +++ b/crates/swc_compiler_base/Cargo.toml @@ -30,7 +30,7 @@ swc_common = { version = "5.0.0", path = "../swc_common", features = [ swc_config = { version = "1.0.0", path = "../swc_config" } swc_ecma_ast = { version = "5.0.2", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "5.1.0", path = "../swc_ecma_codegen" } -swc_ecma_minifier = { version = "7.1.0", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { version = "7.2.0", path = "../swc_ecma_minifier" } swc_ecma_parser = { version = "6.0.2", path = "../swc_ecma_parser" } swc_ecma_visit = { version = "5.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 bdb8fd842f33..4a7f0bd2c57f 100644 --- a/crates/swc_core/Cargo.toml +++ b/crates/swc_core/Cargo.toml @@ -6,7 +6,7 @@ edition = { workspace = true } license = { workspace = true } name = "swc_core" repository = { workspace = true } -version = "10.3.0" +version = "10.4.0" [package.metadata.docs.rs] features = [ "allocator_node", @@ -357,7 +357,7 @@ swc_ecma_ast = { optional = true, version = "5.0.2", path = swc_ecma_codegen = { optional = true, version = "5.1.0", path = "../swc_ecma_codegen" } swc_ecma_lints = { optional = true, version = "7.0.0", path = "../swc_ecma_lints" } swc_ecma_loader = { optional = true, version = "5.0.0", path = "../swc_ecma_loader" } -swc_ecma_minifier = { optional = true, version = "7.1.0", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { optional = true, version = "7.2.0", path = "../swc_ecma_minifier" } swc_ecma_parser = { optional = true, version = "6.0.2", path = "../swc_ecma_parser" } swc_ecma_preset_env = { optional = true, version = "9.0.0", path = "../swc_ecma_preset_env" } swc_ecma_quote_macros = { optional = true, version = "6.0.0", path = "../swc_ecma_quote_macros" } diff --git a/crates/swc_ecma_minifier/Cargo.toml b/crates/swc_ecma_minifier/Cargo.toml index 6ba7e2991998..68f23f2c8d95 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 = { workspace = true } name = "swc_ecma_minifier" repository = { workspace = true } -version = "7.1.0" +version = "7.2.0" [package.metadata.docs.rs] all-features = true diff --git a/crates/swc_ecmascript/Cargo.toml b/crates/swc_ecmascript/Cargo.toml index cc5eb7d36f22..d26d0728838a 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 = "5.0.2", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "5.1.0", path = "../swc_ecma_codegen", optional = true } -swc_ecma_minifier = { version = "7.1.0", path = "../swc_ecma_minifier", optional = true } +swc_ecma_minifier = { version = "7.2.0", path = "../swc_ecma_minifier", optional = true } swc_ecma_parser = { version = "6.0.2", path = "../swc_ecma_parser", optional = true, default-features = false } swc_ecma_preset_env = { version = "9.0.0", path = "../swc_ecma_preset_env", optional = true } swc_ecma_quote = { version = "6.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 c2eb11aa7390..2f5f2bfb9d54 100644 --- a/crates/swc_html_minifier/Cargo.toml +++ b/crates/swc_html_minifier/Cargo.toml @@ -36,7 +36,7 @@ swc_ecma_ast = { version = "5.0.2", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "5.1.0", path = "../swc_ecma_codegen", features = [ "serde-impl", ] } -swc_ecma_minifier = { version = "7.1.0", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "7.2.0", path = "../swc_ecma_minifier", features = [ "extra-serde", ] } swc_ecma_parser = { version = "6.0.2", path = "../swc_ecma_parser" }