Vigia

@typescript-eslint/typescript-estree を 7.x から 8.x へアップグレード

@typescript-eslint/typescript-estree 7.18.0 と 8.71.0 の公開 API を、TypeScript の型から自動的に比較したものです。シグネチャの変更は破壊的変更の候補であり、確定ではありません。

概要

削除されたインポートパス0
削除されたエクスポート0
変更されたシグネチャ6
削除されたクラス/インターフェースのメンバー0
変更されたクラス/インターフェースのメンバー2
新たに非推奨0
要件の変更(engines、peer 依存関係)2
新しいエクスポート3

削除されたエクスポート

検出されませんでした。

変更されたシグネチャ

export変更前変更後
@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", 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 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: (message: string) => void; readonly preserveN…
@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", boolean>

削除されたクラス/インターフェースのメンバー

検出されませんでした。

変更されたクラス/インターフェースのメンバー

member変更前変更後
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

新たに非推奨

検出されませんでした。

要件の変更(engines、peer 依存関係)

変更前変更後
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
新しいエクスポート (3)
importexportkind
@typescript-eslint/typescript-estreeaddCandidateTSConfigRootDirfunction
@typescript-eslint/typescript-estreeclearCandidateTSConfigRootDirsfunction
@typescript-eslint/typescript-estree/use-at-your-own-riskSUPPORTED_TYPESCRIPT_VERSIONSvariable

よくある質問

@typescript-eslint/typescript-estree を 7 から 8 にアップグレードする際の破壊的変更は?

@typescript-eslint/typescript-estree 7.18.0 と 8.71.0 の間で、Vigia は削除されたエクスポートを 0 件、変更されたシグネチャを 6 件、削除または変更されたクラス/インターフェースのメンバーを 2 件検出しました。

@typescript-eslint/typescript-estree 8 で非推奨になったものは?

@typescript-eslint/typescript-estree 8.71.0 では 0 件のエクスポートまたはメンバーが新たに非推奨になりました。

エージェント向け

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