From 35b95ae430e514157235a81d92ae6b574342044a Mon Sep 17 00:00:00 2001 From: SWC Bot Date: Mon, 13 Nov 2023 03:50:20 +0000 Subject: [PATCH] chore: Publish crates --- CHANGELOG.md | 9 +++------ 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, 47 insertions(+), 50 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index beba41aab41..6dd23e1dedb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,9 @@ - **(es/minifier)** Use `cooked` while converting tpls into strings ([#8248](https://github.com/swc-project/swc/issues/8248)) ([be748f0](https://github.com/swc-project/swc/commit/be748f0f33bda76a1ae4a4acd586213adfe7b2aa)) +- **(es/minifier)** Enable seq inliner for const declarations ([#8255](https://github.com/swc-project/swc/issues/8255)) ([ebcd825](https://github.com/swc-project/swc/commit/ebcd8252253d2b5169ea03ec19ee4a76d3ca22c3)) + + - **(es/parser)** Consider ASI while parsing TypeScript type aliases ([#8263](https://github.com/swc-project/swc/issues/8263)) ([e589126](https://github.com/swc-project/swc/commit/e58912622d86f2b03f90dd7d0782e5740822dca6)) @@ -1679,12 +1682,6 @@ - **(es)** Allow missing `.map` file ([#7141](https://github.com/swc-project/swc/issues/7141)) ([3e6a186](https://github.com/swc-project/swc/commit/3e6a1869e84ec01125cf115c3d5f5c5c89645e1a)) -- **(es/helpers)** Use snake_case for helpers ([#7147](https://github.com/swc-project/swc/issues/7147)) ([3ca954b](https://github.com/swc-project/swc/commit/3ca954b9f9622ed400308f2af35242583a4bdc3d)) - - -- **(es/modules)** Hint nodejs for multiple `export *` ([#7184](https://github.com/swc-project/swc/issues/7184)) ([98f1493](https://github.com/swc-project/swc/commit/98f14931e7fa24b9d888eb5149c647840978b096)) - - - **(es/parser)** Fix infinite loop on jsx in js ([#7191](https://github.com/swc-project/swc/issues/7191)) ([414e669](https://github.com/swc-project/swc/commit/414e66910dc5d9fea254811618f69067ab4a7a67)) diff --git a/Cargo.lock b/Cargo.lock index 48270a699e1..ea44339b730 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -284,7 +284,7 @@ dependencies = [ [[package]] name = "binding_macros" -version = "0.60.52" +version = "0.60.53" dependencies = [ "anyhow", "console_error_panic_hook", @@ -1053,7 +1053,7 @@ checksum = "23d8666cb01533c39dde32bcbab8e227b4ed6679b2c925eba05feabea39508fb" [[package]] name = "dbg-swc" -version = "0.89.50" +version = "0.89.51" dependencies = [ "anyhow", "clap 3.2.25", @@ -3721,7 +3721,7 @@ dependencies = [ [[package]] name = "swc" -version = "0.269.47" +version = "0.269.48" dependencies = [ "ansi_term", "anyhow", @@ -3790,7 +3790,7 @@ dependencies = [ [[package]] name = "swc_bundler" -version = "0.222.41" +version = "0.222.42" dependencies = [ "anyhow", "crc", @@ -3845,7 +3845,7 @@ dependencies = [ [[package]] name = "swc_cli_impl" -version = "0.4.52" +version = "0.4.53" dependencies = [ "anyhow", "atty", @@ -3903,7 +3903,7 @@ dependencies = [ [[package]] name = "swc_compiler_base" -version = "0.3.47" +version = "0.3.48" dependencies = [ "anyhow", "base64 0.13.1", @@ -3946,7 +3946,7 @@ dependencies = [ [[package]] name = "swc_core" -version = "0.86.53" +version = "0.86.54" dependencies = [ "anyhow", "binding_macros", @@ -4492,7 +4492,7 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "0.189.42" +version = "0.189.43" dependencies = [ "ansi_term", "anyhow", @@ -4945,7 +4945,7 @@ dependencies = [ [[package]] name = "swc_ecmascript" -version = "0.236.48" +version = "0.236.49" dependencies = [ "swc_ecma_ast", "swc_ecma_codegen", @@ -4993,7 +4993,7 @@ dependencies = [ [[package]] name = "swc_estree_compat" -version = "0.194.50" +version = "0.194.51" dependencies = [ "ahash 0.8.5", "anyhow", @@ -5041,7 +5041,7 @@ dependencies = [ [[package]] name = "swc_html" -version = "0.134.48" +version = "0.134.49" dependencies = [ "swc_html_ast", "swc_html_codegen", @@ -5092,7 +5092,7 @@ dependencies = [ [[package]] name = "swc_html_minifier" -version = "0.131.47" +version = "0.131.48" dependencies = [ "criterion", "once_cell", @@ -5178,7 +5178,7 @@ dependencies = [ [[package]] name = "swc_node_bundler" -version = "0.58.52" +version = "0.58.53" dependencies = [ "anyhow", "dashmap", diff --git a/crates/binding_macros/Cargo.toml b/crates/binding_macros/Cargo.toml index 51891cea96b..3c2f5e59365 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.60.52" +version = "0.60.53" [lib] bench = false @@ -33,7 +33,7 @@ binding_wasm = [ [dependencies] # Common deps for the SWC imports -swc = { optional = true, version = "0.269.47", path = "../swc" } +swc = { optional = true, version = "0.269.48", path = "../swc" } swc_common = { optional = true, version = "0.33.8", path = "../swc_common" } swc_ecma_ast = { optional = true, version = "0.110.9", path = "../swc_ecma_ast" } swc_ecma_transforms = { optional = true, version = "0.226.38", path = "../swc_ecma_transforms" } diff --git a/crates/dbg-swc/Cargo.toml b/crates/dbg-swc/Cargo.toml index bfa673e6b42..a8769c05b52 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.89.50" +version = "0.89.51" [[bin]] bench = false @@ -32,7 +32,7 @@ swc_common = { version = "0.33.8", features = [ ], path = "../swc_common" } swc_ecma_ast = { version = "0.110.9", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.146.24", path = "../swc_ecma_codegen" } -swc_ecma_minifier = { version = "0.189.42", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "0.189.43", path = "../swc_ecma_minifier", features = [ "concurrent", ] } swc_ecma_parser = { version = "0.141.21", path = "../swc_ecma_parser" } diff --git a/crates/swc/Cargo.toml b/crates/swc/Cargo.toml index fe273e5a8bc..74bc5f2cf0e 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.269.47" +version = "0.269.48" [lib] bench = false @@ -73,7 +73,7 @@ swc_common = { version = "0.33.8", path = "../swc_common", features = [ "sourcemap", "parking_lot", ] } -swc_compiler_base = { version = "0.3.47", path = "../swc_compiler_base" } +swc_compiler_base = { version = "0.3.48", path = "../swc_compiler_base" } swc_config = { version = "0.1.7", path = "../swc_config" } swc_ecma_ast = { version = "0.110.9", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.146.24", path = "../swc_ecma_codegen" } @@ -84,7 +84,7 @@ swc_ecma_loader = { version = "0.45.9", path = "../swc_ecma_loader", features = "node", "tsc", ] } -swc_ecma_minifier = { version = "0.189.42", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { version = "0.189.43", path = "../swc_ecma_minifier" } swc_ecma_parser = { version = "0.141.21", path = "../swc_ecma_parser" } swc_ecma_preset_env = { version = "0.203.39", path = "../swc_ecma_preset_env" } swc_ecma_transforms = { version = "0.226.38", path = "../swc_ecma_transforms", features = [ diff --git a/crates/swc_bundler/Cargo.toml b/crates/swc_bundler/Cargo.toml index 5cdef64b8c7..7fbae72328e 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.222.41" +version = "0.222.42" [package.metadata.docs.rs] all-features = true @@ -63,7 +63,7 @@ swc_ecma_loader = { version = "0.45.9", path = "../swc_ecma_loader", features = "node", "cache", ] } -swc_ecma_minifier = { version = "0.189.42", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "0.189.43", path = "../swc_ecma_minifier", features = [ "concurrent", ] } swc_ecma_transforms_proposal = { version = "0.168.39", path = "../swc_ecma_transforms_proposal" } diff --git a/crates/swc_cli_impl/Cargo.toml b/crates/swc_cli_impl/Cargo.toml index 231a3d7d64c..a66ff5329be 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.4.52" +version = "0.4.53" [features] default = [] @@ -32,7 +32,7 @@ tracing-futures = "0.2.5" tracing-subscriber = { version = "0.3.9", features = ["env-filter"] } walkdir = "2" -swc_core = { version = "0.86.53", features = [ +swc_core = { version = "0.86.54", features = [ "trace_macro", "common_concurrent", "base_concurrent", diff --git a/crates/swc_compiler_base/Cargo.toml b/crates/swc_compiler_base/Cargo.toml index f5f889389dc..a5d75ebf51e 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.3.47" +version = "0.3.48" [features] node = ["napi", "napi-derive"] @@ -25,7 +25,7 @@ swc_common = { version = "0.33.8", path = "../swc_common", features = [ swc_config = { version = "0.1.7", path = "../swc_config" } swc_ecma_ast = { version = "0.110.9", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.146.24", path = "../swc_ecma_codegen" } -swc_ecma_minifier = { version = "0.189.42", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { version = "0.189.43", path = "../swc_ecma_minifier" } swc_ecma_parser = { version = "0.141.21", path = "../swc_ecma_parser" } swc_ecma_visit = { version = "0.96.9", path = "../swc_ecma_visit" } swc_timer = { version = "0.21.10", path = "../swc_timer" } diff --git a/crates/swc_core/Cargo.toml b/crates/swc_core/Cargo.toml index 15263a873df..7d36066e582 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.86.53" +version = "0.86.54" [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.60.52", path = "../binding_macros" } -swc = { optional = true, version = "0.269.47", path = "../swc" } +binding_macros = { optional = true, version = "0.60.53", path = "../binding_macros" } +swc = { optional = true, version = "0.269.48", path = "../swc" } swc_atoms = { optional = true, version = "0.6.4", path = "../swc_atoms" } -swc_bundler = { optional = true, version = "0.222.41", path = "../swc_bundler" } +swc_bundler = { optional = true, version = "0.222.42", path = "../swc_bundler" } swc_cached = { optional = true, version = "0.3.18", path = "../swc_cached" } swc_common = { optional = true, version = "0.33.8", path = "../swc_common" } swc_css_ast = { optional = true, version = "0.140.9", path = "../swc_css_ast" } @@ -342,7 +342,7 @@ swc_css_visit = { optional = true, version = "0.139.9", path swc_ecma_ast = { optional = true, version = "0.110.9", path = "../swc_ecma_ast" } swc_ecma_codegen = { optional = true, version = "0.146.24", path = "../swc_ecma_codegen" } swc_ecma_loader = { optional = true, version = "0.45.9", path = "../swc_ecma_loader" } -swc_ecma_minifier = { optional = true, version = "0.189.42", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { optional = true, version = "0.189.43", path = "../swc_ecma_minifier" } swc_ecma_parser = { optional = true, version = "0.141.21", path = "../swc_ecma_parser" } swc_ecma_preset_env = { optional = true, version = "0.203.39", path = "../swc_ecma_preset_env" } swc_ecma_quote_macros = { optional = true, version = "0.52.21", path = "../swc_ecma_quote_macros" } @@ -358,7 +358,7 @@ swc_ecma_usage_analyzer = { optional = true, version = "0.20.27", path swc_ecma_utils = { optional = true, version = "0.124.26", path = "../swc_ecma_utils" } swc_ecma_visit = { optional = true, version = "0.96.9", path = "../swc_ecma_visit" } swc_malloc = { optional = true, version = "0.5.10", path = "../swc_malloc" } -swc_node_bundler = { optional = true, version = "0.58.52", path = "../swc_node_bundler" } +swc_node_bundler = { optional = true, version = "0.58.53", 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.15", path = "../swc_plugin_macro" } diff --git a/crates/swc_ecma_minifier/Cargo.toml b/crates/swc_ecma_minifier/Cargo.toml index ebc3af7e323..c677dfa7dd2 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.189.42" +version = "0.189.43" [package.metadata.docs.rs] all-features = true diff --git a/crates/swc_ecmascript/Cargo.toml b/crates/swc_ecmascript/Cargo.toml index 268930c6553..7268d08773e 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.236.48" +version = "0.236.49" [package.metadata.docs.rs] all-features = true @@ -42,7 +42,7 @@ typescript = ["typescript-parser", "swc_ecma_transforms/typescript"] swc_ecma_ast = { version = "0.110.9", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.146.24", path = "../swc_ecma_codegen", optional = true } swc_ecma_dep_graph = { version = "0.113.21", path = "../swc_ecma_dep_graph", optional = true } -swc_ecma_minifier = { version = "0.189.42", path = "../swc_ecma_minifier", optional = true } +swc_ecma_minifier = { version = "0.189.43", path = "../swc_ecma_minifier", optional = true } swc_ecma_parser = { version = "0.141.21", path = "../swc_ecma_parser", optional = true, default-features = false } swc_ecma_preset_env = { version = "0.203.39", path = "../swc_ecma_preset_env", optional = true } swc_ecma_quote = { version = "0.57.21", path = "../swc_ecma_quote", optional = true } diff --git a/crates/swc_estree_compat/Cargo.toml b/crates/swc_estree_compat/Cargo.toml index 0ffade0774a..064a51a911a 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.194.50" +version = "0.194.51" [package.metadata.docs.rs] all-features = true @@ -40,7 +40,7 @@ swc_node_comments = { version = "0.20.8", path = "../swc_node_comments/" } criterion = "0.5" pretty_assertions = "1.3" -swc = { version = "0.269.47", path = "../swc" } +swc = { version = "0.269.48", path = "../swc" } swc_ecma_ast = { version = "0.110.9", path = "../swc_ecma_ast" } swc_ecma_parser = { version = "0.141.21", path = "../swc_ecma_parser" } swc_ecma_transforms = { version = "0.226.38", path = "../swc_ecma_transforms/" } diff --git a/crates/swc_html/Cargo.toml b/crates/swc_html/Cargo.toml index b5905b94667..61a8db158e8 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.134.48" +version = "0.134.49" [package.metadata.docs.rs] all-features = true @@ -21,6 +21,6 @@ minifier = ["swc_html_minifier"] [dependencies] swc_html_ast = {version = "0.33.8", path = "../swc_html_ast"} swc_html_codegen = {version = "0.42.12", path = "../swc_html_codegen"} -swc_html_minifier = {version = "0.131.47", path = "../swc_html_minifier", optional = true} +swc_html_minifier = {version = "0.131.48", path = "../swc_html_minifier", optional = true} swc_html_parser = {version = "0.39.12", path = "../swc_html_parser"} swc_html_visit = {version = "0.33.8", path = "../swc_html_visit"} diff --git a/crates/swc_html_minifier/Cargo.toml b/crates/swc_html_minifier/Cargo.toml index 8c21c69b268..e0546e30cfd 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.131.47" +version = "0.131.48" [lib] bench = false @@ -31,7 +31,7 @@ swc_ecma_ast = { version = "0.110.9", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.146.24", path = "../swc_ecma_codegen", features = [ "serde-impl", ] } -swc_ecma_minifier = { version = "0.189.42", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "0.189.43", path = "../swc_ecma_minifier", features = [ "extra-serde", ] } swc_ecma_parser = { version = "0.141.21", path = "../swc_ecma_parser" } diff --git a/crates/swc_node_bundler/Cargo.toml b/crates/swc_node_bundler/Cargo.toml index bec06d220e9..ba647fa89d1 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.58.52" +version = "0.58.53" [lib] bench = false @@ -29,9 +29,9 @@ serde_json = "1" tracing = "0.1.37" string_enum = { version = "0.4.1", path = "../string_enum" } -swc = { version = "0.269.47", path = "../swc" } +swc = { version = "0.269.48", path = "../swc" } swc_atoms = { version = "0.6.4", path = "../swc_atoms" } -swc_bundler = { version = "0.222.41", path = "../swc_bundler", features = [ +swc_bundler = { version = "0.222.42", path = "../swc_bundler", features = [ "concurrent", ] } swc_common = { version = "0.33.8", path = "../swc_common", features = [