Обновление happy-dom с 20.x до 21.x
Сравнение публичного API happy-dom 20.14.6 и 21.0.0, вычисленное автоматически по их типам TypeScript. Изменённая сигнатура — возможное несовместимое изменение, а не гарантия.
Сводка
| Удалённые пути импорта | 0 |
|---|---|
| Удалённые экспорты | 0 |
| Изменённые сигнатуры | 0 |
| Удалённые члены классов или интерфейсов | 177 |
| Изменённые члены классов или интерфейсов | 0 |
| Новые устаревания | 2 |
| Изменения требований (engines, peer-зависимости) | 0 |
| Новые экспорты | 0 |
Удалённые экспорты
Не обнаружено.
Изменённые сигнатуры
Не обнаружено.
Удалённые члены классов или интерфейсов
| member | import | Было |
|---|---|---|
Element.static __@tagName@1334 | happy-dom | string | null |
Element.static __@localName@1336 | happy-dom | string | null |
Element.static __@namespaceURI@1338 | happy-dom | string | null |
FileList.static __@species@3388 | happy-dom | (arrayLength?: number | undefined): any[] | <T>(arrayLength: number): T[] | <T>(...items: T[]): T[] |
SVGElement.static __@tagName@1334 | happy-dom | string | null |
SVGElement.static __@localName@1336 | happy-dom | string | null |
SVGElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLElement.static __@tagName@1334 | happy-dom | string | null |
HTMLElement.static __@localName@1336 | happy-dom | string | null |
HTMLElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLBRElement.static __@tagName@1334 | happy-dom | string | null |
HTMLBRElement.static __@localName@1336 | happy-dom | string | null |
HTMLBRElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLHRElement.static __@tagName@1334 | happy-dom | string | null |
HTMLHRElement.static __@localName@1336 | happy-dom | string | null |
HTMLHRElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLLIElement.static __@tagName@1334 | happy-dom | string | null |
HTMLLIElement.static __@localName@1336 | happy-dom | string | null |
HTMLLIElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLDivElement.static __@tagName@1334 | happy-dom | string | null |
HTMLDivElement.static __@localName@1336 | happy-dom | string | null |
HTMLDivElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLMapElement.static __@tagName@1334 | happy-dom | string | null |
HTMLMapElement.static __@localName@1336 | happy-dom | string | null |
HTMLMapElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLModElement.static __@tagName@1334 | happy-dom | string | null |
HTMLModElement.static __@localName@1336 | happy-dom | string | null |
HTMLModElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLPreElement.static __@tagName@1334 | happy-dom | string | null |
HTMLPreElement.static __@localName@1336 | happy-dom | string | null |
HTMLPreElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLBaseElement.static __@tagName@1334 | happy-dom | string | null |
HTMLBaseElement.static __@localName@1336 | happy-dom | string | null |
HTMLBaseElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLBodyElement.static __@tagName@1334 | happy-dom | string | null |
HTMLBodyElement.static __@localName@1336 | happy-dom | string | null |
HTMLBodyElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLDataElement.static __@tagName@1334 | happy-dom | string | null |
HTMLDataElement.static __@localName@1336 | happy-dom | string | null |
HTMLDataElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLHeadElement.static __@tagName@1334 | happy-dom | string | null |
HTMLHeadElement.static __@localName@1336 | happy-dom | string | null |
HTMLHeadElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLHtmlElement.static __@tagName@1334 | happy-dom | string | null |
HTMLHtmlElement.static __@localName@1336 | happy-dom | string | null |
HTMLHtmlElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLLinkElement.static __@tagName@1334 | happy-dom | string | null |
HTMLLinkElement.static __@localName@1336 | happy-dom | string | null |
HTMLLinkElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLMenuElement.static __@tagName@1334 | happy-dom | string | null |
HTMLMenuElement.static __@localName@1336 | happy-dom | string | null |
HTMLMenuElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLMetaElement.static __@tagName@1334 | happy-dom | string | null |
HTMLMetaElement.static __@localName@1336 | happy-dom | string | null |
HTMLMetaElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLSlotElement.static __@tagName@1334 | happy-dom | string | null |
HTMLSlotElement.static __@localName@1336 | happy-dom | string | null |
HTMLSlotElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLSpanElement.static __@tagName@1334 | happy-dom | string | null |
HTMLSpanElement.static __@localName@1336 | happy-dom | string | null |
HTMLSpanElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLTimeElement.static __@tagName@1334 | happy-dom | string | null |
HTMLTimeElement.static __@localName@1336 | happy-dom | string | null |
HTMLTimeElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLDListElement.static __@tagName@1334 | happy-dom | string | null |
HTMLDListElement.static __@localName@1336 | happy-dom | string | null |
HTMLDListElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLEmbedElement.static __@tagName@1334 | happy-dom | string | null |
HTMLEmbedElement.static __@localName@1336 | happy-dom | string | null |
HTMLEmbedElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLLabelElement.static __@tagName@1334 | happy-dom | string | null |
HTMLLabelElement.static __@localName@1336 | happy-dom | string | null |
HTMLLabelElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLMeterElement.static __@tagName@1334 | happy-dom | string | null |
HTMLMeterElement.static __@localName@1336 | happy-dom | string | null |
HTMLMeterElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLOListElement.static __@tagName@1334 | happy-dom | string | null |
HTMLOListElement.static __@localName@1336 | happy-dom | string | null |
HTMLOListElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLParamElement.static __@tagName@1334 | happy-dom | string | null |
HTMLParamElement.static __@localName@1336 | happy-dom | string | null |
HTMLParamElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLQuoteElement.static __@tagName@1334 | happy-dom | string | null |
HTMLQuoteElement.static __@localName@1336 | happy-dom | string | null |
HTMLQuoteElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLStyleElement.static __@tagName@1334 | happy-dom | string | null |
HTMLStyleElement.static __@localName@1336 | happy-dom | string | null |
HTMLStyleElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLTableElement.static __@tagName@1334 | happy-dom | string | null |
HTMLTableElement.static __@localName@1336 | happy-dom | string | null |
HTMLTableElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLTitleElement.static __@tagName@1334 | happy-dom | string | null |
HTMLTitleElement.static __@localName@1336 | happy-dom | string | null |
HTMLTitleElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLTrackElement.static __@tagName@1334 | happy-dom | string | null |
HTMLTrackElement.static __@localName@1336 | happy-dom | string | null |
HTMLTrackElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLUListElement.static __@tagName@1334 | happy-dom | string | null |
HTMLUListElement.static __@localName@1336 | happy-dom | string | null |
HTMLUListElement.static __@namespaceURI@1338 | happy-dom | string | null |
TextTrackCueList.static __@species@3388 | happy-dom | (arrayLength?: number | undefined): any[] | <T>(arrayLength: number): T[] | <T>(...items: T[]): T[] |
HTMLCanvasElement.static __@tagName@1334 | happy-dom | string | null |
HTMLCanvasElement.static __@localName@1336 | happy-dom | string | null |
HTMLCanvasElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLDialogElement.static __@tagName@1334 | happy-dom | string | null |
HTMLDialogElement.static __@localName@1336 | happy-dom | string | null |
HTMLDialogElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLIFrameElement.static __@tagName@1334 | happy-dom | string | null |
HTMLIFrameElement.static __@localName@1336 | happy-dom | string | null |
HTMLIFrameElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLLegendElement.static __@tagName@1334 | happy-dom | string | null |
HTMLLegendElement.static __@localName@1336 | happy-dom | string | null |
HTMLLegendElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLObjectElement.static __@tagName@1334 | happy-dom | string | null |
HTMLObjectElement.static __@localName@1336 | happy-dom | string | null |
HTMLObjectElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLOptionElement.static __@tagName@1334 | happy-dom | string | null |
HTMLOptionElement.static __@localName@1336 | happy-dom | string | null |
HTMLOptionElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLOutputElement.static __@tagName@1334 | happy-dom | string | null |
HTMLOutputElement.static __@localName@1336 | happy-dom | string | null |
HTMLOutputElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLScriptElement.static __@tagName@1334 | happy-dom | string | null |
HTMLScriptElement.static __@localName@1336 | happy-dom | string | null |
HTMLScriptElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLSourceElement.static __@tagName@1334 | happy-dom | string | null |
HTMLSourceElement.static __@localName@1336 | happy-dom | string | null |
HTMLSourceElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLDetailsElement.static __@tagName@1334 | happy-dom | string | null |
HTMLDetailsElement.static __@localName@1336 | happy-dom | string | null |
HTMLDetailsElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLHeadingElement.static __@tagName@1334 | happy-dom | string | null |
HTMLHeadingElement.static __@localName@1336 | happy-dom | string | null |
HTMLHeadingElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLPictureElement.static __@tagName@1334 | happy-dom | string | null |
HTMLPictureElement.static __@localName@1336 | happy-dom | string | null |
HTMLPictureElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLUnknownElement.static __@tagName@1334 | happy-dom | string | null |
HTMLUnknownElement.static __@localName@1336 | happy-dom | string | null |
HTMLUnknownElement.static __@namespaceURI@1338 | happy-dom | string | null |
SVGGraphicsElement.static __@tagName@1334 | happy-dom | string | null |
SVGGraphicsElement.static __@localName@1336 | happy-dom | string | null |
SVGGraphicsElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLDataListElement.static __@tagName@1334 | happy-dom | string | null |
HTMLDataListElement.static __@localName@1336 | happy-dom | string | null |
HTMLDataListElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLFieldSetElement.static __@tagName@1334 | happy-dom | string | null |
HTMLFieldSetElement.static __@localName@1336 | happy-dom | string | null |
HTMLFieldSetElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLOptGroupElement.static __@tagName@1334 | happy-dom | string | null |
HTMLOptGroupElement.static __@localName@1336 | happy-dom | string | null |
HTMLOptGroupElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLProgressElement.static __@tagName@1334 | happy-dom | string | null |
HTMLProgressElement.static __@localName@1336 | happy-dom | string | null |
HTMLProgressElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLTableColElement.static __@tagName@1334 | happy-dom | string | null |
HTMLTableColElement.static __@localName@1336 | happy-dom | string | null |
HTMLTableColElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLTableRowElement.static __@tagName@1334 | happy-dom | string | null |
HTMLTableRowElement.static __@localName@1336 | happy-dom | string | null |
HTMLTableRowElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLTemplateElement.static __@tagName@1334 | happy-dom | string | null |
HTMLTemplateElement.static __@localName@1336 | happy-dom | string | null |
HTMLTemplateElement.static __@namespaceURI@1338 | happy-dom | string | null |
DataTransferItemList.static __@species@3388 | happy-dom | (arrayLength?: number | undefined): any[] | <T>(arrayLength: number): T[] | <T>(...items: T[]): T[] |
HTMLParagraphElement.static __@tagName@1334 | happy-dom | string | null |
HTMLParagraphElement.static __@localName@1336 | happy-dom | string | null |
HTMLParagraphElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLTableCellElement.static __@tagName@1334 | happy-dom | string | null |
HTMLTableCellElement.static __@localName@1336 | happy-dom | string | null |
HTMLTableCellElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLTableCaptionElement.static __@tagName@1334 | happy-dom | string | null |
HTMLTableCaptionElement.static __@localName@1336 | happy-dom | string | null |
HTMLTableCaptionElement.static __@namespaceURI@1338 | happy-dom | string | null |
HTMLTableSectionElement.static __@tagName@1334 | happy-dom | string | null |
HTMLTableSectionElement.static __@localName@1336 | happy-dom | string | null |
HTMLTableSectionElement.static __@namespaceURI@1338 | happy-dom | string | null |
Изменённые члены классов или интерфейсов
Не обнаружено.
Новые устаревания
| export | @deprecated |
|---|---|
happy-dom · IBrowserSettings.disableCSSFileLoading | CSS file loading is disabled by default. Use "enableCSSFileLoading" to enable it. |
happy-dom · IOptionalBrowserSettings.disableCSSFileLoading | CSS file loading is disabled by default. Use "enableCSSFileLoading" to enable it. |
Изменения требований (engines, peer-зависимости)
Не обнаружено.
Передайте эти данные своему ИИ-агенту
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 для pull request
Часто задаваемые вопросы
Какие несовместимые изменения при обновлении happy-dom с 20 до 21?
Между happy-dom 20.14.6 и 21.0.0 Vigia нашла удалённых экспортов: 0, изменённых сигнатур: 0, удалённых или изменённых членов классов и интерфейсов: 177.
Что устарело в happy-dom 21?
В happy-dom 21.0.0 новыми устаревшими помечено экспортов или членов: 2.
Для агентов
GET https://vigia.coredls.cloud/v1/packages/npm/happy-dom/upgrade?from=20.14.6&to=21.0.0