Skip to content

Commit e9060a4

Browse files
chore(deps-dev): bump @vitejs/plugin-react from 4.7.0 to 5.1.1 (#197)
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 4.7.0 to 5.1.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>[email protected]</h2> <h3>Update code to support newer <code>rolldown-vite</code> (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/976">#976</a>)</h3> <p><code>rolldown-vite</code> will remove <code>optimizeDeps.rollupOptions</code> in favor of <code>optimizeDeps.rolldownOptions</code> soon. This plugin now uses <code>optimizeDeps.rolldownOptions</code> to support newer <code>rolldown-vite</code>. Please update <code>rolldown-vite</code> to the latest version if you are using an older version.</p> <h2>[email protected]</h2> <h3>Add <code>@vitejs/plugin-react/preamble</code> virtual module for SSR HMR (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/890">#890</a>)</h3> <p>SSR applications can now initialize HMR runtime by importing <code>@vitejs/plugin-react/preamble</code> at the top of their client entry instead of manually calling <code>transformIndexHtml</code>. This simplifies SSR setup for applications that don't use the <code>transformIndexHtml</code> API.</p> <h3>Fix raw Rolldown support for Rolldown 1.0.0-beta.44+ (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/930">#930</a>)</h3> <p>Rolldown 1.0.0-beta.44+ removed the top-level <code>jsx</code> option in favor of <code>transform.jsx</code>. This plugin now uses the <code>transform.jsx</code> option to support Rolldown 1.0.0-beta.44+.</p> <h2>[email protected]</h2> <h3>Perf: use native refresh wrapper plugin in rolldown-vite (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/881">#881</a>)</h3> <h2>[email protected]</h2> <h3>HMR did not work for components imported with queries with rolldown-vite (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/872">#872</a>)</h3> <h3>Perf: simplify refresh wrapper generation (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/835">#835</a>)</h3> <h2>[email protected]</h2> <h3>Skip transform hook completely in rolldown-vite in dev if possible (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/783">#783</a>)</h3> <h2>[email protected]</h2> <h3>Set <code>optimizeDeps.rollupOptions.transform.jsx</code> instead of <code>optimizeDeps.rollupOptions.jsx</code> for rolldown-vite (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/735">#735</a>)</h3> <p><code>optimizeDeps.rollupOptions.jsx</code> is going to be deprecated in favor of <code>optimizeDeps.rollupOptions.transform.jsx</code>.</p> <h3>Perf: skip <code>babel-plugin-react-compiler</code> if code has no <code>&quot;use memo&quot;</code> when <code>{ compilationMode: &quot;annotation&quot; }</code> (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/734">#734</a>)</h3> <h3>Respect tsconfig <code>jsxImportSource</code> (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/726">#726</a>)</h3> <h3>Fix <code>reactRefreshHost</code> option on rolldown-vite (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/716">#716</a>)</h3> <h3>Fix <code>RefreshRuntime</code> being injected twice for class components on rolldown-vite (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/708">#708</a>)</h3> <h3>Skip <code>babel-plugin-react-compiler</code> on non client environment (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/689">689</a>)</h3> <h2>[email protected]</h2> <p>(Same content as v5.0.0-beta.0 <a href="https://github.com/vitejs/vite-plugin-react/releases/tag/plugin-react%405.0.0-beta.0">https://github.com/vitejs/vite-plugin-react/releases/tag/plugin-react%405.0.0-beta.0</a>)</p> <h3>Use Oxc for react refresh transform in rolldown-vite</h3> <p>When used with rolldown-vite, this plugin now uses Oxc for react refresh transform.</p> <p>Since this behavior is what <code>@vitejs/plugin-react-oxc</code> did, <code>@vitejs/plugin-react-oxc</code> is now deprecated and the <code>disableOxcRecommendation</code> option is removed.</p> <p>Also, while <code>@vitejs/plugin-react-oxc</code> used the production JSX transform even for <code>NODE_ENV=development</code> build, <code>@vitejs/plugin-react</code> uses the development JSX transform for <code>NODE_ENV=development</code> build.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </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>5.1.1 (2025-11-12)</h2> <h3>Update code to support newer <code>rolldown-vite</code> (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/976">#976</a>)</h3> <p><code>rolldown-vite</code> will remove <code>optimizeDeps.rollupOptions</code> in favor of <code>optimizeDeps.rolldownOptions</code> soon. This plugin now uses <code>optimizeDeps.rolldownOptions</code> to support newer <code>rolldown-vite</code>. Please update <code>rolldown-vite</code> to the latest version if you are using an older version.</p> <h2>5.1.0 (2025-10-24)</h2> <h3>Add <code>@vitejs/plugin-react/preamble</code> virtual module for SSR HMR (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/890">#890</a>)</h3> <p>SSR applications can now initialize HMR runtime by importing <code>@vitejs/plugin-react/preamble</code> at the top of their client entry instead of manually calling <code>transformIndexHtml</code>. This simplifies SSR setup for applications that don't use the <code>transformIndexHtml</code> API.</p> <h3>Fix raw Rolldown support for Rolldown 1.0.0-beta.44+ (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/930">#930</a>)</h3> <p>Rolldown 1.0.0-beta.44+ removed the top-level <code>jsx</code> option in favor of <code>transform.jsx</code>. This plugin now uses the <code>transform.jsx</code> option to support Rolldown 1.0.0-beta.44+.</p> <h2>5.0.4 (2025-09-27)</h2> <h3>Perf: use native refresh wrapper plugin in rolldown-vite (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/881">#881</a>)</h3> <h2>5.0.3 (2025-09-17)</h2> <h3>HMR did not work for components imported with queries with rolldown-vite (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/872">#872</a>)</h3> <h3>Perf: simplify refresh wrapper generation (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/835">#835</a>)</h3> <h2>5.0.2 (2025-08-28)</h2> <h3>Skip transform hook completely in rolldown-vite in dev if possible (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/783">#783</a>)</h3> <h2>5.0.1 (2025-08-19)</h2> <h3>Set <code>optimizeDeps.rollupOptions.transform.jsx</code> instead of <code>optimizeDeps.rollupOptions.jsx</code> for rolldown-vite (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/735">#735</a>)</h3> <p><code>optimizeDeps.rollupOptions.jsx</code> is going to be deprecated in favor of <code>optimizeDeps.rollupOptions.transform.jsx</code>.</p> <h3>Perf: skip <code>babel-plugin-react-compiler</code> if code has no <code>&quot;use memo&quot;</code> when <code>{ compilationMode: &quot;annotation&quot; }</code> (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/734">#734</a>)</h3> <h3>Respect tsconfig <code>jsxImportSource</code> (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/726">#726</a>)</h3> <h3>Fix <code>reactRefreshHost</code> option on rolldown-vite (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/716">#716</a>)</h3> <h3>Fix <code>RefreshRuntime</code> being injected twice for class components on rolldown-vite (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/708">#708</a>)</h3> <h3>Skip <code>babel-plugin-react-compiler</code> on non client environment (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/689">689</a>)</h3> <h2>5.0.0 (2025-08-07)</h2> <h2>5.0.0-beta.0 (2025-07-28)</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/23db72731b7c9c3d57a8188f0395d2ec90a6e2f6"><code>23db727</code></a> release: [email protected]</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/bcc7db076ec038ab0152fd00a712913569c901a4"><code>bcc7db0</code></a> chore: add changelog for <a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/976">#976</a> and <a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/978">#978</a></li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/4a2e229b2093b4a2e4af1c07f3e07aa91f3e12a5"><code>4a2e229</code></a> fix(react): use rolldownOptions instead of deprecated rollupOptions in optimi...</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/41cb8237bfb902fe1873c55de0780f0ca2cf3640"><code>41cb823</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/968">#968</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/9cabe2720f571338cc319c957f285e6f787f23fa"><code>9cabe27</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/960">#960</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/c8d918eab8d8cb0f9d38966d5f29a113a0c397ac"><code>c8d918e</code></a> chore(react): use ts-ignore for ecosystem-ci (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/956">#956</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/0849e420b30a6183c9364aae2320435684696090"><code>0849e42</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/953">#953</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/3e5a3742e94be975cbcec230fbab5e801b80dc5b"><code>3e5a374</code></a> release: [email protected]</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/44cbed4d00d48331d9757085fae79807dc1a3969"><code>44cbed4</code></a> fix(react): compat with newer rolldown (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/930">#930</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/c54d3c69983695785c90998760d0ec879c84dd33"><code>c54d3c6</code></a> chore(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/926">#926</a>)</li> <li>Additional commits viewable in <a href="https://github.com/vitejs/vite-plugin-react/commits/[email protected]/packages/plugin-react">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by [GitHub Actions](<a href="https://www.npmjs.com/~GitHub">https://www.npmjs.com/~GitHub</a> Actions), a new releaser for <code>@​vitejs/plugin-react</code> since your current version.</p> </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.7.0&new-version=5.1.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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 7aaa466 commit e9060a4

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"@types/geojson": "^7946.0.16",
6767
"@types/react": "^19.1.2",
6868
"@types/react-dom": "^19.1.2",
69-
"@vitejs/plugin-react": "^4.4.1",
69+
"@vitejs/plugin-react": "^5.1.1",
7070
"@vitest/browser": "^4.0.10",
7171
"@vitest/browser-playwright": "^4.0.10",
7272
"conventional-changelog-conventionalcommits": "^9.1.0",

yarn.lock

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.28.5.tgz#a8a4962e1567121ac0b3b487f52107443b455c7f"
8686
integrity sha512-6uFXyCayocRbqhZOB+6XcuZbkMNimwfVGFji8CTZnCzOHVGvDqzvitu1re2AU5LROliz7eQPhB8CpAMvnx9EjA==
8787

88-
"@babel/core@^7.28.0":
88+
"@babel/core@^7.28.5":
8989
version "7.28.5"
9090
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.28.5.tgz#4c81b35e51e1b734f510c99b07dfbc7bbbb48f7e"
9191
integrity sha512-e7jT4DxYvIDLk1ZHmU/m/mB19rex9sv0c2ftBtjSBv+kVM/902eh0fINUzD7UwLLNR+jU585GxUJ8/EBfAM5fw==
@@ -1594,10 +1594,10 @@
15941594
resolved "https://registry.yarnpkg.com/@probe.gl/stats/-/stats-4.1.0.tgz#181b774b31f7f3c91f9750e41ccd72f6c8c4ad93"
15951595
integrity sha512-EI413MkWKBDVNIfLdqbeNSJTs7ToBz/KVGkwi3D+dQrSIkRI2IYbWGAU3xX+D6+CI4ls8ehxMhNpUVMaZggDvQ==
15961596

1597-
"@rolldown/[email protected].27":
1598-
version "1.0.0-beta.27"
1599-
resolved "https://registry.yarnpkg.com/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.27.tgz#47d2bf4cef6d470b22f5831b420f8964e0bf755f"
1600-
integrity sha512-+d0F4MKMCbeVUJwG96uQ4SgAznZNSq93I3V+9NHA4OpvqG8mRCpGdKmK8l/dl02h2CCDHwW2FqilnTyDcAnqjA==
1597+
"@rolldown/[email protected].47":
1598+
version "1.0.0-beta.47"
1599+
resolved "https://registry.yarnpkg.com/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.47.tgz#c282c4a8c39f3d6d2f1086aae09a34e6241f7a50"
1600+
integrity sha512-8QagwMH3kNCuzD8EWL8R2YPW5e4OrHNSAHRFDdmFqEwEaD/KcNKjVoumo+gP2vW5eKB2UPbM6vTYiGZX0ixLnw==
16011601

16021602
"@rollup/plugin-virtual@^3.0.2":
16031603
version "3.0.2"
@@ -2581,17 +2581,17 @@
25812581
dependencies:
25822582
"@maplibre/maplibre-gl-style-spec" "^19.2.1"
25832583

2584-
"@vitejs/plugin-react@^4.4.1":
2585-
version "4.7.0"
2586-
resolved "https://registry.yarnpkg.com/@vitejs/plugin-react/-/plugin-react-4.7.0.tgz#647af4e7bb75ad3add578e762ad984b90f4a24b9"
2587-
integrity sha512-gUu9hwfWvvEDBBmgtAowQCojwZmJ5mcLn3aufeCsitijs3+f2NsrPtlAWIR6OPiqljl96GVCUbLe0HyqIpVaoA==
2584+
"@vitejs/plugin-react@^5.1.1":
2585+
version "5.1.1"
2586+
resolved "https://registry.yarnpkg.com/@vitejs/plugin-react/-/plugin-react-5.1.1.tgz#fa1957e053fe90d7cc2deea5593ae382a9761595"
2587+
integrity sha512-WQfkSw0QbQ5aJ2CHYw23ZGkqnRwqKHD/KYsMeTkZzPT4Jcf0DcBxBtwMJxnu6E7oxw5+JC6ZAiePgh28uJ1HBA==
25882588
dependencies:
2589-
"@babel/core" "^7.28.0"
2589+
"@babel/core" "^7.28.5"
25902590
"@babel/plugin-transform-react-jsx-self" "^7.27.1"
25912591
"@babel/plugin-transform-react-jsx-source" "^7.27.1"
2592-
"@rolldown/pluginutils" "1.0.0-beta.27"
2592+
"@rolldown/pluginutils" "1.0.0-beta.47"
25932593
"@types/babel__core" "^7.20.5"
2594-
react-refresh "^0.17.0"
2594+
react-refresh "^0.18.0"
25952595

25962596
"@vitest/browser-playwright@^4.0.10":
25972597
version "4.0.10"
@@ -7149,10 +7149,10 @@ react-markdown@^10.1.0:
71497149
unist-util-visit "^5.0.0"
71507150
vfile "^6.0.0"
71517151

7152-
react-refresh@^0.17.0:
7153-
version "0.17.0"
7154-
resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.17.0.tgz#b7e579c3657f23d04eccbe4ad2e58a8ed51e7e53"
7155-
integrity sha512-z6F7K9bV85EfseRCp2bzrpyQ0Gkw1uLoCel9XBVWPg/TjRj94SkJzUTGfOa4bs7iJvBWtQG0Wq7wnI0syw3EBQ==
7152+
react-refresh@^0.18.0:
7153+
version "0.18.0"
7154+
resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.18.0.tgz#2dce97f4fe932a4d8142fa1630e475c1729c8062"
7155+
integrity sha512-QgT5//D3jfjJb6Gsjxv0Slpj23ip+HtOpnNgnb2S5zU3CB26G/IDPGoy4RJB42wzFE46DRsstbW6tKHoKbhAxw==
71567156

71577157
react@^19.1.0:
71587158
version "19.2.0"

0 commit comments

Comments
 (0)