Packages

happy-dom

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

Your version

20.0.1

14 Oct 2025Where it was published

20.14.6 is the newest release of 20.x.

In short

1 new

Security

Release note

:construction_worker_man: Patch fixes

  • Adds warning for environment with unfrozen intrinsics (builtins) when JavaScript evaluation is enabled- By @capricorn86 in task #1932

    • 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. Big thanks to @cristianstaicu for reporting this!

    • The documentation for how to run Happy DOM with JavaScript evaluation enabled in a safer way has been updated. Read more about it in the 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.