chore: [security] bump esbuild and vite #403

Closed
martinr92 wants to merge 1 commit from dependabot-npm_and_yarn-develop-multi-4641af13f6 into develop
martinr92 commented 2025-03-10 03:58:24 +00:00 (Migrated from gitlab.com)

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

Updates esbuild from 0.21.5 to 0.25.1 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.1

  • Fix incorrect paths in inline source maps (#4070, #4075, #4105)

    This fixes a regression from version 0.25.0 where esbuild didn't correctly resolve relative paths contained within source maps in inline sourceMappingURL data URLs. The paths were incorrectly being passed through as-is instead of being resolved relative to the source file containing the sourceMappingURL comment, which was due to the data URL not being a file URL. This regression has been fixed, and this case now has test coverage.

  • Fix invalid generated source maps (#4080, #4082, #4104, #4107)

    This release fixes a regression from version 0.24.1 that could cause esbuild to generate invalid source maps. Specifically under certain conditions, esbuild could generate a mapping with an out-of-bounds source index. It was introduced by code that attempted to improve esbuild's handling of "null" entries in source maps (i.e. mappings with a generated position but no original position). This regression has been fixed.

    This fix was contributed by @​jridgewell.

  • Fix a regression with non-file source map paths (#4078)

    The format of paths in source maps that aren't in the file namespace was unintentionally changed in version 0.25.0. Path namespaces is an esbuild-specific concept that is optionally available for plugins to use to distinguish paths from file paths and from paths meant for other plugins. Previously the namespace was prepended to the path joined with a : character, but version 0.25.0 unintentionally failed to prepend the namespace. The previous behavior has been restored.

  • Fix a crash with switch optimization (#4088)

    The new code in the previous release to optimize dead code in switch statements accidentally introduced a crash in the edge case where one or more switch case values include a function expression. This is because esbuild now visits the case values first to determine whether any cases are dead code, and then visits the case bodies once the dead code status is known. That triggered some internal asserts that guard against traversing the AST in an unexpected order. This crash has been fixed by changing esbuild to expect the new traversal ordering. Here's an example of affected code:

    switch (x) {
      case '':
        return y.map(z => z.value)
      case y.map(z => z.key).join(','):
        return []
    }
    
  • Update Go from 1.23.5 to 1.23.7 (#4076, #4077)

    This should have no effect on existing code as this version change does not change Go's operating system support. It may remove certain reports from vulnerability scanners that detect which version of the Go compiler esbuild uses.

    This PR was contributed by @​MikeWillCook.

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.

... (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

Updates vite from 5.4.12 to 6.2.1

Release notes

Sourced from vite's releases.

create-vite@6.2.1

Please refer to CHANGELOG.md for details.

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.1 (2025-03-07)

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)

... (truncated)

Commits
  • d8461b5 release: v6.2.0
  • c94c9e0 fix(deps): update all non-major dependencies (#19501)
  • 5c70296 chore: use unicode cross icon instead of x (#19497)
  • 07091a1 fix(worker): string interpolation in dynamic worker options (#19476)
  • e01573a release: v6.2.0-beta.1
  • 12b0b8a fix(css): temporary add ?. after this.getModuleInfo in vite:css-post (#...
  • d686252 release: v6.2.0-beta.0
  • 3ebd838 feat(css): allow scoping css to importers exports (#19418)
  • f6926ca feat: use host url to open browser (#19414)
  • c575b82 feat: show mode on server start and add env debugger (#18808)
  • Additional commits viewable in compare view

Bumps [esbuild](https://github.com/evanw/esbuild) to 0.25.1 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.1 **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.1</h2> <ul> <li> <p>Fix incorrect paths in inline source maps (<a href="https://github.com/evanw/esbuild/issues/4070">#4070</a>, <a href="https://github.com/evanw/esbuild/issues/4075">#4075</a>, <a href="https://github.com/evanw/esbuild/issues/4105">#4105</a>)</p> <p>This fixes a regression from version 0.25.0 where esbuild didn't correctly resolve relative paths contained within source maps in inline <code>sourceMappingURL</code> data URLs. The paths were incorrectly being passed through as-is instead of being resolved relative to the source file containing the <code>sourceMappingURL</code> comment, which was due to the data URL not being a file URL. This regression has been fixed, and this case now has test coverage.</p> </li> <li> <p>Fix invalid generated source maps (<a href="https://github.com/evanw/esbuild/issues/4080">#4080</a>, <a href="https://github.com/evanw/esbuild/issues/4082">#4082</a>, <a href="https://github.com/evanw/esbuild/issues/4104">#4104</a>, <a href="https://github.com/evanw/esbuild/issues/4107">#4107</a>)</p> <p>This release fixes a regression from version 0.24.1 that could cause esbuild to generate invalid source maps. Specifically under certain conditions, esbuild could generate a mapping with an out-of-bounds source index. It was introduced by code that attempted to improve esbuild's handling of &quot;null&quot; entries in source maps (i.e. mappings with a generated position but no original position). This regression has been fixed.</p> <p>This fix was contributed by <a href="https://github.com/jridgewell"><code>@​jridgewell</code></a>.</p> </li> <li> <p>Fix a regression with non-file source map paths (<a href="https://github.com/evanw/esbuild/issues/4078">#4078</a>)</p> <p>The format of paths in source maps that aren't in the <code>file</code> namespace was unintentionally changed in version 0.25.0. Path namespaces is an esbuild-specific concept that is optionally available for plugins to use to distinguish paths from <code>file</code> paths and from paths meant for other plugins. Previously the namespace was prepended to the path joined with a <code>:</code> character, but version 0.25.0 unintentionally failed to prepend the namespace. The previous behavior has been restored.</p> </li> <li> <p>Fix a crash with <code>switch</code> optimization (<a href="https://github.com/evanw/esbuild/issues/4088">#4088</a>)</p> <p>The new code in the previous release to optimize dead code in switch statements accidentally introduced a crash in the edge case where one or more switch case values include a function expression. This is because esbuild now visits the case values first to determine whether any cases are dead code, and then visits the case bodies once the dead code status is known. That triggered some internal asserts that guard against traversing the AST in an unexpected order. This crash has been fixed by changing esbuild to expect the new traversal ordering. Here's an example of affected code:</p> <pre lang="js"><code>switch (x) { case '': return y.map(z =&gt; z.value) case y.map(z =&gt; z.key).join(','): return [] } </code></pre> </li> <li> <p>Update Go from 1.23.5 to 1.23.7 (<a href="https://github.com/evanw/esbuild/issues/4076">#4076</a>, <a href="https://github.com/evanw/esbuild/pull/4077">#4077</a>)</p> <p>This should have no effect on existing code as this version change does not change Go's operating system support. It may remove certain reports from vulnerability scanners that detect which version of the Go compiler esbuild uses.</p> <p>This PR was contributed by <a href="https://github.com/MikeWillCook"><code>@​MikeWillCook</code></a>.</p> </li> </ul> <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> </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/6bfc1c13b4d986b86e8bc2035f00c337b0c1d007"><code>6bfc1c1</code></a> publish 0.25.1 to npm</li> <li><a href="https://github.com/evanw/esbuild/commit/f9b39529a328f513cd73b36e8488a4a624df5c36"><code>f9b3952</code></a> fix <a href="https://github.com/evanw/esbuild/issues/4078">#4078</a>: prepend namespaces to source map paths</li> <li><a href="https://github.com/evanw/esbuild/commit/ccf3dd7889e7765a1d6f1596ada0f22b320d7174"><code>ccf3dd7</code></a> add &quot;contributed by&quot; in changelog</li> <li><a href="https://github.com/evanw/esbuild/commit/48cd7a9e26452f30345eb10a3d471f26de56d1ec"><code>48cd7a9</code></a> Update Go from 1.23.5 to 1.23.7 (<a href="https://github.com/evanw/esbuild/issues/4077">#4077</a>)</li> <li><a href="https://github.com/evanw/esbuild/commit/1f04fa4dc85ef4b1fa01e1938fa127a2cc170c35"><code>1f04fa4</code></a> fix absolute windows paths in source maps</li> <li><a href="https://github.com/evanw/esbuild/commit/9ca03f6ea8aa4c418cb66da876139eef4e2abb26"><code>9ca03f6</code></a> also add test case from <a href="https://github.com/evanw/esbuild/issues/4075">#4075</a></li> <li><a href="https://github.com/evanw/esbuild/commit/2f244c085a970b873e579ac2a0b1c054cf9c66ea"><code>2f244c0</code></a> add test case from <a href="https://github.com/evanw/esbuild/issues/4104">#4104</a></li> <li><a href="https://github.com/evanw/esbuild/commit/1dde994de8858d71fe0e9e128d22142b3c9d7de6"><code>1dde994</code></a> fix incorrect test names</li> <li><a href="https://github.com/evanw/esbuild/commit/9f008c59b628b65c00878d7673ed24317e911666"><code>9f008c5</code></a> fix <a href="https://github.com/evanw/esbuild/issues/4070">#4070</a>: <code>file</code> namespace for <code>sourceMappingURL</code></li> <li><a href="https://github.com/evanw/esbuild/commit/cbd5eb8c82089619f235b96be7b7b18c06fc10c0"><code>cbd5eb8</code></a> release notes and tests for <a href="https://github.com/evanw/esbuild/issues/4082">#4082</a></li> <li>Additional commits viewable in <a href="https://github.com/evanw/esbuild/compare/v0.21.5...v0.25.1">compare view</a></li> </ul> </details> <br /> Updates `vite` from 5.4.12 to 6.2.1 <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.1</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@6.2.1/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> <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><!-- raw HTML omitted -->6.2.1 (2025-03-07)<!-- raw HTML omitted --></h2> <ul> <li>refactor: remove <code>isBuild</code> check from preAliasPlugin (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19587">#19587</a>) (<a href="https://github.com/vitejs/vite/commit/c9e086d35ac35ee1c6d85d48369e8a67a2ba6bfe">c9e086d</a>), closes <a href="https://github.com/vitejs/vite/issues/19587">#19587</a></li> <li>refactor: restore endsWith usage (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19554">#19554</a>) (<a href="https://github.com/vitejs/vite/commit/6113a9670cc9b7d29fe0bffe033f7823e36ded00">6113a96</a>), closes <a href="https://github.com/vitejs/vite/issues/19554">#19554</a></li> <li>refactor: use <code>applyToEnvironment</code> in internal plugins (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19588">#19588</a>) (<a href="https://github.com/vitejs/vite/commit/f678442d5701a00648a745956f9d884247e4e710">f678442</a>), closes <a href="https://github.com/vitejs/vite/issues/19588">#19588</a></li> <li>fix(css): stabilize css module hashes with lightningcss in dev mode (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19481">#19481</a>) (<a href="https://github.com/vitejs/vite/commit/92125b41e4caa3e862bf5fd9b1941546f25d9bf2">92125b4</a>), closes <a href="https://github.com/vitejs/vite/issues/19481">#19481</a></li> <li>fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19555">#19555</a>) (<a href="https://github.com/vitejs/vite/commit/f612e0fdf6810317b61fcca1ded125755f261d78">f612e0f</a>), closes <a href="https://github.com/vitejs/vite/issues/19555">#19555</a></li> <li>fix(reporter): fix incorrect bundle size calculation with non-ASCII characters (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19561">#19561</a>) (<a href="https://github.com/vitejs/vite/commit/437c0ed8baa6739bbe944779b9e7515f9035046a">437c0ed</a>), closes <a href="https://github.com/vitejs/vite/issues/19561">#19561</a></li> <li>fix(sourcemap): combine sourcemaps with multiple sources without matched source (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18971">#18971</a>) (<a href="https://github.com/vitejs/vite/commit/e3f6ae14f7a93118d7341de7379967f815725c4b">e3f6ae1</a>), closes <a href="https://github.com/vitejs/vite/issues/18971">#18971</a></li> <li>fix(ssr): named export should overwrite export all (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19534">#19534</a>) (<a href="https://github.com/vitejs/vite/commit/2fd2fc110738622651d361488767734cc23c34dd">2fd2fc1</a>), closes <a href="https://github.com/vitejs/vite/issues/19534">#19534</a></li> <li>feat: add <code>*?url&amp;no-inline</code> type and warning for <code>.json?inline</code> / <code>.json?no-inline</code> (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19566">#19566</a>) (<a href="https://github.com/vitejs/vite/commit/c0d36677cd305e8fa89153ed6305f0e0df43d289">c0d3667</a>), closes <a href="https://github.com/vitejs/vite/issues/19566">#19566</a></li> <li>test: add glob import test case (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19516">#19516</a>) (<a href="https://github.com/vitejs/vite/commit/aa1d8075cc7ce7fbba62fea9e37ccb9b304fc039">aa1d807</a>), closes <a href="https://github.com/vitejs/vite/issues/19516">#19516</a></li> <li>test: convert config playground to unit tests (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19568">#19568</a>) (<a href="https://github.com/vitejs/vite/commit/c0e68da4774f3487e9ba0c4d4d2c5e76bdc890ea">c0e68da</a>), closes <a href="https://github.com/vitejs/vite/issues/19568">#19568</a></li> <li>test: convert resolve-config playground to unit tests (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19567">#19567</a>) (<a href="https://github.com/vitejs/vite/commit/db5fb48f5d4c1ee411e59c1e9b70d62fdb9d53d2">db5fb48</a>), closes <a href="https://github.com/vitejs/vite/issues/19567">#19567</a></li> <li>perf: flush compile cache after 10s (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19537">#19537</a>) (<a href="https://github.com/vitejs/vite/commit/6c8a5a27e645a182f5b03a4ed6aa726eab85993f">6c8a5a2</a>), closes <a href="https://github.com/vitejs/vite/issues/19537">#19537</a></li> <li>chore(css): move environment destructuring after condition check (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19492">#19492</a>) (<a href="https://github.com/vitejs/vite/commit/c9eda2348c244d591d23f131c6ddf262b256cbf0">c9eda23</a>), closes <a href="https://github.com/vitejs/vite/issues/19492">#19492</a></li> <li>chore(html): remove unnecessary value check (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19491">#19491</a>) (<a href="https://github.com/vitejs/vite/commit/797959f01da583b85a0be1dc89f762fd01d138db">797959f</a>), closes <a href="https://github.com/vitejs/vite/issues/19491">#19491</a></li> </ul> <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> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vitejs/vite/commit/d8461b5b4f2884105bab2175b86af4aac521cb5c"><code>d8461b5</code></a> release: v6.2.0</li> <li><a href="https://github.com/vitejs/vite/commit/c94c9e052127cf4796374de1d698ec60b2973dfa"><code>c94c9e0</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19501">#19501</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/5c70296ffb22fe5a0f4039835aa14feb096b4a97"><code>5c70296</code></a> chore: use unicode cross icon instead of x (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19497">#19497</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/07091a1e804e5934208ef0b6324a04317dd0d815"><code>07091a1</code></a> fix(worker): string interpolation in dynamic worker options (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19476">#19476</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/e01573a5757420041530d47f707c720da5fe2231"><code>e01573a</code></a> release: v6.2.0-beta.1</li> <li><a href="https://github.com/vitejs/vite/commit/12b0b8a953ad7d08ba0540cb4f5cb26a7fa69da2"><code>12b0b8a</code></a> fix(css): temporary add <code>?.</code> after <code>this.getModuleInfo</code> in <code>vite:css-post</code> (#...</li> <li><a href="https://github.com/vitejs/vite/commit/d686252c1d86527759a07eb0aae9f3aea505e3fa"><code>d686252</code></a> release: v6.2.0-beta.0</li> <li><a href="https://github.com/vitejs/vite/commit/3ebd83833f723dde64098bc617c61b37adb3ad01"><code>3ebd838</code></a> feat(css): allow scoping css to importers exports (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19418">#19418</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/f6926caa1f2c9433ca544172378412795722d8e1"><code>f6926ca</code></a> feat: use host url to open browser (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19414">#19414</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/c575b825596ccaedfac1cfecbb9a464e5e584a60"><code>c575b82</code></a> 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>)</li> <li>Additional commits viewable in <a href="https://github.com/vitejs/vite/commits/create-vite@6.2.1/packages/vite">compare view</a></li> </ul> </details> <br />
martinr92 commented 2025-03-10 03:58:25 +00:00 (Migrated from gitlab.com)

assigned to @martinr92

assigned to @martinr92
martinr92 commented 2025-03-10 03:58:31 +00:00 (Migrated from gitlab.com)

mentioned in merge request !375

mentioned in merge request !375
martinr92 commented 2025-03-10 04:02:14 +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=379&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=379&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=379&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=379&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=379&metric=new_duplicated_lines_density&view=list) [See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=marty-media_server&pullRequest=379)
martinr92 commented 2025-03-15 03:58:57 +00:00 (Migrated from gitlab.com)

This merge request has been superseded by !388+

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

Pull request closed

Sign in to join this conversation.
No description provided.