@typescript-eslint/parser
Advanced tools
| export { parse, parseForESLint, ParserOptions } from './parser'; | ||
| export { ParserServices, ParserServicesWithTypeInformation, ParserServicesWithoutTypeInformation, clearCaches, createProgram, } from '@typescript-eslint/typescript-estree'; | ||
| export declare const version: string; | ||
| export declare const meta: { | ||
| name: string; | ||
| version: string; | ||
| }; | ||
| //# sourceMappingURL=index.d.ts.map |
| import type { ScopeManager } from '@typescript-eslint/scope-manager'; | ||
| import type { TSESTree } from '@typescript-eslint/types'; | ||
| import { ParserOptions } from '@typescript-eslint/types'; | ||
| import type { ParserServices } from '@typescript-eslint/typescript-estree'; | ||
| import { visitorKeys } from '@typescript-eslint/visitor-keys'; | ||
| import type * as ts from 'typescript'; | ||
| interface ParseForESLintResult { | ||
| ast: TSESTree.Program & { | ||
| range?: [ | ||
| number, | ||
| number | ||
| ]; | ||
| tokens?: TSESTree.Token[]; | ||
| comments?: TSESTree.Comment[]; | ||
| }; | ||
| services: ParserServices; | ||
| visitorKeys: typeof visitorKeys; | ||
| scopeManager: ScopeManager; | ||
| } | ||
| declare function parse(code: ts.SourceFile | string, options?: ParserOptions): ParseForESLintResult['ast']; | ||
| declare function parseForESLint(code: ts.SourceFile | string, options?: ParserOptions | null): ParseForESLintResult; | ||
| export { parse, parseForESLint, ParserOptions }; | ||
| //# sourceMappingURL=parser.d.ts.map |
+6
-11
| { | ||
| "name": "@typescript-eslint/parser", | ||
| "version": "6.5.0", | ||
| "version": "6.2.1", | ||
| "description": "An ESLint custom parser which leverages TypeScript ESTree", | ||
@@ -54,15 +54,10 @@ "files": [ | ||
| "dependencies": { | ||
| "@typescript-eslint/scope-manager": "6.5.0", | ||
| "@typescript-eslint/types": "6.5.0", | ||
| "@typescript-eslint/typescript-estree": "6.5.0", | ||
| "@typescript-eslint/visitor-keys": "6.5.0", | ||
| "@typescript-eslint/scope-manager": "6.2.1", | ||
| "@typescript-eslint/types": "6.2.1", | ||
| "@typescript-eslint/typescript-estree": "6.2.1", | ||
| "@typescript-eslint/visitor-keys": "6.2.1", | ||
| "debug": "^4.3.4" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/glob": "*", | ||
| "downlevel-dts": "*", | ||
| "glob": "*", | ||
| "jest": "29.6.2", | ||
| "prettier": "^2.8.4", | ||
| "rimraf": "*", | ||
| "typescript": "*" | ||
@@ -86,3 +81,3 @@ }, | ||
| }, | ||
| "gitHead": "4f34d0ba34474926ba1eed623704b583a037f886" | ||
| "gitHead": "948b0614626c1c737ec30106425ef4a9b8c33dbf" | ||
| } |
18976
7.26%2
-71.43%13
18.18%202
18.13%+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed