Socket
Socket
Sign inDemoInstall

@types/yup

Package Overview
Dependencies
0
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.26.18 to 0.26.19

8

yup/index.d.ts

@@ -76,3 +76,3 @@ // Type definitions for yup 0.26

typeError(message?: TestOptionsMessage): this;
oneOf(arrayOfValues: any[], message?: TestOptionsMessage): this;
oneOf(arrayOfValues: T[], message?: TestOptionsMessage): this;
notOneOf(arrayOfValues: any[], message?: TestOptionsMessage): this;

@@ -96,4 +96,6 @@ when(keys: string | any[], builder: WhenOptions<this>): this;

export interface MixedSchemaConstructor {
(): MixedSchema;
new (options?: { type?: string; [key: string]: any }): MixedSchema;
// tslint:disable-next-line:no-unnecessary-generics
<T = any>(): MixedSchema<T>;
// tslint:disable-next-line:no-unnecessary-generics
new <T = any>(options?: { type?: string; [key: string]: any }): MixedSchema<T>;
}

@@ -100,0 +102,0 @@

{
"name": "@types/yup",
"version": "0.26.18",
"version": "0.26.19",
"description": "TypeScript definitions for yup",

@@ -72,4 +72,4 @@ "license": "MIT",

"dependencies": {},
"typesPublisherContentHash": "c6e5a91efa22a109bb964b4ab8d991f2dff20e1d58f99ed81a27b5d1717b09ff",
"typesPublisherContentHash": "9627acc70b3d1e1e0f3e84d200aeaa46b6c5beb6a9da5e16a457034409cf4cf2",
"typeScriptVersion": "2.8"
}

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

Additional Details
* Last updated: Wed, 26 Jun 2019 16:57:59 GMT
* Last updated: Mon, 01 Jul 2019 17:24:02 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc