Eslint-plugin-prettier v2.7.0 introduces several updates over its predecessor, v2.6.2, primarily impacting the development environment and tooling. Both versions share the core functionality of running Prettier as an ESLint rule, ensuring consistent code formatting across your projects and leveraging dependencies like fast-diff and jest-docblock.
The key difference lies in the updated prettier dev dependency, jumping from version 1.10.2 in v2.6.2 to 1.13.0 in v2.7.0. This Prettier upgrade brings in new formatting rules, potentially improving code style enforcement and addressing bugs present in older versions. While other development dependencies remain consistent like eslint, mocha, and others, the newer Prettier version should offer developers improved formatting capabilities.
Developers adopting v2.7.0 can expect finer-grained control over code style and potentially fix inconsistencies that might have appeared with v2.6.2's older Prettier engine. It can also provide support for new JavaScript/TypeScript features. The release date of v2.7.0 being several months after v2.6.2 also means that it might include community contribution of various bug fixes and enhancements. The increased unpacked size from 30935 to 33558 also indicates a potentially higher number of features. Though the core usage of the plugin remains the same, validating that your codebase adapts well to v2.7.0's Prettier update is important.
The are not vulnerabilities for the version 2.7.0 of the package eslint-plugin-prettier