Skip to content

Commit

Permalink
chore: Publish crates with swc_core v3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Oct 30, 2024
1 parent 3597b0f commit f1470cf
Show file tree
Hide file tree
Showing 79 changed files with 107 additions and 105 deletions.
6 changes: 0 additions & 6 deletions .changeset/quick-actors-do.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/silent-cows-brake.md

This file was deleted.

15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Changelog
## [unreleased]

### Bug Fixes



- **(es/generator)** Fix code generation for `break` in nested while ([#9684](https://github.com/swc-project/swc/issues/9684)) ([65872af](https://github.com/swc-project/swc/commit/65872afaf151412be5f14820080325b920901bfb))

### Features


Expand All @@ -10,10 +16,19 @@

- **(es/parser)** Ability to get script's potential module errors ([#9682](https://github.com/swc-project/swc/issues/9682)) ([2bbd1e8](https://github.com/swc-project/swc/commit/2bbd1e8485ca7c152d408cc34cd51460467171a7))

### Miscellaneous Tasks



- **(deps)** Update cargo (patch) ([#9607](https://github.com/swc-project/swc/issues/9607)) ([3597b0f](https://github.com/swc-project/swc/commit/3597b0f53d060b09b7e878e9c825321f053d189e))

### Performance



- **(es)** Cache `current_dir()` system calls ([#9683](https://github.com/swc-project/swc/issues/9683)) ([7aab945](https://github.com/swc-project/swc/commit/7aab945a2199be06e20a35ec0d197fc817a48d9d))


- **(visit)** Introduce `Pass` API and adjust visitor APIs for it ([#9680](https://github.com/swc-project/swc/issues/9680)) ([581aafb](https://github.com/swc-project/swc/commit/581aafb4dfbbcf9b834e3b578cad83fec452a062))

## [1.7.40] - 2024-10-26
Expand Down
8 changes: 4 additions & 4 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 @@ -33,8 +33,8 @@ binding_wasm = [

[dependencies]
# Common deps for the SWC imports
swc = { optional = true, version = "3.0.0", path = "../swc" }
swc_common = { optional = true, version = "2.0.0", path = "../swc_common" }
swc = { optional = true, version = "3.0.1", path = "../swc" }
swc_common = { optional = true, version = "2.0.1", path = "../swc_common" }
swc_ecma_ast = { optional = true, version = "2.0.0", path = "../swc_ecma_ast" }
swc_ecma_transforms = { optional = true, version = "3.0.0", path = "../swc_ecma_transforms" }
swc_ecma_visit = { optional = true, version = "2.0.0", path = "../swc_ecma_visit" }
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 @@ -27,7 +27,7 @@ clap = { version = "3", features = ["derive"] }
tracing-subscriber = { workspace = true, features = ["fmt", "env-filter"] }

swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "2.0.0", features = [
swc_common = { version = "2.0.1", features = [
"concurrent",
"tty-emitter",
], path = "../swc_common" }
Expand Down
2 changes: 1 addition & 1 deletion crates/jsdoc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ nom = { workspace = true }
serde = { workspace = true, features = ["derive"], optional = true }

swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "2.0.0", path = "../swc_common" }
swc_common = { version = "2.0.1", path = "../swc_common" }

[dev-dependencies]
anyhow = { workspace = true }
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 = "3.0.0"
version = "3.0.1"

[lib]
bench = false
Expand Down Expand Up @@ -69,7 +69,7 @@ url = { workspace = true }

swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_cached = { version = "1.0.0", path = "../swc_cached" }
swc_common = { version = "2.0.0", path = "../swc_common", features = [
swc_common = { version = "2.0.1", path = "../swc_common", features = [
"ahash",
"sourcemap",
"parking_lot",
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 @@ -38,7 +38,7 @@ relative-path = { workspace = true }
tracing = { workspace = true }

swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "2.0.0", path = "../swc_common" }
swc_common = { version = "2.0.1", path = "../swc_common" }
swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "2.0.0", path = "../swc_ecma_codegen" }
swc_ecma_loader = { version = "2.0.0", path = "../swc_ecma_loader" }
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 = "3.0.0", features = [
swc_core = { version = "3.0.1", features = [
"trace_macro",
"common_concurrent",
"base_concurrent",
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_common/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_common"
repository = "https://github.com/swc-project/swc.git"
version = "2.0.0"
version = "2.0.1"

[package.metadata.docs.rs]
all-features = true
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 @@ -24,7 +24,7 @@ sourcemap = { workspace = true }
swc_allocator = { version = "1.0.0", path = "../swc_allocator", default-features = false }

swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "2.0.0", path = "../swc_common", features = [
swc_common = { version = "2.0.1", path = "../swc_common", features = [
"sourcemap",
] }
swc_config = { version = "1.0.0", path = "../swc_config" }
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 = "3.0.0"
version = "3.0.1"
[package.metadata.docs.rs]
features = [
"allocator_node",
Expand Down Expand Up @@ -339,11 +339,11 @@ once_cell = { workspace = true, optional = true }

# swc_* dependencies
binding_macros = { optional = true, version = "3.0.0", path = "../binding_macros" }
swc = { optional = true, version = "3.0.0", path = "../swc" }
swc = { optional = true, version = "3.0.1", path = "../swc" }
swc_atoms = { optional = true, version = "2.0.0", path = "../swc_atoms" }
swc_bundler = { optional = true, version = "3.0.0", path = "../swc_bundler" }
swc_cached = { optional = true, version = "1.0.0", path = "../swc_cached" }
swc_common = { optional = true, version = "2.0.0", path = "../swc_common" }
swc_common = { optional = true, version = "2.0.1", path = "../swc_common" }
swc_css_ast = { optional = true, version = "2.0.0", path = "../swc_css_ast" }
swc_css_codegen = { optional = true, version = "2.0.0", path = "../swc_css_codegen" }
swc_css_compat = { optional = true, version = "2.0.0", path = "../swc_css_compat" }
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_css_ast/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ serde = { workspace = true, features = ["derive"], optional = true }
string_enum = { version = "1.0.0", path = "../string_enum/" }

swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "2.0.0", path = "../swc_common" }
swc_common = { version = "2.0.1", path = "../swc_common" }

rkyv = { workspace = true, features = ["validation"], optional = true }
4 changes: 2 additions & 2 deletions crates/swc_css_codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ rustc-hash = { workspace = true }
serde = { workspace = true }

swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "2.0.0", path = "../swc_common" }
swc_common = { version = "2.0.1", path = "../swc_common" }
swc_css_ast = { version = "2.0.0", path = "../swc_css_ast" }
swc_css_codegen_macros = { version = "1.0.0", path = "../swc_css_codegen_macros" }
swc_css_utils = { version = "2.0.0", path = "../swc_css_utils" }

[dev-dependencies]
swc_common = { version = "2.0.0", path = "../swc_common", features = [
swc_common = { version = "2.0.1", path = "../swc_common", features = [
"sourcemap",
] }
swc_css_parser = { version = "2.0.0", path = "../swc_css_parser" }
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_css_compat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }

swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "2.0.0", path = "../swc_common" }
swc_common = { version = "2.0.1", path = "../swc_common" }
swc_css_ast = { version = "2.0.0", path = "../swc_css_ast" }
swc_css_utils = { version = "2.0.0", path = "../swc_css_utils/" }
swc_css_visit = { version = "2.0.0", path = "../swc_css_visit" }
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_css_lints/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ thiserror = { workspace = true }

swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_cached = { version = "1.0.0", path = "../swc_cached" }
swc_common = { version = "2.0.0", path = "../swc_common" }
swc_common = { version = "2.0.1", path = "../swc_common" }
swc_css_ast = { version = "2.0.0", path = "../swc_css_ast" }
swc_css_visit = { version = "2.0.0", path = "../swc_css_visit" }

Expand Down
2 changes: 1 addition & 1 deletion crates/swc_css_minifier/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ bench = false
serde = { workspace = true }

swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "2.0.0", path = "../swc_common" }
swc_common = { version = "2.0.1", path = "../swc_common" }
swc_css_ast = { version = "2.0.0", path = "../swc_css_ast" }
swc_css_utils = { version = "2.0.0", path = "../swc_css_utils/" }
swc_css_visit = { version = "2.0.0", path = "../swc_css_visit" }
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_css_modules/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ rustc-hash = { workspace = true }
serde = { workspace = true, features = ["derive"] }

swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "2.0.0", path = "../swc_common" }
swc_common = { version = "2.0.1", path = "../swc_common" }
swc_css_ast = { version = "2.0.0", path = "../swc_css_ast" }
swc_css_codegen = { version = "2.0.0", path = "../swc_css_codegen" }
swc_css_parser = { version = "2.0.0", path = "../swc_css_parser" }
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_css_parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ lexical = { workspace = true }
serde = { workspace = true }

swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "2.0.0", path = "../swc_common" }
swc_common = { version = "2.0.1", path = "../swc_common" }
swc_css_ast = { version = "2.0.0", path = "../swc_css_ast" }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_css_prefixer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ serde_json = { workspace = true }

preset_env_base = { version = "1.0.0", path = "../preset_env_base" }
swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "2.0.0", path = "../swc_common" }
swc_common = { version = "2.0.1", path = "../swc_common" }
swc_css_ast = { version = "2.0.0", path = "../swc_css_ast" }
swc_css_utils = { version = "2.0.0", path = "../swc_css_utils/" }
swc_css_visit = { version = "2.0.0", path = "../swc_css_visit" }
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_css_utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }

swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "2.0.0", path = "../swc_common" }
swc_common = { version = "2.0.1", path = "../swc_common" }
swc_css_ast = { version = "2.0.0", path = "../swc_css_ast" }
swc_css_visit = { version = "2.0.0", path = "../swc_css_visit" }
2 changes: 1 addition & 1 deletion crates/swc_css_visit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ path = []
serde = { workspace = true, optional = true }

swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "2.0.0", path = "../swc_common" }
swc_common = { version = "2.0.1", path = "../swc_common" }
swc_css_ast = { version = "2.0.0", path = "../swc_css_ast" }
swc_visit = { version = "2.0.0", path = "../swc_visit" }
2 changes: 1 addition & 1 deletion crates/swc_ecma_ast/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ scoped-tls = { workspace = true }
serde = { workspace = true, features = ["derive"], optional = true }
string_enum = { version = "1.0.0", path = "../string_enum" }
swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "2.0.0", path = "../swc_common" }
swc_common = { version = "2.0.1", path = "../swc_common" }
swc_visit = { version = "2.0.0", path = "../swc_visit" }
unicode-id-start = { workspace = true }

Expand Down
4 changes: 2 additions & 2 deletions crates/swc_ecma_codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ tracing = { workspace = true }

swc_allocator = { version = "1.0.0", path = "../swc_allocator", default-features = false }
swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "2.0.0", path = "../swc_common" }
swc_common = { version = "2.0.1", path = "../swc_common" }
swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" }
swc_ecma_codegen_macros = { version = "1.0.0", path = "../swc_ecma_codegen_macros" }

Expand All @@ -38,7 +38,7 @@ criterion = { workspace = true }
serde_json = { workspace = true }

swc_allocator = { version = "1.0.0", path = "../swc_allocator" }
swc_common = { version = "2.0.0", path = "../swc_common", features = [
swc_common = { version = "2.0.1", path = "../swc_common", features = [
"sourcemap",
] }
swc_ecma_parser = { version = "3.0.0", path = "../swc_ecma_parser" }
Expand Down
4 changes: 2 additions & 2 deletions crates/swc_ecma_compat_bugfixes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ version = "3.0.0"

[dependencies]
swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "2.0.0", path = "../swc_common" }
swc_common = { version = "2.0.1", path = "../swc_common" }
swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" }
swc_ecma_compat_es2015 = { version = "3.0.0", path = "../swc_ecma_compat_es2015" }
swc_ecma_compat_es2015 = { version = "3.0.1", path = "../swc_ecma_compat_es2015" }
swc_ecma_transforms_base = { version = "3.0.0", path = "../swc_ecma_transforms_base" }
swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" }
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_compat_common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ version = "3.0.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
swc_common = { version = "2.0.0", path = "../swc_common" }
swc_common = { version = "2.0.1", path = "../swc_common" }
swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" }
swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" }
Expand Down
4 changes: 2 additions & 2 deletions crates/swc_ecma_compat_es2015/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_compat_es2015"
repository = "https://github.com/swc-project/swc.git"
version = "3.0.0"
version = "3.0.1"


# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand All @@ -23,7 +23,7 @@ smallvec = { workspace = true }
swc_atoms = { version = "2.0.0", path = "../swc_atoms" }


swc_common = { version = "2.0.0", path = "../swc_common" }
swc_common = { version = "2.0.1", path = "../swc_common" }
swc_config = { version = "1.0.0", path = "../swc_config" }
swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" }
swc_ecma_compat_common = { version = "3.0.0", path = "../swc_ecma_compat_common" }
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_compat_es2016/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ version = "3.0.0"

[dependencies]
swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "2.0.0", path = "../swc_common" }
swc_common = { version = "2.0.1", path = "../swc_common" }
swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" }
swc_ecma_transforms_base = { version = "3.0.0", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" }
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_compat_es2017/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ serde = { workspace = true, features = ["derive"] }
tracing = { workspace = true }

swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "2.0.0", path = "../swc_common" }
swc_common = { version = "2.0.1", path = "../swc_common" }
swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" }
swc_ecma_transforms_base = { version = "3.0.0", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" }
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_compat_es2018/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ serde = { workspace = true, features = ["derive"] }
tracing = { workspace = true }

swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "2.0.0", path = "../swc_common" }
swc_common = { version = "2.0.1", path = "../swc_common" }
swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" }
swc_ecma_compat_common = { version = "3.0.0", path = "../swc_ecma_compat_common" }
swc_ecma_transforms_base = { version = "3.0.0", path = "../swc_ecma_transforms_base" }
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_compat_es2019/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tracing = { workspace = true }


swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "2.0.0", path = "../swc_common" }
swc_common = { version = "2.0.1", path = "../swc_common" }
swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" }
swc_ecma_transforms_base = { version = "3.0.0", path = "../swc_ecma_transforms_base" }
swc_ecma_utils = { version = "3.0.0", path = "../swc_ecma_utils" }
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_compat_es2020/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ version = "3.0.0"
[dependencies]
serde = { workspace = true, features = ["derive"] }
swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "2.0.0", path = "../swc_common" }
swc_common = { version = "2.0.1", path = "../swc_common" }
swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" }
swc_ecma_compat_es2022 = { version = "3.0.0", path = "../swc_ecma_compat_es2022" }
swc_ecma_transforms_base = { version = "3.0.0", path = "../swc_ecma_transforms_base" }
Expand Down
Loading

0 comments on commit f1470cf

Please sign in to comment.