511.md (14169B)
1 # PR #511 Bump vite from 4.0.5 to 4.4.0 2 3 - **Status:** closed 4 - **Author:** @dependabot[bot] 5 - **Created:** 2023-07-06T09:00:27Z 6 - **Branch:** dependabot/npm_and_yarn/vite-4.4.0 → main 7 - **Closed:** 2023-07-07T08:44:03Z 8 - **Labels:** dependencies, javascript 9 - **Assignees:** @MTRNord 10 - **Reviewers:** @MTRNord 11 - **Diff:** [511.diff](./511.diff) 12 13 --- 14 15 Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.0.5 to 4.4.0. 16 <details> 17 <summary>Release notes</summary> 18 <p><em>Sourced from <a href="https://github.com/vitejs/vite/releases">vite's releases</a>.</em></p> 19 <blockquote> 20 <h2>create-vite@4.3.2</h2> 21 <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@4.3.2/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> 22 <h2>create-vite@4.3.1</h2> 23 <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@4.3.1/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> 24 <h2>create-vite@4.3.0</h2> 25 <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> 26 <h2>create-vite@4.3.0-beta.0</h2> 27 <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> 28 <h2>create-vite@4.2.0</h2> 29 <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@4.2.0/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> 30 <h2>create-vite@4.2.0-beta.1</h2> 31 <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@4.2.0-beta.1/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> 32 <h2>create-vite@4.2.0-beta.0</h2> 33 <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@4.2.0-beta.0/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> 34 <h2>create-vite@4.1.0</h2> 35 <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@4.1.0/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> 36 <h2>create-vite@4.1.0-beta.0</h2> 37 <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@4.1.0-beta.0/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> 38 </blockquote> 39 </details> 40 <details> 41 <summary>Changelog</summary> 42 <p><em>Sourced from <a href="https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md">vite's changelog</a>.</em></p> 43 <blockquote> 44 <h2>4.4.0 (2023-07-06)</h2> 45 <ul> 46 <li>fix: check document before detect script rel (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13559">#13559</a>) (<a href="https://github.com/vitejs/vite/commit/be4b0c0">be4b0c0</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/13559">#13559</a></li> 47 <li>fix(define): stringify object parse error in build mode (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13600">#13600</a>) (<a href="https://github.com/vitejs/vite/commit/71516db">71516db</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/13600">#13600</a></li> 48 <li>fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13701">#13701</a>) (<a href="https://github.com/vitejs/vite/commit/02c6bc3">02c6bc3</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/13701">#13701</a></li> 49 <li>fix(esbuild): use <code>useDefineForClassFields: false</code> when no <code>compilerOptions.target</code> is declared (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13">#13</a> (<a href="https://github.com/vitejs/vite/commit/7ef2472">7ef2472</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/13708">#13708</a></li> 50 <li>fix(pluginContainer): drop previous sourcesContent (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13722">#13722</a>) (<a href="https://github.com/vitejs/vite/commit/9310b3a">9310b3a</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/13722">#13722</a></li> 51 </ul> 52 <h2>4.4.0-beta.4 (2023-07-03)</h2> 53 <ul> 54 <li>fix: lightningCSS should load external URL in CSS file (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13692">#13692</a>) (<a href="https://github.com/vitejs/vite/commit/8517645">8517645</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/13692">#13692</a></li> 55 <li>fix: shortcut open browser when set host (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13677">#13677</a>) (<a href="https://github.com/vitejs/vite/commit/6f1c55e">6f1c55e</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/13677">#13677</a></li> 56 <li>fix(cli): convert the sourcemap option to boolean (fix <a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13638">#13638</a>) (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13663">#13663</a>) (<a href="https://github.com/vitejs/vite/commit/d444bfe">d444bfe</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/13638">#13638</a> <a href="https://redirect.github.com/vitejs/vite/issues/13663">#13663</a></li> 57 <li>fix(css): use esbuild legalComments config when minifying CSS (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13661">#13661</a>) (<a href="https://github.com/vitejs/vite/commit/2d9008e">2d9008e</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/13661">#13661</a></li> 58 <li>fix(sourcemap): preserve original sourcesContent (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13662">#13662</a>) (<a href="https://github.com/vitejs/vite/commit/f6362b6">f6362b6</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/13662">#13662</a></li> 59 <li>fix(ssr): transform superclass identifier (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13635">#13635</a>) (<a href="https://github.com/vitejs/vite/commit/c5b2c8f">c5b2c8f</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/13635">#13635</a></li> 60 <li>chore: fix pnpm bug with version-less workspace (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13700">#13700</a>) (<a href="https://github.com/vitejs/vite/commit/e48d35d">e48d35d</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/13700">#13700</a></li> 61 <li>chore: show error position (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13623">#13623</a>) (<a href="https://github.com/vitejs/vite/commit/90271a6">90271a6</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/13623">#13623</a></li> 62 <li>chore(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13633">#13633</a>) (<a href="https://github.com/vitejs/vite/commit/c72fb9b">c72fb9b</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/13633">#13633</a></li> 63 <li>feat: preview mode add keyboard shortcuts (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12968">#12968</a>) (<a href="https://github.com/vitejs/vite/commit/126e93e">126e93e</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/12968">#12968</a></li> 64 <li>feat: update esbuild to 0.18.10 (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13644">#13644</a>) (<a href="https://github.com/vitejs/vite/commit/f900acd">f900acd</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/13644">#13644</a></li> 65 </ul> 66 <h2>4.4.0-beta.3 (2023-06-25)</h2> 67 <ul> 68 <li>chore: upgrade rollup to 3.25.2 (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13608">#13608</a>) (<a href="https://github.com/vitejs/vite/commit/5497abe">5497abe</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/13608">#13608</a></li> 69 </ul> 70 <h2>4.4.0-beta.2 (2023-06-22)</h2> 71 <ul> 72 <li>fix(hmr): only invalidate <code>lastHMRTimestamp</code> of importers if the invalidated module is not a HMR bou (<a href="https://github.com/vitejs/vite/commit/1143e0b">1143e0b</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/13024">#13024</a></li> 73 <li>fix(indexHtml): decode html URI (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13581">#13581</a>) (<a href="https://github.com/vitejs/vite/commit/f8868af">f8868af</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/13581">#13581</a></li> 74 <li>chore: add notes to 4.4.0-beta.1 changelog (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13586">#13586</a>) (<a href="https://github.com/vitejs/vite/commit/097c583">097c583</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/13586">#13586</a></li> 75 </ul> 76 <h2>4.4.0-beta.1 (2023-06-21)</h2> 77 <h3>Experimental support for Lightning CSS</h3> 78 <p>Starting from Vite 4.4, there is experimental support for <a href="https://lightningcss.dev/">Lightning CSS</a>. You can opt into it by adding <a href="https://main.vitejs.dev/config/shared-options.html#css-transformer"><code>css.transformer: 'lightningcss'</code></a> to your config file and install the optional <a href="https://www.npmjs.com/package/lightningcss"><code>lightningcss</code></a> dev dependency. If enabled, CSS files will be processed by Lightning CSS instead of PostCSS.</p> 79 <p>Lightning CSS can also be used as the CSS minifier with <a href="https://main.vitejs.dev/config/build-options.html#css-minify"><code>build.cssMinify: 'lightningcss'</code></a>.</p> 80 <p>See beta docs at the <a href="https://main.vitejs.dev/guide/features.html#lightning-css">Lighting CSS guide</a>.</p> 81 <!-- raw HTML omitted --> 82 </blockquote> 83 <p>... (truncated)</p> 84 </details> 85 <details> 86 <summary>Commits</summary> 87 <ul> 88 <li><a href="https://github.com/vitejs/vite/commit/3b47e34af89b8220c0aeb119f813e8315e98668e"><code>3b47e34</code></a> release: v4.4.0</li> 89 <li><a href="https://github.com/vitejs/vite/commit/9310b3a52fb2a7d299a9cc6f43d88492d67e743a"><code>9310b3a</code></a> fix(pluginContainer): drop previous sourcesContent (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13722">#13722</a>)</li> 90 <li><a href="https://github.com/vitejs/vite/commit/71516db3438c57643df80da687be57cf641b1762"><code>71516db</code></a> fix(define): stringify object parse error in build mode (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13600">#13600</a>)</li> 91 <li><a href="https://github.com/vitejs/vite/commit/be4b0c0bffb3c41d88fb2f2fdaeedd6f6fa70d23"><code>be4b0c0</code></a> fix: check document before detect script rel (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13559">#13559</a>)</li> 92 <li><a href="https://github.com/vitejs/vite/commit/02c6bc38645ce18f9e1c8a71421fb8aad7081688"><code>02c6bc3</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13701">#13701</a>)</li> 93 <li><a href="https://github.com/vitejs/vite/commit/7ef2472872a16f6476c8ca03678e626e7a54c212"><code>7ef2472</code></a> fix(esbuild): use <code>useDefineForClassFields: false</code> when no `compilerOptions.t...</li> 94 <li><a href="https://github.com/vitejs/vite/commit/2b1ffe86328f9d06ef9528ee117b61889893ddcc"><code>2b1ffe8</code></a> release: v4.4.0-beta.4</li> 95 <li><a href="https://github.com/vitejs/vite/commit/f6362b6455baaed0ce7eeeed0ae656259037f886"><code>f6362b6</code></a> fix(sourcemap): preserve original sourcesContent (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13662">#13662</a>)</li> 96 <li><a href="https://github.com/vitejs/vite/commit/6f1c55e7d694dd26f9eca30239faeb5a59c41486"><code>6f1c55e</code></a> fix: shortcut open browser when set host (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13677">#13677</a>)</li> 97 <li><a href="https://github.com/vitejs/vite/commit/8517645b57cd19ec0845abd9e89d97fc0b2325af"><code>8517645</code></a> fix: lightningCSS should load external URL in CSS file (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13692">#13692</a>)</li> 98 <li>Additional commits viewable in <a href="https://github.com/vitejs/vite/commits/v4.4.0/packages/vite">compare view</a></li> 99 </ul> 100 </details> 101 <br /> 102 103 104 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 105 106 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`. 107 108 [//]: # (dependabot-automerge-start) 109 [//]: # (dependabot-automerge-end) 110 111 --- 112 113 <details> 114 <summary>Dependabot commands and options</summary> 115 <br /> 116 117 You can trigger Dependabot actions by commenting on this PR: 118 - `@dependabot rebase` will rebase this PR 119 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 120 - `@dependabot merge` will merge this PR after your CI passes on it 121 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 122 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 123 - `@dependabot reopen` will reopen this PR if it is closed 124 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 125 - `@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) 126 - `@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) 127 - `@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) 128 129 130 </details> 131 132 133 ## Comments 134 135 ### @dependabot[bot] — 2023-07-07T08:44:02Z 136 137 Superseded by #515. 138