Bump vite from 4.2.2 to 4.3.1 #3

Merged
dependabot[bot] merged 1 commits from dependabot/npm_and_yarn/vite-4.3.1 into main 2023-04-21 05:22:57 +00:00
dependabot[bot] commented 2023-04-21 01:08:52 +00:00 (Migrated from github.com)

Bumps vite from 4.2.2 to 4.3.1.

Release notes

Sourced from vite's releases.

create-vite@4.3.0

Please refer to CHANGELOG.md for details.

create-vite@4.3.0-beta.0

Please refer to CHANGELOG.md for details.

Changelog

Sourced from vite's changelog.

4.3.1 (2023-04-20)

4.3.0 (2023-04-20)

Vite 4.3 is out! Read the announcement blog post here

Vite 4.3, It's Fast)

In this minor, we focused on improving the dev server performance. The resolve logic got streamlined, improving hot paths and implementing smarter caching for finding package.json, TS config files, and resolved URL in general.

You can read a detailed walkthrough of the performance work done in this blog post by one of Vite Contributors: How we made Vite 4.3 faaaaster 🚀.

This sprint resulted in speed improvements across the board compared to Vite 4.2.

These are the performance improvements as measured by sapphi-red/performance-compare, which tests an app with 1000 React Components cold and warm dev server startup time as well as HMR times for a root and a leaf component:

Vite (babel) Vite 4.2 Vite 4.3 Improvement
dev cold start 17249.0ms 5132.4ms -70.2%
dev warm start 6027.8ms 4536.1ms -24.7%
Root HMR 46.8ms 26.7ms -42.9%
Leaf HMR 27.0ms 12.9ms -52.2%
Vite (swc) Vite 4.2 Vite 4.3 Improvement
dev cold start 13552.5ms 3201.0ms -76.4%
dev warm start 4625.5ms 2834.4ms -38.7%
Root HMR 30.5ms 24.0ms -21.3%
Leaf HMR 16.9ms 10.0ms -40.8%

You can read more information about the benchmark here

Features

Performance

... (truncated)

Commits

Dependabot compatibility score

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 commands and options

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 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)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.2.2 to 4.3.1. <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@4.3.0</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@4.3.0/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> <h2>create-vite@4.3.0-beta.0</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@4.3.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><!-- raw HTML omitted -->4.3.1 (2023-04-20)<!-- raw HTML omitted --></h2> <ul> <li>fix: revert ensure module in graph before transforming (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12774">#12774</a>) (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12929">#12929</a>) (<a href="https://github.com/vitejs/vite/commit/9cc93a5">9cc93a5</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/12774">#12774</a> <a href="https://redirect.github.com/vitejs/vite/issues/12929">#12929</a></li> <li>docs: 4.3 announcement and release notes (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12925">#12925</a>) (<a href="https://github.com/vitejs/vite/commit/f29c582">f29c582</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/12925">#12925</a></li> <li>chore: clean up 4.3 changelog (<a href="https://github.com/vitejs/vite/commit/55ec023">55ec023</a>)</li> </ul> <h2>4.3.0 (2023-04-20)</h2> <p>Vite 4.3 is out! Read the <a href="https://vitejs.dev/blog/announcing-vite4-3">announcement blog post here</a></p> <p><a href="https://vitejs.dev/blog/announcing-vite4-3"><img src="https://vitejs.dev/og-image-announcing-vite4-3.png" alt="Vite 4.3, It's Fast" />)</a></p> <p>In this minor, we focused on improving the dev server performance. The resolve logic got streamlined, improving hot paths and implementing smarter caching for finding <code>package.json</code>, TS config files, and resolved URL in general.</p> <p>You can read a detailed walkthrough of the performance work done in this blog post by one of Vite Contributors: <a href="https://sun0day.github.io/blog/vite/why-vite4_3-is-faster.html">How we made Vite 4.3 faaaaster 🚀</a>.</p> <p>This sprint resulted in speed improvements across the board compared to Vite 4.2.</p> <p>These are the performance improvements as measured by <a href="https://github.com/sapphi-red/performance-compare">sapphi-red/performance-compare</a>, which tests an app with 1000 React Components cold and warm dev server startup time as well as HMR times for a root and a leaf component:</p> <table> <thead> <tr> <th align="left"><strong>Vite (babel)</strong></th> <th align="right">Vite 4.2</th> <th align="right">Vite 4.3</th> <th align="right">Improvement</th> </tr> </thead> <tbody> <tr> <td align="left"><strong>dev cold start</strong></td> <td align="right">17249.0ms</td> <td align="right">5132.4ms</td> <td align="right">-70.2%</td> </tr> <tr> <td align="left"><strong>dev warm start</strong></td> <td align="right">6027.8ms</td> <td align="right">4536.1ms</td> <td align="right">-24.7%</td> </tr> <tr> <td align="left"><strong>Root HMR</strong></td> <td align="right">46.8ms</td> <td align="right">26.7ms</td> <td align="right">-42.9%</td> </tr> <tr> <td align="left"><strong>Leaf HMR</strong></td> <td align="right">27.0ms</td> <td align="right">12.9ms</td> <td align="right">-52.2%</td> </tr> </tbody> </table> <table> <thead> <tr> <th align="left"><strong>Vite (swc)</strong></th> <th align="right">Vite 4.2</th> <th align="right">Vite 4.3</th> <th align="right">Improvement</th> </tr> </thead> <tbody> <tr> <td align="left"><strong>dev cold start</strong></td> <td align="right">13552.5ms</td> <td align="right">3201.0ms</td> <td align="right">-76.4%</td> </tr> <tr> <td align="left"><strong>dev warm start</strong></td> <td align="right">4625.5ms</td> <td align="right">2834.4ms</td> <td align="right">-38.7%</td> </tr> <tr> <td align="left"><strong>Root HMR</strong></td> <td align="right">30.5ms</td> <td align="right">24.0ms</td> <td align="right">-21.3%</td> </tr> <tr> <td align="left"><strong>Leaf HMR</strong></td> <td align="right">16.9ms</td> <td align="right">10.0ms</td> <td align="right">-40.8%</td> </tr> </tbody> </table> <p>You can read more information about the benchmark <a href="https://gist.github.com/sapphi-red/25be97327ee64a3c1dce793444afdf6e">here</a></p> <h3>Features</h3> <ul> <li>feat: expose <code>isFileServingAllowed</code> as public utility (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12894">#12894</a>) (<a href="https://github.com/vitejs/vite/commit/93e095c">93e095c</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/12894">#12894</a></li> <li>feat: reuse existing style elements in dev (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12678">#12678</a>) (<a href="https://github.com/vitejs/vite/commit/3a41bd8">3a41bd8</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/12678">#12678</a></li> <li>feat: skip pinging the server when the tab is not shown (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12698">#12698</a>) (<a href="https://github.com/vitejs/vite/commit/bedcd8f">bedcd8f</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/12698">#12698</a></li> <li>feat(create-vite): use typescript 5.0 in templates (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12481">#12481</a>) (<a href="https://github.com/vitejs/vite/commit/8582e2d">8582e2d</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/12481">#12481</a></li> <li>feat: use preview server parameter in preview server hook (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/11647">#11647</a>) (<a href="https://github.com/vitejs/vite/commit/4c142ea">4c142ea</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/11647">#11647</a></li> <li>feat(reporter): show gzip info for all compressible files (fix <a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/11288">#11288</a>) (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12485">#12485</a>) (<a href="https://github.com/vitejs/vite/commit/03502c8">03502c8</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/11288">#11288</a> <a href="https://redirect.github.com/vitejs/vite/issues/12485">#12485</a></li> <li>feat(server): allow to import <code>data:</code> uris (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12645">#12645</a>) (<a href="https://github.com/vitejs/vite/commit/4886d9f">4886d9f</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/12645">#12645</a></li> <li>feat: add opus filetype to assets &amp; mime types (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12526">#12526</a>) (<a href="https://github.com/vitejs/vite/commit/63524ba">63524ba</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/12526">#12526</a></li> </ul> <h3>Performance</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vitejs/vite/commit/2a8779c5779ddcf1dd726be39c4547b4851b45cf"><code>2a8779c</code></a> release: v4.3.1</li> <li><a href="https://github.com/vitejs/vite/commit/9cc93a577581820b29fa929e27d49f52b805fd4f"><code>9cc93a5</code></a> fix: revert ensure module in graph before transforming (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12774">#12774</a>) (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12929">#12929</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/f29c582592e854835a4361763a004ac2f28a053a"><code>f29c582</code></a> docs: 4.3 announcement and release notes (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12925">#12925</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/55ec0236c4851d446e8c84d407ea0489eb025695"><code>55ec023</code></a> chore: clean up 4.3 changelog</li> <li><a href="https://github.com/vitejs/vite/commit/d6468a3b1fa11f066a0f38515874f71da7b9640e"><code>d6468a3</code></a> release: v4.3.0</li> <li><a href="https://github.com/vitejs/vite/commit/251d0ab84b533ae55171616119f371a503be54c1"><code>251d0ab</code></a> fix(build): do not repeatedly output warning message (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12910">#12910</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/3334660d233563dfb97e3351d669f9ae3909e4e7"><code>3334660</code></a> release: v4.3.0-beta.8</li> <li><a href="https://github.com/vitejs/vite/commit/a0e10d5bc8b7ac6f27bd006a5cb65a56538fcede"><code>a0e10d5</code></a> fix: yarn pnp considerBuiltins (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12903">#12903</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/62ebe28d4023c1f67578b1977edd3371f44f475a"><code>62ebe28</code></a> refactor(eslint): migrate to <code>eslint-plugin-n</code> (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12895">#12895</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/93e095c34fb1452a4269a4fb473389d3f67e36c8"><code>93e095c</code></a> feat: expose <code>isFileServingAllowed</code> as public utility (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12894">#12894</a>)</li> <li>Additional commits viewable in <a href="https://github.com/vitejs/vite/commits/v4.3.1/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.2.2&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 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>
cloudflare-workers-and-pages[bot] commented 2023-04-21 01:08:54 +00:00 (Migrated from github.com)

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: aaa2c05
Status:   Deploy successful!
Preview URL: https://ab33200b.qb-dashboard.pages.dev
Branch Preview URL: https://dependabot-npm-and-yarn-vite-zc7o.qb-dashboard.pages.dev

View logs

## Deploying with &nbsp;<a href="https://pages.dev"><img alt="Cloudflare Pages" src="https://user-images.githubusercontent.com/23264/106598434-9e719e00-654f-11eb-9e59-6167043cfa01.png" width="16"></a> &nbsp;Cloudflare Pages <table><tr><td><strong>Latest commit:</strong> </td><td> <code>aaa2c05</code> </td></tr> <tr><td><strong>Status:</strong></td><td>&nbsp;✅&nbsp; Deploy successful!</td></tr> <tr><td><strong>Preview URL:</strong></td><td> <a href='https://ab33200b.qb-dashboard.pages.dev'>https://ab33200b.qb-dashboard.pages.dev</a> </td></tr> <tr><td><strong>Branch Preview URL:</strong></td><td> <a href='https://dependabot-npm-and-yarn-vite-zc7o.qb-dashboard.pages.dev'>https://dependabot-npm-and-yarn-vite-zc7o.qb-dashboard.pages.dev</a> </td></tr> </table> [View logs](https://dash.cloudflare.com/?to=/:account/pages/view/qb-dashboard/ab33200b-3269-4737-86b3-ad1e420b99e3)
Sign in to join this conversation.
No description provided.