@happy-dom/jest-environment
21.0.4 · 20 Oct 2026MIT269.4k / weekRepositoryHomepagenpmAtom feed
17.6.3 is the newest release of 17.x.
In short
1 breaking2 new
- Breaking
Adds support for ECMAScript modules - By @capricorn86 in task #320
Release note
:bomb: Breaking Changes
- Breaking
Adds support for ECMAScript modules - By @capricorn86 in task #320
This change allows the use of
importandexportstatements in JavaScript files
:art: Features
Adds support for tracing never ending tasks when using
waitUntilComplete()- By @capricorn86 in task #1567Read more about how to enable this feature under
debug.traceWaitUntilCompletein the Wiki for IBrowserSettings
Adds support for preloading fetch, stylesheet, script and modules in
HTMLLinkElement- By @capricorn86 in task #320Adds support for
HTMLLinkElement.relList.supports()- By @capricorn86 in task #320Adds support for
Request.mode- By @capricorn86 in task #320Output failed requests to the console - By @capricorn86 in task #320
Adds support for
HTMLScriptElement.blocking,HTMLScriptElement.crossOrigin,HTMLScriptElement.fetchPriority,HTMLScriptElement.noModule,HTMLScriptElement.integrity,HTMLScriptElement.referrerPolicy- By @capricorn86 in task #320Use cache in virtual server requests - By @capricorn86 in task #320
Adds support for
credentialsandreferrerPolicywhen fetching styles and scripts - By @capricorn86 in task #320Disallow invalid attributes from being set in
Element.setAttribute()- By @OlaviSau in task #1706
:construction_worker_man: Patch fixes
Call
afterAsyncResponsefetch interceptor in virtual server requests - By @capricorn86 in task #320Fixes bug where children in a
ShadowRootof a custom element that was upgraded from aHTMLElementwasn't considered connected to the DOM - By @capricorn86 in task #320
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.