A full version history of the husky package with size, number of distributed files and dependency evolution.
Husky, a widely-used npm package, enforces Git hooks to prevent bad commits and pushes. Its version history reflects a continuous evolution, improving functionality and adapting to modern development practices. The initial versions, starting from 0.4.0 in 2014, focused on basic pre-commit and pre-push hooks, relying on rm-r for removing files. As the package matured, versions 0.5.3 and onwards replaced rm-r with rimraf, showcasing a shift towards more robust and reliable tools.
The 0.x series introduced dependencies like "normalize-path" and new pre/post hooks like "post-merge", showing expanding capabilities. Version 0.12.0 brought in testing frameworks like Mocha and Expect, and dev dependencies like mock-fs, enhancing code quality. The 1.x series upgraded dependencies like execa and introduced TypeScript for better maintainability and type safety. From version 2 onwards, Husky embraced modern tooling such as ESLint and Prettier for consistent code style, further solidifying its reputation as a reliable Git hooks manager. Notably, version 5 switched to a new simplified installation method to promote ease of setup. The most recent versions in the 9.x series continue developing the core functionality in maintaining a modern Git hooks tool.