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

@testing-library/jest-dom

Package Overview
Dependencies
Maintainers
13
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@testing-library/jest-dom - npm Package Compare versions

Comparing version 5.16.4 to 5.16.5

6

dist/utils.js

@@ -23,6 +23,6 @@ "use strict";

var _parse = _interopRequireDefault(require("css/lib/parse"));
var _isEqual = _interopRequireDefault(require("lodash/isEqual"));
var _cssTools = require("@adobe/css-tools");
class GenericTypeError extends Error {

@@ -110,3 +110,3 @@ constructor(expectedString, received, matcherFn, context) {

function parseCSS(css, ...args) {
const ast = (0, _parse.default)(`selector { ${css} }`, {
const ast = (0, _cssTools.parse)(`selector { ${css} }`, {
silent: true

@@ -113,0 +113,0 @@ }).stylesheet;

{
"name": "@testing-library/jest-dom",
"version": "5.16.4",
"version": "5.16.5",
"description": "Custom jest matchers to test the state of the DOM",

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

"chalk": "^3.0.0",
"css": "^3.0.0",
"@adobe/css-tools": "^4.0.1",
"css.escape": "^1.5.1",

@@ -41,0 +41,0 @@ "dom-accessibility-api": "^0.5.6",

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