You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@eslint-react/ast

Package Overview
Dependencies
Maintainers
1
Versions
2382
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
3.0.0-beta.77
to
3.0.0-beta.78
+7
-7
dist/index.d.ts

@@ -58,3 +58,3 @@ import { AST_NODE_TYPES, TSESTree } from "@typescript-eslint/types";

/**
* Represents a directive expression statement in TSESTree (e.g., "use strict";)
* Represents a directive expression statement in TSESTree (ex: "use strict";)
*/

@@ -160,3 +160,3 @@ type TSESTreeDirective = TSESTree$1.ExpressionStatement & {

* @param node The program AST node
* @returns The array of directive string literals (e.g., "use strict")
* @returns The array of directive string literals (ex: "use strict")
*/

@@ -167,3 +167,3 @@ declare function getFileDirectives(node: TSESTree.Program): TSESTreeDirective[];

* @param node The program or function AST node
* @param name The directive name to check (e.g., "use strict", "use memo", "use no memo")
* @param name The directive name to check (ex: "use strict", "use memo", "use no memo")
* @returns True if the directive exists, false otherwise

@@ -177,3 +177,3 @@ */

* @param node The function AST node
* @returns The array of directive string literals (e.g., "use memo", "use no memo")
* @returns The array of directive string literals (ex: "use memo", "use no memo")
*/

@@ -184,3 +184,3 @@ declare function getFunctionDirectives(node: TSESTreeFunction): TSESTreeDirective[];

* @param node The function AST node
* @param name The directive name to check (e.g., "use memo", "use no memo")
* @param name The directive name to check (ex: "use memo", "use no memo")
* @returns True if the directive exists, false otherwise

@@ -222,3 +222,3 @@ */

*
* @param callName The name of the call to check for (e.g., "memo", "forwardRef")
* @param callName The name of the call to check for (ex: "memo", "forwardRef")
* @param initPath The function initialization path to search in

@@ -265,3 +265,3 @@ * @returns True if the call exists in the path, false otherwise

* @param node The expression to analyze
* @returns The root Identifier node, or null if it cannot be determined (e.g. non-identifier root)
* @returns The root Identifier node, or null if it cannot be determined (ex: non-identifier root)
*/

@@ -268,0 +268,0 @@ declare function getRootIdentifier(node: TSESTree.Expression | TSESTree.PrivateIdentifier): TSESTree.Identifier | null;

@@ -575,3 +575,3 @@ import { AST_NODE_TYPES, TSESTree } from "@typescript-eslint/types";

* @param node The program AST node
* @returns The array of directive string literals (e.g., "use strict")
* @returns The array of directive string literals (ex: "use strict")
*/

@@ -589,3 +589,3 @@ function getFileDirectives(node) {

* @param node The program or function AST node
* @param name The directive name to check (e.g., "use strict", "use memo", "use no memo")
* @param name The directive name to check (ex: "use strict", "use memo", "use no memo")
* @returns True if the directive exists, false otherwise

@@ -602,3 +602,3 @@ */

* @param node The function AST node
* @returns The array of directive string literals (e.g., "use memo", "use no memo")
* @returns The array of directive string literals (ex: "use memo", "use no memo")
*/

@@ -617,3 +617,3 @@ function getFunctionDirectives(node) {

* @param node The function AST node
* @param name The directive name to check (e.g., "use memo", "use no memo")
* @param name The directive name to check (ex: "use memo", "use no memo")
* @returns True if the directive exists, false otherwise

@@ -705,3 +705,3 @@ */

*
* @param callName The name of the call to check for (e.g., "memo", "forwardRef")
* @param callName The name of the call to check for (ex: "memo", "forwardRef")
* @param initPath The function initialization path to search in

@@ -768,3 +768,3 @@ * @returns True if the call exists in the path, false otherwise

* @param node The expression to analyze
* @returns The root Identifier node, or null if it cannot be determined (e.g. non-identifier root)
* @returns The root Identifier node, or null if it cannot be determined (ex: non-identifier root)
*/

@@ -771,0 +771,0 @@ function getRootIdentifier(node) {

{
"name": "@eslint-react/ast",
"version": "3.0.0-beta.77",
"version": "3.0.0-beta.78",
"description": "ESLint React's TSESTree AST utility module.",

@@ -39,3 +39,3 @@ "homepage": "https://github.com/Rel1cx/eslint-react",

"devDependencies": {
"tsdown": "^0.21.0-beta.2",
"tsdown": "^0.21.0",
"@local/configs": "0.0.0",

@@ -42,0 +42,0 @@ "@local/eff": "3.0.0-beta.72"