@secretlint/types को 13.x से 14.x पर अपग्रेड करना
@secretlint/types 13.1.0 और 14.0.0 के सार्वजनिक API की तुलना, उनके TypeScript टाइप से अपने-आप निकाली गई। बदला हुआ सिग्नेचर संभावित असंगत बदलाव है, निश्चितता नहीं।
सारांश
| हटाए गए इम्पोर्ट पाथ | 0 |
|---|---|
| हटाए गए एक्सपोर्ट | 0 |
| बदले गए सिग्नेचर | 5 |
| क्लास या इंटरफ़ेस के हटाए गए सदस्य | 0 |
| क्लास या इंटरफ़ेस के बदले गए सदस्य | 0 |
| नए डिप्रिकेटेड | 0 |
| आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ) | 0 |
| नए एक्सपोर्ट | 7 |
हटाए गए एक्सपोर्ट
कुछ नहीं मिला।
बदले गए सिग्नेचर
| export | पहले | बाद में |
|---|---|---|
@secretlint/types · SecretLintRawSource | { content: string; filePath: string; ext?: string | undefined; contentType: "binary" | "text" | "unknown"; } | { content: string; contentBytes?: Uint8Array<ArrayBufferLike> | undefined; filePath: string; ext?: string | undefined; contentType: "binary" | "text" | "unknown"; } |
@secretlint/types · SecretLintCoreResult | { filePath: string; sourceContent: string | undefined; sourceContentType: "binary" | "text" | "unknown"; messages: SecretLintCoreResultMessage[]; } | { filePath: string; sourceContentType: "binary" | "text" | "unknown"; messages: SecretLintCoreResultMessage[]; } |
@secretlint/types · SecretLintRuleCreator | { messages: SecretLintRuleLocalizeMessages; meta: { id: string; type: "scanner" | "filter"; recommended: boolean; docs?: { url: string; } | undefined; supportedContentTypes: SecretLintRuleContentType[]; }; create(context: SecretLintRuleContext, options: Options): SecretLintRuleReportHandler; } | SecretLintRuleHandlerCreator<Options> | SecretLintRulePatternCreator<Options, When> |
@secretlint/types · SecretLintRuleContentType | "binary" | "text" | "all" | "binary" | "text" |
@secretlint/types · SecretLintFormatterOptions | { color?: boolean | undefined; } | { color?: boolean | undefined; getSource?: SecretLintFormatterGetSource | undefined; } |
क्लास या इंटरफ़ेस के हटाए गए सदस्य
कुछ नहीं मिला।
क्लास या इंटरफ़ेस के बदले गए सदस्य
कुछ नहीं मिला।
नए डिप्रिकेटेड
कुछ नहीं मिला।
आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ)
कुछ नहीं मिला।
नए एक्सपोर्ट (7)
| import | export | kind |
|---|---|---|
@secretlint/types | SecretLintRulePattern | type |
@secretlint/types | SecretLintRulePatternMatch | type |
@secretlint/types | SecretLintFormatterGetSource | type |
@secretlint/types | SecretLintRuleHandlerCreator | type |
@secretlint/types | SecretLintRulePatternContext | type |
@secretlint/types | SecretLintRulePatternCreator | type |
@secretlint/types | SecretLintRulePatternKeyword | type |
अपने 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
अक्सर पूछे जाने वाले प्रश्न
@secretlint/types को 13 से 14 पर अपग्रेड करने पर कौन-से असंगत बदलाव हैं?
@secretlint/types 13.1.0 और 14.0.0 के बीच Vigia को 0 हटाए गए एक्सपोर्ट, 5 बदले गए सिग्नेचर और 0 हटाए या बदले गए क्लास/इंटरफ़ेस सदस्य मिले।
@secretlint/types 14 में क्या डिप्रिकेट हुआ?
@secretlint/types 14.0.0 में 0 एक्सपोर्ट या सदस्य नए रूप से डिप्रिकेटेड चिह्नित हैं।
एजेंटों के लिए
GET https://vigia.coredls.cloud/v1/packages/npm/@secretlint/types/upgrade?from=13.1.0&to=14.0.0