lint-staged
17.6.0 · 26 Sep 2026MIT26.8M / weekRepositoryHomepagenpmAtom feed
Upgrading lint-staged from 16.1.6 to 16.4.0
14 releases in betweenevery note read
- 2
- changes to make
- 0
- advisories fixed
- 8
- new
- 16
- fixes
Before you upgrade
Tick each one off as you go- breaking16.3.0
- breaking16.2.0
Security
- 16.2.1
Return the caret semver range (
^) to direct dependencies so that future patch and minor versions are allowed. This enables projects to better maintain and deduplicate their own transitive dependencies while not requiring direct updates to lint-staged. This was changed in 16.2.0 after the vulnerability issues withchalkanddebug, which were also removed in the same version.
Release by release
- new
Replace
micromatchwithpicomatchto reduce dependencies.
- new
16.3.4nothing new or fixed in the note
- fixed
Make sure Git's warning about CRLF line-endings doesn't interfere with creating initial backup stash.
- fixed
- fixed
Hide the extra
cmdwindow on Windows by spawning tasks without thedetachedoption.
- fixed
- fixed
Remove
nano-spawnas a dependency frompackage.jsonas it was replaced withtinyexecand is no longer used.
- fixed
- new
Run external processes with
tinyexecinstead ofnano-spawn.nano-spawnreplacedexecain lint-staged version 16 to limit the amount of npm dependencies required, but caused some unknown issues related to spawning tasks. Let's hopetinyexecimproves the situation. - fixed
Incorrect brace expansions like
*.{js}(nothing to expand) are detected exhaustively, instead of just a single pass.
- new
- fixed
Do not display a "failed to spawn" error message when a task fails normally. This message is reserved for when the task didn't run because spawning it failed.
- fixed
- fixed
Fix problems with
--continue-on-erroroption, where tasks might have still been killed (SIGINT) when one of them failed.
- fixed
2 internal lines (docs, tests, tooling) left out.