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 14.3.0 to 15.0.0

3

dist/index.js

@@ -18,3 +18,2 @@ "use strict";

});
var _process$env;
// if we're running in a test runner that supports afterEach

@@ -25,3 +24,3 @@ // or teardown then we'll automatically run cleanup afterEach test

// or set the RTL_SKIP_AUTO_CLEANUP env variable to 'true'.
if (typeof process === 'undefined' || !((_process$env = process.env) != null && _process$env.RTL_SKIP_AUTO_CLEANUP)) {
if (typeof process === 'undefined' || !process.env?.RTL_SKIP_AUTO_CLEANUP) {
// ignore teardown() in code coverage because Jest does not support it

@@ -28,0 +27,0 @@ /* istanbul ignore else */

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

@@ -9,3 +9,3 @@ "main": "dist/index.js",

"engines": {
"node": ">=14"
"node": ">=18"
},

@@ -50,3 +50,3 @@ "scripts": {

"@babel/runtime": "^7.12.5",
"@testing-library/dom": "^9.0.0",
"@testing-library/dom": "^10.0.0",
"@types/react-dom": "^18.0.0"

@@ -53,0 +53,0 @@ },

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