jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
In short
4 new3 changed
Release note
Added at least partial support for various SVG elements and their classes:
<defs>(SVGDefsElement),<desc>(SVGDescElement),<g>(SVGGElement),<metadata>(SVGMetadataElement),<switch>(SVGSwitchElement), and<symbol>(SVGSymbolElement).Added
SVGAnimatedPreserveAspectRatioandSVGAnimatedRect, including support in the reflection layer.Added the
SVGSVGElementcreateSVGRect()method, and theSVGRecttype (which is distinct fromDOMRect.)Added indexed property support to
HTMLFormElement.Updated the
SVGElementviewportElement()method to correctly establish the viewport based on ancestor elements.Removed the now-bloated
form-datadependency in favor of our own smaller implementation ofmultipart/form-dataserialization. No functional changes are expected.Various performance improvements, caches, microoptimizations, and deferred object creation.
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.