github evanw/esbuild v0.17.12

latest releases: v0.24.0, v0.23.1, v0.23.0...
20 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.