chore: [security] bump esbuild and vite #390

Closed
martinr92 wants to merge 1 commit from dependabot-npm_and_yarn-develop-multi-99764170ca into develop
martinr92 commented 2025-02-25 04:02:02 +00:00 (Migrated from gitlab.com)

Bumps esbuild to 0.25.0 and updates ancestor dependency vite. These dependencies need to be updated together.

Updates esbuild from 0.21.5 to 0.25.0 This update includes a security fix.

Vulnerabilities fixed

esbuild enables any website to send any requests to the development server and read the response

Summary

esbuild allows any websites to send any request to the development server and read the response due to default CORS settings.

Details

esbuild sets Access-Control-Allow-Origin: * header to all requests, including the SSE connection, which allows any websites to send any request to the development server and read the response.

https://github.com/evanw/esbuild/blob/df815ac27b84f8b34374c9182a93c94718f8a630/pkg/api/serve_other.go#L121
https://github.com/evanw/esbuild/blob/df815ac27b84f8b34374c9182a93c94718f8a630/pkg/api/serve_other.go#L363

Attack scenario:

  1. The attacker serves a malicious web page (http://malicious.example.com).
  2. The user accesses the malicious web page.
  3. The attacker sends a fetch('http://127.0.0.1:8000/main.js') request by JS in that malicious web page. This request is normally blocked by same-origin policy, but that's not the case for the reasons above.
  4. The attacker gets the content of http://127.0.0.1:8000/main.js.

In this scenario, I assumed that the attacker knows the URL of the bundle output file name. But the attacker can also get that information by

... (truncated)

Patched versions: 0.25.0
Affected versions: <= 0.24.2

Release notes

Sourced from esbuild's releases.

v0.25.0

This release deliberately contains backwards-incompatible changes. To avoid automatically picking up releases like this, you should either be pinning the exact version of esbuild in your package.json file (recommended) or be using a version range syntax that only accepts patch upgrades such as ^0.24.0 or ~0.24.0. See npm's documentation about semver for more information.

  • Restrict access to esbuild's development server (GHSA-67mh-4wv8-2f99)

    This change addresses esbuild's first security vulnerability report. Previously esbuild set the Access-Control-Allow-Origin header to * to allow esbuild's development server to be flexible in how it's used for development. However, this allows the websites you visit to make HTTP requests to esbuild's local development server, which gives read-only access to your source code if the website were to fetch your source code's specific URL. You can read more information in the report.

    Starting with this release, CORS will now be disabled, and requests will now be denied if the host does not match the one provided to --serve=. The default host is 0.0.0.0, which refers to all of the IP addresses that represent the local machine (e.g. both 127.0.0.1 and 192.168.0.1). If you want to customize anything about esbuild's development server, you can put a proxy in front of esbuild and modify the incoming and/or outgoing requests.

    In addition, the serve() API call has been changed to return an array of hosts instead of a single host string. This makes it possible to determine all of the hosts that esbuild's development server will accept.

    Thanks to @​sapphi-red for reporting this issue.

  • Delete output files when a build fails in watch mode (#3643)

    It has been requested for esbuild to delete files when a build fails in watch mode. Previously esbuild left the old files in place, which could cause people to not immediately realize that the most recent build failed. With this release, esbuild will now delete all output files if a rebuild fails. Fixing the build error and triggering another rebuild will restore all output files again.

  • Fix correctness issues with the CSS nesting transform (#3620, #3877, #3933, #3997, #4005, #4037, #4038)

    This release fixes the following problems:

    • Naive expansion of CSS nesting can result in an exponential blow-up of generated CSS if each nesting level has multiple selectors. Previously esbuild sometimes collapsed individual nesting levels using :is() to limit expansion. However, this collapsing wasn't correct in some cases, so it has been removed to fix correctness issues.

      /* Original code */
      .parent {
        > .a,
        > .b1 > .b2 {
          color: red;
        }
      }
      

      /* Old output (with --supported:nesting=false) */
      .parent > :is(.a, .b1 > .b2) {
      color: red;
      }

      /* New output (with --supported:nesting=false) */
      .parent > .a,
      .parent > .b1 > .b2 {
      color: red;
      }

      Thanks to @​tim-we for working on a fix.

    • The & CSS nesting selector can be repeated multiple times to increase CSS specificity. Previously esbuild ignored this possibility and incorrectly considered && to have the same specificity as &. With this release, this should now work correctly:

      /* Original code (color should be red) */
      

... (truncated)

Changelog

Sourced from esbuild's changelog.

Changelog: 2024

This changelog documents all esbuild versions published in the year 2024 (versions 0.19.12 through 0.24.2).

0.24.2

  • Fix regression with --define and import.meta (#4010, #4012, #4013)

    The previous change in version 0.24.1 to use a more expression-like parser for define values to allow quoted property names introduced a regression that removed the ability to use --define:import.meta=.... Even though import is normally a keyword that can't be used as an identifier, ES modules special-case the import.meta expression to behave like an identifier anyway. This change fixes the regression.

    This fix was contributed by @​sapphi-red.

0.24.1

  • Allow es2024 as a target in tsconfig.json (#4004)

    TypeScript recently added es2024 as a compilation target, so esbuild now supports this in the target field of tsconfig.json files, such as in the following configuration file:

    {
      "compilerOptions": {
        "target": "ES2024"
      }
    }
    

    As a reminder, the only thing that esbuild uses this field for is determining whether or not to use legacy TypeScript behavior for class fields. You can read more in the documentation.

    This fix was contributed by @​billyjanitsch.

  • Allow automatic semicolon insertion after get/set

    This change fixes a grammar bug in the parser that incorrectly treated the following code as a syntax error:

    class Foo {
      get
      *x() {}
      set
      *y() {}
    }
    

    The above code will be considered valid starting with this release. This change to esbuild follows a similar change to TypeScript which will allow this syntax starting with TypeScript 5.7.

  • Allow quoted property names in --define and --pure (#4008)

    The define and pure API options now accept identifier expressions containing quoted property names. Previously all identifiers in the identifier expression had to be bare identifiers. This change now makes --define and --pure consistent with --global-name, which already supported quoted property names. For example, the following is now possible:

... (truncated)

Commits
  • e9174d6 publish 0.25.0 to npm
  • c27dbeb fix hosts in plugin-tests.js
  • 6794f60 fix hosts in node-unref-tests.js
  • de85afd Merge commit from fork
  • da1de1b fix #4065: bitwise operators can return bigints
  • f4e9d19 switch case liveness: default is always last
  • 7aa47c3 fix #4028: minify live/dead switch cases better
  • 22ecd30 minify: more constant folding for strict equality
  • 4cdf03c fix #4053: reordering of .tsx in node_modules
  • dc71977 fix #3692: 0 now picks a random ephemeral port
  • Additional commits viewable in compare view

Updates vite from 5.4.12 to 6.2.0

Release notes

Sourced from vite's releases.

create-vite@6.2.0

Please refer to CHANGELOG.md for details.

create-vite@6.1.1

Please refer to CHANGELOG.md for details.

create-vite@6.1.0

Please refer to CHANGELOG.md for details.

create-vite@6.0.1

Please refer to CHANGELOG.md for details.

create-vite@6.0.0

Please refer to CHANGELOG.md for details.

create-vite@5.5.5

Please refer to CHANGELOG.md for details.

create-vite@5.5.4

Please refer to CHANGELOG.md for details.

create-vite@5.5.3

Please refer to CHANGELOG.md for details.

create-vite@5.5.2

Please refer to CHANGELOG.md for details.

create-vite@5.5.1

Please refer to CHANGELOG.md for details.

create-vite@5.5.0

Please refer to CHANGELOG.md for details.

Changelog

Sourced from vite's changelog.

6.2.0 (2025-02-25)

6.2.0-beta.1 (2025-02-21)

  • fix(css): temporary add ?. after this.getModuleInfo in vite:css-post (#19478) (12b0b8a), closes #19478

6.2.0-beta.0 (2025-02-21)

6.1.1 (2025-02-19)

6.1.0 (2025-02-05)

Features

... (truncated)

Commits

Bumps [esbuild](https://github.com/evanw/esbuild) to 0.25.0 and updates ancestor dependency [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite). These dependencies need to be updated together. Updates `esbuild` from 0.21.5 to 0.25.0 **This update includes a security fix.** <details> <summary>Vulnerabilities fixed</summary> <blockquote> <p><strong>esbuild enables any website to send any requests to the development server and read the response</strong></p> <h3>Summary</h3> <p>esbuild allows any websites to send any request to the development server and read the response due to default CORS settings.</p> <h3>Details</h3> <p>esbuild sets <code>Access-Control-Allow-Origin: *</code> header to all requests, including the SSE connection, which allows any websites to send any request to the development server and read the response.</p> <p><a href="https://github.com/evanw/esbuild/blob/df815ac27b84f8b34374c9182a93c94718f8a630/pkg/api/serve_other.go#L121">https://github.com/evanw/esbuild/blob/df815ac27b84f8b34374c9182a93c94718f8a630/pkg/api/serve_other.go#L121</a><br /> <a href="https://github.com/evanw/esbuild/blob/df815ac27b84f8b34374c9182a93c94718f8a630/pkg/api/serve_other.go#L363">https://github.com/evanw/esbuild/blob/df815ac27b84f8b34374c9182a93c94718f8a630/pkg/api/serve_other.go#L363</a></p> <p><strong>Attack scenario</strong>:</p> <ol> <li>The attacker serves a malicious web page (<code>http://malicious.example.com</code>).</li> <li>The user accesses the malicious web page.</li> <li>The attacker sends a <code>fetch('http://127.0.0.1:8000/main.js')</code> request by JS in that malicious web page. This request is normally blocked by same-origin policy, but that's not the case for the reasons above.</li> <li>The attacker gets the content of <code>http://127.0.0.1:8000/main.js</code>.</li> </ol> <p>In this scenario, I assumed that the attacker knows the URL of the bundle output file name. But the attacker can also get that information by</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> <blockquote> <p>Patched versions: 0.25.0<br /> Affected versions: &lt;= 0.24.2</p> </blockquote> </details> <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/evanw/esbuild/releases">esbuild's releases</a>.</em></p> <blockquote> <h2>v0.25.0</h2> <p><strong>This release deliberately contains backwards-incompatible changes.</strong> To avoid automatically picking up releases like this, you should either be pinning the exact version of <code>esbuild</code> in your <code>package.json</code> file (recommended) or be using a version range syntax that only accepts patch upgrades such as <code>^0.24.0</code> or <code>~0.24.0</code>. See npm's documentation about <a href="https://docs.npmjs.com/cli/v6/using-npm/semver/">semver</a> for more information.</p> <ul> <li> <p>Restrict access to esbuild's development server (<a href="https://github.com/evanw/esbuild/security/advisories/GHSA-67mh-4wv8-2f99">GHSA-67mh-4wv8-2f99</a>)</p> <p>This change addresses esbuild's first security vulnerability report. Previously esbuild set the <code>Access-Control-Allow-Origin</code> header to <code>*</code> to allow esbuild's development server to be flexible in how it's used for development. However, this allows the websites you visit to make HTTP requests to esbuild's local development server, which gives read-only access to your source code if the website were to fetch your source code's specific URL. You can read more information in <a href="https://github.com/evanw/esbuild/security/advisories/GHSA-67mh-4wv8-2f99">the report</a>.</p> <p>Starting with this release, <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">CORS</a> will now be disabled, and requests will now be denied if the host does not match the one provided to <code>--serve=</code>. The default host is <code>0.0.0.0</code>, which refers to all of the IP addresses that represent the local machine (e.g. both <code>127.0.0.1</code> and <code>192.168.0.1</code>). If you want to customize anything about esbuild's development server, you can <a href="https://esbuild.github.io/api/#serve-proxy">put a proxy in front of esbuild</a> and modify the incoming and/or outgoing requests.</p> <p>In addition, the <code>serve()</code> API call has been changed to return an array of <code>hosts</code> instead of a single <code>host</code> string. This makes it possible to determine all of the hosts that esbuild's development server will accept.</p> <p>Thanks to <a href="https://github.com/sapphi-red"><code>@​sapphi-red</code></a> for reporting this issue.</p> </li> <li> <p>Delete output files when a build fails in watch mode (<a href="https://github.com/evanw/esbuild/issues/3643">#3643</a>)</p> <p>It has been requested for esbuild to delete files when a build fails in watch mode. Previously esbuild left the old files in place, which could cause people to not immediately realize that the most recent build failed. With this release, esbuild will now delete all output files if a rebuild fails. Fixing the build error and triggering another rebuild will restore all output files again.</p> </li> <li> <p>Fix correctness issues with the CSS nesting transform (<a href="https://github.com/evanw/esbuild/issues/3620">#3620</a>, <a href="https://github.com/evanw/esbuild/issues/3877">#3877</a>, <a href="https://github.com/evanw/esbuild/issues/3933">#3933</a>, <a href="https://github.com/evanw/esbuild/issues/3997">#3997</a>, <a href="https://github.com/evanw/esbuild/issues/4005">#4005</a>, <a href="https://github.com/evanw/esbuild/pull/4037">#4037</a>, <a href="https://github.com/evanw/esbuild/pull/4038">#4038</a>)</p> <p>This release fixes the following problems:</p> <ul> <li> <p>Naive expansion of CSS nesting can result in an exponential blow-up of generated CSS if each nesting level has multiple selectors. Previously esbuild sometimes collapsed individual nesting levels using <code>:is()</code> to limit expansion. However, this collapsing wasn't correct in some cases, so it has been removed to fix correctness issues.</p> <pre lang="css"><code>/* Original code */ .parent { &gt; .a, &gt; .b1 &gt; .b2 { color: red; } } <p>/* Old output (with --supported:nesting=false) */<br /> .parent &gt; :is(.a, .b1 &gt; .b2) {<br /> color: red;<br /> }</p> <p>/* New output (with --supported:nesting=false) */<br /> .parent &gt; .a,<br /> .parent &gt; .b1 &gt; .b2 {<br /> color: red;<br /> }<br /> </code></pre></p> <p>Thanks to <a href="https://github.com/tim-we"><code>@​tim-we</code></a> for working on a fix.</p> </li> <li> <p>The <code>&amp;</code> CSS nesting selector can be repeated multiple times to increase CSS specificity. Previously esbuild ignored this possibility and incorrectly considered <code>&amp;&amp;</code> to have the same specificity as <code>&amp;</code>. With this release, this should now work correctly:</p> <pre lang="css"><code>/* Original code (color should be red) */ </code></pre> </li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md">esbuild's changelog</a>.</em></p> <blockquote> <h1>Changelog: 2024</h1> <p>This changelog documents all esbuild versions published in the year 2024 (versions 0.19.12 through 0.24.2).</p> <h2>0.24.2</h2> <ul> <li> <p>Fix regression with <code>--define</code> and <code>import.meta</code> (<a href="https://github.com/evanw/esbuild/issues/4010">#4010</a>, <a href="https://github.com/evanw/esbuild/issues/4012">#4012</a>, <a href="https://github.com/evanw/esbuild/pull/4013">#4013</a>)</p> <p>The previous change in version 0.24.1 to use a more expression-like parser for <code>define</code> values to allow quoted property names introduced a regression that removed the ability to use <code>--define:import.meta=...</code>. Even though <code>import</code> is normally a keyword that can't be used as an identifier, ES modules special-case the <code>import.meta</code> expression to behave like an identifier anyway. This change fixes the regression.</p> <p>This fix was contributed by <a href="https://github.com/sapphi-red"><code>@​sapphi-red</code></a>.</p> </li> </ul> <h2>0.24.1</h2> <ul> <li> <p>Allow <code>es2024</code> as a target in <code>tsconfig.json</code> (<a href="https://github.com/evanw/esbuild/issues/4004">#4004</a>)</p> <p>TypeScript recently <a href="https://devblogs.microsoft.com/typescript/announcing-typescript-5-7/#support-for---target-es2024-and---lib-es2024">added <code>es2024</code></a> as a compilation target, so esbuild now supports this in the <code>target</code> field of <code>tsconfig.json</code> files, such as in the following configuration file:</p> <pre lang="json"><code>{ &quot;compilerOptions&quot;: { &quot;target&quot;: &quot;ES2024&quot; } } </code></pre> <p>As a reminder, the only thing that esbuild uses this field for is determining whether or not to use legacy TypeScript behavior for class fields. You can read more in <a href="https://esbuild.github.io/content-types/#tsconfig-json">the documentation</a>.</p> <p>This fix was contributed by <a href="https://github.com/billyjanitsch"><code>@​billyjanitsch</code></a>.</p> </li> <li> <p>Allow automatic semicolon insertion after <code>get</code>/<code>set</code></p> <p>This change fixes a grammar bug in the parser that incorrectly treated the following code as a syntax error:</p> <pre lang="ts"><code>class Foo { get *x() {} set *y() {} } </code></pre> <p>The above code will be considered valid starting with this release. This change to esbuild follows a <a href="https://github.com/microsoft/TypeScript/pull/60225">similar change to TypeScript</a> which will allow this syntax starting with TypeScript 5.7.</p> </li> <li> <p>Allow quoted property names in <code>--define</code> and <code>--pure</code> (<a href="https://github.com/evanw/esbuild/issues/4008">#4008</a>)</p> <p>The <code>define</code> and <code>pure</code> API options now accept identifier expressions containing quoted property names. Previously all identifiers in the identifier expression had to be bare identifiers. This change now makes <code>--define</code> and <code>--pure</code> consistent with <code>--global-name</code>, which already supported quoted property names. For example, the following is now possible:</p> <pre lang="js"><code></code></pre> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/evanw/esbuild/commit/e9174d671b1882758cd32ac5e146200f5bee3e45"><code>e9174d6</code></a> publish 0.25.0 to npm</li> <li><a href="https://github.com/evanw/esbuild/commit/c27dbebb9e7a55dd9a084dd151dddd840787490e"><code>c27dbeb</code></a> fix <code>hosts</code> in <code>plugin-tests.js</code></li> <li><a href="https://github.com/evanw/esbuild/commit/6794f602a453cf0255bcae245871de120a89a559"><code>6794f60</code></a> fix <code>hosts</code> in <code>node-unref-tests.js</code></li> <li><a href="https://github.com/evanw/esbuild/commit/de85afd65edec9ebc44a11e245fd9e9a2e99760d"><code>de85afd</code></a> Merge commit from fork</li> <li><a href="https://github.com/evanw/esbuild/commit/da1de1bf77a65f06654b49878d9ec4747ddaa21f"><code>da1de1b</code></a> fix <a href="https://github.com/evanw/esbuild/issues/4065">#4065</a>: bitwise operators can return bigints</li> <li><a href="https://github.com/evanw/esbuild/commit/f4e9d19fb20095a98bf40634f0380f6a16be91e7"><code>f4e9d19</code></a> switch case liveness: <code>default</code> is always last</li> <li><a href="https://github.com/evanw/esbuild/commit/7aa47c3e778ea04849f97f18dd9959df88fa0886"><code>7aa47c3</code></a> fix <a href="https://github.com/evanw/esbuild/issues/4028">#4028</a>: minify live/dead <code>switch</code> cases better</li> <li><a href="https://github.com/evanw/esbuild/commit/22ecd306190b8971ec4474b5485266c20350e266"><code>22ecd30</code></a> minify: more constant folding for strict equality</li> <li><a href="https://github.com/evanw/esbuild/commit/4cdf03c03697128044fa8fb76e5c478e9765b353"><code>4cdf03c</code></a> fix <a href="https://github.com/evanw/esbuild/issues/4053">#4053</a>: reordering of <code>.tsx</code> in <code>node_modules</code></li> <li><a href="https://github.com/evanw/esbuild/commit/dc719775b7140120916bd9e6777ca1cb8a1cdc0e"><code>dc71977</code></a> fix <a href="https://github.com/evanw/esbuild/issues/3692">#3692</a>: <code>0</code> now picks a random ephemeral port</li> <li>Additional commits viewable in <a href="https://github.com/evanw/esbuild/compare/v0.21.5...v0.25.0">compare view</a></li> </ul> </details> <br /> Updates `vite` from 5.4.12 to 6.2.0 <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@6.2.0</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@6.2.0/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> <h2>create-vite@6.1.1</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@6.1.1/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> <h2>create-vite@6.1.0</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@6.1.0/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> <h2>create-vite@6.0.1</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@6.0.1/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> <h2>create-vite@6.0.0</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@6.0.0/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> <h2>create-vite@5.5.5</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@5.5.5/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> <h2>create-vite@5.5.4</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@5.5.4/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> <h2>create-vite@5.5.3</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@5.5.3/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> <h2>create-vite@5.5.2</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@5.5.2/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> <h2>create-vite@5.5.1</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@5.5.1/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> <h2>create-vite@5.5.0</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@5.5.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>6.2.0 (2025-02-25)</h2> <ul> <li>fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19501">#19501</a>) (<a href="https://github.com/vitejs/vite/commit/c94c9e052127cf4796374de1d698ec60b2973dfa">c94c9e0</a>), closes <a href="https://github.com/vitejs/vite/issues/19501">#19501</a></li> <li>fix(worker): string interpolation in dynamic worker options (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19476">#19476</a>) (<a href="https://github.com/vitejs/vite/commit/07091a1e804e5934208ef0b6324a04317dd0d815">07091a1</a>), closes <a href="https://github.com/vitejs/vite/issues/19476">#19476</a></li> <li>chore: use unicode cross icon instead of x (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19497">#19497</a>) (<a href="https://github.com/vitejs/vite/commit/5c70296ffb22fe5a0f4039835aa14feb096b4a97">5c70296</a>), closes <a href="https://github.com/vitejs/vite/issues/19497">#19497</a></li> </ul> <h2>6.2.0-beta.1 (2025-02-21)</h2> <ul> <li>fix(css): temporary add <code>?.</code> after <code>this.getModuleInfo</code> in <code>vite:css-post</code> (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19478">#19478</a>) (<a href="https://github.com/vitejs/vite/commit/12b0b8a953ad7d08ba0540cb4f5cb26a7fa69da2">12b0b8a</a>), closes <a href="https://github.com/vitejs/vite/issues/19478">#19478</a></li> </ul> <h2>6.2.0-beta.0 (2025-02-21)</h2> <ul> <li>feat: show <code>mode</code> on server start and add env debugger (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18808">#18808</a>) (<a href="https://github.com/vitejs/vite/commit/c575b825596ccaedfac1cfecbb9a464e5e584a60">c575b82</a>), closes <a href="https://github.com/vitejs/vite/issues/18808">#18808</a></li> <li>feat: use host url to open browser (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19414">#19414</a>) (<a href="https://github.com/vitejs/vite/commit/f6926caa1f2c9433ca544172378412795722d8e1">f6926ca</a>), closes <a href="https://github.com/vitejs/vite/issues/19414">#19414</a></li> <li>feat(css): allow scoping css to importers exports (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19418">#19418</a>) (<a href="https://github.com/vitejs/vite/commit/3ebd83833f723dde64098bc617c61b37adb3ad01">3ebd838</a>), closes <a href="https://github.com/vitejs/vite/issues/19418">#19418</a></li> <li>chore: bump esbuild to 0.25.0 (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19389">#19389</a>) (<a href="https://github.com/vitejs/vite/commit/73987f22ec3f2df0d36154f1766ca7a7dc4c2460">73987f2</a>), closes <a href="https://github.com/vitejs/vite/issues/19389">#19389</a></li> </ul> <h2><!-- raw HTML omitted -->6.1.1 (2025-02-19)<!-- raw HTML omitted --></h2> <ul> <li>fix: ensure <code>.[cm]?[tj]sx?</code> static assets are JS mime (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19453">#19453</a>) (<a href="https://github.com/vitejs/vite/commit/e7ba55e7d57ad97ab43682b152159e29fa4b3753">e7ba55e</a>), closes <a href="https://github.com/vitejs/vite/issues/19453">#19453</a></li> <li>fix: ignore <code>*.ipv4</code> address in cert (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19416">#19416</a>) (<a href="https://github.com/vitejs/vite/commit/973283bf84c3dca42e2e20a9f9b8761011878b8b">973283b</a>), closes <a href="https://github.com/vitejs/vite/issues/19416">#19416</a></li> <li>fix(css): run rewrite plugin if postcss plugin exists (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19371">#19371</a>) (<a href="https://github.com/vitejs/vite/commit/bcdb51a1ac082f4e8ed6f820787d6745dfaa972d">bcdb51a</a>), closes <a href="https://github.com/vitejs/vite/issues/19371">#19371</a></li> <li>fix(deps): bump tsconfck (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19375">#19375</a>) (<a href="https://github.com/vitejs/vite/commit/746a583d42592a31e1e8e80cc790a7c9e6acf58e">746a583</a>), closes <a href="https://github.com/vitejs/vite/issues/19375">#19375</a></li> <li>fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19392">#19392</a>) (<a href="https://github.com/vitejs/vite/commit/60456a54fe90872dbd4bed332ecbd85bc88deb92">60456a5</a>), closes <a href="https://github.com/vitejs/vite/issues/19392">#19392</a></li> <li>fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19440">#19440</a>) (<a href="https://github.com/vitejs/vite/commit/ccac73d9d0e92c7232f09207d1d6b893e823ed8e">ccac73d</a>), closes <a href="https://github.com/vitejs/vite/issues/19440">#19440</a></li> <li>fix(html): ignore malformed src attrs (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19397">#19397</a>) (<a href="https://github.com/vitejs/vite/commit/aff7812f0aed059c05ca36c86bf907d25964119a">aff7812</a>), closes <a href="https://github.com/vitejs/vite/issues/19397">#19397</a></li> <li>fix(worker): fix web worker type detection (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19462">#19462</a>) (<a href="https://github.com/vitejs/vite/commit/edc65eafa332b57ce44835deb7d7707e2d036c24">edc65ea</a>), closes <a href="https://github.com/vitejs/vite/issues/19462">#19462</a></li> <li>refactor: remove custom .jxl mime (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19457">#19457</a>) (<a href="https://github.com/vitejs/vite/commit/0c854645bd17960abbe8f01b602d1a1da1a2b9fd">0c85464</a>), closes <a href="https://github.com/vitejs/vite/issues/19457">#19457</a></li> <li>feat: add support for injecting debug IDs (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18763">#18763</a>) (<a href="https://github.com/vitejs/vite/commit/0ff556a6d9b55bff7cac17396ce7d4397becacaa">0ff556a</a>), closes <a href="https://github.com/vitejs/vite/issues/18763">#18763</a></li> <li>chore: update 6.1.0 changelog (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19363">#19363</a>) (<a href="https://github.com/vitejs/vite/commit/fa7c211bf3e51269f8a8601e5994fb3ebb6859f9">fa7c211</a>), closes <a href="https://github.com/vitejs/vite/issues/19363">#19363</a></li> </ul> <h2>6.1.0 (2025-02-05)</h2> <h3>Features</h3> <ul> <li>feat: show hosts in cert in CLI (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19317">#19317</a>) (<a href="https://github.com/vitejs/vite/commit/a5e306f2fc34fc70d543028c319367ff9b232ea0">a5e306f</a>), closes <a href="https://github.com/vitejs/vite/issues/19317">#19317</a></li> <li>feat: support for env var for defining allowed hosts (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19325">#19325</a>) (<a href="https://github.com/vitejs/vite/commit/4d88f6c9391f96275b1359f1343ee2ec3e1adb7b">4d88f6c</a>), closes <a href="https://github.com/vitejs/vite/issues/19325">#19325</a></li> <li>feat: use native runtime to import the config (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19178">#19178</a>) (<a href="https://github.com/vitejs/vite/commit/7c2a7942cc8494a98fbc2b0235d91faf25242d30">7c2a794</a>), closes <a href="https://github.com/vitejs/vite/issues/19178">#19178</a></li> <li>feat: print <code>port</code> in the logged error message after failed WS connection with <code>EADDRINUSE</code> (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19212">#19212</a>) (<a href="https://github.com/vitejs/vite/commit/14027b0f2a9b01c14815c38aab22baf5b29594bb">14027b0</a>), closes <a href="https://github.com/vitejs/vite/issues/19212">#19212</a></li> <li>perf(css): only run postcss when needed (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19061">#19061</a>) (<a href="https://github.com/vitejs/vite/commit/30194fa1e41dda6470aa20f2bb34655c4bfd9cd1">30194fa</a>), closes <a href="https://github.com/vitejs/vite/issues/19061">#19061</a></li> <li>feat: add support for <code>.jxl</code> (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18855">#18855</a>) (<a href="https://github.com/vitejs/vite/commit/57b397c4aa3d3c657e0117c2468800d627049c8d">57b397c</a>), closes <a href="https://github.com/vitejs/vite/issues/18855">#18855</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vitejs/vite/commit/fa7c211bf3e51269f8a8601e5994fb3ebb6859f9"><code>fa7c211</code></a> chore: update 6.1.0 changelog (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19363">#19363</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/051370a332df99d107365ed6beab418ef017eff6"><code>051370a</code></a> release: v6.1.0</li> <li><a href="https://github.com/vitejs/vite/commit/6e0e3c0b990f1132db923e4599e18b270baa3a93"><code>6e0e3c0</code></a> refactor: deprecate <code>vite optimize</code> command (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19348">#19348</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/7c2a7942cc8494a98fbc2b0235d91faf25242d30"><code>7c2a794</code></a> feat: use native runtime to import the config (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19178">#19178</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/fcd578587b2fbdef0ff8de8a0d97c9fc6da19ce1"><code>fcd5785</code></a> fix(build): fix stale build manifest on watch rebuild (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19361">#19361</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/a5e306f2fc34fc70d543028c319367ff9b232ea0"><code>a5e306f</code></a> feat: show hosts in cert in CLI (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19317">#19317</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/4d88f6c9391f96275b1359f1343ee2ec3e1adb7b"><code>4d88f6c</code></a> feat: support for env var for defining allowed hosts (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19325">#19325</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/fdb36e076969c763d4249f6db890f8bf26e9f5d1"><code>fdb36e0</code></a> fix: avoid builtStart during vite optimize (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19356">#19356</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/5ce7443462068c5d8ee76144dd23376762a7b3fe"><code>5ce7443</code></a> release: v6.1.0-beta.2</li> <li><a href="https://github.com/vitejs/vite/commit/e7b4ba37f90a033036326b45023a1753584dd259"><code>e7b4ba3</code></a> fix(html): fix css disorder when building multiple entry html (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19143">#19143</a>)</li> <li>Additional commits viewable in <a href="https://github.com/vitejs/vite/commits/create-vite@6.2.0/packages/vite">compare view</a></li> </ul> </details> <br />
martinr92 commented 2025-02-25 04:02:03 +00:00 (Migrated from gitlab.com)

assigned to @martinr92

assigned to @martinr92
martinr92 commented 2025-02-25 04:25:47 +00:00 (Migrated from gitlab.com)
## SonarQube Cloud Code Analysis ## Quality Gate passed Issues ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed.svg '') [0 New issues](https://sonarcloud.io/project/issues?id=marty-media_server&pullRequest=366&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true) ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted.svg '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=marty-media_server&pullRequest=366&issueStatuses=ACCEPTED) Measures ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed.svg '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=marty-media_server&pullRequest=366&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true) ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed.svg '') [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=marty-media_server&pullRequest=366&metric=new_coverage&view=list) ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed.svg '') [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=marty-media_server&pullRequest=366&metric=new_duplicated_lines_density&view=list) [See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=marty-media_server&pullRequest=366)
martinr92 commented 2025-03-07 03:58:24 +00:00 (Migrated from gitlab.com)

This merge request has been superseded by !375+

This merge request has been superseded by !375+
martinr92 (Migrated from gitlab.com) closed this pull request 2025-03-07 03:58:25 +00:00

Pull request closed

Sign in to join this conversation.
No description provided.