Joi 17.2.0 is a minor release of the popular JavaScript object schema validation library, building upon version 17.1.1. Both versions share the same core purpose of providing a fluent and intuitive API for describing and validating JavaScript objects. A key improvement in 17.2.0 is the update to the @hapi/address dependency, moving from version 4.0.1 to 4.1.0. This potentially introduces enhancements and bug fixes related to IP addresses and network-related validation, which is an important point to consider for developers who rely on these features.
The update brings an increase in the unpackedSize of the library, jumping from 428922 bytes in 17.1.1 to 512628 bytes in 17.2.0, alongside with an increase in file count. This may indicate the inclusion of new modules, more robust testing, or simply an expansion of existing functionality, all with possible implications for bundle size.
Furthermore, a notable shift is observed in the @hapi/lab dependency within the devDependencies section, which has been updated from version 22.x.x to 23.x.x. This suggests potential updates or improvements to the testing framework used for Joi development. While this change won't directly impact end-users, it signifies a commitment to maintaining a high standard of code quality and reliability. Ultimately, developers should evaluate the precise impact and value delivered by the updated @hapi/address package in determining whether to update to version 17.2.0.
The are not vulnerabilities for the version 17.2.0 of the package joi