@eslint-react/core
Advanced tools
+2
-2
@@ -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 |
+8
-8
@@ -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 @@ }; |
+5
-5
| { | ||
| "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": { |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
91331
-0.02%+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed