Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): Bump react-dom and @types/react-dom (#46)
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) and [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom). These dependencies needed to be updated together. Updates `react-dom` from 17.0.2 to 18.2.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facebook/react/releases">react-dom's releases</a>.</em></p> <blockquote> <h2>18.2.0 (June 14, 2022)</h2> <h3>React DOM</h3> <ul> <li>Provide a component stack as a second argument to <code>onRecoverableError</code>. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24591">#24591</a>)</li> <li>Fix hydrating into <code>document</code> causing a blank page on mismatch. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24523">#24523</a>)</li> <li>Fix false positive hydration errors with Suspense. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24480">#24480</a> and <a href="https://github.com/acdlite"><code>@acdlite</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24532">#24532</a>)</li> <li>Fix ignored <code>setState</code> in Safari when adding an iframe. (<a href="https://github.com/gaearon"><code>@gaearon</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24459">#24459</a>)</li> </ul> <h3>React DOM Server</h3> <ul> <li>Pass information about server errors to the client. (<a href="https://github.com/salazarm"><code>@salazarm</code></a> and <a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24551">#24551</a> and <a href="https://redirect.github.com/facebook/react/pull/24591">#24591</a>)</li> <li>Allow to provide a reason when aborting the HTML stream. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24680">#24680</a>)</li> <li>Eliminate extraneous text separators in the HTML where possible. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24630">#24630</a>)</li> <li>Disallow complex children inside <code><title></code> elements to match the browser constraints. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24679">#24679</a>)</li> <li>Fix buffering in some worker environments by explicitly setting <code>highWaterMark</code> to <code>0</code>. (<a href="https://github.com/jplhomer"><code>@jplhomer</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24641">#24641</a>)</li> </ul> <h3>Server Components (Experimental)</h3> <ul> <li>Add support for <code>useId()</code> inside Server Components. (<a href="https://github.com/gnoff"><code>@gnoff</code></a>) in <a href="https://redirect.github.com/facebook/react/pull/24172">#24172</a></li> </ul> <h2>18.1.0 (April 26, 2022)</h2> <h3>React DOM</h3> <ul> <li>Fix the false positive warning about <code>react-dom/client</code> when using UMD bundle. (<a href="https://github.com/alireza-molaee"><code>@alireza-molaee</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24274">#24274</a>)</li> <li>Fix <code>suppressHydrationWarning</code> to work in production too. (<a href="https://github.com/gaearon"><code>@gaearon</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24271">#24271</a>)</li> <li>Fix <code>componentWillUnmount</code> firing twice inside of Suspense. (<a href="https://github.com/acdlite"><code>@acdlite</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24308">#24308</a>)</li> <li>Fix some transition updates being ignored. (<a href="https://github.com/acdlite"><code>@acdlite</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24353">#24353</a>)</li> <li>Fix <code>useDeferredValue</code> causing an infinite loop when passed an unmemoized value. (<a href="https://github.com/acdlite"><code>@acdlite</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24247">#24247</a>)</li> <li>Fix throttling of revealing Suspense fallbacks. (<a href="https://github.com/sunderls"><code>@sunderls</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24253">#24253</a>)</li> <li>Fix an inconsistency in whether the props object is the same between renders. (<a href="https://github.com/Andarist"><code>@Andarist</code></a> and <a href="https://github.com/acdlite"><code>@acdlite</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24421">#24421</a>)</li> <li>Fix a missing warning about a <code>setState</code> loop in <code>useEffect</code>. (<a href="https://github.com/gaearon"><code>@gaearon</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24298">#24298</a>)</li> <li>Fix a spurious hydration error. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24404">#24404</a>)</li> <li>Warn when calling <code>setState</code> in <code>useInsertionEffect</code>. (<a href="https://github.com/gaearon"><code>@gaearon</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24295">#24295</a>)</li> <li>Ensure the reason for hydration errors is always displayed. (<a href="https://github.com/gaearon"><code>@gaearon</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24276">#24276</a>)</li> </ul> <h3>React DOM Server</h3> <ul> <li>Fix escaping for the <code>bootstrapScriptContent</code> contents. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24385">#24385</a>)</li> <li>Significantly improve performance of <code>renderToPipeableStream</code>. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24291">#24291</a>)</li> </ul> <h3>ESLint Plugin: React Hooks</h3> <ul> <li>Fix false positive errors with a large number of branches. (<a href="https://github.com/scyron6"><code>@scyron6</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24287">#24287</a>)</li> <li>Don't consider a known dependency stable when the variable is reassigned. (<a href="https://github.com/afzalsayed96"><code>@afzalsayed96</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24343">#24343</a>)</li> </ul> <h3>Use Subscription</h3> <ul> <li>Replace the implementation with the <code>use-sync-external-store</code> shim. (<a href="https://github.com/gaearon"><code>@gaearon</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24289">#24289</a>)</li> </ul> <h2>18.0.0 (March 29, 2022)</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/facebook/react/blob/main/CHANGELOG.md">react-dom's changelog</a>.</em></p> <blockquote> <h2>18.2.0 (June 14, 2022)</h2> <h3>React DOM</h3> <ul> <li>Provide a component stack as a second argument to <code>onRecoverableError</code>. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24591">#24591</a>)</li> <li>Fix hydrating into <code>document</code> causing a blank page on mismatch. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24523">#24523</a>)</li> <li>Fix false positive hydration errors with Suspense. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24480">#24480</a> and <a href="https://github.com/acdlite"><code>@acdlite</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24532">#24532</a>)</li> <li>Fix ignored <code>setState</code> in Safari when adding an iframe. (<a href="https://github.com/gaearon"><code>@gaearon</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24459">#24459</a>)</li> </ul> <h3>React DOM Server</h3> <ul> <li>Pass information about server errors to the client. (<a href="https://github.com/salazarm"><code>@salazarm</code></a> and <a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24551">#24551</a> and <a href="https://redirect.github.com/facebook/react/pull/24591">#24591</a>)</li> <li>Allow to provide a reason when aborting the HTML stream. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24680">#24680</a>)</li> <li>Eliminate extraneous text separators in the HTML where possible. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24630">#24630</a>)</li> <li>Disallow complex children inside <code><title></code> elements to match the browser constraints. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24679">#24679</a>)</li> <li>Fix buffering in some worker environments by explicitly setting <code>highWaterMark</code> to <code>0</code>. (<a href="https://github.com/jplhomer"><code>@jplhomer</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24641">#24641</a>)</li> </ul> <h3>Server Components (Experimental)</h3> <ul> <li>Add support for <code>useId()</code> inside Server Components. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24172">#24172</a>)</li> </ul> <h2>18.1.0 (April 26, 2022)</h2> <h3>React DOM</h3> <ul> <li>Fix the false positive warning about <code>react-dom/client</code> when using UMD bundle. (<a href="https://github.com/alireza-molaee"><code>@alireza-molaee</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24274">#24274</a>)</li> <li>Fix <code>suppressHydrationWarning</code> to work in production too. (<a href="https://github.com/gaearon"><code>@gaearon</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24271">#24271</a>)</li> <li>Fix <code>componentWillUnmount</code> firing twice inside of Suspense. (<a href="https://github.com/acdlite"><code>@acdlite</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24308">#24308</a>)</li> <li>Fix some transition updates being ignored. (<a href="https://github.com/acdlite"><code>@acdlite</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24353">#24353</a>)</li> <li>Fix <code>useDeferredValue</code> causing an infinite loop when passed an unmemoized value. (<a href="https://github.com/acdlite"><code>@acdlite</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24247">#24247</a>)</li> <li>Fix throttling of revealing Suspense fallbacks. (<a href="https://github.com/sunderls"><code>@sunderls</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24253">#24253</a>)</li> <li>Fix an inconsistency in whether the props object is the same between renders. (<a href="https://github.com/Andarist"><code>@Andarist</code></a> and <a href="https://github.com/acdlite"><code>@acdlite</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24421">#24421</a>)</li> <li>Fix a missing warning about a <code>setState</code> loop in <code>useEffect</code>. (<a href="https://github.com/gaearon"><code>@gaearon</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24298">#24298</a>)</li> <li>Fix a spurious hydration error. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24404">#24404</a>)</li> <li>Warn when calling <code>setState</code> in <code>useInsertionEffect</code>. (<a href="https://github.com/gaearon"><code>@gaearon</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24295">#24295</a>)</li> <li>Ensure the reason for hydration errors is always displayed. (<a href="https://github.com/gaearon"><code>@gaearon</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24276">#24276</a>)</li> </ul> <h3>React DOM Server</h3> <ul> <li>Fix escaping for the <code>bootstrapScriptContent</code> contents. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24385">#24385</a>)</li> <li>Significantly improve performance of <code>renderToPipeableStream</code>. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24291">#24291</a>)</li> </ul> <h3>ESLint Plugin: React Hooks</h3> <ul> <li>Fix false positive errors with a large number of branches. (<a href="https://github.com/scyron6"><code>@scyron6</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24287">#24287</a>)</li> <li>Don't consider a known dependency stable when the variable is reassigned. (<a href="https://github.com/afzalsayed96"><code>@afzalsayed96</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24343">#24343</a>)</li> </ul> <h3>Use Subscription</h3> <ul> <li>Replace the implementation with the <code>use-sync-external-store</code> shim. (<a href="https://github.com/gaearon"><code>@gaearon</code></a> in <a href="https://redirect.github.com/facebook/react/pull/24289">#24289</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/facebook/react/commit/b345523528f6b346c3a6de2145d5df6b2e23ca75"><code>b345523</code></a> [Fizz] Support abort reasons (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/24680">#24680</a>)</li> <li><a href="https://github.com/facebook/react/commit/bcbeb52bf36c6f5ecdad46a48e87cf4354c5a64f"><code>bcbeb52</code></a> [Fizz] Disallow complex children in <title> elements (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/24679">#24679</a>)</li> <li><a href="https://github.com/facebook/react/commit/4f29ba1cc52061e439cede3813e100557b23a15c"><code>4f29ba1</code></a> support errorInfo in onRecoverableError (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/24591">#24591</a>)</li> <li><a href="https://github.com/facebook/react/commit/26a5b3c7f781e93b5bcf4e5a7a6f13233409475d"><code>26a5b3c</code></a> Explicitly set <code>highWaterMark</code> to 0 for <code>ReadableStream</code> (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/24641">#24641</a>)</li> <li><a href="https://github.com/facebook/react/commit/aec575914a0fd76c9db8998ea62c3ee975de70d7"><code>aec5759</code></a> [Fizz] Send errors down to client (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/24551">#24551</a>)</li> <li><a href="https://github.com/facebook/react/commit/a2766387efe68b318b23d8c35c70b850d1e6a250"><code>a276638</code></a> [Fizz] Improve text separator byte efficiency (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/24630">#24630</a>)</li> <li><a href="https://github.com/facebook/react/commit/05c34dea91eced40d08cd72432087c1e26a4f59c"><code>05c34de</code></a> [Test] Outer boundary should not report errors from an inner boundary (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/24618">#24618</a>)</li> <li><a href="https://github.com/facebook/react/commit/82c64e1a49239158c0daa7f0d603d2ad2ee667a9"><code>82c64e1</code></a> Match Preact behavior for boolean props on custom elements (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/24541">#24541</a>)</li> <li><a href="https://github.com/facebook/react/commit/2c8a1452b82b9ec5ebfa3f370b31fda19610ae92"><code>2c8a145</code></a> Fix ignored setState in Safari when iframe is touched (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/24459">#24459</a>)</li> <li><a href="https://github.com/facebook/react/commit/8197c73ec334e4430d892cead14aa371f13467a9"><code>8197c73</code></a> Support document rendering (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/24523">#24523</a>)</li> <li>Additional commits viewable in <a href="https://github.com/facebook/react/commits/v18.2.0/packages/react-dom">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~gnoff">gnoff</a>, a new releaser for react-dom since your current version.</p> </details> <br /> Updates `@types/react-dom` from 17.0.17 to 18.2.15 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom">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 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information