chore: Publish crates

This commit is contained in:
SWC Bot 2022-10-14 00:35:25 +00:00
parent 3d271e82a2
commit 3ff55caa38
13 changed files with 40 additions and 37 deletions

View File

@ -10,6 +10,9 @@
- **(css/modules)** Fix parsing and refactor code (#6132) ([39cfade](https://github.com/swc-project/swc/commit/39cfade7f8b199b9db3240ffd561524f2f209798)) - **(css/modules)** Fix parsing and refactor code (#6132) ([39cfade](https://github.com/swc-project/swc/commit/39cfade7f8b199b9db3240ffd561524f2f209798))
- **(es/minifier)** Preserve return values of recursive IIFE (#6142) ([3d271e8](https://github.com/swc-project/swc/commit/3d271e82a2ec3ac69ee36e5b1f090bf323f56046))
### Features ### Features

22
Cargo.lock generated
View File

@ -168,7 +168,7 @@ dependencies = [
[[package]] [[package]]
name = "binding_macros" name = "binding_macros"
version = "0.20.19" version = "0.20.20"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"console_error_panic_hook", "console_error_panic_hook",
@ -742,7 +742,7 @@ dependencies = [
[[package]] [[package]]
name = "dbg-swc" name = "dbg-swc"
version = "0.58.28" version = "0.58.29"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap 3.1.0", "clap 3.1.0",
@ -2948,7 +2948,7 @@ dependencies = [
[[package]] [[package]]
name = "swc" name = "swc"
version = "0.232.19" version = "0.232.20"
dependencies = [ dependencies = [
"ahash", "ahash",
"ansi_term", "ansi_term",
@ -3019,7 +3019,7 @@ dependencies = [
[[package]] [[package]]
name = "swc_bundler" name = "swc_bundler"
version = "0.192.19" version = "0.192.20"
dependencies = [ dependencies = [
"ahash", "ahash",
"anyhow", "anyhow",
@ -3134,7 +3134,7 @@ dependencies = [
[[package]] [[package]]
name = "swc_core" name = "swc_core"
version = "0.38.3" version = "0.38.4"
dependencies = [ dependencies = [
"binding_macros", "binding_macros",
"once_cell", "once_cell",
@ -3493,7 +3493,7 @@ dependencies = [
[[package]] [[package]]
name = "swc_ecma_minifier" name = "swc_ecma_minifier"
version = "0.159.19" version = "0.159.20"
dependencies = [ dependencies = [
"ahash", "ahash",
"ansi_term", "ansi_term",
@ -3915,7 +3915,7 @@ dependencies = [
[[package]] [[package]]
name = "swc_ecmascript" name = "swc_ecmascript"
version = "0.205.19" version = "0.205.20"
dependencies = [ dependencies = [
"swc_ecma_ast", "swc_ecma_ast",
"swc_ecma_codegen", "swc_ecma_codegen",
@ -3963,7 +3963,7 @@ dependencies = [
[[package]] [[package]]
name = "swc_estree_compat" name = "swc_estree_compat"
version = "0.154.19" version = "0.154.20"
dependencies = [ dependencies = [
"ahash", "ahash",
"anyhow", "anyhow",
@ -4011,7 +4011,7 @@ dependencies = [
[[package]] [[package]]
name = "swc_html" name = "swc_html"
version = "0.88.3" version = "0.88.4"
dependencies = [ dependencies = [
"swc_html_ast", "swc_html_ast",
"swc_html_codegen", "swc_html_codegen",
@ -4063,7 +4063,7 @@ dependencies = [
[[package]] [[package]]
name = "swc_html_minifier" name = "swc_html_minifier"
version = "0.85.3" version = "0.85.4"
dependencies = [ dependencies = [
"criterion", "criterion",
"once_cell", "once_cell",
@ -4149,7 +4149,7 @@ dependencies = [
[[package]] [[package]]
name = "swc_node_bundler" name = "swc_node_bundler"
version = "0.18.19" version = "0.18.20"
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.20.19" version = "0.20.20"
[lib] [lib]
bench = false bench = false
@ -30,7 +30,7 @@ binding_wasm = [
[dependencies] [dependencies]
# Common deps for the SWC imports # Common deps for the SWC imports
swc = { optional = true, version = "0.232.19", path = "../swc" } swc = { optional = true, version = "0.232.20", path = "../swc" }
swc_common = { optional = true, version = "0.29.8", path = "../swc_common" } swc_common = { optional = true, version = "0.29.8", path = "../swc_common" }
swc_ecma_ast = { optional = true, version = "0.94.11", path = "../swc_ecma_ast" } swc_ecma_ast = { optional = true, version = "0.94.11", path = "../swc_ecma_ast" }
swc_ecma_transforms = { optional = true, version = "0.198.9", path = "../swc_ecma_transforms" } swc_ecma_transforms = { optional = true, version = "0.198.9", 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.58.28" version = "0.58.29"
[[bin]] [[bin]]
bench = false bench = false
@ -27,7 +27,7 @@ swc_common = { version = "0.29.8", features = [
], path = "../swc_common" } ], path = "../swc_common" }
swc_ecma_ast = { version = "0.94.11", path = "../swc_ecma_ast" } swc_ecma_ast = { version = "0.94.11", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.127.15", path = "../swc_ecma_codegen" } swc_ecma_codegen = { version = "0.127.15", path = "../swc_ecma_codegen" }
swc_ecma_minifier = { version = "0.159.19", path = "../swc_ecma_minifier", features = [ swc_ecma_minifier = { version = "0.159.20", path = "../swc_ecma_minifier", features = [
"concurrent", "concurrent",
] } ] }
swc_ecma_parser = { version = "0.122.12", path = "../swc_ecma_parser" } swc_ecma_parser = { version = "0.122.12", 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.232.19" version = "0.232.20"
[lib] [lib]
bench = false bench = false
@ -75,7 +75,7 @@ swc_ecma_loader = { version = "0.41.9", path = "../swc_ecma_loader", features =
"node", "node",
"tsc", "tsc",
] } ] }
swc_ecma_minifier = { version = "0.159.19", path = "../swc_ecma_minifier" } swc_ecma_minifier = { version = "0.159.20", path = "../swc_ecma_minifier" }
swc_ecma_parser = { version = "0.122.12", path = "../swc_ecma_parser" } swc_ecma_parser = { version = "0.122.12", path = "../swc_ecma_parser" }
swc_ecma_preset_env = { version = "0.174.9", path = "../swc_ecma_preset_env" } swc_ecma_preset_env = { version = "0.174.9", path = "../swc_ecma_preset_env" }
swc_ecma_transforms = { version = "0.198.9", path = "../swc_ecma_transforms", features = [ swc_ecma_transforms = { version = "0.198.9", 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.192.19" version = "0.192.20"
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true
@ -61,7 +61,7 @@ swc_ecma_loader = { version = "0.41.9", path = "../swc_ecma_loader", features =
"node", "node",
"cache", "cache",
] } ] }
swc_ecma_minifier = { version = "0.159.19", path = "../swc_ecma_minifier", features = [ swc_ecma_minifier = { version = "0.159.20", path = "../swc_ecma_minifier", features = [
"concurrent", "concurrent",
] } ] }
swc_ecma_transforms_proposal = { version = "0.144.9", path = "../swc_ecma_transforms_proposal" } swc_ecma_transforms_proposal = { version = "0.144.9", 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.38.3" version = "0.38.4"
[package.metadata.docs.rs] [package.metadata.docs.rs]
features = [ features = [
"common_perf", "common_perf",
@ -317,10 +317,10 @@ wasmer = { optional = true, version = "2.3.0", default-features = false }
wasmer-wasi = { optional = true, version = "2.3.0", default-features = false } wasmer-wasi = { optional = true, version = "2.3.0", default-features = false }
# swc_* dependencies # swc_* dependencies
binding_macros = { optional = true, version = "0.20.19", path = "../binding_macros" } binding_macros = { optional = true, version = "0.20.20", path = "../binding_macros" }
swc = { optional = true, version = "0.232.19", path = "../swc" } swc = { optional = true, version = "0.232.20", path = "../swc" }
swc_atoms = { optional = true, version = "0.4.21", path = "../swc_atoms" } swc_atoms = { optional = true, version = "0.4.21", path = "../swc_atoms" }
swc_bundler = { optional = true, version = "0.192.19", path = "../swc_bundler" } swc_bundler = { optional = true, version = "0.192.20", path = "../swc_bundler" }
swc_cached = { optional = true, version = "0.3.15", path = "../swc_cached" } swc_cached = { optional = true, version = "0.3.15", path = "../swc_cached" }
swc_common = { optional = true, version = "0.29.8", path = "../swc_common" } swc_common = { optional = true, version = "0.29.8", path = "../swc_common" }
swc_css_ast = { optional = true, version = "0.122.1", path = "../swc_css_ast" } swc_css_ast = { optional = true, version = "0.122.1", path = "../swc_css_ast" }
@ -333,7 +333,7 @@ swc_css_visit = { optional = true, version = "0.121.1", path
swc_ecma_ast = { optional = true, version = "0.94.11", path = "../swc_ecma_ast" } swc_ecma_ast = { optional = true, version = "0.94.11", path = "../swc_ecma_ast" }
swc_ecma_codegen = { optional = true, version = "0.127.15", path = "../swc_ecma_codegen" } swc_ecma_codegen = { optional = true, version = "0.127.15", path = "../swc_ecma_codegen" }
swc_ecma_loader = { optional = true, version = "0.41.9", path = "../swc_ecma_loader" } swc_ecma_loader = { optional = true, version = "0.41.9", path = "../swc_ecma_loader" }
swc_ecma_minifier = { optional = true, version = "0.159.19", path = "../swc_ecma_minifier" } swc_ecma_minifier = { optional = true, version = "0.159.20", path = "../swc_ecma_minifier" }
swc_ecma_parser = { optional = true, version = "0.122.12", path = "../swc_ecma_parser" } swc_ecma_parser = { optional = true, version = "0.122.12", path = "../swc_ecma_parser" }
swc_ecma_preset_env = { optional = true, version = "0.174.9", path = "../swc_ecma_preset_env" } swc_ecma_preset_env = { optional = true, version = "0.174.9", path = "../swc_ecma_preset_env" }
swc_ecma_quote_macros = { optional = true, version = "0.33.12", path = "../swc_ecma_quote_macros" } swc_ecma_quote_macros = { optional = true, version = "0.33.12", path = "../swc_ecma_quote_macros" }
@ -347,7 +347,7 @@ swc_ecma_transforms_typescript = { optional = true, version = "0.159.9", path
swc_ecma_utils = { optional = true, version = "0.105.16", path = "../swc_ecma_utils" } swc_ecma_utils = { optional = true, version = "0.105.16", path = "../swc_ecma_utils" }
swc_ecma_visit = { optional = true, version = "0.80.11", path = "../swc_ecma_visit" } swc_ecma_visit = { optional = true, version = "0.80.11", path = "../swc_ecma_visit" }
swc_node_base = { optional = true, version = "0.5.5", path = "../swc_node_base" } swc_node_base = { optional = true, version = "0.5.5", path = "../swc_node_base" }
swc_node_bundler = { optional = true, version = "0.18.19", path = "../swc_node_bundler" } swc_node_bundler = { optional = true, version = "0.18.20", path = "../swc_node_bundler" }
swc_nodejs_common = { optional = true, version = "0.0.1", path = "../swc_nodejs_common" } swc_nodejs_common = { optional = true, version = "0.0.1", 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.8", path = "../swc_plugin_macro" } swc_plugin_macro = { optional = true, version = "0.9.8", 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.159.19" version = "0.159.20"
[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.205.19" version = "0.205.20"
[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.94.11", path = "../swc_ecma_ast" } swc_ecma_ast = { version = "0.94.11", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.127.15", path = "../swc_ecma_codegen", optional = true } swc_ecma_codegen = { version = "0.127.15", path = "../swc_ecma_codegen", optional = true }
swc_ecma_dep_graph = { version = "0.94.12", path = "../swc_ecma_dep_graph", optional = true } swc_ecma_dep_graph = { version = "0.94.12", path = "../swc_ecma_dep_graph", optional = true }
swc_ecma_minifier = { version = "0.159.19", path = "../swc_ecma_minifier", optional = true } swc_ecma_minifier = { version = "0.159.20", path = "../swc_ecma_minifier", optional = true }
swc_ecma_parser = { version = "0.122.12", path = "../swc_ecma_parser", optional = true, default-features = false } swc_ecma_parser = { version = "0.122.12", path = "../swc_ecma_parser", optional = true, default-features = false }
swc_ecma_preset_env = { version = "0.174.9", path = "../swc_ecma_preset_env", optional = true } swc_ecma_preset_env = { version = "0.174.9", path = "../swc_ecma_preset_env", optional = true }
swc_ecma_quote = { version = "0.38.14", path = "../swc_ecma_quote", optional = true } swc_ecma_quote = { version = "0.38.14", 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.154.19" version = "0.154.20"
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true
@ -38,7 +38,7 @@ swc_node_comments = { version = "0.16.8", path = "../swc_node_comments/" }
[dev-dependencies] [dev-dependencies]
criterion = "0.3" criterion = "0.3"
pretty_assertions = "1.1" pretty_assertions = "1.1"
swc = { version = "0.232.19", path = "../swc" } swc = { version = "0.232.20", path = "../swc" }
swc_ecma_ast = { version = "0.94.11", path = "../swc_ecma_ast" } swc_ecma_ast = { version = "0.94.11", path = "../swc_ecma_ast" }
swc_ecma_parser = { version = "0.122.12", path = "../swc_ecma_parser" } swc_ecma_parser = { version = "0.122.12", path = "../swc_ecma_parser" }
swc_ecma_transforms = { version = "0.198.9", path = "../swc_ecma_transforms/" } swc_ecma_transforms = { version = "0.198.9", 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.88.3" version = "0.88.4"
[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.26.10", path = "../swc_html_ast"} swc_html_ast = {version = "0.26.10", path = "../swc_html_ast"}
swc_html_codegen = {version = "0.35.12", path = "../swc_html_codegen"} swc_html_codegen = {version = "0.35.12", path = "../swc_html_codegen"}
swc_html_minifier = {version = "0.85.3", path = "../swc_html_minifier", optional = true} swc_html_minifier = {version = "0.85.4", path = "../swc_html_minifier", optional = true}
swc_html_parser = {version = "0.32.11", path = "../swc_html_parser"} swc_html_parser = {version = "0.32.11", path = "../swc_html_parser"}
swc_html_visit = {version = "0.26.10", path = "../swc_html_visit"} swc_html_visit = {version = "0.26.10", 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.85.3" version = "0.85.4"
[lib] [lib]
bench = false bench = false
@ -28,7 +28,7 @@ swc_css_minifier = { version = "0.97.1", path = "../swc_css_minifier" }
swc_css_parser = { version = "0.131.1", path = "../swc_css_parser" } swc_css_parser = { version = "0.131.1", path = "../swc_css_parser" }
swc_ecma_ast = { version = "0.94.11", path = "../swc_ecma_ast" } swc_ecma_ast = { version = "0.94.11", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.127.15", path = "../swc_ecma_codegen" } swc_ecma_codegen = { version = "0.127.15", path = "../swc_ecma_codegen" }
swc_ecma_minifier = { version = "0.159.19", path = "../swc_ecma_minifier" } swc_ecma_minifier = { version = "0.159.20", path = "../swc_ecma_minifier" }
swc_ecma_parser = { version = "0.122.12", path = "../swc_ecma_parser" } swc_ecma_parser = { version = "0.122.12", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "0.111.23", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_base = { version = "0.111.23", path = "../swc_ecma_transforms_base" }
swc_ecma_visit = { version = "0.80.11", path = "../swc_ecma_visit" } swc_ecma_visit = { version = "0.80.11", path = "../swc_ecma_visit" }

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.18.19" version = "0.18.20"
[lib] [lib]
bench = false bench = false
@ -26,9 +26,9 @@ regex = "1"
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
serde_json = "1" serde_json = "1"
string_enum = { version = "0.3.2", path = "../string_enum" } string_enum = { version = "0.3.2", path = "../string_enum" }
swc = { version = "0.232.19", path = "../swc" } swc = { version = "0.232.20", path = "../swc" }
swc_atoms = { version = "0.4.21", path = "../swc_atoms" } swc_atoms = { version = "0.4.21", path = "../swc_atoms" }
swc_bundler = { version = "0.192.19", path = "../swc_bundler", features = [ swc_bundler = { version = "0.192.20", path = "../swc_bundler", features = [
"concurrent", "concurrent",
] } ] }
swc_common = { version = "0.29.8", path = "../swc_common", features = [ swc_common = { version = "0.29.8", path = "../swc_common", features = [