Eslint-plugin-prettier versions 3.0.0 and 2.7.0, both designed to integrate Prettier's code formatting capabilities directly into ESLint workflows, reveal notable differences that impact developer experience. A key change lies in the dependencies. Version 3.0.0 replaces fast-diff and jest-docblock with prettier-linter-helpers, suggesting a shift towards a more unified approach for Prettier integration. Furthermore, the peer dependency requirements have evolved. Version 3.0.0 mandates ESLint versions 5.0.0 or higher and Prettier versions 1.13.0 or higher, while version 2.7.0 only specifies a Prettier version of 0.11.0 or newer as a peer dependency and no specific ESLint version. This indicates a move towards tighter integration with more recent ESLint releases.
Developers will also observe a shift in the development dependencies. Both versions share some development dependencies like mocha, eslint, prettier among others. However version 3.0.0 lists updated versions of eslint-config-prettier, eslint-plugin-eslint-plugin and eslint-config-not-an-aardvark, showing a clear alignment with newer tooling and linting standards.
The size characteristics also slightly vary, where version 3.0.0 exhibits a smaller unpacked size compared to version 2.7.0, indicating possible code optimizations and dependency trimming. Version 3.0.0 was released later than version 2.7.0, encapsulating the latest features and bug fixes prevalent during that time. These refinements, from dependencies to peer requirements, signify a continued effort to streamline Prettier integration within modern JavaScript/TypeScript projects.
The are not vulnerabilities for the version 3.0.0 of the package eslint-plugin-prettier