Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit fb9ae90

Browse files
build(deps-dev): Bump @vitejs/plugin-react from 4.0.0 to 4.2.0 in /api-editor/gui (#1481)
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 4.0.0 to 4.2.0. <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.2.0</h2> <h3>Update peer dependency range to target Vite 5</h3> <p>There were no breaking change that impacted this plugin, so any combination of React plugins and Vite core version will work.</p> <h3>Align jsx runtime for optimized dependencies</h3> <p>This will only affect people using internal libraries that contains untranspiled JSX. This change aligns the optimizer with the source code and avoid issues when the published source don't have <code>React</code> in the scope.</p> <p>Reminder: While being partially supported in Vite, publishing TS &amp; JSX outside of internal libraries is highly discouraged.</p> <h2>v4.1.1</h2> <ul> <li>Enable retainLines to get correct line numbers for jsxDev (fix <a href="https://redirect.github.com/vitejs/vite-plugin-react/issues/235">#235</a>)</li> </ul> <h2>v4.1.0</h2> <ul> <li>Add <code>@types/babel__cores</code> to dependencies (fix <a href="https://redirect.github.com/vitejs/vite-plugin-react/issues/211">#211</a>)</li> <li>Improve build perf when not using Babel plugins by lazy loading <code>@babel/core</code> <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/212">#212</a></li> <li>Better invalidation message when an export is added &amp; fix HMR for export of nullish values <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/215">#215</a></li> <li>Include non-dev jsx runtime in optimizeDeps &amp; support HMR for JS files using the non dev runtime <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/224">#224</a></li> <li>The build output now contains a <code>index.d.cts</code> file so you don't get types errors when setting <code>moduleResolution</code> to <code>node16</code> or <code>nodenext</code> in your tsconfig (we recommend using <code>bundler</code> which is more close to how Vite works)</li> </ul> <h2>v4.0.4</h2> <ul> <li>Fix <a href="https://github.com/vitejs/vite-plugin-react/discussions/198">#198</a>: Enable Babel if presets list is not empty</li> </ul> <h2>v4.0.3</h2> <ul> <li>Revert <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/108">#108</a>: Remove throw when refresh runtime is loaded twice to enable usage in micro frontend apps. This was added to help fix setup usage, and this is not worth an annoying warning for others or a config parameter.</li> </ul> <h2>v4.0.2</h2> <ul> <li>Fix fast-refresh for files that are transformed into jsx (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/188">#188</a>)</li> </ul> <h2>[email protected]</h2> <ul> <li>Support <a href="https://vitest.dev/config/#deps-experimentaloptimizer">Vitest deps.experimentalOptimizer</a></li> <li>Support using components inside web workers (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/181">#181</a>)</li> </ul> </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.2.0 (2023-11-16)</h2> <h3>Update peer dependency range to target Vite 5</h3> <p>There were no breaking change that impacted this plugin, so any combination of React plugins and Vite core version will work.</p> <h3>Align jsx runtime for optimized dependencies</h3> <p>This will only affect people using internal libraries that contains untranspiled JSX. This change aligns the optimizer with the source code and avoid issues when the published source don't have <code>React</code> in the scope.</p> <p>Reminder: While being partially supported in Vite, publishing TS &amp; JSX outside of internal libraries is highly discouraged.</p> <h2>4.1.1 (2023-11-02)</h2> <ul> <li>Enable retainLines to get correct line numbers for jsxDev (fix <a href="https://redirect.github.com/vitejs/vite-plugin-react/issues/235">#235</a>)</li> </ul> <h2>4.1.0 (2023-09-24)</h2> <ul> <li>Add <code>@types/babel__cores</code> to dependencies (fix <a href="https://redirect.github.com/vitejs/vite-plugin-react/issues/211">#211</a>)</li> <li>Improve build perf when not using Babel plugins by lazy loading <code>@babel/core</code> <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/212">#212</a></li> <li>Better invalidation message when an export is added &amp; fix HMR for export of nullish values <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/215">#215</a></li> <li>Include non-dev jsx runtime in optimizeDeps &amp; support HMR for JS files using the non dev runtime <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/224">#224</a></li> <li>The build output now contains a <code>index.d.cts</code> file so you don't get types errors when setting <code>moduleResolution</code> to <code>node16</code> or <code>nodenext</code> in your tsconfig (we recommend using <code>bundler</code> which is more close to how Vite works)</li> </ul> <h2>4.0.4 (2023-07-31)</h2> <ul> <li>Fix <a href="https://github.com/vitejs/vite-plugin-react/discussions/198">#198</a>: Enable Babel if presets list is not empty</li> </ul> <h2>4.0.3 (2023-07-10)</h2> <ul> <li>Revert <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/108">#108</a>: Remove throw when refresh runtime is loaded twice to enable usage in micro frontend apps. This was added to help fix setup usage, and this is not worth an annoying warning for others or a config parameter.</li> </ul> <h2>4.0.2 (2023-07-06)</h2> <ul> <li>Fix fast-refresh for files that are transformed into jsx (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/188">#188</a>)</li> </ul> <h2>4.0.1 (2023-06-19)</h2> <ul> <li>Support <a href="https://vitest.dev/config/#deps-experimentaloptimizer">Vitest deps.experimentalOptimizer</a></li> <li>Support using components inside web workers (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/181">#181</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/3748fc7493cf0a07a2ae275fbd1ae035f01010cc"><code>3748fc7</code></a> release: [email protected]</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/fb2b735f534ab8743e4e790e1e45178a24dc717e"><code>fb2b735</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/254">#254</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/96b66ed5e75cfc325a661e0d13b700cc275cfa60"><code>96b66ed</code></a> fix: align jsx runtime for optimized dependencies (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/256">#256</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/f10a57773269bb09c656b29247a5f55bd008cc52"><code>f10a577</code></a> feat: update peer dep for vite 5 (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/257">#257</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/9956fb56c8fd0bb0625828648475e9963304df90"><code>9956fb5</code></a> refactor: shorten react import regex pattern (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/250">#250</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/b255776f75ced38e9ae8d0ba2f9113e697159a73"><code>b255776</code></a> release: [email protected]</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/b783190711a6cd9a5e87dea8cb1424724ff0dd68"><code>b783190</code></a> fix: enable retainLines to get correct line numbers for jsxDev (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/246">#246</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/4777304a370dd25ee8fd3d0587bf0997bb08596a"><code>4777304</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/244">#244</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/4e8e2e272dc82fc6672d5f4d8668daf364930d52"><code>4e8e2e2</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/236">#236</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/17ca1bc2228bf633dccdd24079af3d1146173d55"><code>17ca1bc</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/226">#226</a>)</li> <li>Additional commits viewable in <a href="https://github.com/vitejs/vite-plugin-react/commits/v4.2.0/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.0.0&new-version=4.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-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 9ab6ae4 commit fb9ae90

File tree

2 files changed

+352
-300
lines changed

2 files changed

+352
-300
lines changed

0 commit comments

Comments
 (0)