Aktualizacja purgecss z 8.x do 9.x
Porównanie publicznego API purgecss 8.0.0 i 9.0.0, obliczone automatycznie na podstawie typów TypeScript. Zmieniona sygnatura to możliwa zmiana niekompatybilna, a nie pewność.
Podsumowanie
| Usunięte ścieżki importu | 0 |
|---|---|
| Usunięte eksporty | 0 |
| Zmienione sygnatury | 1 |
| Usunięte składowe klas lub interfejsów | 0 |
| Zmienione składowe klas lub interfejsów | 2 |
| Nowo wycofane | 2 |
| Zmiany wymagań (engines, zależności peer) | 1 |
| Nowe eksporty | 0 |
Usunięte eksporty
Nie wykryto.
Zmienione sygnatury
| export | Przed | Po |
|---|---|---|
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; } |
Usunięte składowe klas lub interfejsów
Nie wykryto.
Zmienione składowe klas lub interfejsów
| member | Przed | Po |
|---|---|---|
Options.dynamicAttributes | string[] | StringRegExpArray |
UserDefinedOptions.dynamicAttributes | string[] | undefined | StringRegExpArray | undefined |
Nowo wycofane
| 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. |
Zmiany wymagań (engines, zależności peer)
| Przed | Po | |
|---|---|---|
engines.node | — | >=22.12.0 |
Przekaż te dane swojemu agentowi AI
Vigia to darmowy serwer MCP: Twój agent programistyczny sprawdza wersje, zmiany łamiące zgodność i podatności, zanim napisze kod. Bez rejestracji i klucza API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Dodaj do CursorDodaj do VS Code★ Gwiazdka na GitHubie
Dowolny inny klient MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill dla agentów (SKILL.md): mówi agentowi, kiedy używać Vigii · GitHub Action dla pull requestów
Najczęściej zadawane pytania
Jakie są zmiany niekompatybilne przy aktualizacji purgecss z 8 do 9?
Między purgecss 8.0.0 a 9.0.0 Vigia znalazła 0 usuniętych eksportów, 1 zmienionych sygnatur i 2 usuniętych lub zmienionych składowych klas lub interfejsów.
Co zostało wycofane w purgecss 9?
2 eksportów lub składowych oznaczono w purgecss 9.0.0 jako wycofane.
Dla agentów
GET https://vigia.coredls.cloud/v1/packages/npm/purgecss/upgrade?from=8.0.0&to=9.0.0