Date-fns version 4.0.0 introduces several notable updates compared to its predecessor, version 3.6.0. The most apparent change is the upgrade of development dependencies. For example, the eslint dependency jumps from version 8.55.0 to version 9.10.0 implying improvements and adjustments in code linting and style enforcement. Similarly, TypeScript sees an upgrade from version 5.3.2 to 5.4.5, suggesting improvements and bug fixes in the core type-checking and compilation processes. The @typescript-eslint packages were also updated from version 6 to version 8.
Interesting changes also happen in dependencies that are part of the date-fns ecosystem: @date-fns/docs bumps from version 0.29.0 to 0.33.0 and @date-fns/tz is introduced as a brand new dependency. These suggest possible new documentation or timezone functionalities which can be appealing for developers.
Furthermore, some tooling dependencies receive bumps with @arethetypeswrong/cli being a great example with the package appearing in the new version.
The distribution sizes also change. The fileCount increases from 4782 to 5326, while the unpackedSize grows from 22153202 bytes to 22643515. This indicates increased complexity or additional functionalities included within the new distribution. The release date shifts from March 18, 2024, to September 16, 2024, showing the recency of the newest versions. Overall, the version 4.0.0 delivers dependency updates, along with potential enhancements and some increases in distribution size, marking meaningful changes for developers relying on this library.
The are not vulnerabilities for the version 4.0.0 of the package date-fns