Packages

happy-dom

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

Your version

14.0.0

major19 Mar 2024Where it was published

14.12.3 is the newest release of 14.x.

In short

1 breaking

  • Breaking

    Removes unnecessary interfaces implemented by Window, Node and Element classes and by classes with a dependency to them - By @capricorn86 in task #1330

Security

Release note

:bomb: Breaking Changes

  • Breaking

    Removes unnecessary interfaces implemented by Window, Node and Element classes and by classes with a dependency to them - By @capricorn86 in task #1330

    • Interfaces was used to solve problems with circular dependencies (e.g. Window => Document => Window)

    • Newer versions of Typescript has solved this problem

    • This release is only breaking if you are using the interfaces. Then you can import and use the class as type instead (e.g. use HTMLElement instead of IHTMLElement)

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.