release notes
release notes
Published 3/17/2023
PatchSafe upgradeFix 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.
release notes
Published 3/17/2023
PatchSafe upgradeFix 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.
An extremely fast bundler for the web