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

yup

Package Overview
Dependencies
Maintainers
1
Versions
127
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.29.2

Diff

Changelog

Source

0.29.2 (2020-07-27)

Bug Fixes

  • handle sparse array positions as undefined (#950) (4e77348)

Features

monastic.panic
published 0.29.1 •

Changelog

Source

0.29.1 (2020-05-27)

Bug Fixes

  • present checks for array and strings (ecd8ebe), closes #913

Features

  • allow access to parent schema (and unlimited ancestors!) in test context (#556) (db35920)
monastic.panic
published 0.29.0 •

Changelog

Source

0.29.0 (2020-05-19)

  • feat!: update docs to account for changes in types and add additional example (#891) (e105a71), closes #891

Bug Fixes

  • object bug when nested object has a property with strict (#871) (7f52b8a)

Features

  • expose oneOf and notOneOf values on description (#885) (08dad5f)

BREAKING CHANGES

  • For users of @types/yup only, no function changes but the type def change is large enough that it warranted a major bump here
monastic.panic
published 0.28.5 •

Changelog

Source

0.28.5 (2020-04-30)

Bug Fixes

  • allow passing of function to .matches() options/message param (#850) (16efe88)
  • bug in object.noUnknown for nullish values https://github.com/jquense/yup/issues/854 (#855) (ccb7c7d)
monastic.panic
published 0.28.4 •

Changelog

Source

0.28.4 (2020-04-20)

Bug Fixes

Features

  • make schema.type and array.innerType public API's (8f00d50)
  • provide keys in default noUnknown message (#579) (ad5d015)
monastic.panic
published 0.28.3 •

Changelog

Source

0.28.3 (2020-03-06)

Bug Fixes

monastic.panic
published 0.28.2 •

Changelog

Source

0.28.3 (2020-03-06)

Bug Fixes

monastic.panic
published 0.28.1 •

monastic.panic
published 0.28.0 •

Changelog

Source

0.28.0 (2019-12-16)

Bug Fixes

Features

BREAKING CHANGES

  • use Number.isInteger. This works correctly for large numbers.

Related to https://github.com/jquense/yup/pull/147

  • reach() no longer resolves the returned schema meaning it's conditions have not been processed yet; prefer validateAt/castAt where it makes sense
  • required no longer shows up twice in describe() output for array and strings, which also no longer override required
monastic.panic
published 0.27.0 •

Changelog

Source

0.27.0 (2019-03-14)

Bug Fixes

Features

BREAKING CHANGES

  • reach() no longer resolves the returned schema meaning it's conditions have not been processed yet; prefer validateAt/castAt where it makes sense
  • required no longer shows up twice in describe() output for array and strings, which also no longer override required
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