462.md (8979B)
1 # PR #462 Bump jsdom from 21.1.0 to 22.1.0 2 3 - **Status:** open 4 - **Author:** @dependabot[bot] 5 - **Created:** 2023-06-07T09:10:04Z 6 - **Branch:** dependabot/npm_and_yarn/jsdom-22.1.0 → main 7 - **Labels:** dependencies, javascript 8 - **Assignees:** @MTRNord 9 - **Reviewers:** @MTRNord 10 - **Diff:** [462.diff](./462.diff) 11 12 --- 13 14 Bumps [jsdom](https://github.com/jsdom/jsdom) from 21.1.0 to 22.1.0. 15 <details> 16 <summary>Release notes</summary> 17 <p><em>Sourced from <a href="https://github.com/jsdom/jsdom/releases">jsdom's releases</a>.</em></p> 18 <blockquote> 19 <h2>Version 22.1.0</h2> 20 <ul> 21 <li>Added <code>crypto.randomUUID()</code>. (jamesbvaughan)</li> 22 <li>Added <code>DOMRect</code> and <code>DOMRectReadOnly</code>.</li> 23 <li>Added <code>AbortSignal.timeout()</code>.</li> 24 <li>Added <code>abortSignal.throwIfAborted()</code>.</li> 25 <li>Added support for the <code>submitter</code> argument to the <code>FormData</code> constructor. (jenseng)</li> 26 <li>Improved <code>getComputedStyle()</code>'s results for color-based properties, to resolve named colors and attempt to provide initial inheritance support. (hoekz-wwt)</li> 27 <li>Updated <code>Window</code>'s event handler properties (e.g. <code>oncopy</code>, <code>ontouchstart</code>, etc.) to reflect the latest list from the standard.</li> 28 <li>Fixed <code>DOMParser</code>-created documents to inherit their URL from the creating document.</li> 29 </ul> 30 <h2>Version 22.0.0</h2> 31 <ul> 32 <li>Node.js v16 is now the minimum supported version.</li> 33 <li>Removed support for running jsdom in the browser via a <a href="https://browserify.org/">browserified</a> bundle. This carried with it too much complexity, especially for our testing infrastructure, and <a href="https://github.com/karma-runner/karma#karma-is-deprecated-and-is-not-accepting-new-features-or-general-bug-fixes">a testing package we relied on was recently deprecated</a>.</li> 34 </ul> 35 <h2>Version 21.1.2</h2> 36 <ul> 37 <li>Fixed <code>setRangeText()</code> used on <code><input></code> and <code><textarea></code> elements to calculate the new end index correctly. (pmstss)</li> 38 <li>Fixed <code>pageX</code>, <code>pageY</code>, <code>offsetX</code>, and <code>offsetY</code> on <code>MouseEvent</code>s during dispatch. (jenseng)</li> 39 <li>Upgraded <code>nwsapi</code> to v2.2.4, bringing along various fixes to our selector engine.</li> 40 </ul> 41 <h2>Version 21.1.1</h2> 42 <ul> 43 <li>Fixed <code>jsdom.reconfigure()</code> to also adjust the URL as seen by the history API, so that e.g. <code>history.replaceState(null, "")</code> would not mess up the URL. (jdufresne)</li> 44 <li>Fixed <code>location.hash = ""</code> to leave any <code>#</code> in location.href.</li> 45 <li>Fixes a few bugs with CSS parsing by replacing <code>cssom</code> with <code>rweb-cssom</code>, since the latter is maintained. (seanparmelee)</li> 46 </ul> 47 </blockquote> 48 </details> 49 <details> 50 <summary>Changelog</summary> 51 <p><em>Sourced from <a href="https://github.com/jsdom/jsdom/blob/master/Changelog.md">jsdom's changelog</a>.</em></p> 52 <blockquote> 53 <h2>22.1.0</h2> 54 <ul> 55 <li>Added <code>crypto.randomUUID()</code>. (jamesbvaughan)</li> 56 <li>Added <code>DOMRect</code> and <code>DOMRectReadOnly</code>.</li> 57 <li>Added <code>AbortSignal.timeout()</code>.</li> 58 <li>Added <code>abortSignal.throwIfAborted()</code>.</li> 59 <li>Added support for the <code>submitter</code> argument to the <code>FormData</code> constructor. (jenseng)</li> 60 <li>Improved <code>getComputedStyle()</code>'s results for color-based properties, to resolve named colors and attempt to provide initial inheritance support. (hoekz-wwt)</li> 61 <li>Updated <code>Window</code>'s event handler properties (e.g. <code>oncopy</code>, <code>ontouchstart</code>, etc.) to reflect the latest list from the standard.</li> 62 <li>Fixed <code>DOMParser</code>-created documents to inherit their URL from the creating document.</li> 63 </ul> 64 <h2>22.0.0</h2> 65 <ul> 66 <li>Node.js v16 is now the minimum supported version.</li> 67 <li>Removed support for running jsdom in the browser via a <a href="https://browserify.org/">browserified</a> bundle. This carried with it too much complexity, especially for our testing infrastructure, and <a href="https://github.com/karma-runner/karma#karma-is-deprecated-and-is-not-accepting-new-features-or-general-bug-fixes">a testing package we relied on was recently deprecated</a>.</li> 68 </ul> 69 <h2>21.1.2</h2> 70 <ul> 71 <li>Fixed <code>setRangeText()</code> used on <code><input></code> and <code><textarea></code> elements to calculate the new end index correctly. (pmstss)</li> 72 <li>Fixed <code>pageX</code>, <code>pageY</code>, <code>offsetX</code>, and <code>offsetY</code> on <code>MouseEvent</code>s during dispatch. (jenseng)</li> 73 <li>Upgraded <code>nwsapi</code> to v2.2.4, bringing along various fixes to our selector engine.</li> 74 </ul> 75 <h2>21.1.1</h2> 76 <ul> 77 <li>Fixed <code>jsdom.reconfigure()</code> to also adjust the URL as seen by the history API, so that e.g. <code>history.replaceState(null, "")</code> would not mess up the URL. (jdufresne)</li> 78 <li>Fixed <code>location.hash = ""</code> to leave any <code>#</code> in location.href.</li> 79 <li>Fixes a few bugs with CSS parsing by replacing <code>cssom</code> with <code>rweb-cssom</code>, since the latter is maintained. (seanparmelee)</li> 80 </ul> 81 </blockquote> 82 </details> 83 <details> 84 <summary>Commits</summary> 85 <ul> 86 <li><a href="https://github.com/jsdom/jsdom/commit/2ed1d4bd8e3edbe6992c35ae95f9ee84b4c4a715"><code>2ed1d4b</code></a> Version 22.1.0</li> 87 <li><a href="https://github.com/jsdom/jsdom/commit/5857f25e30af4b0065b2f023ada4589b26b9ec9b"><code>5857f25</code></a> Update GlobalEventHandlers list</li> 88 <li><a href="https://github.com/jsdom/jsdom/commit/a8b03afb9141a5dc21379c16abe18ba0e3461be6"><code>a8b03af</code></a> Implement getComputedStyle() for named colors (<a href="https://redirect.github.com/jsdom/jsdom/issues/3560">#3560</a>)</li> 89 <li><a href="https://github.com/jsdom/jsdom/commit/f369ca175fb81e3e8d32cf6513c9b8b613c3097c"><code>f369ca1</code></a> Disable flaky XHR upload progress test</li> 90 <li><a href="https://github.com/jsdom/jsdom/commit/e134f6885f61b3c9632f2a7b3c4dcf41a0f1536d"><code>e134f68</code></a> Include Node.js v20 in CI</li> 91 <li><a href="https://github.com/jsdom/jsdom/commit/cda08023ca7d0f0dba209c748599ab64f1fc55cd"><code>cda0802</code></a> Implement some AbortSignal methods</li> 92 <li><a href="https://github.com/jsdom/jsdom/commit/d2103e4d695f490539ee658805b0a1ee8f95b479"><code>d2103e4</code></a> Implement FormData constructor's submitter argument</li> 93 <li><a href="https://github.com/jsdom/jsdom/commit/c9d6b725005fd986f6109606d4da6a9e0dc851ec"><code>c9d6b72</code></a> Implement DOMRect and DOMRectReadOnly</li> 94 <li><a href="https://github.com/jsdom/jsdom/commit/8d7155a706590243a99eb61d6dc91bc19e04548c"><code>8d7155a</code></a> Implement crypto.randomUUID()</li> 95 <li><a href="https://github.com/jsdom/jsdom/commit/35259cc11e1fe52a1fd7ad8eece8b0f715d57686"><code>35259cc</code></a> Fix DOMParser URL inheritance</li> 96 <li>Additional commits viewable in <a href="https://github.com/jsdom/jsdom/compare/21.1.0...22.1.0">compare view</a></li> 97 </ul> 98 </details> 99 <br /> 100 101 102 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 103 104 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`. 105 106 [//]: # (dependabot-automerge-start) 107 [//]: # (dependabot-automerge-end) 108 109 --- 110 111 <details> 112 <summary>Dependabot commands and options</summary> 113 <br /> 114 115 You can trigger Dependabot actions by commenting on this PR: 116 - `@dependabot rebase` will rebase this PR 117 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 118 - `@dependabot merge` will merge this PR after your CI passes on it 119 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 120 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 121 - `@dependabot reopen` will reopen this PR if it is closed 122 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 123 - `@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) 124 - `@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) 125 - `@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) 126 127 128 </details> 129