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.5.2 to 15.5.3

12

prop-types/index.d.ts

@@ -31,1 +31,13 @@ // Type definitions for prop-types 15.5

export function shape(type: ValidationMap<any>): Requireable<any>;
/**
* Assert that the values match with the type specs.
* Error messages are memorized and will only be shown once.
*
* @param typeSpecs Map of name to a ReactPropType
* @param values Runtime values that need to be type-checked
* @param location e.g. "prop", "context", "child context"
* @param componentName Name of the component for error messages.
* @param getStack Returns the component stack.
*/
export function checkPropTypes(typeSpecs: any, values: any, location: string, componentName: string, getStack?: () => any): void;

6

prop-types/package.json
{
"name": "@types/prop-types",
"version": "15.5.2",
"version": "15.5.3",
"description": "TypeScript definitions for prop-types",

@@ -16,8 +16,8 @@ "license": "MIT",

"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git.git"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "748b5132d8aa5bde37793fb3f35cbfb48c339c4631dab0f33e4ae973c6744688",
"typesPublisherContentHash": "c3d2dc452a5a81f10532428317a08162159119681bf0543ccda9cf3bda43bada",
"typeScriptVersion": "2.2"
}

@@ -8,6 +8,6 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prop-types
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped.git/tree/master/types/prop-types
Additional Details
* Last updated: Tue, 26 Sep 2017 00:11:47 GMT
* Last updated: Fri, 18 May 2018 20:19:36 GMT
* Dependencies: none

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

Sorry, the diff of this file is not supported yet

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