Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump the vite group with 2 updates (#2021)
Bumps the vite group with 2 updates: [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) and [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite). Updates `@vitejs/plugin-react` from 4.2.0 to 4.2.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.2.1</h2> <p>Remove generic parameter on <code>Plugin</code> to avoid type error with Rollup 4/Vite 5 and <code>skipLibCheck: false</code>.</p> <p>I expect very few people to currently use this feature, but if you are extending the React plugin via <code>api</code> object, you can get back the typing of the hook by importing <code>ViteReactPluginApi</code>:</p> <pre lang="ts"><code>import type { Plugin } from 'vite' import type { ViteReactPluginApi } from '@vitejs/plugin-react' <p>export const somePlugin: Plugin = { name: 'some-plugin', api: { reactBabel: (babelConfig) => { babelConfig.plugins.push('some-babel-plugin') }, } satisfies ViteReactPluginApi, } </code></pre></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.2.1 (2023-12-04)</h2> <p>Remove generic parameter on <code>Plugin</code> to avoid type error with Rollup 4/Vite 5 and <code>skipLibCheck: false</code>.</p> <p>I expect very few people to currently use this feature, but if you are extending the React plugin via <code>api</code> object, you can get back the typing of the hook by importing <code>ViteReactPluginApi</code>:</p> <pre lang="ts"><code>import type { Plugin } from 'vite' import type { ViteReactPluginApi } from '@vitejs/plugin-react' <p>export const somePlugin: Plugin = { name: 'some-plugin', api: { reactBabel: (babelConfig) => { babelConfig.plugins.push('some-babel-plugin') }, } satisfies ViteReactPluginApi, } </code></pre></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/8b5354741a173ce02892ff021c8bdfba4c9f0d11"><code>8b53547</code></a> release: [email protected]</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/ec630663b59e2eaaab0360c0087ac23cbb0ee5bc"><code>ec63066</code></a> chore(deps): update dependency vite to v5 (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/263">#263</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/8512995c552a25e9c6f901c00874d63f7638a499"><code>8512995</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/259">#259</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/7f53c63fd2dc51d712426099645907aada6657ec"><code>7f53c63</code></a> fix: remove plugin type extension (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/269">#269</a>)</li> <li>See full diff in <a href="https://github.com/vitejs/vite-plugin-react/commits/v4.2.1/packages/plugin-react">compare view</a></li> </ul> </details> <br /> Updates `vite` from 5.0.4 to 5.0.5 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md">vite's changelog</a>.</em></p> <blockquote> <h2><!-- raw HTML omitted -->5.0.5 (2023-12-04)<!-- raw HTML omitted --></h2> <ul> <li>fix: emit <code>vite:preloadError</code> for chunks without deps (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15203">#15203</a>) (<a href="https://github.com/vitejs/vite/commit/d8001c5">d8001c5</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/15203">#15203</a></li> <li>fix: esbuild glob import resolve error (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15140">#15140</a>) (<a href="https://github.com/vitejs/vite/commit/676804d">676804d</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/15140">#15140</a></li> <li>fix: json error with position (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15225">#15225</a>) (<a href="https://github.com/vitejs/vite/commit/14be75f">14be75f</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/15225">#15225</a></li> <li>fix: proxy html path should be encoded (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15223">#15223</a>) (<a href="https://github.com/vitejs/vite/commit/5b85040">5b85040</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/15223">#15223</a></li> <li>fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15233">#15233</a>) (<a href="https://github.com/vitejs/vite/commit/ad3adda">ad3adda</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/15233">#15233</a></li> <li>fix(hmr): don't consider CSS dep as a circular dep (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15229">#15229</a>) (<a href="https://github.com/vitejs/vite/commit/5f2cdec">5f2cdec</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/15229">#15229</a></li> <li>feat: add '*.mov' to client.d.ts (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15189">#15189</a>) (<a href="https://github.com/vitejs/vite/commit/d93a211">d93a211</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/15189">#15189</a></li> <li>feat(server): allow disabling built-in shortcuts (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15218">#15218</a>) (<a href="https://github.com/vitejs/vite/commit/7fd7c6c">7fd7c6c</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/15218">#15218</a></li> <li>chore: replace 'some' with 'includes' in resolveEnvPrefix (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15220">#15220</a>) (<a href="https://github.com/vitejs/vite/commit/ee12f30">ee12f30</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/15220">#15220</a></li> <li>chore: update the website url for homepage in package.json (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15181">#15181</a>) (<a href="https://github.com/vitejs/vite/commit/282bd8f">282bd8f</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/15181">#15181</a></li> <li>chore: update vitest to 1.0.0-beta.6 (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15194">#15194</a>) (<a href="https://github.com/vitejs/vite/commit/2fce647">2fce647</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/15194">#15194</a></li> <li>refactor: make HMR agnostic to environment (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15179">#15179</a>) (<a href="https://github.com/vitejs/vite/commit/0571b7c">0571b7c</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/15179">#15179</a></li> <li>refactor: use dedicated regex methods (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15228">#15228</a>) (<a href="https://github.com/vitejs/vite/commit/0348137">0348137</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/15228">#15228</a></li> <li>perf: remove debug only prettifyUrl call (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15204">#15204</a>) (<a href="https://github.com/vitejs/vite/commit/73e971f">73e971f</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/15204">#15204</a></li> <li>perf: skip computing sourceRoot in injectSourcesContent (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15207">#15207</a>) (<a href="https://github.com/vitejs/vite/commit/1df1fd1">1df1fd1</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/15207">#15207</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vitejs/vite/commit/fa7976732e815a7f4268369596f6df872201d0e9"><code>fa79767</code></a> release: v5.0.5</li> <li><a href="https://github.com/vitejs/vite/commit/ad3adda7215c33874a07cbd4d430fcffe4c85dce"><code>ad3adda</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15233">#15233</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/d93a211959cb5f9951653d717aceee2a0d93499a"><code>d93a211</code></a> feat: add '*.mov' to client.d.ts (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15189">#15189</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/5f2cdec5d61b847352b3412725fcc957dca010d4"><code>5f2cdec</code></a> fix(hmr): don't consider CSS dep as a circular dep (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15229">#15229</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/ee12f30eaae70a8989cff0fe0a823e3f42a84832"><code>ee12f30</code></a> chore: replace 'some' with 'includes' in resolveEnvPrefix (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15220">#15220</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/14be75f6a8497ae1416188e21b2b0f818443cc2a"><code>14be75f</code></a> fix: json error with position (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15225">#15225</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/0348137a2315fc288f0e915169c36947f69bba63"><code>0348137</code></a> refactor: use dedicated regex methods (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15228">#15228</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/5b8504048140cbbd5d9424132c998c506dece6ce"><code>5b85040</code></a> fix: proxy html path should be encoded (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15223">#15223</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/1df1fd1047695c4d144de4b2b4bd4a69fc7d7440"><code>1df1fd1</code></a> perf: skip computing sourceRoot in injectSourcesContent (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15207">#15207</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/7fd7c6cebfcad34ae7021ebee28f97b1f28ef3f3"><code>7fd7c6c</code></a> feat(server): allow disabling built-in shortcuts (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15218">#15218</a>)</li> <li>Additional commits viewable in <a href="https://github.com/vitejs/vite/commits/v5.0.5/packages/vite">compare view</a></li> </ul> </details> <br /> You can trigger a rebase of this PR 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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information