chore(deps-dev): bump lint-staged from 15.5.2 to 16.2.4
Type: Pull Request
State: Closed
Association: Unknown
Comments: 2
(about 1 month ago)
(30 days ago)
(30 days ago)
Bumps lint-staged from 15.5.2 to 16.2.4.
Release notes
Sourced from lint-staged's releases.
v16.2.4
Patch Changes
#1682
0176038Thanks@iiroj! - Update dependencies, includingnano-spawn@2.0.0with bug fixes.#1671
581a54eThanks@iiroj! - Speed up execution by only importing theyamldepedency if using YAML configuration files.v16.2.3
Patch Changes
- #1669
27cd541Thanks@iiroj! - When using--fail-on-changes, automatically hidden (partially) unstaged changes are no longer counted to make lint-staged fail.v16.2.2
Patch Changes
#1667
699f95dThanks@iiroj! - The backup stash will not be dropped when using--fail-on-changesand there are errors. When reverting to original state is disabled (via--no-revertor--fail-on-changes), hidden (partially) unstaged changes are still restored automatically so that it's easier to resolve the situation manually.Additionally, the example for using the backup stash manually now uses the correct backup hash, if available:
% npx lint-staged --fail-on-changes ✔ Backed up original state in git stash (c18d55a3) ✔ Running tasks for staged files... ✖ Tasks modified files and --fail-on-changes was used! ↓ Cleaning up temporary files...✖ lint-staged failed because
--fail-on-changeswas used.Any lost modifications can be restored from a git stash:
> git stash list --format="%h %s" c18d55a3 On main: lint-staged automatic backup > git apply --index c18d55a3
v16.2.1
Patch Changes
#1664
8277b3bThanks@iiroj! - The built-in TypeScript types have been updated to more closely match the implementation. Notably, the list of staged files supplied to task functions isreadonly string[]and can't be mutated. Thanks@outslept!export default { --- "*": (files: string[]) => void console.log('staged files', files) +++ "*": (files: readonly string[]) => void console.log('staged files', files) }#1654
70b9af3Thanks@iiroj! - This version has been published from GitHub Actions using Trusted Publishing for npm packages.#1659
4996817Thanks@iiroj! - Fix searching configuration files when the working directory is a subdirectory of a git repository, and there arepackage.jsonfiles in the working directory. This situation might happen when running lint-staged for a single package in a monorepo.
... (truncated)
Changelog
Sourced from lint-staged's changelog.
16.2.4
Patch Changes
#1682
0176038Thanks@iiroj! - Update dependencies, includingnano-spawn@2.0.0with bug fixes.#1671
581a54eThanks@iiroj! - Speed up execution by only importing theyamldepedency if using YAML configuration files.16.2.3
Patch Changes
- #1669
27cd541Thanks@iiroj! - When using--fail-on-changes, automatically hidden (partially) unstaged changes are no longer counted to make lint-staged fail.16.2.2
Patch Changes
#1667
699f95dThanks@iiroj! - The backup stash will not be dropped when using--fail-on-changesand there are errors. When reverting to original state is disabled (via--no-revertor--fail-on-changes), hidden (partially) unstaged changes are still restored automatically so that it's easier to resolve the situation manually.Additionally, the example for using the backup stash manually now uses the correct backup hash, if available:
% npx lint-staged --fail-on-changes ✔ Backed up original state in git stash (c18d55a3) ✔ Running tasks for staged files... ✖ Tasks modified files and --fail-on-changes was used! ↓ Cleaning up temporary files...✖ lint-staged failed because
--fail-on-changeswas used.Any lost modifications can be restored from a git stash:
> git stash list --format="%h %s" c18d55a3 On main: lint-staged automatic backup > git apply --index c18d55a3
16.2.1
Patch Changes
#1664
8277b3bThanks@iiroj! - The built-in TypeScript types have been updated to more closely match the implementation. Notably, the list of staged files supplied to task functions isreadonly string[]and can't be mutated. Thanks@outslept!export default { --- "*": (files: string[]) => void console.log('staged files', files) +++ "*": (files: readonly string[]) => void console.log('staged files', files) }
... (truncated)
Commits
122580bchore(changeset): release0176038fix(deps): update dependencies581a54eperf: only importyamlwhen loading YAML filesbdcd03achore(changeset): release27cd541fix: do not count hidden (partially) unstaged changes when using `--fail-on-c...ab2f42efix: emit correct value to debug logs3fc5832refactor: make general error messages more clear they originate from lint-staged409d79achore(changeset): release7edaee9docs: fix typo in changeset699f95dfix: backup stash example uses real hash if available- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for lint-staged since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Package Dependencies
Technical Details
| ID: | 10384052 |
| UUID: | 3511672088 |
| Node ID: | PR_kwDOPdslLs6tjME0 |
| Host: | GitHub |
| Repository: | EdisonTKPcom/git-repo-with-ai-coding |