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

@eslint-react/var

Package Overview
Dependencies
Maintainers
1
Versions
814
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eslint-react/var - npm Package Compare versions

Comparing version 1.23.3-next.5 to 1.23.3-next.6

8

dist/index.js

@@ -44,6 +44,6 @@ 'use strict';

const scope = scopeManager.acquire(node, inner);
if (scope) {
if (scope != null) {
return scope;
}
if (parent) {
if (parent != null) {
return getScope(parent, scopeManager);

@@ -84,3 +84,3 @@ }

return def.node;
case ("init" in def.node && def.node.init && !("declarations" in def.node.init)):
case ("init" in def.node && def.node.init != null && !("declarations" in def.node.init)):
return def.node.init;

@@ -109,3 +109,3 @@ default:

const { node, parent } = latestDef.value;
if (node.type === types.AST_NODE_TYPES.VariableDeclarator && node.init) {
if (node.type === types.AST_NODE_TYPES.VariableDeclarator && node.init != null) {
const { init } = node;

@@ -112,0 +112,0 @@ if (init.type === types.AST_NODE_TYPES.MemberExpression && init.object.type === types.AST_NODE_TYPES.Identifier) {

{
"name": "@eslint-react/var",
"version": "1.23.3-next.5",
"version": "1.23.3-next.6",
"description": "ESLint React's TSESTree AST utility module for static analysis of variables",

@@ -41,5 +41,5 @@ "homepage": "https://github.com/rEl1cx/eslint-react",

"ts-pattern": "^5.6.0",
"@eslint-react/ast": "1.23.3-next.5",
"@eslint-react/types": "1.23.3-next.5",
"@eslint-react/eff": "1.23.3-next.5"
"@eslint-react/ast": "1.23.3-next.6",
"@eslint-react/eff": "1.23.3-next.6",
"@eslint-react/types": "1.23.3-next.6"
},

@@ -46,0 +46,0 @@ "devDependencies": {

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