Yup is a popular JavaScript schema validation library, known for its developer-friendly API and focus on simplicity. Version 1.2.0, released on May 25, 2023, builds upon the solid foundation of version 1.1.1, released on April 14, 2023, offering subtle but potentially impactful improvements.
Looking at the dependency list, there are no new dependencies added to Yup 1.2.0 and no changes in the versions of existing dependencies, so it is most likely that this version has some bug fixes or minor internal changes.
While both versions share identical core dependencies like toposort, tiny-case, type-fest, and property-expr, a key detail lies in the unpacked size of the distribution. Version 1.2.0 weighs in at 243078 bytes when unpacked, a slight increase compared to version 1.1.1's 242741 bytes. This increase, although small, could indicate bug fixes, or other internal changes that are contained in the new release. Developers upgrading should therefore consider these incremental improvements, noting the potential benefits in stability and reliability potentially leading to a smoother validation experience, especially in complex schema scenarios. The library is still licensed under the permissive MIT license and maintained by Jason Quense, ensuring continuity and community support. Developers will find both versions easy to integrate, but keeping up with the latest releases ensures access to the most refined and stable validation handling.
The are not vulnerabilities for the version 1.2.0 of the package yup