chore: Publish crates with swc_core v0.106.4

This commit is contained in:
강동윤 (Donny) 2024-10-02 15:25:00 +09:00
parent 4ee45ac1fd
commit 253d7f472a
28 changed files with 57 additions and 61 deletions

View File

@ -1,6 +0,0 @@
---
swc_core: patch
swc_ecma_codegen: patch
---
perf(es/codegen): Reduce usage of `tracing::instrument`

View File

@ -1,6 +0,0 @@
---
swc_core: patch
swc_ecma_transforms_module: patch
---
fix(es/modules): Allow TypeScript nodes for `Rewriter`

View File

@ -1,6 +0,0 @@
---
swc_ecma_transforms_typescript: patch
swc_core: patch
---
perf(es/typescript): Reduce unnecessary visits

View File

@ -1,4 +1,24 @@
# Changelog
## [unreleased]
### Bug Fixes
- **(es/module)** Allow TypeScript nodes for `Rewriter` ([#9606](https://github.com/swc-project/swc/issues/9606)) ([4ee45ac](https://github.com/swc-project/swc/commit/4ee45ac1fd10da1ea982a152a458deb9f5359998))
### Performance
- **(es/codegen)** Reduce usage of `tracing::instrument` ([#9604](https://github.com/swc-project/swc/issues/9604)) ([2f06fc5](https://github.com/swc-project/swc/commit/2f06fc559c8e200ea89133b8b30045f970ffc20b))
- **(es/transforms)** Copy benchmarks from `oxc` ([#9602](https://github.com/swc-project/swc/issues/9602)) ([24c3a0c](https://github.com/swc-project/swc/commit/24c3a0ce138bacbf12b4660862ccfe9e3d19bdd9))
- **(es/typescript)** Reduce unnecessary visits ([#9605](https://github.com/swc-project/swc/issues/9605)) ([866af6c](https://github.com/swc-project/swc/commit/866af6c9478b92cd6be780c515ddd51d2db90ac3))
## [1.7.29] - 2024-10-01
### Bug Fixes
@ -1301,12 +1321,6 @@
- **(css/modules)** Fix `:global` selectors without preceding whitespace ([#8926](https://github.com/swc-project/swc/issues/8926)) ([2405dc6](https://github.com/swc-project/swc/commit/2405dc6ba0aa227df81fda3db303fc6f523972db))
- **(es/fixer)** Wrap class expressions in callee ([#8928](https://github.com/swc-project/swc/issues/8928)) ([6b60bdb](https://github.com/swc-project/swc/commit/6b60bdb69713f7ccf603db04696621985d200d28))
- **(es/minifier)** Respect `module: false` ([#8925](https://github.com/swc-project/swc/issues/8925)) ([aca6a77](https://github.com/swc-project/swc/commit/aca6a77903e31099f473587eb9285ae1c4dee309))
- **(es/minifier)** Consider side effects of operands of binary expressions ([#8929](https://github.com/swc-project/swc/issues/8929)) ([4d4a7a9](https://github.com/swc-project/swc/commit/4d4a7a9bcb39228973c0da2991310b5107feb319))

8
Cargo.lock generated
View File

@ -4115,7 +4115,7 @@ dependencies = [
[[package]]
name = "swc_core"
version = "0.106.3"
version = "0.106.4"
dependencies = [
"anyhow",
"binding_macros",
@ -4377,7 +4377,7 @@ dependencies = [
[[package]]
name = "swc_ecma_codegen"
version = "0.158.0"
version = "0.158.1"
dependencies = [
"base64 0.21.7",
"codspeed-criterion-compat",
@ -4909,7 +4909,7 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_module"
version = "0.194.0"
version = "0.194.1"
dependencies = [
"Inflector",
"anyhow",
@ -5046,7 +5046,7 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_typescript"
version = "0.202.0"
version = "0.202.1"
dependencies = [
"codspeed-criterion-compat",
"criterion",

View File

@ -32,7 +32,7 @@ swc_common = { version = "0.40.1", features = [
"tty-emitter",
], path = "../swc_common" }
swc_ecma_ast = { version = "0.121.1", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" }
swc_ecma_minifier = { version = "0.208.1", path = "../swc_ecma_minifier", features = [
"concurrent",
] }

View File

@ -77,7 +77,7 @@ swc_common = { version = "0.40.1", path = "../swc_common", features = [
swc_compiler_base = { version = "0.23.0", path = "../swc_compiler_base" }
swc_config = { version = "0.1.13", path = "../swc_config" }
swc_ecma_ast = { version = "0.121.1", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" }
swc_ecma_ext_transforms = { version = "0.123.0", path = "../swc_ecma_ext_transforms" }
swc_ecma_lints = { version = "0.104.1", path = "../swc_ecma_lints" }
swc_ecma_loader = { version = "0.52.1", path = "../swc_ecma_loader", features = [

View File

@ -40,7 +40,7 @@ tracing = { workspace = true }
swc_atoms = { version = "1.0.0", path = "../swc_atoms" }
swc_common = { version = "0.40.1", path = "../swc_common" }
swc_ecma_ast = { version = "0.121.1", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" }
swc_ecma_loader = { version = "0.52.1", path = "../swc_ecma_loader" }
swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "0.149.0", path = "../swc_ecma_transforms_base" }
@ -68,6 +68,6 @@ swc_ecma_minifier = { version = "0.208.1", path = "../swc_ecma_minifier", featur
] }
swc_ecma_transforms_proposal = { version = "0.183.0", path = "../swc_ecma_transforms_proposal" }
swc_ecma_transforms_react = { version = "0.195.0", path = "../swc_ecma_transforms_react" }
swc_ecma_transforms_typescript = { version = "0.202.0", path = "../swc_ecma_transforms_typescript" }
swc_ecma_transforms_typescript = { version = "0.202.1", path = "../swc_ecma_transforms_typescript" }
swc_malloc = { version = "0.5.10", path = "../swc_malloc" }
testing = { version = "0.42.0", path = "../testing" }

View File

@ -39,7 +39,7 @@ tracing-futures = { workspace = true }
tracing-subscriber = { workspace = true, features = ["env-filter"] }
walkdir = { workspace = true }
swc_core = { version = "0.106.3", features = [
swc_core = { version = "0.106.4", features = [
"trace_macro",
"common_concurrent",
"base_concurrent",

View File

@ -29,7 +29,7 @@ swc_common = { version = "0.40.1", path = "../swc_common", features = [
] }
swc_config = { version = "0.1.13", path = "../swc_config" }
swc_ecma_ast = { version = "0.121.1", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" }
swc_ecma_minifier = { version = "0.208.1", path = "../swc_ecma_minifier" }
swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser" }
swc_ecma_visit = { version = "0.107.0", path = "../swc_ecma_visit" }

View File

@ -6,7 +6,7 @@ edition = "2021"
license = "Apache-2.0"
name = "swc_core"
repository = "https://github.com/swc-project/swc.git"
version = "0.106.3"
version = "0.106.4"
[package.metadata.docs.rs]
features = [
"allocator_node",
@ -354,7 +354,7 @@ swc_css_prefixer = { optional = true, version = "0.161.0", path
swc_css_utils = { optional = true, version = "0.144.0", path = "../swc_css_utils/" }
swc_css_visit = { optional = true, version = "0.146.0", path = "../swc_css_visit" }
swc_ecma_ast = { optional = true, version = "0.121.1", path = "../swc_ecma_ast" }
swc_ecma_codegen = { optional = true, version = "0.158.0", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { optional = true, version = "0.158.1", path = "../swc_ecma_codegen" }
swc_ecma_lints = { optional = true, version = "0.104.1", path = "../swc_ecma_lints" }
swc_ecma_loader = { optional = true, version = "0.52.1", path = "../swc_ecma_loader" }
swc_ecma_minifier = { optional = true, version = "0.208.1", path = "../swc_ecma_minifier" }
@ -363,12 +363,12 @@ swc_ecma_preset_env = { optional = true, version = "0.221.0", path
swc_ecma_quote_macros = { optional = true, version = "0.63.0", path = "../swc_ecma_quote_macros" }
swc_ecma_transforms_base = { optional = true, version = "0.149.0", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_compat = { optional = true, version = "0.175.0", path = "../swc_ecma_transforms_compat" }
swc_ecma_transforms_module = { optional = true, version = "0.194.0", path = "../swc_ecma_transforms_module" }
swc_ecma_transforms_module = { optional = true, version = "0.194.1", path = "../swc_ecma_transforms_module" }
swc_ecma_transforms_optimization = { optional = true, version = "0.212.1", path = "../swc_ecma_transforms_optimization" }
swc_ecma_transforms_proposal = { optional = true, version = "0.183.0", path = "../swc_ecma_transforms_proposal" }
swc_ecma_transforms_react = { optional = true, version = "0.195.0", path = "../swc_ecma_transforms_react" }
swc_ecma_transforms_testing = { optional = true, version = "0.152.0", path = "../swc_ecma_transforms_testing" }
swc_ecma_transforms_typescript = { optional = true, version = "0.202.0", path = "../swc_ecma_transforms_typescript" }
swc_ecma_transforms_typescript = { optional = true, version = "0.202.1", path = "../swc_ecma_transforms_typescript" }
swc_ecma_usage_analyzer = { optional = true, version = "0.33.0", path = "../swc_ecma_usage_analyzer" }
swc_ecma_utils = { optional = true, version = "0.137.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { optional = true, version = "0.107.0", path = "../swc_ecma_visit" }

View File

@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0"
name = "swc_ecma_codegen"
repository = "https://github.com/swc-project/swc.git"
version = "0.158.0"
version = "0.158.1"
[features]
# This does not enable serde for ast nodes.

View File

@ -32,7 +32,7 @@ swc_ecma_utils = { version = "0.137.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.107.0", path = "../swc_ecma_visit" }
[dev-dependencies]
swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "0.149.0", path = "../swc_ecma_transforms_base" }
testing = { version = "0.42.0", path = "../testing" }

View File

@ -61,7 +61,7 @@ swc_config = { version = "0.1.13", path = "../swc_config", features = [
swc_ecma_ast = { version = "0.121.1", path = "../swc_ecma_ast", features = [
"serde",
] }
swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "0.149.0", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_optimization = { version = "0.212.1", path = "../swc_ecma_transforms_optimization" }

View File

@ -44,7 +44,7 @@ codspeed-criterion-compat = { workspace = true }
criterion = { workspace = true }
pretty_assertions = { workspace = true }
swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser" }
testing = { version = "0.42.0", path = "../testing" }

View File

@ -36,11 +36,11 @@ swc_common = { version = "0.40.1", path = "../swc_common"
swc_ecma_ast = { version = "0.121.1", path = "../swc_ecma_ast" }
swc_ecma_transforms_base = { version = "0.149.0", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_compat = { version = "0.175.0", path = "../swc_ecma_transforms_compat", optional = true }
swc_ecma_transforms_module = { version = "0.194.0", path = "../swc_ecma_transforms_module", optional = true }
swc_ecma_transforms_module = { version = "0.194.1", path = "../swc_ecma_transforms_module", optional = true }
swc_ecma_transforms_optimization = { version = "0.212.1", path = "../swc_ecma_transforms_optimization", optional = true }
swc_ecma_transforms_proposal = { version = "0.183.0", path = "../swc_ecma_transforms_proposal", optional = true }
swc_ecma_transforms_react = { version = "0.195.0", path = "../swc_ecma_transforms_react", optional = true }
swc_ecma_transforms_typescript = { version = "0.202.0", path = "../swc_ecma_transforms_typescript", optional = true }
swc_ecma_transforms_typescript = { version = "0.202.1", path = "../swc_ecma_transforms_typescript", optional = true }
swc_ecma_utils = { version = "0.137.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.107.0", path = "../swc_ecma_visit" }
@ -49,7 +49,7 @@ pretty_assertions = { workspace = true }
sourcemap = { workspace = true }
tempfile = { workspace = true }
swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser" }
swc_ecma_transforms_testing = { version = "0.152.0", path = "../swc_ecma_transforms_testing" }
testing = { version = "0.42.0", path = "../testing" }

View File

@ -40,7 +40,7 @@ codspeed-criterion-compat = { workspace = true }
criterion = { workspace = true }
rayon = { workspace = true }
swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" }
swc_ecma_transforms_macros = { version = "0.5.5", path = "../swc_ecma_transforms_macros" }
swc_malloc = { version = "0.5.10", path = "../swc_malloc" }
testing = { version = "0.42.0", path = "../testing" }

View File

@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0"
name = "swc_ecma_transforms_module"
repository = "https://github.com/swc-project/swc.git"
version = "0.194.0"
version = "0.194.1"
[lib]
bench = false
@ -46,5 +46,5 @@ swc_ecma_loader = { version = "0.52.1", path = "../swc_ecma_loader", features =
] }
swc_ecma_transforms_compat = { version = "0.175.0", path = "../swc_ecma_transforms_compat" }
swc_ecma_transforms_testing = { version = "0.152.0", path = "../swc_ecma_transforms_testing" }
swc_ecma_transforms_typescript = { version = "0.202.0", path = "../swc_ecma_transforms_typescript" }
swc_ecma_transforms_typescript = { version = "0.202.1", path = "../swc_ecma_transforms_typescript" }
testing = { version = "0.42.0", path = "../testing/" }

View File

@ -43,9 +43,9 @@ swc_fast_graph = { version = "1.0.0", path = "../swc_fast_graph" }
[dev-dependencies]
swc_ecma_transforms_compat = { version = "0.175.0", path = "../swc_ecma_transforms_compat" }
swc_ecma_transforms_module = { version = "0.194.0", path = "../swc_ecma_transforms_module" }
swc_ecma_transforms_module = { version = "0.194.1", path = "../swc_ecma_transforms_module" }
swc_ecma_transforms_proposal = { version = "0.183.0", path = "../swc_ecma_transforms_proposal" }
swc_ecma_transforms_react = { version = "0.195.0", path = "../swc_ecma_transforms_react" }
swc_ecma_transforms_testing = { version = "0.152.0", path = "../swc_ecma_transforms_testing" }
swc_ecma_transforms_typescript = { version = "0.202.0", path = "../swc_ecma_transforms_typescript" }
swc_ecma_transforms_typescript = { version = "0.202.1", path = "../swc_ecma_transforms_typescript" }
testing = { version = "0.42.0", path = "../testing" }

View File

@ -35,7 +35,7 @@ swc_ecma_visit = { version = "0.107.0", path = "../swc_ecma_visit"
[dev-dependencies]
serde_json = { workspace = true }
swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser" }
swc_ecma_transforms_compat = { version = "0.175.0", path = "../swc_ecma_transforms_compat" }
swc_ecma_transforms_testing = { version = "0.152.0", path = "../swc_ecma_transforms_testing" }

View File

@ -39,7 +39,7 @@ swc_ecma_utils = { version = "0.137.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.107.0", path = "../swc_ecma_visit" }
[dev-dependencies]
swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen/" }
swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen/" }
swc_ecma_transforms_compat = { version = "0.175.0", path = "../swc_ecma_transforms_compat/" }
swc_ecma_transforms_testing = { version = "0.152.0", path = "../swc_ecma_transforms_testing" }
testing = { version = "0.42.0", path = "../testing" }

View File

@ -26,7 +26,7 @@ swc_common = { version = "0.40.1", path = "../swc_common", features = [
"sourcemap",
] }
swc_ecma_ast = { version = "0.121.1", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser" }
swc_ecma_testing = { version = "0.29.0", path = "../swc_ecma_testing" }
swc_ecma_transforms_base = { version = "0.149.0", path = "../swc_ecma_transforms_base" }

View File

@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0"
name = "swc_ecma_transforms_typescript"
repository = "https://github.com/swc-project/swc.git"
version = "0.202.0"
version = "0.202.1"
[lib]
bench = false
@ -28,7 +28,7 @@ swc_ecma_visit = { version = "0.107.0", path = "../swc_ecma_visit" }
codspeed-criterion-compat = { workspace = true }
criterion = { workspace = true }
swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser" }
swc_ecma_transforms_compat = { version = "0.175.0", path = "../swc_ecma_transforms_compat" }
swc_ecma_transforms_proposal = { version = "0.183.0", path = "../swc_ecma_transforms_proposal" }

View File

@ -39,7 +39,7 @@ typescript = ["typescript-parser", "swc_ecma_transforms/typescript"]
[dependencies]
swc_ecma_ast = { version = "0.121.1", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen", optional = true }
swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen", optional = true }
swc_ecma_minifier = { version = "0.208.1", path = "../swc_ecma_minifier", optional = true }
swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser", optional = true, default-features = false }
swc_ecma_preset_env = { version = "0.221.0", path = "../swc_ecma_preset_env", optional = true }

View File

@ -21,10 +21,10 @@ swc_common = { version = "0.40.1", path = "../swc_common", features = [
"sourcemap",
] }
swc_ecma_ast = { version = "0.121.1", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "0.149.0", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_typescript = { version = "0.202.0", path = "../swc_ecma_transforms_typescript" }
swc_ecma_transforms_typescript = { version = "0.202.1", path = "../swc_ecma_transforms_typescript" }
swc_ecma_visit = { version = "0.107.0", path = "../swc_ecma_visit" }
[dev-dependencies]

View File

@ -33,7 +33,7 @@ swc_css_codegen = { version = "0.158.0", path = "../swc_css_codegen", optional =
swc_css_minifier = { version = "0.123.0", path = "../swc_css_minifier", optional = true }
swc_css_parser = { version = "0.157.0", path = "../swc_css_parser", optional = true }
swc_ecma_ast = { version = "0.121.1", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen", features = [
swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen", features = [
"serde-impl",
] }
swc_ecma_minifier = { version = "0.208.1", path = "../swc_ecma_minifier", features = [

View File

@ -38,7 +38,7 @@ swc_common = { version = "0.40.1", path = "../swc_common", features = [
"concurrent",
] }
swc_ecma_ast = { version = "0.121.1", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" }
swc_ecma_loader = { version = "0.52.1", path = "../swc_ecma_loader" }
swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser" }
swc_ecma_transforms = { version = "0.243.0", path = "../swc_ecma_transforms" }

View File

@ -17,6 +17,6 @@ swc_ecma_ast = { version = "0.121.1", path = "../swc_ecma_ast" }
[dev-dependencies]
swc_ecma_codegen = { version = "0.158.0", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "0.158.1", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "0.152.1", path = "../swc_ecma_parser" }
testing = { version = "0.42.0", path = "../testing" }