chore(deps): update dependency @biomejs/biome to v1.6.3 #158

Open
renovate[bot] wants to merge 1 commit from renovate/biomejs-biome-1.x-lockfile into main
renovate[bot] commented 2024-03-08 16:13:05 +00:00 (Migrated from github.com)

Mend Renovate

This PR contains the following updates:

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

Release Notes

biomejs/biome (@​biomejs/biome)

v1.6.3

Compare Source

Analyzer
CLI
Bug fixes
  • Fix configuration resolution. Biome is now able to correctly find the biome.jsonc configuration file when --config-path is explicitly set (#​2164). Contributed by @​Sec-ant

  • JavaScript/TypeScript files of different variants (.ts, .js, .tsx, .jsx) in a single workspace now have stable formatting behaviors when running the CLI command in paths of different nested levels or in different operating systems (#​2080, #​2109). Contributed by @​Sec-ant

Configuration
Bug fixes
  • Complete the documentation and overrides support for options formatter.lineEnding, [language].formatter.lineEnding, formatter.attributePosition and javascript.formatter.attributePosition. Contributed by @​Sec-ant
Editors
Formatter
Bug fixes
  • Fix #​2172 by breaking long object destructuring patterns. Contributed by @​ah-yu
JavaScript APIs
Linter
New features
LSP
Bug fixes
  • Quickfix action no longer autofixes lint rule errors on save when linter is disabled (#​2161). Contributed by @​Sec-ant
  • Range formatting for Astro/Svelte/Vue doesn't place code out of place, especially when formatting on paste is enabled. Contributed by @​ematipico
Parser

v1.6.2

Compare Source

Analyzer
Bug fixes
  • The noSuperWithoutExtends rule now allows for calling super() in derived class constructors of class expressions (#​2108). Contributed by @​Sec-ant

  • Fix discrepancies on file source detection. Allow module syntax in .cts files (#​2114). Contributed by @​Sec-ant

CLI
Bug fixes
  • Fixes #​2131, where folders were incorrectly ignored when running the command check. Now folders are correctly ignored based on their command. Contributed by @​ematipico

  • Smoother handling of "endOfLine": "auto" in prettier migration: falling back to "lf" (#​2145). Contributed by @​eMerzh

Configuration
Bug fixes
  • Fix enabled rules calculation. The precendence of individual rules, all and recommend presets in top-level and group-level configs is now correctly respected. More details can be seen in (#​2072) (#​2028). Contributed by @​Sec-ant
Formatter
Bug fixes
  • Fix #​1661. Now nested conditionals are aligned with Prettier's logic, and won't contain mixed spaces and tabs. Contributed by @​ematipico
JavaScript APIs
Enhancements
  • Support applying lint fixes when calling the lintContent method of the Biome class (#​1956). Contributed by @​mnahkies
Linter
Bug fixes
  • Rule noUndeclaredDependencies now also validates peerDependencies and optionalDependencies (#​2122). Contributed by @​Sec-ant

  • Rule noUndeclaredDependencies won't check declare module statements anymore (#​2123). Contributed by @​Sec-ant

  • Fix #​1925. The fix for useOptionalChain would sometimes suggest an incorrect fix that discarded optional chaining operators on the left-hand side of logical expressions. These are now preserved. Contributed by @​arendjr

  • Rule noUndeclaredVariables now also checks for worker globals (#​2121). Contributed by @​Sec-ant

LSP
Bug fixes
  • Correctly parse .jsonc files. Contributed by @​Sec-ant

  • Correctly resolve external extends configs. Contributed by @​Sec-ant

v1.6.1

Compare Source

CLI
Bug fixes
  • CLI is now able to automatically search and resolve biome.jsonc (#​2008). Contributed by @​Sec-ant
  • Fix a false positive where some files were counted as "fixed" even though they weren't modified. Contributed by @​ematipico
Configuration
Bug fixes
  • json.formatter.trailingCommas option now works in overrides (#​2009). Contributed by @​Sec-ant
Linter
New features
  • Add rule noDoneCallback, this rule checks the function parameter of hooks & tests
    for use of the done argument, suggesting you return a promise instead. Contributed by @​vasucp1207

    beforeEach(done => {
      // ...
    });
    
Bug fixes
Parser
Bug fixes
  • JavaScript lexer is now able to lex regular expression literals with escaped non-ascii chars (#​1941).

    Contributed by @​Sec-ant

v1.6.0

Compare Source

Analyzer
New features
  • Add partial for .astro files. Biome is able to sort imports inside the frontmatter of the Astro files. Contributed
    by @​ematipico

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@biomejs/biome](https://biomejs.dev) ([source](https://togithub.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome)) | [`1.5.3` -> `1.6.3`](https://renovatebot.com/diffs/npm/@biomejs%2fbiome/1.5.3/1.6.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@biomejs%2fbiome/1.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@biomejs%2fbiome/1.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@biomejs%2fbiome/1.5.3/1.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@biomejs%2fbiome/1.5.3/1.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>biomejs/biome (@&#8203;biomejs/biome)</summary> ### [`v1.6.3`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#163-2024-03-25) [Compare Source](https://togithub.com/biomejs/biome/compare/7669b334ecfb9580abe83bbf6141232805f0e4bd...23b5a73ac7ccd4920f13919aaa712b9364020e88) ##### Analyzer ##### CLI ##### Bug fixes - Fix configuration resolution. Biome is now able to correctly find the `biome.jsonc` configuration file when `--config-path` is explicitly set ([#&#8203;2164](https://togithub.com/biomejs/biome/issues/2164)). Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant) - JavaScript/TypeScript files of different variants (`.ts`, `.js`, `.tsx`, `.jsx`) in a single workspace now have stable formatting behaviors when running the CLI command in paths of different nested levels or in different operating systems ([#&#8203;2080](https://togithub.com/biomejs/biome/issues/2080), [#&#8203;2109](https://togithub.com/biomejs/biome/issues/2109)). Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant) ##### Configuration ##### Bug fixes - Complete the documentation and overrides support for options `formatter.lineEnding`, `[language].formatter.lineEnding`, `formatter.attributePosition` and `javascript.formatter.attributePosition`. Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant) ##### Editors ##### Formatter ##### Bug fixes - Fix [#&#8203;2172](https://togithub.com/biomejs/biome/issues/2172) by breaking long object destructuring patterns. Contributed by [@&#8203;ah-yu](https://togithub.com/ah-yu) ##### JavaScript APIs ##### Linter ##### New features - Add rule [noEvolvingAny](https://biomejs.dev/linter/rules/no-evolving-any) to disallow variables from evolving into `any` type through reassignments. Contributed by [@&#8203;fujiyamaorange](https://togithub.com/fujiyamaorange) ##### LSP ##### Bug fixes - Quickfix action no longer autofixes lint rule errors on save when `linter` is disabled ([#&#8203;2161](https://togithub.com/biomejs/biome/issues/2161)). Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant) - Range formatting for Astro/Svelte/Vue doesn't place code out of place, especially when formatting on paste is enabled. Contributed by [@&#8203;ematipico](https://togithub.com/ematipico) ##### Parser ### [`v1.6.2`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#162-2024-03-22) [Compare Source](https://togithub.com/biomejs/biome/compare/4ed1cbe96bc9e6d7092e88dd0a54ff8ce78037e5...7669b334ecfb9580abe83bbf6141232805f0e4bd) ##### Analyzer ##### Bug fixes - The `noSuperWithoutExtends` rule now allows for calling `super()` in derived class constructors of class expressions ([#&#8203;2108](https://togithub.com/biomejs/biome/issues/2108)). Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant) - Fix discrepancies on file source detection. Allow module syntax in `.cts` files ([#&#8203;2114](https://togithub.com/biomejs/biome/issues/2114)). Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant) ##### CLI ##### Bug fixes - Fixes [#&#8203;2131](https://togithub.com/biomejs/biome/issues/2131), where folders were incorrectly ignored when running the command `check`. Now folders are correctly ignored based on their command. Contributed by [@&#8203;ematipico](https://togithub.com/ematipico) - Smoother handling of `"endOfLine": "auto"` in prettier migration: falling back to `"lf"` ([#&#8203;2145](https://togithub.com/biomejs/biome/pull/2145)). Contributed by [@&#8203;eMerzh](https://togithub.com/eMerzh) ##### Configuration ##### Bug fixes - Fix enabled rules calculation. The precendence of individual rules, `all` and `recommend` presets in top-level and group-level configs is now correctly respected. More details can be seen in ([#&#8203;2072](https://togithub.com/biomejs/biome/pull/2072)) ([#&#8203;2028](https://togithub.com/biomejs/biome/issues/2028)). Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant) ##### Formatter ##### Bug fixes - Fix [#&#8203;1661](https://togithub.com/biomejs/biome/issues/1661). Now nested conditionals are aligned with Prettier's logic, and won't contain mixed spaces and tabs. Contributed by [@&#8203;ematipico](https://togithub.com/ematipico) ##### JavaScript APIs ##### Enhancements - Support applying lint fixes when calling the `lintContent` method of the `Biome` class ([#&#8203;1956](https://togithub.com/biomejs/biome/pull/1956)). Contributed by [@&#8203;mnahkies](https://togithub.com/mnahkies) ##### Linter ##### Bug fixes - Rule `noUndeclaredDependencies` now also validates `peerDependencies` and `optionalDependencies` ([#&#8203;2122](https://togithub.com/biomejs/biome/issues/2122)). Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant) - Rule `noUndeclaredDependencies` won't check `declare module` statements anymore ([#&#8203;2123](https://togithub.com/biomejs/biome/issues/2123)). Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant) - Fix [#&#8203;1925](https://togithub.com/biomejs/biome/issues/1925). The fix for `useOptionalChain` would sometimes suggest an incorrect fix that discarded optional chaining operators on the left-hand side of logical expressions. These are now preserved. Contributed by [@&#8203;arendjr](https://togithub.com/arendjr) - Rule `noUndeclaredVariables` now also checks for worker globals ([#&#8203;2121](https://togithub.com/biomejs/biome/issues/2121)). Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant) ##### LSP ##### Bug fixes - Correctly parse `.jsonc` files. Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant) - Correctly resolve external `extends` configs. Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant) ### [`v1.6.1`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#161-2024-03-12) [Compare Source](https://togithub.com/biomejs/biome/compare/560628b380b0b1f61303c8e5ca2175d3b4794089...4ed1cbe96bc9e6d7092e88dd0a54ff8ce78037e5) ##### CLI ##### Bug fixes - CLI is now able to automatically search and resolve `biome.jsonc` ([#&#8203;2008](https://togithub.com/biomejs/biome/issues/2008)). Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant) - Fix a false positive where some files were counted as "fixed" even though they weren't modified. Contributed by [@&#8203;ematipico](https://togithub.com/ematipico) ##### Configuration ##### Bug fixes - `json.formatter.trailingCommas` option now works in `overrides` ([#&#8203;2009](https://togithub.com/biomejs/biome/issues/2009)). Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant) ##### Linter ##### New features - Add rule [noDoneCallback](https://biomejs.dev/linter/rules/no-done-callback), this rule checks the function parameter of hooks & tests for use of the done argument, suggesting you return a promise instead. Contributed by [@&#8203;vasucp1207](https://togithub.com/vasucp1207) ```js beforeEach(done => { // ... }); ``` ##### Bug fixes - [useJsxKeyInIterable](https://biomejs.dev/linter/rules/use-jsx-key-in-iterable) now recognizes function bodies wrapped in parentheses ([#&#8203;2011](https://togithub.com/biomejs/biome/issues/2011)). Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant) - [useShorthandFunctionType](https://biomejs.dev/linter/rules/use-shorthand-function-type) now preserves type parameters of generic interfaces when applying fixes ([#&#8203;2015](https://togithub.com/biomejs/biome/issues/2015)). Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant) - Code fixes of [useImportType](https://biomejs.dev/linter/rules/use-import-type) and [useExportType](https://biomejs.dev/linter/rules/use-export-type) now handle multiline statements ([#&#8203;2041](https://togithub.com/biomejs/biome/issues/2041)). Contributed by [@&#8203;Conaclos](https://togithub.com/Conaclos) - [noRedeclare](https://biomejs.dev/linter/rules/no-redeclare) no longer reports type parameter and parameter with identical names ([#&#8203;1992](https://togithub.com/biomejs/biome/issues/1992)). The following code is no longer reported: ```ts function f<a>(a: a) {} ``` Contributed by [@&#8203;Conaclos](https://togithub.com/Conaclos) - [noRedeclare](https://biomejs.dev/linter/rules/no-redeclare) now reports duplicate type parameters in a same declaration. The following type parameters are now reported as a redeclaraion: ```ts function f<T, T>() {} ``` Contributed by [@&#8203;Conaclos](https://togithub.com/Conaclos) - [noUndeclaredDependencies](https://biomejs.dev/linter/rules/no-undeclared-dependencies/) now recognizes imports of subpath exports. E.g., the following import statements no longer report errors if `@mui/material` and `tailwindcss` are installed as dependencies: ```ts import Button from "@&#8203;mui/material/Button"; import { fontFamily } from "tailwindcss/defaultTheme"; ``` Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant) ##### Parser ##### Bug fixes - JavaScript lexer is now able to lex regular expression literals with escaped non-ascii chars ([#&#8203;1941](https://togithub.com/biomejs/biome/issues/1941)). Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant) ### [`v1.6.0`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#160-2024-03-08) [Compare Source](https://togithub.com/biomejs/biome/compare/906de83449b5066554cd8e97c78a1f8e43749016...560628b380b0b1f61303c8e5ca2175d3b4794089) ##### Analyzer ##### New features - Add partial for `.astro` files. Biome is able to sort imports inside the frontmatter of the Astro files. Contributed by [@&#8203;ematipico](https://togithub.com/ematipico) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/mcataford/rss-reader). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/biomejs-biome-1.x-lockfile:renovate/biomejs-biome-1.x-lockfile
git checkout renovate/biomejs-biome-1.x-lockfile

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout main
git merge --no-ff renovate/biomejs-biome-1.x-lockfile
git checkout renovate/biomejs-biome-1.x-lockfile
git rebase main
git checkout main
git merge --ff-only renovate/biomejs-biome-1.x-lockfile
git checkout renovate/biomejs-biome-1.x-lockfile
git rebase main
git checkout main
git merge --no-ff renovate/biomejs-biome-1.x-lockfile
git checkout main
git merge --squash renovate/biomejs-biome-1.x-lockfile
git checkout main
git merge --ff-only renovate/biomejs-biome-1.x-lockfile
git checkout main
git merge renovate/biomejs-biome-1.x-lockfile
git push origin main
Sign in to join this conversation.
No description provided.