From 3c00098dbe5d5a003d3b5786954de690f25f7299 Mon Sep 17 00:00:00 2001 From: SWC Bot Date: Fri, 19 Jan 2024 00:45:54 +0000 Subject: [PATCH] chore: Publish crates --- CHANGELOG.md | 14 ++++++++------ Cargo.lock | 26 +++++++++++++------------- crates/binding_macros/Cargo.toml | 4 ++-- crates/dbg-swc/Cargo.toml | 4 ++-- crates/swc/Cargo.toml | 6 +++--- crates/swc_bundler/Cargo.toml | 4 ++-- crates/swc_cli_impl/Cargo.toml | 4 ++-- crates/swc_compiler_base/Cargo.toml | 4 ++-- crates/swc_core/Cargo.toml | 12 ++++++------ crates/swc_ecma_minifier/Cargo.toml | 2 +- crates/swc_ecmascript/Cargo.toml | 4 ++-- crates/swc_estree_compat/Cargo.toml | 4 ++-- crates/swc_html/Cargo.toml | 4 ++-- crates/swc_html_minifier/Cargo.toml | 4 ++-- crates/swc_node_bundler/Cargo.toml | 6 +++--- 15 files changed, 52 insertions(+), 50 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6d1f434a03..3ffd8492d01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,12 @@ # Changelog +## [unreleased] + +### Bug Fixes + + + +- **(es/minifier)** Fix a bug in tpl string <-> string logic ([#8510](https://github.com/swc-project/swc/issues/8510)) ([4946a11](https://github.com/swc-project/swc/commit/4946a111377cfb7da5eee3df88a06e2365aac0c2)) + ## [1.3.104] - 2024-01-17 ### Bug Fixes @@ -1488,12 +1496,6 @@ - **(css/prefixer)** Convert macro to a function call to reduce binary size ([#7507](https://github.com/swc-project/swc/issues/7507)) ([d545df6](https://github.com/swc-project/swc/commit/d545df6dd951fa2f5756830c40c21ae251e4e634)) - -- **(es)** Use `&dyn Comments` to reduce binary size ([#7489](https://github.com/swc-project/swc/issues/7489)) ([2c3ac68](https://github.com/swc-project/swc/commit/2c3ac682e271dad0ab6e82c14ad14f06715d853b)) - - -- **(es)** Use `&dyn Comments` for jsx and TypeScript ([#7490](https://github.com/swc-project/swc/issues/7490)) ([abd62bc](https://github.com/swc-project/swc/commit/abd62bc797175d783d18d162301c851eefa7ac23)) - ### Refactor diff --git a/Cargo.lock b/Cargo.lock index 055c7d7840a..87e585e6a68 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -307,7 +307,7 @@ dependencies = [ [[package]] name = "binding_macros" -version = "0.61.23" +version = "0.61.24" dependencies = [ "anyhow", "console_error_panic_hook", @@ -1049,7 +1049,7 @@ checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" [[package]] name = "dbg-swc" -version = "0.90.31" +version = "0.90.32" dependencies = [ "anyhow", "clap 3.2.25", @@ -3747,7 +3747,7 @@ dependencies = [ [[package]] name = "swc" -version = "0.270.23" +version = "0.270.24" dependencies = [ "ansi_term", "anyhow", @@ -3816,7 +3816,7 @@ dependencies = [ [[package]] name = "swc_bundler" -version = "0.223.20" +version = "0.223.21" dependencies = [ "anyhow", "crc", @@ -3871,7 +3871,7 @@ dependencies = [ [[package]] name = "swc_cli_impl" -version = "0.5.24" +version = "0.5.25" dependencies = [ "anyhow", "assert_cmd", @@ -3930,7 +3930,7 @@ dependencies = [ [[package]] name = "swc_compiler_base" -version = "0.4.21" +version = "0.4.22" dependencies = [ "anyhow", "base64", @@ -3972,7 +3972,7 @@ dependencies = [ [[package]] name = "swc_core" -version = "0.87.25" +version = "0.87.26" dependencies = [ "anyhow", "binding_macros", @@ -4503,7 +4503,7 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "0.190.20" +version = "0.190.21" dependencies = [ "ansi_term", "anyhow", @@ -4954,7 +4954,7 @@ dependencies = [ [[package]] name = "swc_ecmascript" -version = "0.237.21" +version = "0.237.22" dependencies = [ "swc_ecma_ast", "swc_ecma_codegen", @@ -5000,7 +5000,7 @@ dependencies = [ [[package]] name = "swc_estree_compat" -version = "0.195.24" +version = "0.195.25" dependencies = [ "ahash 0.8.7", "anyhow", @@ -5048,7 +5048,7 @@ dependencies = [ [[package]] name = "swc_html" -version = "0.135.23" +version = "0.135.24" dependencies = [ "swc_html_ast", "swc_html_codegen", @@ -5098,7 +5098,7 @@ dependencies = [ [[package]] name = "swc_html_minifier" -version = "0.132.23" +version = "0.132.24" dependencies = [ "criterion", "once_cell", @@ -5183,7 +5183,7 @@ dependencies = [ [[package]] name = "swc_node_bundler" -version = "0.59.22" +version = "0.59.23" dependencies = [ "anyhow", "dashmap", diff --git a/crates/binding_macros/Cargo.toml b/crates/binding_macros/Cargo.toml index 8a1fab551ef..68b7626e2e4 100644 --- a/crates/binding_macros/Cargo.toml +++ b/crates/binding_macros/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" license = "Apache-2.0" name = "binding_macros" repository = "https://github.com/swc-project/swc.git" -version = "0.61.23" +version = "0.61.24" [lib] bench = false @@ -33,7 +33,7 @@ binding_wasm = [ [dependencies] # Common deps for the SWC imports -swc = { optional = true, version = "0.270.23", path = "../swc" } +swc = { optional = true, version = "0.270.24", path = "../swc" } swc_common = { optional = true, version = "0.33.12", path = "../swc_common" } swc_ecma_ast = { optional = true, version = "0.110.17", path = "../swc_ecma_ast" } swc_ecma_transforms = { optional = true, version = "0.227.18", path = "../swc_ecma_transforms" } diff --git a/crates/dbg-swc/Cargo.toml b/crates/dbg-swc/Cargo.toml index 355504ce77f..0131efb3302 100644 --- a/crates/dbg-swc/Cargo.toml +++ b/crates/dbg-swc/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" license = "Apache-2.0" name = "dbg-swc" repository = "https://github.com/kdy1/dbg-swc.git" -version = "0.90.31" +version = "0.90.32" [[bin]] bench = false @@ -32,7 +32,7 @@ swc_common = { version = "0.33.12", features = [ ], path = "../swc_common" } swc_ecma_ast = { version = "0.110.17", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.146.54", path = "../swc_ecma_codegen" } -swc_ecma_minifier = { version = "0.190.20", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "0.190.21", path = "../swc_ecma_minifier", features = [ "concurrent", ] } swc_ecma_parser = { version = "0.141.37", path = "../swc_ecma_parser" } diff --git a/crates/swc/Cargo.toml b/crates/swc/Cargo.toml index f9e9a272d46..d888eafaeda 100644 --- a/crates/swc/Cargo.toml +++ b/crates/swc/Cargo.toml @@ -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.270.23" +version = "0.270.24" [lib] bench = false @@ -73,7 +73,7 @@ swc_common = { version = "0.33.12", path = "../swc_common", features = [ "sourcemap", "parking_lot", ] } -swc_compiler_base = { version = "0.4.21", path = "../swc_compiler_base" } +swc_compiler_base = { version = "0.4.22", path = "../swc_compiler_base" } swc_config = { version = "0.1.9", path = "../swc_config" } swc_ecma_ast = { version = "0.110.17", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.146.54", path = "../swc_ecma_codegen" } @@ -84,7 +84,7 @@ swc_ecma_loader = { version = "0.45.13", path = "../swc_ecma_loader", features = "node", "tsc", ] } -swc_ecma_minifier = { version = "0.190.20", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { version = "0.190.21", path = "../swc_ecma_minifier" } swc_ecma_parser = { version = "0.141.37", path = "../swc_ecma_parser" } swc_ecma_preset_env = { version = "0.204.18", path = "../swc_ecma_preset_env" } swc_ecma_transforms = { version = "0.227.18", path = "../swc_ecma_transforms", features = [ diff --git a/crates/swc_bundler/Cargo.toml b/crates/swc_bundler/Cargo.toml index 57deda4f8c2..e6cc0835700 100644 --- a/crates/swc_bundler/Cargo.toml +++ b/crates/swc_bundler/Cargo.toml @@ -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.223.20" +version = "0.223.21" [package.metadata.docs.rs] all-features = true @@ -63,7 +63,7 @@ swc_ecma_loader = { version = "0.45.13", path = "../swc_ecma_loader", features = "node", "cache", ] } -swc_ecma_minifier = { version = "0.190.20", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "0.190.21", path = "../swc_ecma_minifier", features = [ "concurrent", ] } swc_ecma_transforms_proposal = { version = "0.169.16", path = "../swc_ecma_transforms_proposal" } diff --git a/crates/swc_cli_impl/Cargo.toml b/crates/swc_cli_impl/Cargo.toml index b7dbb054ae1..60ad68c5a99 100644 --- a/crates/swc_cli_impl/Cargo.toml +++ b/crates/swc_cli_impl/Cargo.toml @@ -6,7 +6,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_cli_impl" repository = "https://github.com/swc-project/swc.git" -version = "0.5.24" +version = "0.5.25" [[bin]] name = "swc" @@ -40,7 +40,7 @@ tracing-futures = "0.2.5" tracing-subscriber = { version = "0.3.9", features = ["env-filter"] } walkdir = "2" -swc_core = { version = "0.87.25", features = [ +swc_core = { version = "0.87.26", features = [ "trace_macro", "common_concurrent", "base_concurrent", diff --git a/crates/swc_compiler_base/Cargo.toml b/crates/swc_compiler_base/Cargo.toml index 2861b5ce676..9676725c16b 100644 --- a/crates/swc_compiler_base/Cargo.toml +++ b/crates/swc_compiler_base/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_compiler_base" repository = "https://github.com/swc-project/swc.git" -version = "0.4.21" +version = "0.4.22" [features] node = ["napi", "napi-derive"] @@ -25,7 +25,7 @@ swc_common = { version = "0.33.12", path = "../swc_common", features = [ swc_config = { version = "0.1.9", path = "../swc_config" } swc_ecma_ast = { version = "0.110.17", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.146.54", path = "../swc_ecma_codegen" } -swc_ecma_minifier = { version = "0.190.20", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { version = "0.190.21", path = "../swc_ecma_minifier" } swc_ecma_parser = { version = "0.141.37", path = "../swc_ecma_parser" } swc_ecma_visit = { version = "0.96.17", path = "../swc_ecma_visit" } swc_timer = { version = "0.21.14", path = "../swc_timer" } diff --git a/crates/swc_core/Cargo.toml b/crates/swc_core/Cargo.toml index d01ade083c5..a05a209edd6 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.87.25" +version = "0.87.26" [package.metadata.docs.rs] features = [ "allocator_node", @@ -324,10 +324,10 @@ __visit = ["__ecma", "swc_ecma_visit"] once_cell = { optional = true, version = "1.18.0" } # swc_* dependencies -binding_macros = { optional = true, version = "0.61.23", path = "../binding_macros" } -swc = { optional = true, version = "0.270.23", path = "../swc" } +binding_macros = { optional = true, version = "0.61.24", path = "../binding_macros" } +swc = { optional = true, version = "0.270.24", path = "../swc" } swc_atoms = { optional = true, version = "0.6.5", path = "../swc_atoms" } -swc_bundler = { optional = true, version = "0.223.20", path = "../swc_bundler" } +swc_bundler = { optional = true, version = "0.223.21", path = "../swc_bundler" } swc_cached = { optional = true, version = "0.3.18", path = "../swc_cached" } swc_common = { optional = true, version = "0.33.12", path = "../swc_common" } swc_css_ast = { optional = true, version = "0.140.14", path = "../swc_css_ast" } @@ -342,7 +342,7 @@ swc_css_visit = { optional = true, version = "0.139.14", path swc_ecma_ast = { optional = true, version = "0.110.17", path = "../swc_ecma_ast" } swc_ecma_codegen = { optional = true, version = "0.146.54", path = "../swc_ecma_codegen" } swc_ecma_loader = { optional = true, version = "0.45.13", path = "../swc_ecma_loader" } -swc_ecma_minifier = { optional = true, version = "0.190.20", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { optional = true, version = "0.190.21", path = "../swc_ecma_minifier" } swc_ecma_parser = { optional = true, version = "0.141.37", path = "../swc_ecma_parser" } swc_ecma_preset_env = { optional = true, version = "0.204.18", path = "../swc_ecma_preset_env" } swc_ecma_quote_macros = { optional = true, version = "0.52.37", path = "../swc_ecma_quote_macros" } @@ -358,7 +358,7 @@ swc_ecma_usage_analyzer = { optional = true, version = "0.21.5", path = swc_ecma_utils = { optional = true, version = "0.125.4", path = "../swc_ecma_utils" } swc_ecma_visit = { optional = true, version = "0.96.17", path = "../swc_ecma_visit" } swc_malloc = { optional = true, version = "0.5.10", path = "../swc_malloc" } -swc_node_bundler = { optional = true, version = "0.59.22", path = "../swc_node_bundler" } +swc_node_bundler = { optional = true, version = "0.59.23", path = "../swc_node_bundler" } 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_macro = { optional = true, version = "0.9.16", path = "../swc_plugin_macro" } diff --git a/crates/swc_ecma_minifier/Cargo.toml b/crates/swc_ecma_minifier/Cargo.toml index 5224812332b..97ec739c069 100644 --- a/crates/swc_ecma_minifier/Cargo.toml +++ b/crates/swc_ecma_minifier/Cargo.toml @@ -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.190.20" +version = "0.190.21" [package.metadata.docs.rs] all-features = true diff --git a/crates/swc_ecmascript/Cargo.toml b/crates/swc_ecmascript/Cargo.toml index 1511f45157b..e0e9eaa9a02 100644 --- a/crates/swc_ecmascript/Cargo.toml +++ b/crates/swc_ecmascript/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_ecmascript" repository = "https://github.com/swc-project/swc.git" -version = "0.237.21" +version = "0.237.22" [package.metadata.docs.rs] all-features = true @@ -40,7 +40,7 @@ typescript = ["typescript-parser", "swc_ecma_transforms/typescript"] [dependencies] swc_ecma_ast = { version = "0.110.17", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.146.54", path = "../swc_ecma_codegen", optional = true } -swc_ecma_minifier = { version = "0.190.20", path = "../swc_ecma_minifier", optional = true } +swc_ecma_minifier = { version = "0.190.21", path = "../swc_ecma_minifier", optional = true } swc_ecma_parser = { version = "0.141.37", path = "../swc_ecma_parser", optional = true, default-features = false } swc_ecma_preset_env = { version = "0.204.18", path = "../swc_ecma_preset_env", optional = true } swc_ecma_quote = { version = "0.57.37", path = "../swc_ecma_quote", optional = true } diff --git a/crates/swc_estree_compat/Cargo.toml b/crates/swc_estree_compat/Cargo.toml index 5040da0d769..7a1e1172e4b 100644 --- a/crates/swc_estree_compat/Cargo.toml +++ b/crates/swc_estree_compat/Cargo.toml @@ -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.195.24" +version = "0.195.25" [package.metadata.docs.rs] all-features = true @@ -40,7 +40,7 @@ swc_node_comments = { version = "0.20.12", path = "../swc_node_comments/" } criterion = "0.5" pretty_assertions = "1.3" -swc = { version = "0.270.23", path = "../swc" } +swc = { version = "0.270.24", path = "../swc" } swc_ecma_ast = { version = "0.110.17", path = "../swc_ecma_ast" } swc_ecma_parser = { version = "0.141.37", path = "../swc_ecma_parser" } swc_ecma_transforms = { version = "0.227.18", path = "../swc_ecma_transforms/" } diff --git a/crates/swc_html/Cargo.toml b/crates/swc_html/Cargo.toml index 8acee8e33ac..0cf98c75dc8 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.135.23" +version = "0.135.24" [package.metadata.docs.rs] all-features = true @@ -21,6 +21,6 @@ minifier = ["swc_html_minifier"] [dependencies] swc_html_ast = {version = "0.33.12", path = "../swc_html_ast"} swc_html_codegen = {version = "0.42.17", path = "../swc_html_codegen"} -swc_html_minifier = {version = "0.132.23", path = "../swc_html_minifier", optional = true} +swc_html_minifier = {version = "0.132.24", path = "../swc_html_minifier", optional = true} swc_html_parser = {version = "0.39.17", path = "../swc_html_parser"} swc_html_visit = {version = "0.33.12", path = "../swc_html_visit"} diff --git a/crates/swc_html_minifier/Cargo.toml b/crates/swc_html_minifier/Cargo.toml index 38545c592e4..cbd1951c7e6 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.132.23" +version = "0.132.24" [lib] bench = false @@ -31,7 +31,7 @@ swc_ecma_ast = { version = "0.110.17", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.146.54", path = "../swc_ecma_codegen", features = [ "serde-impl", ] } -swc_ecma_minifier = { version = "0.190.20", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "0.190.21", path = "../swc_ecma_minifier", features = [ "extra-serde", ] } swc_ecma_parser = { version = "0.141.37", path = "../swc_ecma_parser" } diff --git a/crates/swc_node_bundler/Cargo.toml b/crates/swc_node_bundler/Cargo.toml index 87d45a70c51..c6e51a8413d 100644 --- a/crates/swc_node_bundler/Cargo.toml +++ b/crates/swc_node_bundler/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_node_bundler" repository = "https://github.com/swc-project/swc.git" -version = "0.59.22" +version = "0.59.23" [lib] bench = false @@ -29,9 +29,9 @@ serde_json = "1" tracing = "0.1.37" string_enum = { version = "0.4.2", path = "../string_enum" } -swc = { version = "0.270.23", path = "../swc" } +swc = { version = "0.270.24", path = "../swc" } swc_atoms = { version = "0.6.5", path = "../swc_atoms" } -swc_bundler = { version = "0.223.20", path = "../swc_bundler", features = [ +swc_bundler = { version = "0.223.21", path = "../swc_bundler", features = [ "concurrent", ] } swc_common = { version = "0.33.12", path = "../swc_common", features = [