@happy-dom/jest-environment
21.0.4 · 20 Oct 2026MIT269.4k / weekRepositoryHomepagenpmAtom feed
Upgrading @happy-dom/jest-environment From 1.10.0 to 1.18.2
21 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- Fixed
Event options should be optional in UIEvent.
- Fixed
- Fixed
Event options should be optional, but some events where requiring options to be defined.
- Fixed
- New
Adds support for window.screen, window.innerWidth and window.innerHeight.
- New
- New
Adds support for DataTransfer, DataTransferItem, DataTransferItemList, UIEvent, ErrorEvent, FocusEvent, InputEvent, KeyboardEvent, MouseEvent and WheelEvent.
- New
- 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
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.