Eslint-plugin-promise has a new major version, 6.0.0, released on December 18, 2021, succeeding version 5.2.0 released on December 1, 2021. While both versions enforce best practices for JavaScript promises, the upgrade brings several key updates, particularly in its development dependencies.
Notably, the new version targets a broader range of ESLint versions in its peer dependencies, now supporting both ^7.0.0 and ^8.0.0, whereas the previous version explicitly supported only ^7.0.0. This ensures greater compatibility for users already using ESLint 8.x.
The devDependencies reveal significant upgrades across the board. Jest moves from ^26.6.3 to ^27.4.5, husky from ^6.0.0 to ^7.0.4, eslint from ^7.23.0 to ^8.5.0, prettier from ^2.2.1 to ^2.5.1, lint-staged from ^10.5.4 to ^12.1.2, eslint-plugin-jest goes from ^24.3.4 to ^25.3.0, eslint-config-prettier from ^8.1.0 to ^8.3.0, eslint-plugin-prettier from ^3.3.1 to ^4.0.0 and eslint-plugin-eslint-plugin jumps from ^3.0.0 to ^4.1.0. These updates likely incorporate bug fixes, performance improvements, and new features from their respective projects. Only eslint-plugin-node remained in the same version ^11.1.0.
Developers upgrading should note the potentially breaking changes introduced by these dependency upgrades. The unpacked size also slightly increased from 42467 to 43758, as well as the file count from 28 to 30. These changes reflect improvements in the plugin's code and new features. Package users should examine the changelog for eslint-plugin-promise 6.0.0 to understand the specific rule changes and any migration steps required.
The are not vulnerabilities for the version 6.0.0 of the package eslint-plugin-promise