Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/react-test-renderer

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-test-renderer - npm Package Compare versions

Comparing version 16.9.4 to 16.9.5

15

react-test-renderer v16.9/index.d.ts

@@ -13,2 +13,3 @@ // Type definitions for react-test-renderer 16.9

import { ReactElement, ElementType } from 'react';
export {};

@@ -58,2 +59,7 @@ // extracted from:

// VoidOrUndefinedOnly is here to forbid any sneaky "Promise" returns.
// the actual return value is always a "DebugPromiseLike".
declare const UNDEFINED_VOID_ONLY: unique symbol;
// tslint:disable-next-line: void-return
type VoidOrUndefinedOnly = void | { [UNDEFINED_VOID_ONLY]: never };
/**

@@ -70,5 +76,4 @@ * Wrap any code rendering and triggering updates to your components into `act()` calls.

*/
// the "void | undefined" is here to forbid any sneaky return values
// tslint:disable-next-line: void-return
export function act(callback: () => Promise<void | undefined>): Promise<undefined>;
// VoidOrUndefinedOnly is here to forbid any sneaky return values
export function act(callback: () => Promise<VoidOrUndefinedOnly>): Promise<undefined>;
/**

@@ -85,5 +90,3 @@ * Wrap any code rendering and triggering updates to your components into `act()` calls.

*/
// the "void | undefined" is here to forbid any sneaky "Promise" returns.
// the actual return value is always a "DebugPromiseLike".
export function act(callback: () => void | undefined): DebugPromiseLike;
export function act(callback: () => VoidOrUndefinedOnly): DebugPromiseLike;

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

6

react-test-renderer v16.9/package.json
{
"name": "@types/react-test-renderer",
"version": "16.9.4",
"version": "16.9.5",
"description": "TypeScript definitions for react-test-renderer",

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

},
"typesPublisherContentHash": "c5ab3c14bc16c650947031e4533a8f305e8efede423a6ecf0ef77a768888df25",
"typeScriptVersion": "3.3"
"typesPublisherContentHash": "8b675bac571298a24f9a4d36e66766d9428b155826e29fb5b8dcca003b75857a",
"typeScriptVersion": "3.4"
}

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

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

@@ -14,0 +14,0 @@ * Global values: none

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