Packages

jsdom

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

Upgrading jsdom From 13.2.0 to 14.0.0

1 release in betweenevery note read

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

Release by release

  1. 14.0.0

    10 Mar 20193 fixes
    • Fixed

      Fixed a regression in v13.2.0 when calling element.blur() on a focused element.

    • Fixed

      Fixed inserting <link> elements into documents with no browsing context to no longer crash if the originating JSDOM was configured to fetch the resource. Now, per spec, <link> elements only attempt to fetch if they are browsing-context connected.

    • Fixed

      Fixed <template> elements to have the correct semantics, of using a separate browsing-context-less document to store its contents. In particular this means resources will not be fetched for elements inside the <template>, as per spec.

2 other lines we could not sort, mostly version bumps
  • JSDOM.fragment() now creates fragments whose document has no browsing context, i.e. no associated Window. This means the defaultView property will be null, resources will not load, etc.

    14.0.0
  • JSDOM.fragment(), called with no arguments, now creates a DocumentFragment with no children, instead of with a single child text node whose data was "undefined".

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