regenerator-6to5
Advanced tools
Comparing version 0.8.9-7 to 0.8.9-8
@@ -71,2 +71,13 @@ /** | ||
var outerBody = []; | ||
var bodyBlock = path.value.body; | ||
bodyBlock.body = bodyBlock.body.filter(function (node) { | ||
if (node && node._blockHoist != null) { | ||
outerBody.push(node); | ||
return false; | ||
} else { | ||
return true; | ||
} | ||
}); | ||
var innerFnId = b.identifier(node.id.name + "$"); | ||
@@ -79,4 +90,2 @@ var contextId = path.scope.declareTemporary("context$"); | ||
var outerBody = []; | ||
if (vars && vars.declarations.length > 0) { | ||
@@ -83,0 +92,0 @@ outerBody.push(vars); |
@@ -19,3 +19,3 @@ { | ||
], | ||
"version": "0.8.9-7", | ||
"version": "0.8.9-8", | ||
"homepage": "http://github.com/facebook/regenerator", | ||
@@ -22,0 +22,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
78429
2103