Skip to content

chore(deps): update dependency esbuild to ^0.28.0#226

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/esbuild-0.x
Open

chore(deps): update dependency esbuild to ^0.28.0#226
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/esbuild-0.x

Conversation

@renovate

@renovate renovate Bot commented Nov 9, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
esbuild ^0.25.9^0.28.0 age confidence

Release Notes

evanw/esbuild (esbuild)

v0.28.1

Compare Source

  • Disallow \\ in local development server HTTP requests (GHSA-g7r4-m6w7-qqqr)

    This release fixes a security issue where HTTP requests to esbuild's local development server could traverse outside of the serve directory on Windows using a \\ backslash character. It happened due to the use of Go's path.Clean() function, which only handles Unix-style / characters. HTTP requests with paths containing \\ are no longer allowed.

    Thanks to @​dellalibera for reporting this issue.

  • Add integrity checks to the Deno API (GHSA-gv7w-rqvm-qjhr)

    The previous release of esbuild added integrity checks to esbuild's npm install script. This release also adds integrity checks to esbuild's Deno install script. Now esbuild's Deno API will also fail with an error if the downloaded esbuild binary contains something other than the expected content.

    Note that esbuild's Deno API installs from registry.npmjs.org by default, but allows the NPM_CONFIG_REGISTRY environment variable to override this with a custom package registry. This change means that the esbuild executable served by NPM_CONFIG_REGISTRY must now match the expected content.

    Thanks to @​sondt99 for reporting this issue.

  • Avoid inlining using and await using declarations (#​4482)

    Previously esbuild's minifier sometimes incorrectly inlined using and await using declarations into subsequent uses of that declaration, which then fails to dispose of the resource correctly. This bug happened because inlining was done for let and const declarations by avoiding doing it for var declarations, which no longer worked when more declaration types were added. Here's an example:

    // Original code
    {
      using x = new Resource()
      x.activate()
    }
    
    // Old output (with --minify)
    new Resource().activate();
    
    // New output (with --minify)
    {using e=new Resource;e.activate()}
  • Fix module evaluation when an error is thrown (#​4461, #​4467)

    If an error is thrown during module evaluation, esbuild previously didn't preserve the state of the module for subsequent module references. This was observable if import() or require() is used to import a module multiple times. The thrown error is supposed to be thrown by every call to import() or require(), not just the first. With this release, esbuild will now throw the same error every time you call import() or require() on a module that throws during its evaluation.

  • Fix some edge cases around the new operator (#​4477)

    Previously esbuild incorrectly printed certain edge cases involving complex expressions inside the target of a new expression (specifically an optional chain and/or a tagged template literal). The generated code for the new target was not correctly wrapped with parentheses, and either contained a syntax error or had different semantics. These edge cases have been fixed so that they now correctly wrap the new target in parentheses. Here is an example of some affected code:

    // Original code
    new (foo()`bar`)()
    new (foo()?.bar)()
    
    // Old output
    new foo()`bar`();
    new (foo())?.bar();
    
    // New output
    new (foo())`bar`();
    new (foo()?.bar)();
  • Fix renaming of nested var declarations (#​4471)

    This release fixes a bug where var declarations in nested scopes that are hoisted up to module scope were not correctly being renamed during bundling. That could previously lead to name collisions when minification was disabled, which could potentially cause a behavior change. The bug has been fixed so that these hoisted declarations are now considered to be module-level symbols during the name collision avoidance pass.

  • Emit var instead of const for certain TypeScript-only constructs for ES5 (#​4448)

    While esbuild doesn't generally support converting const to var for ES5 due to nested scoping rules (which is currently a build-time error), esbuild previously incorrectly converted TypeScript-only import assignment constructs into a const declaration even when targeting ES5. With this release, esbuild will now use var for this case instead:

    // Original code
    import x = require('y')
    
    // Old output (with --target=es5)
    const x = require("y");
    
    // New output (with --target=es5)
    var x = require("y");

v0.28.0

Compare Source

v0.27.7

Compare Source

v0.27.5

Compare Source

v0.27.4

Compare Source

v0.27.3

Compare Source

v0.27.2

Compare Source

v0.27.1

Compare Source

v0.27.0

Compare Source

v0.26.0

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the renovate label Nov 9, 2025
@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@socket-security

socket-security Bot commented Nov 9, 2025

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedesbuild@​0.28.1991007486100

View full report

@renovate renovate Bot changed the title chore(deps): update dependency esbuild to ^0.26.0 chore(deps): update dependency esbuild to ^0.27.0 Nov 9, 2025
@renovate renovate Bot force-pushed the renovate/esbuild-0.x branch 6 times, most recently from ba3186d to 23e1729 Compare November 13, 2025 01:40
@renovate renovate Bot force-pushed the renovate/esbuild-0.x branch 4 times, most recently from 93507c9 to 2d1b623 Compare November 24, 2025 01:23
@renovate renovate Bot force-pushed the renovate/esbuild-0.x branch 2 times, most recently from 8968300 to 7094142 Compare December 3, 2025 21:14
@renovate renovate Bot force-pushed the renovate/esbuild-0.x branch from 7094142 to c74c662 Compare December 17, 2025 04:03
@renovate renovate Bot force-pushed the renovate/esbuild-0.x branch from c74c662 to 048609e Compare December 31, 2025 12:44
@renovate renovate Bot force-pushed the renovate/esbuild-0.x branch from 048609e to 7f00b7f Compare January 8, 2026 18:52
@renovate renovate Bot force-pushed the renovate/esbuild-0.x branch 2 times, most recently from 6d77ecf to fd7b705 Compare January 23, 2026 20:34
@renovate renovate Bot force-pushed the renovate/esbuild-0.x branch 2 times, most recently from 6065ce0 to 1fa4514 Compare February 6, 2026 02:04
@renovate renovate Bot force-pushed the renovate/esbuild-0.x branch from 1fa4514 to 1c79e8d Compare February 12, 2026 17:37
@renovate renovate Bot force-pushed the renovate/esbuild-0.x branch from 1c79e8d to 951ee26 Compare March 5, 2026 15:04
@renovate renovate Bot force-pushed the renovate/esbuild-0.x branch from 951ee26 to 2c475aa Compare March 12, 2026 17:51
@renovate renovate Bot force-pushed the renovate/esbuild-0.x branch 4 times, most recently from ac47b93 to e299c75 Compare April 2, 2026 22:07
@renovate renovate Bot changed the title chore(deps): update dependency esbuild to ^0.27.0 chore(deps): update dependency esbuild to ^0.28.0 Apr 2, 2026
@renovate renovate Bot force-pushed the renovate/esbuild-0.x branch from e299c75 to ecb4a65 Compare April 8, 2026 16:48
@renovate renovate Bot force-pushed the renovate/esbuild-0.x branch from ecb4a65 to 5aa54d3 Compare April 29, 2026 12:14
@renovate renovate Bot force-pushed the renovate/esbuild-0.x branch 2 times, most recently from eae5682 to 89c2277 Compare May 18, 2026 15:08
@renovate renovate Bot force-pushed the renovate/esbuild-0.x branch from 89c2277 to d8c86ba Compare May 28, 2026 18:16
@renovate renovate Bot force-pushed the renovate/esbuild-0.x branch from d8c86ba to 164b320 Compare June 11, 2026 18:06
@renovate renovate Bot force-pushed the renovate/esbuild-0.x branch from 164b320 to 1025af7 Compare June 12, 2026 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants