chore: bump up lint-staged version to v16 (#12217)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [lint-staged](https://redirect.github.com/lint-staged/lint-staged) | [`^15.2.11` -> `^16.0.0`](https://renovatebot.com/diffs/npm/lint-staged/15.5.2/16.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/lint-staged/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lint-staged/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lint-staged/15.5.2/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lint-staged/15.5.2/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>lint-staged/lint-staged (lint-staged)</summary>

### [`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

-   [#&#8203;1546](https://redirect.github.com/lint-staged/lint-staged/pull/1546) [`158d15c`](158d15c9ae) Thanks [@&#8203;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"
    }
    ```

-   [#&#8203;1546](https://redirect.github.com/lint-staged/lint-staged/pull/1546) [`158d15c`](158d15c9ae) Thanks [@&#8203;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 `"$@&#8203;"`:

    ```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/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC43LjEiLCJ1cGRhdGVkSW5WZXIiOiI0MC43LjEiLCJ0YXJnZXRCcmFuY2giOiJjYW5hcnkiLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
This commit is contained in:
renovate
2025-05-11 10:14:55 +00:00
parent 7f3e0dc52f
commit 4c8e11aa25
2 changed files with 18 additions and 81 deletions

View File

@@ -80,7 +80,7 @@
"eslint-plugin-unicorn": "^59.0.0",
"happy-dom": "^17.0.0",
"husky": "^9.1.7",
"lint-staged": "^15.2.11",
"lint-staged": "^16.0.0",
"msw": "^2.6.8",
"oxlint": "0.16.10",
"prettier": "^3.4.2",

View File

@@ -787,7 +787,7 @@ __metadata:
eslint-plugin-unicorn: "npm:^59.0.0"
happy-dom: "npm:^17.0.0"
husky: "npm:^9.1.7"
lint-staged: "npm:^15.2.11"
lint-staged: "npm:^16.0.0"
msw: "npm:^2.6.8"
oxlint: "npm:0.16.10"
prettier: "npm:^3.4.2"
@@ -21289,23 +21289,6 @@ __metadata:
languageName: node
linkType: hard
"execa@npm:^8.0.1":
version: 8.0.1
resolution: "execa@npm:8.0.1"
dependencies:
cross-spawn: "npm:^7.0.3"
get-stream: "npm:^8.0.1"
human-signals: "npm:^5.0.0"
is-stream: "npm:^3.0.0"
merge-stream: "npm:^2.0.0"
npm-run-path: "npm:^5.1.0"
onetime: "npm:^6.0.0"
signal-exit: "npm:^4.1.0"
strip-final-newline: "npm:^3.0.0"
checksum: 10/d2ab5fe1e2bb92b9788864d0713f1fce9a07c4594e272c0c97bc18c90569897ab262e4ea58d27a694d288227a2e24f16f5e2575b44224ad9983b799dc7f1098d
languageName: node
linkType: hard
"execa@npm:^9.5.2":
version: 9.5.2
resolution: "execa@npm:9.5.2"
@@ -22366,13 +22349,6 @@ __metadata:
languageName: node
linkType: hard
"get-stream@npm:^8.0.1":
version: 8.0.1
resolution: "get-stream@npm:8.0.1"
checksum: 10/dde5511e2e65a48e9af80fea64aff11b4921b14b6e874c6f8294c50975095af08f41bfb0b680c887f28b566dd6ec2cb2f960f9d36a323359be324ce98b766e9e
languageName: node
linkType: hard
"get-stream@npm:^9.0.0, get-stream@npm:^9.0.1":
version: 9.0.1
resolution: "get-stream@npm:9.0.1"
@@ -23368,13 +23344,6 @@ __metadata:
languageName: node
linkType: hard
"human-signals@npm:^5.0.0":
version: 5.0.0
resolution: "human-signals@npm:5.0.0"
checksum: 10/30f8870d831cdcd2d6ec0486a7d35d49384996742052cee792854273fa9dd9e7d5db06bb7985d4953e337e10714e994e0302e90dc6848069171b05ec836d65b0
languageName: node
linkType: hard
"human-signals@npm:^8.0.0":
version: 8.0.1
resolution: "human-signals@npm:8.0.1"
@@ -24147,13 +24116,6 @@ __metadata:
languageName: node
linkType: hard
"is-stream@npm:^3.0.0":
version: 3.0.0
resolution: "is-stream@npm:3.0.0"
checksum: 10/172093fe99119ffd07611ab6d1bcccfe8bc4aa80d864b15f43e63e54b7abc71e779acd69afdb854c4e2a67fdc16ae710e370eda40088d1cfc956a50ed82d8f16
languageName: node
linkType: hard
"is-stream@npm:^4.0.1":
version: 4.0.1
resolution: "is-stream@npm:4.0.1"
@@ -25024,23 +24986,23 @@ __metadata:
languageName: node
linkType: hard
"lint-staged@npm:^15.2.11":
version: 15.5.2
resolution: "lint-staged@npm:15.5.2"
"lint-staged@npm:^16.0.0":
version: 16.0.0
resolution: "lint-staged@npm:16.0.0"
dependencies:
chalk: "npm:^5.4.1"
commander: "npm:^13.1.0"
debug: "npm:^4.4.0"
execa: "npm:^8.0.1"
lilconfig: "npm:^3.1.3"
listr2: "npm:^8.2.5"
listr2: "npm:^8.3.3"
micromatch: "npm:^4.0.8"
nano-spawn: "npm:^1.0.0"
pidtree: "npm:^0.6.0"
string-argv: "npm:^0.3.2"
yaml: "npm:^2.7.0"
yaml: "npm:^2.7.1"
bin:
lint-staged: bin/lint-staged.js
checksum: 10/523c332d6cb6e34972a6530a7a2487307555e784df9466c82f2b8d17c8090a3db561a6362065ae6b63048c25fcb85c9e32057cd0bfb756bf7ab185bea1dbb89c
checksum: 10/7d29934d5426520fe0d5ad4d5a14b71521411744cbddad47c2021e9957c7874c7b6280e7db1b4ca9d638d08c1a88f568f033cbe4d02276282c4707f0b4aefb67
languageName: node
linkType: hard
@@ -25079,7 +25041,7 @@ __metadata:
languageName: node
linkType: hard
"listr2@npm:^8.2.5":
"listr2@npm:^8.3.3":
version: 8.3.3
resolution: "listr2@npm:8.3.3"
dependencies:
@@ -26651,13 +26613,6 @@ __metadata:
languageName: node
linkType: hard
"mimic-fn@npm:^4.0.0":
version: 4.0.0
resolution: "mimic-fn@npm:4.0.0"
checksum: 10/995dcece15ee29aa16e188de6633d43a3db4611bcf93620e7e62109ec41c79c0f34277165b8ce5e361205049766e371851264c21ac64ca35499acb5421c2ba56
languageName: node
linkType: hard
"mimic-function@npm:^5.0.0, mimic-function@npm:^5.0.1":
version: 5.0.1
resolution: "mimic-function@npm:5.0.1"
@@ -27152,6 +27107,13 @@ __metadata:
languageName: node
linkType: hard
"nano-spawn@npm:^1.0.0":
version: 1.0.1
resolution: "nano-spawn@npm:1.0.1"
checksum: 10/be4a26653e356eabf27c53bddc2205d38f4631523b08e7edc1c64d838320f191b96bd28a570dc939b29f7b036fc06f78f6b70f2341ba9221e2e677548220191b
languageName: node
linkType: hard
"nanoid@npm:^3.3.6, nanoid@npm:^3.3.8":
version: 3.3.11
resolution: "nanoid@npm:3.3.11"
@@ -27627,15 +27589,6 @@ __metadata:
languageName: node
linkType: hard
"npm-run-path@npm:^5.1.0":
version: 5.3.0
resolution: "npm-run-path@npm:5.3.0"
dependencies:
path-key: "npm:^4.0.0"
checksum: 10/ae8e7a89da9594fb9c308f6555c73f618152340dcaae423e5fb3620026fefbec463618a8b761920382d666fa7a2d8d240b6fe320e8a6cdd54dc3687e2b659d25
languageName: node
linkType: hard
"npm-run-path@npm:^6.0.0":
version: 6.0.0
resolution: "npm-run-path@npm:6.0.0"
@@ -27825,15 +27778,6 @@ __metadata:
languageName: node
linkType: hard
"onetime@npm:^6.0.0":
version: 6.0.0
resolution: "onetime@npm:6.0.0"
dependencies:
mimic-fn: "npm:^4.0.0"
checksum: 10/0846ce78e440841335d4e9182ef69d5762e9f38aa7499b19f42ea1c4cd40f0b4446094c455c713f9adac3f4ae86f613bb5e30c99e52652764d06a89f709b3788
languageName: node
linkType: hard
"onetime@npm:^7.0.0":
version: 7.0.0
resolution: "onetime@npm:7.0.0"
@@ -32127,13 +32071,6 @@ __metadata:
languageName: node
linkType: hard
"strip-final-newline@npm:^3.0.0":
version: 3.0.0
resolution: "strip-final-newline@npm:3.0.0"
checksum: 10/23ee263adfa2070cd0f23d1ac14e2ed2f000c9b44229aec9c799f1367ec001478469560abefd00c5c99ee6f0b31c137d53ec6029c53e9f32a93804e18c201050
languageName: node
linkType: hard
"strip-final-newline@npm:^4.0.0":
version: 4.0.0
resolution: "strip-final-newline@npm:4.0.0"
@@ -34743,7 +34680,7 @@ __metadata:
languageName: node
linkType: hard
"yaml@npm:^2.3.1, yaml@npm:^2.5.1, yaml@npm:^2.7.0, yaml@npm:^2.7.1":
"yaml@npm:^2.3.1, yaml@npm:^2.5.1, yaml@npm:^2.7.1":
version: 2.7.1
resolution: "yaml@npm:2.7.1"
bin: