jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
11.12.0 is the newest release of 11.x.
In short
2 new4 fixed2 changed
Release note
Added the boolean return value to
DOMTokenList'sreplace()method, per the recent spec addition.Added
FileReader'sreadAsBinaryString()method, as it has been added back to the specification.Fixed event handlers to be own properties of each
Window, instead of onWindow.prototype.Fixed an exception that would sometimes get raised when removing an
<img>element'ssrc=""attribute.Fixed
abortevents onAbortSignals to have theirisTrustedset to true.Fixed some argument conversions in
XMLHttpRequest'sopen()method.Improved MIME type and
data:URL parsing throughout jsdom, by using the newwhatwg-mimetypeanddata-urlspackages.Removed some unnecessary
.webidlfiles that were included in the npm package.
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.