From aa8ad10ad8ff01c7a13de62e3dfdad2a8df2b6d2 Mon Sep 17 00:00:00 2001 From: SWC Bot Date: Tue, 29 Aug 2023 10:23:30 +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 b01416997ff9..8cd3c75fbe15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,9 @@ - **(es/dep-graph)** Analyze import type children (#7883) ([057bd5f](https://github.com/swc-project/swc/commit/057bd5f3efe55077a5a8e7f627e80175c8af2bd0)) +- **(es/minifier)** Report `is_fn_local` even if var is hoisted (#7876) ([87a47bf](https://github.com/swc-project/swc/commit/87a47bfb2c602f2ce7eb33f78612197e290518b8)) + + - **(swc-info)** Use correct path while getting local package versions (#7872) ([67afaf1](https://github.com/swc-project/swc/commit/67afaf1f2db087518ac990c71de896c8e5e2a051)) ### Features diff --git a/Cargo.lock b/Cargo.lock index 58da020bdc5f..b94d87744302 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -235,7 +235,7 @@ dependencies = [ [[package]] name = "binding_macros" -version = "0.56.3" +version = "0.56.4" dependencies = [ "anyhow", "console_error_panic_hook", @@ -964,7 +964,7 @@ checksum = "23d8666cb01533c39dde32bcbab8e227b4ed6679b2c925eba05feabea39508fb" [[package]] name = "dbg-swc" -version = "0.86.2" +version = "0.86.3" dependencies = [ "anyhow", "clap 3.1.0", @@ -3525,7 +3525,7 @@ dependencies = [ [[package]] name = "swc" -version = "0.265.3" +version = "0.265.4" dependencies = [ "ansi_term", "anyhow", @@ -3595,7 +3595,7 @@ dependencies = [ [[package]] name = "swc_bundler" -version = "0.219.2" +version = "0.219.3" dependencies = [ "anyhow", "crc", @@ -3707,7 +3707,7 @@ dependencies = [ [[package]] name = "swc_core" -version = "0.82.3" +version = "0.82.4" dependencies = [ "anyhow", "binding_macros", @@ -4064,7 +4064,7 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "0.186.2" +version = "0.186.3" dependencies = [ "ansi_term", "anyhow", @@ -4503,7 +4503,7 @@ dependencies = [ [[package]] name = "swc_ecmascript" -version = "0.233.4" +version = "0.233.5" dependencies = [ "swc_ecma_ast", "swc_ecma_codegen", @@ -4551,7 +4551,7 @@ dependencies = [ [[package]] name = "swc_estree_compat" -version = "0.190.3" +version = "0.190.4" dependencies = [ "ahash 0.8.3", "anyhow", @@ -4599,7 +4599,7 @@ dependencies = [ [[package]] name = "swc_html" -version = "0.130.2" +version = "0.130.3" dependencies = [ "swc_html_ast", "swc_html_codegen", @@ -4650,7 +4650,7 @@ dependencies = [ [[package]] name = "swc_html_minifier" -version = "0.127.2" +version = "0.127.3" dependencies = [ "criterion", "once_cell", @@ -4736,7 +4736,7 @@ dependencies = [ [[package]] name = "swc_node_bundler" -version = "0.54.3" +version = "0.54.4" dependencies = [ "anyhow", "dashmap", diff --git a/crates/binding_macros/Cargo.toml b/crates/binding_macros/Cargo.toml index cc02101f0692..1ee37cf51e81 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.56.3" +version = "0.56.4" [lib] bench = false @@ -33,7 +33,7 @@ binding_wasm = [ [dependencies] # Common deps for the SWC imports -swc = { optional = true, version = "0.265.3", path = "../swc" } +swc = { optional = true, version = "0.265.4", path = "../swc" } swc_common = { optional = true, version = "0.32.0", path = "../swc_common" } swc_ecma_ast = { optional = true, version = "0.109.0", path = "../swc_ecma_ast" } swc_ecma_transforms = { optional = true, version = "0.223.2", path = "../swc_ecma_transforms" } diff --git a/crates/dbg-swc/Cargo.toml b/crates/dbg-swc/Cargo.toml index 75e8edeb9671..ead51949a105 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.86.2" +version = "0.86.3" [[bin]] bench = false @@ -32,7 +32,7 @@ swc_common = { version = "0.32.0", features = [ ], path = "../swc_common" } swc_ecma_ast = { version = "0.109.0", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.144.0", path = "../swc_ecma_codegen" } -swc_ecma_minifier = { version = "0.186.2", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "0.186.3", path = "../swc_ecma_minifier", features = [ "concurrent", ] } swc_ecma_parser = { version = "0.139.0", path = "../swc_ecma_parser" } diff --git a/crates/swc/Cargo.toml b/crates/swc/Cargo.toml index 64e791ccdeb6..c4a4c666c955 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.265.3" +version = "0.265.4" [lib] bench = false @@ -83,7 +83,7 @@ swc_ecma_loader = { version = "0.44.2", path = "../swc_ecma_loader", features = "node", "tsc", ] } -swc_ecma_minifier = { version = "0.186.2", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { version = "0.186.3", path = "../swc_ecma_minifier" } swc_ecma_parser = { version = "0.139.0", path = "../swc_ecma_parser" } swc_ecma_preset_env = { version = "0.200.3", path = "../swc_ecma_preset_env" } swc_ecma_transforms = { version = "0.223.2", path = "../swc_ecma_transforms", features = [ diff --git a/crates/swc_bundler/Cargo.toml b/crates/swc_bundler/Cargo.toml index 98d654b74b01..4f61525584e6 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.219.2" +version = "0.219.3" [package.metadata.docs.rs] all-features = true @@ -63,7 +63,7 @@ swc_ecma_loader = { version = "0.44.2", path = "../swc_ecma_loader", features = "node", "cache", ] } -swc_ecma_minifier = { version = "0.186.2", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "0.186.3", path = "../swc_ecma_minifier", features = [ "concurrent", ] } swc_ecma_transforms_proposal = { version = "0.166.2", path = "../swc_ecma_transforms_proposal" } diff --git a/crates/swc_core/Cargo.toml b/crates/swc_core/Cargo.toml index 725a091cbe70..b312c643b6c6 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.82.3" +version = "0.82.4" [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.56.3", path = "../binding_macros" } -swc = { optional = true, version = "0.265.3", path = "../swc" } +binding_macros = { optional = true, version = "0.56.4", path = "../binding_macros" } +swc = { optional = true, version = "0.265.4", path = "../swc" } swc_atoms = { optional = true, version = "0.5.9", path = "../swc_atoms" } -swc_bundler = { optional = true, version = "0.219.2", path = "../swc_bundler" } +swc_bundler = { optional = true, version = "0.219.3", path = "../swc_bundler" } swc_cached = { optional = true, version = "0.3.17", path = "../swc_cached" } swc_common = { optional = true, version = "0.32.0", path = "../swc_common" } swc_css_ast = { optional = true, version = "0.139.0", path = "../swc_css_ast" } @@ -342,7 +342,7 @@ swc_css_visit = { optional = true, version = "0.138.0", path swc_ecma_ast = { optional = true, version = "0.109.0", path = "../swc_ecma_ast" } swc_ecma_codegen = { optional = true, version = "0.144.0", path = "../swc_ecma_codegen" } swc_ecma_loader = { optional = true, version = "0.44.2", path = "../swc_ecma_loader" } -swc_ecma_minifier = { optional = true, version = "0.186.2", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { optional = true, version = "0.186.3", path = "../swc_ecma_minifier" } swc_ecma_parser = { optional = true, version = "0.139.0", path = "../swc_ecma_parser" } swc_ecma_preset_env = { optional = true, version = "0.200.3", path = "../swc_ecma_preset_env" } swc_ecma_quote_macros = { optional = true, version = "0.50.0", path = "../swc_ecma_quote_macros" } @@ -358,7 +358,7 @@ swc_ecma_usage_analyzer = { optional = true, version = "0.18.0", path = swc_ecma_utils = { optional = true, version = "0.122.0", path = "../swc_ecma_utils" } swc_ecma_visit = { optional = true, version = "0.95.0", path = "../swc_ecma_visit" } swc_node_base = { optional = true, version = "0.5.8", path = "../swc_node_base" } -swc_node_bundler = { optional = true, version = "0.54.3", path = "../swc_node_bundler" } +swc_node_bundler = { optional = true, version = "0.54.4", 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 9a4f127cdb9a..d2ff7ef95b50 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.186.2" +version = "0.186.3" [package.metadata.docs.rs] all-features = true diff --git a/crates/swc_ecmascript/Cargo.toml b/crates/swc_ecmascript/Cargo.toml index b7fac5402fb9..2e39873b96e6 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.233.4" +version = "0.233.5" [package.metadata.docs.rs] all-features = true @@ -42,7 +42,7 @@ typescript = ["typescript-parser", "swc_ecma_transforms/typescript"] swc_ecma_ast = { version = "0.109.0", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.144.0", path = "../swc_ecma_codegen", optional = true } swc_ecma_dep_graph = { version = "0.111.1", path = "../swc_ecma_dep_graph", optional = true } -swc_ecma_minifier = { version = "0.186.2", path = "../swc_ecma_minifier", optional = true } +swc_ecma_minifier = { version = "0.186.3", path = "../swc_ecma_minifier", optional = true } swc_ecma_parser = { version = "0.139.0", path = "../swc_ecma_parser", optional = true, default-features = false } swc_ecma_preset_env = { version = "0.200.3", path = "../swc_ecma_preset_env", optional = true } swc_ecma_quote = { version = "0.55.0", path = "../swc_ecma_quote", optional = true } diff --git a/crates/swc_estree_compat/Cargo.toml b/crates/swc_estree_compat/Cargo.toml index 8f6270c5aab0..7f3c78730ae5 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.190.3" +version = "0.190.4" [package.metadata.docs.rs] all-features = true @@ -40,7 +40,7 @@ swc_node_comments = { version = "0.19.0", path = "../swc_node_comments/" } criterion = "0.5" pretty_assertions = "1.3" -swc = { version = "0.265.3", path = "../swc" } +swc = { version = "0.265.4", path = "../swc" } swc_ecma_ast = { version = "0.109.0", path = "../swc_ecma_ast" } swc_ecma_parser = { version = "0.139.0", path = "../swc_ecma_parser" } swc_ecma_transforms = { version = "0.223.2", path = "../swc_ecma_transforms/" } diff --git a/crates/swc_html/Cargo.toml b/crates/swc_html/Cargo.toml index ed68ca502912..71748d0a69ec 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.130.2" +version = "0.130.3" [package.metadata.docs.rs] all-features = true @@ -21,6 +21,6 @@ minifier = ["swc_html_minifier"] [dependencies] swc_html_ast = {version = "0.32.0", path = "../swc_html_ast"} swc_html_codegen = {version = "0.41.0", path = "../swc_html_codegen"} -swc_html_minifier = {version = "0.127.2", path = "../swc_html_minifier", optional = true} +swc_html_minifier = {version = "0.127.3", path = "../swc_html_minifier", optional = true} swc_html_parser = {version = "0.38.0", path = "../swc_html_parser"} swc_html_visit = {version = "0.32.0", path = "../swc_html_visit"} diff --git a/crates/swc_html_minifier/Cargo.toml b/crates/swc_html_minifier/Cargo.toml index 35af8b8405c4..120f29d289f3 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.127.2" +version = "0.127.3" [lib] bench = false @@ -31,7 +31,7 @@ swc_ecma_ast = { version = "0.109.0", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.144.0", path = "../swc_ecma_codegen", features = [ "serde-impl", ] } -swc_ecma_minifier = { version = "0.186.2", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "0.186.3", path = "../swc_ecma_minifier", features = [ "extra-serde", ] } swc_ecma_parser = { version = "0.139.0", path = "../swc_ecma_parser" } diff --git a/crates/swc_node_bundler/Cargo.toml b/crates/swc_node_bundler/Cargo.toml index aa240a738a53..b4be34169191 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.54.3" +version = "0.54.4" [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.265.3", path = "../swc" } +swc = { version = "0.265.4", path = "../swc" } swc_atoms = { version = "0.5.9", path = "../swc_atoms" } -swc_bundler = { version = "0.219.2", path = "../swc_bundler", features = [ +swc_bundler = { version = "0.219.3", path = "../swc_bundler", features = [ "concurrent", ] } swc_common = { version = "0.32.0", path = "../swc_common", features = [