Skip to content

Commit 9aae07a

Browse files
committed
chore: Publish crates with swc_core v5.0.3
1 parent e732a36 commit 9aae07a

File tree

26 files changed

+36
-40
lines changed

26 files changed

+36
-40
lines changed

.changeset/lemon-zebras-sort.md

-7
This file was deleted.

CHANGELOG.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77

88
- **(es)** Fix typo in feature name ([#9721](https://github.com/swc-project/swc/issues/9721)) ([aff9de5](https://github.com/swc-project/swc/commit/aff9de5ea37d5d34d587b96b8044d08644936524))
99

10+
### Features
11+
12+
13+
14+
- **(es/codegen)** Implement proper `inline_script` support ([#9729](https://github.com/swc-project/swc/issues/9729)) ([e732a36](https://github.com/swc-project/swc/commit/e732a36373f0959a0653dc51a863230a9b3d8982))
15+
1016
## [1.9.1] - 2024-11-06
1117

1218
### Bug Fixes
@@ -1444,9 +1450,6 @@
14441450

14451451
- **(es/minifier)** Fix evaluation of `-0` as a string ([#9011](https://github.com/swc-project/swc/issues/9011)) ([9f8e24a](https://github.com/swc-project/swc/commit/9f8e24a76c00b8f4470aadf22f071a60f409a13d))
14461452

1447-
1448-
- **(es/resolver)** Fix hoisting of `const` and `let` ([#8987](https://github.com/swc-project/swc/issues/8987)) ([0d9ecf3](https://github.com/swc-project/swc/commit/0d9ecf39c1f452be1f2e583f72cebc6986a8088b))
1449-
14501453
### Performance
14511454

14521455

Cargo.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/binding_macros/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ binding_wasm = [
3333

3434
[dependencies]
3535
# Common deps for the SWC imports
36-
swc = { optional = true, version = "5.0.1", path = "../swc" }
36+
swc = { optional = true, version = "5.0.2", path = "../swc" }
3737
swc_common = { optional = true, version = "4.0.0", path = "../swc_common" }
3838
swc_ecma_ast = { optional = true, version = "4.0.1", path = "../swc_ecma_ast" }
3939
swc_ecma_transforms = { optional = true, version = "5.0.0", path = "../swc_ecma_transforms" }

crates/dbg-swc/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ swc_common = { version = "4.0.0", features = [
3232
"tty-emitter",
3333
], path = "../swc_common" }
3434
swc_ecma_ast = { version = "4.0.1", path = "../swc_ecma_ast" }
35-
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
35+
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
3636
swc_ecma_minifier = { version = "5.0.0", path = "../swc_ecma_minifier", features = [
3737
"concurrent",
3838
] }

crates/swc/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
99
license = "Apache-2.0"
1010
name = "swc"
1111
repository = "https://github.com/swc-project/swc.git"
12-
version = "5.0.1"
12+
version = "5.0.2"
1313

1414
[lib]
1515
bench = false
@@ -80,7 +80,7 @@ swc_common = { version = "4.0.0", path = "../swc_common", features = [
8080
swc_compiler_base = { version = "5.0.0", path = "../swc_compiler_base" }
8181
swc_config = { version = "1.0.0", path = "../swc_config" }
8282
swc_ecma_ast = { version = "4.0.1", path = "../swc_ecma_ast" }
83-
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
83+
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
8484
swc_ecma_ext_transforms = { version = "5.0.0", path = "../swc_ecma_ext_transforms" }
8585
swc_ecma_lints = { version = "5.0.0", path = "../swc_ecma_lints" }
8686
swc_ecma_loader = { version = "4.0.0", path = "../swc_ecma_loader", features = [

crates/swc_bundler/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ tracing = { workspace = true }
4040
swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
4141
swc_common = { version = "4.0.0", path = "../swc_common" }
4242
swc_ecma_ast = { version = "4.0.1", path = "../swc_ecma_ast" }
43-
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
43+
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
4444
swc_ecma_loader = { version = "4.0.0", path = "../swc_ecma_loader" }
4545
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
4646
swc_ecma_transforms_base = { version = "5.0.0", path = "../swc_ecma_transforms_base" }

crates/swc_cli_impl/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ tracing-futures = { workspace = true }
3939
tracing-subscriber = { workspace = true, features = ["env-filter"] }
4040
walkdir = { workspace = true }
4141

42-
swc_core = { version = "5.0.2", features = [
42+
swc_core = { version = "5.0.3", features = [
4343
"trace_macro",
4444
"common_concurrent",
4545
"base_concurrent",

crates/swc_compiler_base/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ swc_common = { version = "4.0.0", path = "../swc_common", features = [
2929
] }
3030
swc_config = { version = "1.0.0", path = "../swc_config" }
3131
swc_ecma_ast = { version = "4.0.1", path = "../swc_ecma_ast" }
32-
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
32+
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
3333
swc_ecma_minifier = { version = "5.0.0", path = "../swc_ecma_minifier" }
3434
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
3535
swc_ecma_visit = { version = "4.0.0", path = "../swc_ecma_visit" }

crates/swc_core/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2021"
66
license = "Apache-2.0"
77
name = "swc_core"
88
repository = "https://github.com/swc-project/swc.git"
9-
version = "5.0.2"
9+
version = "5.0.3"
1010
[package.metadata.docs.rs]
1111
features = [
1212
"allocator_node",
@@ -339,7 +339,7 @@ once_cell = { workspace = true, optional = true }
339339

340340
# swc_* dependencies
341341
binding_macros = { optional = true, version = "5.0.0", path = "../binding_macros" }
342-
swc = { optional = true, version = "5.0.1", path = "../swc" }
342+
swc = { optional = true, version = "5.0.2", path = "../swc" }
343343
swc_atoms = { optional = true, version = "2.0.0", path = "../swc_atoms" }
344344
swc_bundler = { optional = true, version = "5.0.0", path = "../swc_bundler" }
345345
swc_cached = { optional = true, version = "1.0.0", path = "../swc_cached" }
@@ -354,7 +354,7 @@ swc_css_prefixer = { optional = true, version = "4.0.0", path =
354354
swc_css_utils = { optional = true, version = "4.0.0", path = "../swc_css_utils/" }
355355
swc_css_visit = { optional = true, version = "4.0.0", path = "../swc_css_visit" }
356356
swc_ecma_ast = { optional = true, version = "4.0.1", path = "../swc_ecma_ast" }
357-
swc_ecma_codegen = { optional = true, version = "4.0.1", path = "../swc_ecma_codegen" }
357+
swc_ecma_codegen = { optional = true, version = "4.0.2", path = "../swc_ecma_codegen" }
358358
swc_ecma_lints = { optional = true, version = "5.0.0", path = "../swc_ecma_lints" }
359359
swc_ecma_loader = { optional = true, version = "4.0.0", path = "../swc_ecma_loader" }
360360
swc_ecma_minifier = { optional = true, version = "5.0.0", path = "../swc_ecma_minifier" }

crates/swc_ecma_codegen/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
77
license = "Apache-2.0"
88
name = "swc_ecma_codegen"
99
repository = "https://github.com/swc-project/swc.git"
10-
version = "4.0.1"
10+
version = "4.0.2"
1111

1212
[features]
1313
# This does not enable serde for ast nodes.

crates/swc_ecma_lints/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ swc_ecma_utils = { version = "5.0.0", path = "../swc_ecma_utils" }
3232
swc_ecma_visit = { version = "4.0.0", path = "../swc_ecma_visit" }
3333

3434
[dev-dependencies]
35-
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
35+
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
3636
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
3737
swc_ecma_transforms_base = { version = "5.0.0", path = "../swc_ecma_transforms_base" }
3838
testing = { version = "4.0.0", path = "../testing" }

crates/swc_ecma_minifier/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ swc_config = { version = "1.0.0", path = "../swc_config", features = [
6161
swc_ecma_ast = { version = "4.0.1", path = "../swc_ecma_ast", features = [
6262
"serde",
6363
] }
64-
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
64+
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
6565
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
6666
swc_ecma_transforms_base = { version = "5.0.0", path = "../swc_ecma_transforms_base" }
6767
swc_ecma_transforms_optimization = { version = "5.0.0", path = "../swc_ecma_transforms_optimization" }

crates/swc_ecma_preset_env/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ codspeed-criterion-compat = { workspace = true }
4444
criterion = { workspace = true }
4545
pretty_assertions = { workspace = true }
4646

47-
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
47+
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
4848
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
4949
testing = { version = "4.0.0", path = "../testing" }
5050

crates/swc_ecma_transforms/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pretty_assertions = { workspace = true }
5050
sourcemap = { workspace = true }
5151
tempfile = { workspace = true }
5252

53-
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
53+
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
5454
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
5555
swc_ecma_transforms_testing = { version = "5.0.0", path = "../swc_ecma_transforms_testing" }
5656
testing = { version = "4.0.0", path = "../testing" }

crates/swc_ecma_transforms_base/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ codspeed-criterion-compat = { workspace = true }
4040
criterion = { workspace = true }
4141
rayon = { workspace = true }
4242

43-
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
43+
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
4444
swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" }
4545
swc_malloc = { version = "1.0.0", path = "../swc_malloc" }
4646
testing = { version = "4.0.0", path = "../testing" }

crates/swc_ecma_transforms_proposal/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ swc_ecma_visit = { version = "4.0.0", path = "../swc_ecma_visit" }
3535
[dev-dependencies]
3636
serde_json = { workspace = true }
3737

38-
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
38+
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
3939
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
4040
swc_ecma_transforms_compat = { version = "5.0.0", path = "../swc_ecma_transforms_compat" }
4141
swc_ecma_transforms_testing = { version = "5.0.0", path = "../swc_ecma_transforms_testing" }

crates/swc_ecma_transforms_react/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ swc_ecma_utils = { version = "5.0.0", path = "../swc_ecma_utils" }
3939
swc_ecma_visit = { version = "4.0.0", path = "../swc_ecma_visit" }
4040

4141
[dev-dependencies]
42-
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen/" }
42+
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen/" }
4343
swc_ecma_transforms_compat = { version = "5.0.0", path = "../swc_ecma_transforms_compat/" }
4444
swc_ecma_transforms_testing = { version = "5.0.0", path = "../swc_ecma_transforms_testing" }
4545
testing = { version = "4.0.0", path = "../testing" }

crates/swc_ecma_transforms_testing/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ swc_common = { version = "4.0.0", path = "../swc_common", features = [
2626
"sourcemap",
2727
] }
2828
swc_ecma_ast = { version = "4.0.1", path = "../swc_ecma_ast" }
29-
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
29+
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
3030
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
3131
swc_ecma_testing = { version = "4.0.0", path = "../swc_ecma_testing" }
3232
swc_ecma_transforms_base = { version = "5.0.0", path = "../swc_ecma_transforms_base" }

crates/swc_ecma_transforms_typescript/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ swc_ecma_visit = { version = "4.0.0", path = "../swc_ecma_visit" }
2828
codspeed-criterion-compat = { workspace = true }
2929
criterion = { workspace = true }
3030

31-
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
31+
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
3232
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
3333
swc_ecma_transforms_compat = { version = "5.0.0", path = "../swc_ecma_transforms_compat" }
3434
swc_ecma_transforms_proposal = { version = "5.0.0", path = "../swc_ecma_transforms_proposal" }

crates/swc_ecmascript/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ typescript = ["typescript-parser", "swc_ecma_transforms/typescript"]
3939

4040
[dependencies]
4141
swc_ecma_ast = { version = "4.0.1", path = "../swc_ecma_ast" }
42-
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen", optional = true }
42+
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen", optional = true }
4343
swc_ecma_minifier = { version = "5.0.0", path = "../swc_ecma_minifier", optional = true }
4444
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser", optional = true, default-features = false }
4545
swc_ecma_preset_env = { version = "5.0.0", path = "../swc_ecma_preset_env", optional = true }

crates/swc_estree_compat/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ codspeed-criterion-compat = { workspace = true }
4141
criterion = { workspace = true }
4242
pretty_assertions = { workspace = true }
4343

44-
swc = { version = "5.0.1", path = "../swc" }
44+
swc = { version = "5.0.2", path = "../swc" }
4545
swc_ecma_ast = { version = "4.0.1", path = "../swc_ecma_ast" }
4646
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
4747
swc_ecma_transforms = { version = "5.0.0", path = "../swc_ecma_transforms/" }

crates/swc_fast_ts_strip/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ swc_common = { version = "4.0.0", path = "../swc_common", features = [
2121
"sourcemap",
2222
] }
2323
swc_ecma_ast = { version = "4.0.1", path = "../swc_ecma_ast" }
24-
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
24+
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
2525
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
2626
swc_ecma_transforms_base = { version = "5.0.0", path = "../swc_ecma_transforms_base" }
2727
swc_ecma_transforms_typescript = { version = "5.0.0", path = "../swc_ecma_transforms_typescript" }

crates/swc_html_minifier/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ swc_css_codegen = { version = "4.0.0", path = "../swc_css_codegen", optional = t
3333
swc_css_minifier = { version = "4.0.0", path = "../swc_css_minifier", optional = true }
3434
swc_css_parser = { version = "4.0.0", path = "../swc_css_parser", optional = true }
3535
swc_ecma_ast = { version = "4.0.1", path = "../swc_ecma_ast" }
36-
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen", features = [
36+
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen", features = [
3737
"serde-impl",
3838
] }
3939
swc_ecma_minifier = { version = "5.0.0", path = "../swc_ecma_minifier", features = [

crates/swc_node_bundler/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ serde_json = { workspace = true }
2929
tracing = { workspace = true }
3030

3131
string_enum = { version = "1.0.0", path = "../string_enum" }
32-
swc = { version = "5.0.1", path = "../swc" }
32+
swc = { version = "5.0.2", path = "../swc" }
3333
swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
3434
swc_bundler = { version = "5.0.0", path = "../swc_bundler", features = [
3535
"concurrent",
@@ -38,7 +38,7 @@ swc_common = { version = "4.0.0", path = "../swc_common", features = [
3838
"concurrent",
3939
] }
4040
swc_ecma_ast = { version = "4.0.1", path = "../swc_ecma_ast" }
41-
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
41+
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
4242
swc_ecma_loader = { version = "4.0.0", path = "../swc_ecma_loader" }
4343
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
4444
swc_ecma_transforms = { version = "5.0.0", path = "../swc_ecma_transforms" }

crates/swc_typescript/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ swc_ecma_ast = { version = "4.0.1", path = "../swc_ecma_ast" }
1717

1818

1919
[dev-dependencies]
20-
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
20+
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
2121
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
2222
testing = { version = "4.0.0", path = "../testing" }

0 commit comments

Comments
 (0)