Dayjs is a lightweight JavaScript date library that offers a streamlined alternative to Moment.js with a similar modern API. Both versions, 1.11.7 and 1.11.6, maintain the core philosophy of being a tiny (around 2KB) and immutable date/time manipulation tool. Developers will appreciate the consistent API, making the upgrade path seamless.
The package's description remains the same, emphasizing its 2KB size and API compatibility with Moment.js. The development dependencies also remain consistent between the two versions, highlighting the project's commitment to maintaining its existing build and testing infrastructure.
A notable difference lies in the dist object. Version 1.11.7 has an unpackedSize of 651138 bytes, while version 1.11.6 has an unpackedSize of 650665 bytes. This suggests that the newer version contains slight changes that resulted in a size increase of about 473 bytes, which is negligible. The releaseDate also indicates that version 1.11.7 was released on December 6, 2022, while version 1.11.6 was released on October 21, 2022. Users should update to the newest version since it include bug fixes. The fileCount stays the same.
The are not vulnerabilities for the version 1.11.7 of the package dayjs