Packages

jsdom

31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed

Upgrading jsdom From 12.2.0 to 13.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 12.2.0Latest31.0.1
  1. 12.2.0yours
  2. 13.0.0target
1
change to make
0
advisories fixed
4
new
1
fix

Before you upgrade

Tick each one off as you go
  • Breaking13.0.0

Release by release

  1. 13.0.0

    Migration needed29 Oct 20184 new · 1 fix
    • Breaking

      Removed support for v1.x of the canvas package, in favor of v2.x. This also removes support for canvas-prebuilt, since canvas v2.x has a built-in prebuilt version.

    • New

      Added proper XML serialization, based on the w3c-xmlserializer package. Previously we were just using the HTML serialization, even in XML documents.

    • New

      Added the storageEvent.initStorageEvent() method.

    • New

      Added support for the passive option to addEventListener().

    • New

      Added the relList property to <a>, <area>, and <link> elements.

    • Fixed

      Fixed our implementation of the node tree modification constraints (for example the ensure pre-insertion validity algorithm). It is no longer possible to add, remove, or move nodes to create impossible DOM trees.

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.