Zod version 1.11.3 is a minor update to the TypeScript-first schema declaration and validation library, building upon version 1.11.2. Both versions offer developers a robust solution for data validation with static type inference, streamlining development workflows and reducing runtime errors. Examining the core metadata reveals minimal changes, primarily reflected in the dist object which dictates the published package properties.
The most apparent change is the unpacked size. Version 1.11.3 has a size of 277528 bytes, a slight increase compared to version 1.11.2's 275901 bytes. This small increase suggests additions or modifications within the codebase, potentially including bug fixes, performance improvements, or minor feature enhancements. The file count remains consistent at 122, implying the changes are within existing files rather than the addition of new ones.
The release date also shows a difference; version 1.11.3 was released shortly after version 1.11.2, hinting that the update might address urgent issues discovered in the previous release. Because the versions are very close, it's likely to be a patch release.
For developers, both versions provide a solid foundation for data validation, powered by TypeScript's type system. To determine the specifics of what changed in version 1.11.3, one would need to consult the changelog or commit history on the Zod repository. Potential improvements may include enhanced validation rules, better error messages, or performance optimizations. While the changes appear subtle, this update could offer developers a more refined and reliable validation experience.
All the vulnerabilities related to the version 1.11.3 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.