@happy-dom/jest-environment
21.0.4 · 20 Oct 2026MIT269.4k / weekRepositoryHomepagenpmAtom feed
Upgrading @happy-dom/jest-environment From 9.19.1 to 9.20.3
5 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- Fixed
Fixes issue where all properties didn't get copied from
HTMLUnknownElementto a custom element that is replacing it when it is defined.
- Fixed
- Fixed
Fixes issue where CSS variable values where not returned by
Window.getComputedStyle()when callingCSSStyleDeclaration.getPropertyValue().
- Fixed
- Fixed
Fixes problem with
querySelectorAll()where it didn't always return elements in document order.
- Fixed
- New
Adds support for disabling the simulation of rendering when calculating computed style. The rendering process converts units such as rem, em and cm to pixels, but it is very limited.
- New
Changes the behavior of converting percentage values to "0px" when calculating computed style (as it fails to convert) to just leave the values.
- New
- Fixed
Fixes issue where attribute selectors with an operator and with a value without quatation marks no longer worked (e.g. "[attr^=value]").
- Fixed
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.