Lint-staged version 3.0.1 is a patch release following version 3.0.0, both designed to lint files staged in Git repositories, ensuring code quality before commits. Key dependencies for both versions remain consistent, including ora for terminal spinners, execa for executing commands, listr for task lists, and npm-which for locating npm binaries. This highlights the stability of the core functionalities across these releases.
Notable differences lie in the versions of development dependencies and one dependency. Version 3.0.1 upgrades app-root-path from 1.2.1 to 2.0.0 and eslint from 2.9.0 to 3.2.0, eslint-plugin-promise from 1.3.2 to 2.0.1 and finally eslint-config-standard from 5.3.1 to 6.0.0. These updates likely incorporate bug fixes and new features related to code linting and standardization.
For developers using lint-staged, this minor version bump (3.0.1) suggests improved code style enforcement and potentially enhanced compatibility with newer ESLint configurations. The upgrade of app-root-path might also affect how the tool resolves project root paths, possibly improving reliability in complex project structures. While the core functionality remains the same, updating to version 3.0.1 is recommended to leverage the latest linting rules and dependency updates, leading to a cleaner and more consistent codebase. The release date also shows it's a newer version which means there may be security improvements so it's better to update.
The are not vulnerabilities for the version 3.0.1 of the package lint-staged