Socket
Socket
Sign inDemoInstall

@types/react

Package Overview
Dependencies
3
Maintainers
1
Versions
595
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 18.0.37 to 18.0.27

2

react/experimental.d.ts

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

// tslint:disable-next-line ban-types
export function experimental_useEffectEvent<T extends Function>(event: T): T;
export function experimental_useEvent<T extends Function>(event: T): T;
}

@@ -156,3 +156,1 @@ /*

interface WebGL2RenderingContext { }
interface TrustedHTML { }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

### Additional Details
* Last updated: Mon, 17 Apr 2023 17:02:45 GMT
* Last updated: Wed, 18 Jan 2023 19:02:49 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

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