Skip to content

Commit 419d189

Browse files
chore(deps): update dependency lint-staged to v15.4.3 (#9216)
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` -> `15.4.3`](https://renovatebot.com/diffs/npm/lint-staged/15.2.11/15.4.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/lint-staged/15.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lint-staged/15.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lint-staged/15.2.11/15.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lint-staged/15.2.11/15.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>lint-staged/lint-staged (lint-staged)</summary> ### [`v15.4.3`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1543) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.4.2...v15.4.3) ##### Patch Changes - [#&#8203;1512](https://redirect.github.com/lint-staged/lint-staged/pull/1512) [`cbfed1d`](https://redirect.github.com/lint-staged/lint-staged/commit/cbfed1dfd2465c4198c692955281f0836600bea1) Thanks [@&#8203;tarik02](https://redirect.github.com/tarik02)! - Adjust TypeScript types for the default export so that it can be used as a value without error TS2693. ### [`v15.4.2`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1542) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.4.1...v15.4.2) ##### Patch Changes - [#&#8203;1509](https://redirect.github.com/lint-staged/lint-staged/pull/1509) [`8827ebf`](https://redirect.github.com/lint-staged/lint-staged/commit/8827ebf29dc8f25149a36450b4a0023425202e18) Thanks [@&#8203;iiroj](https://redirect.github.com/iiroj)! - Change *lint-staged*'s dependencies to use [caret (`^`) ranges](https://docs.npmjs.com/cli/v6/using-npm/semver#caret-ranges-123-025-004) instead of [tilde (`~`)](https://docs.npmjs.com/cli/v6/using-npm/semver#tilde-ranges-123-12-1). This makes it easier for package managers to perform dependency management when minor-level updates are also permitted instead of just patch-level. ### [`v15.4.1`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1541) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.4.0...v15.4.1) ##### Patch Changes - [#&#8203;1504](https://redirect.github.com/lint-staged/lint-staged/pull/1504) [`1c7a45e`](https://redirect.github.com/lint-staged/lint-staged/commit/1c7a45ed2c7fee9d5f55337be16a51e4c9b240e1) Thanks [@&#8203;iiroj](https://redirect.github.com/iiroj)! - Default TypeScript config filenames match JS equivalents. - [#&#8203;1504](https://redirect.github.com/lint-staged/lint-staged/pull/1504) [`9cc18c9`](https://redirect.github.com/lint-staged/lint-staged/commit/9cc18c9debb185490f9ae4f9c1d21ec8c2587393) Thanks [@&#8203;iiroj](https://redirect.github.com/iiroj)! - Add missing conditional exports syntax for TypeScript types. ### [`v15.4.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1540) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.3.0...v15.4.0) ##### Minor Changes - [#&#8203;1500](https://redirect.github.com/lint-staged/lint-staged/pull/1500) [`a8ec1dd`](https://redirect.github.com/lint-staged/lint-staged/commit/a8ec1ddb587d2c1c2420dbb4baff8160f0ac46c9) Thanks [@&#8203;iiroj](https://redirect.github.com/iiroj)! - *Lint-staged* now provides TypeScript types for the configuration and main Node.js API. You can use the JSDoc syntax in your JS configuration files: ```js /** * @&#8203;filename: lint-staged.config.js * @&#8203;type {import('lint-staged').Configuration} */ export default { '*': 'prettier --write', } ``` It's also possible to use the `.ts` file extension for the configuration if your Node.js version supports it. The `--experimental-strip-types` flag was introduced in [Node.js v22.6.0](https://redirect.github.com/nodejs/node/releases/tag/v22.6.0) and unflagged in [v23.6.0](https://redirect.github.com/nodejs/node/releases/tag/v23.6.0), enabling Node.js to execute TypeScript files without additional configuration. ```shell export NODE_OPTIONS="--experimental-strip-types" npx lint-staged --config lint-staged.config.ts ``` ##### Patch Changes - [#&#8203;1501](https://redirect.github.com/lint-staged/lint-staged/pull/1501) [`9b79364`](https://redirect.github.com/lint-staged/lint-staged/commit/9b793640e1f87b46e4f40fcfc1ecf9d6f6013ac9) Thanks [@&#8203;iiroj](https://redirect.github.com/iiroj)! - Handle possible failures when logging user shell for debug info. ### [`v15.3.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1530) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.2.11...v15.3.0) ##### Minor Changes - [#&#8203;1495](https://redirect.github.com/lint-staged/lint-staged/pull/1495) [`e69da9e`](https://redirect.github.com/lint-staged/lint-staged/commit/e69da9e614db2d45f56e113d45d5ec0157813423) Thanks [@&#8203;iiroj](https://redirect.github.com/iiroj)! - Added more info to the debug logs so that "environment" info doesn't need to be added separately to GitHub issues. - [#&#8203;1493](https://redirect.github.com/lint-staged/lint-staged/pull/1493) [`fa0fe98`](https://redirect.github.com/lint-staged/lint-staged/commit/fa0fe98104f8885f673b98b8b49ae586de699c5e) Thanks [@&#8203;iiroj](https://redirect.github.com/iiroj)! - Added more help messages around the automatic `git stash` that *lint-staged* creates as a backup (by default). The console output also displays the short git *hash* of the stash so that it's easier to recover lost files in case some fatal errors are encountered, or the process is killed before completing. For example: % npx lint-staged ✔ Backed up original state in git stash (20addf8) ✔ Running tasks for staged files... ✔ Applying modifications from tasks... ✔ Cleaning up temporary files... where the backup can be seen with `git show 20addf8`, or `git stash list`: % git stash list stash@{0}: lint-staged automatic backup (20addf8) </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 is behind base branch, 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/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 29a4fe6 commit 419d189

File tree

2 files changed

+38
-38
lines changed

2 files changed

+38
-38
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211
"husky": "^9.0.11",
212212
"jest": "29.7.0",
213213
"jest-junit": "^16.0.0",
214-
"lint-staged": "15.2.11",
214+
"lint-staged": "15.4.3",
215215
"nock": "13.5.6",
216216
"openapi-enforcer": "1.23.0",
217217
"proxyquire": "2.1.3",

yarn.lock

+37-37
Original file line numberDiff line numberDiff line change
@@ -2931,10 +2931,10 @@ __metadata:
29312931
languageName: node
29322932
linkType: hard
29332933

2934-
"chalk@npm:~5.3.0":
2935-
version: 5.3.0
2936-
resolution: "chalk@npm:5.3.0"
2937-
checksum: 10c0/8297d436b2c0f95801103ff2ef67268d362021b8210daf8ddbe349695333eb3610a71122172ff3b0272f1ef2cf7cc2c41fdaa4715f52e49ffe04c56340feed09
2934+
"chalk@npm:^5.4.1":
2935+
version: 5.4.1
2936+
resolution: "chalk@npm:5.4.1"
2937+
checksum: 10c0/b23e88132c702f4855ca6d25cb5538b1114343e41472d5263ee8a37cccfccd9c4216d111e1097c6a27830407a1dc81fecdf2a56f2c63033d4dbbd88c10b0dcef
29382938
languageName: node
29392939
linkType: hard
29402940

@@ -3130,20 +3130,20 @@ __metadata:
31303130
languageName: node
31313131
linkType: hard
31323132

3133+
"commander@npm:^13.1.0":
3134+
version: 13.1.0
3135+
resolution: "commander@npm:13.1.0"
3136+
checksum: 10c0/7b8c5544bba704fbe84b7cab2e043df8586d5c114a4c5b607f83ae5060708940ed0b5bd5838cf8ce27539cde265c1cbd59ce3c8c6b017ed3eec8943e3a415164
3137+
languageName: node
3138+
linkType: hard
3139+
31333140
"commander@npm:^6.1.0":
31343141
version: 6.2.1
31353142
resolution: "commander@npm:6.2.1"
31363143
checksum: 10c0/85748abd9d18c8bc88febed58b98f66b7c591d9b5017cad459565761d7b29ca13b7783ea2ee5ce84bf235897333706c4ce29adf1ce15c8252780e7000e2ce9ea
31373144
languageName: node
31383145
linkType: hard
31393146

3140-
"commander@npm:~12.1.0":
3141-
version: 12.1.0
3142-
resolution: "commander@npm:12.1.0"
3143-
checksum: 10c0/6e1996680c083b3b897bfc1cfe1c58dfbcd9842fd43e1aaf8a795fbc237f65efcc860a3ef457b318e73f29a4f4a28f6403c3d653d021d960e4632dd45bde54a9
3144-
languageName: node
3145-
linkType: hard
3146-
31473147
"component-emitter@npm:^1.3.0":
31483148
version: 1.3.0
31493149
resolution: "component-emitter@npm:1.3.0"
@@ -3522,7 +3522,7 @@ __metadata:
35223522
languageName: node
35233523
linkType: hard
35243524

3525-
"debug@npm:~4.4.0":
3525+
"debug@npm:^4.4.0":
35263526
version: 4.4.0
35273527
resolution: "debug@npm:4.4.0"
35283528
dependencies:
@@ -4060,7 +4060,7 @@ __metadata:
40604060
languageName: node
40614061
linkType: hard
40624062

4063-
"execa@npm:~8.0.1":
4063+
"execa@npm:^8.0.1":
40644064
version: 8.0.1
40654065
resolution: "execa@npm:8.0.1"
40664066
dependencies:
@@ -6231,7 +6231,7 @@ __metadata:
62316231
languageName: node
62326232
linkType: hard
62336233

6234-
"lilconfig@npm:~3.1.3":
6234+
"lilconfig@npm:^3.1.3":
62356235
version: 3.1.3
62366236
resolution: "lilconfig@npm:3.1.3"
62376237
checksum: 10c0/f5604e7240c5c275743561442fbc5abf2a84ad94da0f5adc71d25e31fa8483048de3dcedcb7a44112a942fed305fd75841cdf6c9681c7f640c63f1049e9a5dcc
@@ -6245,27 +6245,27 @@ __metadata:
62456245
languageName: node
62466246
linkType: hard
62476247

6248-
"lint-staged@npm:15.2.11":
6249-
version: 15.2.11
6250-
resolution: "lint-staged@npm:15.2.11"
6248+
"lint-staged@npm:15.4.3":
6249+
version: 15.4.3
6250+
resolution: "lint-staged@npm:15.4.3"
62516251
dependencies:
6252-
chalk: "npm:~5.3.0"
6253-
commander: "npm:~12.1.0"
6254-
debug: "npm:~4.4.0"
6255-
execa: "npm:~8.0.1"
6256-
lilconfig: "npm:~3.1.3"
6257-
listr2: "npm:~8.2.5"
6258-
micromatch: "npm:~4.0.8"
6259-
pidtree: "npm:~0.6.0"
6260-
string-argv: "npm:~0.3.2"
6261-
yaml: "npm:~2.6.1"
6252+
chalk: "npm:^5.4.1"
6253+
commander: "npm:^13.1.0"
6254+
debug: "npm:^4.4.0"
6255+
execa: "npm:^8.0.1"
6256+
lilconfig: "npm:^3.1.3"
6257+
listr2: "npm:^8.2.5"
6258+
micromatch: "npm:^4.0.8"
6259+
pidtree: "npm:^0.6.0"
6260+
string-argv: "npm:^0.3.2"
6261+
yaml: "npm:^2.7.0"
62626262
bin:
62636263
lint-staged: bin/lint-staged.js
6264-
checksum: 10c0/28e2ad08b90460cc18398a023eaf93954d7753f958c2b889ead2d9305407d7b4ef0ee007875410d6ce1df758007fda77e079c82eb79c9ce684fba71e6f7d0452
6264+
checksum: 10c0/c1f71f2273bcbd992af929620f5acc6b9f6899da4b395e780e0b3ab33a0d725c239eb961873067c8c842e057c585c71dd4d44c0dc8b25539d3c2e97a3bdd6f30
62656265
languageName: node
62666266
linkType: hard
62676267

6268-
"listr2@npm:~8.2.5":
6268+
"listr2@npm:^8.2.5":
62696269
version: 8.2.5
62706270
resolution: "listr2@npm:8.2.5"
62716271
dependencies:
@@ -6568,7 +6568,7 @@ __metadata:
65686568
languageName: node
65696569
linkType: hard
65706570

6571-
"micromatch@npm:^4.0.4, micromatch@npm:~4.0.8":
6571+
"micromatch@npm:^4.0.4, micromatch@npm:^4.0.8":
65726572
version: 4.0.8
65736573
resolution: "micromatch@npm:4.0.8"
65746574
dependencies:
@@ -7532,7 +7532,7 @@ __metadata:
75327532
languageName: node
75337533
linkType: hard
75347534

7535-
"pidtree@npm:~0.6.0":
7535+
"pidtree@npm:^0.6.0":
75367536
version: 0.6.0
75377537
resolution: "pidtree@npm:0.6.0"
75387538
bin:
@@ -8692,7 +8692,7 @@ __metadata:
86928692
languageName: node
86938693
linkType: hard
86948694

8695-
"string-argv@npm:~0.3.2":
8695+
"string-argv@npm:^0.3.2":
86968696
version: 0.3.2
86978697
resolution: "string-argv@npm:0.3.2"
86988698
checksum: 10c0/75c02a83759ad1722e040b86823909d9a2fc75d15dd71ec4b537c3560746e33b5f5a07f7332d1e3f88319909f82190843aa2f0a0d8c8d591ec08e93d5b8dec82
@@ -9363,7 +9363,7 @@ __metadata:
93639363
json-schema-to-ts: "npm:2.12.0"
93649364
json2csv: "npm:^5.0.7"
93659365
knex: "npm:^3.1.0"
9366-
lint-staged: "npm:15.2.11"
9366+
lint-staged: "npm:15.4.3"
93679367
lodash.get: "npm:^4.4.2"
93689368
lodash.groupby: "npm:^4.6.0"
93699369
lodash.sortby: "npm:^4.7.0"
@@ -9752,12 +9752,12 @@ __metadata:
97529752
languageName: node
97539753
linkType: hard
97549754

9755-
"yaml@npm:~2.6.1":
9756-
version: 2.6.1
9757-
resolution: "yaml@npm:2.6.1"
9755+
"yaml@npm:^2.7.0":
9756+
version: 2.7.0
9757+
resolution: "yaml@npm:2.7.0"
97589758
bin:
97599759
yaml: bin.mjs
9760-
checksum: 10c0/aebf07f61c72b38c74d2b60c3a3ccf89ee4da45bcd94b2bfb7899ba07a5257625a7c9f717c65a6fc511563d48001e01deb1d9e55f0133f3e2edf86039c8c1be7
9760+
checksum: 10c0/886a7d2abbd70704b79f1d2d05fe9fb0aa63aefb86e1cb9991837dced65193d300f5554747a872b4b10ae9a12bc5d5327e4d04205f70336e863e35e89d8f4ea9
97619761
languageName: node
97629762
linkType: hard
97639763

0 commit comments

Comments
 (0)