Eslint-plugin-promise version 3.3.2 offers subtle but important improvements over its predecessor, version 3.3.1. Both versions are designed to enforce best practices when working with JavaScript promises, assisting developers in writing cleaner, more robust, and easier-to-maintain asynchronous code. Key features include rules that prevent common promise-related errors and encourage consistent coding styles.
The crucial difference lies in the dependencies. Version 3.3.1 specifies "eslint":"^2.10 || ^3.0" as a peer dependency, indicating compatibility with ESLint versions 2.10 and above, up to version 3. This has been removed in version 3.3.2 and included as dev dependency instead. Developers upgrading to 3.3.2 should be aware of this dependency change in particular, as it could change the configuration of their project.
Both versions maintain the same core functionality, using mocha for testing, eslint for linting the code itself, and standard for style enforcement during development. The ISC license ensures freedom in using and modifying the plugin. If you're already using eslint-plugin-promise, upgrading from 3.3.1 to 3.3.2 to remain compatible with newer project dependencies should be consider after a carful evaluation of all direct and indirect dependency changes.
The are not vulnerabilities for the version 3.3.2 of the package eslint-plugin-promise