Packages

happy-dom

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

Your version

12.5.1

2 Oct 2023Where it was published

12.10.3 is the newest release of 12.x.

In short

1 new1 fixed

Security

Release note

:art: Features

  • Adds support for DocumentFragment as a constructor (e.g. new DocumentFragment()).

:construction_worker_man: Patch fixes

  • Fixes issue related to ownerDocument being null when executing ownerDocument.createElement() in React 18. The error occurred when rendering a Radix UI component. The root cause was that React 18 uses DocumentFragment as a constructor which was not supported.

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.