jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
Your version
4.5.2 is the newest release of 4.x.
In short
1 new3 changed
Release note
Made the click behavior for radio buttons and checkboxes work when doing
el.dispatchEvent(clickEvent), not just when doingel.click().Added
defaultPreventedproperty toEventinstances, reflecting whetherev.preventDefault()has been called.Moved the
click()method fromHTMLInputElement.prototypetoHTMLElement.prototype, per the latest spec.Made the
click()method trigger aMouseEventinstead of just anEvent.
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.