The npm package ms, a tiny utility for converting between milliseconds and human-readable time formats, saw a minor version bump from 2.1.2 to 2.1.3 with a focus on improvements for developers. While the core functionality remains the same, several changes under the hood enhance the development experience. The most noticeable difference lies in the development dependencies. Version 2.1.3 upgraded the eslint dependency from version 4.12.1 to 4.18.2 and introduced prettier at version 2.0.5, a popular code formatter, indicating a stronger emphasis on code quality and consistency. This likely translates to a more uniform codebase, potentially reducing friction for contributors and users who examine the source code.
The upgrade also updated the location of the repository. Version 2.1.2 was located at git+https://github.com/zeit/ms.git and version 2.1.3 is located at git+https://github.com/vercel/ms.git, this change reflects a change in ownership / maintainer of the repo due to company changes.
Furthermore, the unpacked size of the package slightly decreased from 6842 bytes to 6721 bytes, perhaps due to code refactoring facilitated by the updated linting tools. The releaseDate also shows that there has been a considerable gap between the releases; version 2.1.2 was released in June 2019 and version 2.1.3 was released in December 2020. Developers using ms can expect consistent behavior, with the upgrade primarily impacting the development workflow and code style. The addition of prettier ensures a standardized and readable codebase, making it easier to contribute and understand the library's inner workings. The core function of converting milliseconds to human-readable strings and vice versa remains reliable and unchanged. Given the minor nature of the update, upgrading is recommended to benefit from the improved tooling and code consistency.
The are not vulnerabilities for the version 2.1.3 of the package ms