Packages

jsdom

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

Upgrading jsdom From 28.0.0 to 28.1.0

1 release in betweenevery note read

Other targets from 28.0.0Latest31.0.1
  1. 28.0.0yours
  2. 28.1.0target
0
changes to make
0
advisories fixed
1
new
6
fixes

Release by release

  1. 28.1.0

    15 Feb 20261 new · 6 fixes
    • New

      Added blob.text(), blob.arrayBuffer(), and blob.bytes() methods.

    • Fixed

      Fixed getComputedStyle() to correctly handle !important priority.

    • Fixed

      Fixed document.getElementById() to return the first element in tree order when multiple elements share the same ID.

    • Fixed

      Fixed <svg> elements to no longer incorrectly proxy event handlers to the Window.

    • Fixed

      Fixed FileReader event timing and fileReader.result state to more closely follow the spec.

    • Fixed

      Fixed a potential hang when synchronous XMLHttpRequest encountered dispatch errors.

    • Fixed

      Fixed compatibility with environments where Node.js's built-in fetch() has been used before importing jsdom, by working around undici v6/v7 incompatibilities.

3 other lines we could not sort, mostly version bumps
  • Improved getComputedStyle() to account for CSS specificity when multiple rules apply.

    28.1.0
  • Improved synchronous XMLHttpRequest performance by using a persistent worker thread, avoiding ~400ms of setup overhead on every synchronous request after the first one.

    28.1.0
  • Improved performance of node.getRootNode(), node.isConnected, and event.dispatchEvent() by caching the root node of document-connected trees.

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