@happy-dom/global-registrator
21.0.4 · 20 Oct 2026MIT6.1M / weekRepositoryHomepagenpmAtom feed
Upgrading @happy-dom/global-registrator From 11.0.2 to 11.2.0
8 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
Adds support for
Window.crypto.
- New
- Fixed
Only dispatch "close" event in
HTMLDialogElement.close()when dialog was open.
- Fixed
- New
Adds support for the mime type "image/svg+xml" to
DOMParser.parseFromString(). It will no longer add HTML tags when parsing SVGs.
- New
- New
Add support for handling the
<g>element as a an SVG element.
- New
- Fixed
Fixes issue related to Jest module mocker in "@happy-dom/jest-environment".
- Fixed
- Fixed
Increases timeout in
Window.happyDOM.whenAsyncComplete().
- Fixed
- Fixed
Jest was using
setTimeoutfrom Happy DOM internally for detecting when a test times out. This causedWindow.happyDOM.whenAsyncComplete()andWindow.happyDOM.cancelAsync()to not work as expected inside Jest. This is a bug in Jest, but this release adds a temporary fix to "@happy-dom/jest-environment" until Jest has solved it.
- Fixed
- Fixed
Fixes an issue where the Promise returned by
Window.happyDOM.whenAsyncComplete()was resolved to early in some scenarios.
- Fixed
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.