Commit daa4f97
authored
chore(deps-dev): bump jsdom from 26.1.0 to 28.1.0 in /src/microsoft-trydotnet-editor (#133)
Bumps [jsdom](https://github.com/jsdom/jsdom) from 26.1.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>
<h2>Version 27.4.0</h2>
<ul>
<li>Added <code>TextEncoder</code> and <code>TextDecoder</code>.</li>
<li>Improved decoding of HTML bytes by using the new <a
href="https://www.npmjs.com/package/@exodus/bytes"><code>@exodus/bytes</code></a>
package; it is now much more correct. (ChALkeR)</li>
<li>Improved decoding of XML bytes to use UTF-8 more often, instead of
sniffing for <code><meta charset></code> or using the parent
frame's encoding.</li>
<li>Fixed a memory leak when <code>Range</code>s were used and then the
elements referred to by those ranges were removed.</li>
</ul>
<h2>Version 27.3.0</h2>
<ul>
<li>Improved CSS parsing and CSSOM object APIs via updates to <a
href="https://www.npmjs.com/package/@acemir/cssom"><code>@acemir/cssom</code></a>.
(acemir)</li>
</ul>
<h2>Version 27.2.0</h2>
<ul>
<li>Added <code>CSSGroupingRule</code>,
<code>CSSNestedDeclarations</code>, <code>CSSConditionRule</code>,
<code>CSSContainerRule</code>, <code>CSSScopeRule</code>,
<code>CSSSupportsRule</code>, <code>CSSLayerBlockRule</code>, and
<code>CSSLayerStatementRule</code> to jsdom <code>Window</code>s.
(acemir)</li>
<li>Improved CSS parsing and CSSOM object APIs via updates to <a
href="https://www.npmjs.com/package/@acemir/cssom"><code>@acemir/cssom</code></a>.
(acemir)</li>
<li>Fixed <code>@import</code>-ed stylesheets to be properly exposed to
CSSOM, and not to overwrite the sheet created from the
<code><link></code> or <code><style></code> element.
(acemir)</li>
</ul>
<h2>Version 27.1.0</h2>
<ul>
<li>Improved CSS parsing by switching to <a
href="https://www.npmjs.com/package/@acemir/cssom"><code>@acemir/cssom</code></a>,
including support for nested selectors, nested declarations, layer
statements, and improved at-rule validation. (acemir)</li>
<li>Fixed some selector cache invalidation issues where changes to
attributes were not being picked up. (asamuzaK)</li>
<li>Fixed <code>package.json</code> <code>"engines"</code>
field to reflect the new minimum Node.js versions needed to run jsdom,
as noted in the changelog for v27.0.1.</li>
</ul>
<h2>Version 27.0.1</h2>
<p><strong>This release inadvertently raised the minimum Node.js version
from v20.0.0 to v20.19.0+, v22.12.0+, v24.0.0+</strong>. (This happened
via a dependency update.) This probably should have been a breaking
(major) change, instead of happening in a patch version, since it
prevents using earlier Node.js versions.</p>
<p>After further testing, we found that most of our development
dependencies also require these versions, and so it's not feasible for
the jsdom project to support earlier Node.js versions. (For example, our
testing frameworks will not run on them.) If you need to use such
earlier versions, or otherwise are working in an environment which gives
related errors such as <code>ERR_REQUIRE_ESM</code>, then please stick
with the v26.1.0 release of jsdom. (Noting, of course, that such
versions are unsupported, and we will not respond to bug reports opened
against them.)</p>
<p>Subsequent jsdom releases will explicitly require these minimum
Node.js versions, and will have CI testing to ensure that the minimum
version is not accidentally raised again.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</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>
<h2>27.4.0</h2>
<ul>
<li>Added <code>TextEncoder</code> and <code>TextDecoder</code>.</li>
<li>Improved decoding of HTML bytes by using the new <a
href="https://www.npmjs.com/package/@exodus/bytes"><code>@exodus/bytes</code></a>
package; it is now much more correct. (ChALkeR)</li>
<li>Improved decoding of XML bytes to use UTF-8 more often, instead of
sniffing for <code><meta charset></code> or using the parent
frame's encoding.</li>
<li>Fixed a memory leak when <code>Range</code>s were used and then the
elements referred to by those ranges were removed.</li>
</ul>
<h2>27.3.0</h2>
<ul>
<li>Improved CSS parsing and CSSOM object APIs via updates to <a
href="https://www.npmjs.com/package/@acemir/cssom"><code>@acemir/cssom</code></a>.
(acemir)</li>
</ul>
<h2>27.2.0</h2>
<ul>
<li>Added <code>CSSGroupingRule</code>,
<code>CSSNestedDeclarations</code>, <code>CSSConditionRule</code>,
<code>CSSContainerRule</code>, <code>CSSScopeRule</code>,
<code>CSSSupportsRule</code>, <code>CSSLayerBlockRule</code>, and
<code>CSSLayerStatementRule</code> to jsdom <code>Window</code>s.
(acemir)</li>
<li>Improved CSS parsing and CSSOM object APIs via updates to <a
href="https://www.npmjs.com/package/@acemir/cssom"><code>@acemir/cssom</code></a>.
(acemir)</li>
<li>Fixed <code>@import</code>-ed stylesheets to be properly exposed to
CSSOM, and not to overwrite the sheet created from the
<code><link></code> or <code><style></code> element.
(acemir)</li>
</ul>
<h2>27.1.0</h2>
<ul>
<li>Improved CSS parsing by switching to <a
href="https://www.npmjs.com/package/@acemir/cssom"><code>@acemir/cssom</code></a>,
including support for nested selectors, nested declarations, layer
statements, and improved at-rule validation. (acemir)</li>
<li>Fixed some selector cache invalidation issues where changes to
attributes were not being picked up. (asamuzaK)</li>
<li>Fixed <code>package.json</code> <code>"engines"</code>
field to reflect the new minimum Node.js versions needed to run jsdom,
as noted in the changelog for v27.0.1.</li>
</ul>
<h2>27.0.1</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</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/26.1.0...28.1.0">compare
view</a></li>
</ul>
</details>
<details>
<summary>Install script changes</summary>
<p>This version modifies <code>prepare</code> script that runs during
installation. Review the package contents before updating.</p>
</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 f0d34a4 commit daa4f97
2 files changed
Lines changed: 437 additions & 264 deletions
0 commit comments