[PR #138] [CLOSED] Bump esbuild from 0.18.10 to 0.18.11 #447

Closed
opened 2026-03-15 14:19:38 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/axllent/mailpit/pull/138
Author: @dependabot[bot]
Created: 7/1/2023
Status: Closed

Base: developHead: dependabot/npm_and_yarn/esbuild-0.18.11


📝 Commits (1)

  • ed1430b Bump esbuild from 0.18.10 to 0.18.11

📊 Changes

2 files changed (+93 additions, -93 deletions)

View changed files

📝 package-lock.json (+92 -92)
📝 package.json (+1 -1)

📄 Description

Bumps esbuild from 0.18.10 to 0.18.11.

Release notes

Sourced from esbuild's releases.

v0.18.11

  • Fix a TypeScript code generation edge case (#3199)

    This release fixes a regression in version 0.18.4 where using a TypeScript namespace that exports a class declaration combined with --keep-names and a --target of es2021 or earlier could cause esbuild to export the class from the namespace using an incorrect name (notice the assignment to X2._Y vs. X2.Y):

    // Original code
    

    // Old output (with --keep-names --target=es2021) var X; ((X2) => { const _Y = class _Y { }; __name(_Y, "Y"); let Y = _Y; X2._Y = _Y; })(X || (X = {}));

    // New output (with --keep-names --target=es2021) var X; ((X2) => { const _Y = class _Y { }; __name(_Y, "Y"); let Y = _Y; X2.Y = _Y; })(X || (X = {}));

Changelog

Sourced from esbuild's changelog.

0.18.11

  • Fix a TypeScript code generation edge case (#3199)

    This release fixes a regression in version 0.18.4 where using a TypeScript namespace that exports a class declaration combined with --keep-names and a --target of es2021 or earlier could cause esbuild to export the class from the namespace using an incorrect name (notice the assignment to X2._Y vs. X2.Y):

    // Original code
    

    // Old output (with --keep-names --target=es2021) var X; ((X2) => { const _Y = class _Y { }; __name(_Y, "Y"); let Y = _Y; X2._Y = _Y; })(X || (X = {}));

    // New output (with --keep-names --target=es2021) var X; ((X2) => { const _Y = class _Y { }; __name(_Y, "Y"); let Y = _Y; X2.Y = _Y; })(X || (X = {}));

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/axllent/mailpit/pull/138 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 7/1/2023 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `dependabot/npm_and_yarn/esbuild-0.18.11` --- ### 📝 Commits (1) - [`ed1430b`](https://github.com/axllent/mailpit/commit/ed1430b977bbdbfda40d5ef37801ed99ceffe66e) Bump esbuild from 0.18.10 to 0.18.11 ### 📊 Changes **2 files changed** (+93 additions, -93 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+92 -92) 📝 `package.json` (+1 -1) </details> ### 📄 Description Bumps [esbuild](https://github.com/evanw/esbuild) from 0.18.10 to 0.18.11. <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.18.11</h2> <ul> <li> <p>Fix a TypeScript code generation edge case (<a href="https://redirect.github.com/evanw/esbuild/issues/3199">#3199</a>)</p> <p>This release fixes a regression in version 0.18.4 where using a TypeScript <code>namespace</code> that exports a <code>class</code> declaration combined with <code>--keep-names</code> and a <code>--target</code> of <code>es2021</code> or earlier could cause esbuild to export the class from the namespace using an incorrect name (notice the assignment to <code>X2._Y</code> vs. <code>X2.Y</code>):</p> <pre lang="ts"><code>// Original code <p>// Old output (with --keep-names --target=es2021) var X; ((X2) =&gt; { const _Y = class _Y { }; __name(_Y, &quot;Y&quot;); let Y = _Y; X2._Y = _Y; })(X || (X = {}));</p> <p>// New output (with --keep-names --target=es2021) var X; ((X2) =&gt; { const _Y = class _Y { }; __name(_Y, &quot;Y&quot;); let Y = _Y; X2.Y = _Y; })(X || (X = {})); </code></pre></p> </li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/evanw/esbuild/blob/main/CHANGELOG.md">esbuild's changelog</a>.</em></p> <blockquote> <h2>0.18.11</h2> <ul> <li> <p>Fix a TypeScript code generation edge case (<a href="https://redirect.github.com/evanw/esbuild/issues/3199">#3199</a>)</p> <p>This release fixes a regression in version 0.18.4 where using a TypeScript <code>namespace</code> that exports a <code>class</code> declaration combined with <code>--keep-names</code> and a <code>--target</code> of <code>es2021</code> or earlier could cause esbuild to export the class from the namespace using an incorrect name (notice the assignment to <code>X2._Y</code> vs. <code>X2.Y</code>):</p> <pre lang="ts"><code>// Original code <p>// Old output (with --keep-names --target=es2021) var X; ((X2) =&gt; { const _Y = class _Y { }; __name(_Y, &quot;Y&quot;); let Y = _Y; X2._Y = _Y; })(X || (X = {}));</p> <p>// New output (with --keep-names --target=es2021) var X; ((X2) =&gt; { const _Y = class _Y { }; __name(_Y, &quot;Y&quot;); let Y = _Y; X2.Y = _Y; })(X || (X = {})); </code></pre></p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/evanw/esbuild/commit/2703f90d47fd96f425fedcfd2a5c318a43b04d45"><code>2703f90</code></a> publish 0.18.11 to npm</li> <li><a href="https://github.com/evanw/esbuild/commit/cd23ee5e46057503bab9250bcd758f47b53fb7c1"><code>cd23ee5</code></a> fix <a href="https://redirect.github.com/evanw/esbuild/issues/3199">#3199</a>: keep names + namespace + export class</li> <li><a href="https://github.com/evanw/esbuild/commit/52110fd09322af7c8ac22e011f64093e53765004"><code>52110fd</code></a> fix catch block mapping in source maps</li> <li><a href="https://github.com/evanw/esbuild/commit/babcb2c3464253d6cc5add184a85e346c472cf06"><code>babcb2c</code></a> alphabetize engine names in generated code</li> <li>See full diff in <a href="https://github.com/evanw/esbuild/compare/v0.18.10...v0.18.11">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=esbuild&package-manager=npm_and_yarn&previous-version=0.18.10&new-version=0.18.11)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 14:19:38 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mailpit#447
No description provided.