Zod is a TypeScript-first schema declaration and validation library renowned for its static type inference capabilities, allowing developers to define data structures and ensure data integrity with ease. Version 1.10.1 is a minor release following 1.10.0 and appears focused on internal improvements. Both versions share the same core development dependencies, including Jest for testing, TSLint for linting, and TypeScript for the language itself. The license remains MIT, ensuring broad usability. The author and repository details are unchanged.
The key difference lies in the package details within the 'dist' section. While the number of files remains constant at 113, the unpacked size has slightly decreased from 255538 bytes in version 1.10.0 to 251170 bytes in version 1.10.1. This suggests that the newer version includes optimizations in the code. Furthermore, the release date of version 1.10.1 is later, pointing to a more recent build, and likely bug fixes or performance tweaks not significant enough to warrant a major or minor version bump. The tarball URLs differ to identify the accurate distribution package. Developers should utilize the newer version for any potential stability improvement or refinements included within it. Although undocumented, it indicates a better optimized library.
All the vulnerabilities related to the version 1.10.1 of the package
Zod denial of service vulnerability
Zod version 3.22.2 allows an attacker to perform a denial of service while validating emails.