Dayjs is a minimalist JavaScript library that parses, validates, manipulates, and displays dates and times for modern browsers with largely Moment.js-compatible API. Version 1.5.18, released on May 3rd, 2018, came shortly after version 1.5.17, also released on May 3rd, 2018 which suggests a quick patch or minor update. Both versions share identical development dependencies, including tools for testing (Jest, babel-jest), linting (ESLint), bundling (Rollup), and Babel for transpilation. They both leverage a robust set of development tools like @babel/core, @babel/cli, @babel/node, and various plugins for Rollup and ESLint to ensure code quality and compatibility.
A noticeable difference between the two versions is the unpackedSize within the dist object. Version 1.5.18 has an unpacked size of 53698 bytes, while version 1.5.17 comes in at 53284 bytes. This indicates that version 1.5.18 likely includes a small increase in the library's size, which could be due to bug fixes, minor feature additions, or updated documentation.
Developers considering Dayjs should note its lightweight nature, making it a favorable alternative to heavier libraries like Moment.js, included as a dev dependency for compatibility testing. The consistent use of modern development tools ensures a reliable and maintainable library. Although the specific changes from 1.5.17 to 1.5.18 aren't explicitly detailed in the provided data, the slight increase in unpacked size implies a worthwhile, albeit small, improvement or refinement to the library.
The are not vulnerabilities for the version 1.5.18 of the package dayjs