Eslint-plugin-promise version 5.1.0 represents a minor update over the previous stable version 5.0.0, focusing primarily on internal improvements and dependency updates rather than introducing groundbreaking new features. Both versions share the core functionality of enforcing best practices for JavaScript promises, aiding developers in writing cleaner, more robust, and less error-prone asynchronous code. They both support the same peer dependency of eslint version 7 and above.
Key differences mainly lie in the development dependencies. Version 5.1.0 upgrades "husky" from version 4.2.5 to version 6.0.0, and "doctoc" from version 1.4.0 to version 2.0.0, while lint-staged get upgraded from version 10.2.4 to version 10.5.4. These updates likely bring improved Git hooks management, more efficient documentation generation, and enhanced staged file linting capabilities during the development workflow respectively. While these updates won't directly impact how the plugin functions for end-users, they contribute to a smoother and more streamlined development experience for contributors to the eslint-plugin-promise project itself.
Developers using either version will benefit from a robust set of rules designed to prevent common promise-related pitfalls. The core linting rules and promise best practice enforcement mechanisms remain consistent between the releases so upgrading should be painless since no backward compatibility issue is to be expected.
The are not vulnerabilities for the version 5.1.0 of the package eslint-plugin-promise