Packages

jsdom

31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed

Your version

0.11.0

16 Jun 2014Where it was published

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.contains now implemented.

  • Add: navigator.cookieEnabled now implemented; it always returns true.

  • Change: DOCTYPEs no longer have their name property uppercased during parsing, and appear in the output of document.innerHTML.

  • Node.prototype.compareDocumentPosition implemented correctly; various document position constants added to the Node constructor.

  • DocumentType.prototype.parentNode now returns the document node, not null.

  • Various navigator properties 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.