dependabot[bot] opened a new pull request, #44596: URL: https://github.com/apache/superset/pull/44596
Bumps [jsdom](https://github.com/jsdom/jsdom) from 30.0.1 to 30.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>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> <li>Fixed serialization of <code>min()</code> and <code>max()</code> containing nested <code>calc()</code>, which regressed in v30.0.0. (<a href="https://github.com/asamuzaK"><code>@asamuzaK</code></a>)</li> <li>Fixed CSS values mixing lengths or percentages with math functions, such as <code>'grid-template-columns'</code> values containing both <code>100px</code> and <code>calc()</code>. (<a href="https://github.com/rome-xi"><code>@rome-xi</code></a>)</li> <li>Fixed parsing of <code>'background'</code> and <code>'border'</code> shorthands with adjacent components, such as <code>url(a.png)no-repeat</code>, including a crash when parsing inline styles. Also fixed handling of invalid shorthand assignments and escaped or unusual characters in CSS declarations. (<a href="https://github.com/asamuzaK"><code>@asamuzaK</code></a>)</li> <li>Fixed parsing of unitless zero values in <code>'flex'</code> shorthands, such as <code>35 1 0</code>, and rejection of negative <code>'flex-basis'</code> lengths and percentages. (<a href="https://github.com/asamuzaK"><code>@asamuzaK</code></a>)</li> <li>Fixed shorthand style assignments producing extra mutation records and custom element callbacks for intermediate values. (<a href="https://github.com/scttcper"><code>@scttcper</code></a>)</li> <li>Fixed <code>Range</code> and <code>Selection</code> handling of CDATA sections, including boundary offsets and range cloning, extraction, deletion, insertion, and stringification. (<a href="https://github.com/scttcper"><code>@scttcper</code></a>)</li> <li>Fixed <code>text.normalize()</code> incorrectly removing the text node or merging its siblings. (<a href="https://github.com/scttcper"><code>@scttcper</code></a>)</li> <li>Fixed cloning and importing CDATA sections and processing instructions whose contents have been modified, and serialization of CDATA sections adopted into HTML documents.</li> <li>Fixed stale named-property collections on <code>window</code>, and incorrect named access from empty or namespaced <code>id=""</code> and <code>name=""</code> values. (<a href="https://github.com/scttcper"><code>@scttcper</code></a>)</li> <li>Fixed elements in documents created with <code>DOMParser</code> or <code>document.implementation.createHTMLDocument()</code> appearing as named properties on <code>window</code> and being retained in memory. (<a href="https://github.com/Iaotle"><code>@Iaotle</code></a>)</li> <li>Fixed memory leaks from mutation observers retaining observed nodes, abort signals retaining removed event listeners, and storage event tracking retaining closed windows. (<a href="https://github.com/scttcper"><code>@scttcper</code></a>)</li> <li>Fixed <code>storage</code> events being sent to windows created after the storage change, and ensured surviving recipients still receive events when the source document is destroyed.</li> <li>Fixed attribute lookups after namespace prefix changes, and namespaced attributes incorrectly affecting ID lookups and element behavior. (<a href="https://github.com/scttcper"><code>@scttcper</code></a>)</li> <li>Fixed <code>input.list</code> in detached element trees. (<a href="https://github.com/scttcper"><code>@scttcper</code></a>)</li> <li>Fixed <code>attr.ownerDocument</code> after setting an attribute node on an element in another document or adopting its element. (<a href="https://github.com/Kjubikstronk"><code>@Kjubikstronk</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/556b11fc3cc4676a22e34fa45dfa09cbd95adfb1"><code>556b11f</code></a> 30.1.0</li> <li><a href="https://github.com/jsdom/jsdom/commit/9547fbf5b60af45d54c9e34d0891c7808f6ee2ce"><code>9547fbf</code></a> Tie queued tasks to document lifetime</li> <li><a href="https://github.com/jsdom/jsdom/commit/3be65d931da2a693a6cefaa9d623da2416177c9e"><code>3be65d9</code></a> Disable unused HTML reports in the WPT runner</li> <li><a href="https://github.com/jsdom/jsdom/commit/d555e61fb5a3725709434468130c46faaea0d1fe"><code>d555e61</code></a> Replace SymbolTree with a DOM-specific tree</li> <li><a href="https://github.com/jsdom/jsdom/commit/f28983d3cef7dfd47b81bc3b992d4995f18e9abc"><code>f28983d</code></a> Clone CDATA and processing instructions without revalidation</li> <li><a href="https://github.com/jsdom/jsdom/commit/33e4fa72b9f44ae7b30e5b27c5b9120604b5045f"><code>33e4fa7</code></a> Invalidate computed styles after CSS imports load</li> <li><a href="https://github.com/jsdom/jsdom/commit/ec6fd5b3972f5bc678f667f8d2c9d502d3175eba"><code>ec6fd5b</code></a> Select storage event recipients at mutation time</li> <li><a href="https://github.com/jsdom/jsdom/commit/bcc037a836c86713f83c08ef80f6ebe5d989bc20"><code>bcc037a</code></a> Honor script type and legacy event attributes</li> <li><a href="https://github.com/jsdom/jsdom/commit/faa5c4f76151174889523dcb7351e1299d375ac1"><code>faa5c4f</code></a> Preserve currentScript across nested scripts</li> <li><a href="https://github.com/jsdom/jsdom/commit/8d7a37fc040634781444c2cba53f72a4cc1e80bf"><code>8d7a37f</code></a> Avoid quadratic HTML collection iteration</li> <li>Additional commits viewable in <a href="https://github.com/jsdom/jsdom/compare/v30.0.1...v30.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> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
