ts-api-utils को 1.x से 2.x पर अपग्रेड करना
ts-api-utils 1.4.3 और 2.5.0 के सार्वजनिक API की तुलना, उनके TypeScript टाइप से अपने-आप निकाली गई। बदला हुआ सिग्नेचर संभावित असंगत बदलाव है, निश्चितता नहीं।
सारांश
| हटाए गए इम्पोर्ट पाथ | 0 |
|---|---|
| हटाए गए एक्सपोर्ट | 6 |
| बदले गए सिग्नेचर | 3 |
| क्लास या इंटरफ़ेस के हटाए गए सदस्य | 0 |
| क्लास या इंटरफ़ेस के बदले गए सदस्य | 0 |
| नए डिप्रिकेटेड | 4 |
| आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ) | 2 |
| नए एक्सपोर्ट | 6 |
हटाए गए एक्सपोर्ट
| import | export | kind | पहले |
|---|---|---|---|
ts-api-utils | isInputFiles | function | (node: ts.Node): node is ts.InputFiles |
ts-api-utils | isUnparsedPrologue | function | (node: ts.Node): node is ts.UnparsedPrologue |
ts-api-utils | isUnknownLiteralType | function | (type: ts.Type): type is UnknownLiteralType |
ts-api-utils | isUnparsedSourceText | function | (node: ts.Node): node is ts.UnparsedSourceText |
ts-api-utils | isUnparsedSyntheticReference | function | (node: ts.Node): node is ts.UnparsedSyntheticReference |
ts-api-utils | isTransientSymbolLinksFlagSet | function | (links: ts.TransientSymbolLinks, flag: ts.CheckFlags): boolean |
बदले गए सिग्नेचर
| export | पहले | बाद में |
|---|---|---|
ts-api-utils · typeParts | (type: ts.Type): ts.Type[] | (type: ts.Type): ts.Type[] |
ts-api-utils · unionTypeParts | (type: ts.Type): ts.Type[] | (type: ts.Type): ts.Type[] |
ts-api-utils · intersectionTypeParts | (type: ts.Type): ts.Type[] | (type: ts.Type): ts.Type[] |
क्लास या इंटरफ़ेस के हटाए गए सदस्य
कुछ नहीं मिला।
क्लास या इंटरफ़ेस के बदले गए सदस्य
कुछ नहीं मिला।
नए डिप्रिकेटेड
| export | @deprecated |
|---|---|
ts-api-utils · typeParts | Use {@link typeConstituents} instead. |
ts-api-utils · unionTypeParts | Use {@link unionConstituents} instead. |
ts-api-utils · intersectionTypeParts | Use {@link intersectionConstituents} instead. |
ts-api-utils · symbolHasReadonlyDeclaration | This is not used by any consumers known by ts-api-utils, and so the public export will be removed in a future major version. |
आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ)
| पहले | बाद में | |
|---|---|---|
engines.node | >=16 | >=18.12 |
peerDependencies.typescript | >=4.2.0 | >=4.8.4 |
नए एक्सपोर्ट (6)
| import | export | kind |
|---|---|---|
ts-api-utils | Comment | type |
ts-api-utils | iterateTokens | function |
ts-api-utils | iterateComments | function |
ts-api-utils | typeConstituents | function |
ts-api-utils | unionConstituents | function |
ts-api-utils | intersectionConstituents | function |
अपने AI एजेंट को ये तथ्य दें
Vigia एक मुफ़्त MCP सर्वर है: आपका कोडिंग एजेंट कोड लिखने से पहले वर्ज़न, ब्रेकिंग बदलाव और कमज़ोरियाँ जाँचता है। न साइनअप, न API कुंजी।
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Cursor में जोड़ेंVS Code में जोड़ें★ GitHub पर स्टार दें
कोई भी दूसरा MCP क्लाइंट
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }एजेंट स्किल (SKILL.md): एजेंट को बताती है कि Vigia कब इस्तेमाल करना है · पुल रिक्वेस्ट के लिए GitHub Action
अक्सर पूछे जाने वाले प्रश्न
ts-api-utils को 1 से 2 पर अपग्रेड करने पर कौन-से असंगत बदलाव हैं?
ts-api-utils 1.4.3 और 2.5.0 के बीच Vigia को 6 हटाए गए एक्सपोर्ट, 3 बदले गए सिग्नेचर और 0 हटाए या बदले गए क्लास/इंटरफ़ेस सदस्य मिले।
ts-api-utils 2 में क्या डिप्रिकेट हुआ?
ts-api-utils 2.5.0 में 4 एक्सपोर्ट या सदस्य नए रूप से डिप्रिकेटेड चिह्नित हैं।
एजेंटों के लिए
GET https://vigia.coredls.cloud/v1/packages/npm/ts-api-utils/upgrade?from=1.4.3&to=2.5.0