Lint-staged is a popular tool for running linters against staged git files, ensuring code quality before commits. Version 3.0.0 introduces several key changes compared to the previous stable version, 2.0.3. One notable difference is the updated dependencies. lint-staged 3.0.0 upgrades npm-which from version 2.0.0 to version 3.0.1, potentially offering improved npm package location. It also now utilizes execa (^0.4.0) and listr (^0.4.3) which replaces cross-spawn (^4.0.0). These changes suggest improvements in process execution and task management, crucial for efficient linting.
The developer dependencies also present upgrades and changes. For instance, eslint is downgraded from version 3.2.0 to 2.9.0. npm-check has been introduced at version 5.2.2, while mock-spawn is removed. Although, seemingly minor, these alterations could impact the linting rules and testing environment. The package maintains its MIT license and the same repository, indicating a continuation of the project's open-source nature. For developers, this update means potentially faster and more reliable linting processes, worth exploring for improved workflow.
The are not vulnerabilities for the version 3.0.0 of the package lint-staged