Packages

@happy-dom/jest-environment

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

Upgrading @happy-dom/jest-environment From 11.0.1 to 11.2.0

9 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 11.0.1Latest21.0.4
  1. 11.0.1yours
  2. 8 releases
  3. 11.2.0target
0
changes to make
0
advisories fixed
3
new
6
fixes

Release by release

  1. 11.2.0

    14 Sep 20231 new
    • New

      Adds support for Window.crypto.

  2. 11.1.2

    14 Sep 20231 fix
    • Fixed

      Only dispatch "close" event in HTMLDialogElement.close() when dialog was open.

  3. 11.1.1

    14 Sep 20231 new
    • New

      Adds support for the mime type "image/svg+xml" to DOMParser.parseFromString(). It will no longer add HTML tags when parsing SVGs.

  4. 11.1.0

    14 Sep 20231 new
    • New

      Add support for handling the <g> element as a an SVG element.

  5. 11.0.6

    13 Sep 20231 fix
    • Fixed

      Fixes issue related to Jest module mocker in "@happy-dom/jest-environment".

  6. 11.0.5

    12 Sep 20231 fix
    • Fixed

      Increases timeout in Window.happyDOM.whenAsyncComplete().

  7. 11.0.4

    12 Sep 20231 fix
    • Fixed

      Jest was using setTimeout from Happy DOM internally for detecting when a test times out. This caused Window.happyDOM.whenAsyncComplete() and Window.happyDOM.cancelAsync() to not work as expected inside Jest. This is a bug in Jest, but this release adds a temporary fix to "@happy-dom/jest-environment" until Jest has solved it.

  8. 11.0.3

    12 Sep 20231 fix
    • Fixed

      Fixes an issue where the Promise returned by Window.happyDOM.whenAsyncComplete() was resolved to early in some scenarios.

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.