chore: [security] bump esbuild and vite #412

Merged
martinr92 merged 1 commit from dependabot-npm_and_yarn-develop-multi-ae5c351165 into develop 2025-03-21 16:17:21 +00:00
martinr92 commented 2025-03-15 03:58:53 +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.2

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.2 (2025-03-14)

  • fix: await client buildStart on top level buildStart (#19624) (b31faab), closes #19624
  • fix(css): inline css correctly for double quote use strict (#19590) (d0aa833), closes #19590
  • fix(deps): update all non-major dependencies (#19613) (363d691), closes #19613
  • fix(indexHtml): ensure correct URL when querying module graph (#19601) (dc5395a), closes #19601
  • fix(preview): use preview https config, not server (#19633) (98b3160), closes #19633
  • fix(ssr): use optional chaining to prevent "undefined is not an object" happening in `ssrRewriteStac (4309755), closes #19612
  • feat: show friendly error for malformed base (#19616) (2476391), closes #19616
  • feat(worker): show asset filename conflict warning (#19591) (367d968), closes #19591
  • chore: extend commit hash correctly when ambigious with a non-commit object (#19600) (89a6287), closes #19600

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)

... (truncated)

Commits
  • b12911e release: v6.2.2
  • 98b3160 fix(preview): use preview https config, not server (#19633)
  • b31faab fix: await client buildStart on top level buildStart (#19624)
  • dc5395a fix(indexHtml): ensure correct URL when querying module graph (#19601)
  • 2476391 feat: show friendly error for malformed base (#19616)
  • 4309755 fix(ssr): use optional chaining to prevent "undefined is not an object" happe...
  • 363d691 fix(deps): update all non-major dependencies (#19613)
  • d0aa833 fix(css): inline css correctly for double quote use strict (#19590)
  • 367d968 feat(worker): show asset filename conflict warning (#19591)
  • 89a6287 chore: extend commit hash correctly when ambigious with a non-commit object (...
  • 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.2 <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.2 (2025-03-14)<!-- raw HTML omitted --></h2> <ul> <li>fix: await client buildStart on top level buildStart (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19624">#19624</a>) (<a href="https://github.com/vitejs/vite/commit/b31faab2a81b839e4b747baeb9c7a7cbb724f8d2">b31faab</a>), closes <a href="https://github.com/vitejs/vite/issues/19624">#19624</a></li> <li>fix(css): inline css correctly for double quote use strict (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19590">#19590</a>) (<a href="https://github.com/vitejs/vite/commit/d0aa833296668fc420a27a1ea88ecdbdeacdbce7">d0aa833</a>), closes <a href="https://github.com/vitejs/vite/issues/19590">#19590</a></li> <li>fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19613">#19613</a>) (<a href="https://github.com/vitejs/vite/commit/363d691b4995d72f26a14eb59ed88a9483b1f931">363d691</a>), closes <a href="https://github.com/vitejs/vite/issues/19613">#19613</a></li> <li>fix(indexHtml): ensure correct URL when querying module graph (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19601">#19601</a>) (<a href="https://github.com/vitejs/vite/commit/dc5395a27e44066ef7725278c4057d9f1071a53f">dc5395a</a>), closes <a href="https://github.com/vitejs/vite/issues/19601">#19601</a></li> <li>fix(preview): use preview https config, not server (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19633">#19633</a>) (<a href="https://github.com/vitejs/vite/commit/98b3160fa5916189e756cd7c5aae87e0d8f1978e">98b3160</a>), closes <a href="https://github.com/vitejs/vite/issues/19633">#19633</a></li> <li>fix(ssr): use optional chaining to prevent &quot;undefined is not an object&quot; happening in `ssrRewriteStac (<a href="https://github.com/vitejs/vite/commit/43097550a1aa8ff633c39fb197b5f9ac1222119b">4309755</a>), closes <a href="https://github.com/vitejs/vite/issues/19612">#19612</a></li> <li>feat: show friendly error for malformed <code>base</code> (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19616">#19616</a>) (<a href="https://github.com/vitejs/vite/commit/2476391b2854aaa67d0ed317b6d0c462e68028f7">2476391</a>), closes <a href="https://github.com/vitejs/vite/issues/19616">#19616</a></li> <li>feat(worker): show asset filename conflict warning (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19591">#19591</a>) (<a href="https://github.com/vitejs/vite/commit/367d968fbf584e9f0e17192b816e92e8045c6217">367d968</a>), closes <a href="https://github.com/vitejs/vite/issues/19591">#19591</a></li> <li>chore: extend commit hash correctly when ambigious with a non-commit object (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19600">#19600</a>) (<a href="https://github.com/vitejs/vite/commit/89a62873243805518b672212db7e317989c5c197">89a6287</a>), closes <a href="https://github.com/vitejs/vite/issues/19600">#19600</a></li> </ul> <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> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vitejs/vite/commit/b12911edba0cd9edbad170a0940d37bb1e16ef2c"><code>b12911e</code></a> release: v6.2.2</li> <li><a href="https://github.com/vitejs/vite/commit/98b3160fa5916189e756cd7c5aae87e0d8f1978e"><code>98b3160</code></a> fix(preview): use preview https config, not server (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19633">#19633</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/b31faab2a81b839e4b747baeb9c7a7cbb724f8d2"><code>b31faab</code></a> fix: await client buildStart on top level buildStart (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19624">#19624</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/dc5395a27e44066ef7725278c4057d9f1071a53f"><code>dc5395a</code></a> fix(indexHtml): ensure correct URL when querying module graph (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19601">#19601</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/2476391b2854aaa67d0ed317b6d0c462e68028f7"><code>2476391</code></a> feat: show friendly error for malformed <code>base</code> (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19616">#19616</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/43097550a1aa8ff633c39fb197b5f9ac1222119b"><code>4309755</code></a> fix(ssr): use optional chaining to prevent &quot;undefined is not an object&quot; happe...</li> <li><a href="https://github.com/vitejs/vite/commit/363d691b4995d72f26a14eb59ed88a9483b1f931"><code>363d691</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19613">#19613</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/d0aa833296668fc420a27a1ea88ecdbdeacdbce7"><code>d0aa833</code></a> fix(css): inline css correctly for double quote use strict (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19590">#19590</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/367d968fbf584e9f0e17192b816e92e8045c6217"><code>367d968</code></a> feat(worker): show asset filename conflict warning (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19591">#19591</a>)</li> <li><a href="https://github.com/vitejs/vite/commit/89a62873243805518b672212db7e317989c5c197"><code>89a6287</code></a> chore: extend commit hash correctly when ambigious with a non-commit object (...</li> <li>Additional commits viewable in <a href="https://github.com/vitejs/vite/commits/v6.2.2/packages/vite">compare view</a></li> </ul> </details> <br />
martinr92 commented 2025-03-15 03:58:53 +00:00 (Migrated from gitlab.com)

assigned to @martinr92

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

mentioned in merge request !379

mentioned in merge request !379
martinr92 commented 2025-03-21 16:11:51 +00:00 (Migrated from gitlab.com)

added 3 commits

  • 56ba814a...41e8353e - 2 commits from branch develop
  • 45d709db - chore: [security] bump esbuild and vite

Compare with previous version

added 3 commits <ul><li>56ba814a...41e8353e - 2 commits from branch <code>develop</code></li><li>45d709db - chore: [security] bump esbuild and vite</li></ul> [Compare with previous version](/marty-media/server/-/merge_requests/388/diffs?diff_id=1303162385&start_sha=56ba814a24ed4fbfc9aff2ae296177271c620d0b)
martinr92 (Migrated from gitlab.com) scheduled this pull request to auto merge when all checks succeed 2025-03-21 16:14:10 +00:00
martinr92 commented 2025-03-21 16:16:15 +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=388&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=388&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=388&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=388&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=388&metric=new_duplicated_lines_density&view=list) [See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=marty-media_server&pullRequest=388)
martinr92 (Migrated from gitlab.com) merged commit into develop 2025-03-21 16:17:21 +00:00
martinr92 commented 2025-03-21 17:15:15 +00:00 (Migrated from gitlab.com)

🎉 This MR is included in version 0.7.0-beta.1 🎉

The release is available on GitLab release.

Your semantic-release bot 📦 🚀

:tada: This MR is included in version 0.7.0-beta.1 :tada: The release is available on [GitLab release](https://gitlab.com/marty-media/server/-/releases/v0.7.0-beta.1). Your **[semantic-release](https://github.com/semantic-release/semantic-release)** bot :package: :rocket:
martinr92 commented 2025-03-30 13:10:41 +00:00 (Migrated from gitlab.com)

🎉 This MR is included in version 0.7.0 🎉

The release is available on GitLab release.

Your semantic-release bot 📦 🚀

:tada: This MR is included in version 0.7.0 :tada: The release is available on [GitLab release](https://gitlab.com/marty-media/server/-/releases/v0.7.0). Your **[semantic-release](https://github.com/semantic-release/semantic-release)** bot :package: :rocket:
Sign in to join this conversation.
No description provided.