lint-staged
17.6.0 · 26 Sep 2026MIT26.8M / weekRepositoryHomepagenpmAtom feed
Upgrading lint-staged from 16.2.0 to 16.2.1
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 3
- fixes
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
- fixed
The built-in TypeScript types have been updated to more closely match the implementation. Notably, the list of staged files supplied to task functions is
readonly stringand can't be mutated. Thanks @outslept! - fixed
This version has been published from GitHub Actions using Trusted Publishing for npm packages.
- fixed
Fix searching configuration files when the working directory is a subdirectory of a git repository, and there are
package.jsonfiles in the working directory. This situation might happen when running lint-staged for a single package in a monorepo.
- fixed