Lint-staged, a popular tool for running linters on Git staged files, has released a new version 15.2.10, succeeding the prior stable version 15.2.9. Both versions share the core purpose of ensuring code quality by limiting linting to only the files about to be committed, boosting efficiency. Key dependencies like yaml, chalk, debug, execa, listr2, pidtree, commander, lilconfig, and string-argv remain consistent, indicating a stable core functionality.
The primary differences lie in updates to development dependencies. Version 15.2.10 features an upgrade to husky (9.1.5), eslint (9.9.1) aligning with @eslint/js also at version 9.9.1, eslint-plugin-n (17.10.2),eslint-plugin-jest (28.8.1), and @commitlint/cli (19.4.1) along with @commitlint/config-conventional (19.4.1). A small change on production dependency is also present micromatch (4.0.8). These updates likely incorporate bug fixes, performance improvements, and new features within those respective tools. For developers, this translates to an improved linting experience with potentially enhanced rule sets, better support for modern JavaScript features, and more accurate error detection. The updated @commitlint packages mean improved commit message validation. While the core functionality remains the same, upgrading ensures access to the latest tools and the benefits they bring to maintaining a clean and consistent codebase. Developers should review the changelogs of the updated dependencies to understand the specific changes and how they might impact their linting configurations and workflows.
The are not vulnerabilities for the version 15.2.10 of the package lint-staged