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

@testing-library/react

Package Overview
Dependencies
Maintainers
13
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 13.2.0 to 13.3.0

6

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

@@ -46,2 +46,8 @@ 'use strict';

/* istanbul ignore else */
if (typeof globalThis !== 'undefined') {
return globalThis;
}
/* istanbul ignore next */
if (typeof self !== 'undefined') {

@@ -48,0 +54,0 @@ return self;

@@ -15,2 +15,8 @@ import * as testUtils from 'react-dom/test-utils';

/* istanbul ignore else */
if (typeof globalThis !== 'undefined') {
return globalThis;
}
/* istanbul ignore next */
if (typeof self !== 'undefined') {

@@ -17,0 +23,0 @@ return self;

@@ -46,2 +46,8 @@ 'use strict';

/* istanbul ignore else */
if (typeof globalThis !== 'undefined') {
return globalThis;
}
/* istanbul ignore next */
if (typeof self !== 'undefined') {

@@ -48,0 +54,0 @@ return self;

@@ -15,2 +15,8 @@ import _extends from '@babel/runtime/helpers/esm/extends';

/* istanbul ignore else */
if (typeof globalThis !== 'undefined') {
return globalThis;
}
/* istanbul ignore next */
if (typeof self !== 'undefined') {

@@ -17,0 +23,0 @@ return self;

@@ -20,2 +20,8 @@ "use strict";

/* istanbul ignore else */
if (typeof globalThis !== 'undefined') {
return globalThis;
}
/* istanbul ignore next */
if (typeof self !== 'undefined') {

@@ -22,0 +28,0 @@ return self;

5

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

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

"extends": "./node_modules/kcd-scripts/eslint.js",
"globals": {
"globalThis": "readonly"
},
"rules": {

@@ -70,0 +73,0 @@ "react/prop-types": "off",

dist/@testing-library/react.pure.umd.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