This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| jsdom | ^27.4.0 → ^28.1.0 |
Release Notes
jsdom/jsdom (jsdom)
v28.1.0
- Added
blob.text(),blob.arrayBuffer(), andblob.bytes()methods. - Improved
getComputedStyle()to account for CSS specificity when multiple rules apply. (asamuzaK) - Improved synchronous
XMLHttpRequestperformance by using a persistent worker thread, avoiding ~400ms of setup overhead on every synchronous request after the first one. - Improved performance of
node.getRootNode(),node.isConnected, andevent.dispatchEvent()by caching the root node of document-connected trees. - Fixed
getComputedStyle()to correctly handle!importantpriority. (asamuzaK) - Fixed
document.getElementById()to return the first element in tree order when multiple elements share the same ID. - Fixed
<svg>elements to no longer incorrectly proxy event handlers to theWindow. - Fixed
FileReaderevent timing andfileReader.resultstate to more closely follow the spec. - Fixed a potential hang when synchronous
XMLHttpRequestencountered dispatch errors. - Fixed compatibility with environments where Node.js's built-in
fetch()has been used before importing jsdom, by working around undici v6/v7 incompatibilities.
v28.0.0
- Overhauled resource loading customization. See the new README for details on the new API.
- Added MIME type sniffing to
<iframe>and<frame>loads. - Regression:
WebSockets are no longer correctly throttled to one connection per origin. This is a result of the bug at nodejs/undici#4743. - Fixed decoding of the query components of
<a>and<area>elements in non-UTF-8 documents. - Fixed
XMLHttpRequestfetches andWebSocketupgrade requests to be interceptable by the new customizable resource loading. (Except synchronousXMLHttpRequests.) - 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.
- Fixed correctness bugs when passing
ArrayBuffers or typed arrays to various APIs, where they would not correctly snapshot the data. - Fixed
require("url").parse()deprecation warning when usingWebSockets. - Fixed
<iframe>,<frame>, and<img>(whencanvasis installed) to fireloadevents, noterrorevents, on non-OK HTTP responses. - Fixed many small issues in
XMLHttpRequest.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.