regenerator-runtime
Advanced tools
Comparing version 0.9.5 to 0.9.6
@@ -5,3 +5,3 @@ { | ||
"description": "Runtime for Regenerator-compiled generator and async functions.", | ||
"version": "0.9.5", | ||
"version": "0.9.6", | ||
"main": "runtime-module.js", | ||
@@ -8,0 +8,0 @@ "keywords": [ |
@@ -38,4 +38,5 @@ /** | ||
function wrap(innerFn, outerFn, self, tryLocsList) { | ||
// If outerFn provided, then outerFn.prototype instanceof Generator. | ||
var generator = Object.create((outerFn || Generator).prototype); | ||
// If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator. | ||
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator; | ||
var generator = Object.create(protoGenerator.prototype); | ||
var context = new Context(tryLocsList || []); | ||
@@ -42,0 +43,0 @@ |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
24267
5
601
0
32