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
Release by release
- 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
XMLHttpRequestfetches andWebSocketupgrade requests to be interceptable by the new customizable resource loading. (Except synchronousXMLHttpRequests.) - 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.
- New
2 other lines we could not sort, mostly version bumps
- 28.0.0
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.
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.