jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
9.12.0 is the newest release of 9.x.
In short
1 new4 fixed
Release note
Added
document.scripts,document.embeds, anddocument.plugins.Fixed
document.getElementsByTagNameanddocument.getElementsByTagNameNSto returnHTMLCollections instead ofNodeLists, and to follow the spec algorithms more exactly.Fixed various
HTMLCollection-returning getters such asdocument.appletsortable.cellsto be more spec-compliant.Fixed the resource loader to respect the
agentandagentClassoptions, not just theagentOptionsone.Fixed
console.groupCollapseto beconsole.groupCollapsed(and changed the virtual console accordingly).
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.