@babel/runtime-corejs2
Advanced tools
Comparing version 7.22.5 to 7.22.6
@@ -16,11 +16,8 @@ var _Object$create = require("core-js/library/fn/object/create.js"); | ||
function next() { | ||
if (0 !== stack.length) { | ||
var r = stack.pop(); | ||
if (r.a) return _Promise.resolve(r.d.call(r.v)).then(next, err); | ||
try { | ||
r.d.call(r.v); | ||
} catch (e) { | ||
return err(e); | ||
} | ||
return next(); | ||
for (; stack.length > 0;) try { | ||
var r = stack.pop(), | ||
p = r.d.call(r.v); | ||
if (r.a) return _Promise.resolve(p).then(next, err); | ||
} catch (e) { | ||
return err(e); | ||
} | ||
@@ -27,0 +24,0 @@ if (hasError) throw error; |
@@ -16,11 +16,8 @@ import _Object$create from "core-js/library/fn/object/create.js"; | ||
function next() { | ||
if (0 !== stack.length) { | ||
var r = stack.pop(); | ||
if (r.a) return _Promise.resolve(r.d.call(r.v)).then(next, err); | ||
try { | ||
r.d.call(r.v); | ||
} catch (e) { | ||
return err(e); | ||
} | ||
return next(); | ||
for (; stack.length > 0;) try { | ||
var r = stack.pop(), | ||
p = r.d.call(r.v); | ||
if (r.a) return _Promise.resolve(p).then(next, err); | ||
} catch (e) { | ||
return err(e); | ||
} | ||
@@ -27,0 +24,0 @@ if (hasError) throw error; |
@@ -6,3 +6,3 @@ import _typeof from "./typeof.js"; | ||
if (null == value) return value; | ||
if ("object" != _typeof(value)) throw new TypeError("using decarations can only be used with objects, null, or undefined."); | ||
if ("object" != _typeof(value)) throw new TypeError("using declarations can only be used with objects, null, or undefined."); | ||
if (isAwait) var dispose = value[_Symbol.asyncDispose || _Symbol$for("Symbol.asyncDispose")]; | ||
@@ -9,0 +9,0 @@ if (null == dispose && (dispose = value[_Symbol.dispose || _Symbol$for("Symbol.dispose")]), "function" != typeof dispose) throw new TypeError("Property [Symbol.dispose] is not a function."); |
@@ -6,3 +6,3 @@ var _Symbol = require("core-js/library/fn/symbol/index.js"); | ||
if (null == value) return value; | ||
if ("object" != _typeof(value)) throw new TypeError("using decarations can only be used with objects, null, or undefined."); | ||
if ("object" != _typeof(value)) throw new TypeError("using declarations can only be used with objects, null, or undefined."); | ||
if (isAwait) var dispose = value[_Symbol.asyncDispose || _Symbol$for("Symbol.asyncDispose")]; | ||
@@ -9,0 +9,0 @@ if (null == dispose && (dispose = value[_Symbol.dispose || _Symbol$for("Symbol.dispose")]), "function" != typeof dispose) throw new TypeError("Property [Symbol.dispose] is not a function."); |
{ | ||
"name": "@babel/runtime-corejs2", | ||
"version": "7.22.5", | ||
"version": "7.22.6", | ||
"description": "babel's modular runtime helpers with core-js@2 polyfilling", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -5,3 +5,3 @@ # @babel/runtime-corejs2 | ||
See our website [@babel/runtime-corejs2](https://babeljs.io/docs/en/babel-runtime-corejs2) for more information. | ||
See our website [@babel/runtime-corejs2](https://babeljs.io/docs/babel-runtime-corejs2) for more information. | ||
@@ -8,0 +8,0 @@ ## Install |
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
312280
5808