Commit 59c27b0
authored
chore(deps): update dependency @biomejs/biome to v2.3.4 (#289)
This PR contains the following updates:
| Package | Type | Update | Change | OpenSSF |
|---|---|---|---|---|
| [@biomejs/biome](https://biomejs.dev)
([source](https://redirect.github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome))
| devDependencies | patch | [`2.3.3` ->
`2.3.4`](https://renovatebot.com/diffs/npm/@biomejs%2fbiome/2.3.3/2.3.4)
| [](https://securityscorecards.dev/viewer/?uri=github.com/biomejs/biome)
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>biomejs/biome (@​biomejs/biome)</summary>
###
[`v2.3.4`](https://redirect.github.com/biomejs/biome/blob/HEAD/packages/@​biomejs/biome/CHANGELOG.md#234)
[Compare
Source](https://redirect.github.com/biomejs/biome/compare/@biomejs/biome@2.3.3...@biomejs/biome@2.3.4)
##### Patch Changes
- [#​7989](https://redirect.github.com/biomejs/biome/pull/7989)
[`4855c4a`](https://redirect.github.com/biomejs/biome/commit/4855c4a5c28d8381dd724449d43a9a60a860edaa)
Thanks
[@​alissonlauffer](https://redirect.github.com/alissonlauffer)! -
Fixed a regression in Astro frontmatter parsing where comments inside
quoted strings were incorrectly detected as actual comments. This caused
the parser to prematurely terminate frontmatter parsing when
encountering strings like `const test = "//";`.
For example, the following Astro frontmatter now parses correctly:
```astro
---
const test = "// not a real comment";
---
```
- [#​7968](https://redirect.github.com/biomejs/biome/pull/7968)
[`0b28f5f`](https://redirect.github.com/biomejs/biome/commit/0b28f5f47aa968bd2511224679ae1cfbcf708fd7)
Thanks [@​denbezrukov](https://redirect.github.com/denbezrukov)! -
Refactored formatter to use strict `Token` element for better
performance. The new `Token` variant is optimized for static, ASCII-only
text (keywords, operators, punctuation) with the following constraints:
- ASCII only (no Unicode characters)
- No newlines (`\n`, `\r`)
- No tab characters (`\t`)
This enables faster printing and fitting logic by using bulk string
operations (`push_str`, `len()`) instead of character-by-character
iteration with Unicode width calculations.
- [#​7941](https://redirect.github.com/biomejs/biome/pull/7941)
[`19b8280`](https://redirect.github.com/biomejs/biome/commit/19b82805e013d5befc644f85f272df19ed1264ae)
Thanks [@​Conaclos](https://redirect.github.com/Conaclos)! - Fixed
[#​7943](https://redirect.github.com/biomejs/biome/issues/7943).
Rules' `options` are now properly merged with the inherited `options`
from a shared configuration.
This means that you can now override a specific option from a rule
without resetting the other options to their default.
Given the following shared configuration:
```json
{
"linter": {
"rules": {
"style": {
"useNamingConvention": {
"level": "on",
"options": {
"strictCase": false,
"conventions": [
{
"selector": { "kind": "variable", "scope": "global" },
"formats": ["CONSTANT_CASE"]
}
]
}
}
}
}
}
}
```
And the user configuration that extends this shared configuration:
```json
{
"extends": ["shared.json"],
"linter": {
"rules": {
"style": {
"useNamingConvention": {
"level": "on",
"options": { "strictCase": true }
}
}
}
}
}
```
The obtained merged configuration is now as follows:
```json
{
"extends": ["shared.json"],
"linter": {
"rules": {
"style": {
"useNamingConvention": {
"level": "on",
"options": {
"strictCase": true,
"conventions": [
{
"selector": { "kind": "variable", "scope": "global" },
"formats": ["CONSTANT_CASE"]
}
]
}
}
}
}
}
}
```
- [#​7969](https://redirect.github.com/biomejs/biome/pull/7969)
[`425963d`](https://redirect.github.com/biomejs/biome/commit/425963d636620d852547322f3f029df2ca05318c)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Added support for the Svelte syntax `{@​debug}`. The Biome HTML
parser is now able to parse and format the blocks:
```diff
-{@​debug foo,bar, something}
+{@​debug foo, bar, something}
```
- [#​7986](https://redirect.github.com/biomejs/biome/pull/7986)
[`3256f82`](https://redirect.github.com/biomejs/biome/commit/3256f824a15dedf6ac23485cdef2bbc92bfc7fd9)
Thanks [@​lisiur](https://redirect.github.com/lisiur)! - Fixed
[#​7981](https://redirect.github.com/biomejs/biome/issues/7981).
Now Biome correctly detects and parses `lang='tsx'` and `lang='jsx'`
languages when used inside in `.vue` files, when
`.experimentalFullSupportEnabled` is enabled.
- [#​7921](https://redirect.github.com/biomejs/biome/pull/7921)
[`547c2da`](https://redirect.github.com/biomejs/biome/commit/547c2da02590832d4941f017541142c17d1734a9)
Thanks [@​dyc3](https://redirect.github.com/dyc3)! - Fixed
[#​7854](https://redirect.github.com/biomejs/biome/issues/7854):
The CSS parser, with `tailwindDirectives` enabled, will now parse
`@source inline("underline");`.
- [#​7856](https://redirect.github.com/biomejs/biome/pull/7856)
[`c9e20c3`](https://redirect.github.com/biomejs/biome/commit/c9e20c3780b328ff59b63fa8917938d97b090148)
Thanks [@​Netail](https://redirect.github.com/Netail)! - Added the
nursery rule
[`noContinue`](https://biomejs.dev/linter/rules/no-continue/).
Disallowing the usage of the `continue` statement, structured control
flow statements such as `if` should be used instead.
**Invalid:**
```js
let sum = 0,
i;
for (i = 0; i < 10; i++) {
if (i >= 5) {
continue;
}
sum += i;
}
```
**Valid:**
```js
let sum = 0,
i;
for (i = 0; i < 10; i++) {
if (i < 5) {
sum += i;
}
}
```
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At 12:00 AM through 04:59 AM and 10:00
PM through 11:59 PM, Monday through Friday ( * 0-4,22-23 * * 1-5 ), Only
on Sunday and Saturday ( * * * * 0,6 ) (UTC), 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.
---
- [ ] <!-- 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/settlemint/settlemint-action).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTkuNCIsInVwZGF0ZWRJblZlciI6IjQxLjE1OS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Update @biomejs/biome to v2.3.4 to pick up parser and formatter fixes.
This includes correct Astro frontmatter parsing, Svelte {@debug}
support, improved Vue JSX/TSX detection, Tailwind @source inline
parsing, proper rule option merging, and the new noContinue rule.
<sup>Written for commit d5e94eb.
Summary will update automatically on new commits.</sup>
<!-- End of auto-generated description by cubic. -->
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 27fcf72 commit 59c27b0
1 file changed
Lines changed: 35 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments