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.5 to 15.5.6

23

prop-types/index.d.ts

@@ -8,4 +8,21 @@ // Type definitions for prop-types 15.5

import { ReactNode, ReactElement } from 'react';
export interface ReactElementLike {
type: string | ((...args: any[]) => ReactElementLike);
props: any;
key: string | number | null;
children?: ReactNodeLike;
}
export interface ReactNodeArray extends Array<ReactNodeLike> {}
export type ReactNodeLike =
| {}
| ReactElementLike
| ReactNodeArray
| string
| number
| boolean
| null
| undefined;
export const nominalTypeHack: unique symbol;

@@ -42,4 +59,4 @@

export const string: Requireable<string>;
export const node: Requireable<ReactNode>;
export const element: Requireable<ReactElement<any>>;
export const node: Requireable<ReactNodeLike>;
export const element: Requireable<ReactElementLike>;
export const symbol: Requireable<symbol>;

@@ -46,0 +63,0 @@ export function instanceOf<T>(expectedClass: new (...args: any[]) => T): Requireable<T>;

8

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

@@ -24,7 +24,5 @@ "license": "MIT",

"scripts": {},
"dependencies": {
"@types/react": "*"
},
"typesPublisherContentHash": "82d6d419258f01e1c35e9cec68695f66179d2dd3e8db271bfd424aa8ba0be8c4",
"dependencies": {},
"typesPublisherContentHash": "830e6e1be7605334d7aa7ee8c4d1efaa522dee8d8c84dedbce93572e216f9ae8",
"typeScriptVersion": "2.8"
}

@@ -11,4 +11,4 @@ # Installation

Additional Details
* Last updated: Fri, 10 Aug 2018 01:11:54 GMT
* Dependencies: react
* Last updated: Thu, 27 Sep 2018 12:34:22 GMT
* Dependencies: none
* Global values: none

@@ -15,0 +15,0 @@

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