build(deps): bump react from 18.0.0 to 18.2.0 #487

Open
dependabot[bot] wants to merge 1 commit from dependabot/npm_and_yarn/react-18.2.0 into main
dependabot[bot] commented 2022-06-15 06:43:01 +02:00 (Migrated from github.com)

Bumps react from 18.0.0 to 18.2.0.

Release notes

Sourced from react's releases.

18.2.0 (June 14, 2022)

React DOM

React DOM Server

  • Pass information about server errors to the client. (@​salazarm and @​gnoff in #24551 and #24591)
  • Allow to provide a reason when aborting the HTML stream. (@​gnoff in #24680)
  • Eliminate extraneous text separators in the HTML where possible. (@​gnoff in #24630)
  • Disallow complex children inside <title> elements to match the browser constraints. (@​gnoff in #24679)
  • Fix buffering in some worker environments by explicitly setting highWaterMark to 0. (@​jplhomer in #24641)

Server Components (Experimental)

18.1.0 (April 26, 2022)

React DOM

React DOM Server

  • Fix escaping for the bootstrapScriptContent contents. (@​gnoff in #24385)
  • Significantly improve performance of renderToPipeableStream. (@​gnoff in #24291)

ESLint Plugin: React Hooks

Use Subscription

  • Replace the implementation with the use-sync-external-store shim. (@​gaearon in #24289)
Changelog

Sourced from react's changelog.

18.2.0 (June 14, 2022)

React DOM

React DOM Server

  • Pass information about server errors to the client. (@​salazarm and @​gnoff in #24551 and #24591)
  • Allow to provide a reason when aborting the HTML stream. (@​gnoff in #24680)
  • Eliminate extraneous text separators in the HTML where possible. (@​gnoff in #24630)
  • Disallow complex children inside <title> elements to match the browser constraints. (@​gnoff in #24679)
  • Fix buffering in some worker environments by explicitly setting highWaterMark to 0. (@​jplhomer in #24641)

Server Components (Experimental)

18.1.0 (April 26, 2022)

React DOM

React DOM Server

  • Fix escaping for the bootstrapScriptContent contents. (@​gnoff in #24385)
  • Significantly improve performance of renderToPipeableStream. (@​gnoff in #24291)

ESLint Plugin: React Hooks

Use Subscription

  • Replace the implementation with the use-sync-external-store shim. (@​gaearon in #24289)
Commits
Maintainer changes

This version was pushed to npm by gnoff, a new releaser for react since your current version.


Dependabot compatibility score

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 will merge this PR once CI passes on it, as requested by @morten-olsen.


Dependabot commands and options

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)
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 18.0.0 to 18.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facebook/react/releases">react'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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.com/facebook/react/pull/24480">#24480</a> and <a href="https://github.com/acdlite"><code>@​acdlite</code></a> in <a href="https://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.com/facebook/react/pull/24551">#24551</a> and <a href="https://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.com/facebook/react/pull/24630">#24630</a>)</li> <li>Disallow complex children inside <code>&lt;title&gt;</code> elements to match the browser constraints. (<a href="https://github.com/gnoff"><code>@​gnoff</code></a> in <a href="https://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.com/facebook/react/pull/24289">#24289</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/facebook/react/blob/main/CHANGELOG.md">react'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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.com/facebook/react/pull/24480">#24480</a> and <a href="https://github.com/acdlite"><code>@​acdlite</code></a> in <a href="https://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.com/facebook/react/pull/24551">#24551</a> and <a href="https://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.com/facebook/react/pull/24630">#24630</a>)</li> <li>Disallow complex children inside <code>&lt;title&gt;</code> elements to match the browser constraints. (<a href="https://github.com/gnoff"><code>@​gnoff</code></a> in <a href="https://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.com/facebook/react/pull/24289">#24289</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/facebook/react/commit/72b7462fe73ea2f7bc296bc58670baf9677ce8b2"><code>72b7462</code></a> Bump local package.json versions for 18.1 release (<a href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/24447">#24447</a>)</li> <li><a href="https://github.com/facebook/react/commit/22edb9f777d27369fd2c1fad378f74e237b6dfd3"><code>22edb9f</code></a> React <code>version</code> field should match package.json (<a href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/24445">#24445</a>)</li> <li><a href="https://github.com/facebook/react/commit/4175f05934d3954827c00b7633c1ce8e4e87d227"><code>4175f05</code></a> Temporarily feature flag numeric fallback for symbols (<a href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/24401">#24401</a>)</li> <li><a href="https://github.com/facebook/react/commit/e8f4a6653dc3f5d9702236a3abed887ca44dcfbb"><code>e8f4a66</code></a> Fix import in example</li> <li><a href="https://github.com/facebook/react/commit/bb49abea2377d6391a98cef536e9da4c26ddaa39"><code>bb49abe</code></a> Update some READMEs (<a href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/24290">#24290</a>)</li> <li><a href="https://github.com/facebook/react/commit/7e3121e1cfe25f1af5079b3bf487b5b5202400d4"><code>7e3121e</code></a> Remove unstable_createMutableSource from experimental build (<a href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/24209">#24209</a>)</li> <li>See full diff in <a href="https://github.com/facebook/react/commits/v18.2.0/packages/react">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 since your current version.</p> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react&package-manager=npm_and_yarn&previous-version=18.0.0&new-version=18.2.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 will merge this PR once CI passes on it, as requested by @morten-olsen. [//]: # (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) </details>
morten-olsen (Migrated from github.com) approved these changes 2022-06-15 06:43:23 +02:00
morten-olsen (Migrated from github.com) left a comment

@dependabot merge

@dependabot merge
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin dependabot/npm_and_yarn/react-18.2.0:dependabot/npm_and_yarn/react-18.2.0
git switch dependabot/npm_and_yarn/react-18.2.0

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff dependabot/npm_and_yarn/react-18.2.0
git switch dependabot/npm_and_yarn/react-18.2.0
git rebase main
git switch main
git merge --ff-only dependabot/npm_and_yarn/react-18.2.0
git switch dependabot/npm_and_yarn/react-18.2.0
git rebase main
git switch main
git merge --no-ff dependabot/npm_and_yarn/react-18.2.0
git switch main
git merge --squash dependabot/npm_and_yarn/react-18.2.0
git switch main
git merge --ff-only dependabot/npm_and_yarn/react-18.2.0
git switch main
git merge dependabot/npm_and_yarn/react-18.2.0
git push origin main
Sign in to join this conversation.
No description provided.