@happy-dom/jest-environment
21.0.4 · 20 Oct 2026MIT269.4k / weekRepositoryHomepagenpmAtom feed
Upgrading @happy-dom/jest-environment From 2.1.2 to 2.55.0
103 releases in betweennotes for 54
Reading releases, release notes and advisories…
- 2+
- changes to make
- 0
- advisories fixed
- 83+
- new
- 8+
- fixes
Counted from 54 of 103 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Deprecated2.47.0
- Deprecated2.8.0
Security
- 2.50.0
Updates dependencies to fix security vulnerabilities.
Release by release
- New
Adds support for HTMLBaseElement.
- New
Adds support for Node.baseURI.
- New
- New
Adds support for HTMLInputElement.setCustomValidity(), HTMLInputElement.reportValidity() and HTMLInputElement.validationMessage.
- New
- New
Adds support for sending in other values than strings as tag name to Document.createElement() and Document.createElementNS().
- New
- New
Adds support for setting and deleting values in the HTMLElement.dataset object. The changes will be reflected to the attributes of the element.
- New
Improves performance of Element.getAttributeNS() which is used in many places within Happy DOM.
- Fixed
Fixes issue with dataset keys not being in lower camel case.
- New
- New
Adds support for Node.ELEMENT_NODE, Node.TEXT_NODE etc. on the instance. It it currently only available statically.
- New
2.51.1no release note
- New
Adds support for Window.Headers, Window.Response and Window.Request.
- New
Uses the "URLSearchParams" class from the Node "url" package instead of a custom implementation.
- New
Adds support for Blob.text().
- New
Improves the async task manager used when calling Window.happyDOM.whenAsyncComplete().
- Fixed
Fixes problem with.constructor not being the same as the Array class.
- New
- Security
Updates dependencies to fix security vulnerabilities.
- Fixed
Fixes issue with objects and functions not having the same constructor as window.Object and window.Function in a virtual environment.
- Security
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.