Vigia

Memperbarui @typescript-eslint/typescript-estree dari 7.x ke 8.x

Perbandingan API publik @typescript-eslint/typescript-estree 7.18.0 dan 8.73.0, dihitung otomatis dari tipe TypeScript-nya. Tanda tangan yang berubah adalah kemungkinan perubahan tidak kompatibel, bukan kepastian.

Ringkasan

Jalur impor yang dihapus0
Ekspor yang dihapus0
Tanda tangan yang berubah7
Anggota kelas atau antarmuka yang dihapus0
Anggota kelas atau antarmuka yang berubah2
Baru ditandai usang0
Perubahan persyaratan (engines, dependensi peer)3
Ekspor baru3

Ekspor yang dihapus

Tidak ada yang terdeteksi.

Tanda tangan yang berubah

exportSebelumSesudah
@typescript-eslint/typescript-estree · createProgram(configFile: string, projectDirectory?: string | undefined): ts.Program(configFile: string, projectDirectory?: string | undefined, jsDocParsingMode?: any): ts.Program
@typescript-eslint/typescript-estree · parseAndGenerateServices<T extends TSESTreeOptions = ParseAndGenerateServicesOptions>(code: any, options: T): ParseAndGenerateServicesResult<T><T extends TSESTreeOptions = ParseAndGenerateServicesOptions>(code: any, tsestreeOptions: T): ParseAndGenerateServicesResult<T>
@typescript-eslint/typescript-estree · typescriptVersionIsAtLeastRecord<"4.7" | "4.8" | "4.9" | "5.0" | "5.1" | "5.2" | "5.3" | "5.4", boolean>Record<"4.7" | "4.8" | "4.9" | "5.0" | "5.1" | "5.2" | "5.3" | "5.4" | "5.5" | "5.6" | "5.7" | "5.8" | "5.9" | "6.0" | "6.1", boolean>
@typescript-eslint/typescript-estree · withoutProjectParserOptions(opts: ParseAndGenerateServicesOptions): ParseAndGenerateServicesOptions<Options extends object>(opts: Options): Omit<Options, "EXPERIMENTAL_useProjectService" | "project" | "projectService">
@typescript-eslint/typescript-estree/use-at-your-own-risk · astConverter(ast: SourceFile, parseSettings: Readonly<MutableParseSettings>, shouldPreserveNodeMaps: boolean): { estree: TSESTree.Program; astMaps: ASTMaps; }(ast: SourceFile, parseSettings: Readonly<MutableParseSettings>, shouldPreserveNodeMaps: boolean): { astMaps: ASTMaps; estree: TSESTree.Program; }
@typescript-eslint/typescript-estree/use-at-your-own-risk · ParseSettings{ readonly allowInvalidAST: boolean; readonly code: any; readonly codeFullText: string; readonly comment: boolean; readonly comments: TSESTree.Comment[]; readonly DEPRECATED__createDefaultProgram: boolean; readonly debugLevel: Set<DebugModule>; readonly errorOnTypeScriptSyntacticAndSemanticIssues: boolean; readonly errorOnUnknownASTType: boolean; readonly EXPERIMENTAL_projectService: ProjectServiceSettings | undefined; readonly EXPERIMENTAL_useSourceOfProjectReferenceRedirect: boolean; readonly extraFileExtensions: string[]; readonly filePath: string; readonly jsDocParsingMode: ts.JSDocParsing…{ readonly allowInvalidAST: boolean; readonly backend: "classic" | "tsgo"; readonly code: any; readonly codeFullText: string; readonly comment: boolean; readonly comments: TSESTree.Comment[]; readonly debugLevel: Set<DebugModule>; readonly errorOnTypeScriptSyntacticAndSemanticIssues: boolean; readonly errorOnUnknownASTType: boolean; readonly extraFileExtensions: string[]; readonly filePath: string; readonly setExternalModuleIndicator?: ((file: ts.SourceFile) => void) | undefined; readonly jsDocParsingMode: ts.JSDocParsingMode; readonly jsx: boolean; readonly loc: boolean; readonly log: (messag…
@typescript-eslint/typescript-estree/use-at-your-own-risk · typescriptVersionIsAtLeastRecord<"4.7" | "4.8" | "4.9" | "5.0" | "5.1" | "5.2" | "5.3" | "5.4", boolean>Record<"4.7" | "4.8" | "4.9" | "5.0" | "5.1" | "5.2" | "5.3" | "5.4" | "5.5" | "5.6" | "5.7" | "5.8" | "5.9" | "6.0" | "6.1", boolean>

Anggota kelas atau antarmuka yang dihapus

Tidak ada yang terdeteksi.

Anggota kelas atau antarmuka yang berubah

memberSebelumSesudah
TSError.location{ start: { line: number; column: number; offset: number; }; end: { line: number; column: number; offset: number; }; }{ end: { column: number; line: number; offset: number; }; start: { column: number; line: number; offset: number; }; }
TSError.constructor(message: string, fileName: string, location: { start: { line: number; column: number; offset: number; }; end: { line: number; column: number; offset: number; }; }): TSError(message: string, fileName: string, location: { end: { column: number; line: number; offset: number; }; start: { column: number; line: number; offset: number; }; }): TSError

Baru ditandai usang

Tidak ada yang terdeteksi.

Perubahan persyaratan (engines, dependensi peer)

SebelumSesudah
engines.node^18.18.0 || >=20.0.0^18.18.0 || ^20.9.0 || >=21.1.0
peerDependencies.typescript—>=4.8.4 <6.1.0
peerDependencies.@typescript/native—npm:typescript@>=7.1.0-dev.20261009.1 || >=7.1.0-beta <7.1.0-dev
Ekspor baru (3)
importexportkind
@typescript-eslint/typescript-estreeaddCandidateTSConfigRootDirfunction
@typescript-eslint/typescript-estreeclearCandidateTSConfigRootDirsfunction
@typescript-eslint/typescript-estree/use-at-your-own-riskSUPPORTED_TYPESCRIPT_VERSIONSvariable

Berikan fakta ini ke agen AI Anda

Vigia adalah server MCP gratis: agen coding Anda memeriksa versi, perubahan yang merusak kompatibilitas, dan kerentanan sebelum menulis kode. Tanpa pendaftaran, tanpa kunci API.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Tambahkan ke CursorTambahkan ke VS Code★ Bintang di GitHub

Klien MCP lainnya
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Skill agen (SKILL.md): memberi tahu agen kapan memakai Vigia · GitHub Action untuk pull request

Pertanyaan umum

Apa saja perubahan tidak kompatibel saat memperbarui @typescript-eslint/typescript-estree dari 7 ke 8?

Antara @typescript-eslint/typescript-estree 7.18.0 dan 8.73.0, Vigia menemukan 0 ekspor yang dihapus, 7 tanda tangan yang berubah, dan 2 anggota kelas atau antarmuka yang dihapus atau berubah.

Apa yang ditandai usang di @typescript-eslint/typescript-estree 8?

0 ekspor atau anggota baru ditandai usang di @typescript-eslint/typescript-estree 8.73.0.

Untuk agen

GET https://vigia.coredls.cloud/v1/packages/npm/@typescript-eslint/typescript-estree/upgrade?from=7.18.0&to=8.73.0