Releases: facebook/regenerator
v0.5.0
Now supporting the .return
method for generator objects (#109), in addition to .next
and .throw
.
Also now depending on the esprima-fb
NPM package instead of https://github.com/ariya/esprima/tree/harmony, which warrants the minor version bump.
v0.4.12
v0.4.11
Thanks to e282009 (and indirectly benjamn/ast-types@c5f6a4b), injected variable names for Context
, arguments
, and de-anonymized function names are now guaranteed not to collide with any existing variable names in nested or enclosing scopes, closing issues #11 and #22.
v0.4.10
v0.4.9
v0.4.6
v0.4.2
With this release, @amasad and I fixed a bug with exploded for
-in
loops that was reported by @qfox (#90). Inherited (non-own) object properties were being skipped by such loops, and properties deleted during a loop could sometimes be visited later in the loop. As a bonus, the code generated for exploded for
-in
loops is now less verbose than before, with more of the key-iteration logic now residing in the runtime!
v0.4.1
I revamped the way exceptions bubble up through finally
blocks to follow the ES6 spec more closely, in particular by adopting the implementation strategy of associating a completion record with every try
statement.