Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

yup

Package Overview
Dependencies
Maintainers
1
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yup - npm Package Versions

1
13

0.10.0

Diff

monastic.panic
published 0.9.2 •

monastic.panic
published 0.9.1 •

monastic.panic
published 0.9.0 •

Changelog

Source

0.9.0

breaking

  • test functions are no longer passed path and context as arguments, Instead they are now values on this inside the test function.
  • test functions are longer called with the schema as their this value, use this.schema instead.

other changes

  • test functions are call with with a new context object, including, options, parent and createError for dynamically altering validation errors.
monastic.panic
published 0.8.3 •

Changelog

Source

0.8.3

  • document stripUnknown
  • add recursive option
  • add noUnknown() test to objects
monastic.panic
published 0.8.2 •

Changelog

Source

0.8.2

  • default for objects now adds keys for all fields, not just fields with non empty defaults
monastic.panic
published 0.8.1 •

Changelog

Source

0.8.1

  • bug fix
monastic.panic
published 0.8.0 •

Changelog

Source

0.8.0

breaking

  • test functions are now passed path and context values along with the field value. Only breaks if using the callback style of defining custom validations
monastic.panic
published 0.7.5 •

monastic.panic
published 0.7.4 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc