Bump jsdom from 16.4.0 to 16.7.0 (#3992)
Bump jsdom from 16.4.0 to 16.7.0 (#3992)

Summary:
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.4.0 to 16.7.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 16.7.0</h2>
<ul>
<li>Added <code>AbortSignal.abort()</code>. (ninevra)</li>
<li>Added dummy <code>x</code> and <code>y</code> properties to the return value of <code>getBoundingClientRect()</code>. (eiko)</li>
<li>Implemented wrapping for <code>textareaEl.value</code> if the <code>wrap=&quot;&quot;</code> attribute is specified. (ninevra)</li>
<li>Changed newline normalization in <code>&lt;textarea&gt;</code>s according to <a href="https://blog.whatwg.org/newline-normalizations-in-form-submission">recent HTML Standard updates</a>. (ninevra)</li>
<li>Fixed some bad cascade computation in <code>getComputedStyle()</code>. (romain-trotard)</li>
</ul>
<h2>Version 16.6.0</h2>
<ul>
<li>Added <code>parentNode.replaceChildren()</code>. (<a href="https://github.com/ninevra"><code>@​ninevra</code></a>)</li>
<li>Fixed jsdom's handling of when code running inside the jsdom throws <code>null</code> or <code>undefined</code> as an exception. (<a href="https://github.com/mbest"><code>@​mbest</code></a>)</li>
<li>Removed the dependency on the deprecated <a href="https://www.npmjs.com/package/request"><code>request</code></a> package, in the process fixing several issues with the <code>XMLHttpRequest</code> implementation around header processing. Thanks go to <a href="https://github.com/tobyhinloopen"><code>@​tobyhinloopen</code></a>, <a href="https://github.com/andrewaylett"><code>@​andrewaylett</code></a>, and especially <a href="https://github.com/vegardbb"><code>@​vegardbb</code></a>, for completing this months-long effort!</li>
</ul>
<h2>Version 16.5.3</h2>
<ul>
<li>Fixed infinite recursion when using <code>MutationObserver</code>s to observe elements inside a <code>MutationObserver</code> callback.</li>
</ul>
<h2>Version 16.5.2</h2>
<ul>
<li>Fixed <code>Access-Control-Allow-Headers: *</code> to work with <code>XMLHttpRequest</code>. (silviot)</li>
<li>Fixed <code>xhr.response</code> to strip any leading BOM when <code>xhr.responseType</code> is <code>&quot;json&quot;</code>.</li>
<li>Fixed <code>new Text()</code> and <code>new Comment()</code> constructors to properly set the resulting node's <code>ownerDocument</code>.</li>
<li>Fixed <code>customElements.whenDefined()</code> to resolve its returned promise with the custom element constructor, per recent spec updates. (ExE-Boss)</li>
<li>Fixed parsing to ensure that <code>&lt;svg&gt;\&lt;template&gt;&lt;/template&gt;&lt;/svg&gt;</code> does not throw an exception, but instead correctly produces a SVG-namespace <code>\&lt;template&gt;</code> element.</li>
<li>Fixed <code>domParser.parseFromString()</code> to treat <code>&lt;noscript&gt;</code> elements appropriately.</li>
<li>Fixed form control validity checking when the control was outside the <code>&lt;form&gt;</code> element and instead associated using the <code>form=&quot;&quot;</code> attribute.</li>
<li>Fixed <code>legendEl.form</code> to return the correct result based on its parent <code>&lt;fieldset&gt;</code>.</li>
<li>Fixed <code>optionEl.text</code> to exclude <code>&lt;script&gt;</code> descendants.</li>
<li>Fixed radio buttons and checkboxes to not fire <code>input</code> and <code>change</code> events when disconnected.</li>
<li>Fixed <code>inputEl.indeterminate</code> to reset to its previous value when canceling a <code>click</code> event on a checkbox or radio button.</li>
<li>Fixed the behavior of event handler attributes (e.g. <code>onclick=&quot;...code...&quot;</code>) when there were global variables named <code>element</code> or <code>formOwner</code>. (ExE-Boss)</li>
<li>On Node.js v14.6.0+ where <code>WeakRef</code>s are available, fixed <code>NodeIterator</code> to no longer stop working when more than ten <code>NodeIterator</code> instances are created, and to use less memory due to inactive <code>NodeIterator</code>s sticking around. (ExE-Boss)</li>
</ul>
<h2>Version 16.5.1</h2>
<ul>
<li>Fixed a regression that broke <code>customElements.get()</code> in v16.5.0. (fdesforges)</li>
<li>Fixed <code>window.event</code> to have a setter which overwrites the <code>window.event</code> property with the given value, per the specification. This fixes an issue where after upgrading to jsdom v16.5.0 you would no longer be able to set a global variable named <code>event</code> in the jsdom context.</li>
</ul>
<h2>Version 16.5.0</h2>
<ul>
<li>Added <code>window.queueMicrotask()</code>.</li>
<li>Added <code>window.event</code>.</li>
<li>Added <code>inputEvent.inputType</code>. (diegohaz)</li>
<li>Removed <code>ondragexit</code> from <code>Window</code> and friends, per a spec update.</li>
<li>Fixed the URL of <code>about:blank</code> iframes. Previously it was getting set to the parent's URL. (SimonMueller)</li>
<li>Fixed the loading of subresources from the filesystem when they had non-ASCII filenames.</li>
<li>Fixed the <code>hidden=&quot;&quot;</code> attribute to cause <code>display: none</code> per the user-agent stylesheet. (ph-fritsche)</li>
<li>Fixed the <code>new File()</code> constructor to no longer convert <code>/</code> to <code>:</code>, per <a href="https://github-redirect.dependabot.com/w3c/FileAPI/issues/41">a pending spec update</a>.</li>
<li>Fixed mutation observer callbacks to be called with the <code>MutationObserver</code> instance as their <code>this</code> value.</li>
<li>Fixed <code>&lt;input type=checkbox&gt;</code> and <code>&lt;input type=radio&gt;</code> to be mutable even when disabled, per <a href="https://github-redirect.dependabot.com/whatwg/html/pull/5805">a spec update</a>.</li>
<li>Fixed <code>XMLHttpRequest</code> to not fire a redundant final <code>progress</code> event if a <code>progress</code> event was previously fired with the same <code>loaded</code> value. This would usually occur with small files.</li>
<li>Fixed <code>XMLHttpRequest</code> to expose the <code>Content-Length</code> header on cross-origin responses.</li>
<li>Fixed <code>xhr.response</code> to return <code>null</code> for failures that occur during the middle of the download.</li>
<li>Fixed edge cases around passing callback functions or event handlers. (ExE-Boss)</li>
<li>Fixed edge cases around the properties of proxy-like objects such as <code>localStorage</code> or <code>dataset</code>. (ExE-Boss)</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/jsdom/jsdom/blob/master/Changelog.md">jsdom's changelog</a>.</em></p>
<blockquote>
<h2>16.7.0</h2>
<ul>
<li>Added <code>AbortSignal.abort()</code>. (ninevra)</li>
<li>Added dummy <code>x</code> and <code>y</code> properties to the return value of <code>getBoundingClientRect()</code>. (eiko)</li>
<li>Implemented wrapping for <code>textareaEl.value</code> if the <code>wrap=&quot;&quot;</code> attribute is specified. (ninevra)</li>
<li>Changed newline normalization in <code>&lt;textarea&gt;</code>s according to <a href="https://blog.whatwg.org/newline-normalizations-in-form-submission">recent HTML Standard updates</a>. (ninevra)</li>
<li>Fixed some bad cascade computation in <code>getComputedStyle()</code>. (romain-trotard)</li>
</ul>
<h2>16.6.0</h2>
<ul>
<li>Added <code>parentNode.replaceChildren()</code>. (ninevra)</li>
<li>Fixed jsdom's handling of when code running inside the jsdom throws <code>null</code> or <code>undefined</code> as an exception. (mbest)</li>
<li>Removed the dependency on the deprecated <a href="https://www.npmjs.com/package/request"><code>request</code></a> package, in the process fixing several issues with the <code>XMLHttpRequest</code> implementation around header processing. Special thanks to vegardbb for completing this months-long effort!</li>
</ul>
<h2>16.5.3</h2>
<ul>
<li>Fixed infinite recursion when using <code>MutationObserver</code>s to observe elements inside a <code>MutationObserver</code> callback.</li>
</ul>
<h2>16.5.2</h2>
<ul>
<li>Fixed <code>Access-Control-Allow-Headers: *</code> to work with <code>XMLHttpRequest</code>. (silviot)</li>
<li>Fixed <code>xhr.response</code> to strip any leading BOM when <code>xhr.responseType</code> is <code>&quot;json&quot;</code>.</li>
<li>Fixed <code>new Text()</code> and <code>new Comment()</code> constructors to properly set the resulting node's <code>ownerDocument</code>.</li>
<li>Fixed <code>customElements.whenDefined()</code> to resolve its returned promise with the custom element constructor, per recent spec updates. (ExE-Boss)</li>
<li>Fixed parsing to ensure that <code>&lt;svg&gt;\&lt;template&gt;&lt;/template&gt;&lt;/svg&gt;</code> does not throw an exception, but instead correctly produces a SVG-namespace <code>\&lt;template&gt;</code> element.</li>
<li>Fixed <code>domParser.parseFromString()</code> to treat <code>&lt;noscript&gt;</code> elements appropriately.</li>
<li>Fixed form control validity checking when the control was outside the <code>&lt;form&gt;</code> element and instead associated using the <code>form=&quot;&quot;</code> attribute.</li>
<li>Fixed <code>legendEl.form</code> to return the correct result based on its parent <code>&lt;fieldset&gt;</code>.</li>
<li>Fixed <code>optionEl.text</code> to exclude <code>&lt;script&gt;</code> descendants.</li>
<li>Fixed radio buttons and checkboxes to not fire <code>input</code> and <code>change</code> events when disconnected.</li>
<li>Fixed <code>inputEl.indeterminate</code> to reset to its previous value when canceling a <code>click</code> event on a checkbox or radio button.</li>
<li>Fixed the behavior of event handler attributes (e.g. <code>onclick=&quot;...code...&quot;</code>) when there were global variables named <code>element</code> or <code>formOwner</code>. (ExE-Boss)</li>
<li>On Node.js v14.6.0+ where <code>WeakRef</code>s are available, fixed <code>NodeIterator</code> to no longer stop working when more than ten <code>NodeIterator</code> instances are created, and to use less memory due to inactive <code>NodeIterator</code>s sticking around. (ExE-Boss)</li>
</ul>
<h2>16.5.1</h2>
<ul>
<li>Fixed a regression that broke <code>customElements.get()</code> in v16.5.0. (fdesforges)</li>
<li>Fixed <code>window.event</code> to have a setter which overwrites the <code>window.event</code> property with the given value, per the specification. This fixes an issue where after upgrading to jsdom v16.5.0 you would no longer be able to set a global variable named <code>event</code> in the jsdom context.</li>
</ul>
<h2>16.5.0</h2>
<ul>
<li>Added <code>window.queueMicrotask()</code>.</li>
<li>Added <code>window.event</code>.</li>
<li>Added <code>inputEvent.inputType</code>. (diegohaz)</li>
<li>Removed <code>ondragexit</code> from <code>Window</code> and friends, per a spec update.</li>
<li>Fixed the URL of <code>about:blank</code> iframes. Previously it was getting set to the parent's URL. (SimonMueller)</li>
<li>Fixed the loading of subresources from the filesystem when they had non-ASCII filenames.</li>
<li>Fixed the <code>hidden=&quot;&quot;</code> attribute to cause <code>display: none</code> per the user-agent stylesheet. (ph-fritsche)</li>
<li>Fixed the <code>new File()</code> constructor to no longer convert <code>/</code> to <code>:</code>, per <a href="https://github-redirect.dependabot.com/w3c/FileAPI/issues/41">a pending spec update</a>.</li>
<li>Fixed mutation observer callbacks to be called with the <code>MutationObserver</code> instance as their <code>this</code> value.</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/jsdom/jsdom/commit/1aa3cbc2eea649b91995583725610c6b98e91251"><code>1aa3cbc</code></a> Version 16.7.0</li>
<li><a href="https://github.com/jsdom/jsdom/commit/df1f5516b05915c85d2fb9a2342a94c13292d9d9"><code>df1f551</code></a> Don't run WebSocketStream tests</li>
<li><a href="https://github.com/jsdom/jsdom/commit/eb105b234207eee72cafb146281ca90d46b40db3"><code>eb105b2</code></a> Fix browser tests by enabling SharedArrayBuffer</li>
<li><a href="https://github.com/jsdom/jsdom/commit/0dedfc0532572bbcc622681d002ce68f30464df0"><code>0dedfc0</code></a> Fix some bad cascade computation in getComputedStyle()</li>
<li><a href="https://github.com/jsdom/jsdom/commit/8021a568cede2a5b1af12ea1e988184cf51daade"><code>8021a56</code></a> Fix &quot;configuation&quot; typo (<a href="https://github-redirect.dependabot.com/jsdom/jsdom/issues/3213">https://github.com/facebook/relay/issues/3213</a>)</li>
<li><a href="https://github.com/jsdom/jsdom/commit/a7febe31bb8d3279076a95e5835ce935064d4261"><code>a7febe3</code></a> Fix typo in level2/html.js (<a href="https://github-redirect.dependabot.com/jsdom/jsdom/issues/3222">https://github.com/facebook/relay/issues/3222</a>)</li>
<li><a href="https://github.com/jsdom/jsdom/commit/c9896c0c79be303842a4a8a311c548563dd9476f"><code>c9896c0</code></a> Return x, y properties from Element.getBoundingClientRect (<a href="https://github-redirect.dependabot.com/jsdom/jsdom/issues/3187">https://github.com/facebook/relay/issues/3187</a>)</li>
<li><a href="https://github.com/jsdom/jsdom/commit/346ea9810ab68616254b6a18a62beb518d0eb2ce"><code>346ea98</code></a> Update web-platform tests (<a href="https://github-redirect.dependabot.com/jsdom/jsdom/issues/3203">https://github.com/facebook/relay/issues/3203</a>)</li>
<li><a href="https://github.com/jsdom/jsdom/commit/364c77d10d260ad6fdcb9411a125920700504c6b"><code>364c77d</code></a> Bump to ws 7.4.6</li>
<li><a href="https://github.com/jsdom/jsdom/commit/93ba6a01c11c759b81900db4a07d8f219a949bf8"><code>93ba6a0</code></a> We are now on Matrix (<a href="https://github-redirect.dependabot.com/jsdom/jsdom/issues/3207">https://github.com/facebook/relay/issues/3207</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/jsdom/jsdom/compare/16.4.0...16.7.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=jsdom&package-manager=npm_and_yarn&previous-version=16.4.0&new-version=16.7.0)](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 merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `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)
- `dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/facebook/relay/network/alerts).

</details>

Pull Request resolved: https://github.com/facebook/relay/pull/3992

Test Plan:
Imported from GitHub, without a `Test Plan:` line.

**Static Docs Preview: relay**
|[Full Site](https://our.intern.facebook.com/intern/staticdocs/eph/D37412635/V3/relay/)|

|**Modified Pages**|

Reviewed By: tyao1

Differential Revision: D37412635

Pulled By: voideanvalue

fbshipit-source-id: 098cf399ef1c721fdc4cb6512031df3e6011e6a0

facebook/relay,xuorig/relay,xuorig/relay,xuorig/relay,facebook/relay,facebook/relay,facebook/relay,facebook/relay,xuorig/relay,xuorig/relay,facebook/relay,xuorig/relay