regenerator-transform
Advanced tools
Comparing version 0.12.2 to 0.12.3
@@ -88,3 +88,3 @@ "use strict"; | ||
var assignment = t.expressionStatement(t.assignmentExpression("=", node.id, t.functionExpression(node.id, node.params, node.body, node.generator, node.expression))); | ||
var assignment = t.expressionStatement(t.assignmentExpression("=", node.id, t.functionExpression(path.scope.generateUidIdentifierBasedOnNode(node), node.params, node.body, node.generator, node.expression))); | ||
@@ -91,0 +91,0 @@ if (path.parentPath.isBlockStatement()) { |
@@ -5,3 +5,3 @@ { | ||
"description": "Explode async and generator functions into a state machine.", | ||
"version": "0.12.2", | ||
"version": "0.12.3", | ||
"main": "lib/index.js", | ||
@@ -8,0 +8,0 @@ "keywords": [ |
@@ -90,3 +90,3 @@ /** | ||
t.functionExpression( | ||
node.id, | ||
path.scope.generateUidIdentifierBasedOnNode(node), | ||
node.params, | ||
@@ -93,0 +93,0 @@ node.body, |
129054