Vigia

Nâng cấp purgecss từ 8.x lên 9.x

So sánh API công khai của purgecss 8.0.0 và 9.0.0, được tính tự động từ kiểu TypeScript. Chữ ký thay đổi là thay đổi có thể không tương thích, không phải điều chắc chắn.

Tóm tắt

Đường dẫn import bị xóa0
Export bị xóa0
Chữ ký thay đổi1
Thành viên lớp hoặc interface bị xóa0
Thành viên lớp hoặc interface thay đổi2
Mới bị ngừng hỗ trợ2
Thay đổi yêu cầu (engines, phụ thuộc peer)1
Export mới0

Export bị xóa

Không phát hiện.

Chữ ký thay đổi

exportTrướcSau
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; }

Thành viên lớp hoặc interface bị xóa

Không phát hiện.

Thành viên lớp hoặc interface thay đổi

memberTrướcSau
Options.dynamicAttributesstring[]StringRegExpArray
UserDefinedOptions.dynamicAttributesstring[] | undefinedStringRegExpArray | undefined

Mới bị ngừng hỗ trợ

export@deprecated
purgecss · VariableNode.nodesThe 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.addVariableUsageThe 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.

Thay đổi yêu cầu (engines, phụ thuộc peer)

TrướcSau
engines.node—>=22.12.0

Cung cấp dữ liệu này cho tác tử AI của bạn

Vigia là máy chủ MCP miễn phí: tác tử lập trình của bạn kiểm tra phiên bản, thay đổi phá vỡ tương thích và lỗ hổng trước khi viết mã. Không cần đăng ký, không cần khóa API.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Thêm vào CursorThêm vào VS Code★ Gắn sao trên GitHub

Mọi ứng dụng MCP khác
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Kỹ năng cho tác tử (SKILL.md): cho tác tử biết khi nào dùng Vigia · GitHub Action cho pull request

Câu hỏi thường gặp

Nâng cấp purgecss từ 8 lên 9 có những thay đổi không tương thích nào?

Giữa purgecss 8.0.0 và 9.0.0, Vigia tìm thấy 0 export bị xóa, 1 chữ ký thay đổi và 2 thành viên lớp hoặc interface bị xóa hay thay đổi.

Những gì bị ngừng hỗ trợ trong purgecss 9?

2 export hoặc thành viên mới bị đánh dấu ngừng hỗ trợ trong purgecss 9.0.0.

Dành cho tác tử

GET https://vigia.coredls.cloud/v1/packages/npm/purgecss/upgrade?from=8.0.0&to=9.0.0