@happy-dom/jest-environment
21.0.4 · 20 Oct 2026MIT269.4k / weekRepositoryHomepagenpmAtom feed
18.0.1 is the newest release of 18.x.
In short
1 breaking
- Breaking
Makes the types for Happy DOM strict - By @capricorn86 in task #1154
Release note
:bomb: Breaking Changes
- Breaking
Makes the types for Happy DOM strict - By @capricorn86 in task #1154
This makes it possible to use the option
skipLibCheckset to "false" in the typescript configuration for projects with a strict configurationThis change has resulted in that some types has changed and is therefore considered as a breaking change
- Breaking
BrowserContext.close()now throws an error when trying to close the default context of a browser - By @capricorn86 in task #1154
:art: Features
Adds support for
Browser.closed,BrowserContext.closed,BrowserPage.closedandBrowserFrame.closed- By @capricorn86 in task #1154Adds support for
VirtualConsolePrinter.close()andVirtualConsolePrinter.closed- By @capricorn86 in task #1154Adds support for
CookieContainer.clearCookies()- By @capricorn86 in task #1154
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.