jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
11.12.0 is the newest release of 11.x.
In short
3 new4 fixed3 changed
Release note
Added
node.getRootNode().Added
label.control.Added
el.labelsfor form control elements.Fixed the
contentTypeofDocuments created through<iframe>s.Fixed the
contentTypeandoriginofDocuments created throughdocument.implementation.createDocument().Fixed
sourceEl.srcsetto return the value of thesrcset=""attribute, instead of thecite=""attribute.Fixed
node.normalize()to not modify non-Textnodes.Upgraded
cssstyleto v0.3.1, bringing along various fixes to our CSS parser and object model.Upgraded
whatwg-urlto v6.4.1, fixing the interaction ofURL'shrefandsearchParamsproperties.Upgraded our selector matching engine from
nwsmatchertonwsapi, bringing along extensive fixes, performance improvements, and additional selector support.
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.