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

@babel/eslint-plugin

Package Overview
Dependencies
Maintainers
6
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/eslint-plugin - npm Package Compare versions

Comparing version 7.11.3 to 7.11.5

8

lib/rules/no-invalid-this.js

@@ -17,8 +17,8 @@ "use strict";

var _default = _eslintRuleComposer.default.filterReports(noInvalidThisRule, problem => {
let inClassProperty = false;
let inClassMember = false;
let node = problem.node;
while (node) {
if (node.type === "ClassProperty" || node.type === "ClassPrivateProperty") {
inClassProperty = true;
if (node.type === "ClassPrivateMethod" || node.type === "ClassPrivateProperty" || node.type === "ClassProperty") {
inClassMember = true;
return;

@@ -30,5 +30,5 @@ }

return !inClassProperty;
return !inClassMember;
});
exports.default = _default;
{
"name": "@babel/eslint-plugin",
"version": "7.11.3",
"version": "7.11.5",
"description": "Companion rules for @babel/eslint-parser",

@@ -46,3 +46,3 @@ "main": "./lib/index.js",

},
"gitHead": "57b658c4d83db6874dd3d72a5a653c5b2cec6e78"
}
"gitHead": "af64ccb2b00bc7574943674996c2f0507cdbfb6f"
}
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