Socket
Socket
Sign inDemoInstall

@types/react-dom

Package Overview
Dependencies
3
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 18.2.1 to 18.2.2

20

react-dom/experimental.d.ts

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

declare module '.' {}
declare module '.' {
interface FormStatusNotPending {
pending: false;
data: null;
method: null;
action: null;
}
interface FormStatusPending {
pending: true;
data: FormData;
method: string;
action: string | ((formData: FormData) => void | Promise<void>);
}
type FormStatus = FormStatusPending | FormStatusNotPending;
function experimental_useFormStatus(): FormStatus;
}

4

react-dom/package.json
{
"name": "@types/react-dom",
"version": "18.2.1",
"version": "18.2.2",
"description": "TypeScript definitions for React (react-dom)",

@@ -52,3 +52,3 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom",

},
"typesPublisherContentHash": "3148dc3669fc526e321519b964d3b22531341b2e804caeba130bd6f193866850",
"typesPublisherContentHash": "f42e45fd4c901c41267027e4de1281542c2d1458806a2d0a3e6142fd996ef8ee",
"typeScriptVersion": "4.3",

@@ -55,0 +55,0 @@ "exports": {

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

### Additional Details
* Last updated: Tue, 25 Apr 2023 20:32:50 GMT
* Last updated: Wed, 03 May 2023 16:02:46 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)

@@ -14,0 +14,0 @@ * Global values: `ReactDOM`, `ReactDOMServer`

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