Prettier version 0.0.3 builds upon the foundation laid by version 0.0.2, continuing its mission to be an opinionated JavaScript formatter that dramatically simplifies code styling. Both versions share a core philosophy of "zero configuration," aiming to provide consistent and aesthetically pleasing code formatting with minimal setup. They both utilize the same core dependencies, including recast, babylon, minimist, ast-types, and flow-parser to handle code parsing and manipulation.
While the dependency list remains identical, the description offers a hint towards the key improvement present in version 0.0.3. The added description about support for language features from ES2017, JSX, and Flow could mean that the newer version enhances the parser to better understand and prettify code using those newer features.
For developers integrating Prettier, this means version 0.0.3 is more likely to correctly format codebases that make extensive use of modern JavaScript syntax and features, providing a more complete and reliable formatting solution. Both versions offer similar functionalities thanks to the zero configuration philosophy, but the improvement in ES2017, JSX, and Flow support from the new version indicates it's a more capable choice for modern project. The jest dependency in devDependencies shows a commitment to unit testing of the library.
The are not vulnerabilities for the version 0.0.3 of the package prettier