Socket
Socket
Sign inDemoInstall

eslint-plugin-jest-dom

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-jest-dom - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

6

dist/rules/prefer-in-document.js

@@ -73,3 +73,7 @@ "use strict";

}) {
// only report on dom nodes which we can resolve to RTL queries.
if (matcherNode.parent.parent.type !== "CallExpression") {
return;
} // only report on dom nodes which we can resolve to RTL queries.
if (!queryNode || !queryNode.name && !queryNode.property) return; // toHaveLength() is only invalid with 0 or 1

@@ -76,0 +80,0 @@

4

package.json
{
"name": "eslint-plugin-jest-dom",
"version": "4.0.0",
"version": "4.0.1",
"description": "ESLint plugin to follow best practices and anticipate common mistakes when writing tests with jest-dom",

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

"@babel/runtime": "^7.16.3",
"@testing-library/dom": "^7.31.2",
"@testing-library/dom": "^8.11.1",
"requireindex": "^1.2.0"

@@ -47,0 +47,0 @@ },

@@ -15,6 +15,3 @@ <div align="center">

[![MIT License][license-badge]][license]
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-17-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->
[![All Contributors][all-contributors-badge]](#contributors-)
[![PRs Welcome][prs-badge]][prs]

@@ -187,4 +184,4 @@ [![Code of Conduct][coc-badge]][coc]

[node]: https://nodejs.org
[build-badge]: https://img.shields.io/travis/testing-library/eslint-plugin-jest-dom.svg?style=flat-square
[build]: https://travis-ci.org/testing-library/eslint-plugin-jest-dom
[build-badge]: https://img.shields.io/github/workflow/status/testing-library/eslint-plugin-jest-dom/validate?logo=github&style=flat-square
[build]: https://github.com/testing-library/eslint-plugin-jest-dom/actions?query=workflow%3Avalidate
[coverage-badge]: https://img.shields.io/codecov/c/github/testing-library/eslint-plugin-jest-dom.svg?style=flat-square

@@ -204,2 +201,3 @@ [coverage]: https://codecov.io/github/testing-library/eslint-plugin-jest-dom

[all-contributors]: https://github.com/all-contributors/all-contributors
[all-contributors-badge]: https://img.shields.io/github/all-contributors/testing-library/eslint-plugin-jest-dom?color=orange&style=flat-square
[bugs]: https://github.com/testing-library/eslint-plugin-jest-dom/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+sort%3Acreated-desc+label%3Abug

@@ -206,0 +204,0 @@ [requests]: https://github.com/testing-library/eslint-plugin-jest-dom/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3Aenhancement

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