@happy-dom/jest-environment
21.0.4 · 20 Oct 2026MIT269.4k / weekRepositoryHomepagenpmAtom feed
Upgrading @happy-dom/jest-environment From 1.3.1 to 1.18.2
34 releases in betweennotes for 18
Reading releases, release notes and advisories…
Release by release
1.17.0 – 1.18.24 releases, no release note
- Fixed
Fixes documentation for jest-environment.
- Fixed
- New
Adds support for live updated styles in window.getComputedStyle() and HTMLElement.style.
- New
Adds support for updating the style attribute when the style property is changed.
- New
Adds support for Element.scroll(), Element.scrollTo(), Window.scroll(), Window.scrollTo().
- New
Adds support for HTMLElement.accessKey, HTMLElement.accessKeyLabel, HTMLElement.contentEditable, HTMLElement.isContentEditable, HTMLElement.tabIndex, HTMLElement.dataset, HTMLElement.dir, HTMLElement.hidden, HTMLElement.lang, HTMLElement.title.
- New
- New
Adds support for window.getComputedStyle().
- New
- New
Adds support for SVGSVGElement.createSVGNumber(), SVGSVGElement.createSVGLength(), SVGSVGElement.createSVGAngle(), SVGSVGElement.createSVGPoint(), SVGSVGElement.createSVGRect(), SVGSVGElement.createSVGTransform().
- Fixed
Fixes bug where it was not possible to clone HTMLInputElement nodes.
- Fixed
Fixes bugs related to setting properties not setting attribute values in HTMLInputElement, HTMLTextAreaElement, SVGSVGElement.
- New
- New
Adds support for Document.cookie.
- New
- New
Adds support for History API.
- New
- New
Adds support for HTMLScriptElement. This means that code inside script elements will be evaluated using eval(), so make sure that you disable evaluation in your VM.Context if you do not wish that code inside script elements gets executed.
- New
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.