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.23.0 to 0.23.1

10

yup/index.d.ts

@@ -8,3 +8,3 @@ // Type definitions for yup 0.23

export function reach(schema: Schema, path: string, value?: any, context?: any): Schema;
export function addMethod(schemaType: Schema, name: string, method: (this: Schema) => Schema): void;
export function addMethod<T extends Schema>(schemaCtor: AnySchemaConstructor, name: string, method: (this: T, ...args: any[]) => T): void;
export function ref(path: string, options?: { contextPrefix: string }): Ref;

@@ -23,2 +23,10 @@ export function lazy(fn: (value: any) => Schema): Lazy;

export type AnySchemaConstructor = MixedSchemaConstructor
| StringSchemaConstructor
| NumberSchemaConstructor
| BooleanSchemaConstructor
| DateSchemaConstructor
| ArraySchemaConstructor
| ObjectSchemaConstructor;
export interface Schema {

@@ -25,0 +33,0 @@ clone(): this;

4

yup/package.json
{
"name": "@types/yup",
"version": "0.23.0",
"version": "0.23.1",
"description": "TypeScript definitions for yup",

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

"dependencies": {},
"typesPublisherContentHash": "7e33650de729135ec09a89bbc98eb205768156f816f725b5f672d2495566043a",
"typesPublisherContentHash": "a1dc1beb51bd79dc75fe52b05180b846bd82cf9b7c17807474917c7a3a5e1763",
"typeScriptVersion": "2.2"
}

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

Additional Details
* Last updated: Mon, 11 Dec 2017 19:14:19 GMT
* Last updated: Mon, 08 Jan 2018 22:23:44 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