Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump vite from 4.5.0 to 5.0.0 (sergiodxa#277)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.0 to 5.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vitejs/vite/releases">vite's releases</a>.</em></p> <blockquote> <h2>create-vite@5.0.0</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@5.0.0/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> <h2>create-vite@5.0.0-beta.1</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@5.0.0-beta.1/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> <h2>create-vite@5.0.0-beta.0</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@5.0.0-beta.0/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> </blockquote> </details> <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>5.0.0 (2023-11-16)</h2> <p>Vite 5 is out! Read the <a href="https://vitejs.dev/blog/announcing-vite5">announcement blog post here</a></p> <p><a href="https://vitejs.dev/blog/announcing-vite5"><img src="https://vitejs.dev/og-image-announcing-vite5.png" alt="Announcing Vite 5" /></a></p> <p>Today, we mark another big milestone in Vite's path. The Vite <a href="https://vitejs.dev/team">team</a>, <a href="https://github.com/vitejs/vite/graphs/contributors">contributors</a>, and ecosystem partners, are excited to announce the release of Vite 5. Vite is now using <a href="https://redirect.github.com/vitejs/vite/pull/14508">Rollup 4</a>, which already represents a big boost in build performance. And there are also new options to improve your dev server performance profile.</p> <p>Vite 5 focuses on cleaning up the API (removing deprecated features) and streamlines several features closing long-standing issues, for example switching <code>define</code> to use proper AST replacements instead of regexes. We also continue to take steps to future-proof Vite (Node.js 18+ is now required, and <a href="https://vitejs.dev/guide/migration#deprecate-cjs-node-api">the CJS Node API has been deprecated</a>).</p> <p>Quick links:</p> <ul> <li><a href="https://vitejs.dev">Docs</a></li> <li><a href="https://vitejs.dev/guide/migration">Migration Guide</a></li> </ul> <p>Docs in other languages:</p> <ul> <li><a href="https://cn.vitejs.dev/">简体中文</a></li> <li><a href="https://ja.vitejs.dev/">日本語</a></li> <li><a href="https://es.vitejs.dev/">Español</a></li> <li><a href="https://pt.vitejs.dev/">Português</a></li> <li><a href="https://ko.vitejs.dev/">한국어</a></li> <li><a href="https://de.vitejs.dev/">Deutsch</a> (new translation!)</li> </ul> <p>Learn more at <a href="https://vitejs.dev/blog/announcing-vite5">the Vite 5 announcement blog post</a>.</p> <h3>Breaking changes</h3> <ul> <li>feat!: add isPreview to ConfigEnv and resolveConfig (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14855">#14855</a>) (<a href="https://github.com/vitejs/vite/commit/d195860">d195860</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/14855">#14855</a></li> <li>fix(types)!: expose httpServer with Http2SecureServer union (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14834">#14834</a>) (<a href="https://github.com/vitejs/vite/commit/ab5bb40">ab5bb40</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/14834">#14834</a></li> <li>refactor(preview)!: use base middleware (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14818">#14818</a>) (<a href="https://github.com/vitejs/vite/commit/69737f4">69737f4</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/14818">#14818</a></li> <li>fix(html)!: align html serving between dev and preview (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14756">#14756</a>) (<a href="https://github.com/vitejs/vite/commit/4f71ae8">4f71ae8</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/14756">#14756</a></li> <li>refactor!: remove non boolean middleware mode (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14792">#14792</a>) (<a href="https://github.com/vitejs/vite/commit/deb5515">deb5515</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/14792">#14792</a></li> <li>refactor(esbuild)!: remove esbuild 0.17 -> 0.18 compat (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14804">#14804</a>) (<a href="https://github.com/vitejs/vite/commit/7234021">7234021</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/14804">#14804</a></li> <li>feat(resolve)!: remove <code>resolve.browserField</code> (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14733">#14733</a>) (<a href="https://github.com/vitejs/vite/commit/43cc3b9">43cc3b9</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/14733">#14733</a></li> <li>refactor!: move side effect of restart server to the caller (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/8746">#8746</a>) (<a href="https://github.com/vitejs/vite/commit/521ca58">521ca58</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/8746">#8746</a></li> <li>refactor(shortcuts)!: tweak shortcuts api (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14749">#14749</a>) (<a href="https://github.com/vitejs/vite/commit/0ae2e1d">0ae2e1d</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/14749">#14749</a></li> <li>fix(resolve)!: remove special .mjs handling (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14723">#14723</a>) (<a href="https://github.com/vitejs/vite/commit/2141d31">2141d31</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/14723">#14723</a></li> <li>feat!: remove ssr proxy for externalized modules (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14521">#14521</a>) (<a href="https://github.com/vitejs/vite/commit/5786837">5786837</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/14521">#14521</a></li> <li>feat(build)!: inline SVGs (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14643">#14643</a>) (<a href="https://github.com/vitejs/vite/commit/5acda5e">5acda5e</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/14643">#14643</a></li> <li>fix!: worker.plugins is a function (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14685">#14685</a>) (<a href="https://github.com/vitejs/vite/commit/9d09dfe">9d09dfe</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/14685">#14685</a></li> <li>refactor!: remove https flag (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14681">#14681</a>) (<a href="https://github.com/vitejs/vite/commit/5b65bfd">5b65bfd</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/14681">#14681</a></li> <li>feat!: rollup v4 (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14508">#14508</a>) (<a href="https://github.com/vitejs/vite/commit/dee6067">dee6067</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/14508">#14508</a></li> <li>refactor!: remove <code>resolvePackageEntry</code> and <code>resolvePackageData</code> APIs (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14584">#14584</a>) (<a href="https://github.com/vitejs/vite/commit/339f300">339f300</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/14584">#14584</a></li> <li>refactor!: remove exporting internal APIs (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14583">#14583</a>) (<a href="https://github.com/vitejs/vite/commit/7861a33">7861a33</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/14583">#14583</a></li> <li>fix!: return 404 for resources requests outside the base path (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/5657">#5657</a>) (<a href="https://github.com/vitejs/vite/commit/40fd2d9">40fd2d9</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/5657">#5657</a></li> <li>refactor!: remove <code>server.force</code> (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14530">#14530</a>) (<a href="https://github.com/vitejs/vite/commit/33ecfd9">33ecfd9</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/14530">#14530</a></li> <li>refactor!: remove jest condition (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14544">#14544</a>) (<a href="https://github.com/vitejs/vite/commit/8d18a91">8d18a91</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/14544">#14544</a></li> <li>feat!: deprecate cjs node api (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14278">#14278</a>) (<a href="https://github.com/vitejs/vite/commit/404f30f">404f30f</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/14278">#14278</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vitejs/vite/commit/531d3cbd88e3024e264873653b2d3d203aebd15d"><code>531d3cb</code></a> chore: cleanup v5 beta changelog (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14694">#14694</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/0c3125833033fec4356ab4e90e806e02e8644c40"><code>0c31258</code></a> release: v5.0.0</li> <li><a href="https://github.com/vitejs/vite/commit/9258ce08162477a1b2adc042caedcebe9f5d83a7"><code>9258ce0</code></a> release: v5.0.0-beta.20</li> <li><a href="https://github.com/vitejs/vite/commit/e0c86d4f210a302876fac280d9e79a2244e83b8b"><code>e0c86d4</code></a> feat: allow providing parent httpServer on middleware mode (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14632">#14632</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/58ff8499d723ce6f87624faa1e17c218baa9793f"><code>58ff849</code></a> fix: server.preTransformRequests https error (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14991">#14991</a>) (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14993">#14993</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/2a519a176d9f499d2b2814cc08549e9985a048e5"><code>2a519a1</code></a> fix: don't append <code>/@fs/</code> for bare imports (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14995">#14995</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/d3af8791c0973e3fe0aa3a65ed0af7d037cbf73d"><code>d3af879</code></a> docs: point links in messages at https: (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14992">#14992</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/82a5b11f80a8c5f04abab54336ee406d9e424d13"><code>82a5b11</code></a> fix(ssr): skip esm proxy guard for namespace imports (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14988">#14988</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/bedfcfad4b64cabde8008a6469a37c66b69372be"><code>bedfcfa</code></a> fix: code frame was not generated for postcss errors (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14986">#14986</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/2b4e7935d7bd05ce68320dc24eee3c3c04b0672d"><code>2b4e793</code></a> fix: caret position was incorrect (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14984">#14984</a>)</li> <li>Additional commits viewable in <a href="https://github.com/vitejs/vite/commits/create-vite@5.0.0/packages/vite">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vite&package-manager=npm_and_yarn&previous-version=4.5.0&new-version=5.0.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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information