Prettier version 1.18.1 is a patch release following closely on the heels of version 1.18.0, both designed to be opinionated code formatters. Both versions maintain the same core description and MIT license, reinforcing their commitment to free and open-source usage. They share the same repository on GitHub, ensuring developers can easily access the source code and contribute. James Long remains the author for both, indicating continuity in the library's leadership and direction.
While seemingly similar, a closer look reveals subtle differences. The dist object shows that version 1.18.1, released on June 7, 2019, has a slightly larger unpacked size of 9322353 bytes compared to version 1.18.0's 9322022 bytes, which released on June 6, 2019. Both packed into 18 files. This suggests that 1.18.1 likely includes minor bug fixes, performance improvements, or very small feature additions not present in the immediately preceding version.
For developers, this means that while both versions offer the core Prettier code formatting capabilities, upgrading to 1.18.1 is likely beneficial for stability. If you are experiencing very specific or corner-case formatting issues within your codebase, version 1.18.1 is certainly going to improve your formatting experience. You should consider upgrading to benefit from the incremental improvements. The quick release turnaround between versions further underscores the project's commitment to addressing issues promptly. While the change isn't drastic, staying current ensures a smoother development workflow and improved code consistency.
The are not vulnerabilities for the version 1.18.1 of the package prettier