Prettier version 1.5.0 represents a refinement of the popular JavaScript formatter, building upon the foundation laid by version 1.4.4. A key difference lies in the significantly streamlined set of development dependencies. Version 1.5.0 trims down the devDependencies, focusing on essential tools like jest for testing, eslint for linting, rollup for bundling, and webpack for module management. Notably, many parser-related dependencies found in 1.4.4, such as babylon, graphql, postcss, typescript, and various PostCSS plugins are absent in 1.5.0. This suggests a focusing of the core formatting logic or moving this logic on the plugin side.
For developers, this translates to a potentially leaner installation footprint and possibly faster build times during development involving Prettier. The presence of tools like uglify-es and sw-toolbox indicates continued efforts to optimize code for production environments, potentially ensuring smaller and more efficient bundles. Inclusion of eslint-plugin-prettier reinforces Prettier's integration with ESLint, allowing developers to seamlessly combine formatting and linting within their workflows. The update reflects a focus on core functionality and optimization, streamlining the tool while maintaining its robust formatting capabilities and integration into existing development ecosystems. Developers already using Prettier will likely find the upgrade beneficial due to the reduced dependency clutter, whereas new users should see a more focused and ready to go tool.
The are not vulnerabilities for the version 1.5.0 of the package prettier