Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@eslint-react/core

Package Overview
Dependencies
Maintainers
1
Versions
2344
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eslint-react/core - npm Package Compare versions

Comparing version
3.0.0-next.58
to
3.0.0-next.59
+2
-2
dist/index.d.ts

@@ -135,4 +135,2 @@ import * as ast from "@eslint-react/ast";

name: unit | string;
/** The AST node */
node: TSESTree.Node;
/** The flag of the node */

@@ -142,2 +140,4 @@ flag: bigint;

hint: bigint;
/** The AST node */
node: TSESTree.Node;
}

@@ -144,0 +144,0 @@ //#endregion

@@ -1,2 +0,2 @@

import { findImportSource, findProperty, findVariable, getVariableInitializer } from "@eslint-react/var";
import { findImportSource, findVariable, getVariableInitializer } from "@eslint-react/var";
import * as ast from "@eslint-react/ast";

@@ -287,7 +287,7 @@ import { constFalse, constTrue, dual, flip, getOrElseUpdate, identity, unit } from "@eslint-react/eff";

name: ast.getFullyQualifiedName(id, getText),
node,
directives: [],
flag: 0n,
hint: 0n,
hookCalls: []
hookCalls: [],
node
});

@@ -374,6 +374,6 @@ };

const initNode = getVariableInitializer(findVariable(attr.argument.name, scope), 0);
if (initNode?.type === AST_NODE_TYPES.ObjectExpression) return findProperty(name, initNode.properties, scope) != null;
if (initNode?.type === AST_NODE_TYPES.ObjectExpression) return ast.findProperty(initNode.properties, name) != null;
return false;
}
case AST_NODE_TYPES.ObjectExpression: return findProperty(name, attr.argument.properties, scope) != null;
case AST_NODE_TYPES.ObjectExpression: return ast.findProperty(attr.argument.properties, name) != null;
}

@@ -1012,3 +1012,2 @@ return false;

name,
node,
directives,

@@ -1023,2 +1022,3 @@ displayName: unit,

isExportDefaultDeclaration,
node,
rets: []

@@ -1110,7 +1110,7 @@ };

name,
node,
displayName: unit,
flag,
hint: 0n,
methods: []
methods: [],
node
});

@@ -1117,0 +1117,0 @@ };

{
"name": "@eslint-react/core",
"version": "3.0.0-next.58",
"version": "3.0.0-next.59",
"description": "ESLint React's ESLint utility module for static analysis of React core APIs and patterns.",

@@ -37,6 +37,6 @@ "homepage": "https://github.com/Rel1cx/eslint-react",

"ts-pattern": "^5.9.0",
"@eslint-react/ast": "3.0.0-next.58",
"@eslint-react/eff": "3.0.0-next.58",
"@eslint-react/shared": "3.0.0-next.58",
"@eslint-react/var": "3.0.0-next.58"
"@eslint-react/ast": "3.0.0-next.59",
"@eslint-react/eff": "3.0.0-next.59",
"@eslint-react/var": "3.0.0-next.59",
"@eslint-react/shared": "3.0.0-next.59"
},

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