regenerator-runtime
Advanced tools
Comparing version 0.9.4 to 0.9.5
@@ -5,3 +5,3 @@ { | ||
"description": "Runtime for Regenerator-compiled generator and async functions.", | ||
"version": "0.9.4", | ||
"version": "0.9.5", | ||
"main": "runtime-module.js", | ||
@@ -8,0 +8,0 @@ "keywords": [ |
@@ -313,7 +313,5 @@ /** | ||
if (method === "next") { | ||
if (state === GenStateSuspendedYield) { | ||
context.sent = arg; | ||
} else { | ||
context.sent = undefined; | ||
} | ||
// Setting context._sent for legacy support of Babel's | ||
// function.sent implementation. | ||
context.sent = context._sent = arg; | ||
@@ -491,3 +489,5 @@ } else if (method === "throw") { | ||
this.next = 0; | ||
this.sent = undefined; | ||
// Resetting context._sent for legacy support of Babel's | ||
// function.sent implementation. | ||
this.sent = this._sent = undefined; | ||
this.done = false; | ||
@@ -494,0 +494,0 @@ this.delegate = null; |
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
23382