eslint-codemod-utils
Advanced tools
@@ -1,5 +0,6 @@ | ||
| import type { Node as BaseNode, JSXSpreadChild } from 'estree-jsx'; | ||
| import type { Node as ESTreeNode, JSXSpreadChild } from 'estree-jsx'; | ||
| import type { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/types'; | ||
| export declare type EslintCodemodUtilsBaseNode = BaseNode | { | ||
| type: AST_NODE_TYPES; | ||
| import type { Rule } from 'eslint'; | ||
| export declare type EslintCodemodUtilsBaseNode = ESTreeNode | { | ||
| type: keyof typeof AST_NODE_TYPES; | ||
| } | JSXSpreadChild; | ||
@@ -13,2 +14,3 @@ export declare type WithoutType<T extends EslintCodemodUtilsBaseNode> = Omit<T, 'type'>; | ||
| }>) => StringableASTNode<EstreeNodeType>; | ||
| export declare type EslintNode = EslintCodemodUtilsBaseNode & Pick<TSESTree.BaseNode, 'parent'>; | ||
| export declare type EslintNode = EslintCodemodUtilsBaseNode & Partial<Rule.NodeParentExtension>; | ||
| export declare type TSEslintNode = EslintCodemodUtilsBaseNode & Pick<TSESTree.BaseNode, 'parent'>; |
@@ -1,5 +0,6 @@ | ||
| import type { Node as BaseNode, JSXSpreadChild } from 'estree-jsx'; | ||
| import type { Node as ESTreeNode, JSXSpreadChild } from 'estree-jsx'; | ||
| import type { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/types'; | ||
| export declare type EslintCodemodUtilsBaseNode = BaseNode | { | ||
| type: AST_NODE_TYPES; | ||
| import type { Rule } from 'eslint'; | ||
| export declare type EslintCodemodUtilsBaseNode = ESTreeNode | { | ||
| type: keyof typeof AST_NODE_TYPES; | ||
| } | JSXSpreadChild; | ||
@@ -13,2 +14,3 @@ export declare type WithoutType<T extends EslintCodemodUtilsBaseNode> = Omit<T, 'type'>; | ||
| }>) => StringableASTNode<EstreeNodeType>; | ||
| export declare type EslintNode = EslintCodemodUtilsBaseNode & Pick<TSESTree.BaseNode, 'parent'>; | ||
| export declare type EslintNode = EslintCodemodUtilsBaseNode & Partial<Rule.NodeParentExtension>; | ||
| export declare type TSEslintNode = EslintCodemodUtilsBaseNode & Pick<TSESTree.BaseNode, 'parent'>; |
+1
-1
| { | ||
| "name": "eslint-codemod-utils", | ||
| "version": "1.8.4", | ||
| "version": "1.8.5", | ||
| "description": "A collection of AST helper functions for more complex ESLint rule fixes.", | ||
@@ -5,0 +5,0 @@ "author": "Alex Hinds", |
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
604495
0.05%16856
0.02%