chore: Publish crates

This commit is contained in:
SWC Bot 2023-07-14 20:56:32 +00:00
parent 04b0f6d823
commit bed73c168c
14 changed files with 47 additions and 41 deletions

View File

@ -1,6 +1,12 @@
# Changelog # Changelog
## [unreleased] ## [unreleased]
### Features
- **(es/minifier)** Drop recursively used var declaration (#7649) ([04b0f6d](https://github.com/swc-project/swc/commit/04b0f6d8234bdcc34815a558c4c9eecf24c8e4e7))
### Testing ### Testing

24
Cargo.lock generated
View File

@ -235,7 +235,7 @@ dependencies = [
[[package]] [[package]]
name = "binding_macros" name = "binding_macros"
version = "0.53.14" version = "0.53.15"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"console_error_panic_hook", "console_error_panic_hook",
@ -964,7 +964,7 @@ checksum = "23d8666cb01533c39dde32bcbab8e227b4ed6679b2c925eba05feabea39508fb"
[[package]] [[package]]
name = "dbg-swc" name = "dbg-swc"
version = "0.84.17" version = "0.84.18"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap 3.1.0", "clap 3.1.0",
@ -3525,7 +3525,7 @@ dependencies = [
[[package]] [[package]]
name = "swc" name = "swc"
version = "0.264.14" version = "0.264.15"
dependencies = [ dependencies = [
"ahash 0.8.3", "ahash 0.8.3",
"ansi_term", "ansi_term",
@ -3596,7 +3596,7 @@ dependencies = [
[[package]] [[package]]
name = "swc_bundler" name = "swc_bundler"
version = "0.217.12" version = "0.217.13"
dependencies = [ dependencies = [
"ahash 0.8.3", "ahash 0.8.3",
"anyhow", "anyhow",
@ -3709,7 +3709,7 @@ dependencies = [
[[package]] [[package]]
name = "swc_core" name = "swc_core"
version = "0.79.15" version = "0.79.16"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"binding_macros", "binding_macros",
@ -4068,7 +4068,7 @@ dependencies = [
[[package]] [[package]]
name = "swc_ecma_minifier" name = "swc_ecma_minifier"
version = "0.184.12" version = "0.184.13"
dependencies = [ dependencies = [
"ahash 0.8.3", "ahash 0.8.3",
"ansi_term", "ansi_term",
@ -4465,7 +4465,7 @@ dependencies = [
[[package]] [[package]]
name = "swc_ecma_usage_analyzer" name = "swc_ecma_usage_analyzer"
version = "0.16.4" version = "0.16.5"
dependencies = [ dependencies = [
"ahash 0.8.3", "ahash 0.8.3",
"indexmap", "indexmap",
@ -4513,7 +4513,7 @@ dependencies = [
[[package]] [[package]]
name = "swc_ecmascript" name = "swc_ecmascript"
version = "0.231.13" version = "0.231.14"
dependencies = [ dependencies = [
"swc_ecma_ast", "swc_ecma_ast",
"swc_ecma_codegen", "swc_ecma_codegen",
@ -4561,7 +4561,7 @@ dependencies = [
[[package]] [[package]]
name = "swc_estree_compat" name = "swc_estree_compat"
version = "0.187.14" version = "0.187.15"
dependencies = [ dependencies = [
"ahash 0.8.3", "ahash 0.8.3",
"anyhow", "anyhow",
@ -4609,7 +4609,7 @@ dependencies = [
[[package]] [[package]]
name = "swc_html" name = "swc_html"
version = "0.127.12" version = "0.127.13"
dependencies = [ dependencies = [
"swc_html_ast", "swc_html_ast",
"swc_html_codegen", "swc_html_codegen",
@ -4660,7 +4660,7 @@ dependencies = [
[[package]] [[package]]
name = "swc_html_minifier" name = "swc_html_minifier"
version = "0.124.12" version = "0.124.13"
dependencies = [ dependencies = [
"criterion", "criterion",
"once_cell", "once_cell",
@ -4746,7 +4746,7 @@ dependencies = [
[[package]] [[package]]
name = "swc_node_bundler" name = "swc_node_bundler"
version = "0.51.14" version = "0.51.15"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"dashmap", "dashmap",

View File

@ -5,7 +5,7 @@ edition = "2021"
license = "Apache-2.0" license = "Apache-2.0"
name = "binding_macros" name = "binding_macros"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.53.14" version = "0.53.15"
[lib] [lib]
bench = false bench = false
@ -33,7 +33,7 @@ binding_wasm = [
[dependencies] [dependencies]
# Common deps for the SWC imports # Common deps for the SWC imports
swc = { optional = true, version = "0.264.14", path = "../swc" } swc = { optional = true, version = "0.264.15", path = "../swc" }
swc_common = { optional = true, version = "0.31.17", path = "../swc_common" } swc_common = { optional = true, version = "0.31.17", path = "../swc_common" }
swc_ecma_ast = { optional = true, version = "0.107.1", path = "../swc_ecma_ast" } swc_ecma_ast = { optional = true, version = "0.107.1", path = "../swc_ecma_ast" }
swc_ecma_transforms = { optional = true, version = "0.221.8", path = "../swc_ecma_transforms" } swc_ecma_transforms = { optional = true, version = "0.221.8", path = "../swc_ecma_transforms" }

View File

@ -5,7 +5,7 @@ edition = "2021"
license = "Apache-2.0" license = "Apache-2.0"
name = "dbg-swc" name = "dbg-swc"
repository = "https://github.com/kdy1/dbg-swc.git" repository = "https://github.com/kdy1/dbg-swc.git"
version = "0.84.17" version = "0.84.18"
[[bin]] [[bin]]
bench = false bench = false
@ -32,7 +32,7 @@ swc_common = { version = "0.31.17", features = [
], path = "../swc_common" } ], path = "../swc_common" }
swc_ecma_ast = { version = "0.107.1", path = "../swc_ecma_ast" } swc_ecma_ast = { version = "0.107.1", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.142.3", path = "../swc_ecma_codegen" } swc_ecma_codegen = { version = "0.142.3", path = "../swc_ecma_codegen" }
swc_ecma_minifier = { version = "0.184.12", path = "../swc_ecma_minifier", features = [ swc_ecma_minifier = { version = "0.184.13", path = "../swc_ecma_minifier", features = [
"concurrent", "concurrent",
] } ] }
swc_ecma_parser = { version = "0.137.3", path = "../swc_ecma_parser" } swc_ecma_parser = { version = "0.137.3", path = "../swc_ecma_parser" }

View File

@ -9,7 +9,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0" license = "Apache-2.0"
name = "swc" name = "swc"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.264.14" version = "0.264.15"
[lib] [lib]
bench = false bench = false
@ -83,7 +83,7 @@ swc_ecma_loader = { version = "0.43.19", path = "../swc_ecma_loader", features =
"node", "node",
"tsc", "tsc",
] } ] }
swc_ecma_minifier = { version = "0.184.12", path = "../swc_ecma_minifier" } swc_ecma_minifier = { version = "0.184.13", path = "../swc_ecma_minifier" }
swc_ecma_parser = { version = "0.137.3", path = "../swc_ecma_parser" } swc_ecma_parser = { version = "0.137.3", path = "../swc_ecma_parser" }
swc_ecma_preset_env = { version = "0.198.9", path = "../swc_ecma_preset_env" } swc_ecma_preset_env = { version = "0.198.9", path = "../swc_ecma_preset_env" }
swc_ecma_transforms = { version = "0.221.8", path = "../swc_ecma_transforms", features = [ swc_ecma_transforms = { version = "0.221.8", path = "../swc_ecma_transforms", features = [

View File

@ -9,7 +9,7 @@ include = ["Cargo.toml", "build.rs", "src/**/*.rs", "src/**/*.js"]
license = "Apache-2.0" license = "Apache-2.0"
name = "swc_bundler" name = "swc_bundler"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.217.12" version = "0.217.13"
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true
@ -64,7 +64,7 @@ swc_ecma_loader = { version = "0.43.19", path = "../swc_ecma_loader", features =
"node", "node",
"cache", "cache",
] } ] }
swc_ecma_minifier = { version = "0.184.12", path = "../swc_ecma_minifier", features = [ swc_ecma_minifier = { version = "0.184.13", path = "../swc_ecma_minifier", features = [
"concurrent", "concurrent",
] } ] }
swc_ecma_transforms_proposal = { version = "0.164.7", path = "../swc_ecma_transforms_proposal" } swc_ecma_transforms_proposal = { version = "0.164.7", path = "../swc_ecma_transforms_proposal" }

View File

@ -6,7 +6,7 @@ edition = "2021"
license = "Apache-2.0" license = "Apache-2.0"
name = "swc_core" name = "swc_core"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.79.15" version = "0.79.16"
[package.metadata.docs.rs] [package.metadata.docs.rs]
features = [ features = [
"common_perf", "common_perf",
@ -325,10 +325,10 @@ __visit = ["__ecma", "swc_ecma_visit"]
once_cell = { optional = true, version = "1.18.0" } once_cell = { optional = true, version = "1.18.0" }
# swc_* dependencies # swc_* dependencies
binding_macros = { optional = true, version = "0.53.14", path = "../binding_macros" } binding_macros = { optional = true, version = "0.53.15", path = "../binding_macros" }
swc = { optional = true, version = "0.264.14", path = "../swc" } swc = { optional = true, version = "0.264.15", path = "../swc" }
swc_atoms = { optional = true, version = "0.5.7", path = "../swc_atoms" } swc_atoms = { optional = true, version = "0.5.7", path = "../swc_atoms" }
swc_bundler = { optional = true, version = "0.217.12", path = "../swc_bundler" } swc_bundler = { optional = true, version = "0.217.13", path = "../swc_bundler" }
swc_cached = { optional = true, version = "0.3.17", path = "../swc_cached" } swc_cached = { optional = true, version = "0.3.17", path = "../swc_cached" }
swc_common = { optional = true, version = "0.31.17", path = "../swc_common" } swc_common = { optional = true, version = "0.31.17", path = "../swc_common" }
swc_css_ast = { optional = true, version = "0.137.17", path = "../swc_css_ast" } swc_css_ast = { optional = true, version = "0.137.17", path = "../swc_css_ast" }
@ -343,7 +343,7 @@ swc_css_visit = { optional = true, version = "0.136.17", path
swc_ecma_ast = { optional = true, version = "0.107.1", path = "../swc_ecma_ast" } swc_ecma_ast = { optional = true, version = "0.107.1", path = "../swc_ecma_ast" }
swc_ecma_codegen = { optional = true, version = "0.142.3", path = "../swc_ecma_codegen" } swc_ecma_codegen = { optional = true, version = "0.142.3", path = "../swc_ecma_codegen" }
swc_ecma_loader = { optional = true, version = "0.43.19", path = "../swc_ecma_loader" } swc_ecma_loader = { optional = true, version = "0.43.19", path = "../swc_ecma_loader" }
swc_ecma_minifier = { optional = true, version = "0.184.12", path = "../swc_ecma_minifier" } swc_ecma_minifier = { optional = true, version = "0.184.13", path = "../swc_ecma_minifier" }
swc_ecma_parser = { optional = true, version = "0.137.3", path = "../swc_ecma_parser" } swc_ecma_parser = { optional = true, version = "0.137.3", path = "../swc_ecma_parser" }
swc_ecma_preset_env = { optional = true, version = "0.198.9", path = "../swc_ecma_preset_env" } swc_ecma_preset_env = { optional = true, version = "0.198.9", path = "../swc_ecma_preset_env" }
swc_ecma_quote_macros = { optional = true, version = "0.48.3", path = "../swc_ecma_quote_macros" } swc_ecma_quote_macros = { optional = true, version = "0.48.3", path = "../swc_ecma_quote_macros" }
@ -355,11 +355,11 @@ swc_ecma_transforms_proposal = { optional = true, version = "0.164.7", path
swc_ecma_transforms_react = { optional = true, version = "0.176.7", path = "../swc_ecma_transforms_react" } swc_ecma_transforms_react = { optional = true, version = "0.176.7", path = "../swc_ecma_transforms_react" }
swc_ecma_transforms_testing = { optional = true, version = "0.133.3", path = "../swc_ecma_transforms_testing" } swc_ecma_transforms_testing = { optional = true, version = "0.133.3", path = "../swc_ecma_transforms_testing" }
swc_ecma_transforms_typescript = { optional = true, version = "0.180.7", path = "../swc_ecma_transforms_typescript" } swc_ecma_transforms_typescript = { optional = true, version = "0.180.7", path = "../swc_ecma_transforms_typescript" }
swc_ecma_usage_analyzer = { optional = true, version = "0.16.4", path = "../swc_ecma_usage_analyzer" } swc_ecma_usage_analyzer = { optional = true, version = "0.16.5", path = "../swc_ecma_usage_analyzer" }
swc_ecma_utils = { optional = true, version = "0.120.3", path = "../swc_ecma_utils" } swc_ecma_utils = { optional = true, version = "0.120.3", path = "../swc_ecma_utils" }
swc_ecma_visit = { optional = true, version = "0.93.1", path = "../swc_ecma_visit" } swc_ecma_visit = { optional = true, version = "0.93.1", path = "../swc_ecma_visit" }
swc_node_base = { optional = true, version = "0.5.8", path = "../swc_node_base" } swc_node_base = { optional = true, version = "0.5.8", path = "../swc_node_base" }
swc_node_bundler = { optional = true, version = "0.51.14", path = "../swc_node_bundler" } swc_node_bundler = { optional = true, version = "0.51.15", path = "../swc_node_bundler" }
swc_nodejs_common = { optional = true, version = "0.0.8", path = "../swc_nodejs_common" } swc_nodejs_common = { optional = true, version = "0.0.8", path = "../swc_nodejs_common" }
swc_plugin = { optional = true, version = "0.90.0", path = "../swc_plugin" } swc_plugin = { optional = true, version = "0.90.0", path = "../swc_plugin" }
swc_plugin_macro = { optional = true, version = "0.9.15", path = "../swc_plugin_macro" } swc_plugin_macro = { optional = true, version = "0.9.15", path = "../swc_plugin_macro" }

View File

@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "src/lists/*.json"]
license = "Apache-2.0" license = "Apache-2.0"
name = "swc_ecma_minifier" name = "swc_ecma_minifier"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.184.12" version = "0.184.13"
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true
@ -62,7 +62,7 @@ swc_ecma_codegen = { version = "0.142.3", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "0.137.3", path = "../swc_ecma_parser" } swc_ecma_parser = { version = "0.137.3", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "0.130.3", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_base = { version = "0.130.3", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_optimization = { version = "0.190.8", path = "../swc_ecma_transforms_optimization" } swc_ecma_transforms_optimization = { version = "0.190.8", path = "../swc_ecma_transforms_optimization" }
swc_ecma_usage_analyzer = { version = "0.16.4", path = "../swc_ecma_usage_analyzer" } swc_ecma_usage_analyzer = { version = "0.16.5", path = "../swc_ecma_usage_analyzer" }
swc_ecma_utils = { version = "0.120.3", path = "../swc_ecma_utils" } swc_ecma_utils = { version = "0.120.3", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "0.93.1", path = "../swc_ecma_visit" } swc_ecma_visit = { version = "0.93.1", path = "../swc_ecma_visit" }
swc_timer = { version = "0.19.20", path = "../swc_timer" } swc_timer = { version = "0.19.20", path = "../swc_timer" }

View File

@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0" license = "Apache-2.0"
name = "swc_ecma_usage_analyzer" name = "swc_ecma_usage_analyzer"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.16.4" version = "0.16.5"
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true

View File

@ -6,7 +6,7 @@ edition = "2021"
license = "Apache-2.0" license = "Apache-2.0"
name = "swc_ecmascript" name = "swc_ecmascript"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.231.13" version = "0.231.14"
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true
@ -42,7 +42,7 @@ typescript = ["typescript-parser", "swc_ecma_transforms/typescript"]
swc_ecma_ast = { version = "0.107.1", path = "../swc_ecma_ast" } swc_ecma_ast = { version = "0.107.1", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.142.3", path = "../swc_ecma_codegen", optional = true } swc_ecma_codegen = { version = "0.142.3", path = "../swc_ecma_codegen", optional = true }
swc_ecma_dep_graph = { version = "0.109.3", path = "../swc_ecma_dep_graph", optional = true } swc_ecma_dep_graph = { version = "0.109.3", path = "../swc_ecma_dep_graph", optional = true }
swc_ecma_minifier = { version = "0.184.12", path = "../swc_ecma_minifier", optional = true } swc_ecma_minifier = { version = "0.184.13", path = "../swc_ecma_minifier", optional = true }
swc_ecma_parser = { version = "0.137.3", path = "../swc_ecma_parser", optional = true, default-features = false } swc_ecma_parser = { version = "0.137.3", path = "../swc_ecma_parser", optional = true, default-features = false }
swc_ecma_preset_env = { version = "0.198.9", path = "../swc_ecma_preset_env", optional = true } swc_ecma_preset_env = { version = "0.198.9", path = "../swc_ecma_preset_env", optional = true }
swc_ecma_quote = { version = "0.53.3", path = "../swc_ecma_quote", optional = true } swc_ecma_quote = { version = "0.53.3", path = "../swc_ecma_quote", optional = true }

View File

@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0" license = "Apache-2.0"
name = "swc_estree_compat" name = "swc_estree_compat"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.187.14" version = "0.187.15"
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true
@ -40,7 +40,7 @@ swc_node_comments = { version = "0.18.17", path = "../swc_node_comments/" }
criterion = "0.5" criterion = "0.5"
pretty_assertions = "1.3" pretty_assertions = "1.3"
swc = { version = "0.264.14", path = "../swc" } swc = { version = "0.264.15", path = "../swc" }
swc_ecma_ast = { version = "0.107.1", path = "../swc_ecma_ast" } swc_ecma_ast = { version = "0.107.1", path = "../swc_ecma_ast" }
swc_ecma_parser = { version = "0.137.3", path = "../swc_ecma_parser" } swc_ecma_parser = { version = "0.137.3", path = "../swc_ecma_parser" }
swc_ecma_transforms = { version = "0.221.8", path = "../swc_ecma_transforms/" } swc_ecma_transforms = { version = "0.221.8", path = "../swc_ecma_transforms/" }

View File

@ -6,7 +6,7 @@ edition = "2021"
license = "Apache-2.0" license = "Apache-2.0"
name = "swc_html" name = "swc_html"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.127.12" version = "0.127.13"
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true
@ -21,6 +21,6 @@ minifier = ["swc_html_minifier"]
[dependencies] [dependencies]
swc_html_ast = {version = "0.31.17", path = "../swc_html_ast"} swc_html_ast = {version = "0.31.17", path = "../swc_html_ast"}
swc_html_codegen = {version = "0.40.20", path = "../swc_html_codegen"} swc_html_codegen = {version = "0.40.20", path = "../swc_html_codegen"}
swc_html_minifier = {version = "0.124.12", path = "../swc_html_minifier", optional = true} swc_html_minifier = {version = "0.124.13", path = "../swc_html_minifier", optional = true}
swc_html_parser = {version = "0.37.20", path = "../swc_html_parser"} swc_html_parser = {version = "0.37.20", path = "../swc_html_parser"}
swc_html_visit = {version = "0.31.17", path = "../swc_html_visit"} swc_html_visit = {version = "0.31.17", path = "../swc_html_visit"}

View File

@ -10,7 +10,7 @@ include = ["Cargo.toml", "src/**/*.rs", "data/**/*.json"]
license = "Apache-2.0" license = "Apache-2.0"
name = "swc_html_minifier" name = "swc_html_minifier"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.124.12" version = "0.124.13"
[lib] [lib]
bench = false bench = false
@ -31,7 +31,7 @@ swc_ecma_ast = { version = "0.107.1", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.142.3", path = "../swc_ecma_codegen", features = [ swc_ecma_codegen = { version = "0.142.3", path = "../swc_ecma_codegen", features = [
"serde-impl", "serde-impl",
] } ] }
swc_ecma_minifier = { version = "0.184.12", path = "../swc_ecma_minifier", features = [ swc_ecma_minifier = { version = "0.184.13", path = "../swc_ecma_minifier", features = [
"extra-serde", "extra-serde",
] } ] }
swc_ecma_parser = { version = "0.137.3", path = "../swc_ecma_parser" } swc_ecma_parser = { version = "0.137.3", path = "../swc_ecma_parser" }

View File

@ -7,7 +7,7 @@ edition = "2021"
license = "Apache-2.0" license = "Apache-2.0"
name = "swc_node_bundler" name = "swc_node_bundler"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.51.14" version = "0.51.15"
[lib] [lib]
bench = false bench = false
@ -29,9 +29,9 @@ serde_json = "1"
tracing = "0.1.37" tracing = "0.1.37"
string_enum = { version = "0.4.1", path = "../string_enum" } string_enum = { version = "0.4.1", path = "../string_enum" }
swc = { version = "0.264.14", path = "../swc" } swc = { version = "0.264.15", path = "../swc" }
swc_atoms = { version = "0.5.7", path = "../swc_atoms" } swc_atoms = { version = "0.5.7", path = "../swc_atoms" }
swc_bundler = { version = "0.217.12", path = "../swc_bundler", features = [ swc_bundler = { version = "0.217.13", path = "../swc_bundler", features = [
"concurrent", "concurrent",
] } ] }
swc_common = { version = "0.31.17", path = "../swc_common", features = [ swc_common = { version = "0.31.17", path = "../swc_common", features = [