๐Ÿš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more โ†’
Socket
DemoInstallSign in
Socket

@typescript-eslint/utils

Package Overview
Dependencies
Maintainers
2
Versions
2509
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typescript-eslint/utils - npm Package Compare versions

Comparing version

to
8.32.2-alpha.6

4

dist/ts-eslint/Rule.d.ts

@@ -594,6 +594,6 @@ import type { JSONSchema4 } from '../json-schema';

*/
export type LooseRuleDefinition = {
export type LooseRuleDefinition = LooseRuleCreateFunction | {
create: LooseRuleCreateFunction;
meta?: object | undefined;
} | LooseRuleCreateFunction;
};
export type LooseRuleCreateFunction = (context: any) => Record<string, Function | undefined>;

@@ -600,0 +600,0 @@ export type RuleCreateFunction<MessageIds extends string = never, Options extends readonly unknown[] = unknown[]> = (context: Readonly<RuleContext<MessageIds, Options>>) => RuleListener;

@@ -322,3 +322,3 @@ import type { ParserServices, TSESTree } from '../ts-estree';

} ? GetFilterPredicateFromOptions<T, TSESTree.Token> : GetFilterPredicateFromOptions<T, Exclude<TSESTree.Token, TSESTree.Comment>>;
type CursorWithSkipOptions = number | {
type CursorWithSkipOptions = number | FilterPredicate | {
/**

@@ -336,4 +336,4 @@ * The predicate function to choose tokens.

skip?: number;
} | FilterPredicate;
type CursorWithCountOptions = number | {
};
type CursorWithCountOptions = number | FilterPredicate | {
/**

@@ -351,3 +351,3 @@ * The maximum count of tokens the cursor iterates.

includeComments?: boolean;
} | FilterPredicate;
};
}

@@ -354,0 +354,0 @@ declare const SourceCode_base: typeof SourceCodeBase;

{
"name": "@typescript-eslint/utils",
"version": "8.32.2-alpha.5",
"version": "8.32.2-alpha.6",
"description": "Utilities for working with TypeScript + ESLint together",

@@ -66,5 +66,5 @@ "files": [

"@eslint-community/eslint-utils": "^4.7.0",
"@typescript-eslint/scope-manager": "8.32.2-alpha.5",
"@typescript-eslint/types": "8.32.2-alpha.5",
"@typescript-eslint/typescript-estree": "8.32.2-alpha.5"
"@typescript-eslint/scope-manager": "8.32.2-alpha.6",
"@typescript-eslint/types": "8.32.2-alpha.6",
"@typescript-eslint/typescript-estree": "8.32.2-alpha.6"
},

@@ -71,0 +71,0 @@ "peerDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet