395.json (10850B)
1 { 2 "number": 395, 3 "title": "Bump vite from 4.0.4 to 4.2.1", 4 "state": "closed", 5 "diff_file": "395.diff", 6 "author": "dependabot[bot]", 7 "created_at": "2023-03-21T09:12:51Z", 8 "closed_at": "2023-04-19T09:05:25Z", 9 "merged_at": null, 10 "base_ref": "main", 11 "head_ref": "dependabot/npm_and_yarn/vite-4.2.1", 12 "labels": [ 13 "dependencies", 14 "javascript" 15 ], 16 "assignees": [ 17 "MTRNord" 18 ], 19 "requested_reviewers": [ 20 "MTRNord" 21 ], 22 "body": "Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.0.4 to 4.2.1.\n<details>\n<summary>Release notes</summary>\n<p><em>Sourced from <a href=\"https://github.com/vitejs/vite/releases\">vite's releases</a>.</em></p>\n<blockquote>\n<h2>create-vite@4.2.0</h2>\n<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>\n<h2>create-vite@4.2.0-beta.1</h2>\n<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>\n<h2>create-vite@4.2.0-beta.0</h2>\n<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>\n<h2>create-vite@4.1.0</h2>\n<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>\n<h2>create-vite@4.1.0-beta.0</h2>\n<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>\n</blockquote>\n</details>\n<details>\n<summary>Changelog</summary>\n<p><em>Sourced from <a href=\"https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md\">vite's changelog</a>.</em></p>\n<blockquote>\n<h2><!-- raw HTML omitted -->4.2.1 (2023-03-20)<!-- raw HTML omitted --></h2>\n<ul>\n<li>fix: add <code>virtual:</code> to virtual module source map ignore (<a href=\"https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12444\">#12444</a>) (<a href=\"https://github.com/vitejs/vite/commit/c4aa28f\">c4aa28f</a>), closes <a href=\"https://redirect.github.com/vitejs/vite/issues/12444\">#12444</a></li>\n<li>fix(css): inject source content conditionally (<a href=\"https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12449\">#12449</a>) (<a href=\"https://github.com/vitejs/vite/commit/3e665f6\">3e665f6</a>), closes <a href=\"https://redirect.github.com/vitejs/vite/issues/12449\">#12449</a></li>\n<li>fix(worker): using data URLs for inline shared worker (<a href=\"https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12014\">#12014</a>) (<a href=\"https://github.com/vitejs/vite/commit/79a5007\">79a5007</a>), closes <a href=\"https://redirect.github.com/vitejs/vite/issues/12014\">#12014</a></li>\n<li>chore: changelog edits for 4.2 (<a href=\"https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12438\">#12438</a>) (<a href=\"https://github.com/vitejs/vite/commit/ce047e3\">ce047e3</a>), closes <a href=\"https://redirect.github.com/vitejs/vite/issues/12438\">#12438</a></li>\n</ul>\n<h2>4.2.0 (2023-03-16)</h2>\n<p>Vite 4.2 is out!</p>\n<h3>Support env variables replacement in HTML files</h3>\n<p>Vite now supports <a href=\"https://vitejs.dev/guide/env-and-mode.html#html-env-replacement\">replacing env variables in HTML files</a>. Any properties in <code>import.meta.env</code> can be used in HTML files with a special <code>%ENV_NAME%</code> syntax:</p>\n<pre lang=\"html\"><code><h1>Vite is running in %MODE%</h1>\n<p>Using data from %VITE_API_URL%</p>\n</code></pre>\n<h3>Sourcemaps improvements</h3>\n<p>The Chrome Dev Tools team has been working to improve the DX of Vite and Vite-powered frameworks in the dev tools. Vite 4.2 brings an <a href=\"https://twitter.com/bmeurer/status/1631286267823439881\">improved experience</a> and tools for framework authors to <a href=\"https://twitter.com/bmeurer/status/1631531492462526467\">hide 3rd party code and build artifacts from the user</a> from console log traces using <a href=\"https://vitejs.dev/config/server-options.html#server-sourcemapignorelist\"><code>server.sourcemapIgnoreList</code></a> and <a href=\"https://rollupjs.org/configuration-options/#output-sourcemapignorelist\"><code>build.rollupOptions.output.sourcemapIgnoreList</code></a>.</p>\n<h3>ESM subpath imports</h3>\n<p>Vite 4.2 now supports <a href=\"https://nodejs.org/api/packages.html#subpath-imports\">subpath imports</a>, thanks to <a href=\"https://twitter.com/lukeed05\"><code>@\u200blukeed05</code></a>'s <a href=\"https://github.com/lukeed/resolve.exports\">resolve.exports</a> library.</p>\n<h3>TypeScript 5 support</h3>\n<p>Vite 4.2 also supports TypeScript 5's <code>tsconfig</code> <code>extends</code> <a href=\"https://devblogs.microsoft.com/typescript/announcing-typescript-5-0-beta/#supporting-multiple-configuration-files-in-extends\">array format</a>, thanks to <a href=\"https://github.com/dominikg/tsconfck\">tsconfck</a>.</p>\n<h3>esbuild 0.17</h3>\n<p>esbuild <a href=\"https://github.com/evanw/esbuild/releases/tag/v0.17.0\">v0.17.0</a> improved the design of its incremental, watch, and serve APIs. Check out <a href=\"https://redirect.github.com/vitejs/vite/pull/11908\">#11908</a> for the rationale of why we didn't consider the backward-incompatible changes breaking for our use cases. The updated esbuild design now allows Vite to properly cancel in-fly builds and improve server restarts.</p>\n<h3>Use Rollup types from the vite package</h3>\n<p>Expose Rollup types as a namespace. This is helpful to avoid type conflicts because of different versions of Rollup types in environments like <a href=\"https://github.com/vitejs/vite-ecosystem-ci\">vite-ecosystem-ci</a> (<a href=\"https://redirect.github.com/vitejs/vite/issues/12316\">#12316</a>).</p>\n<pre lang=\"ts\"><code>import type { Rollup } from 'vite'\n</code></pre>\n<h3>Portugu\u00eas Docs Translation</h3>\n<!-- raw HTML omitted -->\n</blockquote>\n<p>... (truncated)</p>\n</details>\n<details>\n<summary>Commits</summary>\n<ul>\n<li><a href=\"https://github.com/vitejs/vite/commit/a53feb5299582e0c178b7f6b1023bdc3f0925f4e\"><code>a53feb5</code></a> release: v4.2.1</li>\n<li><a href=\"https://github.com/vitejs/vite/commit/79a500726f61b305fcc4b6a436f37c6dc803580c\"><code>79a5007</code></a> fix(worker): using data URLs for inline shared worker (<a href=\"https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12014\">#12014</a>)</li>\n<li><a href=\"https://github.com/vitejs/vite/commit/3e665f6cba8473acc9e13ed6a91614bd92856275\"><code>3e665f6</code></a> fix(css): inject source content conditionally (<a href=\"https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12449\">#12449</a>)</li>\n<li><a href=\"https://github.com/vitejs/vite/commit/c4aa28fbcc479b2f18879a3f09a37a5d5f3a6c13\"><code>c4aa28f</code></a> fix: add <code>virtual:</code> to virtual module source map ignore (<a href=\"https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12444\">#12444</a>)</li>\n<li><a href=\"https://github.com/vitejs/vite/commit/ce047e3a009a631969d0d05da9d48596c29babcc\"><code>ce047e3</code></a> chore: changelog edits for 4.2 (<a href=\"https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12438\">#12438</a>)</li>\n<li><a href=\"https://github.com/vitejs/vite/commit/9dbb7f7765fd7d255daf82ad44fe867d49f0befd\"><code>9dbb7f7</code></a> release: v4.2.0</li>\n<li><a href=\"https://github.com/vitejs/vite/commit/5cdd3fa97849442a98aa7aef63a0064220e4aef2\"><code>5cdd3fa</code></a> feat: add status message for 504 caused by optimizer (<a href=\"https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12435\">#12435</a>)</li>\n<li><a href=\"https://github.com/vitejs/vite/commit/e23f690dbf863cb197a28f0aad35234ae6dc7f6b\"><code>e23f690</code></a> fix(optimizer): # symbol in deps id stripped by browser (<a href=\"https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12415\">#12415</a>)</li>\n<li><a href=\"https://github.com/vitejs/vite/commit/2b37cdee429c2c18afa40447d4bfa0efe835898e\"><code>2b37cde</code></a> docs: correct description for UserConfig.envDir when used with relative path ...</li>\n<li><a href=\"https://github.com/vitejs/vite/commit/d23605d01449706988be2eb77f2654238778fca8\"><code>d23605d</code></a> fix(server): should close server after create new server (<a href=\"https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12379\">#12379</a>)</li>\n<li>Additional commits viewable in <a href=\"https://github.com/vitejs/vite/commits/v4.2.1/packages/vite\">compare view</a></li>\n</ul>\n</details>\n<br />\n\n\n[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot 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`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n<details>\n<summary>Dependabot commands and options</summary>\n<br />\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@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)\n- `@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)\n- `@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)\n\n\n</details>\n\n<!-- Replace -->\n----\n\u231b Deploy Preview - Build in Progress\n<!-- Replace -->\n", 23 "comments": [ 24 { 25 "author": "dependabot[bot]", 26 "created_at": "2023-04-19T09:05:24Z", 27 "body": "Superseded by #438." 28 } 29 ], 30 "review_comments": [] 31 }