Skip to content

Commit bdfe382

Browse files
chore(deps): update dependency @biomejs/biome to v1.8.2 (Unleash#7475)
[![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.8.1` -> `1.8.2`](https://renovatebot.com/diffs/npm/@biomejs%2fbiome/1.8.1/1.8.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@biomejs%2fbiome/1.8.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@biomejs%2fbiome/1.8.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@biomejs%2fbiome/1.8.1/1.8.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@biomejs%2fbiome/1.8.1/1.8.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>biomejs/biome (@&Unleash#8203;biomejs/biome)</summary> ### [`v1.8.2`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#v182-2024-06-20) [Compare Source](https://togithub.com/biomejs/biome/compare/39db99b1cd087d6aa46ecfecba6adbfa0d45a303...54b4c9a39078836843ef363bb6986fad74834480) ##### CLI ##### Bug fixes - Fix [#&Unleash#8203;3201](https://togithub.com/biomejs/biome/issues/3201) by correctly injecting the source code of the file when printing the diagnostics. Contributed by [@&Unleash#8203;ematipico](https://togithub.com/ematipico) - Fix [#&Unleash#8203;3179](https://togithub.com/biomejs/biome/issues/3179) where comma separators are not correctly removed after running `biome migrate` and thus choke the parser. Contributed by [@&Unleash#8203;Sec-ant](https://togithub.com/Sec-ant) - Fix [#&Unleash#8203;3232](https://togithub.com/biomejs/biome/issues/3232) by correctly using the colors set by the user. Contributed by [@&Unleash#8203;ematipico](https://togithub.com/ematipico) ##### Enhancement - Reword the reporter message `No fixes needed` to `No fixes applied`. The former message is misleading when there're still errors or warnings in the files that should be taken care of manually. For example: ```block Checked 2 files in <TIME>. No fixes needed. Found 2 errors. ``` The new message suits better in these cases. Contributed by [@&Unleash#8203;Sec-ant](https://togithub.com/Sec-ant) ##### Configuration ##### Bug fixes - Don't conceal previous overrides ([#&Unleash#8203;3176](https://togithub.com/biomejs/biome/issues/3176)). Previously, each override inherited the unset configuration of the base configuration. This means that setting a configuration in an override can be concealed by a subsequent override that inherits of the value from the base configuration. For example, in the next example, `noDebugger` was disabled for the `index.js` file. ```json { "linter": { "rules": { "suspicious": { "noDebugger": "off" } } }, "overrides": [ { "include": ["index.js"], "linter": { "rules": { "suspicious": { "noDebugger": "warn" } } } }, { "include": ["index.js"], "linter": { "rules": { "suspicious": { "noDoubleEquals": "off" } } } } ] } ``` The rule is now correctly enabled for the `index.js` file. Contributed by [@&Unleash#8203;Conaclos](https://togithub.com/Conaclos) ##### Formatter ##### Bug fixes - Fix [#&Unleash#8203;3103](https://togithub.com/biomejs/biome/issues/3103) by correctly resolving CSS formatter options. Contributed by [@&Unleash#8203;ah-yu](https://togithub.com/ah-yu) - Fix [#&Unleash#8203;3192](https://togithub.com/biomejs/biome/issues/3192) don't add an extra whitespace within :has. Contributed by [@&Unleash#8203;denbezrukov](https://togithub.com/denbezrukov) ##### JavaScript APIs ##### Bug fixes - Fix a regression introduced by the release of `v1.8.0` ##### Linter ##### New features - Add [nursery/useValidAutocomplete](https://biomejs.dev/linter/rules/use-valid-autocomplete/). Contributed by [@&Unleash#8203;unvalley](https://togithub.com/unvalley) ##### Bug fixes - Add [nursery/noShorthandPropertyOverrides](https://biomejs.dev/linter/rules/no-shorthand-property-overrides). [#&Unleash#8203;2958](https://togithub.com/biomejs/biome/issues/2958) Contributed by [@&Unleash#8203;neokidev](https://togithub.com/neokidev) - Fix \[[#&Unleash#8203;3084](https://togithub.com/biomejs/biome/issues/3084)] false positive by correctly recognize parenthesized return statement. Contributed by [@&Unleash#8203;unvalley](https://togithub.com/unvalley) - [useImportExtensions](https://biomejs.dev/linter/rules/use-import-extensions/) now suggests a correct fix for `import '.'` and `import './.'`. Contributed by [@&Unleash#8203;minht11](https://togithub.com/minht11) - Fix [useDateNow](https://biomejs.dev/linter/rules/use-date-now/) false positive when new Date object has arguments `new Date(0).getTime()`. Contributed by [@&Unleash#8203;minht11](https://togithub.com/minht11). - The [`noUnmatchableAnbSelector`](https://biomejs.dev/linter/rules/no-unmatchable-anb-selector/) rule is now able to catch unmatchable `an+b` selectors like `0n+0` or `-0n+0`. Contributed by [@&Unleash#8203;Sec-ant](https://togithub.com/Sec-ant). - The [`useHookAtTopLevel`](https://biomejs.dev/linter/rules/use-hook-at-top-level/) rule now recognizes properties named as hooks like `foo.useFoo()`. Contributed by [@&Unleash#8203;ksnyder9801](https://togithub.com/ksnyder9801) - Fix [#&Unleash#8203;3092](https://togithub.com/biomejs/biome/issues/3092), prevent warning for `Custom properties (--*)`. Contributed by [@&Unleash#8203;chansuke](https://togithub.com/chansuke) - Fix a false positive in the [`useLiteralKeys`](https://biomejs.dev/linter/rules/use-literal-keys/) rule. ([#&Unleash#8203;3160](https://togithub.com/biomejs/biome/issues/3160)) This rule now ignores the following kind of computed member name: ```js const a = { [`line1 line2`]: true, }; ``` Contributed by [@&Unleash#8203;Sec-ant](https://togithub.com/Sec-ant) - The [noUnknownProperty](https://biomejs.dev/linter/rules/no-unknown-property/) rule now ignores the `composes` property often used in css modules. [#&Unleash#8203;3000](https://togithub.com/biomejs/biome/issues/3000) Contributed by [@&Unleash#8203;chansuke](https://togithub.com/chansuke) - Fix false positives of the [useExhaustiveDependencies](https://biomejs.dev/linter/rules/use-exhaustive-dependencies/) rule. The component itself is considered stable when it is used recursively inside a hook closure defined inside of it: ```jsx import { useMemo } from "react"; function MyRecursiveComponent() { // MyRecursiveComponent is stable, we don't need to add it to the dependencies list. const children = useMemo(() => <MyRecursiveComponent />, []); return <div>{children}</div>; } ``` Also, `export default function` and `export default class` are considered stable now because they can only appear at the top level of a module. Contributed by [@&Unleash#8203;Sec-ant](https://togithub.com/Sec-ant) - Fix missing `withDefaults` macro in vue files for globals variables. Contributed by [@&Unleash#8203;Shyam-Chen](https://togithub.com/Shyam-Chen) ##### Parser ##### Bug fixes - Fix CSS modules settings mapping. Contributed by [@&Unleash#8203;denbezrukov](https://togithub.com/denbezrukov) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am every weekday" in timezone Europe/Madrid, 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/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 8d1a828 commit bdfe382

4 files changed

Lines changed: 78 additions & 78 deletions

File tree

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"gen:api:clean": "yarn gen:api && rm -rf src/openapi/apis && sed -i.bak '1q' src/openapi/index.ts && rm src/openapi/index.ts.bak"
3838
},
3939
"devDependencies": {
40-
"@biomejs/biome": "1.8.1",
40+
"@biomejs/biome": "1.8.2",
4141
"@codemirror/lang-json": "6.0.1",
4242
"@emotion/react": "11.11.4",
4343
"@emotion/styled": "11.11.5",

frontend/yarn.lock

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -351,18 +351,18 @@ __metadata:
351351
languageName: node
352352
linkType: hard
353353

354-
"@biomejs/biome@npm:1.8.1":
355-
version: 1.8.1
356-
resolution: "@biomejs/biome@npm:1.8.1"
357-
dependencies:
358-
"@biomejs/cli-darwin-arm64": "npm:1.8.1"
359-
"@biomejs/cli-darwin-x64": "npm:1.8.1"
360-
"@biomejs/cli-linux-arm64": "npm:1.8.1"
361-
"@biomejs/cli-linux-arm64-musl": "npm:1.8.1"
362-
"@biomejs/cli-linux-x64": "npm:1.8.1"
363-
"@biomejs/cli-linux-x64-musl": "npm:1.8.1"
364-
"@biomejs/cli-win32-arm64": "npm:1.8.1"
365-
"@biomejs/cli-win32-x64": "npm:1.8.1"
354+
"@biomejs/biome@npm:1.8.2":
355+
version: 1.8.2
356+
resolution: "@biomejs/biome@npm:1.8.2"
357+
dependencies:
358+
"@biomejs/cli-darwin-arm64": "npm:1.8.2"
359+
"@biomejs/cli-darwin-x64": "npm:1.8.2"
360+
"@biomejs/cli-linux-arm64": "npm:1.8.2"
361+
"@biomejs/cli-linux-arm64-musl": "npm:1.8.2"
362+
"@biomejs/cli-linux-x64": "npm:1.8.2"
363+
"@biomejs/cli-linux-x64-musl": "npm:1.8.2"
364+
"@biomejs/cli-win32-arm64": "npm:1.8.2"
365+
"@biomejs/cli-win32-x64": "npm:1.8.2"
366366
dependenciesMeta:
367367
"@biomejs/cli-darwin-arm64":
368368
optional: true
@@ -382,62 +382,62 @@ __metadata:
382382
optional: true
383383
bin:
384384
biome: bin/biome
385-
checksum: 10c0/17990974c5a4f56104bc59e45d1aebc50ffa146c0d9f3da99f5c54770188939608d08f1edb70b69ea7715c4d9da6d10d4b2b1ed7cd9b54ec58fcd89cda2a1d38
385+
checksum: 10c0/29f5bd0bb52fc6775b176ccdfcc613d75a160149ad9f99498d20970780d4eb528c34f440ac13dea76df7446710c00ccda1a55785f320c851b9693076b88ce12c
386386
languageName: node
387387
linkType: hard
388388

389-
"@biomejs/cli-darwin-arm64@npm:1.8.1":
390-
version: 1.8.1
391-
resolution: "@biomejs/cli-darwin-arm64@npm:1.8.1"
389+
"@biomejs/cli-darwin-arm64@npm:1.8.2":
390+
version: 1.8.2
391+
resolution: "@biomejs/cli-darwin-arm64@npm:1.8.2"
392392
conditions: os=darwin & cpu=arm64
393393
languageName: node
394394
linkType: hard
395395

396-
"@biomejs/cli-darwin-x64@npm:1.8.1":
397-
version: 1.8.1
398-
resolution: "@biomejs/cli-darwin-x64@npm:1.8.1"
396+
"@biomejs/cli-darwin-x64@npm:1.8.2":
397+
version: 1.8.2
398+
resolution: "@biomejs/cli-darwin-x64@npm:1.8.2"
399399
conditions: os=darwin & cpu=x64
400400
languageName: node
401401
linkType: hard
402402

403-
"@biomejs/cli-linux-arm64-musl@npm:1.8.1":
404-
version: 1.8.1
405-
resolution: "@biomejs/cli-linux-arm64-musl@npm:1.8.1"
403+
"@biomejs/cli-linux-arm64-musl@npm:1.8.2":
404+
version: 1.8.2
405+
resolution: "@biomejs/cli-linux-arm64-musl@npm:1.8.2"
406406
conditions: os=linux & cpu=arm64 & libc=musl
407407
languageName: node
408408
linkType: hard
409409

410-
"@biomejs/cli-linux-arm64@npm:1.8.1":
411-
version: 1.8.1
412-
resolution: "@biomejs/cli-linux-arm64@npm:1.8.1"
410+
"@biomejs/cli-linux-arm64@npm:1.8.2":
411+
version: 1.8.2
412+
resolution: "@biomejs/cli-linux-arm64@npm:1.8.2"
413413
conditions: os=linux & cpu=arm64 & libc=glibc
414414
languageName: node
415415
linkType: hard
416416

417-
"@biomejs/cli-linux-x64-musl@npm:1.8.1":
418-
version: 1.8.1
419-
resolution: "@biomejs/cli-linux-x64-musl@npm:1.8.1"
417+
"@biomejs/cli-linux-x64-musl@npm:1.8.2":
418+
version: 1.8.2
419+
resolution: "@biomejs/cli-linux-x64-musl@npm:1.8.2"
420420
conditions: os=linux & cpu=x64 & libc=musl
421421
languageName: node
422422
linkType: hard
423423

424-
"@biomejs/cli-linux-x64@npm:1.8.1":
425-
version: 1.8.1
426-
resolution: "@biomejs/cli-linux-x64@npm:1.8.1"
424+
"@biomejs/cli-linux-x64@npm:1.8.2":
425+
version: 1.8.2
426+
resolution: "@biomejs/cli-linux-x64@npm:1.8.2"
427427
conditions: os=linux & cpu=x64 & libc=glibc
428428
languageName: node
429429
linkType: hard
430430

431-
"@biomejs/cli-win32-arm64@npm:1.8.1":
432-
version: 1.8.1
433-
resolution: "@biomejs/cli-win32-arm64@npm:1.8.1"
431+
"@biomejs/cli-win32-arm64@npm:1.8.2":
432+
version: 1.8.2
433+
resolution: "@biomejs/cli-win32-arm64@npm:1.8.2"
434434
conditions: os=win32 & cpu=arm64
435435
languageName: node
436436
linkType: hard
437437

438-
"@biomejs/cli-win32-x64@npm:1.8.1":
439-
version: 1.8.1
440-
resolution: "@biomejs/cli-win32-x64@npm:1.8.1"
438+
"@biomejs/cli-win32-x64@npm:1.8.2":
439+
version: 1.8.2
440+
resolution: "@biomejs/cli-win32-x64@npm:1.8.2"
441441
conditions: os=win32 & cpu=x64
442442
languageName: node
443443
linkType: hard
@@ -9677,7 +9677,7 @@ __metadata:
96779677
version: 0.0.0-use.local
96789678
resolution: "unleash-frontend-local@workspace:."
96799679
dependencies:
9680-
"@biomejs/biome": "npm:1.8.1"
9680+
"@biomejs/biome": "npm:1.8.2"
96819681
"@codemirror/lang-json": "npm:6.0.1"
96829682
"@emotion/react": "npm:11.11.4"
96839683
"@emotion/styled": "npm:11.11.5"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
"devDependencies": {
173173
"@apidevtools/swagger-parser": "10.1.0",
174174
"@babel/core": "7.24.7",
175-
"@biomejs/biome": "1.8.1",
175+
"@biomejs/biome": "1.8.2",
176176
"@cyclonedx/yarn-plugin-cyclonedx": "^1.0.0-rc.7",
177177
"@swc/core": "1.6.3",
178178
"@swc/jest": "0.2.36",

yarn.lock

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -874,18 +874,18 @@ __metadata:
874874
languageName: node
875875
linkType: hard
876876

877-
"@biomejs/biome@npm:1.8.1":
878-
version: 1.8.1
879-
resolution: "@biomejs/biome@npm:1.8.1"
880-
dependencies:
881-
"@biomejs/cli-darwin-arm64": "npm:1.8.1"
882-
"@biomejs/cli-darwin-x64": "npm:1.8.1"
883-
"@biomejs/cli-linux-arm64": "npm:1.8.1"
884-
"@biomejs/cli-linux-arm64-musl": "npm:1.8.1"
885-
"@biomejs/cli-linux-x64": "npm:1.8.1"
886-
"@biomejs/cli-linux-x64-musl": "npm:1.8.1"
887-
"@biomejs/cli-win32-arm64": "npm:1.8.1"
888-
"@biomejs/cli-win32-x64": "npm:1.8.1"
877+
"@biomejs/biome@npm:1.8.2":
878+
version: 1.8.2
879+
resolution: "@biomejs/biome@npm:1.8.2"
880+
dependencies:
881+
"@biomejs/cli-darwin-arm64": "npm:1.8.2"
882+
"@biomejs/cli-darwin-x64": "npm:1.8.2"
883+
"@biomejs/cli-linux-arm64": "npm:1.8.2"
884+
"@biomejs/cli-linux-arm64-musl": "npm:1.8.2"
885+
"@biomejs/cli-linux-x64": "npm:1.8.2"
886+
"@biomejs/cli-linux-x64-musl": "npm:1.8.2"
887+
"@biomejs/cli-win32-arm64": "npm:1.8.2"
888+
"@biomejs/cli-win32-x64": "npm:1.8.2"
889889
dependenciesMeta:
890890
"@biomejs/cli-darwin-arm64":
891891
optional: true
@@ -905,62 +905,62 @@ __metadata:
905905
optional: true
906906
bin:
907907
biome: bin/biome
908-
checksum: 10c0/17990974c5a4f56104bc59e45d1aebc50ffa146c0d9f3da99f5c54770188939608d08f1edb70b69ea7715c4d9da6d10d4b2b1ed7cd9b54ec58fcd89cda2a1d38
908+
checksum: 10c0/29f5bd0bb52fc6775b176ccdfcc613d75a160149ad9f99498d20970780d4eb528c34f440ac13dea76df7446710c00ccda1a55785f320c851b9693076b88ce12c
909909
languageName: node
910910
linkType: hard
911911

912-
"@biomejs/cli-darwin-arm64@npm:1.8.1":
913-
version: 1.8.1
914-
resolution: "@biomejs/cli-darwin-arm64@npm:1.8.1"
912+
"@biomejs/cli-darwin-arm64@npm:1.8.2":
913+
version: 1.8.2
914+
resolution: "@biomejs/cli-darwin-arm64@npm:1.8.2"
915915
conditions: os=darwin & cpu=arm64
916916
languageName: node
917917
linkType: hard
918918

919-
"@biomejs/cli-darwin-x64@npm:1.8.1":
920-
version: 1.8.1
921-
resolution: "@biomejs/cli-darwin-x64@npm:1.8.1"
919+
"@biomejs/cli-darwin-x64@npm:1.8.2":
920+
version: 1.8.2
921+
resolution: "@biomejs/cli-darwin-x64@npm:1.8.2"
922922
conditions: os=darwin & cpu=x64
923923
languageName: node
924924
linkType: hard
925925

926-
"@biomejs/cli-linux-arm64-musl@npm:1.8.1":
927-
version: 1.8.1
928-
resolution: "@biomejs/cli-linux-arm64-musl@npm:1.8.1"
926+
"@biomejs/cli-linux-arm64-musl@npm:1.8.2":
927+
version: 1.8.2
928+
resolution: "@biomejs/cli-linux-arm64-musl@npm:1.8.2"
929929
conditions: os=linux & cpu=arm64 & libc=musl
930930
languageName: node
931931
linkType: hard
932932

933-
"@biomejs/cli-linux-arm64@npm:1.8.1":
934-
version: 1.8.1
935-
resolution: "@biomejs/cli-linux-arm64@npm:1.8.1"
933+
"@biomejs/cli-linux-arm64@npm:1.8.2":
934+
version: 1.8.2
935+
resolution: "@biomejs/cli-linux-arm64@npm:1.8.2"
936936
conditions: os=linux & cpu=arm64 & libc=glibc
937937
languageName: node
938938
linkType: hard
939939

940-
"@biomejs/cli-linux-x64-musl@npm:1.8.1":
941-
version: 1.8.1
942-
resolution: "@biomejs/cli-linux-x64-musl@npm:1.8.1"
940+
"@biomejs/cli-linux-x64-musl@npm:1.8.2":
941+
version: 1.8.2
942+
resolution: "@biomejs/cli-linux-x64-musl@npm:1.8.2"
943943
conditions: os=linux & cpu=x64 & libc=musl
944944
languageName: node
945945
linkType: hard
946946

947-
"@biomejs/cli-linux-x64@npm:1.8.1":
948-
version: 1.8.1
949-
resolution: "@biomejs/cli-linux-x64@npm:1.8.1"
947+
"@biomejs/cli-linux-x64@npm:1.8.2":
948+
version: 1.8.2
949+
resolution: "@biomejs/cli-linux-x64@npm:1.8.2"
950950
conditions: os=linux & cpu=x64 & libc=glibc
951951
languageName: node
952952
linkType: hard
953953

954-
"@biomejs/cli-win32-arm64@npm:1.8.1":
955-
version: 1.8.1
956-
resolution: "@biomejs/cli-win32-arm64@npm:1.8.1"
954+
"@biomejs/cli-win32-arm64@npm:1.8.2":
955+
version: 1.8.2
956+
resolution: "@biomejs/cli-win32-arm64@npm:1.8.2"
957957
conditions: os=win32 & cpu=arm64
958958
languageName: node
959959
linkType: hard
960960

961-
"@biomejs/cli-win32-x64@npm:1.8.1":
962-
version: 1.8.1
963-
resolution: "@biomejs/cli-win32-x64@npm:1.8.1"
961+
"@biomejs/cli-win32-x64@npm:1.8.2":
962+
version: 1.8.2
963+
resolution: "@biomejs/cli-win32-x64@npm:1.8.2"
964964
conditions: os=win32 & cpu=x64
965965
languageName: node
966966
linkType: hard
@@ -9762,7 +9762,7 @@ __metadata:
97629762
dependencies:
97639763
"@apidevtools/swagger-parser": "npm:10.1.0"
97649764
"@babel/core": "npm:7.24.7"
9765-
"@biomejs/biome": "npm:1.8.1"
9765+
"@biomejs/biome": "npm:1.8.2"
97669766
"@cyclonedx/yarn-plugin-cyclonedx": "npm:^1.0.0-rc.7"
97679767
"@slack/web-api": "npm:^6.10.0"
97689768
"@swc/core": "npm:1.6.3"

0 commit comments

Comments
 (0)