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

@babel/eslint-plugin

Package Overview
Dependencies
Maintainers
4
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.22.10 to 7.23.5

lib/rules/no-undef.cjs

2

package.json
{
"name": "@babel/eslint-plugin",
"version": "7.22.10",
"version": "7.23.5",
"description": "Companion rules for @babel/eslint-parser",

@@ -5,0 +5,0 @@ "main": "./lib/index.cjs",

@@ -31,2 +31,3 @@ # @babel/eslint-plugin

"@babel/no-invalid-this": "error",
"@babel/no-undef": "error",
"@babel/no-unused-expressions": "error",

@@ -47,2 +48,3 @@ "@babel/object-curly-spacing": "error",

- `@babel/no-invalid-this`: handles class fields and private class methods (`class A { a = this.b; }`)
- `@babel/no-undef`: handles class accessor properties (`class A { accessor x = 2 }`)
- `@babel/no-unused-expressions`: handles `do` expressions

@@ -49,0 +51,0 @@ - `@babel/object-curly-spacing`: handles `export * as x from "mod";` (🛠)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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