Packages

happy-dom

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

Upgrading happy-dom From 12.10.3 to 13.0.0

1 release in betweenevery note read

Other targets from 12.10.3Clears its 5 advisories21.0.0Latest21.0.4
  1. 12.10.3yours
  2. 13.0.0target

Before you upgrade

Tick each one off as you go
  • Breaking13.0.0
  • Deprecated13.0.0

Security

  • This release took some time as I didn't want to release the Browser API without applying security fixes.

    13.0.0

Release by release

  1. 13.0.0

    Security fix10 Jan 202415 new · 5 fixes
    • Security

      This release took some time as I didn't want to release the Browser API without applying security fixes.

    • Breaking

      This is a big release where much of the code has been refactored to improve security and to support the new Browser API. A big release is always a potential risk of bugs, so it makes sense to make this a major release to avoid consumers automatically updating to it.

    • Deprecated

      Deprecates "@happy-dom/uncaught-exception-observer" as the functionality is supported by "happy-dom" out of the box now.

    • New

      Adds support for a Browser API similar to Puppeteer and Playwright. With the Browser API, it is for example possible to create new pages and navigate in them. You can read more about it in the Happy DOM Wiki.

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.