Aggiornare purgecss da 8.x a 9.x
Confronto dell’API pubblica di purgecss 8.0.0 e 9.0.0, calcolato automaticamente dai tipi TypeScript. Una firma modificata è una possibile modifica incompatibile, non una certezza.
Riepilogo
| Percorsi di import rimossi | 0 |
|---|---|
| Export rimossi | 0 |
| Firme modificate | 1 |
| Membri di classi o interfacce rimossi | 0 |
| Membri di classi o interfacce modificati | 2 |
| Nuove deprecazioni | 2 |
| Requisiti cambiati (engines, dipendenze peer) | 1 |
| Nuovi export | 0 |
Export rimossi
Nessuna rilevata.
Firme modificate
| export | Prima | Dopo |
|---|---|---|
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; } |
Membri di classi o interfacce rimossi
Nessuna rilevata.
Membri di classi o interfacce modificati
| member | Prima | Dopo |
|---|---|---|
Options.dynamicAttributes | string[] | StringRegExpArray |
UserDefinedOptions.dynamicAttributes | string[] | undefined | StringRegExpArray | undefined |
Nuove deprecazioni
| 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. |
Requisiti cambiati (engines, dipendenze peer)
| Prima | Dopo | |
|---|---|---|
engines.node | — | >=22.12.0 |
Dai questi dati al tuo agente IA
Vigia è un server MCP gratuito: il tuo agente di programmazione verifica versioni, modifiche incompatibili e vulnerabilità prima di scrivere codice. Senza registrazione né chiave API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Aggiungi a CursorAggiungi a VS Code★ Stella su GitHub
Qualsiasi altro client MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill per agenti (SKILL.md): dice all'agente quando usare Vigia · GitHub Action per le pull request
Domande frequenti
Quali sono le modifiche incompatibili aggiornando purgecss da 8 a 9?
Tra purgecss 8.0.0 e 9.0.0, Vigia ha trovato 0 export rimossi, 1 firme modificate e 2 membri di classi o interfacce rimossi o modificati.
Cosa è stato deprecato in purgecss 9?
2 export o membri risultano ora deprecati in purgecss 9.0.0.
Per gli agenti
GET https://vigia.coredls.cloud/v1/packages/npm/purgecss/upgrade?from=8.0.0&to=9.0.0