Tailwind Merge, a utility designed to intelligently merge Tailwind CSS class names, has seen a recent update from version 1.6.0 to 1.6.1. Both versions maintain the core functionality of resolving conflicting Tailwind classes to ensure predictable styling, however, several dependency updates have been incorporated into 1.6.1.
A key difference lies in the updated development dependencies. Version 1.6.1 upgrades zx to ^7.0.8, fp-ts to ^2.12.3, eslint to ^8.23.0, ts-jest to ^28.0.8, typescript to ^4.8.2, @types/jest to ^29.0.0, @typescript-eslint/parser to ^5.36.1, and @typescript-eslint/eslint-plugin to ^5.36.1. The previous version, 1.6.0, used older versions of these tools. While these updates are primarily focused on the development environment, they can translate into improved code quality, linting, and type checking, potentially leading to more robust and reliable merging logic within the library itself. The size-limit and @size-limit/preset-small-lib also saw an update.
For developers using Tailwind Merge, these changes signify a commitment to keeping the project up-to-date with the latest tooling and best practices in the JavaScript/TypeScript ecosystem. While the core API and functionality remain the same, upgrading to 1.6.1 can provide a smoother development experience and potentially benefit from subtle improvements in performance or conflict resolution due to the enhanced development environment. The unpacked size saw a small growth from 613298 to 613545.
The are not vulnerabilities for the version 1.6.1 of the package tailwind-merge