chore: Publish crates

This commit is contained in:
SWC Bot 2023-04-15 14:52:40 +00:00
parent 4c06a56e52
commit f7355420dd
16 changed files with 60 additions and 57 deletions

View File

@ -14,6 +14,9 @@
- **(es/loader)** Fix browser overwrites not applying correctly (#7243) ([beefdd4](https://github.com/swc-project/swc/commit/beefdd459c1bdd96bcd5c83f8dc2e4c4c1be695d))
- **(es/minifier)** Use UTF16 length for `str.length` (#7275) ([4c06a56](https://github.com/swc-project/swc/commit/4c06a56e52184796280d9c19975f5317f3050cc9))
- **(es/renamer)** Ensure that param and function body are in same scope (#7271) ([93a264c](https://github.com/swc-project/swc/commit/93a264c9a4c8329eddbf02c02c979d5dee3f02b5))
### Features

28
Cargo.lock generated
View File

@ -217,7 +217,7 @@ dependencies = [
[[package]]
name = "binding_macros"
version = "0.49.21"
version = "0.49.22"
dependencies = [
"anyhow",
"console_error_panic_hook",
@ -889,7 +889,7 @@ dependencies = [
[[package]]
name = "dbg-swc"
version = "0.80.22"
version = "0.80.23"
dependencies = [
"anyhow",
"clap 3.1.0",
@ -3405,7 +3405,7 @@ dependencies = [
[[package]]
name = "swc"
version = "0.260.21"
version = "0.260.22"
dependencies = [
"ahash",
"ansi_term",
@ -3475,7 +3475,7 @@ dependencies = [
[[package]]
name = "swc_bundler"
version = "0.213.15"
version = "0.213.16"
dependencies = [
"ahash",
"anyhow",
@ -3589,7 +3589,7 @@ dependencies = [
[[package]]
name = "swc_core"
version = "0.75.21"
version = "0.75.22"
dependencies = [
"anyhow",
"binding_macros",
@ -3949,7 +3949,7 @@ dependencies = [
[[package]]
name = "swc_ecma_minifier"
version = "0.180.15"
version = "0.180.16"
dependencies = [
"ahash",
"ansi_term",
@ -4017,7 +4017,7 @@ dependencies = [
[[package]]
name = "swc_ecma_preset_env"
version = "0.194.13"
version = "0.194.14"
dependencies = [
"ahash",
"anyhow",
@ -4082,7 +4082,7 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms"
version = "0.217.13"
version = "0.217.14"
dependencies = [
"pretty_assertions",
"sourcemap",
@ -4216,7 +4216,7 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_optimization"
version = "0.186.13"
version = "0.186.14"
dependencies = [
"ahash",
"dashmap",
@ -4394,7 +4394,7 @@ dependencies = [
[[package]]
name = "swc_ecmascript"
version = "0.227.15"
version = "0.227.16"
dependencies = [
"swc_ecma_ast",
"swc_ecma_codegen",
@ -4442,7 +4442,7 @@ dependencies = [
[[package]]
name = "swc_estree_compat"
version = "0.183.21"
version = "0.183.22"
dependencies = [
"ahash",
"anyhow",
@ -4490,7 +4490,7 @@ dependencies = [
[[package]]
name = "swc_html"
version = "0.123.15"
version = "0.123.16"
dependencies = [
"swc_html_ast",
"swc_html_codegen",
@ -4541,7 +4541,7 @@ dependencies = [
[[package]]
name = "swc_html_minifier"
version = "0.120.15"
version = "0.120.16"
dependencies = [
"criterion",
"once_cell",
@ -4627,7 +4627,7 @@ dependencies = [
[[package]]
name = "swc_node_bundler"
version = "0.47.21"
version = "0.47.22"
dependencies = [
"anyhow",
"dashmap",

View File

@ -5,7 +5,7 @@ edition = "2021"
license = "Apache-2.0"
name = "binding_macros"
repository = "https://github.com/swc-project/swc.git"
version = "0.49.21"
version = "0.49.22"
[lib]
bench = false
@ -33,10 +33,10 @@ binding_wasm = [
[dependencies]
# Common deps for the SWC imports
swc = { optional = true, version = "0.260.21", path = "../swc" }
swc = { optional = true, version = "0.260.22", path = "../swc" }
swc_common = { optional = true, version = "0.31.4", path = "../swc_common" }
swc_ecma_ast = { optional = true, version = "0.103.4", path = "../swc_ecma_ast" }
swc_ecma_transforms = { optional = true, version = "0.217.13", path = "../swc_ecma_transforms" }
swc_ecma_transforms = { optional = true, version = "0.217.14", path = "../swc_ecma_transforms" }
swc_ecma_visit = { optional = true, version = "0.89.4", path = "../swc_ecma_visit" }
# Optional deps for the wasm binding macro

View File

@ -5,7 +5,7 @@ edition = "2021"
license = "Apache-2.0"
name = "dbg-swc"
repository = "https://github.com/kdy1/dbg-swc.git"
version = "0.80.22"
version = "0.80.23"
[[bin]]
bench = false
@ -32,7 +32,7 @@ swc_common = { version = "0.31.4", features = [
], path = "../swc_common" }
swc_ecma_ast = { version = "0.103.4", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.138.9", path = "../swc_ecma_codegen" }
swc_ecma_minifier = { version = "0.180.15", path = "../swc_ecma_minifier", features = [
swc_ecma_minifier = { version = "0.180.16", path = "../swc_ecma_minifier", features = [
"concurrent",
] }
swc_ecma_parser = { version = "0.133.8", path = "../swc_ecma_parser" }

View File

@ -9,7 +9,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0"
name = "swc"
repository = "https://github.com/swc-project/swc.git"
version = "0.260.21"
version = "0.260.22"
[lib]
bench = false
@ -83,10 +83,10 @@ swc_ecma_loader = { version = "0.43.5", path = "../swc_ecma_loader", features =
"node",
"tsc",
] }
swc_ecma_minifier = { version = "0.180.15", path = "../swc_ecma_minifier" }
swc_ecma_minifier = { version = "0.180.16", path = "../swc_ecma_minifier" }
swc_ecma_parser = { version = "0.133.8", path = "../swc_ecma_parser" }
swc_ecma_preset_env = { version = "0.194.13", path = "../swc_ecma_preset_env" }
swc_ecma_transforms = { version = "0.217.13", path = "../swc_ecma_transforms", features = [
swc_ecma_preset_env = { version = "0.194.14", path = "../swc_ecma_preset_env" }
swc_ecma_transforms = { version = "0.217.14", path = "../swc_ecma_transforms", features = [
"compat",
"module",
"optimization",
@ -96,7 +96,7 @@ swc_ecma_transforms = { version = "0.217.13", path = "../swc_ecma_transforms", f
] }
swc_ecma_transforms_base = { version = "0.126.10", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_compat = { version = "0.152.11", path = "../swc_ecma_transforms_compat" }
swc_ecma_transforms_optimization = { version = "0.186.13", path = "../swc_ecma_transforms_optimization" }
swc_ecma_transforms_optimization = { version = "0.186.14", path = "../swc_ecma_transforms_optimization" }
swc_ecma_utils = { version = "0.116.8", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.89.4", path = "../swc_ecma_visit" }
swc_error_reporters = { version = "0.15.4", path = "../swc_error_reporters" }

View File

@ -9,7 +9,7 @@ include = ["Cargo.toml", "build.rs", "src/**/*.rs", "src/**/*.js"]
license = "Apache-2.0"
name = "swc_bundler"
repository = "https://github.com/swc-project/swc.git"
version = "0.213.15"
version = "0.213.16"
[package.metadata.docs.rs]
all-features = true
@ -45,7 +45,7 @@ swc_ecma_codegen = { version = "0.138.9", path = "../swc_ecma_co
swc_ecma_loader = { version = "0.43.5", path = "../swc_ecma_loader" }
swc_ecma_parser = { version = "0.133.8", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "0.126.10", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_optimization = { version = "0.186.13", path = "../swc_ecma_transforms_optimization" }
swc_ecma_transforms_optimization = { version = "0.186.14", path = "../swc_ecma_transforms_optimization" }
swc_ecma_utils = { version = "0.116.8", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.89.4", path = "../swc_ecma_visit" }
swc_fast_graph = { version = "0.19.4", path = "../swc_fast_graph/" }
@ -64,7 +64,7 @@ swc_ecma_loader = { version = "0.43.5", path = "../swc_ecma_loader", features =
"node",
"cache",
] }
swc_ecma_minifier = { version = "0.180.15", path = "../swc_ecma_minifier", features = [
swc_ecma_minifier = { version = "0.180.16", path = "../swc_ecma_minifier", features = [
"concurrent",
] }
swc_ecma_transforms_proposal = { version = "0.160.12", path = "../swc_ecma_transforms_proposal" }

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.75.21"
version = "0.75.22"
[package.metadata.docs.rs]
features = [
"common_perf",
@ -316,10 +316,10 @@ __visit = ["__ecma", "swc_ecma_visit"]
once_cell = { optional = true, version = "1.13.0" }
# swc_* dependencies
binding_macros = { optional = true, version = "0.49.21", path = "../binding_macros" }
swc = { optional = true, version = "0.260.21", path = "../swc" }
binding_macros = { optional = true, version = "0.49.22", path = "../binding_macros" }
swc = { optional = true, version = "0.260.22", path = "../swc" }
swc_atoms = { optional = true, version = "0.5.3", path = "../swc_atoms" }
swc_bundler = { optional = true, version = "0.213.15", path = "../swc_bundler" }
swc_bundler = { optional = true, version = "0.213.16", path = "../swc_bundler" }
swc_cached = { optional = true, version = "0.3.15", path = "../swc_cached" }
swc_common = { optional = true, version = "0.31.4", path = "../swc_common" }
swc_css_ast = { optional = true, version = "0.137.4", path = "../swc_css_ast" }
@ -334,14 +334,14 @@ swc_css_visit = { optional = true, version = "0.136.4", path
swc_ecma_ast = { optional = true, version = "0.103.4", path = "../swc_ecma_ast" }
swc_ecma_codegen = { optional = true, version = "0.138.9", path = "../swc_ecma_codegen" }
swc_ecma_loader = { optional = true, version = "0.43.5", path = "../swc_ecma_loader" }
swc_ecma_minifier = { optional = true, version = "0.180.15", path = "../swc_ecma_minifier" }
swc_ecma_minifier = { optional = true, version = "0.180.16", path = "../swc_ecma_minifier" }
swc_ecma_parser = { optional = true, version = "0.133.8", path = "../swc_ecma_parser" }
swc_ecma_preset_env = { optional = true, version = "0.194.13", path = "../swc_ecma_preset_env" }
swc_ecma_preset_env = { optional = true, version = "0.194.14", path = "../swc_ecma_preset_env" }
swc_ecma_quote_macros = { optional = true, version = "0.44.8", path = "../swc_ecma_quote_macros" }
swc_ecma_transforms_base = { optional = true, version = "0.126.10", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_compat = { optional = true, version = "0.152.11", path = "../swc_ecma_transforms_compat" }
swc_ecma_transforms_module = { optional = true, version = "0.169.13", path = "../swc_ecma_transforms_module" }
swc_ecma_transforms_optimization = { optional = true, version = "0.186.13", path = "../swc_ecma_transforms_optimization" }
swc_ecma_transforms_optimization = { optional = true, version = "0.186.14", path = "../swc_ecma_transforms_optimization" }
swc_ecma_transforms_proposal = { optional = true, version = "0.160.12", path = "../swc_ecma_transforms_proposal" }
swc_ecma_transforms_react = { optional = true, version = "0.172.13", path = "../swc_ecma_transforms_react" }
swc_ecma_transforms_testing = { optional = true, version = "0.129.10", path = "../swc_ecma_transforms_testing" }
@ -350,7 +350,7 @@ swc_ecma_usage_analyzer = { optional = true, version = "0.12.8", path =
swc_ecma_utils = { optional = true, version = "0.116.8", path = "../swc_ecma_utils" }
swc_ecma_visit = { optional = true, version = "0.89.4", path = "../swc_ecma_visit" }
swc_node_base = { optional = true, version = "0.5.8", path = "../swc_node_base" }
swc_node_bundler = { optional = true, version = "0.47.21", path = "../swc_node_bundler" }
swc_node_bundler = { optional = true, version = "0.47.22", path = "../swc_node_bundler" }
swc_nodejs_common = { optional = true, version = "0.0.5", path = "../swc_nodejs_common" }
swc_plugin = { optional = true, version = "0.90.0", path = "../swc_plugin" }
swc_plugin_macro = { optional = true, version = "0.9.11", path = "../swc_plugin_macro" }

View File

@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "src/lists/*.json"]
license = "Apache-2.0"
name = "swc_ecma_minifier"
repository = "https://github.com/swc-project/swc.git"
version = "0.180.15"
version = "0.180.16"
[package.metadata.docs.rs]
all-features = true
@ -61,7 +61,7 @@ swc_ecma_ast = { version = "0.103.4", path = "../swc_ecma_ast", features = [
swc_ecma_codegen = { version = "0.138.9", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "0.133.8", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "0.126.10", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_optimization = { version = "0.186.13", path = "../swc_ecma_transforms_optimization" }
swc_ecma_transforms_optimization = { version = "0.186.14", path = "../swc_ecma_transforms_optimization" }
swc_ecma_usage_analyzer = { version = "0.12.8", path = "../swc_ecma_usage_analyzer" }
swc_ecma_utils = { version = "0.116.8", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.89.4", path = "../swc_ecma_visit" }

View File

@ -6,7 +6,7 @@ edition = "2021"
include = ["Cargo.toml", "src/**/*.rs", "src/**/*.json", "data/**/*.json"]
license = "Apache-2.0"
name = "swc_ecma_preset_env"
version = "0.194.13"
version = "0.194.14"
[lib]
bench = false
@ -31,7 +31,7 @@ string_enum = { version = "0.4.0", path = "../string_enum" }
swc_atoms = { version = "0.5.3", path = "../swc_atoms" }
swc_common = { version = "0.31.4", path = "../swc_common" }
swc_ecma_ast = { version = "0.103.4", path = "../swc_ecma_ast" }
swc_ecma_transforms = { version = "0.217.13", path = "../swc_ecma_transforms", features = [
swc_ecma_transforms = { version = "0.217.14", path = "../swc_ecma_transforms", features = [
"compat",
"proposal",
] }

View File

@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0"
name = "swc_ecma_transforms"
repository = "https://github.com/swc-project/swc.git"
version = "0.217.13"
version = "0.217.14"
[package.metadata.docs.rs]
all-features = true
@ -37,7 +37,7 @@ swc_ecma_ast = { version = "0.103.4", path = "../swc_ecma_as
swc_ecma_transforms_base = { version = "0.126.10", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_compat = { version = "0.152.11", path = "../swc_ecma_transforms_compat", optional = true }
swc_ecma_transforms_module = { version = "0.169.13", path = "../swc_ecma_transforms_module", optional = true }
swc_ecma_transforms_optimization = { version = "0.186.13", path = "../swc_ecma_transforms_optimization", optional = true }
swc_ecma_transforms_optimization = { version = "0.186.14", path = "../swc_ecma_transforms_optimization", optional = true }
swc_ecma_transforms_proposal = { version = "0.160.12", path = "../swc_ecma_transforms_proposal", optional = true }
swc_ecma_transforms_react = { version = "0.172.13", path = "../swc_ecma_transforms_react", optional = true }
swc_ecma_transforms_typescript = { version = "0.176.13", path = "../swc_ecma_transforms_typescript", optional = true }

View File

@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0"
name = "swc_ecma_transforms_optimization"
repository = "https://github.com/swc-project/swc.git"
version = "0.186.13"
version = "0.186.14"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]

View File

@ -6,7 +6,7 @@ edition = "2021"
license = "Apache-2.0"
name = "swc_ecmascript"
repository = "https://github.com/swc-project/swc.git"
version = "0.227.15"
version = "0.227.16"
[package.metadata.docs.rs]
all-features = true
@ -42,11 +42,11 @@ typescript = ["typescript-parser", "swc_ecma_transforms/typescript"]
swc_ecma_ast = { version = "0.103.4", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.138.9", path = "../swc_ecma_codegen", optional = true }
swc_ecma_dep_graph = { version = "0.105.8", path = "../swc_ecma_dep_graph", optional = true }
swc_ecma_minifier = { version = "0.180.15", path = "../swc_ecma_minifier", optional = true }
swc_ecma_minifier = { version = "0.180.16", path = "../swc_ecma_minifier", optional = true }
swc_ecma_parser = { version = "0.133.8", path = "../swc_ecma_parser", optional = true, default-features = false }
swc_ecma_preset_env = { version = "0.194.13", path = "../swc_ecma_preset_env", optional = true }
swc_ecma_preset_env = { version = "0.194.14", path = "../swc_ecma_preset_env", optional = true }
swc_ecma_quote = { version = "0.49.8", path = "../swc_ecma_quote", optional = true }
swc_ecma_transforms = { version = "0.217.13", path = "../swc_ecma_transforms", optional = true }
swc_ecma_transforms = { version = "0.217.14", path = "../swc_ecma_transforms", optional = true }
swc_ecma_utils = { version = "0.116.8", path = "../swc_ecma_utils", optional = true }
swc_ecma_visit = { version = "0.89.4", path = "../swc_ecma_visit", optional = true }

View File

@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0"
name = "swc_estree_compat"
repository = "https://github.com/swc-project/swc.git"
version = "0.183.21"
version = "0.183.22"
[package.metadata.docs.rs]
all-features = true
@ -40,10 +40,10 @@ swc_node_comments = { version = "0.18.4", path = "../swc_node_comments/" }
criterion = "0.3"
pretty_assertions = "1.1"
swc = { version = "0.260.21", path = "../swc" }
swc = { version = "0.260.22", path = "../swc" }
swc_ecma_ast = { version = "0.103.4", path = "../swc_ecma_ast" }
swc_ecma_parser = { version = "0.133.8", path = "../swc_ecma_parser" }
swc_ecma_transforms = { version = "0.217.13", path = "../swc_ecma_transforms/" }
swc_ecma_transforms = { version = "0.217.14", path = "../swc_ecma_transforms/" }
testing = { version = "0.33.4", path = "../testing" }
walkdir = "2"

View File

@ -6,7 +6,7 @@ edition = "2021"
license = "Apache-2.0"
name = "swc_html"
repository = "https://github.com/swc-project/swc.git"
version = "0.123.15"
version = "0.123.16"
[package.metadata.docs.rs]
all-features = true
@ -21,6 +21,6 @@ minifier = ["swc_html_minifier"]
[dependencies]
swc_html_ast = {version = "0.31.4", path = "../swc_html_ast"}
swc_html_codegen = {version = "0.40.4", path = "../swc_html_codegen"}
swc_html_minifier = {version = "0.120.15", path = "../swc_html_minifier", optional = true}
swc_html_minifier = {version = "0.120.16", path = "../swc_html_minifier", optional = true}
swc_html_parser = {version = "0.37.4", path = "../swc_html_parser"}
swc_html_visit = {version = "0.31.4", path = "../swc_html_visit"}

View File

@ -10,7 +10,7 @@ include = ["Cargo.toml", "src/**/*.rs", "data/**/*.json"]
license = "Apache-2.0"
name = "swc_html_minifier"
repository = "https://github.com/swc-project/swc.git"
version = "0.120.15"
version = "0.120.16"
[lib]
bench = false
@ -31,7 +31,7 @@ swc_ecma_ast = { version = "0.103.4", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.138.9", path = "../swc_ecma_codegen", features = [
"serde-impl",
] }
swc_ecma_minifier = { version = "0.180.15", path = "../swc_ecma_minifier", features = [
swc_ecma_minifier = { version = "0.180.16", path = "../swc_ecma_minifier", features = [
"extra-serde",
] }
swc_ecma_parser = { version = "0.133.8", path = "../swc_ecma_parser" }

View File

@ -7,7 +7,7 @@ edition = "2021"
license = "Apache-2.0"
name = "swc_node_bundler"
repository = "https://github.com/swc-project/swc.git"
version = "0.47.21"
version = "0.47.22"
[lib]
bench = false
@ -29,9 +29,9 @@ serde_json = "1"
tracing = "0.1.32"
string_enum = { version = "0.4.0", path = "../string_enum" }
swc = { version = "0.260.21", path = "../swc" }
swc = { version = "0.260.22", path = "../swc" }
swc_atoms = { version = "0.5.3", path = "../swc_atoms" }
swc_bundler = { version = "0.213.15", path = "../swc_bundler", features = [
swc_bundler = { version = "0.213.16", path = "../swc_bundler", features = [
"concurrent",
] }
swc_common = { version = "0.31.4", path = "../swc_common", features = [
@ -41,7 +41,7 @@ swc_ecma_ast = { version = "0.103.4", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.138.9", path = "../swc_ecma_codegen" }
swc_ecma_loader = { version = "0.43.5", path = "../swc_ecma_loader" }
swc_ecma_parser = { version = "0.133.8", path = "../swc_ecma_parser" }
swc_ecma_transforms = { version = "0.217.13", path = "../swc_ecma_transforms" }
swc_ecma_transforms = { version = "0.217.14", path = "../swc_ecma_transforms" }
swc_ecma_utils = { version = "0.116.8", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.89.4", path = "../swc_ecma_visit" }
swc_node_base = { version = "0.5.8", path = "../swc_node_base" }