diff --git a/CHANGELOG.md b/CHANGELOG.md index ccf6b21920c..c8e437d26d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,9 @@ - **(css/parser)** Fix parsing of `supports()` (#6333) ([f483224](https://github.com/swc-project/swc/commit/f4832247bc5a831658d8a6c15678eaf6412fa0c1)) +- **(css/parser)** Fix parsing of `` (#6380) ([d18eaf1](https://github.com/swc-project/swc/commit/d18eaf169858705975f3954e89177532ff39b125)) + + - **(es)** Use `unresolved_mark` for preset-env (#6386) ([156f370](https://github.com/swc-project/swc/commit/156f370af935f563129fa9952fa2f8c3a865e5de)) diff --git a/Cargo.lock b/Cargo.lock index f4749274109..066dcaa3087 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3162,7 +3162,7 @@ dependencies = [ [[package]] name = "swc_core" -version = "0.41.2" +version = "0.41.3" dependencies = [ "binding_macros", "once_cell", @@ -3212,7 +3212,7 @@ dependencies = [ [[package]] name = "swc_css" -version = "0.138.2" +version = "0.138.3" dependencies = [ "swc_css_ast", "swc_css_codegen", @@ -3240,7 +3240,7 @@ dependencies = [ [[package]] name = "swc_css_codegen" -version = "0.135.2" +version = "0.135.3" dependencies = [ "auto_impl", "bitflags", @@ -3269,7 +3269,7 @@ dependencies = [ [[package]] name = "swc_css_compat" -version = "0.10.2" +version = "0.10.3" dependencies = [ "once_cell", "serde", @@ -3286,7 +3286,7 @@ dependencies = [ [[package]] name = "swc_css_lints" -version = "0.44.2" +version = "0.44.3" dependencies = [ "auto_impl", "parking_lot", @@ -3305,7 +3305,7 @@ dependencies = [ [[package]] name = "swc_css_minifier" -version = "0.100.2" +version = "0.100.3" dependencies = [ "criterion", "serde", @@ -3322,7 +3322,7 @@ dependencies = [ [[package]] name = "swc_css_modules" -version = "0.11.2" +version = "0.11.3" dependencies = [ "rustc-hash", "serde", @@ -3339,7 +3339,7 @@ dependencies = [ [[package]] name = "swc_css_parser" -version = "0.134.2" +version = "0.134.3" dependencies = [ "bitflags", "criterion", @@ -3356,7 +3356,7 @@ dependencies = [ [[package]] name = "swc_css_prefixer" -version = "0.136.2" +version = "0.136.3" dependencies = [ "once_cell", "preset_env_base", @@ -4041,7 +4041,7 @@ dependencies = [ [[package]] name = "swc_html" -version = "0.94.2" +version = "0.94.3" dependencies = [ "swc_html_ast", "swc_html_codegen", @@ -4093,7 +4093,7 @@ dependencies = [ [[package]] name = "swc_html_minifier" -version = "0.91.2" +version = "0.91.3" dependencies = [ "criterion", "once_cell", diff --git a/crates/swc_core/Cargo.toml b/crates/swc_core/Cargo.toml index 1ae7007a164..883a82fe0ec 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.41.2" +version = "0.41.3" [package.metadata.docs.rs] features = [ "common_perf", @@ -325,11 +325,11 @@ swc_bundler = { optional = true, version = "0.192.73", path swc_cached = { optional = true, version = "0.3.15", path = "../swc_cached" } swc_common = { optional = true, version = "0.29.13", path = "../swc_common" } swc_css_ast = { optional = true, version = "0.125.0", path = "../swc_css_ast" } -swc_css_codegen = { optional = true, version = "0.135.2", path = "../swc_css_codegen" } -swc_css_minifier = { optional = true, version = "0.100.2", path = "../swc_css_minifier" } -swc_css_modules = { optional = true, version = "0.11.2", path = "../swc_css_modules" } -swc_css_parser = { optional = true, version = "0.134.2", path = "../swc_css_parser" } -swc_css_prefixer = { optional = true, version = "0.136.2", path = "../swc_css_prefixer" } +swc_css_codegen = { optional = true, version = "0.135.3", path = "../swc_css_codegen" } +swc_css_minifier = { optional = true, version = "0.100.3", path = "../swc_css_minifier" } +swc_css_modules = { optional = true, version = "0.11.3", path = "../swc_css_modules" } +swc_css_parser = { optional = true, version = "0.134.3", path = "../swc_css_parser" } +swc_css_prefixer = { optional = true, version = "0.136.3", path = "../swc_css_prefixer" } swc_css_utils = { optional = true, version = "0.122.0", path = "../swc_css_utils/" } swc_css_visit = { optional = true, version = "0.124.0", path = "../swc_css_visit" } swc_ecma_ast = { optional = true, version = "0.94.18", path = "../swc_ecma_ast" } @@ -357,7 +357,7 @@ swc_plugin_proxy = { optional = true, version = "0.22.18", path swc_trace_macro = { optional = true, version = "0.1.2", path = "../swc_trace_macro" } testing = { optional = true, version = "0.31.13", path = "../testing" } # TODO: eventually swc_plugin_runner needs to remove default features -swc_css_compat = { version = "0.10.2", path = "../swc_css_compat", optional = true } +swc_css_compat = { version = "0.10.3", path = "../swc_css_compat", optional = true } swc_plugin_runner = { optional = true, version = "0.77.30", path = "../swc_plugin_runner", default-features = false } [build-dependencies] diff --git a/crates/swc_css/Cargo.toml b/crates/swc_css/Cargo.toml index b87d9935ab4..13f9514fa19 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.138.2" +version = "0.138.3" [package.metadata.docs.rs] all-features = true @@ -23,11 +23,11 @@ prefixer = ["swc_css_prefixer"] [dependencies] swc_css_ast = {version = "0.125.0", path = "../swc_css_ast"} -swc_css_codegen = {version = "0.135.2", path = "../swc_css_codegen"} -swc_css_compat = {version = "0.10.2", path = "../swc_css_compat", optional = true} -swc_css_minifier = {version = "0.100.2", path = "../swc_css_minifier", optional = true} -swc_css_modules = {version = "0.11.2", path = "../swc_css_modules", optional = true} -swc_css_parser = {version = "0.134.2", path = "../swc_css_parser"} -swc_css_prefixer = {version = "0.136.2", path = "../swc_css_prefixer", optional = true} +swc_css_codegen = {version = "0.135.3", path = "../swc_css_codegen"} +swc_css_compat = {version = "0.10.3", path = "../swc_css_compat", optional = true} +swc_css_minifier = {version = "0.100.3", path = "../swc_css_minifier", optional = true} +swc_css_modules = {version = "0.11.3", path = "../swc_css_modules", optional = true} +swc_css_parser = {version = "0.134.3", path = "../swc_css_parser"} +swc_css_prefixer = {version = "0.136.3", path = "../swc_css_prefixer", optional = true} swc_css_utils = {version = "0.122.0", path = "../swc_css_utils/"} swc_css_visit = {version = "0.124.0", path = "../swc_css_visit"} diff --git a/crates/swc_css_codegen/Cargo.toml b/crates/swc_css_codegen/Cargo.toml index 912336a516d..6d987c01db1 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.135.2" +version = "0.135.3" [lib] bench = false @@ -27,6 +27,6 @@ swc_css_utils = { version = "0.122.0", path = "../swc_css_utils" } swc_common = { version = "0.29.13", path = "../swc_common", features = [ "sourcemap", ] } -swc_css_parser = { version = "0.134.2", path = "../swc_css_parser" } +swc_css_parser = { version = "0.134.3", path = "../swc_css_parser" } swc_css_visit = { version = "0.124.0", path = "../swc_css_visit" } testing = { version = "0.31.13", path = "../testing" } diff --git a/crates/swc_css_compat/Cargo.toml b/crates/swc_css_compat/Cargo.toml index 2a7460102ce..d1b549b29d5 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.10.2" +version = "0.10.3" [lib] bench = false @@ -23,6 +23,6 @@ swc_css_utils = {version = "0.122.0", path = "../swc_css_utils/"} swc_css_visit = {version = "0.124.0", path = "../swc_css_visit"} [dev-dependencies] -swc_css_codegen = {version = "0.135.2", path = "../swc_css_codegen"} -swc_css_parser = {version = "0.134.2", path = "../swc_css_parser"} +swc_css_codegen = {version = "0.135.3", path = "../swc_css_codegen"} +swc_css_parser = {version = "0.134.3", path = "../swc_css_parser"} testing = {version = "0.31.13", path = "../testing"} diff --git a/crates/swc_css_lints/Cargo.toml b/crates/swc_css_lints/Cargo.toml index 5e1329856b2..b0dd14cd708 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.44.2" +version = "0.44.3" [lib] bench = false @@ -26,5 +26,5 @@ thiserror = "1.0.30" [dev-dependencies] serde_json = "1.0.79" -swc_css_parser = { version = "0.134.2", path = "../swc_css_parser" } +swc_css_parser = { version = "0.134.3", path = "../swc_css_parser" } testing = { version = "0.31.13", path = "../testing" } diff --git a/crates/swc_css_minifier/Cargo.toml b/crates/swc_css_minifier/Cargo.toml index 2a8e2927ff6..c0a960f9802 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.100.2" +version = "0.100.3" [lib] bench = false @@ -22,8 +22,8 @@ swc_css_visit = { version = "0.124.0", path = "../swc_css_visit" } [dev-dependencies] criterion = "0.3" -swc_css_codegen = { version = "0.135.2", path = "../swc_css_codegen" } -swc_css_parser = { version = "0.134.2", path = "../swc_css_parser" } +swc_css_codegen = { version = "0.135.3", path = "../swc_css_codegen" } +swc_css_parser = { version = "0.134.3", path = "../swc_css_parser" } swc_node_base = { version = "0.5.8", path = "../swc_node_base" } testing = { version = "0.31.13", path = "../testing" } diff --git a/crates/swc_css_modules/Cargo.toml b/crates/swc_css_modules/Cargo.toml index a5033344046..f74b926252c 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.11.2" +version = "0.11.3" [lib] bench = false @@ -20,11 +20,11 @@ serde = {version = "1", features = ["derive"]} swc_atoms = {version = "0.4.24", path = "../swc_atoms"} swc_common = {version = "0.29.13", path = "../swc_common"} swc_css_ast = {version = "0.125.0", path = "../swc_css_ast"} -swc_css_codegen = {version = "0.135.2", path = "../swc_css_codegen"} -swc_css_parser = {version = "0.134.2", path = "../swc_css_parser"} +swc_css_codegen = {version = "0.135.3", path = "../swc_css_codegen"} +swc_css_parser = {version = "0.134.3", path = "../swc_css_parser"} swc_css_visit = {version = "0.124.0", path = "../swc_css_visit"} [dev-dependencies] serde_json = "1" -swc_css_compat = {version = "0.10.2", path = "../swc_css_compat"} +swc_css_compat = {version = "0.10.3", path = "../swc_css_compat"} testing = {version = "0.31.13", path = "../testing"} diff --git a/crates/swc_css_parser/Cargo.toml b/crates/swc_css_parser/Cargo.toml index ce330d42c96..ff369daa070 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.134.2" +version = "0.134.3" [lib] bench = false diff --git a/crates/swc_css_prefixer/Cargo.toml b/crates/swc_css_prefixer/Cargo.toml index eee345a75db..224c92c6dc0 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.136.2" +version = "0.136.3" [lib] bench = false @@ -24,6 +24,6 @@ swc_css_utils = {version = "0.122.0", path = "../swc_css_utils/"} swc_css_visit = {version = "0.124.0", path = "../swc_css_visit"} [dev-dependencies] -swc_css_codegen = {version = "0.135.2", path = "../swc_css_codegen"} -swc_css_parser = {version = "0.134.2", path = "../swc_css_parser"} +swc_css_codegen = {version = "0.135.3", path = "../swc_css_codegen"} +swc_css_parser = {version = "0.134.3", path = "../swc_css_parser"} testing = {version = "0.31.13", path = "../testing"} diff --git a/crates/swc_html/Cargo.toml b/crates/swc_html/Cargo.toml index 7e3a32904bf..5004048e7eb 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.94.2" +version = "0.94.3" [package.metadata.docs.rs] all-features = true @@ -21,6 +21,6 @@ minifier = ["swc_html_minifier"] [dependencies] swc_html_ast = {version = "0.28.4", path = "../swc_html_ast"} swc_html_codegen = {version = "0.37.10", path = "../swc_html_codegen"} -swc_html_minifier = {version = "0.91.2", path = "../swc_html_minifier", optional = true} +swc_html_minifier = {version = "0.91.3", path = "../swc_html_minifier", optional = true} swc_html_parser = {version = "0.34.10", path = "../swc_html_parser"} swc_html_visit = {version = "0.28.4", path = "../swc_html_visit"} diff --git a/crates/swc_html_minifier/Cargo.toml b/crates/swc_html_minifier/Cargo.toml index 0a407a60614..15bd109bf8a 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.91.2" +version = "0.91.3" [lib] bench = false @@ -23,9 +23,9 @@ swc_atoms = { version = "0.4.24", path = "../swc_atoms" } swc_cached = { version = "0.3.15", path = "../swc_cached" } swc_common = { version = "0.29.13", path = "../swc_common" } swc_css_ast = { version = "0.125.0", path = "../swc_css_ast" } -swc_css_codegen = { version = "0.135.2", path = "../swc_css_codegen" } -swc_css_minifier = { version = "0.100.2", path = "../swc_css_minifier" } -swc_css_parser = { version = "0.134.2", path = "../swc_css_parser" } +swc_css_codegen = { version = "0.135.3", path = "../swc_css_codegen" } +swc_css_minifier = { version = "0.100.3", path = "../swc_css_minifier" } +swc_css_parser = { version = "0.134.3", path = "../swc_css_parser" } swc_ecma_ast = { version = "0.94.18", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.127.30", path = "../swc_ecma_codegen" } swc_ecma_minifier = { version = "0.159.73", path = "../swc_ecma_minifier" }