github evanw/esbuild v0.8.34

latest releases: v0.20.2, v0.20.1, v0.20.0...
3 years ago
  • Fix a parser bug about suffix expressions after an arrow function body (#701)

    The JavaScript parser incorrectly handled suffix expressions after a non-expression arrow function body. In practice, this came up when a semicolon was omitted from the end of an expression statement and the following expression could be considered a suffix expression:

    x = () => {}
    (y)

    This was incorrectly parsed as (x = () => {})(y); instead of x = () => {}; y;. With this release, this edge case should now be parsed correctly.

  • Add new neutral platform to help text (#695)

    The new --platform=neutral API option that was added in the previous release was incorrectly not listed in the CLI help text for the platform feature. This omission has been fixed. The fix was contributed by @hardfist.

Don't miss a new esbuild release

NewReleases is sending notifications on new releases.