Skip to content

Commit

Permalink
chore: Publish crates with swc_core v13.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Feb 6, 2025
1 parent 6849b6a commit a1b6682
Show file tree
Hide file tree
Showing 84 changed files with 298 additions and 309 deletions.
7 changes: 0 additions & 7 deletions .changeset/proud-adults-roll.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/proud-pens-exercise.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/strange-crabs-argue.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/violet-apes-enjoy.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/young-boats-remain.md

This file was deleted.

24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,27 @@
- **(es/fixer)** Wrap object tagged templates ([#9991](https://github.com/swc-project/swc/issues/9991)) ([963c3a5](https://github.com/swc-project/swc/commit/963c3a58c8ec05a381b61724ee9930093cf65b8f))


- **(es/minifier)** Dont't optimize swtich case before DCE ([#9994](https://github.com/swc-project/swc/issues/9994)) ([afe21b5](https://github.com/swc-project/swc/commit/afe21b5e71edb8cee5ba4335a193fb8a309bb43b))


- **(es/minifier)** Revert #10006 ([#10007](https://github.com/swc-project/swc/issues/10007)) ([7e21323](https://github.com/swc-project/swc/commit/7e21323b3bedc0552634da5d6c34f33fb2c5bad6))


- **(es/parser, es/codegen)** Handle trailing empty slots in array patterns ([#9992](https://github.com/swc-project/swc/issues/9992)) ([1a87e76](https://github.com/swc-project/swc/commit/1a87e76e95566eb998bf81bde1e77dc14eb42fda))


- **(es/react)** Avoid adding `__self` in constructors of derived class in the `jsx_self` ([#9987](https://github.com/swc-project/swc/issues/9987)) ([83f24af](https://github.com/swc-project/swc/commit/83f24afad9114801c897d04bfa7a1525c92686c1))

### Features



- **(es/ast)** Add `ShrinkToFit` implementation ([#10009](https://github.com/swc-project/swc/issues/10009)) ([6849b6a](https://github.com/swc-project/swc/commit/6849b6aba764b06674783f6c0a7d2f26350ea5fe))


- **(es/helpers)** Update package exports for module-sync and webpack compatibility ([#9995](https://github.com/swc-project/swc/issues/9995)) ([6f4e7ad](https://github.com/swc-project/swc/commit/6f4e7adce4b476ee33ea8a9a1aa333cbf80c85cc))


- **(fast-ts)** Support Uint8Array Input ([#9879](https://github.com/swc-project/swc/issues/9879)) ([61ae579](https://github.com/swc-project/swc/commit/61ae579a1c7c588244317320da42a03541a7f801))

### Performance
Expand All @@ -22,6 +37,15 @@

- **(es/codegen)** Remove needless allocations ([#9978](https://github.com/swc-project/swc/issues/9978)) ([9c89d57](https://github.com/swc-project/swc/commit/9c89d57cf9f3cd409e003f7b667afc9c87916359))


- **(es/minifier)** Do not clone from `take_ident_of_pat_if_unused` ([#10005](https://github.com/swc-project/swc/issues/10005)) ([dc3b46e](https://github.com/swc-project/swc/commit/dc3b46eff9befa898a777308d8588b1ff37e577a))


- **(es/minifier)** Allocate in once from `mark_property_mutation` ([#10004](https://github.com/swc-project/swc/issues/10004)) ([4a90e51](https://github.com/swc-project/swc/commit/4a90e5197d337ba1d0851908053d0ad13b17f907))


- **(es/minifier)** Limit infection analysis by the entry size ([#10006](https://github.com/swc-project/swc/issues/10006)) ([1a3a4b9](https://github.com/swc-project/swc/commit/1a3a4b936cca1db646a40c0813a7a1275832b604))

## [1.10.14] - 2025-02-03

### Bug Fixes
Expand Down
16 changes: 8 additions & 8 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions crates/binding_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ binding_wasm = [
[dependencies]
# Common deps for the SWC imports
swc = { optional = true, version = "13.0.1", path = "../swc" }
swc_common = { optional = true, version = "6.0.0", path = "../swc_common" }
swc_ecma_ast = { optional = true, version = "6.0.0", path = "../swc_ecma_ast" }
swc_common = { optional = true, version = "6.1.0", path = "../swc_common" }
swc_ecma_ast = { optional = true, version = "6.1.0", path = "../swc_ecma_ast" }
swc_ecma_transforms = { optional = true, version = "11.0.0", path = "../swc_ecma_transforms" }
swc_ecma_visit = { optional = true, version = "6.0.0", path = "../swc_ecma_visit" }

Expand Down
12 changes: 6 additions & 6 deletions crates/dbg-swc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ url = { workspace = true }
clap = { version = "3", features = ["derive"] }
tracing-subscriber = { workspace = true, features = ["fmt", "env-filter"] }

swc_atoms = { version = "3.0.5", path = "../swc_atoms" }
swc_common = { version = "6.0.0", features = [
swc_atoms = { version = "3.1.0", path = "../swc_atoms" }
swc_common = { version = "6.1.0", features = [
"concurrent",
"tty-emitter",
], path = "../swc_common" }
swc_ecma_ast = { version = "6.0.0", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "6.0.1", path = "../swc_ecma_codegen" }
swc_ecma_minifier = { version = "10.0.0", path = "../swc_ecma_minifier", features = [
swc_ecma_ast = { version = "6.1.0", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "6.0.2", path = "../swc_ecma_codegen" }
swc_ecma_minifier = { version = "10.1.0", path = "../swc_ecma_minifier", features = [
"concurrent",
] }
swc_ecma_parser = { version = "8.0.0", path = "../swc_ecma_parser" }
swc_ecma_parser = { version = "8.0.1", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "9.0.1", path = "../swc_ecma_transforms_base" }
swc_ecma_visit = { version = "6.0.0", path = "../swc_ecma_visit" }
swc_error_reporters = { version = "7.0.0", path = "../swc_error_reporters" }
Expand Down
8 changes: 4 additions & 4 deletions crates/jsdoc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ serde-impl = ["serde"]
nom = { workspace = true }
serde = { workspace = true, features = ["derive"], optional = true }

swc_atoms = { version = "3.0.5", path = "../swc_atoms" }
swc_common = { version = "6.0.0", path = "../swc_common" }
swc_atoms = { version = "3.1.0", path = "../swc_atoms" }
swc_common = { version = "6.1.0", path = "../swc_common" }

[dev-dependencies]
anyhow = { workspace = true }
dashmap = { workspace = true }

swc_ecma_ast = { version = "6.0.0", path = "../swc_ecma_ast" }
swc_ecma_parser = { version = "8.0.0", path = "../swc_ecma_parser" }
swc_ecma_ast = { version = "6.1.0", path = "../swc_ecma_ast" }
swc_ecma_parser = { version = "8.0.1", path = "../swc_ecma_parser" }
testing = { version = "6.0.0", path = "../testing" }
14 changes: 7 additions & 7 deletions crates/swc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,25 +69,25 @@ sourcemap = { workspace = true }
tracing = { workspace = true }
url = { workspace = true }

swc_atoms = { version = "3.0.5", path = "../swc_atoms" }
swc_atoms = { version = "3.1.0", path = "../swc_atoms" }
swc_cached = { version = "2.0.0", path = "../swc_cached" }
swc_common = { version = "6.0.0", path = "../swc_common", features = [
swc_common = { version = "6.1.0", path = "../swc_common", features = [
"sourcemap",
"parking_lot",
] }
swc_compiler_base = { version = "11.0.0", path = "../swc_compiler_base" }
swc_config = { version = "2.0.0", path = "../swc_config" }
swc_ecma_ast = { version = "6.0.0", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "6.0.1", path = "../swc_ecma_codegen" }
swc_ecma_ast = { version = "6.1.0", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "6.0.2", path = "../swc_ecma_codegen" }
swc_ecma_ext_transforms = { version = "9.0.0", path = "../swc_ecma_ext_transforms" }
swc_ecma_lints = { version = "9.0.0", path = "../swc_ecma_lints" }
swc_ecma_loader = { version = "6.0.0", path = "../swc_ecma_loader", features = [
"cache",
"node",
"tsc",
] }
swc_ecma_minifier = { version = "10.0.0", path = "../swc_ecma_minifier" }
swc_ecma_parser = { version = "8.0.0", path = "../swc_ecma_parser" }
swc_ecma_minifier = { version = "10.1.0", path = "../swc_ecma_minifier" }
swc_ecma_parser = { version = "8.0.1", path = "../swc_ecma_parser" }
swc_ecma_preset_env = { version = "11.0.0", path = "../swc_ecma_preset_env" }
swc_ecma_transforms = { version = "11.0.0", path = "../swc_ecma_transforms", features = [
"compat",
Expand Down Expand Up @@ -134,7 +134,7 @@ rayon = { workspace = true }
walkdir = { workspace = true }

codspeed-criterion-compat = { workspace = true }
swc_ecma_ast = { version = "6.0.0", path = "../swc_ecma_ast", features = [
swc_ecma_ast = { version = "6.1.0", path = "../swc_ecma_ast", features = [
"serde-impl",
] }
swc_ecma_lints = { version = "9.0.0", path = "../swc_ecma_lints", features = [
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_atoms/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_atoms"
repository = { workspace = true }
version = "3.0.5"
version = "3.1.0"

[lib]
bench = false
Expand Down
12 changes: 6 additions & 6 deletions crates/swc_bundler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ relative-path = { workspace = true }
rustc-hash = { workspace = true }
tracing = { workspace = true }

swc_atoms = { version = "3.0.5", path = "../swc_atoms" }
swc_common = { version = "6.0.0", path = "../swc_common" }
swc_ecma_ast = { version = "6.0.0", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "6.0.1", path = "../swc_ecma_codegen" }
swc_atoms = { version = "3.1.0", path = "../swc_atoms" }
swc_common = { version = "6.1.0", path = "../swc_common" }
swc_ecma_ast = { version = "6.1.0", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "6.0.2", path = "../swc_ecma_codegen" }
swc_ecma_loader = { version = "6.0.0", path = "../swc_ecma_loader" }
swc_ecma_parser = { version = "8.0.0", path = "../swc_ecma_parser" }
swc_ecma_parser = { version = "8.0.1", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "9.0.1", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_optimization = { version = "9.0.0", path = "../swc_ecma_transforms_optimization" }
swc_ecma_utils = { version = "9.0.0", path = "../swc_ecma_utils" }
Expand All @@ -64,7 +64,7 @@ swc_ecma_loader = { version = "6.0.0", path = "../swc_ecma_loader", features = [
"node",
"cache",
] }
swc_ecma_minifier = { version = "10.0.0", path = "../swc_ecma_minifier", features = [
swc_ecma_minifier = { version = "10.1.0", path = "../swc_ecma_minifier", features = [
"concurrent",
] }
swc_ecma_transforms_proposal = { version = "9.0.0", path = "../swc_ecma_transforms_proposal" }
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 = "13.0.4", features = [
swc_core = { version = "13.1.0", features = [
"trace_macro",
"common_concurrent",
"base_concurrent",
Expand Down
4 changes: 2 additions & 2 deletions crates/swc_common/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_common"
repository = { workspace = true }
version = "6.0.0"
version = "6.1.0"

[package.metadata.docs.rs]
all-features = true
Expand Down Expand Up @@ -64,7 +64,7 @@ ast_node = { version = "3.0.0", path = "../ast_node" }
better_scoped_tls = { version = "1.0.0", path = "../better_scoped_tls" }
from_variant = { version = "2.0.0", path = "../from_variant" }
swc_allocator = { version = "3.0.0", path = "../swc_allocator", default-features = false }
swc_atoms = { version = "3.0.5", path = "../swc_atoms" }
swc_atoms = { version = "3.1.0", path = "../swc_atoms" }
swc_eq_ignore_macros = { version = "1.0.0", path = "../swc_eq_ignore_macros" }
swc_visit = { version = "2.0.0", path = "../swc_visit" }

Expand Down
12 changes: 6 additions & 6 deletions crates/swc_compiler_base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ serde_json = { workspace = true }
sourcemap = { workspace = true }
swc_allocator = { version = "3.0.0", path = "../swc_allocator", default-features = false }

swc_atoms = { version = "3.0.5", path = "../swc_atoms" }
swc_common = { version = "6.0.0", path = "../swc_common", features = [
swc_atoms = { version = "3.1.0", path = "../swc_atoms" }
swc_common = { version = "6.1.0", path = "../swc_common", features = [
"sourcemap",
] }
swc_config = { version = "2.0.0", path = "../swc_config" }
swc_ecma_ast = { version = "6.0.0", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "6.0.1", path = "../swc_ecma_codegen" }
swc_ecma_minifier = { version = "10.0.0", path = "../swc_ecma_minifier" }
swc_ecma_parser = { version = "8.0.0", path = "../swc_ecma_parser" }
swc_ecma_ast = { version = "6.1.0", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "6.0.2", path = "../swc_ecma_codegen" }
swc_ecma_minifier = { version = "10.1.0", path = "../swc_ecma_minifier" }
swc_ecma_parser = { version = "8.0.1", path = "../swc_ecma_parser" }
swc_ecma_visit = { version = "6.0.0", path = "../swc_ecma_visit" }
swc_timer = { version = "1.0.0", path = "../swc_timer" }

Expand Down
16 changes: 8 additions & 8 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 = "13.0.4"
version = "13.1.0"
[package.metadata.docs.rs]
features = [
"allocator_node",
Expand Down Expand Up @@ -339,10 +339,10 @@ once_cell = { workspace = true, optional = true }
# swc_* dependencies
binding_macros = { optional = true, version = "13.0.0", path = "../binding_macros" }
swc = { optional = true, version = "13.0.1", path = "../swc" }
swc_atoms = { optional = true, version = "3.0.5", path = "../swc_atoms" }
swc_atoms = { optional = true, version = "3.1.0", path = "../swc_atoms" }
swc_bundler = { optional = true, version = "9.0.0", path = "../swc_bundler" }
swc_cached = { optional = true, version = "2.0.0", path = "../swc_cached" }
swc_common = { optional = true, version = "6.0.0", path = "../swc_common" }
swc_common = { optional = true, version = "6.1.0", path = "../swc_common" }
swc_css_ast = { optional = true, version = "6.0.0", path = "../swc_css_ast" }
swc_css_codegen = { optional = true, version = "6.0.0", path = "../swc_css_codegen" }
swc_css_compat = { optional = true, version = "6.0.0", path = "../swc_css_compat" }
Expand All @@ -352,12 +352,12 @@ swc_css_parser = { optional = true, version = "6.0.0", path =
swc_css_prefixer = { optional = true, version = "7.0.0", path = "../swc_css_prefixer" }
swc_css_utils = { optional = true, version = "6.0.0", path = "../swc_css_utils/" }
swc_css_visit = { optional = true, version = "6.0.0", path = "../swc_css_visit" }
swc_ecma_ast = { optional = true, version = "6.0.0", path = "../swc_ecma_ast" }
swc_ecma_codegen = { optional = true, version = "6.0.1", path = "../swc_ecma_codegen" }
swc_ecma_ast = { optional = true, version = "6.1.0", path = "../swc_ecma_ast" }
swc_ecma_codegen = { optional = true, version = "6.0.2", path = "../swc_ecma_codegen" }
swc_ecma_lints = { optional = true, version = "9.0.0", path = "../swc_ecma_lints" }
swc_ecma_loader = { optional = true, version = "6.0.0", path = "../swc_ecma_loader" }
swc_ecma_minifier = { optional = true, version = "10.0.0", path = "../swc_ecma_minifier" }
swc_ecma_parser = { optional = true, version = "8.0.0", path = "../swc_ecma_parser" }
swc_ecma_minifier = { optional = true, version = "10.1.0", path = "../swc_ecma_minifier" }
swc_ecma_parser = { optional = true, version = "8.0.1", path = "../swc_ecma_parser" }
swc_ecma_preset_env = { optional = true, version = "11.0.0", path = "../swc_ecma_preset_env" }
swc_ecma_quote_macros = { optional = true, version = "8.0.0", path = "../swc_ecma_quote_macros" }
swc_ecma_transforms_base = { optional = true, version = "9.0.1", path = "../swc_ecma_transforms_base" }
Expand All @@ -368,7 +368,7 @@ swc_ecma_transforms_proposal = { optional = true, version = "9.0.0", path =
swc_ecma_transforms_react = { optional = true, version = "9.0.1", path = "../swc_ecma_transforms_react" }
swc_ecma_transforms_testing = { optional = true, version = "9.0.0", path = "../swc_ecma_transforms_testing" }
swc_ecma_transforms_typescript = { optional = true, version = "9.0.0", path = "../swc_ecma_transforms_typescript" }
swc_ecma_usage_analyzer = { optional = true, version = "10.0.0", path = "../swc_ecma_usage_analyzer" }
swc_ecma_usage_analyzer = { optional = true, version = "10.1.0", path = "../swc_ecma_usage_analyzer" }
swc_ecma_utils = { optional = true, version = "9.0.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { optional = true, version = "6.0.0", path = "../swc_ecma_visit" }
swc_malloc = { optional = true, version = "1.0.0", path = "../swc_malloc" }
Expand Down
4 changes: 2 additions & 2 deletions crates/swc_css_ast/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ rancor = { workspace = true, optional = true }
serde = { workspace = true, features = ["derive"], optional = true }
string_enum = { version = "1.0.0", path = "../string_enum/" }

swc_atoms = { version = "3.0.5", path = "../swc_atoms" }
swc_common = { version = "6.0.0", path = "../swc_common" }
swc_atoms = { version = "3.1.0", path = "../swc_atoms" }
swc_common = { version = "6.1.0", path = "../swc_common" }

rkyv = { workspace = true, optional = true }
Loading

0 comments on commit a1b6682

Please sign in to comment.