Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@types/react

Package Overview
Dependencies
Maintainers
1
Versions
695
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
19.1.17
to
19.2.0
+0
-31
react/canary.d.ts

@@ -35,33 +35,2 @@ /**

export function unstable_useCacheRefresh(): () => void;
export interface CacheSignal {}
export function cacheSignal(): null | CacheSignal;
// @enableActivity
export interface ActivityProps {
/**
* @default "visible"
*/
mode?:
| "hidden"
| "visible"
| undefined;
/**
* A name for this Activity boundary for instrumentation purposes.
* The name will help identify this boundary in React DevTools.
*/
name?: string | undefined;
children: ReactNode;
}
/**
* @see {@link https://react.dev/reference/react/Activity `<Activity>` documentation}
*/
export const Activity: ExoticComponent<ActivityProps>;
/**
* @see {@link https://react.dev/reference/react/useEffectEvent `useEffectEvent()` documentation}
*/
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
export function useEffectEvent<T extends Function>(callback: T): T;
}
+2
-2
{
"name": "@types/react",
"version": "19.1.17",
"version": "19.2.0",
"description": "TypeScript definitions for react",

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

"peerDependencies": {},
"typesPublisherContentHash": "88f50d5bb0338b7142b9c2f85f777ba5a29c003018ee74638bedaba8b2c3ae56",
"typesPublisherContentHash": "c9a97f0f7c3420dded9204849fbe3d4fd1a547115618e12f5801b737d9b9fa61",
"typeScriptVersion": "5.2"
}

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

### Additional Details
* Last updated: Wed, 01 Oct 2025 17:02:25 GMT
* Last updated: Wed, 01 Oct 2025 22:02:19 GMT
* Dependencies: [csstype](https://npmjs.com/package/csstype)

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

@@ -35,33 +35,2 @@ /**

export function unstable_useCacheRefresh(): () => void;
export interface CacheSignal {}
export function cacheSignal(): null | CacheSignal;
// @enableActivity
export interface ActivityProps {
/**
* @default "visible"
*/
mode?:
| "hidden"
| "visible"
| undefined;
/**
* A name for this Activity boundary for instrumentation purposes.
* The name will help identify this boundary in React DevTools.
*/
name?: string | undefined;
children: ReactNode;
}
/**
* @see {@link https://react.dev/reference/react/Activity `<Activity>` documentation}
*/
export const Activity: ExoticComponent<ActivityProps>;
/**
* @see {@link https://react.dev/reference/react/useEffectEvent `useEffectEvent()` documentation}
*/
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
export function useEffectEvent<T extends Function>(callback: T): T;
}

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

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