jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
0.11.1 is the newest release of 0.11.x.
In short
1 new4 fixed3 changed
Release note
Add: New default level,
living, reflecting our focus on the DOM Living Standard and the HTML Living Standard, which are what browsers actually implement. This should open the door for more features of the modern DOM and HTML specs to be implemented in jsdom.Add:
Node.prototype.containsnow implemented.Add:
navigator.cookieEnablednow implemented; it always returnstrue.Change: DOCTYPEs no longer have their
nameproperty uppercased during parsing, and appear in the output ofdocument.innerHTML.Node.prototype.compareDocumentPositionimplemented correctly; various document position constants added to theNodeconstructor.DocumentType.prototype.parentNodenow returns the document node, notnull.Various
navigatorproperties are now getters, not data properties.A bug involving invalid script paths and
jsdom.jQueryify.
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.