@async-af/foreach
Advanced tools
Comparing version 5.0.1 to 5.1.0
/*! | ||
* @async-af/foreach/esm v5.0.1 | ||
* @async-af/foreach/esm v5.1.0 | ||
* | ||
@@ -4,0 +4,0 @@ * AsyncAF (Async/Await Fun) forEachAF method |
/*! | ||
* @async-af/foreach/esm/min v5.0.1 | ||
* @async-af/foreach/esm/min v5.1.0 | ||
* | ||
@@ -12,3 +12,3 @@ * AsyncAF (Async/Await Fun) forEachAF method | ||
*/ | ||
export default function forEachAF(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(o=>{if(!function permissiveIsArrayLike(r){return Array.isArray(r)||null!=r&&null!=r.length}(o))throw TypeError("forEachAF cannot be called on ".concat(o,", only on an Array or array-like Object"));return Array.prototype.forEach.call(o,r,n)})}; | ||
export default function(r){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(n=>{if(!(Array.isArray(o=n)||null!=o&&null!=o.length))throw TypeError("forEachAF cannot be called on ".concat(n,", only on an Array or array-like Object"));var o;return Array.prototype.forEach.call(n,r,a)})}; | ||
//# sourceMappingURL=min.js.map |
/*! | ||
* @async-af/foreach v5.0.1 | ||
* @async-af/foreach v5.1.0 | ||
* | ||
@@ -4,0 +4,0 @@ * AsyncAF (Async/Await Fun) forEachAF method |
/*! | ||
* @async-af/foreach/legacy v5.0.1 | ||
* @async-af/foreach/legacy v5.1.0 | ||
* | ||
@@ -4,0 +4,0 @@ * AsyncAF (Async/Await Fun) forEachAF method |
/*! | ||
* @async-af/foreach/legacy/min v5.0.1 | ||
* @async-af/foreach/legacy/min v5.1.0 | ||
* | ||
@@ -12,3 +12,3 @@ * AsyncAF (Async/Await Fun) forEachAF method | ||
*/ | ||
!function webpackUniversalModuleDefinition(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("forEachAF",[],r):"object"==typeof exports?exports.forEachAF=r():e.forEachAF=r()}("undefined"!=typeof self?self:this,function(){return function(e){var r={};function __webpack_require__(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}return __webpack_require__.m=e,__webpack_require__.c=r,__webpack_require__.d=function(e,r,t){__webpack_require__.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:t})},__webpack_require__.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.n=function(e){var r=e&&e.__esModule?function getDefault(){return e.default}:function getModuleExports(){return e};return __webpack_require__.d(r,"a",r),r},__webpack_require__.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=148)}({148:function(e,r,t){"use strict";t.r(r);var n=t(3);r.default=function forEachAF(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(t){if(!Object(n.a)(t))throw TypeError("forEachAF cannot be called on ".concat(t,", only on an Array or array-like Object"));return Array.prototype.forEach.call(t,e,r)})}},3:function(e,r,t){"use strict";r.a=function permissiveIsArrayLike(e){return Array.isArray(e)||null!=e&&null!=e.length}}}).default}); | ||
var e,r;e="undefined"!=typeof self?self:this,r=function(){return function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=150)}({150:function(e,r,t){"use strict";t.r(r);var n=t(3);r.default=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(t){if(!Object(n.a)(t))throw TypeError("forEachAF cannot be called on ".concat(t,", only on an Array or array-like Object"));return Array.prototype.forEach.call(t,e,r)})}},3:function(e,r,t){"use strict";r.a=function(e){return Array.isArray(e)||null!=e&&null!=e.length}}}).default},"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("forEachAF",[],r):"object"==typeof exports?exports.forEachAF=r():e.forEachAF=r(); | ||
//# sourceMappingURL=min.js.map |
/*! | ||
* @async-af/foreach/min v5.0.1 | ||
* @async-af/foreach/min v5.1.0 | ||
* | ||
@@ -12,3 +12,3 @@ * AsyncAF (Async/Await Fun) forEachAF method | ||
*/ | ||
!function webpackUniversalModuleDefinition(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("forEachAF",[],r):"object"==typeof exports?exports.forEachAF=r():e.forEachAF=r()}("undefined"!=typeof self?self:this,function(){return function(e){var r={};function __webpack_require__(t){if(r[t])return r[t].exports;var _=r[t]={i:t,l:!1,exports:{}};return e[t].call(_.exports,_,_.exports,__webpack_require__),_.l=!0,_.exports}return __webpack_require__.m=e,__webpack_require__.c=r,__webpack_require__.d=function(e,r,t){__webpack_require__.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:t})},__webpack_require__.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.n=function(e){var r=e&&e.__esModule?function getDefault(){return e.default}:function getModuleExports(){return e};return __webpack_require__.d(r,"a",r),r},__webpack_require__.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=13)}({0:function(e,r,t){"use strict";r.a=function permissiveIsArrayLike(e){return Array.isArray(e)||null!=e&&null!=e.length}},13:function(e,r,t){"use strict";t.r(r);var _=t(0);r.default=function forEachAF(e,r){return this.then(t=>{if(!Object(_.a)(t))throw TypeError(`forEachAF cannot be called on ${t}, only on an Array or array-like Object`);return Array.prototype.forEach.call(t,e,r)})}}}).default}); | ||
var e,r;e="undefined"!=typeof self?self:this,r=function(){return function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=15)}({0:function(e,r,t){"use strict";r.a=function(e){return Array.isArray(e)||null!=e&&null!=e.length}},15:function(e,r,t){"use strict";t.r(r);var n=t(0);r.default=function(e,r){return this.then(t=>{if(!Object(n.a)(t))throw TypeError(`forEachAF cannot be called on ${t}, only on an Array or array-like Object`);return Array.prototype.forEach.call(t,e,r)})}}}).default},"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("forEachAF",[],r):"object"==typeof exports?exports.forEachAF=r():e.forEachAF=r(); | ||
//# sourceMappingURL=min.js.map |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "5.0.1", | ||
"version": "5.1.0", | ||
"homepage": "https://async-af.js.org", | ||
@@ -40,5 +40,3 @@ "bugs": { | ||
"join", | ||
"pop", | ||
"shift", | ||
"splice" | ||
"split" | ||
], | ||
@@ -45,0 +43,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
49021
412