jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
0.11.1 is the newest release of 0.10.x.
In short
3 fixed2 changed
Release note
Add: Remaining URL properties to
window.locationandHTMLAnchorElement.The presence of
String.prototype.normalize, which is available by default in Node 0.11.13 onwards, caused reflected attributes to break.Iframes now correctly load
about:blankwhen thesrcattribute is empty or missing.Documents containing only whitespace now correctly generate wrapper documents, just like blank documents do.
Tweak: lazy-load the request module, to improve overall jsdom loading time.
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.