Skip to content

Commit

Permalink
Bump react and @types/react (#301)
Browse files Browse the repository at this point in the history
Bumps
[react](https://github.com/facebook/react/tree/HEAD/packages/react) and
[@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react).
These dependencies needed to be updated together.
Updates `react` 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'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'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/f1338f8080abd1386454a10bbf93d67bfe37ce85"><code>f1338f8</code></a>
Export <code>React.act</code> from 18.3</li>
<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/73bfaa16e1487d6c4a83ca960a6f0365af2ab440"><code>73bfaa1</code></a>
Turn on key spread warning in jsx-runtime for everyone (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/25697">#25697</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/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">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 since your current version.</p>
</details>
<br />

Updates `@types/react` from 18.2.56 to 18.3.3
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react">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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jun 17, 2024
1 parent 91608fc commit b81e8b6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@storybook/react-webpack5": "7.6.16",
"@types/jest": "29.5.12",
"@types/node": "20.12.8",
"@types/react": "18.2.56",
"@types/react": "18.3.3",
"@types/three": "0.160.0",
"@typescript-eslint/eslint-plugin": "7.0.2",
"@typescript-eslint/parser": "7.0.2",
Expand All @@ -59,7 +59,7 @@
"eslint-plugin-storybook": "0.8.0",
"jest": "29.7.0",
"prettier": "3.2.5",
"react": "18.2.0",
"react": "18.3.1",
"react-dom": "18.2.0",
"rimraf": "5.0.7",
"storybook": "7.6.16",
Expand Down
21 changes: 10 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1839,7 +1839,7 @@ __metadata:
"@storybook/react-webpack5": "npm:7.6.16"
"@types/jest": "npm:29.5.12"
"@types/node": "npm:20.12.8"
"@types/react": "npm:18.2.56"
"@types/react": "npm:18.3.3"
"@types/three": "npm:0.160.0"
"@typescript-eslint/eslint-plugin": "npm:7.0.2"
"@typescript-eslint/parser": "npm:7.0.2"
Expand All @@ -1856,7 +1856,7 @@ __metadata:
eslint-plugin-storybook: "npm:0.8.0"
jest: "npm:29.7.0"
prettier: "npm:3.2.5"
react: "npm:18.2.0"
react: "npm:18.3.1"
react-dom: "npm:18.2.0"
rimraf: "npm:5.0.7"
storybook: "npm:7.6.16"
Expand Down Expand Up @@ -4239,14 +4239,13 @@ __metadata:
languageName: node
linkType: hard

"@types/react@npm:18.2.56":
version: 18.2.56
resolution: "@types/react@npm:18.2.56"
"@types/react@npm:18.3.3":
version: 18.3.3
resolution: "@types/react@npm:18.3.3"
dependencies:
"@types/prop-types": "npm:*"
"@types/scheduler": "npm:*"
csstype: "npm:^3.0.2"
checksum: a6dab9569799538a9e01d340a721ef1a6f5532bd11cae8d8ab9af00dab2edcafaa00950f7bf2f9ae5bbb1839d890e9ac6eb1ea1186200894b7178dde7b503269
checksum: fe455f805c5da13b89964c3d68060cebd43e73ec15001a68b34634604a78140e6fc202f3f61679b9d809dde6d7a7c2cb3ed51e0fd1462557911db09879b55114
languageName: node
linkType: hard

Expand Down Expand Up @@ -11630,12 +11629,12 @@ __metadata:
languageName: node
linkType: hard

"react@npm:18.2.0":
version: 18.2.0
resolution: "react@npm:18.2.0"
"react@npm:18.3.1":
version: 18.3.1
resolution: "react@npm:18.3.1"
dependencies:
loose-envify: "npm:^1.1.0"
checksum: b562d9b569b0cb315e44b48099f7712283d93df36b19a39a67c254c6686479d3980b7f013dc931f4a5a3ae7645eae6386b4aa5eea933baa54ecd0f9acb0902b8
checksum: 283e8c5efcf37802c9d1ce767f302dd569dd97a70d9bb8c7be79a789b9902451e0d16334b05d73299b20f048cbc3c7d288bbbde10b701fa194e2089c237dbea3
languageName: node
linkType: hard

Expand Down

0 comments on commit b81e8b6

Please sign in to comment.