purgecss को 8.x से 9.x पर अपग्रेड करना
purgecss 8.0.0 और 9.0.0 के सार्वजनिक API की तुलना, उनके TypeScript टाइप से अपने-आप निकाली गई। बदला हुआ सिग्नेचर संभावित असंगत बदलाव है, निश्चितता नहीं।
सारांश
| हटाए गए इम्पोर्ट पाथ | 0 |
|---|---|
| हटाए गए एक्सपोर्ट | 0 |
| बदले गए सिग्नेचर | 1 |
| क्लास या इंटरफ़ेस के हटाए गए सदस्य | 0 |
| क्लास या इंटरफ़ेस के बदले गए सदस्य | 2 |
| नए डिप्रिकेटेड | 2 |
| आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ) | 1 |
| नए एक्सपोर्ट | 0 |
हटाए गए एक्सपोर्ट
कुछ नहीं मिला।
बदले गए सिग्नेचर
| export | पहले | बाद में |
|---|---|---|
purgecss · ComplexSafelist | { standard?: StringRegExpArray | undefined; deep?: RegExp[] | undefined; greedy?: RegExp[] | undefined; variables?: StringRegExpArray | undefined; keyframes?: StringRegExpArray | undefined; } | { standard?: StringRegExpArray | undefined; deep?: StringRegExpArray | undefined; greedy?: StringRegExpArray | undefined; variables?: StringRegExpArray | undefined; keyframes?: StringRegExpArray | undefined; } |
क्लास या इंटरफ़ेस के हटाए गए सदस्य
कुछ नहीं मिला।
क्लास या इंटरफ़ेस के बदले गए सदस्य
| member | पहले | बाद में |
|---|---|---|
Options.dynamicAttributes | string[] | StringRegExpArray |
UserDefinedOptions.dynamicAttributes | string[] | undefined | StringRegExpArray | undefined |
नए डिप्रिकेटेड
| export | @deprecated |
|---|---|
purgecss · VariableNode.nodes | The dependencies between declarations are no longer recorded, so this list is always empty. The variables used by a used variable are found by name in `VariablesStructure.removeUnused`. It will be removed in the next major version. |
purgecss · VariablesStructure.addVariableUsage | The variables used by a custom property are found by name in `removeUnused`, so the dependencies between declarations are no longer recorded and this method does nothing. It will be removed in the next major version. |
आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ)
| पहले | बाद में | |
|---|---|---|
engines.node | — | >=22.12.0 |
अपने 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
अक्सर पूछे जाने वाले प्रश्न
purgecss को 8 से 9 पर अपग्रेड करने पर कौन-से असंगत बदलाव हैं?
purgecss 8.0.0 और 9.0.0 के बीच Vigia को 0 हटाए गए एक्सपोर्ट, 1 बदले गए सिग्नेचर और 2 हटाए या बदले गए क्लास/इंटरफ़ेस सदस्य मिले।
purgecss 9 में क्या डिप्रिकेट हुआ?
purgecss 9.0.0 में 2 एक्सपोर्ट या सदस्य नए रूप से डिप्रिकेटेड चिह्नित हैं।
एजेंटों के लिए
GET https://vigia.coredls.cloud/v1/packages/npm/purgecss/upgrade?from=8.0.0&to=9.0.0