@typescript-eslint/typescript-estree을(를) 7.x에서 8.x로 업그레이드하기
@typescript-eslint/typescript-estree 7.18.0과 8.71.0의 공개 API를 TypeScript 타입에서 자동으로 비교한 결과입니다. 시그니처 변경은 호환성이 깨질 가능성이 있다는 뜻이며 확정은 아닙니다.
요약
| 삭제된 import 경로 | 0 |
|---|---|
| 삭제된 export | 0 |
| 변경된 시그니처 | 6 |
| 삭제된 클래스·인터페이스 멤버 | 0 |
| 변경된 클래스·인터페이스 멤버 | 2 |
| 새로 지원 중단됨 | 0 |
| 요구 사항 변경 (engines, peer 의존성) | 2 |
| 새 export | 3 |
삭제된 export
감지되지 않았습니다.
변경된 시그니처
| 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 · typescriptVersionIsAtLeast | Record<"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 · typescriptVersionIsAtLeast | Record<"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 |
새 export (3)
| import | export | kind |
|---|---|---|
@typescript-eslint/typescript-estree | addCandidateTSConfigRootDir | function |
@typescript-eslint/typescript-estree | clearCandidateTSConfigRootDirs | function |
@typescript-eslint/typescript-estree/use-at-your-own-risk | SUPPORTED_TYPESCRIPT_VERSIONS | variable |
자주 묻는 질문
@typescript-eslint/typescript-estree을(를) 7에서 8(으)로 업그레이드할 때 호환성이 깨지는 변경은 무엇인가요?
@typescript-eslint/typescript-estree 7.18.0과 8.71.0 사이에서 Vigia는 삭제된 export 0개, 변경된 시그니처 6개, 삭제되거나 변경된 클래스·인터페이스 멤버 2개를 찾았습니다.
@typescript-eslint/typescript-estree 8에서 지원 중단된 것은 무엇인가요?
@typescript-eslint/typescript-estree 8.71.0에서 export 또는 멤버 0개가 새로 지원 중단으로 표시되었습니다.
에이전트용
GET https://vigia.coredls.cloud/v1/packages/npm/@typescript-eslint/typescript-estree/upgrade?from=7.18.0&to=8.71.0