Prettier 1.12.0 offers subtle but valuable improvements over its predecessor, 1.11.1, making it a worthwhile update for developers seeking consistent code formatting.
One notable change lies in the dependency updates. While both versions share a core set of development dependencies, several have been bumped in 1.12.0. Specifically, eslint advances from 4.1.1 in 1.11.1 to 4.18.2, prettier (as a dev dependency, likely for testing purposes) moves from 1.11.0 to 1.11.1, uglify-es jumps from 3.0.28 to 3.3.9, eslint-plugin-react goes from 7.1.0 to 7.7.0, eslint-plugin-import from 2.6.1 to 2.9.0, and eslint-plugin-prettier is updated from 2.4.0 to 2.6.0. These upgrades likely incorporate bug fixes, performance enhancements, and new features within those individual tools, indirectly benefiting Prettier's overall performance and integration with linting workflows.
Another interesting difference is the unpacked size. The newer version, 1.12.0, unpacks to 7820185 bytes, compared to 1.11.1's 9885293 bytes. This smaller size potentially translates to faster installation times and reduced disk space usage, which can be relevant in resource-constrained environments or larger projects with numerous dependencies. The number of files within the package is also slightly different, with version 1.12.0 containing 14 files and 1.11.1 containing 15. This could be indicative of internal restructuring or removal of redundant files.
Finally, the release date indicates a more recent version, with 1.12.0 released on April 12, 2018, compared to 1.11.1’s release date of February 28, 2018, suggesting a more up-to-date version with recent fixes or improvements.
The are not vulnerabilities for the version 1.12.0 of the package prettier