Read-package-json-fast has released version 4.0.0, a notable update from the previous stable version 3.0.2. Designed for speed and efficiency, this library offers a faster alternative to the standard read-package-json for parsing package.json files. Developers seeking to optimize their build processes and reduce overhead will find this package particularly useful.
The key differences between the two versions lie primarily in their dependency updates. Version 4.0.0 upgrades npm-normalize-package-bin and json-parse-even-better-errors to versions ^4.0.0, while version 3.0.2 relies on older versions ^3.0.0. These dependency updates likely bring performance improvements, bug fixes, and potentially new features from those respective libraries. Moreover, @npmcli/template-oss and @npmcli/eslint-config were bumped to versions 4.23.3 and ^5.0.0 respectively, ensuring alignment with the latest npm coding standards and best practices (version 3.0.2 uses older versions of them).
While both versions maintain the same core functionality and ISC license, the updated dependencies in version 4.0.0 suggest an effort to keep the package modern and secure. The unpacked size increased slightly from 8617 to 8685, which is negligible for the benefits derived from updated dependencies. Released on 2024-09-25, version 4.0.0 signifies a commitment to ongoing development and maintenance, offering developers a reliable and up-to-date tool for package.json parsing.
The are not vulnerabilities for the version 4.0.0 of the package read-package-json-fast