Packages

jsdom

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

Upgrading jsdom From 27.4.0 to 28.0.0

1 release in betweenevery note read

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

Release by release

  1. 28.0.0

    2 Feb 20261 new · 7 fixes
    • New

      Added MIME type sniffing to <iframe> and <frame> loads.

    • Fixed

      Fixed decoding of the query components of <a> and <area> elements in non-UTF-8 documents.

    • Fixed

      Fixed XMLHttpRequest fetches and WebSocket upgrade requests to be interceptable by the new customizable resource loading. (Except synchronous XMLHttpRequests.)

    • Fixed

      Fixed the referrer of a document to be set correctly when redirects are involved; it is now the initiating page, not the last hop in the redirect chain.

2 other lines we could not sort, mostly version bumps
  • Overhauled resource loading customization. See the new README for details on the new API.

    28.0.0
  • Regression: WebSockets are no longer correctly throttled to one connection per origin. This is a result of the bug at nodejs/undici#4743.

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