@babel/runtime-corejs3
Advanced tools
Comparing version 8.0.0-alpha.1 to 8.0.0-alpha.2
@@ -109,3 +109,6 @@ import _pushInstanceProperty from "core-js-pure/features/instance/push.js"; | ||
if ("throw" === method) throw arg; | ||
return doneResult(); | ||
return { | ||
value: void 0, | ||
done: !0 | ||
}; | ||
} | ||
@@ -164,3 +167,3 @@ for (context.method = method, context.arg = arg;;) { | ||
function values(iterable) { | ||
if (iterable) { | ||
if (iterable || "" === iterable) { | ||
var iteratorMethod = iterable[iteratorSymbol]; | ||
@@ -178,12 +181,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", { | ||
@@ -190,0 +185,0 @@ value: GeneratorFunctionPrototype, |
@@ -109,3 +109,6 @@ var _pushInstanceProperty = require("core-js-pure/features/instance/push.js"); | ||
if ("throw" === method) throw arg; | ||
return doneResult(); | ||
return { | ||
value: void 0, | ||
done: !0 | ||
}; | ||
} | ||
@@ -164,3 +167,3 @@ for (context.method = method, context.arg = arg;;) { | ||
function values(iterable) { | ||
if (iterable) { | ||
if (iterable || "" === iterable) { | ||
var iteratorMethod = iterable[iteratorSymbol]; | ||
@@ -178,12 +181,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", { | ||
@@ -190,0 +185,0 @@ value: GeneratorFunctionPrototype, |
{ | ||
"name": "@babel/runtime-corejs3", | ||
"version": "8.0.0-alpha.1", | ||
"version": "8.0.0-alpha.2", | ||
"description": "babel's modular runtime helpers with core-js@3 polyfilling", | ||
@@ -17,3 +17,3 @@ "license": "MIT", | ||
"core-js-pure": "^3.30.2", | ||
"regenerator-runtime": "^0.13.11" | ||
"regenerator-runtime": "^0.14.0" | ||
}, | ||
@@ -20,0 +20,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
324073
5527
+ Addedregenerator-runtime@0.14.1(transitive)
- Removedregenerator-runtime@0.13.11(transitive)
Updatedregenerator-runtime@^0.14.0