spinrock / nextjs-template

NextJS Template
https://nextjs-template-gold.vercel.app
1 stars 0 forks source link

Update dependency @biomejs/biome to v1.8.1 #1151

Closed renovate[bot] closed 5 months ago

renovate[bot] commented 5 months ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

biomejs/biome (@​biomejs/biome) ### [`v1.8.1`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#v181-2024-06-10) [Compare Source](https://togithub.com/biomejs/biome/compare/378c05edd47608a1b8cba725564c807b2e772bd6...39db99b1cd087d6aa46ecfecba6adbfa0d45a303) ##### Analyzer ##### CLI ##### Bug fixes - Fix [#​3069](https://togithub.com/biomejs/biome/issues/3069), prevent overwriting paths when using `--staged` or `--changed` options. Contributed by [@​unvalley](https://togithub.com/unvalley) - Fix a case where the file link inside a diagnostic wasn't correctly displayed inside a terminal run by VSCode. Contributed by [@​uncenter](https://togithub.com/uncenter) ##### Configuration ##### Bug fixes - Fix [#​3067](https://togithub.com/biomejs/biome/issues/3067), by assigning the correct default value to `indentWidth`. Contributed by [@​ematipico](https://togithub.com/ematipico) ##### Editors ##### Formatter ##### Bug fixes - Fix the bug where whitespace after the & character in CSS nesting was incorrectly trimmed, ensuring proper targeting of child classes [#​3061](https://togithub.com/biomejs/biome/issues/3061). Contributed by [@​denbezrukov](https://togithub.com/denbezrukov) - Fix [#​3068](https://togithub.com/biomejs/biome/issues/3068) where the CSS formatter was inadvertently converting variable declarations and function calls to lowercase. Contributed by [@​denbezrukov](https://togithub.com/denbezrukov) - Fix the formatting of CSS grid layout properties. Contributed by [@​denbezrukov](https://togithub.com/denbezrukov) ##### JavaScript APIs ##### Linter ##### Bug fixes - The `noEmptyBlock` css lint rule now treats empty blocks containing comments as valid ones. Contributed by [@​Sec-ant](https://togithub.com/Sec-ant) - [useLiteralKeys](https://biomejs.dev/linter/rules/use-literal-keys/) no longer reports quoted member names ([#​3085](https://togithub.com/biomejs/biome/issues/3085)). Previously [useLiteralKeys](https://biomejs.dev/linter/rules/use-literal-keys/) reported quoted member names that can be unquoted. For example, the rule suggested the following fix: ```diff - const x = { "prop": 0 }; + const x = { prop: 0 }; ``` This conflicted with the option [quoteProperties](https://biomejs.dev/reference/configuration/#javascriptformatterquoteproperties) of our formatter. The rule now ignores quoted member names. Contributed by [@​Conaclos](https://togithub.com/Conaclos) - [noEmptyInterface](https://biomejs.dev/linter/rules/no-empty-interface/) now ignores empty interfaces in ambient modules ([#​3110](https://togithub.com/biomejs/biome/issues/3110)). Contributed by [@​Conaclos](https://togithub.com/Conaclos) - [noUnusedVariables](https://biomejs.dev/linter/rules/no-unused-variables/) and [noUnusedFunctionParameters](https://biomejs.dev/linter/rules/no-unused-function-parameters/) no longer report the parameters of a constructor type ([#​3135](https://togithub.com/biomejs/biome/issues/3135)). Previously, `arg` was reported as unused in a constructor type like: ```ts export type Classlike = new (arg: unknown) => string; ``` Contributed by [@​Conaclos](https://togithub.com/Conaclos) - [noStringCaseMismatch](https://biomejs.dev/linter/rules/no-string-case-mismatch/) now ignores escape sequences ([#​3134](https://togithub.com/biomejs/biome/issues/3134)). The following code is no longer reported by the rule: ```js s.toUpperCase() === "\u001b"; ``` Contributed by [@​Conaclos](https://togithub.com/Conaclos) ##### Parser ##### New features - Implemented CSS Unknown At-Rule parsing, allowing the parser to gracefully handle unsupported or unrecognized CSS at-rules. Contributed by [@​denbezrukov](https://togithub.com/denbezrukov) ##### Bug fixes - Fix [#​3055](https://togithub.com/biomejs/biome/issues/3055) CSS: Layout using named grid lines is now correctly parsed. Contributed by [@​denbezrukov](https://togithub.com/denbezrukov) - Fix [#​3091](https://togithub.com/biomejs/biome/issues/3091). Allows the parser to handle nested style rules and at-rules properly, enhancing the parser's compatibility with the CSS Nesting Module. Contributed by [@​denbezrukov](https://togithub.com/denbezrukov)

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 has been generated by Mend Renovate. View repository job log here.

github-actions[bot] commented 5 months ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟒 Statements 91.08% 143/157
🟒 Branches 88.57% 31/35
🟒 Functions 83.33% 30/36
🟒 Lines 89.55% 120/134

Test suite run success

44 tests passing in 8 suites.

Report generated by πŸ§ͺjest coverage report action from e868ddc47d8d40898d5416af472318cf92178cd3