matrix-art.meta

Issues/PRs archive for MTRNord/matrix-art
git clone git://archive.git.mtrnord.blog/MTRNord/matrix-art.meta.git
Log | Files | Refs

438.md (10653B)


      1 # PR #438 Bump vite from 4.0.4 to 4.2.2
      2 
      3 - **Status:** closed
      4 - **Author:** @dependabot[bot]
      5 - **Created:** 2023-04-19T09:05:19Z
      6 - **Branch:** dependabot/npm_and_yarn/vite-4.2.2 → main
      7 - **Closed:** 2023-04-20T09:06:00Z
      8 - **Labels:** dependencies, javascript
      9 - **Assignees:** @MTRNord
     10 - **Reviewers:** @MTRNord
     11 - **Diff:** [438.diff](./438.diff)
     12 
     13 ---
     14 
     15 Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.0.4 to 4.2.2.
     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.2.0</h2>
     21 <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>
     22 <h2>create-vite@4.2.0-beta.1</h2>
     23 <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>
     24 <h2>create-vite@4.2.0-beta.0</h2>
     25 <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>
     26 <h2>create-vite@4.1.0</h2>
     27 <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>
     28 <h2>create-vite@4.1.0-beta.0</h2>
     29 <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>
     30 </blockquote>
     31 </details>
     32 <details>
     33 <summary>Changelog</summary>
     34 <p><em>Sourced from <a href="https://github.com/vitejs/vite/blob/v4.2.2/packages/vite/CHANGELOG.md">vite's changelog</a>.</em></p>
     35 <blockquote>
     36 <h2><!-- raw HTML omitted -->4.2.2 (2023-04-18)<!-- raw HTML omitted --></h2>
     37 <ul>
     38 <li>fix: escape msg in render restricted error html, backport <a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12889">#12889</a> (<a href="https://github.com/vitejs/vite/commit/8758c5c">8758c5c</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/12889">#12889</a></li>
     39 </ul>
     40 <h2><!-- raw HTML omitted -->4.2.1 (2023-03-20)<!-- raw HTML omitted --></h2>
     41 <ul>
     42 <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>
     43 <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>
     44 <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>
     45 <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>
     46 </ul>
     47 <h2>4.2.0 (2023-03-16)</h2>
     48 <p>Vite 4.2 is out!</p>
     49 <h3>Support env variables replacement in HTML files</h3>
     50 <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>
     51 <pre lang="html"><code>&lt;h1&gt;Vite is running in %MODE%&lt;/h1&gt;
     52 &lt;p&gt;Using data from %VITE_API_URL%&lt;/p&gt;
     53 </code></pre>
     54 <h3>Sourcemaps improvements</h3>
     55 <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>
     56 <h3>ESM subpath imports</h3>
     57 <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>@​lukeed05</code></a>'s <a href="https://github.com/lukeed/resolve.exports">resolve.exports</a> library.</p>
     58 <h3>TypeScript 5 support</h3>
     59 <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>
     60 <h3>esbuild 0.17</h3>
     61 <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>
     62 <h3>Use Rollup types from the vite package</h3>
     63 <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>
     64 <!-- raw HTML omitted -->
     65 </blockquote>
     66 <p>... (truncated)</p>
     67 </details>
     68 <details>
     69 <summary>Commits</summary>
     70 <ul>
     71 <li><a href="https://github.com/vitejs/vite/commit/940ccea972e2d73684c00d7cdc83cd6753a84cd7"><code>940ccea</code></a> release: v4.2.2</li>
     72 <li><a href="https://github.com/vitejs/vite/commit/8758c5c4263e0a728618874a6efa71b037e350cf"><code>8758c5c</code></a> fix: escape msg in render restricted error html, backport <a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12889">#12889</a></li>
     73 <li><a href="https://github.com/vitejs/vite/commit/a53feb5299582e0c178b7f6b1023bdc3f0925f4e"><code>a53feb5</code></a> release: v4.2.1</li>
     74 <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>
     75 <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>
     76 <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>
     77 <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>
     78 <li><a href="https://github.com/vitejs/vite/commit/9dbb7f7765fd7d255daf82ad44fe867d49f0befd"><code>9dbb7f7</code></a> release: v4.2.0</li>
     79 <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>
     80 <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>
     81 <li>Additional commits viewable in <a href="https://github.com/vitejs/vite/commits/v4.2.2/packages/vite">compare view</a></li>
     82 </ul>
     83 </details>
     84 <br />
     85 
     86 
     87 [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vite&package-manager=npm_and_yarn&previous-version=4.0.4&new-version=4.2.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
     88 
     89 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`.
     90 
     91 [//]: # (dependabot-automerge-start)
     92 [//]: # (dependabot-automerge-end)
     93 
     94 ---
     95 
     96 <details>
     97 <summary>Dependabot commands and options</summary>
     98 <br />
     99 
    100 You can trigger Dependabot actions by commenting on this PR:
    101 - `@dependabot rebase` will rebase this PR
    102 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
    103 - `@dependabot merge` will merge this PR after your CI passes on it
    104 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
    105 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
    106 - `@dependabot reopen` will reopen this PR if it is closed
    107 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    108 - `@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)
    109 - `@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)
    110 - `@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)
    111 
    112 
    113 </details>
    114 
    115 <!-- Replace -->
    116 ----
    117 ⌛ Deploy Preview - Build in Progress
    118 <!-- Replace -->
    119 
    120 
    121 
    122 ## Comments
    123 
    124 ### @dependabot[bot] — 2023-04-20T09:05:59Z
    125 
    126 Superseded by #441.
    127