Packages

jsdom

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

Upgrading jsdom From 5.0.0 to 5.0.1

1 release in betweenevery note read

Other targets from 5.0.0Newest 5.x5.6.1Latest31.0.1
  1. 5.0.0yours
  2. 5.0.1target
0
changes to make
0
advisories fixed
0
new
6
fixes

Release by release

  1. 5.0.1

    16 Apr 20156 fixes
    • Fixed

      Fixed document.cookie setter to no longer ignore null; instead it correctly sets a cookie of "null". (Chrome is not compliant to the spec in this regard.)

    • Fixed

      Fixed documents created with parsingMode: "xml" to no longer get "<html><head></head><body></body></html>" automatically inserted when calling jsdom.jsdom() with no arguments.

    • Fixed

      Fixed the innerHTML setter to no longer ignore undefined; instead it correctly sets the innerHTML to "undefined".

    • Fixed

      Fixed document.write to throw for XML documents as per the spec.

    • Fixed

      Fixed document.write to accept more than one argument (they get concatenated).

    • Fixed

      Fixed document.write("") to no longer try to write "<html><head></head><body></body></html>".

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.