Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps-dev): Bump @vitejs/plugin-react from 4.3.0 to 4.3.1 (#1231)
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 4.3.0 to 4.3.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vitejs/vite-plugin-react/releases"><code>@vitejs/plugin-react</code>'s releases</a>.</em></p> <blockquote> <h2>v4.3.1</h2> <h3>Fix support for React Compiler with React 18</h3> <p>The previous version made this assumption that the compiler was only usable with React 19, but it's possible to use it with React 18 and a custom <code>runtimeModule</code>: <a href="https://gist.github.com/poteto/37c076bf112a07ba39d0e5f0645fec43">https://gist.github.com/poteto/37c076bf112a07ba39d0e5f0645fec43</a></p> <p>When using a custom <code>runtimeModule</code>, the plugin will not try to pre-optimize <code>react/compiler-runtime</code> dependency.</p> <p>Reminder: Vite expect code outside of <code>node_modules</code> to be ESM, so you will need to update the gist with <code>import React from 'react'</code>.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md"><code>@vitejs/plugin-react</code>'s changelog</a>.</em></p> <blockquote> <h2>4.3.1 (2024-06-10)</h2> <h3>Fix support for React Compiler with React 18</h3> <p>The previous version made this assumption that the compiler was only usable with React 19, but it's possible to use it with React 18 and a custom <code>runtimeModule</code>: <a href="https://gist.github.com/poteto/37c076bf112a07ba39d0e5f0645fec43">https://gist.github.com/poteto/37c076bf112a07ba39d0e5f0645fec43</a></p> <p>When using a custom <code>runtimeModule</code>, the plugin will not try to pre-optimize <code>react/compiler-runtime</code> dependency.</p> <p>Reminder: Vite expect code outside of <code>node_modules</code> to be ESM, so you will need to update the gist with <code>import React from 'react'</code>.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/1609186b9f379d4c1cf75c60e878d8b4f7675ab3"><code>1609186</code></a> release: plugin-react@4.3.1</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/ea647d19555d52aa194500111a03992e3342a768"><code>ea647d1</code></a> fix: handle using compiler with React 18 (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/330">#330</a>)</li> <li>See full diff in <a href="https://github.com/vitejs/vite-plugin-react/commits/v4.3.1/packages/plugin-react">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@vitejs/plugin-react&package-manager=npm_and_yarn&previous-version=4.3.0&new-version=4.3.1)](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 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