regenerator-runtime
Advanced tools
Comparing version 0.10.4 to 0.10.5
@@ -5,3 +5,3 @@ { | ||
"description": "Runtime for Regenerator-compiled generator and async functions.", | ||
"version": "0.10.4", | ||
"version": "0.10.5", | ||
"main": "runtime-module.js", | ||
@@ -8,0 +8,0 @@ "keywords": [ |
@@ -193,4 +193,4 @@ /** | ||
if (typeof process === "object" && process.domain) { | ||
invoke = process.domain.bind(invoke); | ||
if (typeof global.process === "object" && global.process.domain) { | ||
invoke = global.process.domain.bind(invoke); | ||
} | ||
@@ -420,2 +420,11 @@ | ||
// A Generator should always return itself as the iterator object when the | ||
// @@iterator function is called on it. Some browsers' implementations of the | ||
// iterator prototype chain incorrectly implement this, causing the Generator | ||
// object to not be returned from this call. This ensures that doesn't happen. | ||
// See https://github.com/facebook/regenerator/issues/274 for more details. | ||
Gp[iteratorSymbol] = function() { | ||
return this; | ||
}; | ||
Gp.toString = function() { | ||
@@ -422,0 +431,0 @@ return "[object Generator]"; |
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
26744
655