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.0 to 0.29.1

3

yup/index.d.ts

@@ -645,6 +645,7 @@ // Type definitions for yup 0.29

type InnerInferType<T> =
| (T extends Array<infer T> ? T[] : Id<NotRequiredProps<T> & RequiredProps<T>>)
| (T extends Array<infer T> ? InnerInferTypeArray<T> : Id<NotRequiredProps<T> & RequiredProps<T>>)
| PreserveOptionals<T>;
interface InnerInferTypeArray<T> extends Array<InnerInferType<T>> {}
type InferredArrayType<T> = T extends Array<infer U> ? U : T;
/** If `T` is optional, returns optional `U`. */
type MaintainOptionality<T, U> = T extends undefined ? U | undefined : U;
{
"name": "@types/yup",
"version": "0.29.0",
"version": "0.29.1",
"description": "TypeScript definitions for yup",

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

"dependencies": {},
"typesPublisherContentHash": "bab01c61408b160554fa2339a93c2ffa3c7f1d196f3566bc87c8232c970a9f00",
"typesPublisherContentHash": "4888d0d7598d673e353a02621f91fea1bfc6920b81c3d86c65406fb0f133a915",
"typeScriptVersion": "3.6"
}

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

### Additional Details
* Last updated: Tue, 19 May 2020 20:54:56 GMT
* Last updated: Sat, 30 May 2020 04:52:31 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