Packages

jsdom

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

Upgrading jsdom From 0.10.6 to 0.11.1

2 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.10.6Latest31.0.1
  1. 0.10.6yours
  2. 0.11.0major
  3. 0.11.1target
0
changes to make
0
advisories fixed
1
new
7
fixes

Release by release

  1. 0.11.1

    1 Jul 20143 fixes
    • Fixed

      Attributes that are reflected as properties should be '' when not present, instead of null. (Note that getAttribute still returns null for them).

    • Fixed

      textContent now works for nodes that do not have children, like text nodes for example.

    • Fixed

      jsdom.jQueryify was using the wrong URL for jQuery by default.

  2. 0.11.0

    16 Jun 20141 new · 4 fixes
    • New

      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.

    • Fixed

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

    • Fixed

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

    • Fixed

      Various navigator properties are now getters, not data properties.

    • Fixed

      A bug involving invalid script paths and jsdom.jQueryify.

4 other lines we could not sort, mostly version bumps
  • Add: Node.prototype.parentElement.

    0.11.1
  • Add: Node.prototype.contains now implemented.

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

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

    0.11.0

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.