Date-fns has recently released version 3.5.0, building upon the solid foundation of version 3.4.0 as a modern JavaScript date utility library. Both versions maintain the core principles of providing a comprehensive set of functions for date manipulation and formatting while being lightweight and modular, making them ideal for various JavaScript environments, from browsers to Node.js.
A notable distinction lies in the updated development dependencies. Version 3.5.0 sees an upgrade in vitest from version 0.34.6 to version 1.3.1 and @vitest/browser from version 0.34.6 to version 1.3.1, and @vitest/coverage-v8 from version 0.34.6 to version 1.3.1 indicating improvements in testing capabilities and enhanced code coverage analysis during development. This can translate to more robust and reliable date-fns functionalities for developers. The @date-fns/utc dependency was introduced in version 3.5.0 at version ^1.2.0, which provides utilities for working with UTC dates specifically.
Furthermore, fileCount and the unpackedSize within the dist object also saw slight increases from 4361 to 4389, and from 4904079 to 4934687 respectively, suggesting additional files or perhaps more extensive code contributions, potentially encompassing new features, bug fixes, or performance enhancements within the core library functions. Developers should also note the release dates to ensure they are using the most up-to-date information available and to check the changelog for a detailed breakdown of changes. Developers seeking refined testing and deeper UTC support may find the update worthwhile.
The are not vulnerabilities for the version 3.5.0 of the package date-fns