jsdom
31.0.1 · 13 Nov 2026MIT166.2M / weekRepositoryHomepagenpmAtom feed
0.11.1 is the newest release of 0.2.x.
In short
5 fixed3 changed
Release note
Serialize special characters in Element.innerHTML/Element.attributes like a grade A browser (Jason Priestley)
Ensure Element.getElementById only returns elements that are attached to the document
Ensure an Element's id is updated when changing the nodeValue of the 'id' attribute (Felix Gnass)
Add: Stacktrace to error reporter (Josh Marshall)
Events now bubble up to the window (Jason Davies)
Add: Initial window.location.hash support (Josh Marshall)
Add: Node#insertBefore should do nothing when both params are the same node (Jason Davies)
Add: Fixes for DOMAttrModified mutation events (Felix Gnass)
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.