Skip to content

Bump esbuild from 0.27.4 to 0.27.5 in the dev-dependencies group across 1 directory#25

Merged
kimon1230 merged 1 commit intomainfrom
dependabot/npm_and_yarn/dev-dependencies-4fa87a6987
Apr 2, 2026
Merged

Bump esbuild from 0.27.4 to 0.27.5 in the dev-dependencies group across 1 directory#25
kimon1230 merged 1 commit intomainfrom
dependabot/npm_and_yarn/dev-dependencies-4fa87a6987

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps the dev-dependencies group with 1 update in the / directory: esbuild.

Updates 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

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 2, 2026
@kimon1230
Copy link
Copy Markdown
Collaborator

@dependabot rebase

Bumps the dev-dependencies group with 1 update: [esbuild](https://github.com/evanw/esbuild).


Updates `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
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot changed the title Bump esbuild from 0.27.4 to 0.27.5 in the dev-dependencies group Bump esbuild from 0.27.4 to 0.27.5 in the dev-dependencies group across 1 directory Apr 2, 2026
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/dev-dependencies-4fa87a6987 branch from 2ff058d to 08451a9 Compare April 2, 2026 12:36
@kimon1230 kimon1230 merged commit 8fa6887 into main Apr 2, 2026
8 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/dev-dependencies-4fa87a6987 branch April 2, 2026 13:05
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant