Packages

happy-dom

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

Upgrading happy-dom From 15.11.6 to 21.0.0

175 releases in betweennotes for 172

Other targets from 15.11.6Newest 15.x15.11.7Latest21.0.4
  1. 15.11.6yours
  2. 1 release
  3. 16.0.0major
  4. 28 releases
  5. 17.0.0major
  6. 50 releases
  7. 18.0.0major
  8. 1 release
  9. 19.0.0major
  10. 2 releases
  11. 20.0.0security
  12. 20.0.1security
  13. 47 releases
  14. 20.8.8security
  15. 20.8.9security
  16. 36 releases
  17. 20.14.6security
  18. 21.0.0target
7+
changes to make
5
advisories fixed
52+
new
142+
fixes

Counted from 172 of 175 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking20.0.0
  • Breaking20.0.0
  • Breaking19.0.0
  • Breaking18.0.0
  • Breaking17.0.0
  • Breaking16.0.0
  • Deprecated19.0.0

Security

  • Disables CSS and IFrame loading by default to prevent server-side request forgery (SSRF) - By @capricorn86

    21.0.0
  • Fixes cookie scope forgery vulnerability - By @capricorn86

    20.14.6
  • A security advisory (GHSA-w4gp-fjgq-3q4g) was reported for this security vulnerability.

    20.8.9
  • A security advisory (GHSA-6q6h-j7hj-3r64) has been reported that shows a security vulnerability where it may be possible to escape the VM context and get access to process level functionality in unsafe environments using CommonJS.

    20.8.8
  • A security advisory has been reported showing that the recommended preventive measure of running Node.js with --disallow-code-generation-from-strings wasn't enough to protect against attackers escaping the VM context and accessing process-level functions.

    20.0.1
  • A security advisory (GHSA-37j7-fg3j-429f) has been reported that shows a security vulnerability where it's possible to escape the VM context and get access to process level functionality.

    20.0.0

Release by release

  1. 21.0.0

    Security fix11 Oct 2026
  2. 20.14.6

    Security fix8 Oct 2026
    • Security

      Fixes cookie scope forgery vulnerability - By @capricorn86

  3. 20.14.5

    12 Sep 20261 fix
    • Fixed

      Preserve character references in comment data - By @hampustagerud in task #2409

  4. 20.14.4

    12 Sep 20261 fix
    • Fixed

      End comments at the first comment end tag when it overlaps a comment start tag - By @hampustagerud in task #2407

  5. 20.14.3

    9 Sep 20261 fix
    • Fixed

      Avoids cloning all properties in CSSPropertyManager.toString - By @erictheswift in task #2363

  6. 20.14.2

    9 Sep 20261 fix
    • Fixed

      Fixes regression where not all CSS variables where resolved in getComputedStyle() - By @klaesra in task #2344

  7. 20.14.1

    9 Sep 20261 fix
    • Fixed

      Invalidate the computed style cache for the whole subtree - By @matmannion and @capricorn86 in task #2366

  8. 20.14.0

    3 Sep 20261 new
    • New

      Improves computed style cache - By @capricorn86 in task #2357

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.