356.md (14737B)
1 # PR #356 Bump vite from 4.0.4 to 4.1.4 2 3 - **Status:** closed 4 - **Author:** @dependabot[bot] 5 - **Created:** 2023-02-24T09:09:38Z 6 - **Branch:** dependabot/npm_and_yarn/vite-4.1.4 → main 7 - **Closed:** 2023-03-17T09:10:06Z 8 - **Labels:** dependencies, javascript 9 - **Assignees:** @MTRNord 10 - **Reviewers:** @MTRNord 11 - **Diff:** [356.diff](./356.diff) 12 13 --- 14 15 Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.0.4 to 4.1.4. 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.1.0</h2> 21 <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> 22 <h2>create-vite@4.1.0-beta.0</h2> 23 <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> 24 </blockquote> 25 </details> 26 <details> 27 <summary>Changelog</summary> 28 <p><em>Sourced from <a href="https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md">vite's changelog</a>.</em></p> 29 <blockquote> 30 <h2><!-- raw HTML omitted -->4.1.4 (2023-02-21)<!-- raw HTML omitted --></h2> 31 <ul> 32 <li>fix(define): should not stringify vite internal env (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12120">#12120</a>) (<a href="https://github.com/vitejs/vite/commit/73c3999">73c3999</a>), closes <a href="https://github-redirect.dependabot.com/vitejs/vite/issues/12120">#12120</a></li> 33 <li>docs: update rollup docs links (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12130">#12130</a>) (<a href="https://github.com/vitejs/vite/commit/439a73f">439a73f</a>), closes <a href="https://github-redirect.dependabot.com/vitejs/vite/issues/12130">#12130</a></li> 34 </ul> 35 <h2><!-- raw HTML omitted -->4.1.3 (2023-02-20)<!-- raw HTML omitted --></h2> 36 <ul> 37 <li>fix: catch and handle websocket error (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/11991">#11991</a>) (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12007">#12007</a>) (<a href="https://github.com/vitejs/vite/commit/4b5cc9f">4b5cc9f</a>), closes <a href="https://github-redirect.dependabot.com/vitejs/vite/issues/11991">#11991</a> <a href="https://github-redirect.dependabot.com/vitejs/vite/issues/12007">#12007</a></li> 38 <li>fix: do not append version query param when scanning for dependencies (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/11961">#11961</a>) (<a href="https://github.com/vitejs/vite/commit/575bcf6">575bcf6</a>), closes <a href="https://github-redirect.dependabot.com/vitejs/vite/issues/11961">#11961</a></li> 39 <li>fix(css): handle pure css chunk heuristic with special queries (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12091">#12091</a>) (<a href="https://github.com/vitejs/vite/commit/a873af5">a873af5</a>), closes <a href="https://github-redirect.dependabot.com/vitejs/vite/issues/12091">#12091</a></li> 40 <li>fix(esbuild): umd helper insert into wrong position in lib mode (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/11988">#11988</a>) (<a href="https://github.com/vitejs/vite/commit/86bc243">86bc243</a>), closes <a href="https://github-redirect.dependabot.com/vitejs/vite/issues/11988">#11988</a></li> 41 <li>fix(html): respect disable modulepreload (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12111">#12111</a>) (<a href="https://github.com/vitejs/vite/commit/6c50119">6c50119</a>), closes <a href="https://github-redirect.dependabot.com/vitejs/vite/issues/12111">#12111</a></li> 42 <li>fix(html): rewrite assets url in <code><noscript></code> (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/11764">#11764</a>) (<a href="https://github.com/vitejs/vite/commit/1dba285">1dba285</a>), closes <a href="https://github-redirect.dependabot.com/vitejs/vite/issues/11764">#11764</a></li> 43 <li>feat(preview): improve error when build output missing (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12096">#12096</a>) (<a href="https://github.com/vitejs/vite/commit/a0702a1">a0702a1</a>), closes <a href="https://github-redirect.dependabot.com/vitejs/vite/issues/12096">#12096</a></li> 44 <li>feat(ssr): add importer path to error msg when invalid url import occur (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/11606">#11606</a>) (<a href="https://github.com/vitejs/vite/commit/70729c0">70729c0</a>), closes <a href="https://github-redirect.dependabot.com/vitejs/vite/issues/11606">#11606</a></li> 45 </ul> 46 <h2><!-- raw HTML omitted -->4.1.2 (2023-02-17)<!-- raw HTML omitted --></h2> 47 <ul> 48 <li>fix: correct access to <code>crossOrigin</code> attribute (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12023">#12023</a>) (<a href="https://github.com/vitejs/vite/commit/6a0d356">6a0d356</a>), closes <a href="https://github-redirect.dependabot.com/vitejs/vite/issues/12023">#12023</a></li> 49 <li>fix: narrow defineConfig return type (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12021">#12021</a>) (<a href="https://github.com/vitejs/vite/commit/18fa8f0">18fa8f0</a>), closes <a href="https://github-redirect.dependabot.com/vitejs/vite/issues/12021">#12021</a></li> 50 <li>fix(define): inconsistent env values in build mode (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12058">#12058</a>) (<a href="https://github.com/vitejs/vite/commit/0a50c59">0a50c59</a>), closes <a href="https://github-redirect.dependabot.com/vitejs/vite/issues/12058">#12058</a></li> 51 <li>fix(env): compatible with env variables ended with unescaped $ (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12031">#12031</a>) (<a href="https://github.com/vitejs/vite/commit/05b3df0">05b3df0</a>), closes <a href="https://github-redirect.dependabot.com/vitejs/vite/issues/12031">#12031</a></li> 52 <li>fix(ssr): print file url in <code>ssrTransform</code> parse error (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12060">#12060</a>) (<a href="https://github.com/vitejs/vite/commit/19f39f7">19f39f7</a>), closes <a href="https://github-redirect.dependabot.com/vitejs/vite/issues/12060">#12060</a></li> 53 <li>revert: narrow defineConfig return type (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12077">#12077</a>) (<a href="https://github.com/vitejs/vite/commit/54d511e">54d511e</a>), closes <a href="https://github-redirect.dependabot.com/vitejs/vite/issues/12077">#12077</a></li> 54 <li>feat: support <code>import.meta.hot?.accept</code> (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12053">#12053</a>) (<a href="https://github.com/vitejs/vite/commit/081c27f">081c27f</a>), closes <a href="https://github-redirect.dependabot.com/vitejs/vite/issues/12053">#12053</a></li> 55 <li>chore: add jsdoc default value (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/11746">#11746</a>) (<a href="https://github.com/vitejs/vite/commit/8c87af7">8c87af7</a>), closes <a href="https://github-redirect.dependabot.com/vitejs/vite/issues/11746">#11746</a></li> 56 <li>chore: fix typos (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12032">#12032</a>) (<a href="https://github.com/vitejs/vite/commit/ee1a686">ee1a686</a>), closes <a href="https://github-redirect.dependabot.com/vitejs/vite/issues/12032">#12032</a></li> 57 <li>chore(deps): update dependency strip-literal to v1 (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12044">#12044</a>) (<a href="https://github.com/vitejs/vite/commit/5bd6c0a">5bd6c0a</a>), closes <a href="https://github-redirect.dependabot.com/vitejs/vite/issues/12044">#12044</a></li> 58 <li>chore(pluginContainer): simplify error position judge condition (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12003">#12003</a>) (<a href="https://github.com/vitejs/vite/commit/e3ef9f4">e3ef9f4</a>), closes <a href="https://github-redirect.dependabot.com/vitejs/vite/issues/12003">#12003</a></li> 59 </ul> 60 <h2><!-- raw HTML omitted -->4.1.1 (2023-02-02)<!-- raw HTML omitted --></h2> 61 <ul> 62 <li>chore: 4.1.0 changelog cleanup (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/11900">#11900</a>) (<a href="https://github.com/vitejs/vite/commit/7747d32">7747d32</a>), closes <a href="https://github-redirect.dependabot.com/vitejs/vite/issues/11900">#11900</a></li> 63 <li>fix: catch statSync error (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/11907">#11907</a>) (<a href="https://github.com/vitejs/vite/commit/f80b9a2">f80b9a2</a>), closes <a href="https://github-redirect.dependabot.com/vitejs/vite/issues/11907">#11907</a></li> 64 </ul> 65 <h2>4.1.0 (2023-02-02)</h2> 66 <p>Vite 4.1 updates to the latest versions of Rollup and esbuild. Check out the new <a href="https://rollupjs.org/">Rollup docs</a>, that are now powered by VitePress making the navigation between Vite and Rollup docs easier for users.</p> 67 <p><a href="https://vitejs.dev">Vite docs</a> got a theme update migrating to the latest version of VitePress.</p> 68 <p>As part of <a href="https://vitejs.dev/blog/announcing-vite4.html">Vite 4</a>, the Vue and React plugins have been extracted out of the monorepo. Although their release cycle will no longer follow Vite releases moving forward, Vite 4.1 is released in parallel with new versions of <a href="https://github.com/vitejs/vite-plugin-react/releases/tag/plugin-react%403.1.0"><code>@vitejs/plugin-react</code></a> and <a href="https://github.com/vitejs/vite-plugin-react-swc/releases/tag/v3.1.0"><code>@vitejs/plugin-react-swc</code></a>. <code>@vitejs/plugin-react</code> 3.1.0 reworks the way HMR is handled fixing many edge cases and <code>@vitejs/plugin-react-swc</code> 3.1.0 adds support for SWC plugins.</p> 69 <!-- raw HTML omitted --> 70 </blockquote> 71 <p>... (truncated)</p> 72 </details> 73 <details> 74 <summary>Commits</summary> 75 <ul> 76 <li><a href="https://github.com/vitejs/vite/commit/b5a24851fb2ea779464bf850bb4e5ff6f45edd78"><code>b5a2485</code></a> release: v4.1.4</li> 77 <li><a href="https://github.com/vitejs/vite/commit/73c39995af755f4660c0a50f8153aa57a6c1b37d"><code>73c3999</code></a> fix(define): should not stringify vite internal env (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12120">#12120</a>)</li> 78 <li><a href="https://github.com/vitejs/vite/commit/439a73f3222987896f556b64628bdbcb5d9454c3"><code>439a73f</code></a> docs: update rollup docs links (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12130">#12130</a>)</li> 79 <li><a href="https://github.com/vitejs/vite/commit/04e4df3bfc34fd333eb5694f7a3ac136a896b02e"><code>04e4df3</code></a> release: v4.1.3</li> 80 <li><a href="https://github.com/vitejs/vite/commit/6c5011947e34c44586b70f6fdc1703abe2989b93"><code>6c50119</code></a> fix(html): respect disable modulepreload (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12111">#12111</a>)</li> 81 <li><a href="https://github.com/vitejs/vite/commit/575bcf61c58f2be8f68b88b60fb90475dce5bc4d"><code>575bcf6</code></a> fix: do not append version query param when scanning for dependencies (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/11961">#11961</a>)</li> 82 <li><a href="https://github.com/vitejs/vite/commit/a873af5d3d0b59ee8c1f982ad6ff821b7119c8fb"><code>a873af5</code></a> fix(css): handle pure css chunk heuristic with special queries (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12091">#12091</a>)</li> 83 <li><a href="https://github.com/vitejs/vite/commit/4b5cc9f0b6d497ec9c7850afddb8000af27ad965"><code>4b5cc9f</code></a> fix: catch and handle websocket error (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/11991">#11991</a>) (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12007">#12007</a>)</li> 84 <li><a href="https://github.com/vitejs/vite/commit/a0702a1e5e923112abda431770aea41146bdc451"><code>a0702a1</code></a> feat(preview): improve error when build output missing (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12096">#12096</a>)</li> 85 <li><a href="https://github.com/vitejs/vite/commit/1dba2855981418f0797d57e15f40a4b659de5d20"><code>1dba285</code></a> fix(html): rewrite assets url in <code>\<noscript></code> (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/11764">#11764</a>)</li> 86 <li>Additional commits viewable in <a href="https://github.com/vitejs/vite/commits/v4.1.4/packages/vite">compare view</a></li> 87 </ul> 88 </details> 89 <br /> 90 91 92 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 93 94 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`. 95 96 [//]: # (dependabot-automerge-start) 97 [//]: # (dependabot-automerge-end) 98 99 --- 100 101 <details> 102 <summary>Dependabot commands and options</summary> 103 <br /> 104 105 You can trigger Dependabot actions by commenting on this PR: 106 - `@dependabot rebase` will rebase this PR 107 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 108 - `@dependabot merge` will merge this PR after your CI passes on it 109 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 110 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 111 - `@dependabot reopen` will reopen this PR if it is closed 112 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 113 - `@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) 114 - `@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) 115 - `@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) 116 117 118 </details> 119 120 <!-- Replace --> 121 ---- 122 ⌛ Deploy Preview - Build in Progress 123 <!-- Replace --> 124 125 126 127 ## Comments 128 129 ### @dependabot[bot] — 2023-03-17T09:10:04Z 130 131 Superseded by #385. 132