-
Fix a TypeScript parsing edge case with the postfix
!
operator (#1560)This release fixes a bug with esbuild's TypeScript parser where the postfix
!
operator incorrectly terminated a member expression after thenew
operator:// Original input new Foo!.Bar(); // Old output new Foo().Bar(); // New output new Foo.Bar();
The problem was that
!
was considered a postfix operator instead of part of a member expression. It is now considered to be part of a member expression instead, which fixes this edge case. -
Fix a parsing crash with nested private brand checks
This release fixes a bug in the parser where code of the form
#a in #b in c
caused a crash. This code now causes a syntax error instead. Private identifiers are allowed when followed byin
, but only if the operator precedence level is such that thein
operator is allowed. The parser was missing the operator precedence check. -
Publish x86-64 binary executables for illumos (#1562)
This release adds support for the illumos operating system, which is related to Solaris and SunOS. Support for this platform was contributed by @hadfl.