jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
13.2.0 is the newest release of 13.x.
In short
1 removed4 new1 fixed
- Removed
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.
Release note
Breaking change:
- Removed
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.
Other changes:
Added proper XML serialization, based on the
w3c-xmlserializerpackage. Previously we were just using the HTML serialization, even in XML documents.Added the
storageEvent.initStorageEvent()method.Added support for the
passiveoption toaddEventListener().Added the
relListproperty to<a>,<area>, and<link>elements.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.