Socket
Socket
Sign inDemoInstall

eslint-plugin-jest

Package Overview
Dependencies
Maintainers
11
Versions
325
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-jest - npm Package Compare versions

Comparing version 26.8.2 to 26.8.3

2

lib/rules/unbound-method.js

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

messages: {
// eslint-disable-next-line eslint-plugin/no-unused-message-ids
unbound: DEFAULT_MESSAGE,
// eslint-disable-next-line eslint-plugin/no-unused-message-ids
unboundWithoutThisAnnotation: DEFAULT_MESSAGE

@@ -54,0 +52,0 @@ },

18

lib/rules/utils/parseJestFnCall.js

@@ -84,2 +84,4 @@ "use strict";

const parseJestFnCallCache = new WeakMap();
const parseJestFnCall = (node, context) => {

@@ -98,2 +100,16 @@ const jestFnCall = parseJestFnCallWithReason(node, context);

const parseJestFnCallWithReason = (node, context) => {
let parsedJestFnCall = parseJestFnCallCache.get(node);
if (parsedJestFnCall) {
return parsedJestFnCall;
}
parsedJestFnCall = parseJestFnCallWithReasonInner(node, context);
parseJestFnCallCache.set(node, parsedJestFnCall);
return parsedJestFnCall;
};
exports.parseJestFnCallWithReason = parseJestFnCallWithReason;
const parseJestFnCallWithReasonInner = (node, context) => {
var _resolved$original, _node$parent2, _node$parent3;

@@ -184,4 +200,2 @@

exports.parseJestFnCallWithReason = parseJestFnCallWithReason;
const findModifiersAndMatcher = members => {

@@ -188,0 +202,0 @@ const modifiers = [];

{
"name": "eslint-plugin-jest",
"version": "26.8.2",
"version": "26.8.3",
"description": "ESLint rules for Jest",

@@ -123,3 +123,3 @@ "keywords": [

"eslint-plugin-eslint-comments": "^3.1.2",
"eslint-plugin-eslint-plugin": "^5.0.0",
"eslint-plugin-eslint-plugin": "^4.0.0",
"eslint-plugin-import": "^2.25.1",

@@ -126,0 +126,0 @@ "eslint-plugin-node": "^11.0.0",

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