Skip to content

Commit 7c5ceed

Browse files
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) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@biomejs%2fbiome/2.5.1?slim=true) | ![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@biomejs%2fbiome/2.5.1?slim=true) | ![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@biomejs%2fbiome/2.5.0/2.5.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@biomejs%2fbiome/2.5.0/2.5.1?slim=true) | --- ### Release Notes <details> <summary>biomejs/biome (@&#8203;biomejs/biome)</summary> ### [`v2.5.1`](https://redirect.github.com/biomejs/biome/blob/HEAD/packages/@&#8203;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 - [#&#8203;10722](https://redirect.github.com/biomejs/biome/pull/10722) [`f8a303d`](https://redirect.github.com/biomejs/biome/commit/f8a303d08b6b22f56edb8ff5e7caa665532d613a) Thanks [@&#8203;denbezrukov](https://redirect.github.com/denbezrukov)! - Fixed CSS formatter output for comments between import media queries. ```diff -@&#8203;import url("print.css") print, -/* comment */ -screen; +@&#8203;import url("print.css") print, /* comment */ screen; ``` - [#&#8203;10738](https://redirect.github.com/biomejs/biome/pull/10738) [`9fdc560`](https://redirect.github.com/biomejs/biome/commit/9fdc5600997ef59ca7ed55ac212473de9bdb0b2a) Thanks [@&#8203;JamBalaya56562](https://redirect.github.com/JamBalaya56562)! - Fixed [#&#8203;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", ``` - [#&#8203;10626](https://redirect.github.com/biomejs/biome/pull/10626) [`5f837df`](https://redirect.github.com/biomejs/biome/commit/5f837df033afc34d43b398aeddc06c1d4fa491d9) Thanks [@&#8203;tom-groves](https://redirect.github.com/tom-groves)! - Fixed [#&#8203;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. - [#&#8203;10535](https://redirect.github.com/biomejs/biome/pull/10535) [`c245f9d`](https://redirect.github.com/biomejs/biome/commit/c245f9d9e239471d5437cd08f9cfa4601a85abd5) Thanks [@&#8203;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 `{@&#8203;html expr}` blocks were incorrectly reported as unused. - [#&#8203;10668](https://redirect.github.com/biomejs/biome/pull/10668) [`a0f197e`](https://redirect.github.com/biomejs/biome/commit/a0f197eb1a6974539927f105ff1dde1f51d07d74) Thanks [@&#8203;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/). - [#&#8203;10667](https://redirect.github.com/biomejs/biome/pull/10667) [`d8c3e87`](https://redirect.github.com/biomejs/biome/commit/d8c3e878d53515c02bd6c5cb899b2eaec046c542) Thanks [@&#8203;Netail](https://redirect.github.com/Netail)! - Fixed [#&#8203;10664](https://redirect.github.com/biomejs/biome/issues/10664): [useErrorCause](https://biomejs.dev/linter/rules/use-error-cause/) now correctly detects a shorthand property. - [#&#8203;10696](https://redirect.github.com/biomejs/biome/pull/10696) [`ef2373f`](https://redirect.github.com/biomejs/biome/commit/ef2373f29be15673705884d345c9af189e30b581) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Fixed [#&#8203;9566](https://redirect.github.com/biomejs/biome/issues/9566). Improved how the Biome Language Server loads multiple configuration files inside a workspace. - [#&#8203;10705](https://redirect.github.com/biomejs/biome/pull/10705) [`4ccb410`](https://redirect.github.com/biomejs/biome/commit/4ccb410dc00a6fb243934dad2e8681a9d5d9529e) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Fixed [#&#8203;10652](https://redirect.github.com/biomejs/biome/issues/10652). Biome plugins are now properly filtered when using `--only` and `--skip` flags. - [#&#8203;10669](https://redirect.github.com/biomejs/biome/pull/10669) [`aa0a6eb`](https://redirect.github.com/biomejs/biome/commit/aa0a6eb8007493961cd578f04201248c15fd809a) Thanks [@&#8203;Netail](https://redirect.github.com/Netail)! - Fixed [#&#8203;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. - [#&#8203;10689](https://redirect.github.com/biomejs/biome/pull/10689) [`844b1be`](https://redirect.github.com/biomejs/biome/commit/844b1be60ded28bf4c650d85806919ceb57bc402) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Fixed [#&#8203;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). - [#&#8203;10695](https://redirect.github.com/biomejs/biome/pull/10695) [`043fbb5`](https://redirect.github.com/biomejs/biome/commit/043fbb514f1b96c5b723cd86c8db4b9bc9f03631) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Fixed [#&#8203;10674](https://redirect.github.com/biomejs/biome/issues/10674). Biome now throws an error when the field `level` is missing from a rule option. - [#&#8203;10712](https://redirect.github.com/biomejs/biome/pull/10712) [`5941df2`](https://redirect.github.com/biomejs/biome/commit/5941df2a0d6904e487e73d4dc7231dcaf7b3a2f0) Thanks [@&#8203;Conaclos](https://redirect.github.com/Conaclos)! - Improved the diagnostic and the documentation of [`useFlatMap`](https://biomejs.dev/linter/rules/use-flat-map/). - [#&#8203;10615](https://redirect.github.com/biomejs/biome/pull/10615) [`23814f1`](https://redirect.github.com/biomejs/biome/commit/23814f1ad8430df906a39323ee31d27d7b9ca17b) Thanks [@&#8203;qwertycxz](https://redirect.github.com/qwertycxz)! - Improved the DX the JSON schema when it's used by certain code editors like VSCode. - [#&#8203;10688](https://redirect.github.com/biomejs/biome/pull/10688) [`ec69489`](https://redirect.github.com/biomejs/biome/commit/ec694896a0c75176aca040392e3309df1b2e963d) Thanks [@&#8203;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. - [#&#8203;10701](https://redirect.github.com/biomejs/biome/pull/10701) [`6c2e0d7`](https://redirect.github.com/biomejs/biome/commit/6c2e0d7bba1cbc457a42adf6c982a773bc7e4605) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Fixed [#&#8203;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. - [#&#8203;10681](https://redirect.github.com/biomejs/biome/pull/10681) [`888515b`](https://redirect.github.com/biomejs/biome/commit/888515b088cde688a95680362a619221c023f9d0) Thanks [@&#8203;Conaclos](https://redirect.github.com/Conaclos)! - Fixed [`useExportType`](https://biomejs.dev/linter/rules/use-export-type/) that reported useless details in some diagnostics. - [#&#8203;10220](https://redirect.github.com/biomejs/biome/pull/10220) [`3694a13`](https://redirect.github.com/biomejs/biome/commit/3694a135a9976915889988c36d9eb40d679f06e6) Thanks [@&#8203;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. - [#&#8203;10702](https://redirect.github.com/biomejs/biome/pull/10702) [`98823fb`](https://redirect.github.com/biomejs/biome/commit/98823fb2e70095b09e1ca4bb9733850bbe8ff33f) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Fixed [#&#8203;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

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
},
4343
"// optional": "Dependencies that required to test and lint the project",
4444
"optionalDependencies": {
45-
"@biomejs/biome": "2.5.0",
45+
"@biomejs/biome": "2.5.1",
4646
"@vitest/coverage-v8": "4.1.9",
4747
"@vitest/ui": "4.1.9",
4848
"axios": "1.18.1",

pnpm-lock.yaml

Lines changed: 37 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)