@babel/runtime
Advanced tools
Comparing version 7.22.6 to 7.22.10
@@ -109,3 +109,6 @@ import _typeof from "./typeof.js"; | ||
if ("throw" === method) throw arg; | ||
return doneResult(); | ||
return { | ||
value: void 0, | ||
done: !0 | ||
}; | ||
} | ||
@@ -163,3 +166,3 @@ for (context.method = method, context.arg = arg;;) { | ||
function values(iterable) { | ||
if (iterable) { | ||
if (iterable || "" === iterable) { | ||
var iteratorMethod = iterable[iteratorSymbol]; | ||
@@ -177,12 +180,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", { | ||
@@ -189,0 +184,0 @@ value: GeneratorFunctionPrototype, |
@@ -109,3 +109,6 @@ var _typeof = require("./typeof.js")["default"]; | ||
if ("throw" === method) throw arg; | ||
return doneResult(); | ||
return { | ||
value: void 0, | ||
done: !0 | ||
}; | ||
} | ||
@@ -163,3 +166,3 @@ for (context.method = method, context.arg = arg;;) { | ||
function values(iterable) { | ||
if (iterable) { | ||
if (iterable || "" === iterable) { | ||
var iteratorMethod = iterable[iteratorSymbol]; | ||
@@ -177,12 +180,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", { | ||
@@ -189,0 +184,0 @@ value: GeneratorFunctionPrototype, |
{ | ||
"name": "@babel/runtime", | ||
"version": "7.22.6", | ||
"version": "7.22.10", | ||
"description": "babel's modular runtime helpers", | ||
@@ -17,3 +17,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"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
281793
5556
+ Addedregenerator-runtime@0.14.1(transitive)
- Removedregenerator-runtime@0.13.11(transitive)
Updatedregenerator-runtime@^0.14.0