jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
9.12.0 is the newest release of 9.x.
In short
1 new2 fixed2 changed
Release note
Added
HTMLCollection.prototype[Symbol.iterator], so you can usefor-ofloops overHTMLCollections now.Fixed
file.lastModifiedto return the current time as the default, instead of0.Fixed cloning of
Attrs to properly clone the namespace prefix.Tweaked
XMLHttpRequestprogress event ordering slightly to better match the spec and browsers.Tweaked the behavior of calling
event.stopPropagationandevent.stopImmediatePropagationon already-dispatched events, per the latest changes to the DOM Standard.
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.