diff --git a/Cargo.lock b/Cargo.lock index 53f3ab669..245f320d7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -71,7 +71,7 @@ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" [[package]] name = "biome_analyze" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_console", "biome_deserialize", @@ -91,7 +91,7 @@ dependencies = [ [[package]] name = "biome_aria" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_aria_metadata", ] @@ -99,7 +99,7 @@ dependencies = [ [[package]] name = "biome_aria_metadata" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_deserialize", "biome_deserialize_macros", @@ -115,7 +115,7 @@ dependencies = [ [[package]] name = "biome_cli" version = "0.0.0" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "anyhow", "biome_analyze", @@ -175,7 +175,7 @@ dependencies = [ [[package]] name = "biome_configuration" version = "0.0.1" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_analyze", "biome_console", @@ -206,7 +206,7 @@ dependencies = [ [[package]] name = "biome_console" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_markup", "biome_text_size", @@ -220,7 +220,7 @@ dependencies = [ [[package]] name = "biome_control_flow" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_rowan", "rustc-hash 2.1.1", @@ -229,7 +229,7 @@ dependencies = [ [[package]] name = "biome_css_analyze" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_analyze", "biome_console", @@ -252,7 +252,7 @@ dependencies = [ [[package]] name = "biome_css_factory" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_css_syntax", "biome_rowan", @@ -261,7 +261,7 @@ dependencies = [ [[package]] name = "biome_css_formatter" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_css_syntax", "biome_diagnostics", @@ -274,7 +274,7 @@ dependencies = [ [[package]] name = "biome_css_parser" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_console", "biome_css_factory", @@ -289,7 +289,7 @@ dependencies = [ [[package]] name = "biome_css_semantic" version = "0.0.0" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_css_syntax", "biome_formatter", @@ -300,7 +300,7 @@ dependencies = [ [[package]] name = "biome_css_syntax" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_rowan", "biome_string_case", @@ -312,7 +312,7 @@ dependencies = [ [[package]] name = "biome_deserialize" version = "0.6.0" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_console", "biome_diagnostics", @@ -330,7 +330,7 @@ dependencies = [ [[package]] name = "biome_deserialize_macros" version = "0.6.0" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_string_case", "proc-macro-error2", @@ -342,7 +342,7 @@ dependencies = [ [[package]] name = "biome_diagnostics" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "backtrace", "biome_console", @@ -365,7 +365,7 @@ dependencies = [ [[package]] name = "biome_diagnostics_categories" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "quote", "schemars", @@ -376,7 +376,7 @@ dependencies = [ [[package]] name = "biome_diagnostics_macros" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "proc-macro-error2", "proc-macro2", @@ -387,7 +387,7 @@ dependencies = [ [[package]] name = "biome_flags" version = "0.0.0" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_console", ] @@ -395,7 +395,7 @@ dependencies = [ [[package]] name = "biome_formatter" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_console", "biome_deserialize", @@ -416,7 +416,7 @@ dependencies = [ [[package]] name = "biome_fs" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_diagnostics", "camino", @@ -437,7 +437,7 @@ dependencies = [ [[package]] name = "biome_glob" version = "0.1.0" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_deserialize", "biome_deserialize_macros", @@ -450,7 +450,7 @@ dependencies = [ [[package]] name = "biome_graphql_analyze" version = "0.0.1" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_analyze", "biome_console", @@ -471,7 +471,7 @@ dependencies = [ [[package]] name = "biome_graphql_factory" version = "0.1.0" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_graphql_syntax", "biome_rowan", @@ -480,7 +480,7 @@ dependencies = [ [[package]] name = "biome_graphql_formatter" version = "0.1.0" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_diagnostics", "biome_formatter", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "biome_graphql_parser" version = "0.1.0" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_console", "biome_diagnostics", @@ -508,7 +508,7 @@ dependencies = [ [[package]] name = "biome_graphql_syntax" version = "0.1.0" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_rowan", "biome_string_case", @@ -520,7 +520,7 @@ dependencies = [ [[package]] name = "biome_grit_factory" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_grit_syntax", "biome_rowan", @@ -529,7 +529,7 @@ dependencies = [ [[package]] name = "biome_grit_formatter" version = "0.0.0" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_formatter", "biome_grit_syntax", @@ -539,7 +539,7 @@ dependencies = [ [[package]] name = "biome_grit_parser" version = "0.1.0" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_console", "biome_diagnostics", @@ -557,7 +557,7 @@ dependencies = [ [[package]] name = "biome_grit_patterns" version = "0.0.1" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_analyze", "biome_console", @@ -586,7 +586,7 @@ dependencies = [ [[package]] name = "biome_grit_syntax" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_rowan", "biome_string_case", @@ -598,7 +598,7 @@ dependencies = [ [[package]] name = "biome_html_analyze" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_analyze", "biome_aria_metadata", @@ -618,7 +618,7 @@ dependencies = [ [[package]] name = "biome_html_factory" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_html_syntax", "biome_rowan", @@ -627,7 +627,7 @@ dependencies = [ [[package]] name = "biome_html_formatter" version = "0.0.0" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_deserialize", "biome_deserialize_macros", @@ -644,7 +644,7 @@ dependencies = [ [[package]] name = "biome_html_parser" version = "0.0.1" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_console", "biome_diagnostics", @@ -659,7 +659,7 @@ dependencies = [ [[package]] name = "biome_html_syntax" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_rowan", "biome_string_case", @@ -671,7 +671,7 @@ dependencies = [ [[package]] name = "biome_js_analyze" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_analyze", "biome_aria", @@ -712,7 +712,7 @@ dependencies = [ [[package]] name = "biome_js_factory" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_js_syntax", "biome_rowan", @@ -721,7 +721,7 @@ dependencies = [ [[package]] name = "biome_js_formatter" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_deserialize", "biome_deserialize_macros", @@ -744,7 +744,7 @@ dependencies = [ [[package]] name = "biome_js_parser" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_console", "biome_diagnostics", @@ -767,7 +767,7 @@ dependencies = [ [[package]] name = "biome_js_semantic" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_formatter", "biome_js_syntax", @@ -780,7 +780,7 @@ dependencies = [ [[package]] name = "biome_js_syntax" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_aria", "biome_aria_metadata", @@ -795,7 +795,7 @@ dependencies = [ [[package]] name = "biome_js_type_info" version = "0.0.1" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_formatter", "biome_js_syntax", @@ -811,7 +811,7 @@ dependencies = [ [[package]] name = "biome_js_type_info_macros" version = "0.0.1" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "proc-macro-error2", "proc-macro2", @@ -822,7 +822,7 @@ dependencies = [ [[package]] name = "biome_jsdoc_comment" version = "0.0.1" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_formatter", "biome_js_syntax", @@ -833,7 +833,7 @@ dependencies = [ [[package]] name = "biome_json_analyze" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_analyze", "biome_configuration", @@ -852,7 +852,7 @@ dependencies = [ [[package]] name = "biome_json_factory" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_json_syntax", "biome_rowan", @@ -861,7 +861,7 @@ dependencies = [ [[package]] name = "biome_json_formatter" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_deserialize", "biome_deserialize_macros", @@ -878,7 +878,7 @@ dependencies = [ [[package]] name = "biome_json_parser" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_console", "biome_diagnostics", @@ -894,7 +894,7 @@ dependencies = [ [[package]] name = "biome_json_syntax" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_rowan", "biome_string_case", @@ -907,7 +907,7 @@ dependencies = [ [[package]] name = "biome_json_value" version = "0.1.0" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_deserialize", "biome_deserialize_macros", @@ -921,7 +921,7 @@ dependencies = [ [[package]] name = "biome_line_index" version = "0.1.0" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_text_size", "rustc-hash 2.1.1", @@ -930,7 +930,7 @@ dependencies = [ [[package]] name = "biome_lsp" version = "0.0.0" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "anyhow", "biome_analyze", @@ -961,7 +961,7 @@ dependencies = [ [[package]] name = "biome_lsp_converters" version = "0.1.0" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "anyhow", "biome_line_index", @@ -973,7 +973,7 @@ dependencies = [ [[package]] name = "biome_markup" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "proc-macro-error2", "proc-macro2", @@ -983,7 +983,7 @@ dependencies = [ [[package]] name = "biome_migrate" version = "0.0.0" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_analyze", "biome_configuration", @@ -1001,7 +1001,7 @@ dependencies = [ [[package]] name = "biome_module_graph" version = "0.0.1" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_console", "biome_diagnostics", @@ -1031,7 +1031,7 @@ dependencies = [ [[package]] name = "biome_package" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_console", "biome_deserialize", @@ -1054,7 +1054,7 @@ dependencies = [ [[package]] name = "biome_parser" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_console", "biome_diagnostics", @@ -1068,7 +1068,7 @@ dependencies = [ [[package]] name = "biome_plugin_loader" version = "0.0.1" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_analyze", "biome_console", @@ -1096,7 +1096,7 @@ dependencies = [ [[package]] name = "biome_project_layout" version = "0.0.1" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_package", "biome_parser", @@ -1109,7 +1109,7 @@ dependencies = [ [[package]] name = "biome_resolver" version = "0.1.0" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_console", "biome_diagnostics", @@ -1123,7 +1123,7 @@ dependencies = [ [[package]] name = "biome_rowan" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_text_edit", "biome_text_size", @@ -1136,7 +1136,7 @@ dependencies = [ [[package]] name = "biome_rule_options" version = "0.0.1" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_console", "biome_deserialize", @@ -1160,7 +1160,7 @@ dependencies = [ [[package]] name = "biome_ruledoc_utils" version = "0.0.1" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "anyhow", "biome_analyze", @@ -1179,7 +1179,7 @@ dependencies = [ [[package]] name = "biome_service" version = "0.0.0" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_analyze", "biome_configuration", @@ -1252,7 +1252,7 @@ dependencies = [ [[package]] name = "biome_string_case" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_rowan", ] @@ -1260,7 +1260,7 @@ dependencies = [ [[package]] name = "biome_suppression" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_console", "biome_diagnostics", @@ -1270,7 +1270,7 @@ dependencies = [ [[package]] name = "biome_test_utils" version = "0.0.0" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "ansi_rgb", "biome_analyze", @@ -1302,7 +1302,7 @@ dependencies = [ [[package]] name = "biome_text_edit" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "biome_text_size", "schemars", @@ -1313,7 +1313,7 @@ dependencies = [ [[package]] name = "biome_text_size" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "schemars", "serde", @@ -1322,12 +1322,12 @@ dependencies = [ [[package]] name = "biome_ungrammar" version = "0.3.1" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" [[package]] name = "biome_unicode_table" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" [[package]] name = "bitflags" @@ -1353,6 +1353,12 @@ dependencies = [ "wyz", ] +[[package]] +name = "borrow-or-share" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc0b364ead1874514c8c2855ab558056ebfeb775653e7ae45ff72f28f8f3166c" + [[package]] name = "boxcar" version = "0.2.14" @@ -1805,11 +1811,12 @@ dependencies = [ [[package]] name = "fluent-uri" -version = "0.1.4" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17c704e9dbe1ddd863da1e6ff3567795087b1eb201ce80d8fa81162e1516500d" +checksum = "1918b65d96df47d3591bed19c5cca17e3fa5d0707318e4b5ef2eae01764df7e5" dependencies = [ - "bitflags 1.3.2", + "borrow-or-share", + "ref-cast", ] [[package]] @@ -2403,16 +2410,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" [[package]] -name = "lsp-types" -version = "0.97.0" +name = "ls-types" +version = "0.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53353550a17c04ac46c585feb189c2db82154fc84b79c7a66c96c2c644f66071" +checksum = "7a7deb98ef9daaa7500324351a5bab7c80c644cfb86b4be0c4433b582af93510" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.10.0", "fluent-uri", + "percent-encoding", "serde", "serde_json", - "serde_repr", ] [[package]] @@ -3115,17 +3122,6 @@ dependencies = [ "serde_core", ] -[[package]] -name = "serde_repr" -version = "0.1.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.111", -] - [[package]] name = "sharded-slab" version = "0.1.7" @@ -3469,17 +3465,16 @@ checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" [[package]] name = "tower-lsp-server" -version = "0.22.1" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88f3f8ec0dcfdda4d908bad2882fe0f89cf2b606e78d16491323e918dfa95765" +checksum = "2f0e711655c89181a6bc6a2cc348131fcd9680085f5b06b6af13427a393a6e72" dependencies = [ "bytes", "dashmap 6.1.0", "futures", "httparse", - "lsp-types", + "ls-types", "memchr", - "percent-encoding", "serde", "serde_json", "tokio", @@ -4004,7 +3999,7 @@ dependencies = [ [[package]] name = "xtask_codegen" version = "0.0.0" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "anyhow", "biome_analyze", @@ -4032,7 +4027,7 @@ dependencies = [ [[package]] name = "xtask_glue" version = "0.0.0" -source = "git+https://github.com/biomejs/biome.git?rev=bc0e8b47a276efabb0b76169d13dfc9d5325953f#bc0e8b47a276efabb0b76169d13dfc9d5325953f" +source = "git+https://github.com/biomejs/biome.git?rev=6c5f3682601ca0b286aa12d0891ee90c489ef99b#6c5f3682601ca0b286aa12d0891ee90c489ef99b" dependencies = [ "anyhow", ] diff --git a/Cargo.toml b/Cargo.toml index 0ff1ad869..8303bd8b5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,48 +16,48 @@ # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] anyhow = "1.0.100" - biome_analyze = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f", features = [ + biome_analyze = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b", features = [ "schema", ] } - biome_cli = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_configuration = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f", features = [ + biome_cli = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_configuration = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b", features = [ "schema", ] } - biome_console = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_css_analyze = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_css_parser = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_css_semantic = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_css_syntax = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_deserialize = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_diagnostics = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_flags = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_formatter = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_fs = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_graphql_analyze = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_graphql_parser = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_graphql_syntax = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_html_analyze = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_html_parser = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_html_syntax = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_js_analyze = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_js_formatter = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_js_parser = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_js_syntax = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_json_analyze = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_json_factory = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_json_formatter = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_json_parser = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_json_syntax = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_module_graph = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_project_layout = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_rowan = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_ruledoc_utils = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_service = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_string_case = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_test_utils = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } - biome_text_edit = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f" } + biome_console = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_css_analyze = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_css_parser = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_css_semantic = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_css_syntax = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_deserialize = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_diagnostics = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_flags = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_formatter = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_fs = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_graphql_analyze = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_graphql_parser = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_graphql_syntax = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_html_analyze = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_html_parser = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_html_syntax = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_js_analyze = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_js_formatter = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_js_parser = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_js_syntax = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_json_analyze = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_json_factory = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_json_formatter = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_json_parser = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_json_syntax = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_module_graph = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_project_layout = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_rowan = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_ruledoc_utils = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_service = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_string_case = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_test_utils = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } + biome_text_edit = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b" } bpaf = { version = "0.9.20", features = ["docgen"] } - xtask_codegen = { git = "https://github.com/biomejs/biome.git", rev = "bc0e8b47a276efabb0b76169d13dfc9d5325953f", features = [ + xtask_codegen = { git = "https://github.com/biomejs/biome.git", rev = "6c5f3682601ca0b286aa12d0891ee90c489ef99b", features = [ "schema", ] } # Needed to fix some weird dependency diff --git a/package.json b/package.json index 7f24c35da..080677c9e 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "@astrojs/starlight": "0.37.0", "@biomejs/biome": "2.3.8", "@biomejs/version-utils": "0.4.0", - "@biomejs/wasm-web": "https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@bc0e8b4", + "@biomejs/wasm-web": "https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@6c5f368", "@codemirror/lang-css": "6.3.1", "@codemirror/lang-html": "6.4.11", "@codemirror/lang-javascript": "6.2.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ac825facf..58c0e7371 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -40,8 +40,8 @@ importers: specifier: ^0.4.0 version: 0.4.0 '@biomejs/wasm-web': - specifier: https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@bc0e8b4 - version: https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@bc0e8b4 + specifier: https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@6c5f368 + version: https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@6c5f368 '@codemirror/lang-css': specifier: 6.3.1 version: 6.3.1(@codemirror/view@6.38.8) @@ -456,9 +456,9 @@ packages: '@biomejs/version-utils@0.4.0': resolution: {integrity: sha512-jboDhjZY8/bAPl2kgvjrbbyXyM6uimPsasY3TvFhSpPaNorij0UZROi/NjDQqQeZFSaIK3ieiRZXWwoBZh6rQQ==} - '@biomejs/wasm-web@https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@bc0e8b4': - resolution: {tarball: https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@bc0e8b4} - version: 0.0.0-rev.bc0e8b47a276efabb0b76169d13dfc9d5325953f + '@biomejs/wasm-web@https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@6c5f368': + resolution: {tarball: https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@6c5f368} + version: 0.0.0-rev.6c5f3682601ca0b286aa12d0891ee90c489ef99b '@braintree/sanitize-url@7.1.1': resolution: {integrity: sha512-i1L7noDNxtFyL5DmZafWy1wRVhGehQmzZaz1HiN5e7iylJMSZR7ekOV7NsIqa5qBldlLrsKv4HbgFUVlQrz8Mw==} @@ -6466,7 +6466,7 @@ snapshots: undici: 6.21.3 yaml: 2.8.0 - '@biomejs/wasm-web@https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@bc0e8b4': {} + '@biomejs/wasm-web@https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@6c5f368': {} '@braintree/sanitize-url@7.1.1': {} diff --git a/src/content/docs/assist/actions/use-sorted-keys.mdx b/src/content/docs/assist/actions/use-sorted-keys.mdx index 753760ee2..7ed6f36a4 100644 --- a/src/content/docs/assist/actions/use-sorted-keys.mdx +++ b/src/content/docs/assist/actions/use-sorted-keys.mdx @@ -119,6 +119,44 @@ Following will apply the lexicographic sort order.
code-block.json ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ℹ Source action diff:
1 1 │ {
2 │ - ····"val13":·1,
3 │ - ····"val1":·1,
4 │ - ····"val2":·1,
5 │ - ····"val21":·1,
6 │ - ····"val11":·1
2 │ + ····"val1":·1,
3 │ + ····"val11":·1,
4 │ + ····"val13":·1,
5 │ + ····"val2":·1,
6 │ + ····"val21":·1
7 7 │ }
8 8 │
+### `groupByNesting`
+
+When enabled, groups object keys by their value's nesting depth before sorting alphabetically.
+Simple values (primitives, single-line arrays, and single-line objects) are sorted first,
+followed by nested values (multi-line arrays and multi-line objects).
+
+>Default: `false`
+
+
+```json title='biome.json'
+{
+ "assist": {
+ "actions": {
+ "source": {
+ "useSortedKeys": {
+ "options": {
+ "groupByNesting": true
+ }
+ }
+ }
+ }
+ }
+}
+
+```
+
+```json
+{
+ "name": "Sample",
+ "details": {
+ "description": "nested"
+ },
+ "id": 123
+}
+```
+
+code-block.json:1:1 assist/source/useSortedKeys FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ℹ The members are not sorted by nesting level and key.
> 1 │ {
│ ^
> 2 │ "name": "Sample",
> 3 │ "details": {
> 4 │ "description": "nested"
> 5 │ },
> 6 │ "id": 123
> 7 │ }
│ ^
8 │
ℹ Safe fix: Sort the members by key.
1 1 │ {
2 │ - ····"name":·"Sample",
2 │ + ····"id":·123,
3 │ + ····"name":·"Sample",
3 4 │ "details": {
4 5 │ "description": "nested"
5 │ - ····},
6 │ - ····"id":·123
6 │ + ····}
7 7 │ }
8 8 │
+
## Related links
- [Disable a rule](/assist/#disable-a-rule)
@@ -292,6 +330,44 @@ const obj = {
code-block.js ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ℹ Source action diff:
1 1 │ const obj = {
2 │ - ····val13:·1,
3 │ - ····val1:·1,
4 │ - ····val2:·1,
5 │ - ····val21:·1,
6 │ - ····val11:·1,
2 │ + ····val1:·1,
3 │ + ····val11:·1,
4 │ + ····val13:·1,
5 │ + ····val2:·1,
6 │ + ····val21:·1,
7 7 │ };
8 8 │
+### `groupByNesting`
+
+When enabled, groups object keys by their value's nesting depth before sorting alphabetically.
+Simple values (primitives, single-line arrays, and single-line objects) are sorted first,
+followed by nested values (multi-line arrays and multi-line objects).
+
+>Default: `false`
+
+
+```json title='biome.json'
+{
+ "assist": {
+ "actions": {
+ "source": {
+ "useSortedKeys": {
+ "options": {
+ "groupByNesting": true
+ }
+ }
+ }
+ }
+ }
+}
+
+```
+
+```js
+const obj = {
+ name: "Sample",
+ details: {
+ description: "nested"
+ },
+ id: 123
+};
+```
+
+code-block.js:2:5 assist/source/useSortedKeys FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ℹ The object properties are not sorted by nesting level and key.
1 │ const obj = {
> 2 │ name: "Sample",
│ ^^^^^^^^^^^^^^^
> 3 │ details: {
> 4 │ description: "nested"
> 5 │ },
> 6 │ id: 123
│ ^^^^^^^
7 │ };
8 │
ℹ Safe fix: Sort the object properties by key.
1 1 │ const obj = {
2 │ - ····name:·"Sample",
2 │ + ····id:·123,·
3 │ + ····name:·"Sample",
3 4 │ details: {
4 5 │ description: "nested"
5 │ - ····},
6 │ - ····id:·123
6 │ + ····}
7 7 │ };
8 8 │
+
## Related links
- [Disable a rule](/assist/#disable-a-rule)
diff --git a/src/content/docs/linter/rules/use-unified-type-signatures.mdx b/src/content/docs/linter/rules/use-unified-type-signatures.mdx
index 049df0fc3..c37fb6aa1 100644
--- a/src/content/docs/linter/rules/use-unified-type-signatures.mdx
+++ b/src/content/docs/linter/rules/use-unified-type-signatures.mdx
@@ -46,7 +46,7 @@ function f(a: number): void;
function f(a: string): void;
```
-code-block.ts:1:1 lint/style/useUnifiedTypeSignatures FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ℹ Overload signatures are hard to read and maintain.
> 1 │ function f(a: number): void;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2 │ function f(a: string): void;
3 │
ℹ Unsafe fix: Combine overloads using a type union.
1 │ - function·f(a:·number):·void;
2 │ - function·f(a:·string):·void;
1 │ +
2 │ + function·f(a:·string·|·number):·void;
3 3 │
+code-block.ts:1:1 lint/style/useUnifiedTypeSignatures FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ℹ Multiple similar overload signatures are hard to read and maintain.
> 1 │ function f(a: number): void;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2 │ function f(a: string): void;
3 │
ℹ Unsafe fix: Combine overloads using a type union.
1 │ - function·f(a:·number):·void;
2 │ - function·f(a:·string):·void;
1 │ +
2 │ + function·f(a:·string·|·number):·void;
3 3 │
```ts
interface I {
@@ -55,7 +55,7 @@ interface I {
}
```
-code-block.ts:2:5 lint/style/useUnifiedTypeSignatures FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ℹ Overload signatures are hard to read and maintain.
1 │ interface I {
> 2 │ a(): void;
│ ^^^^^^^^^^
3 │ a(x: number): void;
4 │ }
ℹ Unsafe fix: Combine overloads by making parameters optional.
1 1 │ interface I {
2 │ - ····a():·void;
3 │ - ····a(x:·number):·void;
2 │ + ····a(x?:·number):·void;
4 3 │ }
5 4 │
+code-block.ts:2:5 lint/style/useUnifiedTypeSignatures FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ℹ Multiple similar overload signatures are hard to read and maintain.
1 │ interface I {
> 2 │ a(): void;
│ ^^^^^^^^^^
3 │ a(x: number): void;
4 │ }
ℹ Unsafe fix: Combine overloads by making parameters optional.
1 1 │ interface I {
2 │ - ····a():·void;
3 │ - ····a(x:·number):·void;
2 │ + ····a(x?:·number):·void;
4 3 │ }
5 4 │
### Valid
diff --git a/src/pages/metadata/rules.json.js b/src/pages/metadata/rules.json.js
index f4156871a..94ed22458 100644
--- a/src/pages/metadata/rules.json.js
+++ b/src/pages/metadata/rules.json.js
@@ -7090,7 +7090,7 @@ export function GET() {
}
}
},
- "numberOrRules": 407
+ "numberOrRules": 409
},
"syntax": {
"languages": {
@@ -7182,7 +7182,7 @@ export function GET() {
}
}
],
- "docs": " Sort properties of a JS object in natural order.\n\n [Natural order](https://en.wikipedia.org/wiki/Natural_sort_order) means\n that uppercase letters come before lowercase letters (e.g. `A` < `a` <\n `B` < `b`) and numbers are compared in a human way (e.g. `9` < `10`).\n\n This rule will consider spread/calculated keys e.g [k]: 1 as\n non-sortable. Instead, whenever it encounters a non-sortable key, it\n will sort all the previous sortable keys up until the nearest\n non-sortable key, if one exist. This prevents breaking the override of\n certain keys using spread keys.\n\n Sorting the keys of an object technically changes the semantics of the\n program. It affects the result of operations like\n `Object.getOwnPropertyNames`. Since ES2020, operations like `for-in`\n loops, `Object.keys`, and `JSON.stringify` are guaranteed to process\n string keys in insertion order.\n\n In cases where the order of such operations is important, you can\n disable the assist action using a suppression comment:\n\n `// biome-ignore assist/source/useSortedKeys`\n\n ## Examples\n\n ```js,expect_diff\n const obj = {\n x: 1,\n a: 2,\n };\n ```\n\n ```js,expect_diff\n const obj = {\n x: 1,\n ...f,\n y: 4,\n a: 2,\n [calculated()]: true,\n b: 3,\n a: 1,\n };\n ```\n\n ```js\n const obj = {\n get aab() {\n return this._aab;\n },\n set aac(v) {\n this._aac = v;\n },\n w: 1,\n x: 1,\n ...g,\n get aaa() {\n return \"\";\n },\n u: 1,\n v: 1,\n [getProp()]: 2,\n o: 1,\n p: 1,\n q: 1,\n }\n ```\n\n ## Options\n This actions accepts following options\n\n ### `sortOrder`\n This options supports `natural` and `lexicographic` values. Where as `natural` is the default.\n\n Following will apply the natural sort order.\n\n ```json,options\n {\n \"options\": {\n \"sortOrder\": \"natural\"\n }\n }\n ```\n ```js,use_options,expect_diff\n const obj = {\n val13: 1,\n val1: 1,\n val2: 1,\n val21: 1,\n val11: 1,\n };\n ```\n\n Following will apply the lexicographic sort order.\n\n ```json,options\n {\n \"options\": {\n \"sortOrder\": \"lexicographic\"\n }\n }\n ```\n ```js,use_options,expect_diff\n const obj = {\n val13: 1,\n val1: 1,\n val2: 1,\n val21: 1,\n val11: 1,\n };\n ```\n\n"
+ "docs": " Sort properties of a JS object in natural order.\n\n [Natural order](https://en.wikipedia.org/wiki/Natural_sort_order) means\n that uppercase letters come before lowercase letters (e.g. `A` < `a` <\n `B` < `b`) and numbers are compared in a human way (e.g. `9` < `10`).\n\n This rule will consider spread/calculated keys e.g [k]: 1 as\n non-sortable. Instead, whenever it encounters a non-sortable key, it\n will sort all the previous sortable keys up until the nearest\n non-sortable key, if one exist. This prevents breaking the override of\n certain keys using spread keys.\n\n Sorting the keys of an object technically changes the semantics of the\n program. It affects the result of operations like\n `Object.getOwnPropertyNames`. Since ES2020, operations like `for-in`\n loops, `Object.keys`, and `JSON.stringify` are guaranteed to process\n string keys in insertion order.\n\n In cases where the order of such operations is important, you can\n disable the assist action using a suppression comment:\n\n `// biome-ignore assist/source/useSortedKeys`\n\n ## Examples\n\n ```js,expect_diff\n const obj = {\n x: 1,\n a: 2,\n };\n ```\n\n ```js,expect_diff\n const obj = {\n x: 1,\n ...f,\n y: 4,\n a: 2,\n [calculated()]: true,\n b: 3,\n a: 1,\n };\n ```\n\n ```js\n const obj = {\n get aab() {\n return this._aab;\n },\n set aac(v) {\n this._aac = v;\n },\n w: 1,\n x: 1,\n ...g,\n get aaa() {\n return \"\";\n },\n u: 1,\n v: 1,\n [getProp()]: 2,\n o: 1,\n p: 1,\n q: 1,\n }\n ```\n\n ## Options\n This actions accepts following options\n\n ### `sortOrder`\n This options supports `natural` and `lexicographic` values. Where as `natural` is the default.\n\n Following will apply the natural sort order.\n\n ```json,options\n {\n \"options\": {\n \"sortOrder\": \"natural\"\n }\n }\n ```\n ```js,use_options,expect_diff\n const obj = {\n val13: 1,\n val1: 1,\n val2: 1,\n val21: 1,\n val11: 1,\n };\n ```\n\n Following will apply the lexicographic sort order.\n\n ```json,options\n {\n \"options\": {\n \"sortOrder\": \"lexicographic\"\n }\n }\n ```\n ```js,use_options,expect_diff\n const obj = {\n val13: 1,\n val1: 1,\n val2: 1,\n val21: 1,\n val11: 1,\n };\n ```\n\n ### `groupByNesting`\n When enabled, groups object keys by their value's nesting depth before sorting alphabetically.\n Simple values (primitives, single-line arrays, and single-line objects) are sorted first,\n followed by nested values (multi-line arrays and multi-line objects).\n\n > Default: `false`\n\n\n ```json,options\n {\n \"options\": {\n \"groupByNesting\": true\n }\n }\n ```\n ```js,use_options,expect_diagnostic\n const obj = {\n name: \"Sample\",\n details: {\n description: \"nested\"\n },\n id: 123\n };\n ```\n\n"
}
}
},
@@ -7195,7 +7195,7 @@ export function GET() {
"link": "https://biomejs.dev/linter/rules/use-sorted-keys",
"recommended": false,
"fixKind": "safe",
- "docs": " Sort the keys of a JSON object in natural order.\n\n [Natural order](https://en.wikipedia.org/wiki/Natural_sort_order) means\n that uppercase letters come before lowercase letters (e.g. `A` < `a` <\n `B` < `b`) and numbers are compared in a human way (e.g. `9` < `10`).\n\n ## Examples\n\n ```json,expect_diff\n {\n \"vase\": \"fancy\",\n \"nested\": {\n \"omega\": \"bar\",\n \"alpha\": \"foo\"\n }\n }\n ```\n\n ## Options\n This actions accepts following options\n\n ### `sortOrder`\n This options supports `natural` and `lexicographic` values. Where as `natural` is the default.\n\n Following will apply the natural sort order.\n\n ```json,options\n {\n \"options\": {\n \"sortOrder\": \"natural\"\n }\n }\n ```\n ```json,use_options,expect_diff\n {\n \"val13\": 1,\n \"val1\": 1,\n \"val2\": 1,\n \"val21\": 1,\n \"val11\": 1\n }\n ```\n\n Following will apply the lexicographic sort order.\n\n ```json,options\n {\n \"options\": {\n \"sortOrder\": \"lexicographic\"\n }\n }\n ```\n ```json,use_options,expect_diff\n {\n \"val13\": 1,\n \"val1\": 1,\n \"val2\": 1,\n \"val21\": 1,\n \"val11\": 1\n }\n ```\n\n"
+ "docs": " Sort the keys of a JSON object in natural order.\n\n [Natural order](https://en.wikipedia.org/wiki/Natural_sort_order) means\n that uppercase letters come before lowercase letters (e.g. `A` < `a` <\n `B` < `b`) and numbers are compared in a human way (e.g. `9` < `10`).\n\n ## Examples\n\n ```json,expect_diff\n {\n \"vase\": \"fancy\",\n \"nested\": {\n \"omega\": \"bar\",\n \"alpha\": \"foo\"\n }\n }\n ```\n\n ## Options\n This actions accepts following options\n\n ### `sortOrder`\n This options supports `natural` and `lexicographic` values. Where as `natural` is the default.\n\n Following will apply the natural sort order.\n\n ```json,options\n {\n \"options\": {\n \"sortOrder\": \"natural\"\n }\n }\n ```\n ```json,use_options,expect_diff\n {\n \"val13\": 1,\n \"val1\": 1,\n \"val2\": 1,\n \"val21\": 1,\n \"val11\": 1\n }\n ```\n\n Following will apply the lexicographic sort order.\n\n ```json,options\n {\n \"options\": {\n \"sortOrder\": \"lexicographic\"\n }\n }\n ```\n ```json,use_options,expect_diff\n {\n \"val13\": 1,\n \"val1\": 1,\n \"val2\": 1,\n \"val21\": 1,\n \"val11\": 1\n }\n ```\n\n ### `groupByNesting`\n When enabled, groups object keys by their value's nesting depth before sorting alphabetically.\n Simple values (primitives, single-line arrays, and single-line objects) are sorted first,\n followed by nested values (multi-line arrays and multi-line objects).\n\n > Default: `false`\n\n ```json,options\n {\n \"options\": {\n \"groupByNesting\": true\n }\n }\n ```\n ```json,use_options,expect_diagnostic\n {\n \"name\": \"Sample\",\n \"details\": {\n \"description\": \"nested\"\n },\n \"id\": 123\n }\n ```\n\n"
}
}
},