New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dom-testing-library

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dom-testing-library - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

2

dist/get-node-text.js

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

return Array.from(node.childNodes).filter(function (child) {
return child.nodeType === Node.TEXT_NODE && Boolean(child.textContent);
return child.nodeType === window.Node.TEXT_NODE && Boolean(child.textContent);
}).map(function (c) {

@@ -11,0 +11,0 @@ return c.textContent;

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

timer = setTimeout(onTimeout, timeout);
observer = new MutationObserver(onMutation);
observer = new window.MutationObserver(onMutation);
observer.observe(container, mutationObserverOptions);

@@ -64,0 +64,0 @@ if (callback !== undefined) {

{
"name": "dom-testing-library",
"version": "3.0.1",
"version": "3.0.2",
"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

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