Packages

happy-dom

21.0.4 · 20 Oct 2026MIT37.7M / weekRepositorynpmAtom feed

Your version

13.4.0

21 Feb 2024Where it was published

13.10.1 is the newest release of 13.x.

In short

1 new

Security

Release note

:art: Features

  • Adds support for CustomElementRegistry.getName() - By @mash-graz in task #1176

  • Adds support for await Window.happyDOM.close(), which makes it possible to wait for the teardown to be completed in a detached window - By @capricorn86 in task #1176

:construction_worker_man: Patch fixes

  • Use Element.localName correctly in Document.createElement() and Document.createElementNS() - By @capricorn86 in task #1176

  • Set correct namespaceURI for "xmlns" attribute when parsing SVGs - By @capricorn86 in task #1176

  • Fixes problem related to window being "null" during teardown/close - By @capricorn86 in task #1176

  • Validate custom element name in CustomElementRegistry - By @mash-graz in task #1176

  • Prevent registration of the same HTMLElement class with different name in CustomElementRegistry - By @mash-graz in task #1176

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.