You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP

@types/react

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react - npm Package Compare versions

Comparing version

to
18.0.38

@@ -107,3 +107,7 @@ /**

// tslint:disable-next-line ban-types
export function experimental_useEvent<T extends Function>(event: T): T;
export function experimental_useEffectEvent<T extends Function>(event: T): T;
interface DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS {
functions: (formData: FormData) => void;
}
}

@@ -152,2 +152,3 @@ /*

interface FormData {}
interface Text { }

@@ -157,1 +158,3 @@ interface TouchList { }

interface WebGL2RenderingContext { }
interface TrustedHTML { }

@@ -58,3 +58,3 @@ /**

interface ServerContextJSONArray extends ReadonlyArray<ServerContextJSONArray> {}
interface ServerContextJSONArray extends ReadonlyArray<ServerContextJSONValue> {}
export type ServerContextJSONValue =

@@ -75,3 +75,3 @@ | string

* @version 16.8.0
* @see https://reactjs.org/docs/hooks-reference.html#usecontext
* @see https://react.dev/reference/react/useContext
*/

@@ -78,0 +78,0 @@ function useContext<T extends ServerContextJSONValue>(context: ServerContext<T>): T;

{
"name": "@types/react",
"version": "18.0.27",
"version": "18.0.38",
"description": "TypeScript definitions for React",

@@ -143,2 +143,9 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",

"types": "index.d.ts",
"typesVersions": {
"<=5.0": {
"*": [
"ts5.0/*"
]
}
},
"repository": {

@@ -155,6 +162,9 @@ "type": "git",

},
"typesPublisherContentHash": "9fe92d5e956ab2c31da7ffe14998f63a047b60ad3535ea9d4c629616fe5f512d",
"typeScriptVersion": "4.2",
"typesPublisherContentHash": "4147f484e0c1af12f19380dde977807b9aa864fd15873c62b3142f154d53d7d4",
"typeScriptVersion": "4.3",
"exports": {
".": {
"types@<=5.0": {
"default": "./ts5.0/index.d.ts"
},
"types": {

@@ -165,2 +175,5 @@ "default": "./index.d.ts"

"./next": {
"types@<=5.0": {
"default": "./ts5.0/next.d.ts"
},
"types": {

@@ -171,2 +184,5 @@ "default": "./next.d.ts"

"./experimental": {
"types@<=5.0": {
"default": "./ts5.0/experimental.d.ts"
},
"types": {

@@ -177,2 +193,5 @@ "default": "./experimental.d.ts"

"./jsx-runtime": {
"types@<=5.0": {
"default": "./ts5.0/jsx-runtime.d.ts"
},
"types": {

@@ -183,2 +202,5 @@ "default": "./jsx-runtime.d.ts"

"./jsx-dev-runtime": {
"types@<=5.0": {
"default": "./ts5.0/jsx-dev-runtime.d.ts"
},
"types": {

@@ -185,0 +207,0 @@ "default": "./jsx-dev-runtime.d.ts"

@@ -5,3 +5,3 @@ # Installation

# Summary
This package contains type definitions for React (http://facebook.github.io/react/).
This package contains type definitions for React (https://react.dev/).

@@ -12,3 +12,3 @@ # Details

### Additional Details
* Last updated: Wed, 18 Jan 2023 19:02:49 GMT
* Last updated: Fri, 21 Apr 2023 20:32:44 GMT
* Dependencies: [@types/csstype](https://npmjs.com/package/@types/csstype), [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/scheduler](https://npmjs.com/package/@types/scheduler)

@@ -15,0 +15,0 @@ * Global values: `React`

Sorry, the diff of this file is too big to display