regenerator-runtime
Advanced tools
Comparing version 0.13.7 to 0.13.8
@@ -5,3 +5,3 @@ { | ||
"description": "Runtime for Regenerator-compiled generator and async functions.", | ||
"version": "0.13.7", | ||
"version": "0.13.8", | ||
"main": "runtime.js", | ||
@@ -8,0 +8,0 @@ "keywords": [ |
@@ -89,5 +89,5 @@ /** | ||
var IteratorPrototype = {}; | ||
IteratorPrototype[iteratorSymbol] = function () { | ||
define(IteratorPrototype, iteratorSymbol, function () { | ||
return this; | ||
}; | ||
}); | ||
@@ -106,4 +106,5 @@ var getProto = Object.getPrototypeOf; | ||
Generator.prototype = Object.create(IteratorPrototype); | ||
GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype; | ||
GeneratorFunctionPrototype.constructor = GeneratorFunction; | ||
GeneratorFunction.prototype = GeneratorFunctionPrototype; | ||
define(Gp, "constructor", GeneratorFunctionPrototype); | ||
define(GeneratorFunctionPrototype, "constructor", GeneratorFunction); | ||
GeneratorFunction.displayName = define( | ||
@@ -222,5 +223,5 @@ GeneratorFunctionPrototype, | ||
defineIteratorMethods(AsyncIterator.prototype); | ||
AsyncIterator.prototype[asyncIteratorSymbol] = function () { | ||
define(AsyncIterator.prototype, asyncIteratorSymbol, function () { | ||
return this; | ||
}; | ||
}); | ||
exports.AsyncIterator = AsyncIterator; | ||
@@ -418,9 +419,9 @@ | ||
// See https://github.com/facebook/regenerator/issues/274 for more details. | ||
Gp[iteratorSymbol] = function() { | ||
define(Gp, iteratorSymbol, function() { | ||
return this; | ||
}; | ||
}); | ||
Gp.toString = function() { | ||
define(Gp, "toString", function() { | ||
return "[object Generator]"; | ||
}; | ||
}); | ||
@@ -427,0 +428,0 @@ function pushTryEntry(locs) { |
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
27234
646