entities को 7.x से 8.x पर अपग्रेड करना
entities 7.0.1 और 8.1.0 के सार्वजनिक API की तुलना, उनके TypeScript टाइप से अपने-आप निकाली गई। बदला हुआ सिग्नेचर संभावित असंगत बदलाव है, निश्चितता नहीं।
सारांश
| हटाए गए इम्पोर्ट पाथ | 0 |
|---|---|
| हटाए गए एक्सपोर्ट | 9 |
| बदले गए सिग्नेचर | 7 |
| क्लास या इंटरफ़ेस के हटाए गए सदस्य | 0 |
| क्लास या इंटरफ़ेस के बदले गए सदस्य | 0 |
| नए डिप्रिकेटेड | 1 |
| आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ) | 1 |
| नए एक्सपोर्ट | 2 |
हटाए गए एक्सपोर्ट
| import | export | kind | पहले |
|---|---|---|---|
entities | decodeHTML4 | function | (htmlString: string, mode?: DecodingMode | undefined): string |
entities | decodeHTML5 | function | (htmlString: string, mode?: DecodingMode | undefined): string |
entities | encodeHTML4 | function | (input: string): string |
entities | encodeHTML5 | function | (input: string): string |
entities | decodeStrict | function | (input: string, options?: DecodingOptions | EntityLevel | undefined): string |
entities | decodeHTML4Strict | function | (htmlString: string): string |
entities | decodeHTML5Strict | function | (htmlString: string): string |
entities/decode | fromCodePoint | variable | (...codePoints: number[]): string |
entities/decode | decodeCodePoint | function | (codePoint: number): string |
बदले गए सिग्नेचर
| export | पहले | बाद में |
|---|---|---|
entities · escapeText | (data: string): string | (data: string): string |
entities · escapeUTF8 | (data: string): string | (data: string): string |
entities · escapeAttribute | (data: string): string | (data: string): string |
entities/escape · escapeText | (data: string): string | (data: string): string |
entities/escape · escapeUTF8 | (data: string): string | (data: string): string |
entities/escape · getCodePoint | (c: string, index: number): number | (input: string, index: number): number |
entities/escape · escapeAttribute | (data: string): string | (data: string): string |
क्लास या इंटरफ़ेस के हटाए गए सदस्य
कुछ नहीं मिला।
क्लास या इंटरफ़ेस के बदले गए सदस्य
कुछ नहीं मिला।
नए डिप्रिकेटेड
| export | @deprecated |
|---|---|
entities/escape · getCodePoint | Use `String.prototype.codePointAt` directly instead; this export will be removed in the next major. |
आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ)
| पहले | बाद में | |
|---|---|---|
engines.node | >=0.12 | >=20.19.0 |
नए एक्सपोर्ट (2)
| import | export | kind |
|---|---|---|
entities/decode | replaceCodePointXML | function |
entities/escape | xmlEncodeRegex | variable |
अपने 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
अक्सर पूछे जाने वाले प्रश्न
entities को 7 से 8 पर अपग्रेड करने पर कौन-से असंगत बदलाव हैं?
entities 7.0.1 और 8.1.0 के बीच Vigia को 9 हटाए गए एक्सपोर्ट, 7 बदले गए सिग्नेचर और 0 हटाए या बदले गए क्लास/इंटरफ़ेस सदस्य मिले।
entities 8 में क्या डिप्रिकेट हुआ?
entities 8.1.0 में 1 एक्सपोर्ट या सदस्य नए रूप से डिप्रिकेटेड चिह्नित हैं।
एजेंटों के लिए
GET https://vigia.coredls.cloud/v1/packages/npm/entities/upgrade?from=7.0.1&to=8.1.0