Skip to content

Commit

Permalink
chore: Publish crates with swc_core v10.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Jan 17, 2025
1 parent f230ff2 commit 477897f
Show file tree
Hide file tree
Showing 25 changed files with 34 additions and 45 deletions.
5 changes: 0 additions & 5 deletions .changeset/calm-pumpkins-explain.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/mean-boxes-design.md

This file was deleted.

12 changes: 6 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@

- **(es/ts_strip)** Handle ASI hazard in return statement ([#9882](https://github.com/swc-project/swc/issues/9882)) ([121b5fe](https://github.com/swc-project/swc/commit/121b5fefbc17932816f69c88edc14f8387c493e9))


- **(typescript)** Collect usages in extend clauses of classes and interfaces ([#9893](https://github.com/swc-project/swc/issues/9893)) ([ef29ef6](https://github.com/swc-project/swc/commit/ef29ef6a225927ccdd3d98751f9a2cfef88ca237))

### Features


Expand All @@ -26,6 +29,9 @@
- **(bench)** Run benchmark on a custom runner ([#9877](https://github.com/swc-project/swc/issues/9877)) ([2d6f9a5](https://github.com/swc-project/swc/commit/2d6f9a5c27803257635b4b008c5d3b0592478e1d))


- **(es/codegen)** Remove needless allocations ([#9890](https://github.com/swc-project/swc/issues/9890)) ([f230ff2](https://github.com/swc-project/swc/commit/f230ff2d8454808ffa99c298448eba7522597219))


- **(es/minifier)** Make the first run of DCE more efficient ([#9868](https://github.com/swc-project/swc/issues/9868)) ([7329824](https://github.com/swc-project/swc/commit/7329824b825663c6c51c48dd5ace097da87e2c88))


Expand Down Expand Up @@ -1554,12 +1560,6 @@



- **(es/parser)** Optimize macros ([#9100](https://github.com/swc-project/swc/issues/9100)) ([719b7c5](https://github.com/swc-project/swc/commit/719b7c54f69ef276270dc39fbcb8bbdbf52899bf))


- **(es/parser)** Remove unnecessary check ([#9102](https://github.com/swc-project/swc/issues/9102)) ([2a490ad](https://github.com/swc-project/swc/commit/2a490ad0b2f9f89260742e653ba9ca086c1a9798))


- **(es/parser)** Add a check before numeric operations ([#9105](https://github.com/swc-project/swc/issues/9105)) ([c0602c8](https://github.com/swc-project/swc/commit/c0602c81db55777be726cd8fe2fd074e34bd4d96))


Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/dbg-swc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ swc_common = { version = "5.0.0", features = [
"tty-emitter",
], path = "../swc_common" }
swc_ecma_ast = { version = "5.0.2", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "5.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "5.1.0", path = "../swc_ecma_codegen" }
swc_ecma_minifier = { version = "7.1.0", path = "../swc_ecma_minifier", features = [
"concurrent",
] }
Expand Down
4 changes: 2 additions & 2 deletions crates/swc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ swc_common = { version = "5.0.0", path = "../swc_common", features = [
swc_compiler_base = { version = "8.0.0", path = "../swc_compiler_base" }
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.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "5.1.0", path = "../swc_ecma_codegen" }
swc_ecma_ext_transforms = { version = "7.0.0", path = "../swc_ecma_ext_transforms" }
swc_ecma_lints = { version = "7.0.0", path = "../swc_ecma_lints" }
swc_ecma_loader = { version = "5.0.0", path = "../swc_ecma_loader", features = [
Expand Down Expand Up @@ -110,7 +110,7 @@ swc_plugin_proxy = { version = "5.0.0", path = "../swc_plugin_proxy", optional =
swc_plugin_runner = { version = "5.1.0", path = "../swc_plugin_runner", optional = true, default-features = false }
swc_timer = { version = "1.0.0", path = "../swc_timer" }
swc_transform_common = { version = "1.0.0", path = "../swc_transform_common" }
swc_typescript = { version = "6.1.0", path = "../swc_typescript" }
swc_typescript = { version = "6.1.1", path = "../swc_typescript" }
swc_visit = { version = "2.0.0", path = "../swc_visit" }

[dependencies.tokio]
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_bundler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ tracing = { workspace = true }
swc_atoms = { version = "3.0.3", path = "../swc_atoms" }
swc_common = { version = "5.0.0", path = "../swc_common" }
swc_ecma_ast = { version = "5.0.2", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "5.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "5.1.0", path = "../swc_ecma_codegen" }
swc_ecma_loader = { version = "5.0.0", path = "../swc_ecma_loader" }
swc_ecma_parser = { version = "6.0.2", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "7.1.0", path = "../swc_ecma_transforms_base" }
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_cli_impl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ tracing-futures = { workspace = true }
tracing-subscriber = { workspace = true, features = ["env-filter"] }
walkdir = { workspace = true }

swc_core = { version = "10.2.5", features = [
swc_core = { version = "10.3.0", features = [
"trace_macro",
"common_concurrent",
"base_concurrent",
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_compiler_base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,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.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "5.1.0", path = "../swc_ecma_codegen" }
swc_ecma_minifier = { version = "7.1.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" }
Expand Down
6 changes: 3 additions & 3 deletions crates/swc_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "swc_core"
repository = { workspace = true }
version = "10.2.5"
version = "10.3.0"
[package.metadata.docs.rs]
features = [
"allocator_node",
Expand Down Expand Up @@ -354,7 +354,7 @@ swc_css_prefixer = { optional = true, version = "5.0.0", path =
swc_css_utils = { optional = true, version = "5.0.0", path = "../swc_css_utils/" }
swc_css_visit = { optional = true, version = "5.0.0", path = "../swc_css_visit" }
swc_ecma_ast = { optional = true, version = "5.0.2", path = "../swc_ecma_ast" }
swc_ecma_codegen = { optional = true, version = "5.0.1", path = "../swc_ecma_codegen" }
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" }
Expand All @@ -380,7 +380,7 @@ swc_plugin_macro = { optional = true, version = "1.0.0", path =
swc_plugin_proxy = { optional = true, version = "5.0.0", path = "../swc_plugin_proxy" }
swc_trace_macro = { optional = true, version = "2.0.0", path = "../swc_trace_macro" }
swc_transform_common = { optional = true, version = "1.0.0", path = "../swc_transform_common" }
swc_typescript = { optional = true, version = "6.1.0", path = "../swc_typescript" }
swc_typescript = { optional = true, version = "6.1.1", path = "../swc_typescript" }
testing = { optional = true, version = "5.0.0", path = "../testing" }
# TODO: eventually swc_plugin_runner needs to remove default features
swc_allocator = { version = "2.0.0", path = "../swc_allocator", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = { workspace = true }
name = "swc_ecma_codegen"
repository = { workspace = true }
version = "5.0.1"
version = "5.1.0"

[features]
# This does not enable serde for ast nodes.
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_lints/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ anyhow = { workspace = true }
codspeed-criterion-compat = { workspace = true }
criterion = { workspace = true }
pretty_assertions = { workspace = true }
swc_ecma_codegen = { version = "5.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "5.1.0", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "6.0.2", path = "../swc_ecma_parser" }
swc_ecma_testing = { version = "5.0.0", path = "../swc_ecma_testing" }
swc_ecma_transforms_base = { version = "7.1.0", path = "../swc_ecma_transforms_base" }
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_minifier/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ swc_config = { version = "1.0.0", path = "../swc_config", features = [
swc_ecma_ast = { version = "5.0.2", path = "../swc_ecma_ast", features = [
"serde",
] }
swc_ecma_codegen = { version = "5.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "5.1.0", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "6.0.2", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "7.1.0", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_optimization = { version = "7.1.0", path = "../swc_ecma_transforms_optimization" }
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_preset_env/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ codspeed-criterion-compat = { workspace = true }
criterion = { workspace = true }
pretty_assertions = { workspace = true }

swc_ecma_codegen = { version = "5.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "5.1.0", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "6.0.2", path = "../swc_ecma_parser" }
testing = { version = "5.0.0", path = "../testing" }

Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_transforms/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pretty_assertions = { workspace = true }
sourcemap = { workspace = true }
tempfile = { workspace = true }

swc_ecma_codegen = { version = "5.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "5.1.0", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "6.0.2", path = "../swc_ecma_parser" }
swc_ecma_transforms_testing = { version = "7.0.1", path = "../swc_ecma_transforms_testing" }
testing = { version = "5.0.0", path = "../testing" }
2 changes: 1 addition & 1 deletion crates/swc_ecma_transforms_base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ codspeed-criterion-compat = { workspace = true }
criterion = { workspace = true }
rayon = { workspace = true }

swc_ecma_codegen = { version = "5.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "5.1.0", path = "../swc_ecma_codegen" }
swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" }
swc_malloc = { version = "1.0.0", path = "../swc_malloc" }
testing = { version = "5.0.0", path = "../testing" }
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_transforms_proposal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ swc_ecma_visit = { version = "5.0.0", path = "../swc_ecma_visit" }
[dev-dependencies]
serde_json = { workspace = true }

swc_ecma_codegen = { version = "5.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "5.1.0", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "6.0.2", path = "../swc_ecma_parser" }
swc_ecma_transforms_compat = { version = "8.0.0", path = "../swc_ecma_transforms_compat" }
swc_ecma_transforms_testing = { version = "7.0.1", path = "../swc_ecma_transforms_testing" }
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_transforms_react/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ swc_ecma_utils = { version = "7.0.2", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "5.0.0", path = "../swc_ecma_visit" }

[dev-dependencies]
swc_ecma_codegen = { version = "5.0.1", path = "../swc_ecma_codegen/" }
swc_ecma_codegen = { version = "5.1.0", path = "../swc_ecma_codegen/" }
swc_ecma_transforms_compat = { version = "8.0.0", path = "../swc_ecma_transforms_compat/" }
swc_ecma_transforms_testing = { version = "7.0.1", path = "../swc_ecma_transforms_testing" }
testing = { version = "5.0.0", path = "../testing" }
2 changes: 1 addition & 1 deletion crates/swc_ecma_transforms_testing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ swc_common = { version = "5.0.0", path = "../swc_common", features = [
"sourcemap",
] }
swc_ecma_ast = { version = "5.0.2", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "5.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "5.1.0", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "6.0.2", path = "../swc_ecma_parser" }
swc_ecma_testing = { version = "5.0.0", path = "../swc_ecma_testing" }
swc_ecma_transforms_base = { version = "7.1.0", path = "../swc_ecma_transforms_base" }
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_transforms_typescript/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ swc_ecma_visit = { version = "5.0.0", path = "../swc_ecma_visit" }
codspeed-criterion-compat = { workspace = true }
criterion = { workspace = true }

swc_ecma_codegen = { version = "5.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "5.1.0", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "6.0.2", path = "../swc_ecma_parser" }
swc_ecma_transforms_compat = { version = "8.0.0", path = "../swc_ecma_transforms_compat" }
swc_ecma_transforms_proposal = { version = "7.0.1", path = "../swc_ecma_transforms_proposal" }
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecmascript/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,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.0.1", path = "../swc_ecma_codegen", optional = true }
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_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 }
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_fast_ts_strip/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ swc_common = { version = "5.0.0", path = "../swc_common", features = [
"sourcemap",
] }
swc_ecma_ast = { version = "5.0.2", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "5.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "5.1.0", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "6.0.2", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "7.1.0", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_typescript = { version = "7.0.0", path = "../swc_ecma_transforms_typescript" }
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_html_minifier/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ swc_css_codegen = { version = "5.0.0", path = "../swc_css_codegen", optional = t
swc_css_minifier = { version = "5.0.0", path = "../swc_css_minifier", optional = true }
swc_css_parser = { version = "5.0.0", path = "../swc_css_parser", optional = true }
swc_ecma_ast = { version = "5.0.2", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "5.0.1", path = "../swc_ecma_codegen", features = [
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 = [
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_node_bundler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ swc_common = { version = "5.0.0", path = "../swc_common", features = [
"concurrent",
] }
swc_ecma_ast = { version = "5.0.2", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "5.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "5.1.0", path = "../swc_ecma_codegen" }
swc_ecma_loader = { version = "5.0.0", path = "../swc_ecma_loader" }
swc_ecma_parser = { version = "6.0.2", path = "../swc_ecma_parser" }
swc_ecma_transforms = { version = "9.0.0", path = "../swc_ecma_transforms" }
Expand Down
4 changes: 2 additions & 2 deletions crates/swc_typescript/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "swc_typescript"
repository = { workspace = true }
version = "6.1.0"
version = "6.1.1"

[dependencies]
petgraph = { workspace = true }
Expand All @@ -21,7 +21,7 @@ swc_ecma_visit = { version = "5.0.0", path = "../swc_ecma_visit" }


[dev-dependencies]
swc_ecma_codegen = { version = "5.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "5.1.0", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "6.0.2", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "7.1.0", path = "../swc_ecma_transforms_base" }
testing = { version = "5.0.0", path = "../testing" }

0 comments on commit 477897f

Please sign in to comment.