Packages

jsdom

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

Your version

4.3.0

10 Apr 2015Where it was published

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 doing el.click().

  • Added defaultPrevented property to Event instances, reflecting whether ev.preventDefault() has been called.

  • Moved the click() method from HTMLInputElement.prototype to HTMLElement.prototype, per the latest spec.

  • Made the click() method trigger a MouseEvent instead of just an Event.

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.