Skip to content

Commit

Permalink
Bump react-dom and @types/react-dom (#980)
Browse files Browse the repository at this point in the history
[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some
time.

Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.

---

[//]: # (dependabot-end)

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 18.2.0 to 18.3.1
<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.3.1 (April 26, 2024)</h2>
<ul>
<li>Export <code>act</code> from <code>react</code> <a
href="https://github.com/facebook/react/commit/f1338f8080abd1386454a10bbf93d67bfe37ce85">f1338f</a></li>
</ul>
<h2>18.3.0 (April 25, 2024)</h2>
<p>This release is identical to 18.2 but adds warnings for deprecated
APIs and other changes that are needed for React 19.</p>
<p>Read the <a
href="https://react.dev/blog/2024/04/25/react-19-upgrade-guide">React 19
Upgrade Guide</a> for more info.</p>
<h3>React</h3>
<ul>
<li>Allow writing to <code>this.refs</code> to support string ref
codemod <a
href="https://github.com/facebook/react/commit/9090712fd3ca4e1099e1f92e67933c2cb4f32552">909071</a></li>
<li>Warn for deprecated <code>findDOMNode</code> outside StrictMode <a
href="https://github.com/facebook/react/commit/c3b283964108b0e8dbcf1f9eb2e7e67815e39dfb">c3b283</a></li>
<li>Warn for deprecated <code>test-utils</code> methods <a
href="https://github.com/facebook/react/commit/d4ea75dc4258095593b6ac764289f42bddeb835c">d4ea75</a></li>
<li>Warn for deprecated Legacy Context outside StrictMode <a
href="https://github.com/facebook/react/commit/415ee0e6ea0fe3e288e65868df2e3241143d5f7f">415ee0</a></li>
<li>Warn for deprecated string refs outside StrictMode <a
href="https://redirect.github.com/facebook/react/pull/25383">#25383</a></li>
<li>Warn for deprecated <code>defaultProps</code> for function
components <a
href="https://redirect.github.com/facebook/react/pull/25699">#25699</a></li>
<li>Warn when spreading <code>key</code> <a
href="https://redirect.github.com/facebook/react/pull/25697">#25697</a></li>
<li>Warn when using <code>act</code> from <code>test-utils</code> <a
href="https://github.com/facebook/react/commit/d4ea75dc4258095593b6ac764289f42bddeb835c">d4ea75</a></li>
</ul>
<h3>React DOM</h3>
<ul>
<li>Warn for deprecated <code>unmountComponentAtNode</code> <a
href="https://github.com/facebook/react/commit/8a015b68cc060079878e426610e64e86fb328f8d">8a015b</a></li>
<li>Warn for deprecated <code>renderToStaticNodeStream</code> <a
href="https://redirect.github.com/facebook/react/pull/28874">#28874</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-dom's
changelog</a>.</em></p>
<blockquote>
<h2>18.3.1 (April 26, 2024)</h2>
<ul>
<li>Export <code>act</code> from <code>react</code> <a
href="https://github.com/facebook/react/commit/f1338f8080abd1386454a10bbf93d67bfe37ce85">f1338f</a></li>
</ul>
<h2>18.3.0 (April 25, 2024)</h2>
<p>This release is identical to 18.2 but adds warnings for deprecated
APIs and other changes that are needed for React 19.</p>
<p>Read the <a
href="https://react.dev/blog/2024/04/25/react-19-upgrade-guide">React 19
Upgrade Guide</a> for more info.</p>
<h3>React</h3>
<ul>
<li>Allow writing to <code>this.refs</code> to support string ref
codemod <a
href="https://github.com/facebook/react/commit/9090712fd3ca4e1099e1f92e67933c2cb4f32552">909071</a></li>
<li>Warn for deprecated <code>findDOMNode</code> outside StrictMode <a
href="https://github.com/facebook/react/commit/c3b283964108b0e8dbcf1f9eb2e7e67815e39dfb">c3b283</a></li>
<li>Warn for deprecated <code>test-utils</code> methods <a
href="https://github.com/facebook/react/commit/d4ea75dc4258095593b6ac764289f42bddeb835c">d4ea75</a></li>
<li>Warn for deprecated Legacy Context outside StrictMode <a
href="https://github.com/facebook/react/commit/415ee0e6ea0fe3e288e65868df2e3241143d5f7f">415ee0</a></li>
<li>Warn for deprecated string refs outside StrictMode <a
href="https://redirect.github.com/facebook/react/pull/25383">#25383</a></li>
<li>Warn for deprecated <code>defaultProps</code> for function
components <a
href="https://redirect.github.com/facebook/react/pull/25699">#25699</a></li>
<li>Warn when spreading <code>key</code> <a
href="https://redirect.github.com/facebook/react/pull/25697">#25697</a></li>
<li>Warn when using <code>act</code> from <code>test-utils</code> <a
href="https://github.com/facebook/react/commit/d4ea75dc4258095593b6ac764289f42bddeb835c">d4ea75</a></li>
</ul>
<h3>React DOM</h3>
<ul>
<li>Warn for deprecated <code>unmountComponentAtNode</code> <a
href="https://github.com/facebook/react/commit/8a015b68cc060079878e426610e64e86fb328f8d">8a015b</a></li>
<li>Warn for deprecated <code>renderToStaticNodeStream</code> <a
href="https://redirect.github.com/facebook/react/pull/28874">#28874</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/facebook/react/commit/d6c42f7b1134c4f033296ce4d47a7803aa0929df"><code>d6c42f7</code></a>
Bump to 18.3.1</li>
<li><a
href="https://github.com/facebook/react/commit/8a015b68cc060079878e426610e64e86fb328f8d"><code>8a015b6</code></a>
Add deprecation warning for unmountComponentAtNode</li>
<li><a
href="https://github.com/facebook/react/commit/c3b283964108b0e8dbcf1f9eb2e7e67815e39dfb"><code>c3b2839</code></a>
Add deprecation warning for findDOMNode</li>
<li><a
href="https://github.com/facebook/react/commit/d4ea75dc4258095593b6ac764289f42bddeb835c"><code>d4ea75d</code></a>
ReactDOMTestUtils deprecation warnings</li>
<li><a
href="https://github.com/facebook/react/commit/7548c019ce44e41301555aac645fbdfcf180e9b9"><code>7548c01</code></a>
Deprecate <code>renderToStaticNodeStream</code> (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/28872">#28872</a>)
(<a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/28874">#28874</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/589423270e8d69fce914f12f7dc7bb61bb7b81de"><code>5894232</code></a>
Enable warning for defaultProps on function components for everyone (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/25699">#25699</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/c2a246e956a164c7a92a3807c973bf9b56f85a6b"><code>c2a246e</code></a>
Turn on string ref deprecation warning for everybody (not codemoddable)
(<a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/25383">#25383</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/2cfb4741fdf2f9e3a843930d95ee6965fab44b8f"><code>2cfb474</code></a>
Bump version from 18.2 to 18.3</li>
<li>See full diff in <a
href="https://github.com/facebook/react/commits/v18.3.1/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/~react-bot">react-bot</a>, a new releaser
for react-dom since your current version.</p>
</details>
<br />

Updates `@types/react-dom` from 18.2.23 to 18.3.0
<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 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>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jun 2, 2024
1 parent 0e46341 commit 72a82af
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 24 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"next": "14.2.3",
"next-themes": "^0.3.0",
"react": "18.3.1",
"react-dom": "18.2.0",
"react-dom": "18.3.1",
"react-markdown": "^9.0.1",
"semver": "^7.6.2",
"timeago.js": "^4.0.2"
Expand All @@ -39,7 +39,7 @@
"@tailwindcss/typography": "^0.5.13",
"@types/node": "20.13.0",
"@types/react": "18.3.1",
"@types/react-dom": "18.2.23",
"@types/react-dom": "18.3.0",
"autoprefixer": "^10.4.19",
"graphql-request": "^6.1.0",
"graphql-tag": "^2.0.0",
Expand Down
36 changes: 14 additions & 22 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3977,22 +3977,14 @@
resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.11.tgz#2596fb352ee96a1379c657734d4b913a613ad563"
integrity sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==

"@types/react-dom@18.2.23":
version "18.2.23"
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.2.23.tgz#112338760f622a16d64271b408355f2f27f6302c"
integrity sha512-ZQ71wgGOTmDYpnav2knkjr3qXdAFu0vsk8Ci5w3pGAIdj7/kKAyn+VsQDhXsmzzzepAiI9leWMmubXz690AI/A==
"@types/react-dom@18.3.0":
version "18.3.0"
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.3.0.tgz#0cbc818755d87066ab6ca74fbedb2547d74a82b0"
integrity sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==
dependencies:
"@types/react" "*"

"@types/react@*":
version "18.2.73"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.73.tgz#0579548ad122660d99e00499d22e33b81e73ed94"
integrity sha512-XcGdod0Jjv84HOC7N5ziY3x+qL0AfmubvKOZ9hJjJ2yd5EE+KYjWhdOjt387e9HPheHkdggF9atTifMRtyAaRA==
dependencies:
"@types/prop-types" "*"
csstype "^3.0.2"

"@types/[email protected]":
"@types/react@*", "@types/[email protected]":
version "18.3.1"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.3.1.tgz#fed43985caa834a2084d002e4771e15dfcbdbe8e"
integrity sha512-V0kuGBX3+prX+DQ/7r2qsv1NsdfnCLnTgnRJ1pYnxykBhGMz+qj+box5lq7XsO5mtZsBqpjwwTu/7wszPfMBcw==
Expand Down Expand Up @@ -6449,13 +6441,13 @@ queue-microtask@^1.2.2:
resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243"
integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==

react-dom@18.2.0:
version "18.2.0"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d"
integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==
react-dom@18.3.1:
version "18.3.1"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.3.1.tgz#c2265d79511b57d479b3dd3fdfa51536494c5cb4"
integrity sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==
dependencies:
loose-envify "^1.1.0"
scheduler "^0.23.0"
scheduler "^0.23.2"

react-is@^16.13.1:
version "16.13.1"
Expand Down Expand Up @@ -6671,10 +6663,10 @@ safe-buffer@~5.2.0:
resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==

scheduler@^0.23.0:
version "0.23.0"
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe"
integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==
scheduler@^0.23.2:
version "0.23.2"
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.2.tgz#414ba64a3b282892e944cf2108ecc078d115cdc3"
integrity sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==
dependencies:
loose-envify "^1.1.0"

Expand Down

0 comments on commit 72a82af

Please sign in to comment.