Packages

jsdom

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

Upgrading jsdom From 17.0.0 to 18.0.0

1 release in betweenevery note read

Other targets from 17.0.0Latest31.0.1
The note of 18.0.0 lists no breaking change or deprecation, which is rare for a major.
  1. 17.0.0yours
  2. 18.0.0target
?
changes to make
0
advisories fixed
0
new
3
fixes

Release by release

  1. 18.0.0

    8 Oct 20213 fixes
    • Fixed

      Fixed SSL certificate checking for WebSocket connections. Previously, invalid SSL certificates were always accepted; now, they properly respect the ResourceLoader's strictSSL option (which defaults to true).

    • Fixed

      Fixed moving an element between HTML and XML documents to reset the tagName cache, allowing it to return a lowercase value once it's in the XML document.

    • Fixed

      Fixed form submission to not happen when the form is invalid.

1 other line we could not sort, mostly version bumps
  • Changed the global in which almost all Promise and TypeError instances are created to be the jsdom global, not the Node.js global. This could affect any code that uses instanceof.

    18.0.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.