Packages

jsdom

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

Upgrading jsdom From 0.10.4 to 0.11.1

4 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.10.4Latest31.0.1
0
changes to make
0
advisories fixed
1
new
12
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.

  3. 0.10.6

    30 May 20143 fixes
    • Fixed

      The presence of String.prototype.normalize, which is available by default in Node 0.11.13 onwards, caused reflected attributes to break.

    • Fixed

      Iframes now correctly load about:blank when the src attribute is empty or missing.

    • Fixed

      Documents containing only whitespace now correctly generate wrapper documents, just like blank documents do.

  4. 0.10.5

    4 Apr 20142 fixes
    • Fixed

      The list of void elements has been updated to match the latest HTML spec.

    • Fixed

      When serializing void elements, don't include a /: i.e. the result is now <br> instead of <br />.

6 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
  • Add: Remaining URL properties to window.location and HTMLAnchorElement.

    0.10.6
  • Tweak: lazy-load the request module, to improve overall jsdom loading time.

    0.10.6

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.