Skip to content

chore(deps-dev): bump esbuild from 0.27.4 to 0.27.5#6421

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot-npm_and_yarn-esbuild-0.27.5
Open

chore(deps-dev): bump esbuild from 0.27.4 to 0.27.5#6421
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot-npm_and_yarn-esbuild-0.27.5

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 2, 2026

Bumps esbuild from 0.27.4 to 0.27.5.

Release notes

Sourced from esbuild's releases.

v0.27.5

  • Fix for an async generator edge case (#4401, #4417)

    Support for transforming async generators into the equivalent state machine was added in version 0.19.0. However, the generated state machine didn't work correctly when polling async generators concurrently, such as in the following code:

    async function* inner() { yield 1; yield 2 }
    async function* outer() { yield* inner() }
    let gen = outer()
    for await (let x of [gen.next(), gen.next()]) console.log(x)

    Previously esbuild's output of the above code behaved incorrectly when async generators were transformed (such as with --supported:async-generator=false). The transformation should be fixed starting with this release.

    This fix was contributed by @​2767mr.

  • Fix a regression when metafile is enabled (#4420, #4418)

    This release fixes a regression introduced by the previous release. When metafile: true was enabled in esbuild's JavaScript API, builds with build errors were incorrectly throwing an error about an empty JSON string instead of an object containing the build errors.

  • Use define semantics for TypeScript parameter properties (#4421)

    Parameter properties are a TypeScript-specific code generation feature that converts constructor parameters into class fields when they are prefixed by certain keywords. When "useDefineForClassFields": true is present in tsconfig.json, the TypeScript compiler automatically generates class field declarations for parameter properties. Previously esbuild didn't do this, but esbuild will now do this starting with this release:

    // Original code
    class Foo {
      constructor(public x: number) {}
    }
    // Old output (with --loader=ts)
    class Foo {
    constructor(x) {
    this.x = x;
    }
    }
    // New output (with --loader=ts)
    class Foo {
    constructor(x) {
    this.x = x;
    }
    x;
    }

  • Allow es2025 as a target in tsconfig.json (#4432)

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

... (truncated)

Changelog

Sourced from esbuild's changelog.

0.27.5

  • Fix for an async generator edge case (#4401, #4417)

    Support for transforming async generators into the equivalent state machine was added in version 0.19.0. However, the generated state machine didn't work correctly when polling async generators concurrently, such as in the following code:

    async function* inner() { yield 1; yield 2 }
    async function* outer() { yield* inner() }
    let gen = outer()
    for await (let x of [gen.next(), gen.next()]) console.log(x)

    Previously esbuild's output of the above code behaved incorrectly when async generators were transformed (such as with --supported:async-generator=false). The transformation should be fixed starting with this release.

    This fix was contributed by @​2767mr.

  • Fix a regression when metafile is enabled (#4420, #4418)

    This release fixes a regression introduced by the previous release. When metafile: true was enabled in esbuild's JavaScript API, builds with build errors were incorrectly throwing an error about an empty JSON string instead of an object containing the build errors.

  • Use define semantics for TypeScript parameter properties (#4421)

    Parameter properties are a TypeScript-specific code generation feature that converts constructor parameters into class fields when they are prefixed by certain keywords. When "useDefineForClassFields": true is present in tsconfig.json, the TypeScript compiler automatically generates class field declarations for parameter properties. Previously esbuild didn't do this, but esbuild will now do this starting with this release:

    // Original code
    class Foo {
      constructor(public x: number) {}
    }
    // Old output (with --loader=ts)
    class Foo {
    constructor(x) {
    this.x = x;
    }
    }
    // New output (with --loader=ts)
    class Foo {
    constructor(x) {
    this.x = x;
    }
    x;
    }

  • Allow es2025 as a target in tsconfig.json (#4432)

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

... (truncated)

Commits

🔭🐙🐈 Test this branch here: https://design-system.deutschebahn.com/core-web/review/dependabot-npm_and_yarn-esbuild-0.27.5

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Apr 2, 2026
@github-project-automation github-project-automation bot moved this to 🏗 In progress in UX Engineering Team Backlog Apr 2, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 2, 2026

⚠️ No Changeset found

Latest commit: aa8281a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot added the 📺showcases Changes to 1-n showcases label Apr 2, 2026
@github-actions github-actions bot enabled auto-merge (squash) April 2, 2026 11:55
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ⏰ready for release in UX Engineering Team Backlog Apr 2, 2026
@mfranzke
Copy link
Copy Markdown
Collaborator

mfranzke commented Apr 2, 2026

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-esbuild-0.27.5 branch from 3abb19c to f0ab2a1 Compare April 2, 2026 12:18
github-actions[bot]
github-actions bot previously approved these changes Apr 2, 2026
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-esbuild-0.27.5 branch from f0ab2a1 to 692da98 Compare April 4, 2026 12:05
@mfranzke
Copy link
Copy Markdown
Collaborator

mfranzke commented Apr 4, 2026

@dependabot recreate

Bumps [esbuild](https://github.com/evanw/esbuild) from 0.27.4 to 0.27.5.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](evanw/esbuild@v0.27.4...v0.27.5)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version: 0.27.5
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-esbuild-0.27.5 branch from 692da98 to aa8281a Compare April 4, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code 📺showcases Changes to 1-n showcases

Projects

Status: ⏰ready for release

Development

Successfully merging this pull request may close these issues.

1 participant