npm esbuild 0.17.12
v0.17.12

latest releases: 0.24.0, 0.23.1, 0.23.0...
18 months ago
  • Fix a crash when parsing inline TypeScript decorators (#2991)

    Previously esbuild's TypeScript parser crashed when parsing TypeScript decorators if the definition of the decorator was inlined into the decorator itself:

    @(function sealed(constructor: Function) {
      Object.seal(constructor);
      Object.seal(constructor.prototype);
    })
    class Foo {}

    This crash was not noticed earlier because this edge case did not have test coverage. The crash is fixed in this release.

Don't miss a new esbuild release

NewReleases is sending notifications on new releases.