🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@eslint-react/ast

Package Overview
Dependencies
Maintainers
1
Versions
2621
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eslint-react/ast - npm Package Compare versions

Comparing version
5.9.4
to
5.9.5
+13
-0
dist/index.js

@@ -280,2 +280,15 @@ import { t as __exportAll } from "./rolldown-runtime-w6R9maHv.js";

case a.type === AST_NODE_TYPES.MemberExpression && b.type === AST_NODE_TYPES.MemberExpression: return isEqual(a.property, b.property) && isEqual(a.object, b.object);
case a.type === AST_NODE_TYPES.CallExpression && b.type === AST_NODE_TYPES.CallExpression: {
if (a.optional !== b.optional) return false;
if (a.arguments.length !== b.arguments.length) return false;
if (!isEqual(a.callee, b.callee)) return false;
let i = a.arguments.length;
while (i--) {
const argA = a.arguments[i];
const argB = b.arguments[i];
if (argA == null || argB == null) return false;
if (!isEqual(argA, argB)) return false;
}
return true;
}
case a.type === AST_NODE_TYPES.JSXIdentifier && b.type === AST_NODE_TYPES.JSXIdentifier: return a.name === b.name;

@@ -282,0 +295,0 @@ case a.type === AST_NODE_TYPES.JSXNamespacedName && b.type === AST_NODE_TYPES.JSXNamespacedName: return isEqual(a.namespace, b.namespace) && isEqual(a.name, b.name);

+1
-1
{
"name": "@eslint-react/ast",
"version": "5.9.4",
"version": "5.9.5",
"description": "ESLint React's TSESTree AST utility module.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/Rel1cx/eslint-react",