From b2c9bb47a0ba70e8329f31e003c633d81433c769 Mon Sep 17 00:00:00 2001 From: SWC Bot Date: Fri, 19 May 2023 04:37:45 +0000 Subject: [PATCH] chore: Publish crates --- CHANGELOG.md | 3 +++ Cargo.lock | 22 +++++++++++----------- crates/binding_macros/Cargo.toml | 4 ++-- crates/dbg-swc/Cargo.toml | 4 ++-- crates/swc/Cargo.toml | 4 ++-- crates/swc_bundler/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 +++--- 13 files changed, 40 insertions(+), 37 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e6a927602e..077d572d94a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,9 @@ - **(es/minifier)** Mark all function params as potential property mutation (#7409) ([5dbbbea](https://github.com/swc-project/swc/commit/5dbbbea2efb84e7f187859ba03fd548af92c613f)) +- **(es/minifier)** Prevent inlining vars assigned outside current function scope (#7414) ([40d2bf7](https://github.com/swc-project/swc/commit/40d2bf7ec3ac58364a8389d2d2284c8089e74fae)) + + - **(es/parser)** Fix parsing of `module` identifier (#7400) ([1d3f320](https://github.com/swc-project/swc/commit/1d3f32056c7a63b327b2ccf6131479f851a2e870)) diff --git a/Cargo.lock b/Cargo.lock index 95880798837..39871419440 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -211,7 +211,7 @@ dependencies = [ [[package]] name = "binding_macros" -version = "0.50.12" +version = "0.50.13" dependencies = [ "anyhow", "console_error_panic_hook", @@ -903,7 +903,7 @@ checksum = "23d8666cb01533c39dde32bcbab8e227b4ed6679b2c925eba05feabea39508fb" [[package]] name = "dbg-swc" -version = "0.81.15" +version = "0.81.16" dependencies = [ "anyhow", "clap 3.1.0", @@ -3400,7 +3400,7 @@ dependencies = [ [[package]] name = "swc" -version = "0.261.12" +version = "0.261.13" dependencies = [ "ahash", "ansi_term", @@ -3471,7 +3471,7 @@ dependencies = [ [[package]] name = "swc_bundler" -version = "0.214.11" +version = "0.214.12" dependencies = [ "ahash", "anyhow", @@ -3585,7 +3585,7 @@ dependencies = [ [[package]] name = "swc_core" -version = "0.76.15" +version = "0.76.16" dependencies = [ "anyhow", "binding_macros", @@ -3945,7 +3945,7 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "0.181.11" +version = "0.181.12" dependencies = [ "ahash", "ansi_term", @@ -4389,7 +4389,7 @@ dependencies = [ [[package]] name = "swc_ecmascript" -version = "0.228.11" +version = "0.228.12" dependencies = [ "swc_ecma_ast", "swc_ecma_codegen", @@ -4437,7 +4437,7 @@ dependencies = [ [[package]] name = "swc_estree_compat" -version = "0.184.12" +version = "0.184.13" dependencies = [ "ahash", "anyhow", @@ -4485,7 +4485,7 @@ dependencies = [ [[package]] name = "swc_html" -version = "0.124.11" +version = "0.124.12" dependencies = [ "swc_html_ast", "swc_html_codegen", @@ -4536,7 +4536,7 @@ dependencies = [ [[package]] name = "swc_html_minifier" -version = "0.121.11" +version = "0.121.12" dependencies = [ "criterion", "once_cell", @@ -4622,7 +4622,7 @@ dependencies = [ [[package]] name = "swc_node_bundler" -version = "0.48.12" +version = "0.48.13" dependencies = [ "anyhow", "dashmap", diff --git a/crates/binding_macros/Cargo.toml b/crates/binding_macros/Cargo.toml index 4d614d3e81a..55a17b864b9 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.50.12" +version = "0.50.13" [lib] bench = false @@ -33,7 +33,7 @@ binding_wasm = [ [dependencies] # Common deps for the SWC imports -swc = { optional = true, version = "0.261.12", path = "../swc" } +swc = { optional = true, version = "0.261.13", path = "../swc" } swc_common = { optional = true, version = "0.31.10", path = "../swc_common" } swc_ecma_ast = { optional = true, version = "0.104.3", path = "../swc_ecma_ast" } swc_ecma_transforms = { optional = true, version = "0.218.10", path = "../swc_ecma_transforms" } diff --git a/crates/dbg-swc/Cargo.toml b/crates/dbg-swc/Cargo.toml index 216df71cb89..13620f852ed 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.81.15" +version = "0.81.16" [[bin]] bench = false @@ -32,7 +32,7 @@ swc_common = { version = "0.31.10", features = [ ], path = "../swc_common" } swc_ecma_ast = { version = "0.104.3", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.139.8", path = "../swc_ecma_codegen" } -swc_ecma_minifier = { version = "0.181.11", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "0.181.12", path = "../swc_ecma_minifier", features = [ "concurrent", ] } swc_ecma_parser = { version = "0.134.6", path = "../swc_ecma_parser" } diff --git a/crates/swc/Cargo.toml b/crates/swc/Cargo.toml index f25d6944791..7281e3a32e7 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.261.12" +version = "0.261.13" [lib] bench = false @@ -83,7 +83,7 @@ swc_ecma_loader = { version = "0.43.12", path = "../swc_ecma_loader", features = "node", "tsc", ] } -swc_ecma_minifier = { version = "0.181.11", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { version = "0.181.12", path = "../swc_ecma_minifier" } swc_ecma_parser = { version = "0.134.6", path = "../swc_ecma_parser" } swc_ecma_preset_env = { version = "0.195.10", path = "../swc_ecma_preset_env" } swc_ecma_transforms = { version = "0.218.10", path = "../swc_ecma_transforms", features = [ diff --git a/crates/swc_bundler/Cargo.toml b/crates/swc_bundler/Cargo.toml index a35567941cd..5c76b5dea8b 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.214.11" +version = "0.214.12" [package.metadata.docs.rs] all-features = true @@ -64,7 +64,7 @@ swc_ecma_loader = { version = "0.43.12", path = "../swc_ecma_loader", features = "node", "cache", ] } -swc_ecma_minifier = { version = "0.181.11", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "0.181.12", path = "../swc_ecma_minifier", features = [ "concurrent", ] } swc_ecma_transforms_proposal = { version = "0.161.10", path = "../swc_ecma_transforms_proposal" } diff --git a/crates/swc_core/Cargo.toml b/crates/swc_core/Cargo.toml index 465bff835a1..5cea6c8e31a 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.76.15" +version = "0.76.16" [package.metadata.docs.rs] features = [ "common_perf", @@ -318,10 +318,10 @@ __visit = ["__ecma", "swc_ecma_visit"] once_cell = { optional = true, version = "1.13.0" } # swc_* dependencies -binding_macros = { optional = true, version = "0.50.12", path = "../binding_macros" } -swc = { optional = true, version = "0.261.12", path = "../swc" } +binding_macros = { optional = true, version = "0.50.13", path = "../binding_macros" } +swc = { optional = true, version = "0.261.13", path = "../swc" } swc_atoms = { optional = true, version = "0.5.6", path = "../swc_atoms" } -swc_bundler = { optional = true, version = "0.214.11", path = "../swc_bundler" } +swc_bundler = { optional = true, version = "0.214.12", path = "../swc_bundler" } swc_cached = { optional = true, version = "0.3.15", path = "../swc_cached" } swc_common = { optional = true, version = "0.31.10", path = "../swc_common" } swc_css_ast = { optional = true, version = "0.137.10", path = "../swc_css_ast" } @@ -336,7 +336,7 @@ swc_css_visit = { optional = true, version = "0.136.10", path swc_ecma_ast = { optional = true, version = "0.104.3", path = "../swc_ecma_ast" } swc_ecma_codegen = { optional = true, version = "0.139.8", path = "../swc_ecma_codegen" } swc_ecma_loader = { optional = true, version = "0.43.12", path = "../swc_ecma_loader" } -swc_ecma_minifier = { optional = true, version = "0.181.11", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { optional = true, version = "0.181.12", path = "../swc_ecma_minifier" } swc_ecma_parser = { optional = true, version = "0.134.6", path = "../swc_ecma_parser" } swc_ecma_preset_env = { optional = true, version = "0.195.10", path = "../swc_ecma_preset_env" } swc_ecma_quote_macros = { optional = true, version = "0.45.6", path = "../swc_ecma_quote_macros" } @@ -352,7 +352,7 @@ swc_ecma_usage_analyzer = { optional = true, version = "0.13.7", path = swc_ecma_utils = { optional = true, version = "0.117.6", path = "../swc_ecma_utils" } swc_ecma_visit = { optional = true, version = "0.90.3", path = "../swc_ecma_visit" } swc_node_base = { optional = true, version = "0.5.8", path = "../swc_node_base" } -swc_node_bundler = { optional = true, version = "0.48.12", path = "../swc_node_bundler" } +swc_node_bundler = { optional = true, version = "0.48.13", path = "../swc_node_bundler" } swc_nodejs_common = { optional = true, version = "0.0.6", path = "../swc_nodejs_common" } swc_plugin = { optional = true, version = "0.90.0", path = "../swc_plugin" } swc_plugin_macro = { optional = true, version = "0.9.13", path = "../swc_plugin_macro" } diff --git a/crates/swc_ecma_minifier/Cargo.toml b/crates/swc_ecma_minifier/Cargo.toml index 802cc4c36b6..655f331c4c4 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.181.11" +version = "0.181.12" [package.metadata.docs.rs] all-features = true diff --git a/crates/swc_ecmascript/Cargo.toml b/crates/swc_ecmascript/Cargo.toml index 87c0e2b9ab8..78561b119cf 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.228.11" +version = "0.228.12" [package.metadata.docs.rs] all-features = true @@ -42,7 +42,7 @@ typescript = ["typescript-parser", "swc_ecma_transforms/typescript"] swc_ecma_ast = { version = "0.104.3", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.139.8", path = "../swc_ecma_codegen", optional = true } swc_ecma_dep_graph = { version = "0.106.6", path = "../swc_ecma_dep_graph", optional = true } -swc_ecma_minifier = { version = "0.181.11", path = "../swc_ecma_minifier", optional = true } +swc_ecma_minifier = { version = "0.181.12", path = "../swc_ecma_minifier", optional = true } swc_ecma_parser = { version = "0.134.6", path = "../swc_ecma_parser", optional = true, default-features = false } swc_ecma_preset_env = { version = "0.195.10", path = "../swc_ecma_preset_env", optional = true } swc_ecma_quote = { version = "0.50.6", path = "../swc_ecma_quote", optional = true } diff --git a/crates/swc_estree_compat/Cargo.toml b/crates/swc_estree_compat/Cargo.toml index d044af896fa..dce5eb1d3f0 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.184.12" +version = "0.184.13" [package.metadata.docs.rs] all-features = true @@ -40,7 +40,7 @@ swc_node_comments = { version = "0.18.10", path = "../swc_node_comments/" } criterion = "0.3" pretty_assertions = "1.1" -swc = { version = "0.261.12", path = "../swc" } +swc = { version = "0.261.13", path = "../swc" } swc_ecma_ast = { version = "0.104.3", path = "../swc_ecma_ast" } swc_ecma_parser = { version = "0.134.6", path = "../swc_ecma_parser" } swc_ecma_transforms = { version = "0.218.10", path = "../swc_ecma_transforms/" } diff --git a/crates/swc_html/Cargo.toml b/crates/swc_html/Cargo.toml index bc92662e481..0bb420f9353 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.124.11" +version = "0.124.12" [package.metadata.docs.rs] all-features = true @@ -21,6 +21,6 @@ minifier = ["swc_html_minifier"] [dependencies] swc_html_ast = {version = "0.31.10", path = "../swc_html_ast"} swc_html_codegen = {version = "0.40.11", path = "../swc_html_codegen"} -swc_html_minifier = {version = "0.121.11", path = "../swc_html_minifier", optional = true} +swc_html_minifier = {version = "0.121.12", path = "../swc_html_minifier", optional = true} swc_html_parser = {version = "0.37.11", path = "../swc_html_parser"} swc_html_visit = {version = "0.31.10", path = "../swc_html_visit"} diff --git a/crates/swc_html_minifier/Cargo.toml b/crates/swc_html_minifier/Cargo.toml index 3b3798e0ff6..e0cf510db96 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.121.11" +version = "0.121.12" [lib] bench = false @@ -31,7 +31,7 @@ swc_ecma_ast = { version = "0.104.3", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.139.8", path = "../swc_ecma_codegen", features = [ "serde-impl", ] } -swc_ecma_minifier = { version = "0.181.11", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "0.181.12", path = "../swc_ecma_minifier", features = [ "extra-serde", ] } swc_ecma_parser = { version = "0.134.6", path = "../swc_ecma_parser" } diff --git a/crates/swc_node_bundler/Cargo.toml b/crates/swc_node_bundler/Cargo.toml index 9c7835ea640..633d0d628de 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.48.12" +version = "0.48.13" [lib] bench = false @@ -29,9 +29,9 @@ serde_json = "1" tracing = "0.1.32" string_enum = { version = "0.4.0", path = "../string_enum" } -swc = { version = "0.261.12", path = "../swc" } +swc = { version = "0.261.13", path = "../swc" } swc_atoms = { version = "0.5.6", path = "../swc_atoms" } -swc_bundler = { version = "0.214.11", path = "../swc_bundler", features = [ +swc_bundler = { version = "0.214.12", path = "../swc_bundler", features = [ "concurrent", ] } swc_common = { version = "0.31.10", path = "../swc_common", features = [