Packages

happy-dom

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

Your version

14.2.1

21 Mar 2024Where it was published

14.12.3 is the newest release of 14.x.

In short

1 fixed

Security

Release note

:construction_worker_man: Patch fixes

  • Binds getters and setters on all Window classes (not only GlobalWindow), so that they will be available when calling Object.getOwnPropertyDescriptors() - By @capricorn86 in task #1343

    • The reason for this change is that JSDOM and browsers has these properties as part of the Window instance and not the prototype

    • Happy DOM will now behave correctly when overriding a property on Window with spyOn(window, 'property') or Object.defineProperty(window, 'property')

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.