jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
In short
2 new2 fixed1 changed
Release note
Added support for shadow DOM! This includes shadow roots, slots, composed events, and more.
Added the
element.toggleAttribute()method.Fixed
XMLHttpRequestsometimes sending an empty request body after a preflight request.Fixed the
formElement.formproperty to use an algorithm that also checks theform=""attribute, instead of always looking for the closest ancestor<form>element.Stopped swallowing errors when the
canvasorcanvas-prebuiltpackages were installed, but failed to load.
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.