Packages

@happy-dom/jest-environment

21.0.4 · 20 Oct 2026MIT269.4k / weekRepositoryHomepagenpmAtom feed

Upgrading @happy-dom/jest-environment From 9.10.0 to 9.20.3

28 releases in betweennotes for 8

Reading releases, release notes and advisories…

Other targets from 9.10.0Latest21.0.4
  1. 9.10.0yours
  2. 27 releases
  3. 9.20.3target
?
changes to make
0
advisories fixed
15+
new
5+
fixes

Counted from 8 of 28 release notes. Advisories are counted from the advisory database, in full.

Release by release

  1. 9.20.3

    23 May 20231 fix
    • Fixed

      Fixes issue where all properties didn't get copied from HTMLUnknownElement to a custom element that is replacing it when it is defined.

  2. 9.20.2

    23 May 20231 fix
    • Fixed

      Fixes issue where CSS variable values where not returned by Window.getComputedStyle() when calling CSSStyleDeclaration.getPropertyValue().

  3. 9.20.1

    22 May 20231 fix
    • Fixed

      Fixes problem with querySelectorAll() where it didn't always return elements in document order.

  4. 9.20.0

    22 May 20232 new
    • 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.

  5. 9.19.2

    18 May 20231 fix
    • Fixed

      Fixes issue where attribute selectors with an operator and with a value without quatation marks no longer worked (e.g. "[attr^=value]").

  6. 9.19.1

    18 May 20231 new
    • New

      Adds support for the mime type "apng" to XMLHttpRequest

  7. 9.19.0

    18 May 202312 new
    • New

      Adds support for "rem", "em", "vw", "vh", "vmin", "vmax", "cm", "mm", "in", "pt", "pc", "Q" measurement values to Window.getComputedStyle() and Window.matchMedia()

    • New

      Adds support for "%" measurement values to Window.getComputedStyle() and Window.matchMedia() when setting font size (other properties will be set to "0px")

    • New

      Sets "font: 16px "Times new Roman"" as default font on the <html> when using Window.getComputedStyle()

    • New

      Adds support for "outline", "outline-color", "outline-style", "outline-width", "outline-offset", "letter-spacing", "word-spacing" and "text-indent" to CSSStyleDeclaration.

  8. 9.18.3

    13 May 20231 fix
    • Fixed

      Fixes issue where non-string values did not get converted to strings in CharacterData.data, CharacterData.nodeValue or CharacterData.textContent.

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.