From fbf83db0e792fbd864f68fa51b40141db350eb8c Mon Sep 17 00:00:00 2001 From: SWC Bot Date: Thu, 8 Dec 2022 05:51:07 +0000 Subject: [PATCH] chore: Publish crates --- CHANGELOG.md | 3 +++ Cargo.lock | 20 ++++++++++---------- crates/swc_core/Cargo.toml | 14 +++++++------- crates/swc_css/Cargo.toml | 14 +++++++------- crates/swc_css_codegen/Cargo.toml | 4 ++-- crates/swc_css_compat/Cargo.toml | 6 +++--- crates/swc_css_minifier/Cargo.toml | 6 +++--- crates/swc_css_modules/Cargo.toml | 6 +++--- crates/swc_css_prefixer/Cargo.toml | 6 +++--- crates/swc_css_utils/Cargo.toml | 2 +- crates/swc_html/Cargo.toml | 4 ++-- crates/swc_html_minifier/Cargo.toml | 6 +++--- 12 files changed, 47 insertions(+), 44 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 98551104bdf3..6089af3712a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -80,6 +80,9 @@ - **(css/ast)** Reduce token size (#6569) ([8633d27](https://github.com/swc-project/swc/commit/8633d27df0f429cd024c3b36f686c136b2bb945f)) +- **(css/codegen)** Reduce allocations (#6599) ([538d63e](https://github.com/swc-project/swc/commit/538d63eb800506fd8ff44d238d0cb02a1d3cf478)) + + - **(css/minifier)** Remove redundant clone (#6579) ([70ac028](https://github.com/swc-project/swc/commit/70ac0286e50d8117e918e11131ffb15d77d9ed18)) diff --git a/Cargo.lock b/Cargo.lock index f136b2e8d5d0..37b71bfff443 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3260,7 +3260,7 @@ dependencies = [ [[package]] name = "swc_core" -version = "0.46.11" +version = "0.46.12" dependencies = [ "anyhow", "binding_macros", @@ -3313,7 +3313,7 @@ dependencies = [ [[package]] name = "swc_css" -version = "0.142.8" +version = "0.142.9" dependencies = [ "swc_css_ast", "swc_css_codegen", @@ -3341,7 +3341,7 @@ dependencies = [ [[package]] name = "swc_css_codegen" -version = "0.139.7" +version = "0.139.8" dependencies = [ "auto_impl", "bitflags", @@ -3370,7 +3370,7 @@ dependencies = [ [[package]] name = "swc_css_compat" -version = "0.14.7" +version = "0.14.8" dependencies = [ "once_cell", "serde", @@ -3406,7 +3406,7 @@ dependencies = [ [[package]] name = "swc_css_minifier" -version = "0.104.8" +version = "0.104.9" dependencies = [ "criterion", "serde", @@ -3423,7 +3423,7 @@ dependencies = [ [[package]] name = "swc_css_modules" -version = "0.15.7" +version = "0.15.8" dependencies = [ "rustc-hash", "serde", @@ -3457,7 +3457,7 @@ dependencies = [ [[package]] name = "swc_css_prefixer" -version = "0.140.7" +version = "0.140.8" dependencies = [ "once_cell", "preset_env_base", @@ -3475,7 +3475,7 @@ dependencies = [ [[package]] name = "swc_css_utils" -version = "0.126.3" +version = "0.126.4" dependencies = [ "once_cell", "serde", @@ -4159,7 +4159,7 @@ dependencies = [ [[package]] name = "swc_html" -version = "0.98.12" +version = "0.98.13" dependencies = [ "swc_html_ast", "swc_html_codegen", @@ -4211,7 +4211,7 @@ dependencies = [ [[package]] name = "swc_html_minifier" -version = "0.95.12" +version = "0.95.13" dependencies = [ "criterion", "once_cell", diff --git a/crates/swc_core/Cargo.toml b/crates/swc_core/Cargo.toml index 59d1fbdbe248..ba7526b77719 100644 --- a/crates/swc_core/Cargo.toml +++ b/crates/swc_core/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_core" repository = "https://github.com/swc-project/swc.git" -version = "0.46.11" +version = "0.46.12" [package.metadata.docs.rs] features = [ "common_perf", @@ -347,12 +347,12 @@ swc_bundler = { optional = true, version = "0.193.9", path swc_cached = { optional = true, version = "0.3.15", path = "../swc_cached" } swc_common = { optional = true, version = "0.29.19", path = "../swc_common" } swc_css_ast = { optional = true, version = "0.129.3", path = "../swc_css_ast" } -swc_css_codegen = { optional = true, version = "0.139.7", path = "../swc_css_codegen" } -swc_css_minifier = { optional = true, version = "0.104.8", path = "../swc_css_minifier" } -swc_css_modules = { optional = true, version = "0.15.7", path = "../swc_css_modules" } +swc_css_codegen = { optional = true, version = "0.139.8", path = "../swc_css_codegen" } +swc_css_minifier = { optional = true, version = "0.104.9", path = "../swc_css_minifier" } +swc_css_modules = { optional = true, version = "0.15.8", path = "../swc_css_modules" } swc_css_parser = { optional = true, version = "0.138.7", path = "../swc_css_parser" } -swc_css_prefixer = { optional = true, version = "0.140.7", path = "../swc_css_prefixer" } -swc_css_utils = { optional = true, version = "0.126.3", path = "../swc_css_utils/" } +swc_css_prefixer = { optional = true, version = "0.140.8", path = "../swc_css_prefixer" } +swc_css_utils = { optional = true, version = "0.126.4", path = "../swc_css_utils/" } swc_css_visit = { optional = true, version = "0.128.3", path = "../swc_css_visit" } swc_ecma_ast = { optional = true, version = "0.95.3", path = "../swc_ecma_ast" } swc_ecma_codegen = { optional = true, version = "0.128.5", path = "../swc_ecma_codegen" } @@ -381,7 +381,7 @@ swc_plugin_proxy = { optional = true, version = "0.23.3", path = swc_trace_macro = { optional = true, version = "0.1.2", path = "../swc_trace_macro" } testing = { optional = true, version = "0.31.20", path = "../testing" } # TODO: eventually swc_plugin_runner needs to remove default features -swc_css_compat = { version = "0.14.7", path = "../swc_css_compat", optional = true } +swc_css_compat = { version = "0.14.8", path = "../swc_css_compat", optional = true } swc_plugin_runner = { optional = true, version = "0.79.7", path = "../swc_plugin_runner", default-features = false } [build-dependencies] diff --git a/crates/swc_css/Cargo.toml b/crates/swc_css/Cargo.toml index c16a103fd07b..036d86347d0d 100644 --- a/crates/swc_css/Cargo.toml +++ b/crates/swc_css/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_css" repository = "https://github.com/swc-project/swc.git" -version = "0.142.8" +version = "0.142.9" [package.metadata.docs.rs] all-features = true @@ -23,11 +23,11 @@ prefixer = ["swc_css_prefixer"] [dependencies] swc_css_ast = {version = "0.129.3", path = "../swc_css_ast"} -swc_css_codegen = {version = "0.139.7", path = "../swc_css_codegen"} -swc_css_compat = {version = "0.14.7", path = "../swc_css_compat", optional = true} -swc_css_minifier = {version = "0.104.8", path = "../swc_css_minifier", optional = true} -swc_css_modules = {version = "0.15.7", path = "../swc_css_modules", optional = true} +swc_css_codegen = {version = "0.139.8", path = "../swc_css_codegen"} +swc_css_compat = {version = "0.14.8", path = "../swc_css_compat", optional = true} +swc_css_minifier = {version = "0.104.9", path = "../swc_css_minifier", optional = true} +swc_css_modules = {version = "0.15.8", path = "../swc_css_modules", optional = true} swc_css_parser = {version = "0.138.7", path = "../swc_css_parser"} -swc_css_prefixer = {version = "0.140.7", path = "../swc_css_prefixer", optional = true} -swc_css_utils = {version = "0.126.3", path = "../swc_css_utils/"} +swc_css_prefixer = {version = "0.140.8", path = "../swc_css_prefixer", optional = true} +swc_css_utils = {version = "0.126.4", path = "../swc_css_utils/"} swc_css_visit = {version = "0.128.3", path = "../swc_css_visit"} diff --git a/crates/swc_css_codegen/Cargo.toml b/crates/swc_css_codegen/Cargo.toml index d1c16a9fd576..5b0901d6c819 100644 --- a/crates/swc_css_codegen/Cargo.toml +++ b/crates/swc_css_codegen/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_css_codegen" repository = "https://github.com/swc-project/swc.git" -version = "0.139.7" +version = "0.139.8" [lib] bench = false @@ -21,7 +21,7 @@ swc_atoms = { version = "0.4.25", path = "../swc_atoms" } swc_common = { version = "0.29.19", path = "../swc_common" } swc_css_ast = { version = "0.129.3", path = "../swc_css_ast" } swc_css_codegen_macros = { version = "0.2.0", path = "../swc_css_codegen_macros" } -swc_css_utils = { version = "0.126.3", path = "../swc_css_utils" } +swc_css_utils = { version = "0.126.4", path = "../swc_css_utils" } [dev-dependencies] swc_common = { version = "0.29.19", path = "../swc_common", features = [ diff --git a/crates/swc_css_compat/Cargo.toml b/crates/swc_css_compat/Cargo.toml index df4ddc58a403..4e87baea597e 100644 --- a/crates/swc_css_compat/Cargo.toml +++ b/crates/swc_css_compat/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "src/**/*.json", "data/**/*.json"] license = "Apache-2.0" name = "swc_css_compat" repository = "https://github.com/swc-project/swc.git" -version = "0.14.7" +version = "0.14.8" [lib] bench = false @@ -19,10 +19,10 @@ serde_json = "1.0.61" swc_atoms = {version = "0.4.25", path = "../swc_atoms"} swc_common = {version = "0.29.19", path = "../swc_common"} swc_css_ast = {version = "0.129.3", path = "../swc_css_ast"} -swc_css_utils = {version = "0.126.3", path = "../swc_css_utils/"} +swc_css_utils = {version = "0.126.4", path = "../swc_css_utils/"} swc_css_visit = {version = "0.128.3", path = "../swc_css_visit"} [dev-dependencies] -swc_css_codegen = {version = "0.139.7", path = "../swc_css_codegen"} +swc_css_codegen = {version = "0.139.8", path = "../swc_css_codegen"} swc_css_parser = {version = "0.138.7", path = "../swc_css_parser"} testing = {version = "0.31.20", path = "../testing"} diff --git a/crates/swc_css_minifier/Cargo.toml b/crates/swc_css_minifier/Cargo.toml index 90faab513806..1cab9371248d 100644 --- a/crates/swc_css_minifier/Cargo.toml +++ b/crates/swc_css_minifier/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_css_minifier" repository = "https://github.com/swc-project/swc.git" -version = "0.104.8" +version = "0.104.9" [lib] bench = false @@ -17,12 +17,12 @@ serde = "1.0.118" swc_atoms = { version = "0.4.25", path = "../swc_atoms" } swc_common = { version = "0.29.19", path = "../swc_common" } swc_css_ast = { version = "0.129.3", path = "../swc_css_ast" } -swc_css_utils = { version = "0.126.3", path = "../swc_css_utils/" } +swc_css_utils = { version = "0.126.4", path = "../swc_css_utils/" } swc_css_visit = { version = "0.128.3", path = "../swc_css_visit" } [dev-dependencies] criterion = "0.3" -swc_css_codegen = { version = "0.139.7", path = "../swc_css_codegen" } +swc_css_codegen = { version = "0.139.8", path = "../swc_css_codegen" } swc_css_parser = { version = "0.138.7", path = "../swc_css_parser" } swc_node_base = { version = "0.5.8", path = "../swc_node_base" } testing = { version = "0.31.20", path = "../testing" } diff --git a/crates/swc_css_modules/Cargo.toml b/crates/swc_css_modules/Cargo.toml index b8cc7cf13fa9..4bfa724b2430 100644 --- a/crates/swc_css_modules/Cargo.toml +++ b/crates/swc_css_modules/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_css_modules" repository = "https://github.com/swc-project/swc.git" -version = "0.15.7" +version = "0.15.8" [lib] bench = false @@ -20,11 +20,11 @@ serde = {version = "1", features = ["derive"]} swc_atoms = {version = "0.4.25", path = "../swc_atoms"} swc_common = {version = "0.29.19", path = "../swc_common"} swc_css_ast = {version = "0.129.3", path = "../swc_css_ast"} -swc_css_codegen = {version = "0.139.7", path = "../swc_css_codegen"} +swc_css_codegen = {version = "0.139.8", path = "../swc_css_codegen"} swc_css_parser = {version = "0.138.7", path = "../swc_css_parser"} swc_css_visit = {version = "0.128.3", path = "../swc_css_visit"} [dev-dependencies] serde_json = "1" -swc_css_compat = {version = "0.14.7", path = "../swc_css_compat"} +swc_css_compat = {version = "0.14.8", path = "../swc_css_compat"} testing = {version = "0.31.20", path = "../testing"} diff --git a/crates/swc_css_prefixer/Cargo.toml b/crates/swc_css_prefixer/Cargo.toml index 29a174b6d913..daf41dd9220b 100644 --- a/crates/swc_css_prefixer/Cargo.toml +++ b/crates/swc_css_prefixer/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "src/**/*.json", "data/**/*.json"] license = "Apache-2.0" name = "swc_css_prefixer" repository = "https://github.com/swc-project/swc.git" -version = "0.140.7" +version = "0.140.8" [lib] bench = false @@ -20,10 +20,10 @@ serde_json = "1.0.61" swc_atoms = {version = "0.4.25", path = "../swc_atoms"} swc_common = {version = "0.29.19", path = "../swc_common"} swc_css_ast = {version = "0.129.3", path = "../swc_css_ast"} -swc_css_utils = {version = "0.126.3", path = "../swc_css_utils/"} +swc_css_utils = {version = "0.126.4", path = "../swc_css_utils/"} swc_css_visit = {version = "0.128.3", path = "../swc_css_visit"} [dev-dependencies] -swc_css_codegen = {version = "0.139.7", path = "../swc_css_codegen"} +swc_css_codegen = {version = "0.139.8", path = "../swc_css_codegen"} swc_css_parser = {version = "0.138.7", path = "../swc_css_parser"} testing = {version = "0.31.20", path = "../testing"} diff --git a/crates/swc_css_utils/Cargo.toml b/crates/swc_css_utils/Cargo.toml index 64cfb479f61b..500aad6c1378 100644 --- a/crates/swc_css_utils/Cargo.toml +++ b/crates/swc_css_utils/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "src/**/*.json"] license = "Apache-2.0" name = "swc_css_utils" repository = "https://github.com/swc-project/swc.git" -version = "0.126.3" +version = "0.126.4" [lib] bench = false diff --git a/crates/swc_html/Cargo.toml b/crates/swc_html/Cargo.toml index cd8a39dc0c4f..332a646e1992 100644 --- a/crates/swc_html/Cargo.toml +++ b/crates/swc_html/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_html" repository = "https://github.com/swc-project/swc.git" -version = "0.98.12" +version = "0.98.13" [package.metadata.docs.rs] all-features = true @@ -21,6 +21,6 @@ minifier = ["swc_html_minifier"] [dependencies] swc_html_ast = {version = "0.28.11", path = "../swc_html_ast"} swc_html_codegen = {version = "0.37.20", path = "../swc_html_codegen"} -swc_html_minifier = {version = "0.95.12", path = "../swc_html_minifier", optional = true} +swc_html_minifier = {version = "0.95.13", path = "../swc_html_minifier", optional = true} swc_html_parser = {version = "0.34.20", path = "../swc_html_parser"} swc_html_visit = {version = "0.28.11", path = "../swc_html_visit"} diff --git a/crates/swc_html_minifier/Cargo.toml b/crates/swc_html_minifier/Cargo.toml index 5463a72a7a00..93c84ad3d87f 100644 --- a/crates/swc_html_minifier/Cargo.toml +++ b/crates/swc_html_minifier/Cargo.toml @@ -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.95.12" +version = "0.95.13" [lib] bench = false @@ -23,8 +23,8 @@ swc_atoms = { version = "0.4.25", path = "../swc_atoms" } swc_cached = { version = "0.3.15", path = "../swc_cached" } swc_common = { version = "0.29.19", path = "../swc_common" } swc_css_ast = { version = "0.129.3", path = "../swc_css_ast" } -swc_css_codegen = { version = "0.139.7", path = "../swc_css_codegen" } -swc_css_minifier = { version = "0.104.8", path = "../swc_css_minifier" } +swc_css_codegen = { version = "0.139.8", path = "../swc_css_codegen" } +swc_css_minifier = { version = "0.104.9", path = "../swc_css_minifier" } swc_css_parser = { version = "0.138.7", path = "../swc_css_parser" } swc_ecma_ast = { version = "0.95.3", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.128.5", path = "../swc_ecma_codegen" }