@babel/runtime-corejs2
Advanced tools
Comparing version 8.0.0-alpha.1 to 8.0.0-alpha.2
@@ -108,3 +108,6 @@ export default function _regeneratorRuntime() { | ||
if ("throw" === method) throw arg; | ||
return doneResult(); | ||
return { | ||
value: void 0, | ||
done: !0 | ||
}; | ||
} | ||
@@ -162,3 +165,3 @@ for (context.method = method, context.arg = arg;;) { | ||
function values(iterable) { | ||
if (iterable) { | ||
if (iterable || "" === iterable) { | ||
var iteratorMethod = iterable[iteratorSymbol]; | ||
@@ -176,12 +179,4 @@ if (iteratorMethod) return iteratorMethod.call(iterable); | ||
} | ||
return { | ||
next: doneResult | ||
}; | ||
throw new TypeError(typeof iterable + " is not iterable"); | ||
} | ||
function doneResult() { | ||
return { | ||
value: undefined, | ||
done: !0 | ||
}; | ||
} | ||
return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { | ||
@@ -188,0 +183,0 @@ value: GeneratorFunctionPrototype, |
@@ -108,3 +108,6 @@ function _regeneratorRuntime() { | ||
if ("throw" === method) throw arg; | ||
return doneResult(); | ||
return { | ||
value: void 0, | ||
done: !0 | ||
}; | ||
} | ||
@@ -162,3 +165,3 @@ for (context.method = method, context.arg = arg;;) { | ||
function values(iterable) { | ||
if (iterable) { | ||
if (iterable || "" === iterable) { | ||
var iteratorMethod = iterable[iteratorSymbol]; | ||
@@ -176,12 +179,4 @@ if (iteratorMethod) return iteratorMethod.call(iterable); | ||
} | ||
return { | ||
next: doneResult | ||
}; | ||
throw new TypeError(typeof iterable + " is not iterable"); | ||
} | ||
function doneResult() { | ||
return { | ||
value: undefined, | ||
done: !0 | ||
}; | ||
} | ||
return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { | ||
@@ -188,0 +183,0 @@ value: GeneratorFunctionPrototype, |
{ | ||
"name": "@babel/runtime-corejs2", | ||
"version": "8.0.0-alpha.1", | ||
"version": "8.0.0-alpha.2", | ||
"description": "babel's modular runtime helpers with core-js@2 polyfilling", | ||
@@ -18,3 +18,3 @@ "license": "MIT", | ||
"core-js": "^2.6.12", | ||
"regenerator-runtime": "^0.13.11" | ||
"regenerator-runtime": "^0.14.0" | ||
}, | ||
@@ -21,0 +21,0 @@ "exports": { |
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
287921
5489
+ Addedregenerator-runtime@0.14.1(transitive)
- Removedregenerator-runtime@0.13.11(transitive)
Updatedregenerator-runtime@^0.14.0