@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 · 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 |
नए एक्सपोर्ट (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 को 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