Packages

jsdom

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

Your version

26.1.0

13 Apr 2025Where it was published

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 SVGAnimatedPreserveAspectRatio and SVGAnimatedRect, including support in the reflection layer.

  • Added the SVGSVGElement createSVGRect() method, and the SVGRect type (which is distinct from DOMRect.)

  • Added indexed property support to HTMLFormElement.

  • Updated the SVGElement viewportElement() method to correctly establish the viewport based on ancestor elements.

  • Removed the now-bloated form-data dependency in favor of our own smaller implementation of multipart/form-data serialization. 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.