Vigia

Nâng cấp happy-dom từ 20.x lên 21.x

So sánh API công khai của happy-dom 20.14.6 và 21.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 đổi0
Thành viên lớp hoặc interface bị xóa177
Thành viên lớp hoặc interface thay đổi0
Mới bị ngừng hỗ trợ2
Thay đổi yêu cầu (engines, phụ thuộc peer)0
Export mới0

Export bị xóa

Không phát hiện.

Chữ ký thay đổi

Không phát hiện.

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

memberimportTrước
Element.static __@tagName@1334happy-domstring | null
Element.static __@localName@1336happy-domstring | null
Element.static __@namespaceURI@1338happy-domstring | null
FileList.static __@species@3388happy-dom(arrayLength?: number | undefined): any[] | <T>(arrayLength: number): T[] | <T>(...items: T[]): T[]
SVGElement.static __@tagName@1334happy-domstring | null
SVGElement.static __@localName@1336happy-domstring | null
SVGElement.static __@namespaceURI@1338happy-domstring | null
HTMLElement.static __@tagName@1334happy-domstring | null
HTMLElement.static __@localName@1336happy-domstring | null
HTMLElement.static __@namespaceURI@1338happy-domstring | null
HTMLBRElement.static __@tagName@1334happy-domstring | null
HTMLBRElement.static __@localName@1336happy-domstring | null
HTMLBRElement.static __@namespaceURI@1338happy-domstring | null
HTMLHRElement.static __@tagName@1334happy-domstring | null
HTMLHRElement.static __@localName@1336happy-domstring | null
HTMLHRElement.static __@namespaceURI@1338happy-domstring | null
HTMLLIElement.static __@tagName@1334happy-domstring | null
HTMLLIElement.static __@localName@1336happy-domstring | null
HTMLLIElement.static __@namespaceURI@1338happy-domstring | null
HTMLDivElement.static __@tagName@1334happy-domstring | null
HTMLDivElement.static __@localName@1336happy-domstring | null
HTMLDivElement.static __@namespaceURI@1338happy-domstring | null
HTMLMapElement.static __@tagName@1334happy-domstring | null
HTMLMapElement.static __@localName@1336happy-domstring | null
HTMLMapElement.static __@namespaceURI@1338happy-domstring | null
HTMLModElement.static __@tagName@1334happy-domstring | null
HTMLModElement.static __@localName@1336happy-domstring | null
HTMLModElement.static __@namespaceURI@1338happy-domstring | null
HTMLPreElement.static __@tagName@1334happy-domstring | null
HTMLPreElement.static __@localName@1336happy-domstring | null
HTMLPreElement.static __@namespaceURI@1338happy-domstring | null
HTMLBaseElement.static __@tagName@1334happy-domstring | null
HTMLBaseElement.static __@localName@1336happy-domstring | null
HTMLBaseElement.static __@namespaceURI@1338happy-domstring | null
HTMLBodyElement.static __@tagName@1334happy-domstring | null
HTMLBodyElement.static __@localName@1336happy-domstring | null
HTMLBodyElement.static __@namespaceURI@1338happy-domstring | null
HTMLDataElement.static __@tagName@1334happy-domstring | null
HTMLDataElement.static __@localName@1336happy-domstring | null
HTMLDataElement.static __@namespaceURI@1338happy-domstring | null
HTMLHeadElement.static __@tagName@1334happy-domstring | null
HTMLHeadElement.static __@localName@1336happy-domstring | null
HTMLHeadElement.static __@namespaceURI@1338happy-domstring | null
HTMLHtmlElement.static __@tagName@1334happy-domstring | null
HTMLHtmlElement.static __@localName@1336happy-domstring | null
HTMLHtmlElement.static __@namespaceURI@1338happy-domstring | null
HTMLLinkElement.static __@tagName@1334happy-domstring | null
HTMLLinkElement.static __@localName@1336happy-domstring | null
HTMLLinkElement.static __@namespaceURI@1338happy-domstring | null
HTMLMenuElement.static __@tagName@1334happy-domstring | null
HTMLMenuElement.static __@localName@1336happy-domstring | null
HTMLMenuElement.static __@namespaceURI@1338happy-domstring | null
HTMLMetaElement.static __@tagName@1334happy-domstring | null
HTMLMetaElement.static __@localName@1336happy-domstring | null
HTMLMetaElement.static __@namespaceURI@1338happy-domstring | null
HTMLSlotElement.static __@tagName@1334happy-domstring | null
HTMLSlotElement.static __@localName@1336happy-domstring | null
HTMLSlotElement.static __@namespaceURI@1338happy-domstring | null
HTMLSpanElement.static __@tagName@1334happy-domstring | null
HTMLSpanElement.static __@localName@1336happy-domstring | null
HTMLSpanElement.static __@namespaceURI@1338happy-domstring | null
HTMLTimeElement.static __@tagName@1334happy-domstring | null
HTMLTimeElement.static __@localName@1336happy-domstring | null
HTMLTimeElement.static __@namespaceURI@1338happy-domstring | null
HTMLDListElement.static __@tagName@1334happy-domstring | null
HTMLDListElement.static __@localName@1336happy-domstring | null
HTMLDListElement.static __@namespaceURI@1338happy-domstring | null
HTMLEmbedElement.static __@tagName@1334happy-domstring | null
HTMLEmbedElement.static __@localName@1336happy-domstring | null
HTMLEmbedElement.static __@namespaceURI@1338happy-domstring | null
HTMLLabelElement.static __@tagName@1334happy-domstring | null
HTMLLabelElement.static __@localName@1336happy-domstring | null
HTMLLabelElement.static __@namespaceURI@1338happy-domstring | null
HTMLMeterElement.static __@tagName@1334happy-domstring | null
HTMLMeterElement.static __@localName@1336happy-domstring | null
HTMLMeterElement.static __@namespaceURI@1338happy-domstring | null
HTMLOListElement.static __@tagName@1334happy-domstring | null
HTMLOListElement.static __@localName@1336happy-domstring | null
HTMLOListElement.static __@namespaceURI@1338happy-domstring | null
HTMLParamElement.static __@tagName@1334happy-domstring | null
HTMLParamElement.static __@localName@1336happy-domstring | null
HTMLParamElement.static __@namespaceURI@1338happy-domstring | null
HTMLQuoteElement.static __@tagName@1334happy-domstring | null
HTMLQuoteElement.static __@localName@1336happy-domstring | null
HTMLQuoteElement.static __@namespaceURI@1338happy-domstring | null
HTMLStyleElement.static __@tagName@1334happy-domstring | null
HTMLStyleElement.static __@localName@1336happy-domstring | null
HTMLStyleElement.static __@namespaceURI@1338happy-domstring | null
HTMLTableElement.static __@tagName@1334happy-domstring | null
HTMLTableElement.static __@localName@1336happy-domstring | null
HTMLTableElement.static __@namespaceURI@1338happy-domstring | null
HTMLTitleElement.static __@tagName@1334happy-domstring | null
HTMLTitleElement.static __@localName@1336happy-domstring | null
HTMLTitleElement.static __@namespaceURI@1338happy-domstring | null
HTMLTrackElement.static __@tagName@1334happy-domstring | null
HTMLTrackElement.static __@localName@1336happy-domstring | null
HTMLTrackElement.static __@namespaceURI@1338happy-domstring | null
HTMLUListElement.static __@tagName@1334happy-domstring | null
HTMLUListElement.static __@localName@1336happy-domstring | null
HTMLUListElement.static __@namespaceURI@1338happy-domstring | null
TextTrackCueList.static __@species@3388happy-dom(arrayLength?: number | undefined): any[] | <T>(arrayLength: number): T[] | <T>(...items: T[]): T[]
HTMLCanvasElement.static __@tagName@1334happy-domstring | null
HTMLCanvasElement.static __@localName@1336happy-domstring | null
HTMLCanvasElement.static __@namespaceURI@1338happy-domstring | null
HTMLDialogElement.static __@tagName@1334happy-domstring | null
HTMLDialogElement.static __@localName@1336happy-domstring | null
HTMLDialogElement.static __@namespaceURI@1338happy-domstring | null
HTMLIFrameElement.static __@tagName@1334happy-domstring | null
HTMLIFrameElement.static __@localName@1336happy-domstring | null
HTMLIFrameElement.static __@namespaceURI@1338happy-domstring | null
HTMLLegendElement.static __@tagName@1334happy-domstring | null
HTMLLegendElement.static __@localName@1336happy-domstring | null
HTMLLegendElement.static __@namespaceURI@1338happy-domstring | null
HTMLObjectElement.static __@tagName@1334happy-domstring | null
HTMLObjectElement.static __@localName@1336happy-domstring | null
HTMLObjectElement.static __@namespaceURI@1338happy-domstring | null
HTMLOptionElement.static __@tagName@1334happy-domstring | null
HTMLOptionElement.static __@localName@1336happy-domstring | null
HTMLOptionElement.static __@namespaceURI@1338happy-domstring | null
HTMLOutputElement.static __@tagName@1334happy-domstring | null
HTMLOutputElement.static __@localName@1336happy-domstring | null
HTMLOutputElement.static __@namespaceURI@1338happy-domstring | null
HTMLScriptElement.static __@tagName@1334happy-domstring | null
HTMLScriptElement.static __@localName@1336happy-domstring | null
HTMLScriptElement.static __@namespaceURI@1338happy-domstring | null
HTMLSourceElement.static __@tagName@1334happy-domstring | null
HTMLSourceElement.static __@localName@1336happy-domstring | null
HTMLSourceElement.static __@namespaceURI@1338happy-domstring | null
HTMLDetailsElement.static __@tagName@1334happy-domstring | null
HTMLDetailsElement.static __@localName@1336happy-domstring | null
HTMLDetailsElement.static __@namespaceURI@1338happy-domstring | null
HTMLHeadingElement.static __@tagName@1334happy-domstring | null
HTMLHeadingElement.static __@localName@1336happy-domstring | null
HTMLHeadingElement.static __@namespaceURI@1338happy-domstring | null
HTMLPictureElement.static __@tagName@1334happy-domstring | null
HTMLPictureElement.static __@localName@1336happy-domstring | null
HTMLPictureElement.static __@namespaceURI@1338happy-domstring | null
HTMLUnknownElement.static __@tagName@1334happy-domstring | null
HTMLUnknownElement.static __@localName@1336happy-domstring | null
HTMLUnknownElement.static __@namespaceURI@1338happy-domstring | null
SVGGraphicsElement.static __@tagName@1334happy-domstring | null
SVGGraphicsElement.static __@localName@1336happy-domstring | null
SVGGraphicsElement.static __@namespaceURI@1338happy-domstring | null
HTMLDataListElement.static __@tagName@1334happy-domstring | null
HTMLDataListElement.static __@localName@1336happy-domstring | null
HTMLDataListElement.static __@namespaceURI@1338happy-domstring | null
HTMLFieldSetElement.static __@tagName@1334happy-domstring | null
HTMLFieldSetElement.static __@localName@1336happy-domstring | null
HTMLFieldSetElement.static __@namespaceURI@1338happy-domstring | null
HTMLOptGroupElement.static __@tagName@1334happy-domstring | null
HTMLOptGroupElement.static __@localName@1336happy-domstring | null
HTMLOptGroupElement.static __@namespaceURI@1338happy-domstring | null
HTMLProgressElement.static __@tagName@1334happy-domstring | null
HTMLProgressElement.static __@localName@1336happy-domstring | null
HTMLProgressElement.static __@namespaceURI@1338happy-domstring | null
HTMLTableColElement.static __@tagName@1334happy-domstring | null
HTMLTableColElement.static __@localName@1336happy-domstring | null
HTMLTableColElement.static __@namespaceURI@1338happy-domstring | null
HTMLTableRowElement.static __@tagName@1334happy-domstring | null
HTMLTableRowElement.static __@localName@1336happy-domstring | null
HTMLTableRowElement.static __@namespaceURI@1338happy-domstring | null
HTMLTemplateElement.static __@tagName@1334happy-domstring | null
HTMLTemplateElement.static __@localName@1336happy-domstring | null
HTMLTemplateElement.static __@namespaceURI@1338happy-domstring | null
DataTransferItemList.static __@species@3388happy-dom(arrayLength?: number | undefined): any[] | <T>(arrayLength: number): T[] | <T>(...items: T[]): T[]
HTMLParagraphElement.static __@tagName@1334happy-domstring | null
HTMLParagraphElement.static __@localName@1336happy-domstring | null
HTMLParagraphElement.static __@namespaceURI@1338happy-domstring | null
HTMLTableCellElement.static __@tagName@1334happy-domstring | null
HTMLTableCellElement.static __@localName@1336happy-domstring | null
HTMLTableCellElement.static __@namespaceURI@1338happy-domstring | null
HTMLTableCaptionElement.static __@tagName@1334happy-domstring | null
HTMLTableCaptionElement.static __@localName@1336happy-domstring | null
HTMLTableCaptionElement.static __@namespaceURI@1338happy-domstring | null
HTMLTableSectionElement.static __@tagName@1334happy-domstring | null
HTMLTableSectionElement.static __@localName@1336happy-domstring | null
HTMLTableSectionElement.static __@namespaceURI@1338happy-domstring | null

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

Không phát hiện.

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

export@deprecated
happy-dom · IBrowserSettings.disableCSSFileLoadingCSS file loading is disabled by default. Use "enableCSSFileLoading" to enable it.
happy-dom · IOptionalBrowserSettings.disableCSSFileLoadingCSS file loading is disabled by default. Use "enableCSSFileLoading" to enable it.

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

Không phát hiện.

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 happy-dom từ 20 lên 21 có những thay đổi không tương thích nào?

Giữa happy-dom 20.14.6 và 21.0.0, Vigia tìm thấy 0 export bị xóa, 0 chữ ký thay đổi và 177 thành viên lớp hoặc interface bị xóa hay thay đổi.

Những gì bị ngừng hỗ trợ trong happy-dom 21?

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

Dành cho tác tử

GET https://vigia.coredls.cloud/v1/packages/npm/happy-dom/upgrade?from=20.14.6&to=21.0.0