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

@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.24.8 to 0.24.9

4

yup/index.d.ts

@@ -58,3 +58,3 @@ // Type definitions for yup 0.24

when(keys: string | any[], builder: WhenOptions<this>): this;
test(name: string, message: string, test: (this: TestContext, value?: any) => boolean | Promise<boolean>, callbackStyleAsync?: boolean): this;
test(name: string, message: string, test: (this: TestContext, value?: any) => boolean | ValidationError | Promise<boolean | ValidationError>, callbackStyleAsync?: boolean): this;
test(options: TestOptions): this;

@@ -206,3 +206,3 @@ transform(fn: TransformFunction<this>): this;

*/
test: (this: TestContext, value: any) => boolean | Promise<boolean>;
test: (this: TestContext, value: any) => boolean | ValidationError | Promise<boolean | ValidationError>;

@@ -209,0 +209,0 @@ /**

{
"name": "@types/yup",
"version": "0.24.8",
"version": "0.24.9",
"description": "TypeScript definitions for yup",

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

"dependencies": {},
"typesPublisherContentHash": "1c1e1c8ddd7aeb3fa55c7899d39756d1566a7c68d52dea66dfab1bc242ec8140",
"typesPublisherContentHash": "ff700ffe5d56b72c3f8f064cf137d7933973e201523a57da2b21b8192b4cbef2",
"typeScriptVersion": "2.2"
}

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

Additional Details
* Last updated: Tue, 14 Aug 2018 00:52:13 GMT
* Last updated: Thu, 16 Aug 2018 23:20:57 GMT
* Dependencies: none

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

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