Releases: facebook/regenerator
v0.2.9
Context functions (the inner functions wrapped by wrapGenerator
) are now named when possible for more readable stack traces, thanks to @radford.
Fixed a bug with catch
parameter renaming that caused the transformer to abort when a nested catch
parameter shadowed the parameter of an outer catch
block: #56, #57.
v0.2.8
v0.2.7
v0.2.6
Fixed a bug involving delegated yield*
statements that throw uncaught exceptions: #50.
For those of you curious about transformer implementation details, the final case
in the generated switch
statement can now be jumped to by setting context.next = "end"
, which is especially useful in the runtime, since it generally doesn't know what the offset of the final case
will be.
v0.2.5
Fixed a bug where unqualified function calls would sometimes receive the wrong this
object. The value of this
should have been the global object, but typically it was the Context
object, which is something we generally don't want to leak into external code.