jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
9.12.0 is the newest release of 9.x.
In short
1 new3 fixed1 changed
Release note
Added the
Audionamed constructor.Fixed the
Imagenamed constructor to follow the spec more closely (e.g.Image.prototypeis now equal toHTMLImageElement.prototype).Fixed the
tabIndexsetter, which regressed in 9.1.0, to no longer cause errors.Made submit buttons and labels respond to click event cancelation correctly, preventing form submission and re-dispatching to the relevant form control.
Fixed unhandled errors thrown in XHR event handlers being swallowed; they now properly are redirected to the virtual console.
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.