diff --git a/CHANGELOG.md b/CHANGELOG.md index 434261fc1d53..9948378837e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,9 @@ - **(css/parser)** Fix recovery more for invalid component values in declaration value (#6560) ([db1eb48](https://github.com/swc-project/swc/commit/db1eb483fda71ca5f88342d8c53cb795707c6221)) +- **(css/parser)** Fix parsing of nested rules (#6563) ([a1fe907](https://github.com/swc-project/swc/commit/a1fe9076c231ca1eef05c558f43803ec006559c3)) + + - **(es/parser)** Fix `typeof` in `TSCallSignatureDeclaration` (#6553) ([aa28aa0](https://github.com/swc-project/swc/commit/aa28aa0c7fefcaea063340c711a5ea8a3ba60e7b)) ### Features diff --git a/Cargo.lock b/Cargo.lock index e6e4cfaed661..c391adad6a6d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3267,7 +3267,7 @@ dependencies = [ [[package]] name = "swc_core" -version = "0.44.3" +version = "0.44.4" dependencies = [ "anyhow", "binding_macros", @@ -3319,7 +3319,7 @@ dependencies = [ [[package]] name = "swc_css" -version = "0.141.1" +version = "0.141.2" dependencies = [ "swc_css_ast", "swc_css_codegen", @@ -3347,7 +3347,7 @@ dependencies = [ [[package]] name = "swc_css_codegen" -version = "0.138.1" +version = "0.138.2" dependencies = [ "auto_impl", "bitflags", @@ -3376,7 +3376,7 @@ dependencies = [ [[package]] name = "swc_css_compat" -version = "0.13.1" +version = "0.13.2" dependencies = [ "once_cell", "serde", @@ -3393,7 +3393,7 @@ dependencies = [ [[package]] name = "swc_css_lints" -version = "0.47.1" +version = "0.47.2" dependencies = [ "auto_impl", "parking_lot", @@ -3412,7 +3412,7 @@ dependencies = [ [[package]] name = "swc_css_minifier" -version = "0.103.1" +version = "0.103.2" dependencies = [ "criterion", "serde", @@ -3429,7 +3429,7 @@ dependencies = [ [[package]] name = "swc_css_modules" -version = "0.14.1" +version = "0.14.2" dependencies = [ "rustc-hash", "serde", @@ -3446,7 +3446,7 @@ dependencies = [ [[package]] name = "swc_css_parser" -version = "0.137.1" +version = "0.137.2" dependencies = [ "bitflags", "criterion", @@ -3463,7 +3463,7 @@ dependencies = [ [[package]] name = "swc_css_prefixer" -version = "0.139.1" +version = "0.139.2" dependencies = [ "once_cell", "preset_env_base", @@ -4148,7 +4148,7 @@ dependencies = [ [[package]] name = "swc_html" -version = "0.97.3" +version = "0.97.4" dependencies = [ "swc_html_ast", "swc_html_codegen", @@ -4200,7 +4200,7 @@ dependencies = [ [[package]] name = "swc_html_minifier" -version = "0.94.3" +version = "0.94.4" dependencies = [ "criterion", "once_cell", diff --git a/crates/swc_core/Cargo.toml b/crates/swc_core/Cargo.toml index 9d4e3d70b448..857d080e6a86 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.44.3" +version = "0.44.4" [package.metadata.docs.rs] features = [ "common_perf", @@ -327,11 +327,11 @@ swc_bundler = { optional = true, version = "0.193.1", path swc_cached = { optional = true, version = "0.3.15", path = "../swc_cached" } swc_common = { optional = true, version = "0.29.16", path = "../swc_common" } swc_css_ast = { optional = true, version = "0.128.0", path = "../swc_css_ast" } -swc_css_codegen = { optional = true, version = "0.138.1", path = "../swc_css_codegen" } -swc_css_minifier = { optional = true, version = "0.103.1", path = "../swc_css_minifier" } -swc_css_modules = { optional = true, version = "0.14.1", path = "../swc_css_modules" } -swc_css_parser = { optional = true, version = "0.137.1", path = "../swc_css_parser" } -swc_css_prefixer = { optional = true, version = "0.139.1", path = "../swc_css_prefixer" } +swc_css_codegen = { optional = true, version = "0.138.2", path = "../swc_css_codegen" } +swc_css_minifier = { optional = true, version = "0.103.2", path = "../swc_css_minifier" } +swc_css_modules = { optional = true, version = "0.14.2", path = "../swc_css_modules" } +swc_css_parser = { optional = true, version = "0.137.2", path = "../swc_css_parser" } +swc_css_prefixer = { optional = true, version = "0.139.2", path = "../swc_css_prefixer" } swc_css_utils = { optional = true, version = "0.125.0", path = "../swc_css_utils/" } swc_css_visit = { optional = true, version = "0.127.0", path = "../swc_css_visit" } swc_ecma_ast = { optional = true, version = "0.95.0", path = "../swc_ecma_ast" } @@ -360,7 +360,7 @@ swc_plugin_proxy = { optional = true, version = "0.23.0", path = swc_trace_macro = { optional = true, version = "0.1.2", path = "../swc_trace_macro" } testing = { optional = true, version = "0.31.17", path = "../testing" } # TODO: eventually swc_plugin_runner needs to remove default features -swc_css_compat = { version = "0.13.1", path = "../swc_css_compat", optional = true } +swc_css_compat = { version = "0.13.2", path = "../swc_css_compat", optional = true } swc_plugin_runner = { optional = true, version = "0.78.1", path = "../swc_plugin_runner", default-features = false } [build-dependencies] diff --git a/crates/swc_css/Cargo.toml b/crates/swc_css/Cargo.toml index f045eea86988..b523fdf1d859 100644 --- a/crates/swc_css/Cargo.toml +++ b/crates/swc_css/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_css" repository = "https://github.com/swc-project/swc.git" -version = "0.141.1" +version = "0.141.2" [package.metadata.docs.rs] all-features = true @@ -23,11 +23,11 @@ prefixer = ["swc_css_prefixer"] [dependencies] swc_css_ast = {version = "0.128.0", path = "../swc_css_ast"} -swc_css_codegen = {version = "0.138.1", path = "../swc_css_codegen"} -swc_css_compat = {version = "0.13.1", path = "../swc_css_compat", optional = true} -swc_css_minifier = {version = "0.103.1", path = "../swc_css_minifier", optional = true} -swc_css_modules = {version = "0.14.1", path = "../swc_css_modules", optional = true} -swc_css_parser = {version = "0.137.1", path = "../swc_css_parser"} -swc_css_prefixer = {version = "0.139.1", path = "../swc_css_prefixer", optional = true} +swc_css_codegen = {version = "0.138.2", path = "../swc_css_codegen"} +swc_css_compat = {version = "0.13.2", path = "../swc_css_compat", optional = true} +swc_css_minifier = {version = "0.103.2", path = "../swc_css_minifier", optional = true} +swc_css_modules = {version = "0.14.2", path = "../swc_css_modules", optional = true} +swc_css_parser = {version = "0.137.2", path = "../swc_css_parser"} +swc_css_prefixer = {version = "0.139.2", path = "../swc_css_prefixer", optional = true} swc_css_utils = {version = "0.125.0", path = "../swc_css_utils/"} swc_css_visit = {version = "0.127.0", path = "../swc_css_visit"} diff --git a/crates/swc_css_codegen/Cargo.toml b/crates/swc_css_codegen/Cargo.toml index 873020667aa4..46d3aa696781 100644 --- a/crates/swc_css_codegen/Cargo.toml +++ b/crates/swc_css_codegen/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_css_codegen" repository = "https://github.com/swc-project/swc.git" -version = "0.138.1" +version = "0.138.2" [lib] bench = false @@ -27,6 +27,6 @@ swc_css_utils = { version = "0.125.0", path = "../swc_css_utils" } swc_common = { version = "0.29.16", path = "../swc_common", features = [ "sourcemap", ] } -swc_css_parser = { version = "0.137.1", path = "../swc_css_parser" } +swc_css_parser = { version = "0.137.2", path = "../swc_css_parser" } swc_css_visit = { version = "0.127.0", path = "../swc_css_visit" } testing = { version = "0.31.17", path = "../testing" } diff --git a/crates/swc_css_compat/Cargo.toml b/crates/swc_css_compat/Cargo.toml index 67619a650a19..1bf55d176de0 100644 --- a/crates/swc_css_compat/Cargo.toml +++ b/crates/swc_css_compat/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "src/**/*.json", "data/**/*.json"] license = "Apache-2.0" name = "swc_css_compat" repository = "https://github.com/swc-project/swc.git" -version = "0.13.1" +version = "0.13.2" [lib] bench = false @@ -23,6 +23,6 @@ swc_css_utils = {version = "0.125.0", path = "../swc_css_utils/"} swc_css_visit = {version = "0.127.0", path = "../swc_css_visit"} [dev-dependencies] -swc_css_codegen = {version = "0.138.1", path = "../swc_css_codegen"} -swc_css_parser = {version = "0.137.1", path = "../swc_css_parser"} +swc_css_codegen = {version = "0.138.2", path = "../swc_css_codegen"} +swc_css_parser = {version = "0.137.2", path = "../swc_css_parser"} testing = {version = "0.31.17", path = "../testing"} diff --git a/crates/swc_css_lints/Cargo.toml b/crates/swc_css_lints/Cargo.toml index d5ab7569f4f9..5391475eb1d6 100644 --- a/crates/swc_css_lints/Cargo.toml +++ b/crates/swc_css_lints/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_css_lints" repository = "https://github.com/swc-project/swc.git" -version = "0.47.1" +version = "0.47.2" [lib] bench = false @@ -26,5 +26,5 @@ thiserror = "1.0.30" [dev-dependencies] serde_json = "1.0.79" -swc_css_parser = { version = "0.137.1", path = "../swc_css_parser" } +swc_css_parser = { version = "0.137.2", path = "../swc_css_parser" } testing = { version = "0.31.17", path = "../testing" } diff --git a/crates/swc_css_minifier/Cargo.toml b/crates/swc_css_minifier/Cargo.toml index 76856ea5c10b..11736de0f66b 100644 --- a/crates/swc_css_minifier/Cargo.toml +++ b/crates/swc_css_minifier/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_css_minifier" repository = "https://github.com/swc-project/swc.git" -version = "0.103.1" +version = "0.103.2" [lib] bench = false @@ -22,8 +22,8 @@ swc_css_visit = { version = "0.127.0", path = "../swc_css_visit" } [dev-dependencies] criterion = "0.3" -swc_css_codegen = { version = "0.138.1", path = "../swc_css_codegen" } -swc_css_parser = { version = "0.137.1", path = "../swc_css_parser" } +swc_css_codegen = { version = "0.138.2", path = "../swc_css_codegen" } +swc_css_parser = { version = "0.137.2", path = "../swc_css_parser" } swc_node_base = { version = "0.5.8", path = "../swc_node_base" } testing = { version = "0.31.17", path = "../testing" } diff --git a/crates/swc_css_modules/Cargo.toml b/crates/swc_css_modules/Cargo.toml index 3b28d58bb958..4ee59f5c7c7a 100644 --- a/crates/swc_css_modules/Cargo.toml +++ b/crates/swc_css_modules/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_css_modules" repository = "https://github.com/swc-project/swc.git" -version = "0.14.1" +version = "0.14.2" [lib] bench = false @@ -20,11 +20,11 @@ serde = {version = "1", features = ["derive"]} swc_atoms = {version = "0.4.25", path = "../swc_atoms"} swc_common = {version = "0.29.16", path = "../swc_common"} swc_css_ast = {version = "0.128.0", path = "../swc_css_ast"} -swc_css_codegen = {version = "0.138.1", path = "../swc_css_codegen"} -swc_css_parser = {version = "0.137.1", path = "../swc_css_parser"} +swc_css_codegen = {version = "0.138.2", path = "../swc_css_codegen"} +swc_css_parser = {version = "0.137.2", path = "../swc_css_parser"} swc_css_visit = {version = "0.127.0", path = "../swc_css_visit"} [dev-dependencies] serde_json = "1" -swc_css_compat = {version = "0.13.1", path = "../swc_css_compat"} +swc_css_compat = {version = "0.13.2", path = "../swc_css_compat"} testing = {version = "0.31.17", path = "../testing"} diff --git a/crates/swc_css_parser/Cargo.toml b/crates/swc_css_parser/Cargo.toml index 63d8a2f469bb..9f7b8518396a 100644 --- a/crates/swc_css_parser/Cargo.toml +++ b/crates/swc_css_parser/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_css_parser" repository = "https://github.com/swc-project/swc.git" -version = "0.137.1" +version = "0.137.2" [lib] bench = false diff --git a/crates/swc_css_prefixer/Cargo.toml b/crates/swc_css_prefixer/Cargo.toml index 4838bd209292..09acede366b0 100644 --- a/crates/swc_css_prefixer/Cargo.toml +++ b/crates/swc_css_prefixer/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "src/**/*.json", "data/**/*.json"] license = "Apache-2.0" name = "swc_css_prefixer" repository = "https://github.com/swc-project/swc.git" -version = "0.139.1" +version = "0.139.2" [lib] bench = false @@ -24,6 +24,6 @@ swc_css_utils = {version = "0.125.0", path = "../swc_css_utils/"} swc_css_visit = {version = "0.127.0", path = "../swc_css_visit"} [dev-dependencies] -swc_css_codegen = {version = "0.138.1", path = "../swc_css_codegen"} -swc_css_parser = {version = "0.137.1", path = "../swc_css_parser"} +swc_css_codegen = {version = "0.138.2", path = "../swc_css_codegen"} +swc_css_parser = {version = "0.137.2", path = "../swc_css_parser"} testing = {version = "0.31.17", path = "../testing"} diff --git a/crates/swc_html/Cargo.toml b/crates/swc_html/Cargo.toml index 26f924288605..963384a4ed23 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.97.3" +version = "0.97.4" [package.metadata.docs.rs] all-features = true @@ -21,6 +21,6 @@ minifier = ["swc_html_minifier"] [dependencies] swc_html_ast = {version = "0.28.7", path = "../swc_html_ast"} swc_html_codegen = {version = "0.37.16", path = "../swc_html_codegen"} -swc_html_minifier = {version = "0.94.3", path = "../swc_html_minifier", optional = true} +swc_html_minifier = {version = "0.94.4", path = "../swc_html_minifier", optional = true} swc_html_parser = {version = "0.34.16", path = "../swc_html_parser"} swc_html_visit = {version = "0.28.7", path = "../swc_html_visit"} diff --git a/crates/swc_html_minifier/Cargo.toml b/crates/swc_html_minifier/Cargo.toml index dee3a621930a..c624c6c5af06 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.94.3" +version = "0.94.4" [lib] bench = false @@ -23,9 +23,9 @@ swc_atoms = { version = "0.4.25", path = "../swc_atoms" } swc_cached = { version = "0.3.15", path = "../swc_cached" } swc_common = { version = "0.29.16", path = "../swc_common" } swc_css_ast = { version = "0.128.0", path = "../swc_css_ast" } -swc_css_codegen = { version = "0.138.1", path = "../swc_css_codegen" } -swc_css_minifier = { version = "0.103.1", path = "../swc_css_minifier" } -swc_css_parser = { version = "0.137.1", path = "../swc_css_parser" } +swc_css_codegen = { version = "0.138.2", path = "../swc_css_codegen" } +swc_css_minifier = { version = "0.103.2", path = "../swc_css_minifier" } +swc_css_parser = { version = "0.137.2", path = "../swc_css_parser" } swc_ecma_ast = { version = "0.95.0", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.128.1", path = "../swc_ecma_codegen" } swc_ecma_minifier = { version = "0.160.1", path = "../swc_ecma_minifier" }