WeblateOrg / website

Weblate website
https://weblate.org/
GNU General Public License v3.0
39 stars 55 forks source link

chore(deps): update dependency @biomejs/biome to v1.9.2 #2159

Closed renovate[bot] closed 1 week ago

renovate[bot] commented 1 week ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@biomejs/biome (source) 1.9.1 -> 1.9.2 age adoption passing confidence

Release Notes

biomejs/biome (@​biomejs/biome) ### [`v1.9.2`](https://redirect.github.com/biomejs/biome/blob/HEAD/CHANGELOG.md#v192-2024-09-19) [Compare Source](https://redirect.github.com/biomejs/biome/compare/9bf1e4c7738a8f6fe7cb5f533b1bd9776b3f8452...5f2287e005eadb261a4c78e4ec0fdc0d46068551) ##### CLI ##### New features - Added support for custom GritQL definitions, including: - Pattern and predicate definitions: https://docs.grit.io/guides/patterns - Function definitions: https://docs.grit.io/language/functions#function-definitions Contributed by [@​arendjr](https://redirect.github.com/arendjr) ##### Bug fixes - Fix [#​3917](https://redirect.github.com/biomejs/biome/issues/3917), where the fixed files were incorrectly computed. Contributed by [@​ematipico](https://redirect.github.com/ematipico) - Fixed an issue that caused GritQL `contains` queries to report false positives when the matched node appeared inside a sibling node. Contributed by [@​arendjr](https://redirect.github.com/arendjr) ##### Editors ##### Bug fixes - Fix [#​3923](https://redirect.github.com/biomejs/biome/issues/3923). Now the `.editorconfig` is correctly parsed by the LSP, and the options are correctly applied to files when formatting is triggered. Plus, the Biome LSP now watches for any change to the `.editorconfig`, and updates the formatting settings. - Reduced the number of log files generated by the LSP server. Now the maximum number of logs saved on disk is **seven**. Contributed by [@​ematipico](https://redirect.github.com/ematipico) - Fix the code actions capabilities available in the LSP Biome server. Before, the LSP was using the default capabilities, which resulted in pulling code actions even when they were disabled by the editor. This means that the code actions are pulled by the client **only** when the editor enables `quickfix.biome`, `source.organizeImports.biome` and `source.fixAll.biome`. Now, if you enable `organizeImports.enabled: true` in the `biome.json`, and then you configure your editor with the following code action `source.organizeImports.biome: false`, the editor **won't** sort the imports. Contributed by [@​ematipico](https://redirect.github.com/ematipico) ##### Linter ##### New features - Add [nursery/noMissingVarFunction](https://biomejs.dev/linter/rules/no-missing-var-function). Contributed by [@​michellocana](https://redirect.github.com/michellocana) - Add \[nursery/useComponentExportOnlyModules]\((https://biomejs.dev/linter/rules/use-component-export-only-modules). Use this rule in React projects to enforce a code styling that fits React Refresh. Contributed by [@​GunseiKPaseri](https://redirect.github.com/GunseiKPaseri) ##### Bug fixes - [noLabelWithoutControl](https://biomejs.dev/linter/rules/no-label-without-control/) now accept JSX expression as label value ([#​3875](https://redirect.github.com/biomejs/biome/issues/3875)). Contributed by [@​Conaclos](https://redirect.github.com/Conaclos) - [useFilenamingConvention](https://biomejs.dev/linter/rules/use-filenaming-convention) no longer suggests names with a disallowed case ([#​3952](https://redirect.github.com/biomejs/biome/issues/3952)). Contributed by [@​Conaclos](https://redirect.github.com/Conaclos) - [useFilenamingConvention](https://biomejs.dev/linter/rules/use-filenaming-convention) now recognizes file names starting with ASCII digits as lowercase ([#​3952](https://redirect.github.com/biomejs/biome/issues/3952)). Thus, `2024-09-17-filename`, `2024_09_17_filename` and `20240917FileName` are in `kebab-case`, `snake_case`, and `camelCase` respectively. Contributed by [@​Conaclos](https://redirect.github.com/Conaclos) - [useFilenamingConvention](https://biomejs.dev/linter/rules/use-filenaming-convention) now applies the configured formats to the file extensions ([#​3650](https://redirect.github.com/biomejs/biome/discussions/3650)). Contributed by [@​Conaclos](https://redirect.github.com/Conaclos) ##### Parser ##### Bug fixes - [useStrictMode](https://biomejs.dev/linter/rules/use-strict-mode/) now reports Script files with some directives, but without the `use strict` directive. Contributed by [@​Conaclos](https://redirect.github.com/Conaclos) - The CSS parser now accepts the characters U+FFDCF and U+FFFD in identifiers. Contributed by [@​Conaclos](https://redirect.github.com/Conaclos)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.78%. Comparing base (91133c4) to head (4da8cc6). Report is 3 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2159 +/- ## ========================================== + Coverage 82.67% 82.78% +0.10% ========================================== Files 26 26 Lines 2904 2904 Branches 431 431 ========================================== + Hits 2401 2404 +3 + Misses 400 398 -2 + Partials 103 102 -1 ```