jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
4.5.2 is the newest release of 4.x.
In short
1 new1 fixed
Release note
Added
HTMLUnknownElementand fix the parser/document.createElementto create those instead ofHTMLElementfor unknown elements.Fixed issues with named and indexed properties on
window, as well aswindow.length, with regard to<frame>s/<iframe>s being added and removed from the document.
Note: this probably should have been a minor version number increment (i.e. 4.1.0 instead of 4.0.5), since it added HTMLUnknownElement. We apologize for the deviation from semver.
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.