Socket
Socket
Sign inDemoInstall

@types/react

Package Overview
Dependencies
Maintainers
1
Versions
598
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react - npm Package Compare versions

Comparing version 18.2.34 to 18.2.42

2

react/canary.d.ts

@@ -85,3 +85,3 @@ /**

// tslint:disable-next-line ban-types
// eslint-disable-next-line @typescript-eslint/ban-types
export function cache<CachedFunction extends Function>(fn: CachedFunction): CachedFunction;

@@ -88,0 +88,0 @@

@@ -115,3 +115,3 @@ /**

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

@@ -118,0 +118,0 @@

{
"name": "@types/react",
"version": "18.2.34",
"version": "18.2.42",
"description": "TypeScript definitions for react",

@@ -204,4 +204,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",

},
"typesPublisherContentHash": "1fdeb6aed07f46b464199111cf2c05bcbd40f44b73f7b7660c9c38e75acc7bd4",
"typeScriptVersion": "4.5"
"typesPublisherContentHash": "d89c7ef8f0a7ec1f3081404a330d066b905c2554ae9b41deefa84b120269ebee",
"typeScriptVersion": "4.6"
}

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

### Additional Details
* Last updated: Wed, 01 Nov 2023 22:45:31 GMT
* Last updated: Mon, 04 Dec 2023 20:35:43 GMT
* Dependencies: [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/scheduler](https://npmjs.com/package/@types/scheduler), [csstype](https://npmjs.com/package/csstype)

@@ -14,0 +14,0 @@

@@ -85,3 +85,3 @@ /**

// tslint:disable-next-line ban-types
// eslint-disable-next-line @typescript-eslint/ban-types
export function cache<CachedFunction extends Function>(fn: CachedFunction): CachedFunction;

@@ -88,0 +88,0 @@

@@ -115,3 +115,3 @@ /**

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

@@ -118,0 +118,0 @@

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc