@async-af/findindex
Advanced tools
Comparing version 5.0.1 to 5.1.0
/*! | ||
* @async-af/findindex/esm v5.0.1 | ||
* @async-af/findindex/esm v5.1.0 | ||
* | ||
@@ -4,0 +4,0 @@ * AsyncAF (Async/Await Fun) findIndexAF method |
/*! | ||
* @async-af/findindex/esm/min v5.0.1 | ||
* @async-af/findindex/esm/min v5.1.0 | ||
* | ||
@@ -12,3 +12,3 @@ * AsyncAF (Async/Await Fun) findIndexAF method | ||
*/ | ||
export default function findIndexAF(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(e=>{if(!function permissiveIsArrayLike(r){return Array.isArray(r)||null!=r&&null!=r.length}(e))throw TypeError("findIndexAF cannot be called on ".concat(e,", only on an Array or array-like Object"));return Array.prototype.findIndex.call(e,r,n)})}; | ||
export default function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(e=>{if(!(Array.isArray(t=e)||null!=t&&null!=t.length))throw TypeError("findIndexAF cannot be called on ".concat(e,", only on an Array or array-like Object"));var t;return Array.prototype.findIndex.call(e,r,n)})}; | ||
//# sourceMappingURL=min.js.map |
/*! | ||
* @async-af/findindex v5.0.1 | ||
* @async-af/findindex v5.1.0 | ||
* | ||
@@ -4,0 +4,0 @@ * AsyncAF (Async/Await Fun) findIndexAF method |
/*! | ||
* @async-af/findindex/legacy v5.0.1 | ||
* @async-af/findindex/legacy v5.1.0 | ||
* | ||
@@ -4,0 +4,0 @@ * AsyncAF (Async/Await Fun) findIndexAF method |
/*! | ||
* @async-af/findindex/legacy/min v5.0.1 | ||
* @async-af/findindex/legacy/min v5.1.0 | ||
* | ||
@@ -12,3 +12,3 @@ * AsyncAF (Async/Await Fun) findIndexAF method | ||
*/ | ||
!function webpackUniversalModuleDefinition(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("findIndexAF",[],r):"object"==typeof exports?exports.findIndexAF=r():e.findIndexAF=r()}("undefined"!=typeof self?self:this,function(){return function(e){var r={};function __webpack_require__(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,__webpack_require__),t.l=!0,t.exports}return __webpack_require__.m=e,__webpack_require__.c=r,__webpack_require__.d=function(e,r,n){__webpack_require__.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},__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=141)}({141:function(e,r,n){"use strict";n.r(r);var t=n(3);r.default=function findIndexAF(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(n){if(!Object(t.a)(n))throw TypeError("findIndexAF cannot be called on ".concat(n,", only on an Array or array-like Object"));return Array.prototype.findIndex.call(n,e,r)})}},3:function(e,r,n){"use strict";r.a=function permissiveIsArrayLike(e){return Array.isArray(e)||null!=e&&null!=e.length}}}).default}); | ||
var e,n;e="undefined"!=typeof self?self:this,n=function(){return function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=143)}({143:function(e,n,t){"use strict";t.r(n);var r=t(3);n.default=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(t){if(!Object(r.a)(t))throw TypeError("findIndexAF cannot be called on ".concat(t,", only on an Array or array-like Object"));return Array.prototype.findIndex.call(t,e,n)})}},3:function(e,n,t){"use strict";n.a=function(e){return Array.isArray(e)||null!=e&&null!=e.length}}}).default},"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define("findIndexAF",[],n):"object"==typeof exports?exports.findIndexAF=n():e.findIndexAF=n(); | ||
//# sourceMappingURL=min.js.map |
/*! | ||
* @async-af/findindex/min v5.0.1 | ||
* @async-af/findindex/min v5.1.0 | ||
* | ||
@@ -12,3 +12,3 @@ * AsyncAF (Async/Await Fun) findIndexAF method | ||
*/ | ||
!function webpackUniversalModuleDefinition(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("findIndexAF",[],r):"object"==typeof exports?exports.findIndexAF=r():e.findIndexAF=r()}("undefined"!=typeof self?self:this,function(){return function(e){var r={};function __webpack_require__(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,__webpack_require__),t.l=!0,t.exports}return __webpack_require__.m=e,__webpack_require__.c=r,__webpack_require__.d=function(e,r,n){__webpack_require__.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},__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=6)}({0:function(e,r,n){"use strict";r.a=function permissiveIsArrayLike(e){return Array.isArray(e)||null!=e&&null!=e.length}},6:function(e,r,n){"use strict";n.r(r);var t=n(0);r.default=function findIndexAF(e,r){return this.then(n=>{if(!Object(t.a)(n))throw TypeError(`findIndexAF cannot be called on ${n}, only on an Array or array-like Object`);return Array.prototype.findIndex.call(n,e,r)})}}}).default}); | ||
var e,n;e="undefined"!=typeof self?self:this,n=function(){return function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=8)}({0:function(e,n,t){"use strict";n.a=function(e){return Array.isArray(e)||null!=e&&null!=e.length}},8:function(e,n,t){"use strict";t.r(n);var r=t(0);n.default=function(e,n){return this.then(t=>{if(!Object(r.a)(t))throw TypeError(`findIndexAF cannot be called on ${t}, only on an Array or array-like Object`);return Array.prototype.findIndex.call(t,e,n)})}}}).default},"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define("findIndexAF",[],n):"object"==typeof exports?exports.findIndexAF=n():e.findIndexAF=n(); | ||
//# 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
50711
412