Packages

jsdom

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

Upgrading jsdom From 6.2.0 to 6.3.0

1 release in betweenevery note read

Other targets from 6.2.0Newest 6.x6.5.1Latest31.0.1
  1. 6.2.0yours
  2. 6.3.0target
1
change to make
0
advisories fixed
2
new
9
fixes

Before you upgrade

Tick each one off as you go
  • Breaking6.3.0

Release by release

  1. 6.3.0

    Migration needed30 Aug 20152 new · 9 fixes
    • Breaking

      HTMLIsIndexElement was removed; it has never been produced by the parser since 1.0.0-pre.1, and so it has been just a vestigial global property.

    • New

      Added a fully spec-compliant implementation of window.atob and window.btoa.

    • New

      Added Node.prototype.baseURI property to get the node's owner document's base URL.

    • Fixed

      With the canvas npm package installed, <canvas> elements are now properly instanceof HTMLCanvasElement and instanceof HTMLElement.

3 other lines we could not sort, mostly version bumps
  • HTMLBaseElement's href getter now contains appropriate fallbacks and always returns an absolute URL, per spec.

    6.3.0
  • If there are no base elements in an "about:blank" iframe document, the base URL correctly falls back to the parent window's base URL.

    6.3.0
  • When you provide a url: ... option to jsdom.jsdom() or jsdom.env(), the given string is now attempted to be resolved as a URL before it is installed as document.URL.

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