Commit 1c8b278
authored
chore(deps-dev): bump jsdom from 27.4.0 to 28.1.0 (#1434)
Bumps [jsdom](https://github.com/jsdom/jsdom) from 27.4.0 to 28.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/jsdom/jsdom/releases">jsdom's
releases</a>.</em></p>
<blockquote>
<h2>Version 28.1.0</h2>
<ul>
<li>Added <code>blob.text()</code>, <code>blob.arrayBuffer()</code>, and
<code>blob.bytes()</code> methods.</li>
<li>Improved <code>getComputedStyle()</code> to account for CSS
specificity when multiple rules apply. (asamuzaK)</li>
<li>Improved synchronous <code>XMLHttpRequest</code> performance by
using a persistent worker thread, avoiding ~400ms of setup overhead on
every synchronous request after the first one.</li>
<li>Improved performance of <code>node.getRootNode()</code>,
<code>node.isConnected</code>, and <code>event.dispatchEvent()</code> by
caching the root node of document-connected trees.</li>
<li>Fixed <code>getComputedStyle()</code> to correctly handle
<code>!important</code> priority. (asamuzaK)</li>
<li>Fixed <code>document.getElementById()</code> to return the first
element in tree order when multiple elements share the same ID.</li>
<li>Fixed <code><svg></code> elements to no longer incorrectly
proxy event handlers to the <code>Window</code>.</li>
<li>Fixed <code>FileReader</code> event timing and
<code>fileReader.result</code> state to more closely follow the
spec.</li>
<li>Fixed a potential hang when synchronous <code>XMLHttpRequest</code>
encountered dispatch errors.</li>
<li>Fixed compatibility with environments where Node.js's built-in
<code>fetch()</code> has been used before importing jsdom, by working
around undici v6/v7 incompatibilities.</li>
</ul>
<h2>Version 28.0.0</h2>
<ul>
<li>Overhauled resource loading customization. See <a
href="https://github.com/jsdom/jsdom/blob/2b65c6a80af2c899e32933c5e0cb842164852149/README.md#loading-subresources">the
new README</a> for details on the new API.</li>
<li>Added MIME type sniffing to <code><iframe></code> and
<code><frame></code> loads.</li>
<li>Regression: <code>WebSocket</code>s are no longer correctly
throttled to one connection per origin. This is a result of the bug at
<a
href="https://redirect.github.com/nodejs/undici/issues/4743">nodejs/undici#4743</a>.</li>
<li>Fixed decoding of the query components of <code><a></code> and
<code><area></code> elements in non-UTF-8 documents.</li>
<li>Fixed <code>XMLHttpRequest</code> fetches and <code>WebSocket</code>
upgrade requests to be interceptable by the new customizable resource
loading. (Except synchronous <code>XMLHttpRequest</code>s.)</li>
<li>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.</li>
<li>Fixed correctness bugs when passing <code>ArrayBuffer</code>s or
typed arrays to various APIs, where they would not correctly snapshot
the data.</li>
<li>Fixed <code>require("url").parse()</code> deprecation
warning when using <code>WebSocket</code>s.</li>
<li>Fixed <code><iframe></code>, <code><frame></code>, and
<code><img></code> (when <code>canvas</code> is installed) to fire
<code>load</code> events, not <code>error</code> events, on non-OK HTTP
responses.</li>
<li>Fixed many small issues in <code>XMLHttpRequest</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/jsdom/jsdom/blob/main/Changelog.md">jsdom's
changelog</a>.</em></p>
<blockquote>
<h2>28.1.0</h2>
<ul>
<li>Added <code>blob.text()</code>, <code>blob.arrayBuffer()</code>, and
<code>blob.bytes()</code> methods.</li>
<li>Improved <code>getComputedStyle()</code> to account for CSS
specificity when multiple rules apply. (asamuzaK)</li>
<li>Improved synchronous <code>XMLHttpRequest</code> performance by
using a persistent worker thread, avoiding ~400ms of setup overhead on
every synchronous request after the first one.</li>
<li>Improved performance of <code>node.getRootNode()</code>,
<code>node.isConnected</code>, and <code>event.dispatchEvent()</code> by
caching the root node of document-connected trees.</li>
<li>Fixed <code>getComputedStyle()</code> to correctly handle
<code>!important</code> priority. (asamuzaK)</li>
<li>Fixed <code>document.getElementById()</code> to return the first
element in tree order when multiple elements share the same ID.</li>
<li>Fixed <code><svg></code> elements to no longer incorrectly
proxy event handlers to the <code>Window</code>.</li>
<li>Fixed <code>FileReader</code> event timing and
<code>fileReader.result</code> state to more closely follow the
spec.</li>
<li>Fixed a potential hang when synchronous <code>XMLHttpRequest</code>
encountered dispatch errors.</li>
<li>Fixed compatibility with environments where Node.js's built-in
<code>fetch()</code> has been used before importing jsdom, by working
around undici v6/v7 incompatibilities.</li>
</ul>
<h2>28.0.0</h2>
<ul>
<li>Overhauled resource loading customization. See <a
href="https://github.com/jsdom/jsdom/blob/2b65c6a80af2c899e32933c5e0cb842164852149/README.md#loading-subresources">the
new README</a> for details on the new API.</li>
<li>Added MIME type sniffing to <code><iframe></code> and
<code><frame></code> loads.</li>
<li>Regression: <code>WebSocket</code>s are no longer correctly
throttled to one connection per origin. This is a result of the bug at
<a
href="https://redirect.github.com/nodejs/undici/issues/4743">nodejs/undici#4743</a>.</li>
<li>Fixed decoding of the query components of <code><a></code> and
<code><area></code> elements in non-UTF-8 documents.</li>
<li>Fixed <code>XMLHttpRequest</code> fetches and <code>WebSocket</code>
upgrade requests to be interceptable by the new customizable resource
loading. (Except synchronous <code>XMLHttpRequest</code>s.)</li>
<li>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.</li>
<li>Fixed correctness bugs when passing <code>ArrayBuffer</code>s or
typed arrays to various APIs, where they would not correctly snapshot
the data.</li>
<li>Fixed <code>require("url").parse()</code> deprecation
warning when using <code>WebSocket</code>s.</li>
<li>Fixed <code><iframe></code>, <code><frame></code>, and
<code><img></code> (when <code>canvas</code> is installed) to fire
<code>load</code> events, not <code>error</code> events, on non-OK HTTP
responses.</li>
<li>Fixed many small issues in <code>XMLHttpRequest</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/jsdom/jsdom/commit/12949b524ca234c15146dbbcc2aa756deb20fa03"><code>12949b5</code></a>
Version 28.1.0</li>
<li><a
href="https://github.com/jsdom/jsdom/commit/ce4c58fac40002e024d32f50d11c6e9c5deaff89"><code>ce4c58f</code></a>
Apply CSS specificity when computing styles</li>
<li><a
href="https://github.com/jsdom/jsdom/commit/7ed55a024e7fc1c9dcdbef81ad0399f83147c67b"><code>7ed55a0</code></a>
Skip single-byte-decoder encoding tests on Node 20</li>
<li><a
href="https://github.com/jsdom/jsdom/commit/f3b1973ca073e163d817a0cf4fb3b94f34a8bcc5"><code>f3b1973</code></a>
Generalize node version conditions in test expectations</li>
<li><a
href="https://github.com/jsdom/jsdom/commit/853c596a0688b1b4c9bc2455401eccb9a71debdc"><code>853c596</code></a>
Rewrite getElementById ID caching for tree-order correctness</li>
<li><a
href="https://github.com/jsdom/jsdom/commit/5fbfde654e32c7da63f7d64a27deddcfcbe5188b"><code>5fbfde6</code></a>
Fix potential sync XHR worker hang from unhandled dispatch errors</li>
<li><a
href="https://github.com/jsdom/jsdom/commit/82df38f756a9b47b595da021ca121f70f1430bca"><code>82df38f</code></a>
Cache the root node for document-connected trees</li>
<li><a
href="https://github.com/jsdom/jsdom/commit/ed7c5c05209e59b5bcbaf7b44a0c38cd776e39b5"><code>ed7c5c0</code></a>
Add documentation comment to create-event-accessor.js</li>
<li><a
href="https://github.com/jsdom/jsdom/commit/b4562e9e8f14d4194bdf21fc6682247d50505f0f"><code>b4562e9</code></a>
Simplify Window.js installEventHandlers</li>
<li><a
href="https://github.com/jsdom/jsdom/commit/7da340fc6ef29cf502bc9df92999dd619512fde1"><code>7da340f</code></a>
Centralize "determine the target of an event handler"</li>
<li>Additional commits viewable in <a
href="https://github.com/jsdom/jsdom/compare/27.4.0...28.1.0">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent 113bdf8 commit 1c8b278
2 files changed
Lines changed: 100 additions & 95 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments