Packages

jsdom

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

Upgrading jsdom From 9.12.0 to 10.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

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

Release by release

  1. 10.0.0

    24 Apr 20171 new · 5 fixes
    • New

      Added document.dir.

    • Fixed

      Fixed <img> elements to no longer fire load events unless their image data is actually loaded (which generally only occurs when the canvas package is installed).

    • Fixed

      Fixed XMLHttpRequest preflights to forward approved preflight headers to the actual request.

    • Fixed

      Fixed htmlElement.dir to properly restrict its values to "ltr", "rtl", or "auto".

    • Fixed

      Fixed setting innerHTML to the empty string to no longer be a no-op.

    • Fixed

      Fixed the origin-checking logic in window.postMessage(), so that now you don't always have to pass an origin of "*".

4 other lines we could not sort, mostly version bumps
  • Removed support for Node.js v4 and v5, as we have started using new JavaScript features only supported in Node.js v6 onwards.

    10.0.0
  • Changed the omitJsdomErrors option to omitJSDOMErrors, for consistency with web platform APIs.

    10.0.0
  • Updated the <a> and <area> APIs to the latest specification, and fixed a few bugs with them.

    10.0.0
  • Improved the xhr.open() error message when there are not enough arguments.

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