build: bump jsdom from 30.0.1 to 30.1.1 #37
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.34) × (1 − Review Confidence (0.45)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.34 · 136 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.00 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.350
Diff Size
diff_size
0.294
Real PR Conversation Timeline
2 items
Approved
Approved these changes.
nicknikolakakis
dependabot[bot]
Bumps jsdom from 30.0.1 to 30.1.1.
<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>v30.1.1</h2>
<ul>
<li>Fixed spurious window <code>blur</code> and <code>focusout</code> events and incorrect <code>event.relatedTarget</code> values when focusing an element after removing the previously focused element, which regressed in v30.1.0. (<a href="https://github.com/asamuzaK"><code>@asamuzaK</code></a>)</li>
<li>Fixed focus and blur behavior across frames, and focusing the document's viewport through <code>document.documentElement.focus()</code>. (<a href="https://github.com/asamuzaK"><code>@asamuzaK</code></a>)</li>
<li>Fixed focus targets removed or disabled by <code>blur</code> listeners becoming active, and text selections made by focus and blur listeners being overwritten. (<a href="https://github.com/asamuzaK"><code>@asamuzaK</code></a>)</li>
<li>Fixed <code>element.focus()</code> incorrectly focusing disabled form controls and <code><input type="hidden"></code> elements with <code>tabindex=""</code>. (<a href="https://github.com/scttcper"><code>@scttcper</code></a>)</li>
<li>Fixed invalid <code>style.setProperty()</code> calls changing existing <code>!important</code> priorities, serialized styles, or mutation records. (<a href="https://github.com/FedgeNo"><code>@FedgeNo</code></a>)</li>
<li>Fixed <code>!important</code> handling when updating CSS longhands after shorthands, using variables or CSS-wide keywords, and assigning style properties directly. (<a href="https://github.com/FedgeNo"><code>@FedgeNo</code></a>)</li>
<li>Fixed <code><noscript></code> parsing with <code>includeNodeLocations: true</code> or inside frames to honor the <code>runScripts</code> option.</li>
<li>Fixed the <code>storageQuota</code> option being ignored by frames.</li>
<li>Fixed encoding detection of HTML and XML byte input to honor XML encoding declarations and detect UTF-16 without a byte order mark.</li>
<li>Fixed exceptions caused by truncated <code>charset</code> parameters in <code><meta></code> elements, and encoding detection incorrectly using incomplete <code><meta></code> tags. (<a href="https://github.com/FedgeNo"><code>@FedgeNo</code></a>)</li>
<li>Fixed XML serialization errors for namespaces named <code>constructor</code>, <code>toString</code>, <code>__proto__</code>, or <code>"null"</code>, and incorrect reuse of namespace prefixes declared on sibling elements.</li>
<li>Fixed <code>element.innerHTML</code> and <code>element.outerHTML</code> in XML documents to reject invalid characters in attribute values and avoid stack overflows on large strings.</li>
<li>Fixed selector matching for <code>:lang()</code>, <code>:nth-child(... of ...)</code> after mutations, and <code>:has()</code> with duplicate IDs or nested logical pseudo-classes. (<a href="https://github.com/asamuzaK"><code>@asamuzaK</code></a>)</li>
</ul>
<h2>v30.1.0</h2>
<p>jsdom is feeling the AGI!</p>
<p>This release is dedicated to <a href="https://github.com/scttcper"><code>@scttcper</code></a>, who unleashed <a href="https://github.com/codex"><code>@codex</code></a> upon jsdom and found tons of performance improvements. Along the way, he found and fixed many correctness issues as well.</p>
<p>We really appreciate his thoughtful PRs, which did a great job following the project's contribution guidelines, and were clearly human-curated, with their PR descriptions edited to be brief and respectful of the maintainers' time.</p>
<p>Thanks to <a href="https://github.com/scttcper"><code>@scttcper</code></a>, as well as all the other contributors of this release (most of whom were AI-assisted).</p>
<ul>
<li>Added named access to elements on <code>document</code>, such as <code>document.myForm</code> for <code><form name="myForm"></code>. (<a href="https://github.com/vojtisprime11"><code>@vojtisprime11</code></a>)</li>
<li>Added <code>QuotaExceededError</code>, including its use for storage quota errors and oversized <code>crypto.getRandomValues()</code> requests.</li>
<li>Added support for the relaxed DOM naming rules when creating elements, attributes, and document types.</li>
<li>Improved performance of DOM construction, tree mutations, range operations, and live collection access, especially on large documents. (<a href="https://github.com/scttcper"><code>@scttcper</code></a>, <a href="https://github.com/erezrokah"><code>@erezrokah</code></a>)</li>
<li>Improved performance of <code>getComputedStyle()</code>, style changes, and CSS serialization. (<a href="https://github.com/scttcper"><code>@scttcper</code></a>, <a href="https://github.com/jhult"><code>@jhult</code></a>)</li>
<li>Improved performance of event dispatch, form control and label lookups, and updates to <code><select></code> elements and radio button groups. (<a href="https://github.com/scttcper"><code>@scttcper</code></a>)</li>
<li>Reduced memory use when creating and working with DOM nodes, attributes, event listeners, and mutation observers. (<a href="https://github.com/scttcper"><code>@scttcper</code></a>)</li>
<li>Changed <code>window.close()</code> to preserve access to the document and its DOM through retained references.</li>
<li>Fixed <code>element.querySelectorAll()</code> returning no matches when the first part of the selector matches the element itself, which regressed in v30.0.0. (<a href="https://github.com/asamuzaK"><code>@asamuzaK</code></a>)</li>
<li>Fixed case sensitivity in CSS attribute selectors, including selectors matching <code>data-state=""</code>, <code>title=""</code>, and other case-sensitive values. (<a href="https://github.com/asamuzaK"><code>@asamuzaK</code></a>)</li>
<li>Fixed <code>document.querySelector()</code> failing to find a matching element when an earlier element has the same ID but does not match the rest of the selector. (<a href="https://github.com/vojtisprime11"><code>@vojtisprime11</code></a>)</li>
<li>Fixed <code>:focus</code> matching in shadow trees. (<a href="https://github.com/asamuzaK"><code>@asamuzaK</code></a>)</li>
<li>Fixed DOM insertion and replacement, including valid <code>document.replaceChildren()</code> calls, invalid document element and doctype placements, and mutations during <code>element.replaceWith()</code>.</li>
<li>Fixed the ordering of script execution, custom element callbacks, iframe loading, and mutation observer notifications during DOM insertion, including in shadow trees.</li>
<li>Fixed queued events and navigation continuing after <code>window.close()</code> or iframe removal, and prevented new scripts, resource loads, timers, and animation frames from starting in destroyed documents. (<a href="https://github.com/scttcper"><code>@scttcper</code></a>)</li>
<li>Fixed parent documents waiting indefinitely for loading to finish when a child iframe removes itself during loading.</li>
<li>Fixed request cancellation across redirects, during pending <code>requestInterceptor()</code> callbacks, and when reusing an <code>XMLHttpRequest</code> after aborting it.</li>
<li>Fixed resource loading and <code>JSDOM.fromURL()</code> potentially hanging when response handling throws and response stream cleanup does not finish.</li>
<li>Fixed successful cached resource loads being treated as aborted.</li>
<li>Fixed <code>getComputedStyle()</code> and <code>document.styleSheets</code> using the wrong stylesheet order after inserting or updating <code><style></code> elements.</li>
<li>Fixed <code>getComputedStyle()</code> ignoring nested <code>@import</code> and <code>@media</code> rules in imported stylesheets, and returning stale results after imports finish loading.</li>
<li>Fixed style invalidation, stylesheet removal, and frame source updates in shadow trees.</li>
<li>Fixed repeated <code>getComputedStyle()</code> calls changing case-sensitive background URLs, and inconsistent resolution of border shorthands containing system colors. (<a href="https://github.com/scttcper"><code>@scttcper</code></a>)</li>
<li>Fixed computed border widths, including borderless elements incorrectly reporting <code>16px</code>, which regressed in v30.0.0. (<a href="https://github.com/Alberto-BaseNet"><code>@Alberto-BaseNet</code></a>)</li>
<li>Fixed <code>getComputedStyle()</code> to resolve <code>'font-weight'</code> keywords to numeric values. (<a href="https://github.com/tianrking"><code>@tianrking</code></a>)</li>
<li>Fixed <code>getComputedStyle()</code> to convert lengths to pixels inside CSS math functions containing percentages, and to resolve percentages in <code>'font-size'</code> math functions. (<a href="https://github.com/soroushm"><code>@soroushm</code></a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/jsdom/jsdom/commit/0a117f4581b067800fdb3287e22e7cec82221a3c"><code>0a117f4</code></a> 30.1.1</li>
<li><a href="https://github.com/jsdom/jsdom/commit/103f67df7bb94971e111902e6b10bb500d7818a2"><code>103f67d</code></a> Remove unnecessary window cleanup from API tests</li>
<li><a href="https://github.com/jsdom/jsdom/commit/cdda00a1c075548c62907cc76f26e93a4be1afac"><code>cdda00a</code></a> Test HTTP/2 document and subresource loading</li>
<li><a href="https://github.com/jsdom/jsdom/commit/7ab92ce05b97b62286f1c9a4870a924ef4315a44"><code>7ab92ce</code></a> Update <code>@asamuzakjp/dom-selector</code> to v9.2.1</li>
<li><a href="https://github.com/jsdom/jsdom/commit/d940c206bcda5d43e92556d08fcb6a11960df148"><code>d940c20</code></a> Share jsdom settings across descendant windows</li>
<li><a href="https://github.com/jsdom/jsdom/commit/6ba40cbea8d9ffcf08e3ce901cf432578166439d"><code>6ba40cb</code></a> Fix and simplify option propagation</li>
<li><a href="https://github.com/jsdom/jsdom/commit/3b3be70acc9a7e5165ecaf90853b5197f5930e5a"><code>3b3be70</code></a> Preserve CSS priorities across declaration updates</li>
<li><a href="https://github.com/jsdom/jsdom/commit/97b275821659e818044630e737fc2f6013ca4b6b"><code>97b2758</code></a> Align focusing and unfocusing with HTML</li>
<li><a href="https://github.com/jsdom/jsdom/commit/b7b460bf473ea98557ad46748fb11e97d238ab81"><code>b7b460b</code></a> Update w3c-xmlserializer to v6</li>
<li><a href="https://github.com/jsdom/jsdom/commit/71d562f858a48020dda69ab29c582394c3033573"><code>71d562f</code></a> Update html-encoding-sniffer to v7</li>
<li>Additional commits viewable in <a href="https://github.com/jsdom/jsdom/compare/v30.0.1...v30.1.1">compare view</a></li>
</ul>
</details>
<br />

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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)</details>