Prettier version 0.0.4 introduces subtle but important changes compared to version 0.0.3. Both versions share the same core description: an opinionated JavaScript formatter inspired by refmt, designed to automatically reformat code according to consistent style rules, removing original styling and ensuring uniformly formatted JavaScript, including modern ECMAScript features, JSX, and Flow.
The key differentiators lie in the dependencies. Version 0.0.4 updates babylon from a direct Git repository link to using the version ^6.15.0 from npm registry which is a relevant change for stability,dependency management and security updates. Further, a noteworthy addition in version 0.0.4 is the inclusion of private: ^0.1.6 and source-map: ^0.5.6 as dependencies. The private package likely manages scope and encapsulation within the project's internals. Including source-map suggests improved debugging capabilities, providing mappings between the generated and original code, crucial for tracing errors. While both versions rely on recast, minimist, ast-types and flow-parser with compatible versions, these updates highlight a move towards a more robust building and debugging process. Upgrading from 0.0.3 to 0.0.4 likely involves an easier installation process but may entail re-evaluation of import strategies if private or source-maps functionality are used. Although developers should assess if these newly added implicit dependencies change internal behaviors of the library.
The are not vulnerabilities for the version 0.0.4 of the package prettier