Packages

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

Other targets from 16.2.0Newest 16.x16.4.0Latest17.6.0
0
changes to make
0
advisories fixed
0
new
3
fixes

Security

  • 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 with chalk and debug, which were also removed in the same version.

    16.2.1

Release by release

  1. 16.2.1

    25 Sep 20253 fixes
    • 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 string and 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.json files in the working directory. This situation might happen when running lint-staged for a single package in a monorepo.