Packages

yup

1.7.1 · 21 Sep 2025MIT16.7M / weekRepositorynpmAtom feed

Your version

0.30.0

19 Nov 2020Where it was published

0.32.11 is the newest release of 0.30.x.

In short

1 breaking1 security1 new1 faster3 fixed

  • breaking

    defined() now doesn't automatically allow null, this was a bug. to mimic the old behavior add nullable() to schema with defined()

  • security

    Security Fix for Prototype Pollution - huntr.dev

Release note

Bug Fixes

  • defined() so it doesn't mark a schema as nullable

  • IE11 clone()

  • security

    Security Fix for Prototype Pollution - huntr.dev

  • Uuid's regexp

Features

  • Exposes context on mixed.test function and add originalValue to context

Performance Improvements

  • Reduce function calls for shallower stacks

Breaking changes

  • breaking

    defined() now doesn't automatically allow null, this was a bug. to mimic the old behavior add nullable() to schema with defined()