Packages

jsdom

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

Upgrading jsdom From 8.2.0 to 8.3.0

1 release in betweenevery note read

Other targets from 8.2.0Newest 8.x8.5.0Latest31.0.1
  1. 8.2.0yours
  2. 8.3.0target
0
changes to make
0
advisories fixed
5
new
0
fixes

Release by release

  1. 8.3.0

    3 Apr 20165 new
    • New

      img.naturalWidth, img.naturalHeight, img.width, img.height, img.complete, and img.currentSrc will update themselves correctly as the image loads

    • New

      load and error events will fire on the <img> element, according to how well image decoding goes.

    • New

      You can draw images onto canvases, using the newly-enabled canvasContext.drawImage API.

    • New

      Added canvasContext.createPattern and canvasContext.toBlob, when the canvas npm package is installed.

    • New

      Added a basic implementation of the Page Visibility API, in particular a document.hidden property that always returns true, and a document.visibilityState property that always returns "prerender". This is a more standard alternative to our proprietary navigator.noUI, which will be removed whenever we release v9.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.