Socket
Socket
Sign inDemoInstall

@testing-library/react

Package Overview
Dependencies
Maintainers
15
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@testing-library/react - npm Package Compare versions

Comparing version 15.0.0 to 15.0.1

2

dist/@testing-library/react.cjs.js

@@ -36,3 +36,3 @@ 'use strict';

const reactAct = React__namespace.act ?? DeprecatedReactTestUtils__namespace.act;
const reactAct = typeof React__namespace.act === 'function' ? React__namespace.act : DeprecatedReactTestUtils__namespace.act;
function getGlobalThis() {

@@ -39,0 +39,0 @@ /* istanbul ignore else */

@@ -8,3 +8,3 @@ import * as React from 'react';

const reactAct = React.act ?? DeprecatedReactTestUtils.act;
const reactAct = typeof React.act === 'function' ? React.act : DeprecatedReactTestUtils.act;
function getGlobalThis() {

@@ -11,0 +11,0 @@ /* istanbul ignore else */

@@ -36,3 +36,3 @@ 'use strict';

const reactAct = React__namespace.act ?? DeprecatedReactTestUtils__namespace.act;
const reactAct = typeof React__namespace.act === 'function' ? React__namespace.act : DeprecatedReactTestUtils__namespace.act;
function getGlobalThis() {

@@ -39,0 +39,0 @@ /* istanbul ignore else */

@@ -8,3 +8,3 @@ import * as React from 'react';

const reactAct = React.act ?? DeprecatedReactTestUtils.act;
const reactAct = typeof React.act === 'function' ? React.act : DeprecatedReactTestUtils.act;
function getGlobalThis() {

@@ -11,0 +11,0 @@ /* istanbul ignore else */

@@ -13,3 +13,3 @@ "use strict";

function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
const reactAct = React.act ?? DeprecatedReactTestUtils.act;
const reactAct = typeof React.act === 'function' ? React.act : DeprecatedReactTestUtils.act;
function getGlobalThis() {

@@ -16,0 +16,0 @@ /* istanbul ignore else */

{
"name": "@testing-library/react",
"version": "15.0.0",
"version": "15.0.1",
"description": "Simple and complete React DOM testing utilities that encourage good testing practices.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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