Dayjs is a lightweight, immutable date and time library that offers a modern API as a smaller alternative to Moment.js. Version 1.8.23, released on March 16, 2020, refines the existing functionalities found in the previous stable version, 1.8.22, released a week earlier on March 8, 2020. Both versions maintain the core principle of a 2KB footprint, making them ideal for applications where minimizing bundle size is crucial.
Developers will find the consistent API between the two versions beneficial, ensuring a smooth upgrade process. The dependencies block remains empty, highlighting Dayjs’s commitment to zero dependencies. While the devDependencies remains almost identical, differences can be found in the dist object. File count saw a minor increase from 347 to 349 and unpacked size increased from 431833 to 438743, probably pointing to small bug fixes or documentation improvements. For developers already using Dayjs, upgrading to 1.8.23 offers potential performance improvements and bug fixes under the hood, without introducing breaking changes. For new users, both versions provide a solid foundation for date and time manipulation, offering a simpler and lighter alternative to heavier libraries. Dayjs is licensed under MIT, ensuring developers can use it freely in a wide range of projects.
The are not vulnerabilities for the version 1.8.23 of the package dayjs