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…
- 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
- Breaking
Removed support for v1.x of the
canvaspackage, in favor of v2.x. This also removes support forcanvas-prebuilt, sincecanvasv2.x has a built-in prebuilt version. - New
Added proper XML serialization, based on the
w3c-xmlserializerpackage. Previously we were just using the HTML serialization, even in XML documents. - New
Added the
storageEvent.initStorageEvent()method. - New
Added support for the
passiveoption toaddEventListener(). - New
Added the
relListproperty 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.
- Breaking
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.