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.15 to 0.26.16

23

yup/index.d.ts

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

export interface WhenOptionsBuilder<T> {
export interface WhenOptionsBuilderFunction<T> {
(value: any, schema: T): T;

@@ -251,11 +251,22 @@ (v1: any, v2: any, schema: T): T;

export type WhenOptions<T> =
| WhenOptionsBuilder<T>
export type WhenOptionsBuilderObjectIs =
| ((...values: any[]) => boolean)
| boolean
| number
| null
| object
| string;
export type WhenOptionsBuilderObject =
| {
is: boolean | ((...values: any[]) => boolean);
then: any;
otherwise: any;
is: WhenOptionsBuilderObjectIs;
then: any;
otherwise: any
}
| object;
export type WhenOptions<T> =
| WhenOptionsBuilderFunction<T>
| WhenOptionsBuilderObject;
export interface TestContext {

@@ -262,0 +273,0 @@ path: string;

{
"name": "@types/yup",
"version": "0.26.15",
"version": "0.26.16",
"description": "TypeScript definitions for yup",

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

"dependencies": {},
"typesPublisherContentHash": "3dfb76dc75843f2c5d72980410c179af885694726339f0cce6630750dff4e0c6",
"typesPublisherContentHash": "1e21de8ca592cb894dea00ac44057830b27a7116c961a2fe756769d489fff952",
"typeScriptVersion": "2.8"
}

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

Additional Details
* Last updated: Mon, 10 Jun 2019 17:20:21 GMT
* Last updated: Tue, 11 Jun 2019 20:19:55 GMT
* Dependencies: none

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc