From 7f6b4f0089236d2c18d8d992d27ed08d19febb06 Mon Sep 17 00:00:00 2001 From: SWC Bot Date: Tue, 7 Mar 2023 02:08:30 +0000 Subject: [PATCH] chore: Publish crates --- CHANGELOG.md | 8 ++++++++ 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, 45 insertions(+), 37 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b7f8e82b342..238ba738bf4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,12 @@ # Changelog +## [unreleased] + +### Bug Fixes + + + +- **(es/minifier)** Bailout regex optimization on invalid flags (#7020) ([1318afe](https://github.com/swc-project/swc/commit/1318afe2b4a7a25233db5760b785605019b9f06b)) + ## [1.3.38] - 2023-03-06 ### Bug Fixes diff --git a/Cargo.lock b/Cargo.lock index 595bd6a5063..1af09ef7025 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -177,7 +177,7 @@ dependencies = [ [[package]] name = "binding_macros" -version = "0.39.5" +version = "0.39.6" dependencies = [ "anyhow", "console_error_panic_hook", @@ -844,7 +844,7 @@ dependencies = [ [[package]] name = "dbg-swc" -version = "0.71.5" +version = "0.71.6" dependencies = [ "anyhow", "clap 3.1.0", @@ -3119,7 +3119,7 @@ dependencies = [ [[package]] name = "swc" -version = "0.250.5" +version = "0.250.6" dependencies = [ "ahash", "ansi_term", @@ -3191,7 +3191,7 @@ dependencies = [ [[package]] name = "swc_bundler" -version = "0.204.3" +version = "0.204.4" dependencies = [ "ahash", "anyhow", @@ -3305,7 +3305,7 @@ dependencies = [ [[package]] name = "swc_core" -version = "0.64.5" +version = "0.64.6" dependencies = [ "anyhow", "binding_macros", @@ -3669,7 +3669,7 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "0.171.3" +version = "0.171.4" dependencies = [ "ahash", "ansi_term", @@ -4111,7 +4111,7 @@ dependencies = [ [[package]] name = "swc_ecmascript" -version = "0.218.4" +version = "0.218.5" dependencies = [ "swc_ecma_ast", "swc_ecma_codegen", @@ -4159,7 +4159,7 @@ dependencies = [ [[package]] name = "swc_estree_compat" -version = "0.173.5" +version = "0.173.6" dependencies = [ "ahash", "anyhow", @@ -4207,7 +4207,7 @@ dependencies = [ [[package]] name = "swc_html" -version = "0.114.3" +version = "0.114.4" dependencies = [ "swc_html_ast", "swc_html_codegen", @@ -4259,7 +4259,7 @@ dependencies = [ [[package]] name = "swc_html_minifier" -version = "0.111.3" +version = "0.111.4" dependencies = [ "criterion", "once_cell", @@ -4345,7 +4345,7 @@ dependencies = [ [[package]] name = "swc_node_bundler" -version = "0.37.5" +version = "0.37.6" dependencies = [ "anyhow", "dashmap", diff --git a/crates/binding_macros/Cargo.toml b/crates/binding_macros/Cargo.toml index 31958043783..2c47ea23c89 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.39.5" +version = "0.39.6" [lib] bench = false @@ -33,7 +33,7 @@ binding_wasm = [ [dependencies] # Common deps for the SWC imports -swc = { optional = true, version = "0.250.5", path = "../swc" } +swc = { optional = true, version = "0.250.6", path = "../swc" } swc_common = { optional = true, version = "0.29.33", path = "../swc_common" } swc_ecma_ast = { optional = true, version = "0.98.0", path = "../swc_ecma_ast" } swc_ecma_transforms = { optional = true, version = "0.208.3", path = "../swc_ecma_transforms" } diff --git a/crates/dbg-swc/Cargo.toml b/crates/dbg-swc/Cargo.toml index 9bbe5bec93e..e45dcf6bdaa 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.71.5" +version = "0.71.6" [[bin]] bench = false @@ -27,7 +27,7 @@ swc_common = { version = "0.29.33", features = [ ], path = "../swc_common" } swc_ecma_ast = { version = "0.98.0", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.133.1", path = "../swc_ecma_codegen" } -swc_ecma_minifier = { version = "0.171.3", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "0.171.4", path = "../swc_ecma_minifier", features = [ "concurrent", ] } swc_ecma_parser = { version = "0.128.1", path = "../swc_ecma_parser" } diff --git a/crates/swc/Cargo.toml b/crates/swc/Cargo.toml index 4dd8a35d5bc..7cb70e5ea7c 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.250.5" +version = "0.250.6" [lib] bench = false @@ -79,7 +79,7 @@ swc_ecma_loader = { version = "0.41.35", path = "../swc_ecma_loader", features = "node", "tsc", ] } -swc_ecma_minifier = { version = "0.171.3", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { version = "0.171.4", path = "../swc_ecma_minifier" } swc_ecma_parser = { version = "0.128.1", path = "../swc_ecma_parser" } swc_ecma_preset_env = { version = "0.185.4", path = "../swc_ecma_preset_env" } swc_ecma_transforms = { version = "0.208.3", path = "../swc_ecma_transforms", features = [ diff --git a/crates/swc_bundler/Cargo.toml b/crates/swc_bundler/Cargo.toml index 1b022185b7b..8f47def65e1 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.204.3" +version = "0.204.4" [package.metadata.docs.rs] all-features = true @@ -60,7 +60,7 @@ swc_ecma_loader = {version = "0.41.35", path = "../swc_ecma_loader", features = "node", "cache", ]} -swc_ecma_minifier = {version = "0.171.3", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = {version = "0.171.4", path = "../swc_ecma_minifier", features = [ "concurrent", ]} swc_ecma_transforms_proposal = {version = "0.153.1", path = "../swc_ecma_transforms_proposal"} diff --git a/crates/swc_core/Cargo.toml b/crates/swc_core/Cargo.toml index 3fa1f49f274..78a1bb2b56f 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.64.5" +version = "0.64.6" [package.metadata.docs.rs] features = [ "common_perf", @@ -340,10 +340,10 @@ wasmer = { optional = true, version = "2.3.0", default-features = false } wasmer-wasi = { optional = true, version = "2.3.0", default-features = false } # swc_* dependencies -binding_macros = { optional = true, version = "0.39.5", path = "../binding_macros" } -swc = { optional = true, version = "0.250.5", path = "../swc" } +binding_macros = { optional = true, version = "0.39.6", path = "../binding_macros" } +swc = { optional = true, version = "0.250.6", path = "../swc" } swc_atoms = { optional = true, version = "0.4.38", path = "../swc_atoms" } -swc_bundler = { optional = true, version = "0.204.3", path = "../swc_bundler" } +swc_bundler = { optional = true, version = "0.204.4", path = "../swc_bundler" } swc_cached = { optional = true, version = "0.3.15", path = "../swc_cached" } swc_common = { optional = true, version = "0.29.33", path = "../swc_common" } swc_css_ast = { optional = true, version = "0.134.6", path = "../swc_css_ast" } @@ -357,7 +357,7 @@ swc_css_visit = { optional = true, version = "0.133.6", path swc_ecma_ast = { optional = true, version = "0.98.0", path = "../swc_ecma_ast" } swc_ecma_codegen = { optional = true, version = "0.133.1", path = "../swc_ecma_codegen" } swc_ecma_loader = { optional = true, version = "0.41.35", path = "../swc_ecma_loader" } -swc_ecma_minifier = { optional = true, version = "0.171.3", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { optional = true, version = "0.171.4", path = "../swc_ecma_minifier" } swc_ecma_parser = { optional = true, version = "0.128.1", path = "../swc_ecma_parser" } swc_ecma_preset_env = { optional = true, version = "0.185.4", path = "../swc_ecma_preset_env" } swc_ecma_quote_macros = { optional = true, version = "0.39.1", path = "../swc_ecma_quote_macros" } @@ -373,7 +373,7 @@ swc_ecma_usage_analyzer = { optional = true, version = "0.7.1", path = swc_ecma_utils = { optional = true, version = "0.111.1", path = "../swc_ecma_utils" } swc_ecma_visit = { optional = true, version = "0.84.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.37.5", path = "../swc_node_bundler" } +swc_node_bundler = { optional = true, version = "0.37.6", path = "../swc_node_bundler" } swc_nodejs_common = { optional = true, version = "0.0.5", path = "../swc_nodejs_common" } swc_plugin = { optional = true, version = "0.90.0", path = "../swc_plugin" } swc_plugin_macro = { optional = true, version = "0.9.10", path = "../swc_plugin_macro" } diff --git a/crates/swc_ecma_minifier/Cargo.toml b/crates/swc_ecma_minifier/Cargo.toml index 39ec85dcd0d..fbb5bac5439 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.171.3" +version = "0.171.4" [package.metadata.docs.rs] all-features = true diff --git a/crates/swc_ecmascript/Cargo.toml b/crates/swc_ecmascript/Cargo.toml index 7a35425e8f5..82766a5f2c1 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.218.4" +version = "0.218.5" [package.metadata.docs.rs] all-features = true @@ -42,7 +42,7 @@ typescript = ["typescript-parser", "swc_ecma_transforms/typescript"] swc_ecma_ast = { version = "0.98.0", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.133.1", path = "../swc_ecma_codegen", optional = true } swc_ecma_dep_graph = { version = "0.100.1", path = "../swc_ecma_dep_graph", optional = true } -swc_ecma_minifier = { version = "0.171.3", path = "../swc_ecma_minifier", optional = true } +swc_ecma_minifier = { version = "0.171.4", path = "../swc_ecma_minifier", optional = true } swc_ecma_parser = { version = "0.128.1", path = "../swc_ecma_parser", optional = true, default-features = false } swc_ecma_preset_env = { version = "0.185.4", path = "../swc_ecma_preset_env", optional = true } swc_ecma_quote = { version = "0.44.1", path = "../swc_ecma_quote", optional = true } diff --git a/crates/swc_estree_compat/Cargo.toml b/crates/swc_estree_compat/Cargo.toml index c8d6f611eef..ca176ce3a36 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.173.5" +version = "0.173.6" [package.metadata.docs.rs] all-features = true @@ -38,7 +38,7 @@ swc_node_comments = { version = "0.16.33", path = "../swc_node_comments/" } [dev-dependencies] criterion = "0.3" pretty_assertions = "1.1" -swc = { version = "0.250.5", path = "../swc" } +swc = { version = "0.250.6", path = "../swc" } swc_ecma_ast = { version = "0.98.0", path = "../swc_ecma_ast" } swc_ecma_parser = { version = "0.128.1", path = "../swc_ecma_parser" } swc_ecma_transforms = { version = "0.208.3", path = "../swc_ecma_transforms/" } diff --git a/crates/swc_html/Cargo.toml b/crates/swc_html/Cargo.toml index 856cc6a71a2..0458f2269c6 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.114.3" +version = "0.114.4" [package.metadata.docs.rs] all-features = true @@ -21,6 +21,6 @@ minifier = ["swc_html_minifier"] [dependencies] swc_html_ast = {version = "0.28.25", path = "../swc_html_ast"} swc_html_codegen = {version = "0.37.37", path = "../swc_html_codegen"} -swc_html_minifier = {version = "0.111.3", path = "../swc_html_minifier", optional = true} +swc_html_minifier = {version = "0.111.4", path = "../swc_html_minifier", optional = true} swc_html_parser = {version = "0.34.36", path = "../swc_html_parser"} swc_html_visit = {version = "0.28.25", path = "../swc_html_visit"} diff --git a/crates/swc_html_minifier/Cargo.toml b/crates/swc_html_minifier/Cargo.toml index 1125218135b..68bccf10a85 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.111.3" +version = "0.111.4" [lib] bench = false @@ -28,7 +28,7 @@ swc_css_minifier = { version = "0.109.7", path = "../swc_css_minifier" } swc_css_parser = { version = "0.143.6", path = "../swc_css_parser" } swc_ecma_ast = { version = "0.98.0", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.133.1", path = "../swc_ecma_codegen" } -swc_ecma_minifier = { version = "0.171.3", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { version = "0.171.4", path = "../swc_ecma_minifier" } swc_ecma_parser = { version = "0.128.1", path = "../swc_ecma_parser" } swc_ecma_transforms_base = { version = "0.120.1", path = "../swc_ecma_transforms_base" } swc_ecma_visit = { version = "0.84.0", path = "../swc_ecma_visit" } diff --git a/crates/swc_node_bundler/Cargo.toml b/crates/swc_node_bundler/Cargo.toml index 02705fd0929..0cc55c5c000 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.37.5" +version = "0.37.6" [lib] bench = false @@ -26,9 +26,9 @@ regex = "1" serde = { version = "1", features = ["derive"] } serde_json = "1" string_enum = { version = "0.3.2", path = "../string_enum" } -swc = { version = "0.250.5", path = "../swc" } +swc = { version = "0.250.6", path = "../swc" } swc_atoms = { version = "0.4.38", path = "../swc_atoms" } -swc_bundler = { version = "0.204.3", path = "../swc_bundler", features = [ +swc_bundler = { version = "0.204.4", path = "../swc_bundler", features = [ "concurrent", ] } swc_common = { version = "0.29.33", path = "../swc_common", features = [