Lint-staged makes it easy to run linters on files that are staged for commit in Git, ensuring code quality and consistency. Version 12.0.3 introduces a few notable modifications compared to version 12.0.2. In the dependencies, enquirer was added with version ^2.3.6. This addition likely introduces interactive prompts or enhanced user input capabilities within lint-staged, potentially for configuration or displaying more informative messages during the linting process. Furthermore, there are changes to the version constraints of already existent dependencies. Version 12.0.3 includes string-argv with version ^0.3.1 whereas the earlier one only uses 0.3.1, meaning that the version 12.0.3 updated it's semantic versioning rules. Also, the older version has object-inspect 1.11.0 while version 12.0.3 has ^1.11.0, meaning the newer version updated it's semantic versioning rules as well. These updates to dependency constraints may encompass bug fixes, performance improvements, or new features within those underlying packages. The unpacked size of the package also increased slightly from 86608 to 86914, suggesting small additions or changes in the codebase. The release date for v12.0.3 is November 18, 2021, which is a few days after the release of v12.0.2 on November 14, 2021, indicating a quick turnaround, maybe due to a found error. If you rely on prompts or specific behaviors introduced by enquirer, or need the latest updates within string-argv and object-inspect, upgrading to 12.0.3 is recommended. Otherwise, the core functionality of lint-staged remains consistent between the two versions.
The are not vulnerabilities for the version 12.0.3 of the package lint-staged