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

eslint-plugin-eslint-plugin

Package Overview
Dependencies
Maintainers
2
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-eslint-plugin - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

10

lib/utils.js

@@ -100,3 +100,4 @@ 'use strict';

if (interestingKeys.has(keyValue)) {
parsedProps[keyValue] = prop.value;
// In TypeScript, unwrap any usage of `{} as const`.
parsedProps[keyValue] = prop.value.type === 'TSAsExpression' ? prop.value.expression : prop.value;
}

@@ -471,2 +472,6 @@ return parsedProps;

.map(suggestObjNode => {
if (suggestObjNode.type !== 'ObjectExpression') {
// Ignore non-objects (like variables or function calls).
return null;
}
return {

@@ -478,4 +483,3 @@ messageId: findObjectPropertyValueByKeyName(suggestObjNode, 'messageId'),

};
}
),
}).filter(item => item !== null),
];

@@ -482,0 +486,0 @@ },

{
"name": "eslint-plugin-eslint-plugin",
"version": "4.0.0",
"version": "4.0.1",
"description": "An ESLint plugin for linting ESLint plugins",

@@ -5,0 +5,0 @@ "author": "Teddy Katz",

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