Socket
Socket
Sign inDemoInstall

@types/yup

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/yup - npm Package Compare versions

Comparing version 0.29.2 to 0.29.3

15

yup/index.d.ts

@@ -16,2 +16,3 @@ // Type definitions for yup 0.29

// Ian Sanders <https://github.com/iansan5653>
// Jay Fong <https://github.com/fjc0k>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -254,3 +255,3 @@ // TypeScript Version: 3.6

interface BasicArraySchema<E, T extends E[] | null | undefined> extends Schema<T> {
export interface BasicArraySchema<E, T extends E[] | null | undefined> extends Schema<T> {
min(limit: number | Ref, message?: ArrayLocale['min']): this;

@@ -577,3 +578,3 @@ max(limit: number | Ref, message?: ArrayLocale['max']): this;

interface MixedLocale {
export interface MixedLocale {
default?: TestOptionsMessage;

@@ -586,3 +587,3 @@ required?: TestOptionsMessage;

interface StringLocale {
export interface StringLocale {
length?: TestOptionsMessage<{ length: number }>;

@@ -599,3 +600,3 @@ min?: TestOptionsMessage<{ min: number }>;

interface NumberLocale {
export interface NumberLocale {
min?: TestOptionsMessage<{ min: number }>;

@@ -610,3 +611,3 @@ max?: TestOptionsMessage<{ max: number }>;

interface DateLocale {
export interface DateLocale {
min?: TestOptionsMessage<{ min: Date | string }>;

@@ -616,7 +617,7 @@ max?: TestOptionsMessage<{ max: Date | string }>;

interface ObjectLocale {
export interface ObjectLocale {
noUnknown?: TestOptionsMessage;
}
interface ArrayLocale {
export interface ArrayLocale {
min?: TestOptionsMessage<{ min: number }>;

@@ -623,0 +624,0 @@ max?: TestOptionsMessage<{ max: number }>;

{
"name": "@types/yup",
"version": "0.29.2",
"version": "0.29.3",
"description": "TypeScript definitions for yup",

@@ -71,2 +71,7 @@ "license": "MIT",

"githubUsername": "iansan5653"
},
{
"name": "Jay Fong",
"url": "https://github.com/fjc0k",
"githubUsername": "fjc0k"
}

@@ -83,4 +88,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "0b83e1b114b6f1aa6c06639b5be92d93db8db57b6646d99870aaa669d00b4bf9",
"typesPublisherContentHash": "3ee6e54cfb7e97e415a240310151ce9e2b2317b38d6006762108b8d8e3fe77be",
"typeScriptVersion": "3.6"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Wed, 03 Jun 2020 17:21:00 GMT
* Last updated: Fri, 12 Jun 2020 12:27:29 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by [Dominik Hardtke](https://github.com/dhardtke), [Vladyslav Tserman](https://github.com/vtserman), [Moreton Bay Regional Council](https://github.com/MoretonBayRC), [Sindre Seppola](https://github.com/sseppola), [Yash Kulshrestha](https://github.com/YashdalfTheGray), [Vincent Pizzo](https://github.com/vincentjames501), [Robert Bullen](https://github.com/robertbullen), [Yusuke Sato](https://github.com/sat0yu), [Desmond Koh](https://github.com/deskoh), [Maurice de Beijer](https://github.com/mauricedb), [Kalley Powell](https://github.com/kalley), [Elías García](https://github.com/elias-garcia), and [Ian Sanders](https://github.com/iansan5653).
These definitions were written by [Dominik Hardtke](https://github.com/dhardtke), [Vladyslav Tserman](https://github.com/vtserman), [Moreton Bay Regional Council](https://github.com/MoretonBayRC), [Sindre Seppola](https://github.com/sseppola), [Yash Kulshrestha](https://github.com/YashdalfTheGray), [Vincent Pizzo](https://github.com/vincentjames501), [Robert Bullen](https://github.com/robertbullen), [Yusuke Sato](https://github.com/sat0yu), [Desmond Koh](https://github.com/deskoh), [Maurice de Beijer](https://github.com/mauricedb), [Kalley Powell](https://github.com/kalley), [Elías García](https://github.com/elias-garcia), [Ian Sanders](https://github.com/iansan5653), and [Jay Fong](https://github.com/fjc0k).
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