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.26.10

Diff

Changelog

Source

0.28.0 (2019-12-16)

Bug Fixes

  • #473 make concat compatible with (not)oneOf (#492) (8d21cc9)
  • array path resolve for descendants (#669) (d31e34d)
  • change @babel/runtime version to be a range (#488) (1c9b362), closes #486
  • concat of mixed and subtype (#444) (7705972)
  • default message for test with object (#453) (f1be37f)
  • noUnknown() overriding (#452) (3047b33)
  • string.matches() and regex global flag (#450) (a8935b7)
  • synchronous conditional object validation with unknown dependencies (#598) (1081c41)
  • typo README (about excludeEmptyString) (#441) (d02ff5e)
  • unix epoc bug in date parser (#655) (0d14827)

Features

  • add _isFilled as overrideable mixed method to control required behavior (#459) (5b01f18)
  • add function test names to email and url (#292) (7e94395)
  • aliases optional() and unknown() (#460) (51e8661)
  • allow toggling strict() (#457) (851d421)
  • allow withMutation() nesting (#456) (e53ea8c)
  • do concat in mutation mode (#461) (02be4ca)
  • finalize resolve() (#447) (afc5119)
  • replace integer check with Number.isInteger (#405) (1c18442)
  • support self references (#443) (1cac515), closes /github.com/jquense/yup/blob/d02ff5e59e004b4c5189d1b9fc0055cff45c61df/src/Reference.js#L3
  • use the alternate object index path syntax if the key contains dots (fixes #536) (#539) (13e8c76)

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.26.9 •

monastic.panic
published 0.26.8 •

monastic.panic
published 0.26.7 •

monastic.panic
published 0.26.6 •

monastic.panic
published 0.26.5 •

monastic.panic
published 0.26.4 •

monastic.panic
published 0.26.3 •

Changelog

Source

v0.26.3 - Tue, 28 Aug 2018 15:00:04 GMT

monastic.panic
published 0.26.2 •

monastic.panic
published 0.26.1 •

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
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