Day.js version 1.9.2 is a minor update following version 1.9.1 in this lightweight and immutable date/time library, designed as a smaller alternative to Moment.js. Both versions share the same core philosophy of providing a modern API familiar to developers while maintaining a minimal footprint. Key features like date parsing, formatting, manipulation, and timezone support are present in both. The dependency structure remains consistent, relying on a suite of development tools for testing, linting, bundling and transpilation including Jest, Rollup, ESLint, Babel, and TypeScript to ensure code quality and browser compatibility.
The primary differences between the two versions are the slight increase in the unpacked size, from 519,285 bytes in 1.9.1 to 530,184 bytes in 1.9.2, which suggests minor additions or adjustments to the library's code. Also, the number of files included in the distributed package has increased from 420 to 423. The release dates also highlight the update, with version 1.9.2 being released on October 13, 2020, after version 1.9.1 was deployed on September 28, 2020. This suggests that the latter version includes bug fixes, performance improvements, or small feature enhancements. Developers looking for a smaller, faster alternative to Moment.js can leverage the capabilities of dayjs in their projects, with 1.9.2 likely being the preferable choice due to its improvements and fixes.
The are not vulnerabilities for the version 1.9.2 of the package dayjs