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 18.0.7 to 18.3.0

6

react-test-renderer/index.d.ts

@@ -45,2 +45,6 @@ import { ElementType, ReactElement } from "react";

}
/**
* @deprecated See https://react.dev/warnings/react-test-renderer
*/
export function create(nextElement: ReactElement, options?: TestRendererOptions): ReactTestRenderer;

@@ -63,2 +67,3 @@

* @see https://reactjs.org/blog/2019/02/06/react-v16.8.0.html#testing-hooks
* @deprecated See https://react.dev/warnings/react-test-renderer
*/

@@ -77,2 +82,3 @@ // VoidOrUndefinedOnly is here to forbid any sneaky return values

* @see https://reactjs.org/blog/2019/02/06/react-v16.8.0.html#testing-hooks
* @deprecated See https://react.dev/warnings/react-test-renderer
*/

@@ -79,0 +85,0 @@ export function act(callback: () => VoidOrUndefinedOnly): DebugPromiseLike;

6

react-test-renderer/package.json
{
"name": "@types/react-test-renderer",
"version": "18.0.7",
"version": "18.3.0",
"description": "TypeScript definitions for react-test-renderer",

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

},
"typesPublisherContentHash": "c352588848385f8a938b668c9d9606a0167f800f65945db3cfa6f171dec65ca4",
"typeScriptVersion": "4.5"
"typesPublisherContentHash": "416f2ed084714e5045bc6a1e9f08fe17975ff77553b8d0906adb33c88dde550a",
"typeScriptVersion": "4.7"
}

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

### Additional Details
* Last updated: Wed, 22 Nov 2023 00:24:48 GMT
* Last updated: Thu, 25 Apr 2024 20:07:03 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)

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

@@ -21,3 +21,4 @@ import { ReactElement, ReactInstance } from "react";

* Call this in your tests to create a shallow renderer.
* @deprecated See https://react.dev/warnings/react-test-renderer
*/
export function createRenderer(): ShallowRenderer;
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