jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
16.7.0 is the newest release of 16.x.
In short
3 new12 fixed1 changed
Release note
Added
window.queueMicrotask().Added
window.event.Added
inputEvent.inputType.Removed
ondragexitfromWindowand friends, per a spec update.Fixed the URL of
about:blankiframes. Previously it was getting set to the parent's URL.Fixed the loading of subresources from the filesystem when they had non-ASCII filenames.
Fixed the
hidden=""attribute to causedisplay: noneper the user-agent stylesheet.Fixed the
new File()constructor to no longer convert/to:, per a pending spec update.Fixed mutation observer callbacks to be called with the
MutationObserverinstance as theirthisvalue.Fixed
<input type=checkbox>and<input type=radio>to be mutable even when disabled, per a spec update.Fixed
XMLHttpRequestto not fire a redundant finalprogressevent if aprogressevent was previously fired with the sameloadedvalue. This would usually occur with small files.Fixed
XMLHttpRequestto expose theContent-Lengthheader on cross-origin responses.Fixed
xhr.responseto returnnullfor failures that occur during the middle of the download.Fixed edge cases around passing callback functions or event handlers.
Fixed edge cases around the properties of proxy-like objects such as
localStorageordataset.Fixed a potential memory leak with custom elements (although we could not figure out how to trigger it).
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.