Socket
Socket
Sign inDemoInstall

@testing-library/dom

Package Overview
Dependencies
Maintainers
10
Versions
228
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@testing-library/dom - npm Package Compare versions

Comparing version 5.5.0 to 5.5.1

dist/__tests__/get-node-text.js

4

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

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

config = _extends({}, config, newConfig);
config = _extends({}, config, {}, newConfig);
}

@@ -1686,3 +1686,3 @@ function getConfig() {

createEvent[key] = function (node, init) {
var eventInit = _extends({}, defaultInit, init);
var eventInit = _extends({}, defaultInit, {}, init);

@@ -1689,0 +1689,0 @@ var _eventInit$target = eventInit.target;

@@ -175,3 +175,3 @@ import _extends from '@babel/runtime/helpers/esm/extends';

config = _extends({}, config, newConfig);
config = _extends({}, config, {}, newConfig);
}

@@ -1680,3 +1680,3 @@ function getConfig() {

createEvent[key] = function (node, init) {
var eventInit = _extends({}, defaultInit, init);
var eventInit = _extends({}, defaultInit, {}, init);

@@ -1683,0 +1683,0 @@ var _eventInit$target = eventInit.target;

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

config = (0, _extends2.default)({}, config, newConfig);
config = (0, _extends2.default)({}, config, {}, newConfig);
}

@@ -39,0 +39,0 @@

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

createEvent[key] = (node, init) => {
const eventInit = (0, _extends2.default)({}, defaultInit, init);
const eventInit = (0, _extends2.default)({}, defaultInit, {}, init);
const {

@@ -621,0 +621,0 @@ target: {

{
"name": "@testing-library/dom",
"version": "5.5.0",
"version": "5.5.1",
"description": "Simple and complete DOM testing utilities that encourage good testing practices.",

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

@@ -0,4 +1,7 @@

import {Options} from 'pretty-format'
export function prettyDOM(
element: HTMLElement,
maxLength?: number,
options?: Options,
): string | false

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