jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
Your version
9.12.0 is the newest release of 9.x.
In short
2 new1 fixed
Release note
Added
EventListenerOptionssupport toaddEventListenerandremoveEventListener, including both theonceandcaptureoptions.Added
document.hasFocus()Fixed the focus management to ensure that focusing something inside an
iframewill also focus theiframeitself.
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.