Packages

jsdom

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

Upgrading jsdom From 18.1.1 to 19.0.0

1 release in betweenevery note read

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

Release by release

  1. 19.0.0

    2 Dec 20211 fix
    • Fixed

      Fixed calling window.close() inside the Window's load event to no longer crash.

1 other line we could not sort, mostly version bumps
  • Changed jsdom.nodeLocation() to return undefined when used on nodes that originate via fragment parsing (e.g., via innerHTML). Previously it would return based on the node location of the fragment string, which made node locations unreliable with respect to the original document source. This restores the behavior that was present in v14.0.0, and was accidentally broken in v14.1.0.

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