Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-codemod-utils

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-codemod-utils - npm Package Compare versions

Comparing version 1.8.4 to 1.8.5

10

dist/cjs/types.d.ts

@@ -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'>;

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc