Commit 74a896c
authored
chore(deps): update dependency lint-staged to v16 (#346)
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| [lint-staged](https://redirect.github.com/lint-staged/lint-staged) |
[`^15.0.0` ->
`^16.0.0`](https://renovatebot.com/diffs/npm/lint-staged/15.5.2/16.1.2)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>lint-staged/lint-staged (lint-staged)</summary>
###
[`v16.1.2`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1612)
[Compare
Source](https://redirect.github.com/lint-staged/lint-staged/compare/v16.1.1...v16.1.2)
##### Patch Changes
-
[#​1570](https://redirect.github.com/lint-staged/lint-staged/pull/1570)
[`a7c0c88`](https://redirect.github.com/lint-staged/lint-staged/commit/a7c0c88bcfe94e695528cb33e69fea58586691fc)
Thanks [@​ItsNickBarry](https://redirect.github.com/ItsNickBarry)!
- When using `--diff-filter` with the `D` option to include deleted
staged files, *lint-staged* no longer tries to stage the deleted files,
unless they're no longer deleted. Previously this caused an error from
`git add` like `fatal: pathspec 'deleted-file' did not match any files`.
-
[`38f942e`](https://redirect.github.com/lint-staged/lint-staged/commit/38f942ecc456355d5f12af68db1696f3411f65c2)
Thanks [@​iiroj](https://redirect.github.com/iiroj)! - Removed an
extraneous log entry that printed `shouldHidePArtiallyStagedFiles` to
console output.
###
[`v16.1.1`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1611)
[Compare
Source](https://redirect.github.com/lint-staged/lint-staged/compare/v16.1.0...v16.1.1)
##### Patch Changes
-
[#​1565](https://redirect.github.com/lint-staged/lint-staged/pull/1565)
[`3686977`](https://redirect.github.com/lint-staged/lint-staged/commit/3686977ccdadf70b709c16c0346ef6c2b18e2376)
Thanks [@​iiroj](https://redirect.github.com/iiroj)! -
*Lint-staged* now explicitly warns about potential data loss when using
`--no-stash`.
-
[#​1571](https://redirect.github.com/lint-staged/lint-staged/pull/1571)
[`02299a9`](https://redirect.github.com/lint-staged/lint-staged/commit/02299a9e4f98a05c13beb27f3596af73aaa8c150)
Thanks [@​iiroj](https://redirect.github.com/iiroj)! - Function
tasks (introduced in v16.0.0) only received the staged files matching
the conpmnfigured glob, instead of all staged files.
-
[#​1563](https://redirect.github.com/lint-staged/lint-staged/pull/1563)
[`bc61c74`](https://redirect.github.com/lint-staged/lint-staged/commit/bc61c74383b6d100c55b8d275b979d583ffbe5a1)
Thanks [@​iiroj](https://redirect.github.com/iiroj)! - This
version fixes incorrect behavior where unstaged changes were committed
when using the `--no-stash` option. This happened because `--no-stash`
implied `--no-hide-partially-staged`, meaning unstaged changes to files
which also had other staged changes were added to the commit by
*lint-staged*; this is no longer the case.
The previous (incorrect) behavior can still be achieved by using both
options `--no-stash --no-hide-partially-staged` at the same time.
###
[`v16.1.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1610)
[Compare
Source](https://redirect.github.com/lint-staged/lint-staged/compare/v16.0.0...v16.1.0)
##### Minor Changes
-
[#​1536](https://redirect.github.com/lint-staged/lint-staged/pull/1536)
[`e729daa`](https://redirect.github.com/lint-staged/lint-staged/commit/e729daa3b3ae28e613f63e730652dbfad5d1c594)
Thanks [@​iiroj](https://redirect.github.com/iiroj)! - A new flag
`--no-revert` has been introduced for when task modifications should be
applied to the index before aborting the commit in case of errors. By
default, *lint-staged* will clear all task modifications and revert to
the original state.
-
[#​1550](https://redirect.github.com/lint-staged/lint-staged/pull/1550)
[`b27fa3f`](https://redirect.github.com/lint-staged/lint-staged/commit/b27fa3fecb75bcdcaa4bcd483c9d5c0755a22607)
Thanks [@​iiroj](https://redirect.github.com/iiroj)! -
*Lint-staged* now ignores symlinks and leaves them out from the list of
staged files.
##### Patch Changes
-
[#​1558](https://redirect.github.com/lint-staged/lint-staged/pull/1558)
[`c37dc38`](https://redirect.github.com/lint-staged/lint-staged/commit/c37dc38dddbdebc41df4dbd909d79c98c3f69eb3)
Thanks [@​iiroj](https://redirect.github.com/iiroj)! - The minimum
required Node.js version is lowered to `20.17` following
[[email protected]](https://redirect.github.com/sindresorhus/nano-spawn/releases/tag/v1.0.2).
###
[`v16.0.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1600)
[Compare
Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.5.2...v16.0.0)
##### Major Changes
-
[#​1546](https://redirect.github.com/lint-staged/lint-staged/pull/1546)
[`158d15c`](https://redirect.github.com/lint-staged/lint-staged/commit/158d15c9aea0a3a87790ec3766442763cf387dba)
Thanks [@​iiroj](https://redirect.github.com/iiroj)! - Processes
are spawned using
[nano-spawn](https://redirect.github.com/sindresorhus/nano-spawn)
instead of [execa](https://redirect.github.com/sindresorhus/execa). If
you are using Node.js scripts as tasks, you might need to explicitly run
them with `node`, especially when using Windows:
```json
{
"*.js": "node my-js-linter.js"
}
```
-
[#​1546](https://redirect.github.com/lint-staged/lint-staged/pull/1546)
[`158d15c`](https://redirect.github.com/lint-staged/lint-staged/commit/158d15c9aea0a3a87790ec3766442763cf387dba)
Thanks [@​iiroj](https://redirect.github.com/iiroj)! - The
`--shell` flag has been removed and *lint-staged* no longer supports
evaluating commands directly via a shell. To migrate existing commands,
you can create a shell script and invoke it instead. Lint-staged will
pass matched staged files as a list of arguments, accessible via
`"$@​"`:
```shell
```
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **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/Aiko-IT-Systems/Discord-React-Components).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC43LjEiLCJ1cGRhdGVkSW5WZXIiOiI0MS40Ni4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->2 files changed
+23
-77
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1478 | 1478 | | |
1479 | 1479 | | |
1480 | 1480 | | |
1481 | | - | |
1482 | | - | |
1483 | | - | |
1484 | | - | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
1485 | 1485 | | |
1486 | 1486 | | |
1487 | 1487 | | |
| |||
1592 | 1592 | | |
1593 | 1593 | | |
1594 | 1594 | | |
1595 | | - | |
| 1595 | + | |
1596 | 1596 | | |
1597 | 1597 | | |
1598 | 1598 | | |
| |||
1657 | 1657 | | |
1658 | 1658 | | |
1659 | 1659 | | |
1660 | | - | |
| 1660 | + | |
1661 | 1661 | | |
1662 | 1662 | | |
1663 | 1663 | | |
| |||
2386 | 2386 | | |
2387 | 2387 | | |
2388 | 2388 | | |
2389 | | - | |
2390 | | - | |
2391 | | - | |
2392 | | - | |
2393 | | - | |
2394 | | - | |
2395 | | - | |
2396 | | - | |
2397 | | - | |
2398 | | - | |
2399 | | - | |
2400 | | - | |
2401 | | - | |
2402 | | - | |
2403 | | - | |
2404 | 2389 | | |
2405 | 2390 | | |
2406 | 2391 | | |
| |||
2702 | 2687 | | |
2703 | 2688 | | |
2704 | 2689 | | |
2705 | | - | |
2706 | | - | |
2707 | | - | |
2708 | | - | |
2709 | | - | |
2710 | 2690 | | |
2711 | 2691 | | |
2712 | 2692 | | |
| |||
2997 | 2977 | | |
2998 | 2978 | | |
2999 | 2979 | | |
3000 | | - | |
3001 | | - | |
3002 | | - | |
3003 | | - | |
3004 | | - | |
3005 | 2980 | | |
3006 | 2981 | | |
3007 | 2982 | | |
| |||
3343 | 3318 | | |
3344 | 3319 | | |
3345 | 3320 | | |
3346 | | - | |
3347 | | - | |
3348 | | - | |
3349 | | - | |
3350 | | - | |
3351 | 3321 | | |
3352 | 3322 | | |
3353 | 3323 | | |
| |||
3607 | 3577 | | |
3608 | 3578 | | |
3609 | 3579 | | |
3610 | | - | |
3611 | | - | |
3612 | | - | |
3613 | | - | |
| 3580 | + | |
| 3581 | + | |
| 3582 | + | |
| 3583 | + | |
3614 | 3584 | | |
3615 | 3585 | | |
3616 | | - | |
3617 | | - | |
3618 | | - | |
| 3586 | + | |
| 3587 | + | |
3619 | 3588 | | |
3620 | | - | |
| 3589 | + | |
3621 | 3590 | | |
| 3591 | + | |
3622 | 3592 | | |
3623 | 3593 | | |
3624 | | - | |
| 3594 | + | |
3625 | 3595 | | |
3626 | | - | |
| 3596 | + | |
3627 | 3597 | | |
3628 | 3598 | | |
3629 | 3599 | | |
| |||
3791 | 3761 | | |
3792 | 3762 | | |
3793 | 3763 | | |
3794 | | - | |
3795 | | - | |
3796 | | - | |
3797 | | - | |
3798 | | - | |
3799 | 3764 | | |
3800 | 3765 | | |
3801 | 3766 | | |
| |||
3819 | 3784 | | |
3820 | 3785 | | |
3821 | 3786 | | |
3822 | | - | |
3823 | | - | |
3824 | | - | |
3825 | | - | |
3826 | | - | |
3827 | 3787 | | |
3828 | 3788 | | |
3829 | 3789 | | |
| |||
3931 | 3891 | | |
3932 | 3892 | | |
3933 | 3893 | | |
| 3894 | + | |
| 3895 | + | |
| 3896 | + | |
| 3897 | + | |
| 3898 | + | |
3934 | 3899 | | |
3935 | 3900 | | |
3936 | 3901 | | |
| |||
4015 | 3980 | | |
4016 | 3981 | | |
4017 | 3982 | | |
4018 | | - | |
4019 | | - | |
4020 | | - | |
4021 | | - | |
4022 | | - | |
4023 | | - | |
4024 | | - | |
4025 | 3983 | | |
4026 | 3984 | | |
4027 | 3985 | | |
| |||
4110 | 4068 | | |
4111 | 4069 | | |
4112 | 4070 | | |
4113 | | - | |
4114 | | - | |
4115 | | - | |
4116 | | - | |
4117 | | - | |
4118 | | - | |
4119 | | - | |
4120 | 4071 | | |
4121 | 4072 | | |
4122 | 4073 | | |
| |||
5065 | 5016 | | |
5066 | 5017 | | |
5067 | 5018 | | |
5068 | | - | |
5069 | | - | |
5070 | | - | |
5071 | | - | |
5072 | | - | |
5073 | 5019 | | |
5074 | 5020 | | |
5075 | 5021 | | |
| |||
5570 | 5516 | | |
5571 | 5517 | | |
5572 | 5518 | | |
5573 | | - | |
| 5519 | + | |
5574 | 5520 | | |
5575 | 5521 | | |
5576 | 5522 | | |
| |||
0 commit comments