Dayjs is a lightweight JavaScript library designed as a more compact and modern alternative to Moment.js for date and time manipulation. Both versions 1.6.5 and 1.6.6 offer the same core functionality, providing an immutable API within a small footprint, around 2KB. This makes them ideal for performance-sensitive applications, especially on the client-side. Developers will find the API familiar and easy to use if they have experience with Moment.js.
The key differences between the two versions lie primarily in the packaging and distribution details. Version 1.6.6 constitutes a slight enhancement over 1.6.5. Evident in the dist section, version 1.6.6 sees an increase in file count within the package, rising from 20 to 27 which probably means some new files has been added inside the package. Consequently, the unpacked size has grown from 27,472 bytes to 33,971 bytes. No changes were specified in dependencies or development dependencies between the two versions.
Additionally, the release date of version 1.6.6 is slightly later than 1.6.5, it was released on June 6, 2018, while the previous version was released on May 31, 2018. Developers should consider the later version for potentially bug fixes or minor updates, although the core functionality remains consistent.
Dayjs is licensed under the MIT, so it brings you the freedom to customize it and use it to its full power.
The are not vulnerabilities for the version 1.6.6 of the package dayjs