Releases: facebook/regenerator
v0.3.7
v0.3.6
Made it a TypeError
to send a value to a newborn generator, fixing #76. Note that this restriction is suspended for delegate generators invoked via yield*
, since there no agreement yet between V8 and SpiderMonkey on how to handle that case (V8 allows it but ignores the sent value, whereas SpiderMonkey throws a TypeError
because the outer generator appears to be newborn).
v0.3.5
v0.3.4
v0.3.3
Thanks to an optimization I recently made to the require("ast-types").traverse
function, transformation of test/tests.es6.js is now 25% faster than before.
v0.3.2
Modified the license header language to refer to https://github.com/facebook/regenerator/blob/master/LICENSE by URI instead of referring to the root directory of the source tree, so that files containing the license header will be easier to copy elsewhere (#69).
Upgraded dependencies. In particular, the new minor version of https://github.com/benjamn/recast now supports automatic source map generation.
v0.3.1
v0.3.0
As of #65 and #67, regenerator now supports rewriting let
/const
declarations as var
declarations, thanks to the work of @termi and @olov's https://github.com/olov/defs library.
This contribution demonstrates the feasibility of mixing and matching regenerator with other single-purpose ES6 transforms.