Day.js version 1.10.4 is a minor update to the popular lightweight JavaScript date library, building upon version 1.10.3. Both versions maintain the core philosophy of providing a smaller and simpler alternative to Moment.js, boasting an immutable API and a size of roughly 2KB. Developers familiar with Moment.js will find adopting Day.js seamless due to its similar modern API.
Examining the package metadata, the key difference lies in the dist object. Version 1.10.4 features an unpackedSize of 587272 bytes, a slight increase from version 1.10.3's 582486 bytes. This minor size increase suggests the inclusion of bug fixes, performance improvements, or potentially new features that justified the revision. The fileCount is the same in both versions (433). The release date of version 1.10.4 is January 22, 2021, while version 1.10.3 was released on January 9, 2021. These releases are close in time, suggesting both versions probably address critical fixes to user reported issues.
The devDependencies are identical, indicating no changes in the tooling or testing environment used for development. Developers should choose the latest version (1.10.4) when starting a new project or updating an existing one, capitalizing on any improvements. Being a point release, the update should be smooth and non-breaking for most use-cases. Day.js's continuing development reinforces its position as a useful time utility.
The are not vulnerabilities for the version 1.10.4 of the package dayjs