Date-fns is a modern JavaScript date utility library, and a new version 3.3.1 has been released following closely after version 3.3.0. Both versions share the same core concept: providing a comprehensive set of functions for manipulating and formatting dates in JavaScript, offering a cleaner and more modular alternative to the native Date object.
A quick comparison reveals that the primary change lies in the updated versions of several development dependencies. Vitest jumps from 0.34.6 to 1.2.1, and @vitest/browser and @vitest/coverage-v8 also see similar version leaps, suggesting significant updates or bug fixes within the testing environment. These updates are crucial for library contributors, ensuring robust testing and code quality but are transparent to end-users. Developers using date-fns directly won't need to modify their code due to these changes.
The unpacked size also increased slightly, from 4,858,154 to 4,861,064, indicating minor additions or modifications within the codebase. The newer version was released on January 22, 2024, while the previous one was released two days before on January 20, 2024. This means that the fixes must have been important to be deployed on such a short cadence. This quick follow-up release emphasizes the project's commitment to stability and addressing issues promptly. Developers already using version 3.3.0 would benefit from upgrading to version 3.3.1 to receive the benefits of these dependency updates and any associated bug fixes or performance improvements.
The are not vulnerabilities for the version 3.3.1 of the package date-fns