Skip to content

Commit

Permalink
chore: Publish crates with swc_core v5.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Nov 11, 2024
1 parent e732a36 commit 9aae07a
Show file tree
Hide file tree
Showing 26 changed files with 36 additions and 40 deletions.
7 changes: 0 additions & 7 deletions .changeset/lemon-zebras-sort.md

This file was deleted.

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

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

### Features



- **(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))

## [1.9.1] - 2024-11-06

### Bug Fixes
Expand Down Expand Up @@ -1444,9 +1450,6 @@

- **(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))


- **(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))

### Performance


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/binding_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ binding_wasm = [

[dependencies]
# Common deps for the SWC imports
swc = { optional = true, version = "5.0.1", path = "../swc" }
swc = { optional = true, version = "5.0.2", path = "../swc" }
swc_common = { optional = true, version = "4.0.0", path = "../swc_common" }
swc_ecma_ast = { optional = true, version = "4.0.1", path = "../swc_ecma_ast" }
swc_ecma_transforms = { optional = true, version = "5.0.0", path = "../swc_ecma_transforms" }
Expand Down
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 = "4.0.0", features = [
"tty-emitter",
], path = "../swc_common" }
swc_ecma_ast = { version = "4.0.1", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
swc_ecma_minifier = { version = "5.0.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 @@ -9,7 +9,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0"
name = "swc"
repository = "https://github.com/swc-project/swc.git"
version = "5.0.1"
version = "5.0.2"

[lib]
bench = false
Expand Down Expand Up @@ -80,7 +80,7 @@ swc_common = { version = "4.0.0", path = "../swc_common", features = [
swc_compiler_base = { version = "5.0.0", path = "../swc_compiler_base" }
swc_config = { version = "1.0.0", path = "../swc_config" }
swc_ecma_ast = { version = "4.0.1", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
swc_ecma_ext_transforms = { version = "5.0.0", path = "../swc_ecma_ext_transforms" }
swc_ecma_lints = { version = "5.0.0", path = "../swc_ecma_lints" }
swc_ecma_loader = { version = "4.0.0", path = "../swc_ecma_loader", features = [
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 = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "4.0.0", path = "../swc_common" }
swc_ecma_ast = { version = "4.0.1", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
swc_ecma_loader = { version = "4.0.0", path = "../swc_ecma_loader" }
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "5.0.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 = "5.0.2", features = [
swc_core = { version = "5.0.3", 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 = "4.0.0", path = "../swc_common", features = [
] }
swc_config = { version = "1.0.0", path = "../swc_config" }
swc_ecma_ast = { version = "4.0.1", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
swc_ecma_minifier = { version = "5.0.0", path = "../swc_ecma_minifier" }
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
swc_ecma_visit = { version = "4.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 = "2021"
license = "Apache-2.0"
name = "swc_core"
repository = "https://github.com/swc-project/swc.git"
version = "5.0.2"
version = "5.0.3"
[package.metadata.docs.rs]
features = [
"allocator_node",
Expand Down Expand Up @@ -339,7 +339,7 @@ once_cell = { workspace = true, optional = true }

# swc_* dependencies
binding_macros = { optional = true, version = "5.0.0", path = "../binding_macros" }
swc = { optional = true, version = "5.0.1", path = "../swc" }
swc = { optional = true, version = "5.0.2", path = "../swc" }
swc_atoms = { optional = true, version = "2.0.0", path = "../swc_atoms" }
swc_bundler = { optional = true, version = "5.0.0", path = "../swc_bundler" }
swc_cached = { optional = true, version = "1.0.0", path = "../swc_cached" }
Expand All @@ -354,7 +354,7 @@ swc_css_prefixer = { optional = true, version = "4.0.0", path =
swc_css_utils = { optional = true, version = "4.0.0", path = "../swc_css_utils/" }
swc_css_visit = { optional = true, version = "4.0.0", path = "../swc_css_visit" }
swc_ecma_ast = { optional = true, version = "4.0.1", path = "../swc_ecma_ast" }
swc_ecma_codegen = { optional = true, version = "4.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { optional = true, version = "4.0.2", path = "../swc_ecma_codegen" }
swc_ecma_lints = { optional = true, version = "5.0.0", path = "../swc_ecma_lints" }
swc_ecma_loader = { optional = true, version = "4.0.0", path = "../swc_ecma_loader" }
swc_ecma_minifier = { optional = true, version = "5.0.0", path = "../swc_ecma_minifier" }
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 = "Apache-2.0"
name = "swc_ecma_codegen"
repository = "https://github.com/swc-project/swc.git"
version = "4.0.1"
version = "4.0.2"

[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 @@ -32,7 +32,7 @@ swc_ecma_utils = { version = "5.0.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "4.0.0", path = "../swc_ecma_visit" }

[dev-dependencies]
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "5.0.0", path = "../swc_ecma_transforms_base" }
testing = { version = "4.0.0", path = "../testing" }
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 = "4.0.1", path = "../swc_ecma_ast", features = [
"serde",
] }
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "5.0.0", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_optimization = { version = "5.0.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 = "4.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
testing = { version = "4.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 = "4.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
swc_ecma_transforms_testing = { version = "5.0.0", path = "../swc_ecma_transforms_testing" }
testing = { version = "4.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 @@ -40,7 +40,7 @@ codspeed-criterion-compat = { workspace = true }
criterion = { workspace = true }
rayon = { workspace = true }

swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "4.0.2", 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 = "4.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 = "4.0.0", path = "../swc_ecma_visit" }
[dev-dependencies]
serde_json = { workspace = true }

swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
swc_ecma_transforms_compat = { version = "5.0.0", path = "../swc_ecma_transforms_compat" }
swc_ecma_transforms_testing = { version = "5.0.0", 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 = "5.0.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "4.0.0", path = "../swc_ecma_visit" }

[dev-dependencies]
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen/" }
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen/" }
swc_ecma_transforms_compat = { version = "5.0.0", path = "../swc_ecma_transforms_compat/" }
swc_ecma_transforms_testing = { version = "5.0.0", path = "../swc_ecma_transforms_testing" }
testing = { version = "4.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 @@ -26,7 +26,7 @@ swc_common = { version = "4.0.0", path = "../swc_common", features = [
"sourcemap",
] }
swc_ecma_ast = { version = "4.0.1", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
swc_ecma_testing = { version = "4.0.0", path = "../swc_ecma_testing" }
swc_ecma_transforms_base = { version = "5.0.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 = "4.0.0", path = "../swc_ecma_visit" }
codspeed-criterion-compat = { workspace = true }
criterion = { workspace = true }

swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
swc_ecma_transforms_compat = { version = "5.0.0", path = "../swc_ecma_transforms_compat" }
swc_ecma_transforms_proposal = { version = "5.0.0", 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 = "4.0.1", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen", optional = true }
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen", optional = true }
swc_ecma_minifier = { version = "5.0.0", path = "../swc_ecma_minifier", optional = true }
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser", optional = true, default-features = false }
swc_ecma_preset_env = { version = "5.0.0", path = "../swc_ecma_preset_env", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_estree_compat/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 }
pretty_assertions = { workspace = true }

swc = { version = "5.0.1", path = "../swc" }
swc = { version = "5.0.2", path = "../swc" }
swc_ecma_ast = { version = "4.0.1", path = "../swc_ecma_ast" }
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
swc_ecma_transforms = { version = "5.0.0", path = "../swc_ecma_transforms/" }
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 = "4.0.0", path = "../swc_common", features = [
"sourcemap",
] }
swc_ecma_ast = { version = "4.0.1", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "5.0.0", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_typescript = { version = "5.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 = "4.0.0", path = "../swc_css_codegen", optional = t
swc_css_minifier = { version = "4.0.0", path = "../swc_css_minifier", optional = true }
swc_css_parser = { version = "4.0.0", path = "../swc_css_parser", optional = true }
swc_ecma_ast = { version = "4.0.1", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen", features = [
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen", features = [
"serde-impl",
] }
swc_ecma_minifier = { version = "5.0.0", path = "../swc_ecma_minifier", features = [
Expand Down
4 changes: 2 additions & 2 deletions crates/swc_node_bundler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ serde_json = { workspace = true }
tracing = { workspace = true }

string_enum = { version = "1.0.0", path = "../string_enum" }
swc = { version = "5.0.1", path = "../swc" }
swc = { version = "5.0.2", path = "../swc" }
swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_bundler = { version = "5.0.0", path = "../swc_bundler", features = [
"concurrent",
Expand All @@ -38,7 +38,7 @@ swc_common = { version = "4.0.0", path = "../swc_common", features = [
"concurrent",
] }
swc_ecma_ast = { version = "4.0.1", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "4.0.1", path = "../swc_ecma_codegen" }
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
swc_ecma_loader = { version = "4.0.0", path = "../swc_ecma_loader" }
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
swc_ecma_transforms = { version = "5.0.0", path = "../swc_ecma_transforms" }
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_typescript/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ swc_ecma_ast = { version = "4.0.1", path = "../swc_ecma_ast" }


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

0 comments on commit 9aae07a

Please sign in to comment.