Commit 7c5ceed
authored
chore(deps): update dependency @biomejs/biome to v2.5.1 (#685)
This PR contains the following updates:
| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Adoption](https://docs.renovatebot.com/merge-confidence/) |
[Passing](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|---|---|
| [@biomejs/biome](https://biomejs.dev)
([source](https://redirect.github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome))
| [`2.5.0` →
`2.5.1`](https://renovatebot.com/diffs/npm/@biomejs%2fbiome/2.5.0/2.5.1)
|

|

|

|

|
---
### Release Notes
<details>
<summary>biomejs/biome (@​biomejs/biome)</summary>
###
[`v2.5.1`](https://redirect.github.com/biomejs/biome/blob/HEAD/packages/@​biomejs/biome/CHANGELOG.md#251)
[Compare
Source](https://redirect.github.com/biomejs/biome/compare/@biomejs/biome@2.5.0...@biomejs/biome@2.5.1)
##### Patch Changes
- [#​10722](https://redirect.github.com/biomejs/biome/pull/10722)
[`f8a303d`](https://redirect.github.com/biomejs/biome/commit/f8a303d08b6b22f56edb8ff5e7caa665532d613a)
Thanks [@​denbezrukov](https://redirect.github.com/denbezrukov)! -
Fixed CSS formatter output for comments between import media queries.
```diff
-@​import url("print.css") print,
-/* comment */
-screen;
+@​import url("print.css") print, /* comment */ screen;
```
- [#​10738](https://redirect.github.com/biomejs/biome/pull/10738)
[`9fdc560`](https://redirect.github.com/biomejs/biome/commit/9fdc5600997ef59ca7ed55ac212473de9bdb0b2a)
Thanks
[@​JamBalaya56562](https://redirect.github.com/JamBalaya56562)! -
Fixed
[#​9899](https://redirect.github.com/biomejs/biome/issues/9899):
the `json` and `json-pretty` reporters now escape backslashes in a
diagnostic's `location.path`. Previously, paths containing backslashes
(such as Windows-style paths) were emitted unescaped, producing invalid
JSON.
```diff
- "path": "src\account\setup-passkey.tsx",
+ "path": "src\\account\\setup-passkey.tsx",
```
- [#​10626](https://redirect.github.com/biomejs/biome/pull/10626)
[`5f837df`](https://redirect.github.com/biomejs/biome/commit/5f837df033afc34d43b398aeddc06c1d4fa491d9)
Thanks [@​tom-groves](https://redirect.github.com/tom-groves)! -
Fixed
[#​10625](https://redirect.github.com/biomejs/biome/issues/10625):
`biome migrate` no longer emits an invalid trailing comma when a renamed
rule (such as `noConsoleLog` → `noConsole`) is the last member of its
rule group. Previously this produced malformed output that aborted the
migration of a strict-JSON `biome.json` with a parsing error.
- [#​10535](https://redirect.github.com/biomejs/biome/pull/10535)
[`c245f9d`](https://redirect.github.com/biomejs/biome/commit/c245f9d9e239471d5437cd08f9cfa4601a85abd5)
Thanks [@​Mokto](https://redirect.github.com/Mokto)! - Fixed a
false positive in
[`noUnusedVariables`](https://biomejs.dev/linter/rules/no-unused-variables/)
for Svelte files where variables referenced inside `{@​html expr}`
blocks were incorrectly reported as unused.
- [#​10668](https://redirect.github.com/biomejs/biome/pull/10668)
[`a0f197e`](https://redirect.github.com/biomejs/biome/commit/a0f197eb1a6974539927f105ff1dde1f51d07d74)
Thanks [@​Netail](https://redirect.github.com/Netail)! - The
`biome init` command has been updated to include a more up-to-date URL
to [the first-party extensions
page](https://biomejs.dev/editors/first-party-extensions/).
- [#​10667](https://redirect.github.com/biomejs/biome/pull/10667)
[`d8c3e87`](https://redirect.github.com/biomejs/biome/commit/d8c3e878d53515c02bd6c5cb899b2eaec046c542)
Thanks [@​Netail](https://redirect.github.com/Netail)! - Fixed
[#​10664](https://redirect.github.com/biomejs/biome/issues/10664):
[useErrorCause](https://biomejs.dev/linter/rules/use-error-cause/) now
correctly detects a shorthand property.
- [#​10696](https://redirect.github.com/biomejs/biome/pull/10696)
[`ef2373f`](https://redirect.github.com/biomejs/biome/commit/ef2373f29be15673705884d345c9af189e30b581)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Fixed
[#​9566](https://redirect.github.com/biomejs/biome/issues/9566).
Improved how the Biome Language Server loads multiple configuration
files inside a workspace.
- [#​10705](https://redirect.github.com/biomejs/biome/pull/10705)
[`4ccb410`](https://redirect.github.com/biomejs/biome/commit/4ccb410dc00a6fb243934dad2e8681a9d5d9529e)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Fixed
[#​10652](https://redirect.github.com/biomejs/biome/issues/10652).
Biome plugins are now properly filtered when using `--only` and `--skip`
flags.
- [#​10669](https://redirect.github.com/biomejs/biome/pull/10669)
[`aa0a6eb`](https://redirect.github.com/biomejs/biome/commit/aa0a6eb8007493961cd578f04201248c15fd809a)
Thanks [@​Netail](https://redirect.github.com/Netail)! - Fixed
[#​10651](https://redirect.github.com/biomejs/biome/issues/10651):
[useInlineScriptId](https://biomejs.dev/linter/rules/use-inline-script-id/)
now correctly trims trivia to detect if an id attribute has been set.
- [#​10689](https://redirect.github.com/biomejs/biome/pull/10689)
[`844b1be`](https://redirect.github.com/biomejs/biome/commit/844b1be60ded28bf4c650d85806919ceb57bc402)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Fixed
[#​10658](https://redirect.github.com/biomejs/biome/issues/10658).
The issue was caused by the "Go-to definition" editor feature, which was
enabled by default. The feature is now **disabled by default**. To work,
the feature triggers the scanner to build the module graph. This caused
memory leak issues in cases where Biome starts in the home directory to
modify files.
If you relied on this new feature, you must now turn on using the
\[editor settings] of the extension e.g.
[Zed](https://biomejs.dev/reference/zed/#goto_definition) and
[VSCode](https://biomejs.dev/reference/vscode/#biomegotodefinition).
- [#​10695](https://redirect.github.com/biomejs/biome/pull/10695)
[`043fbb5`](https://redirect.github.com/biomejs/biome/commit/043fbb514f1b96c5b723cd86c8db4b9bc9f03631)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Fixed
[#​10674](https://redirect.github.com/biomejs/biome/issues/10674).
Biome now throws an error when the field `level` is missing from a rule
option.
- [#​10712](https://redirect.github.com/biomejs/biome/pull/10712)
[`5941df2`](https://redirect.github.com/biomejs/biome/commit/5941df2a0d6904e487e73d4dc7231dcaf7b3a2f0)
Thanks [@​Conaclos](https://redirect.github.com/Conaclos)! -
Improved the diagnostic and the documentation of
[`useFlatMap`](https://biomejs.dev/linter/rules/use-flat-map/).
- [#​10615](https://redirect.github.com/biomejs/biome/pull/10615)
[`23814f1`](https://redirect.github.com/biomejs/biome/commit/23814f1ad8430df906a39323ee31d27d7b9ca17b)
Thanks [@​qwertycxz](https://redirect.github.com/qwertycxz)! -
Improved the DX the JSON schema when it's used by certain code editors
like VSCode.
- [#​10688](https://redirect.github.com/biomejs/biome/pull/10688)
[`ec69489`](https://redirect.github.com/biomejs/biome/commit/ec694896a0c75176aca040392e3309df1b2e963d)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Fixed a bug where the Biome Daemon did not correctly shut down when the
editor was closed during an in-progress operation, especially while
scanning.
- [#​10701](https://redirect.github.com/biomejs/biome/pull/10701)
[`6c2e0d7`](https://redirect.github.com/biomejs/biome/commit/6c2e0d7bba1cbc457a42adf6c982a773bc7e4605)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Fixed
[#​10694](https://redirect.github.com/biomejs/biome/issues/10694).
The Biome Language Server no longer prints an error when the user hovers
a variable imported from node\_modules.
- [#​10681](https://redirect.github.com/biomejs/biome/pull/10681)
[`888515b`](https://redirect.github.com/biomejs/biome/commit/888515b088cde688a95680362a619221c023f9d0)
Thanks [@​Conaclos](https://redirect.github.com/Conaclos)! - Fixed
[`useExportType`](https://biomejs.dev/linter/rules/use-export-type/)
that reported useless details in some diagnostics.
- [#​10220](https://redirect.github.com/biomejs/biome/pull/10220)
[`3694a13`](https://redirect.github.com/biomejs/biome/commit/3694a135a9976915889988c36d9eb40d679f06e6)
Thanks [@​theBGuy](https://redirect.github.com/theBGuy)! - Fixed
[`useAnchorContent`](https://biomejs.dev/linter/rules/use-anchor-content/)
false positive for `<a>` elements used as render prop values (e.g.
`render={<a href="..." />}`), a pattern where the receiving component
renders its children inside the anchor element.
- [#​10702](https://redirect.github.com/biomejs/biome/pull/10702)
[`98823fb`](https://redirect.github.com/biomejs/biome/commit/98823fb2e70095b09e1ca4bb9733850bbe8ff33f)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Fixed
[#​10612](https://redirect.github.com/biomejs/biome/issues/10612).
The Biome parser now correctly parses processing instructions. The
following SVG doesn't throw errors anymore:
```svg
<?xml version="1.0" encoding="UTF-8" ?>
<svg></svg>
```
</details>
---
### Configuration
📅 **Schedule**: (in timezone Europe/Dublin)
- Branch creation
- At any time (no schedule defined)
- Automerge
- Only on Sunday and Saturday (`* * * * 0,6`)
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/BSStudio/bss-web-graphql-backend).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNDIuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI0Mi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 8241d9c commit 7c5ceed
2 files changed
Lines changed: 38 additions & 38 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments