You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@testing-library/dom

Package Overview
Dependencies
Maintainers
12
Versions
228
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.8.0 to 6.8.1

10

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

@@ -772,4 +772,6 @@ 'use strict';

return true;
}
} // this branch is temporary code until jsdom fixes a bug
// istanbul ignore else
if (supportsStyleInheritance === false) {

@@ -934,5 +936,3 @@ // we go bottom-up for an inheritable property so we can only set it

});
return Array.from(container.querySelectorAll('*')).filter(function (element) {
return hidden === false ? isInaccessible(element) === false : true;
}).filter(function (node) {
return Array.from(container.querySelectorAll('*')).filter(function (node) {
var isRoleSpecifiedExplicitly = node.hasAttribute('role');

@@ -948,2 +948,4 @@

});
}).filter(function (element) {
return hidden === false ? isInaccessible(element) === false : true;
});

@@ -950,0 +952,0 @@ }

@@ -766,4 +766,6 @@ import _extends from '@babel/runtime/helpers/esm/extends';

return true;
}
} // this branch is temporary code until jsdom fixes a bug
// istanbul ignore else
if (supportsStyleInheritance === false) {

@@ -928,5 +930,3 @@ // we go bottom-up for an inheritable property so we can only set it

});
return Array.from(container.querySelectorAll('*')).filter(function (element) {
return hidden === false ? isInaccessible(element) === false : true;
}).filter(function (node) {
return Array.from(container.querySelectorAll('*')).filter(function (node) {
var isRoleSpecifiedExplicitly = node.hasAttribute('role');

@@ -942,2 +942,4 @@

});
}).filter(function (element) {
return hidden === false ? isInaccessible(element) === false : true;
});

@@ -944,0 +946,0 @@ }

6

dist/queries/role.js

@@ -26,5 +26,3 @@ "use strict";

});
return Array.from(container.querySelectorAll('*')).filter(element => {
return hidden === false ? (0, _roleHelpers.isInaccessible)(element) === false : true;
}).filter(node => {
return Array.from(container.querySelectorAll('*')).filter(node => {
const isRoleSpecifiedExplicitly = node.hasAttribute('role');

@@ -38,2 +36,4 @@

return implicitRoles.some(implicitRole => matcher(implicitRole, node, role, matchNormalizer));
}).filter(element => {
return hidden === false ? (0, _roleHelpers.isInaccessible)(element) === false : true;
});

@@ -40,0 +40,0 @@ }

@@ -59,4 +59,6 @@ "use strict";

return true;
}
} // this branch is temporary code until jsdom fixes a bug
// istanbul ignore else
if (supportsStyleInheritance === false) {

@@ -63,0 +65,0 @@ // we go bottom-up for an inheritable property so we can only set it

{
"name": "@testing-library/dom",
"version": "6.8.0",
"version": "6.8.1",
"description": "Simple and complete 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc