Skip to content

Commit eda0c58

Browse files
committed
chore: Publish crates with swc_core v34.0.3
1 parent 212d8bc commit eda0c58

File tree

53 files changed

+142
-166
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+142
-166
lines changed

.changeset/breezy-experts-complain.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.changeset/honest-geese-rest.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changeset/odd-toes-return.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

CHANGELOG-CORE.md

Lines changed: 29 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,35 @@
55

66

77

8+
- **(es/minifier)** Check exported when optimize last expr ([#10939](https://github.com/swc-project/swc/issues/10939)) ([f6f15f3](https://github.com/swc-project/swc/commit/f6f15f38d38ef5458d8dd5c9b9a7090c1da6fd65))
9+
10+
11+
- **(es/minifier)** Disallow types ([#10945](https://github.com/swc-project/swc/issues/10945)) ([63172ef](https://github.com/swc-project/swc/commit/63172ef3b069f6e7ef301233ad6f421d18cd8307))
12+
13+
14+
- **(es/minifier)** Don't optimize Number properties when Number is shadowed ([#10947](https://github.com/swc-project/swc/issues/10947)) ([40a1e2e](https://github.com/swc-project/swc/commit/40a1e2e6b86756a8b1234057ad719bf0b1ef240f))
15+
16+
17+
- **(es/minifier)** Fix cycle detection ([#10950](https://github.com/swc-project/swc/issues/10950)) ([212d8bc](https://github.com/swc-project/swc/commit/212d8bcff1b3986746b57f22f574a0a4e81bd39c))
18+
19+
### Performance
20+
21+
22+
23+
- **(es/minifier)** Use bitflag for var kind ([#10940](https://github.com/swc-project/swc/issues/10940)) ([4317988](https://github.com/swc-project/swc/commit/43179889525734f9a129d68dc4381fba881d1e66))
24+
25+
26+
- **(es/minifier)** Remove needless clone ([#10949](https://github.com/swc-project/swc/issues/10949)) ([b5e5e8c](https://github.com/swc-project/swc/commit/b5e5e8c35abd4d04b90e18719d059242ed9b33eb))
27+
28+
29+
- **(es/parser)** Reduce comparison ([#10941](https://github.com/swc-project/swc/issues/10941)) ([a262eeb](https://github.com/swc-project/swc/commit/a262eeb053265878333cf597f8c1f167a13c02b6))
30+
31+
## [swc_core@v34.0.2] - 2025-07-24
32+
33+
### Bug Fixes
34+
35+
36+
837
- **(es/parser)** Correctly handle EOF position ([#10934](https://github.com/swc-project/swc/issues/10934)) ([dd70fbd](https://github.com/swc-project/swc/commit/dd70fbd0dd24f5c7652cf79d1be99d5f4bb9e1c6))
938

1039
### Performance
@@ -2687,37 +2716,10 @@
26872716

26882717
## [swc_core@v10.5.0] - 2025-01-20
26892718

2690-
### Documentation
2691-
2692-
2693-
2694-
- **(es/parallel)** Improve document of `Parallel` ([#9896](https://github.com/swc-project/swc/issues/9896)) ([9962c9c](https://github.com/swc-project/swc/commit/9962c9c98d8a30623b4680303e398ae57da6d6a9))
2695-
2696-
### Features
2697-
2698-
2699-
2700-
- **(es/minifier)** Print total size from `minify-all` example ([#9897](https://github.com/swc-project/swc/issues/9897)) ([134000f](https://github.com/swc-project/swc/commit/134000fe93029c3af887726e5be6da1fd812e330))
2701-
2702-
### Miscellaneous Tasks
2703-
2704-
2705-
2706-
- **(es/minifier)** Print slow files from `minify-all` example ([#9899](https://github.com/swc-project/swc/issues/9899)) ([2d87b89](https://github.com/swc-project/swc/commit/2d87b897e6f62e07aee3b0741d3e961190986763))
2707-
27082719
### Performance
27092720

27102721

27112722

2712-
- **(es/minifier)** Make character frequency analysis parallel ([#9895](https://github.com/swc-project/swc/issues/9895)) ([ca2fd1e](https://github.com/swc-project/swc/commit/ca2fd1ebdf94270efdb319379551de31f41428a2))
2713-
2714-
2715-
- **(es/minifier)** Parallelize handling of class members ([#9900](https://github.com/swc-project/swc/issues/9900)) ([ed74839](https://github.com/swc-project/swc/commit/ed748394be54b9e4e212717007b430aa169667e9))
2716-
2717-
2718-
- **(es/minifier)** Adjust threshold for parallel char frequency calculation ([#9901](https://github.com/swc-project/swc/issues/9901)) ([47ea8de](https://github.com/swc-project/swc/commit/47ea8de2777051bce249f666b10580f168d8d72a))
2719-
2720-
27212723
- **(es/minifier)** Do heavy operation only if required ([#9902](https://github.com/swc-project/swc/issues/9902)) ([2687231](https://github.com/swc-project/swc/commit/26872310f60d4de40e717cd30e7bf856bad3edba))
27222724

27232725
<!-- generated by git-cliff -->

CHANGELOG.md

Lines changed: 21 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@
55

66

77

8+
- **(es/minifier)** Check exported when optimize last expr ([#10939](https://github.com/swc-project/swc/issues/10939)) ([f6f15f3](https://github.com/swc-project/swc/commit/f6f15f38d38ef5458d8dd5c9b9a7090c1da6fd65))
9+
10+
11+
- **(es/minifier)** Disallow types ([#10945](https://github.com/swc-project/swc/issues/10945)) ([63172ef](https://github.com/swc-project/swc/commit/63172ef3b069f6e7ef301233ad6f421d18cd8307))
12+
13+
14+
- **(es/minifier)** Don't optimize Number properties when Number is shadowed ([#10947](https://github.com/swc-project/swc/issues/10947)) ([40a1e2e](https://github.com/swc-project/swc/commit/40a1e2e6b86756a8b1234057ad719bf0b1ef240f))
15+
16+
17+
- **(es/minifier)** Fix cycle detection ([#10950](https://github.com/swc-project/swc/issues/10950)) ([212d8bc](https://github.com/swc-project/swc/commit/212d8bcff1b3986746b57f22f574a0a4e81bd39c))
18+
19+
820
- **(es/parser)** Correctly handle EOF position ([#10934](https://github.com/swc-project/swc/issues/10934)) ([dd70fbd](https://github.com/swc-project/swc/commit/dd70fbd0dd24f5c7652cf79d1be99d5f4bb9e1c6))
921

1022
### Performance
@@ -17,8 +29,17 @@
1729
- **(es/minifier)** Remove pre-compress pass ([#10932](https://github.com/swc-project/swc/issues/10932)) ([c7f0e4d](https://github.com/swc-project/swc/commit/c7f0e4d5e6c0d6492e750d662711f9b495bc280d))
1830

1931

32+
- **(es/minifier)** Use bitflag for var kind ([#10940](https://github.com/swc-project/swc/issues/10940)) ([4317988](https://github.com/swc-project/swc/commit/43179889525734f9a129d68dc4381fba881d1e66))
33+
34+
35+
- **(es/minifier)** Remove needless clone ([#10949](https://github.com/swc-project/swc/issues/10949)) ([b5e5e8c](https://github.com/swc-project/swc/commit/b5e5e8c35abd4d04b90e18719d059242ed9b33eb))
36+
37+
2038
- **(es/parser)** Reduce comparison ([#10933](https://github.com/swc-project/swc/issues/10933)) ([e44fbd4](https://github.com/swc-project/swc/commit/e44fbd44f348dcd16608b4a29a5582198a70e229))
2139

40+
41+
- **(es/parser)** Reduce comparison ([#10941](https://github.com/swc-project/swc/issues/10941)) ([a262eeb](https://github.com/swc-project/swc/commit/a262eeb053265878333cf597f8c1f167a13c02b6))
42+
2243
## [1.13.2] - 2025-07-22
2344

2445
### Bug Fixes
@@ -2160,43 +2181,19 @@
21602181

21612182
- **(es/minifier)** Set param type to unknown ([#9905](https://github.com/swc-project/swc/issues/9905)) ([09b3b37](https://github.com/swc-project/swc/commit/09b3b371f93ca603c61992eca3e44208cd857dc5))
21622183

2163-
### Documentation
2164-
2165-
2166-
2167-
- **(es/parallel)** Improve document of `Parallel` ([#9896](https://github.com/swc-project/swc/issues/9896)) ([9962c9c](https://github.com/swc-project/swc/commit/9962c9c98d8a30623b4680303e398ae57da6d6a9))
2168-
21692184
### Features
21702185

21712186

21722187

2173-
- **(es/minifier)** Print total size from `minify-all` example ([#9897](https://github.com/swc-project/swc/issues/9897)) ([134000f](https://github.com/swc-project/swc/commit/134000fe93029c3af887726e5be6da1fd812e330))
2174-
2175-
21762188
- **(es/minifier)** Turn `1 * v` into `+v` ([#9903](https://github.com/swc-project/swc/issues/9903)) ([a228347](https://github.com/swc-project/swc/commit/a2283475b1b8f770e113806590f4959550f89f31))
21772189

21782190

21792191
- **(es/minifier)** Compress `foo ? num : 0` into `num * !!foo` ([#9908](https://github.com/swc-project/swc/issues/9908)) ([ce22557](https://github.com/swc-project/swc/commit/ce22557a0512e9263cb316116e5262757d884479))
21802192

2181-
### Miscellaneous Tasks
2182-
2183-
2184-
2185-
- **(es/minifier)** Print slow files from `minify-all` example ([#9899](https://github.com/swc-project/swc/issues/9899)) ([2d87b89](https://github.com/swc-project/swc/commit/2d87b897e6f62e07aee3b0741d3e961190986763))
2186-
21872193
### Performance
21882194

21892195

21902196

2191-
- **(es/minifier)** Make character frequency analysis parallel ([#9895](https://github.com/swc-project/swc/issues/9895)) ([ca2fd1e](https://github.com/swc-project/swc/commit/ca2fd1ebdf94270efdb319379551de31f41428a2))
2192-
2193-
2194-
- **(es/minifier)** Parallelize handling of class members ([#9900](https://github.com/swc-project/swc/issues/9900)) ([ed74839](https://github.com/swc-project/swc/commit/ed748394be54b9e4e212717007b430aa169667e9))
2195-
2196-
2197-
- **(es/minifier)** Adjust threshold for parallel char frequency calculation ([#9901](https://github.com/swc-project/swc/issues/9901)) ([47ea8de](https://github.com/swc-project/swc/commit/47ea8de2777051bce249f666b10580f168d8d72a))
2198-
2199-
22002197
- **(es/minifier)** Do heavy operation only if required ([#9902](https://github.com/swc-project/swc/issues/9902)) ([2687231](https://github.com/swc-project/swc/commit/26872310f60d4de40e717cd30e7bf856bad3edba))
22012198

22022199

@@ -2205,6 +2202,4 @@
22052202

22062203
- **(es/minifier)** Invert cache to be really a cache ([#9910](https://github.com/swc-project/swc/issues/9910)) ([8bfb0e5](https://github.com/swc-project/swc/commit/8bfb0e5edd51934dff37fe70136b73d5301a4e41))
22072204

2208-
## [1.10.8] - 2025-01-19
2209-
22102205
<!-- generated by git-cliff -->

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/dbg-swc/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ swc_common = { version = "14.0.2", features = [
3131
], path = "../swc_common" }
3232
swc_ecma_ast = { version = "14.0.0", path = "../swc_ecma_ast" }
3333
swc_ecma_codegen = { version = "16.0.0", path = "../swc_ecma_codegen" }
34-
swc_ecma_minifier = { version = "28.0.1", path = "../swc_ecma_minifier", features = [
34+
swc_ecma_minifier = { version = "28.0.2", path = "../swc_ecma_minifier", features = [
3535
"concurrent",
3636
] }
37-
swc_ecma_parser = { version = "22.0.1", path = "../swc_ecma_parser" }
37+
swc_ecma_parser = { version = "22.0.2", path = "../swc_ecma_parser" }
3838
swc_ecma_transforms_base = { version = "23.0.0", path = "../swc_ecma_transforms_base" }
3939
swc_ecma_visit = { version = "14.0.0", path = "../swc_ecma_visit" }
4040
swc_error_reporters = { version = "16.0.1", path = "../swc_error_reporters" }

crates/jsdoc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ swc_common = { version = "14.0.2", path = "../swc_common" }
2424

2525
[dev-dependencies]
2626
dashmap = { workspace = true }
27-
swc_ecma_parser = { version = "22.0.1", path = "../swc_ecma_parser" }
27+
swc_ecma_parser = { version = "22.0.2", path = "../swc_ecma_parser" }
2828
testing = { version = "15.0.0", path = "../testing" }

crates/swc/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ swc_ecma_loader = { version = "14.0.0", path = "../swc_ecma_loader", features =
9090
"node",
9191
"tsc",
9292
] }
93-
swc_ecma_minifier = { version = "28.0.1", path = "../swc_ecma_minifier" }
94-
swc_ecma_parser = { version = "22.0.1", path = "../swc_ecma_parser", default-features = false, features = ["typescript"] }
93+
swc_ecma_minifier = { version = "28.0.2", path = "../swc_ecma_minifier" }
94+
swc_ecma_parser = { version = "22.0.2", path = "../swc_ecma_parser", default-features = false, features = ["typescript"] }
9595
swc_ecma_preset_env = { version = "28.0.0", path = "../swc_ecma_preset_env" }
9696
swc_ecma_transforms = { version = "27.0.0", path = "../swc_ecma_transforms", features = [
9797
"compat",
@@ -104,7 +104,7 @@ swc_ecma_transforms = { version = "27.0.0", path = "../swc_ecma_transforms", fea
104104
swc_ecma_transforms_base = { version = "23.0.0", path = "../swc_ecma_transforms_base" }
105105
swc_ecma_transforms_compat = { version = "25.0.0", path = "../swc_ecma_transforms_compat" }
106106
swc_ecma_transforms_optimization = { version = "24.0.0", path = "../swc_ecma_transforms_optimization" }
107-
swc_ecma_utils = { version = "19.0.0", path = "../swc_ecma_utils" }
107+
swc_ecma_utils = { version = "19.0.1", path = "../swc_ecma_utils" }
108108
swc_ecma_visit = { version = "14.0.0", path = "../swc_ecma_visit" }
109109
swc_error_reporters = { version = "16.0.1", path = "../swc_error_reporters" }
110110
swc_node_comments = { version = "14.0.0", path = "../swc_node_comments" }

crates/swc_bundler/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ swc_common = { version = "14.0.2", path = "../swc_common"
4242
swc_ecma_ast = { version = "14.0.0", path = "../swc_ecma_ast" }
4343
swc_ecma_codegen = { version = "16.0.0", path = "../swc_ecma_codegen" }
4444
swc_ecma_loader = { version = "14.0.0", path = "../swc_ecma_loader" }
45-
swc_ecma_parser = { version = "22.0.1", path = "../swc_ecma_parser", default-features = false, features = ["typescript"] }
45+
swc_ecma_parser = { version = "22.0.2", path = "../swc_ecma_parser", default-features = false, features = ["typescript"] }
4646
swc_ecma_transforms_base = { version = "23.0.0", path = "../swc_ecma_transforms_base" }
4747
swc_ecma_transforms_optimization = { version = "24.0.0", path = "../swc_ecma_transforms_optimization" }
48-
swc_ecma_utils = { version = "19.0.0", path = "../swc_ecma_utils" }
48+
swc_ecma_utils = { version = "19.0.1", path = "../swc_ecma_utils" }
4949
swc_ecma_visit = { version = "14.0.0", path = "../swc_ecma_visit" }
5050
swc_graph_analyzer = { version = "14.0.1", path = "../swc_graph_analyzer/" }
5151

@@ -62,7 +62,7 @@ swc_ecma_loader = { version = "14.0.0", path = "../swc_ecma_loader", features =
6262
"node",
6363
"cache",
6464
] }
65-
swc_ecma_minifier = { version = "28.0.1", path = "../swc_ecma_minifier", features = [
65+
swc_ecma_minifier = { version = "28.0.2", path = "../swc_ecma_minifier", features = [
6666
"concurrent",
6767
] }
6868
swc_ecma_transforms_base = { version = "23.0.0", path = "../swc_ecma_transforms_base", features = [

0 commit comments

Comments
 (0)