Lint-staged, a popular tool for running linters on staged git files, has released version 15.4.0, building upon the previous stable version 15.3.0. While both versions share the core functionality of selectively linting code before commits, streamlining workflows and maintaining code quality, a few key updates distinguish the newer release.
The primary difference lies in the dist object of the package metadata. Version 15.4.0 has a slightly larger unpackedSize (127945 bytes versus 124046 bytes) and fileCount (36 versus 35), suggesting minor additions or modifications to the included files. This could include updated documentation, build scripts, or internal modules.
Notably, the releaseDate field is drastically different. Version 15.3.0 was released on December 28, 2024, while version 15.4.0 has a strangely futuristic releaseDate of January 16, 2025. This anomaly regarding the release date may indicate a build or publication issue.
For developers, the core usage of lint-staged remains consistent between these versions. Expect similar configuration and command-line interface experiences. However, upgrading to 15.4.0 may include minor performance improvements, bug fixes, or dependency updates that are not explicitly detailed in the provided metadata, besides the size difference. To ascertain specific changes, check the project's changelog, release notes, or commit history on GitHub. Despite the release date anomaly, it is advisable to understand the motivation behind the release before using the package.
The are not vulnerabilities for the version 15.4.0 of the package lint-staged