Socket
Socket
Sign inDemoInstall

@types/prop-types

Package Overview
Dependencies
0
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 15.7.0 to 15.7.1

6

prop-types/index.d.ts

@@ -68,3 +68,3 @@ // Type definitions for prop-types 15.7

export function instanceOf<T>(expectedClass: new (...args: any[]) => T): Requireable<T>;
export function oneOf<T>(types: T[]): Requireable<T>;
export function oneOf<T>(types: ReadonlyArray<T>): Requireable<T>;
export function oneOfType<T extends Validator<any>>(types: T[]): Requireable<NonNullable<InferType<T>>>;

@@ -83,4 +83,4 @@ export function arrayOf<T>(type: Validator<T>): Requireable<T[]>;

* @param location e.g. "prop", "context", "child context"
* @param componentName Name of the component for error messages.
* @param getStack Returns the component stack.
* @param componentName Name of the component for error messages
* @param getStack Returns the component stack
*/

@@ -87,0 +87,0 @@ export function checkPropTypes(typeSpecs: any, values: any, location: string, componentName: string, getStack?: () => any): void;

{
"name": "@types/prop-types",
"version": "15.7.0",
"version": "15.7.1",
"description": "TypeScript definitions for prop-types",

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

"dependencies": {},
"typesPublisherContentHash": "d0bb07ae0d773e408a2e31cda2cf60182a872489d2130e262dde73ee394fbcb2",
"typesPublisherContentHash": "428a2d0735bad0c54710672c573a150461a21fe06b7729a430a049a288c5d991",
"typeScriptVersion": "2.8"
}

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

Additional Details
* Last updated: Thu, 28 Feb 2019 02:53:53 GMT
* Last updated: Wed, 17 Apr 2019 21:01:19 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