github evanw/esbuild v0.12.13

latest releases: v0.24.0, v0.23.1, v0.23.0...
3 years ago
  • Fix using JS synchronous API from from non-main threads (#1406)

    This release fixes an issue with the new implementation of the synchronous JS API calls (transformSync and buildSync) when they are used from a thread other than the main thread. The problem happened because esbuild's new implementation uses node's worker_threads library internally and non-main threads were incorrectly assumed to be esbuild's internal thread instead of potentially another unrelated thread. Now esbuild's synchronous JS APIs should work correctly when called from non-main threads.

Don't miss a new esbuild release

NewReleases is sending notifications on new releases.