Socket
Socket
Sign inDemoInstall

@types/react-dom

Package Overview
Dependencies
Maintainers
1
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-dom - npm Package Compare versions

Comparing version 16.9.10 to 16.9.11

6

react-dom v16.9/package.json
{
"name": "@types/react-dom",
"version": "16.9.10",
"version": "16.9.11",
"description": "TypeScript definitions for React (react-dom)",

@@ -46,4 +46,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "b3dc35f6cba8c8e84942dfeb8730abacde16f3e2ffa6b7ca7fc59ebdf60db1cf",
"typeScriptVersion": "3.3"
"typesPublisherContentHash": "550ed1e4b6475591e135170a4c9ac8e70c518caca3a624a72c549b32c25a5ef3",
"typeScriptVersion": "3.4"
}

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

### Additional Details
* Last updated: Fri, 20 Nov 2020 22:01:05 GMT
* Last updated: Fri, 12 Feb 2021 18:02:48 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)

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

@@ -10,2 +10,3 @@ import {

export {};
export interface OptionalEventProperties {

@@ -292,8 +293,10 @@ bubbles?: boolean;

// - the order of these signatures matters - typescript will check the signatures in source order.
// If the `() => void` signature is first, it'll erroneously match a Promise returning function for users with
// If the `() => VoidOrUndefinedOnly` signature is first, it'll erroneously match a Promise returning function for users with
// `strictNullChecks: false`.
// - the "void | undefined" types are there to forbid any non-void return values for users with `strictNullChecks: true`
// - VoidOrUndefinedOnly is there to forbid any non-void return values for users with `strictNullChecks: true`
declare const UNDEFINED_VOID_ONLY: unique symbol;
// tslint:disable-next-line: void-return
export function act(callback: () => Promise<void | undefined>): Promise<undefined>;
export function act(callback: () => void | undefined): void;
type VoidOrUndefinedOnly = void | { [UNDEFINED_VOID_ONLY]: never };
export function act(callback: () => Promise<VoidOrUndefinedOnly>): Promise<undefined>;
export function act(callback: () => VoidOrUndefinedOnly): void;

@@ -300,0 +303,0 @@ // Intentionally doesn't extend PromiseLike<never>.

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