Skip to content

Commit 5c91b3a

Browse files
chore(deps): update dependency lint-staged to v16.1.1 (#516)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [lint-staged](https://redirect.github.com/lint-staged/lint-staged) | [`16.1.0` -> `16.1.1`](https://renovatebot.com/diffs/npm/lint-staged/16.1.0/16.1.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/lint-staged/16.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lint-staged/16.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lint-staged/16.1.0/16.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lint-staged/16.1.0/16.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>lint-staged/lint-staged (lint-staged)</summary> ### [`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...8420429b9d7c007f724e95ec301e492af3be351a) ##### Patch Changes - [#&#8203;1565](https://redirect.github.com/lint-staged/lint-staged/pull/1565) [`3686977`](https://redirect.github.com/lint-staged/lint-staged/commit/3686977ccdadf70b709c16c0346ef6c2b18e2376) Thanks [@&#8203;iiroj](https://redirect.github.com/iiroj)! - *Lint-staged* now explicitly warns about potential data loss when using `--no-stash`. - [#&#8203;1571](https://redirect.github.com/lint-staged/lint-staged/pull/1571) [`02299a9`](https://redirect.github.com/lint-staged/lint-staged/commit/02299a9e4f98a05c13beb27f3596af73aaa8c150) Thanks [@&#8203;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. - [#&#8203;1563](https://redirect.github.com/lint-staged/lint-staged/pull/1563) [`bc61c74`](https://redirect.github.com/lint-staged/lint-staged/commit/bc61c74383b6d100c55b8d275b979d583ffbe5a1) Thanks [@&#8203;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. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/jgiovaresco/apim-samples). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC41MC4wIiwidXBkYXRlZEluVmVyIjoiNDAuNTAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 8387dea commit 5c91b3a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@semantic-release/git": "10.0.1",
2323
"husky": "9.1.7",
2424
"is-ci": "4.1.0",
25-
"lint-staged": "16.1.0",
25+
"lint-staged": "16.1.1",
2626
"pinst": "3.0.0",
2727
"prettier": "3.5.3",
2828
"prettier-plugin-packagejson": "2.5.15",

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ __metadata:
11471147
"@semantic-release/git": "npm:10.0.1"
11481148
husky: "npm:9.1.7"
11491149
is-ci: "npm:4.1.0"
1150-
lint-staged: "npm:16.1.0"
1150+
lint-staged: "npm:16.1.1"
11511151
pinst: "npm:3.0.0"
11521152
prettier: "npm:3.5.3"
11531153
prettier-plugin-packagejson: "npm:2.5.15"
@@ -3177,9 +3177,9 @@ __metadata:
31773177
languageName: node
31783178
linkType: hard
31793179

3180-
"lint-staged@npm:16.1.0":
3181-
version: 16.1.0
3182-
resolution: "lint-staged@npm:16.1.0"
3180+
"lint-staged@npm:16.1.1":
3181+
version: 16.1.1
3182+
resolution: "lint-staged@npm:16.1.1"
31833183
dependencies:
31843184
chalk: "npm:^5.4.1"
31853185
commander: "npm:^14.0.0"
@@ -3193,7 +3193,7 @@ __metadata:
31933193
yaml: "npm:^2.8.0"
31943194
bin:
31953195
lint-staged: bin/lint-staged.js
3196-
checksum: 10c0/5cc33d61ec2c682e488eb3fcea5c153ce486623b80314f2c56af438ad78d73c7fcd3e7c911d273ac740bd34f1e030d35d4fb92d8e476984150c0c59724ac7fa4
3196+
checksum: 10c0/80b1945b4e7c9d6c2e08f05bd2c175465f7b8b08a7f512582027ef7da5f2e961b96d4db3e50f9946d4d11a8068658d8fd2ac946655b30883a0adaf64acbc5613
31973197
languageName: node
31983198
linkType: hard
31993199

0 commit comments

Comments
 (0)