Commit bdfe382
authored
chore(deps): update dependency @biomejs/biome to v1.8.2 (Unleash#7475)
[](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)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
| 385 | + | |
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
390 | | - | |
391 | | - | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
396 | | - | |
397 | | - | |
398 | | - | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
403 | | - | |
404 | | - | |
405 | | - | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
410 | | - | |
411 | | - | |
412 | | - | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
417 | | - | |
418 | | - | |
419 | | - | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
424 | | - | |
425 | | - | |
426 | | - | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
431 | | - | |
432 | | - | |
433 | | - | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
438 | | - | |
439 | | - | |
440 | | - | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
| |||
9677 | 9677 | | |
9678 | 9678 | | |
9679 | 9679 | | |
9680 | | - | |
| 9680 | + | |
9681 | 9681 | | |
9682 | 9682 | | |
9683 | 9683 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
874 | 874 | | |
875 | 875 | | |
876 | 876 | | |
877 | | - | |
878 | | - | |
879 | | - | |
880 | | - | |
881 | | - | |
882 | | - | |
883 | | - | |
884 | | - | |
885 | | - | |
886 | | - | |
887 | | - | |
888 | | - | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
889 | 889 | | |
890 | 890 | | |
891 | 891 | | |
| |||
905 | 905 | | |
906 | 906 | | |
907 | 907 | | |
908 | | - | |
| 908 | + | |
909 | 909 | | |
910 | 910 | | |
911 | 911 | | |
912 | | - | |
913 | | - | |
914 | | - | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
915 | 915 | | |
916 | 916 | | |
917 | 917 | | |
918 | 918 | | |
919 | | - | |
920 | | - | |
921 | | - | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
922 | 922 | | |
923 | 923 | | |
924 | 924 | | |
925 | 925 | | |
926 | | - | |
927 | | - | |
928 | | - | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
929 | 929 | | |
930 | 930 | | |
931 | 931 | | |
932 | 932 | | |
933 | | - | |
934 | | - | |
935 | | - | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
936 | 936 | | |
937 | 937 | | |
938 | 938 | | |
939 | 939 | | |
940 | | - | |
941 | | - | |
942 | | - | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
943 | 943 | | |
944 | 944 | | |
945 | 945 | | |
946 | 946 | | |
947 | | - | |
948 | | - | |
949 | | - | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
950 | 950 | | |
951 | 951 | | |
952 | 952 | | |
953 | 953 | | |
954 | | - | |
955 | | - | |
956 | | - | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
957 | 957 | | |
958 | 958 | | |
959 | 959 | | |
960 | 960 | | |
961 | | - | |
962 | | - | |
963 | | - | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
964 | 964 | | |
965 | 965 | | |
966 | 966 | | |
| |||
9762 | 9762 | | |
9763 | 9763 | | |
9764 | 9764 | | |
9765 | | - | |
| 9765 | + | |
9766 | 9766 | | |
9767 | 9767 | | |
9768 | 9768 | | |
| |||
0 commit comments