is-array-like-x
Advanced tools
Comparing version 2.0.4 to 2.0.5
@@ -12,6 +12,8 @@ import isNil from 'is-nil-x'; | ||
export default function isArrayLike(value) { | ||
var isArrayLike = function isArrayLike(value) { | ||
return isNil(value) === false && isFunction(value, true) === false && isLength(value.length); | ||
} | ||
}; | ||
export default isArrayLike; | ||
//# sourceMappingURL=is-array-like-x.esm.js.map |
@@ -5,9 +5,9 @@ /*! | ||
"copywrite": "Copyright (c) 2015-2017", | ||
"date": "2019-07-16T21:45:07.268Z", | ||
"date": "2019-07-17T17:46:55.607Z", | ||
"describe": "", | ||
"description": "Determine if a value is array like.", | ||
"file": "is-array-like-x.js", | ||
"hash": "b4ea16131187434bb19a", | ||
"hash": "cc641b9eebc203cafdf1", | ||
"license": "MIT", | ||
"version": "2.0.4" | ||
"version": "2.0.5" | ||
} | ||
@@ -124,3 +124,3 @@ */ | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = 7); | ||
/******/ return __webpack_require__(__webpack_require__.s = 6); | ||
/******/ }) | ||
@@ -136,3 +136,3 @@ /************************************************************************/ | ||
var toStr = Object.prototype.toString; | ||
var hasSymbols = __webpack_require__(4)(); | ||
var hasSymbols = __webpack_require__(3)(); | ||
@@ -199,12 +199,3 @@ if (hasSymbols) { | ||
module.exports = 9007199254740991; | ||
/***/ }), | ||
/* 3 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
"use strict"; | ||
var getDay = Date.prototype.getDay; | ||
@@ -231,3 +222,3 @@ var tryDateObject = function tryDateObject(value) { | ||
/***/ }), | ||
/* 4 */ | ||
/* 3 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
@@ -239,3 +230,3 @@ | ||
var origSymbol = global.Symbol; | ||
var hasSymbolSham = __webpack_require__(6); | ||
var hasSymbolSham = __webpack_require__(5); | ||
@@ -251,6 +242,6 @@ module.exports = function hasNativeSymbols() { | ||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(5))) | ||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(4))) | ||
/***/ }), | ||
/* 5 */ | ||
/* 4 */ | ||
/***/ (function(module, exports) { | ||
@@ -281,3 +272,3 @@ | ||
/***/ }), | ||
/* 6 */ | ||
/* 5 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
@@ -331,3 +322,3 @@ | ||
/***/ }), | ||
/* 7 */ | ||
/* 6 */ | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
@@ -345,8 +336,10 @@ | ||
*/ | ||
function isNil(value) { | ||
var isNil = function isNil(value) { | ||
/* eslint-disable-next-line lodash/prefer-is-nil */ | ||
return value === null || typeof value === 'undefined'; | ||
} | ||
}; | ||
/* harmony default export */ var is_nil_x_esm = (isNil); | ||
// CONCATENATED MODULE: ./node_modules/attempt-x/dist/attempt-x.esm.js | ||
@@ -362,3 +355,3 @@ /** | ||
*/ | ||
function attempt(fn) { | ||
var attempt = function attempt(fn) { | ||
try { | ||
@@ -381,5 +374,7 @@ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { | ||
} | ||
} | ||
}; | ||
/* harmony default export */ var attempt_x_esm = (attempt); | ||
// CONCATENATED MODULE: ./node_modules/to-boolean-x/dist/to-boolean-x.esm.js | ||
@@ -392,21 +387,9 @@ /** | ||
*/ | ||
function toBoolean(value) { | ||
var toBoolean = function toBoolean(value) { | ||
return !!value; | ||
} | ||
}; | ||
/* harmony default export */ var to_boolean_x_esm = (toBoolean); | ||
// CONCATENATED MODULE: ./node_modules/is-falsey-x/dist/is-falsey-x.esm.js | ||
/** | ||
* This method tests if a given value is falsey. | ||
* | ||
* @param {*} [value] - The value to test. | ||
* @returns {boolean} `true` if the value is falsey: otherwise `false`. | ||
*/ | ||
function isFalsey(value) { | ||
return !toBoolean(value); | ||
} | ||
// CONCATENATED MODULE: ./node_modules/to-string-tag-x/dist/to-string-tag-x.esm.js | ||
@@ -422,3 +405,3 @@ var nativeObjectToString = {}.toString; | ||
function toStringTag(value) { | ||
var toStringTag = function toStringTag(value) { | ||
if (value === null) { | ||
@@ -433,5 +416,7 @@ return '[object Null]'; | ||
return nativeObjectToString.call(value); | ||
} | ||
}; | ||
/* harmony default export */ var to_string_tag_x_esm = (toStringTag); | ||
// EXTERNAL MODULE: ./node_modules/is-symbol/index.js | ||
@@ -448,3 +433,3 @@ var is_symbol = __webpack_require__(0); | ||
var hasSymbolSupport = attempt(function () { | ||
var hasSymbolSupport = attempt_x_esm(function () { | ||
_newArrowCheck(this, _this); | ||
@@ -495,4 +480,4 @@ | ||
function requireObjectCoercible(value) { | ||
if (isNil(value)) { | ||
var require_object_coercible_x_esm_requireObjectCoercible = function requireObjectCoercible(value) { | ||
if (is_nil_x_esm(value)) { | ||
throw new TypeError("Cannot call method on ".concat(value)); | ||
@@ -502,5 +487,7 @@ } | ||
return value; | ||
} | ||
}; | ||
/* harmony default export */ var require_object_coercible_x_esm = (require_object_coercible_x_esm_requireObjectCoercible); | ||
// CONCATENATED MODULE: ./node_modules/to-string-x/dist/to-string-x.esm.js | ||
@@ -518,3 +505,3 @@ | ||
function ToString(value) { | ||
var to_string_x_esm_ToString = function ToString(value) { | ||
if (is_symbol_default()(value)) { | ||
@@ -525,5 +512,7 @@ throw new TypeError(ERROR_MESSAGE); | ||
return castString(value); | ||
} | ||
}; | ||
/* harmony default export */ var to_string_x_esm = (to_string_x_esm_ToString); | ||
// CONCATENATED MODULE: ./node_modules/require-coercible-to-string-x/dist/require-coercible-to-string-x.esm.js | ||
@@ -540,7 +529,9 @@ | ||
function requireCoercibleToString(value) { | ||
return ToString(requireObjectCoercible(value)); | ||
} | ||
var require_coercible_to_string_x_esm_requireCoercibleToString = function requireCoercibleToString(value) { | ||
return to_string_x_esm(require_object_coercible_x_esm(value)); | ||
}; | ||
/* harmony default export */ var require_coercible_to_string_x_esm = (require_coercible_to_string_x_esm_requireCoercibleToString); | ||
// CONCATENATED MODULE: ./node_modules/white-space-x/dist/white-space-x.esm.js | ||
@@ -876,3 +867,3 @@ /** | ||
function trimLeft2016(string) { | ||
return replace.call(requireCoercibleToString(string), reLeft2016, EMPTY_STRING); | ||
return replace.call(require_coercible_to_string_x_esm(string), reLeft2016, EMPTY_STRING); | ||
} | ||
@@ -887,7 +878,9 @@ /** | ||
function trimLeft2018(string) { | ||
return replace.call(requireCoercibleToString(string), reLeft, EMPTY_STRING); | ||
} | ||
var trim_left_x_esm_trimLeft2018 = function trimLeft2018(string) { | ||
return replace.call(require_coercible_to_string_x_esm(string), reLeft, EMPTY_STRING); | ||
}; | ||
/* harmony default export */ var trim_left_x_esm = (trim_left_x_esm_trimLeft2018); | ||
// CONCATENATED MODULE: ./node_modules/trim-right-x/dist/trim-right-x.esm.js | ||
@@ -910,3 +903,3 @@ | ||
function trimRight2016(string) { | ||
return trim_right_x_esm_replace.call(requireCoercibleToString(string), reRight2016, trim_right_x_esm_EMPTY_STRING); | ||
return trim_right_x_esm_replace.call(require_coercible_to_string_x_esm(string), reRight2016, trim_right_x_esm_EMPTY_STRING); | ||
} | ||
@@ -921,7 +914,9 @@ /** | ||
function trimRight2018(string) { | ||
return trim_right_x_esm_replace.call(requireCoercibleToString(string), reRight2018, trim_right_x_esm_EMPTY_STRING); | ||
} | ||
var trim_right_x_esm_trimRight2018 = function trimRight2018(string) { | ||
return trim_right_x_esm_replace.call(require_coercible_to_string_x_esm(string), reRight2018, trim_right_x_esm_EMPTY_STRING); | ||
}; | ||
/* harmony default export */ var trim_right_x_esm = (trim_right_x_esm_trimRight2018); | ||
// CONCATENATED MODULE: ./node_modules/trim-x/dist/trim-x.esm.js | ||
@@ -951,7 +946,9 @@ | ||
function trim2018(string) { | ||
return trimLeft2018(trimRight2018(string)); | ||
} | ||
var trim_x_esm_trim2018 = function trim2018(string) { | ||
return trim_left_x_esm(trim_right_x_esm(string)); | ||
}; | ||
/* harmony default export */ var trim_x_esm = (trim_x_esm_trim2018); | ||
// CONCATENATED MODULE: ./node_modules/normalize-space-x/dist/normalize-space-x.esm.js | ||
@@ -987,7 +984,9 @@ | ||
function normalizeSpace2018(string) { | ||
return normalize_space_x_esm_replace.call(trim2018(string), reNormalize2018, SPACE); | ||
} | ||
var normalize_space_x_esm_normalizeSpace2018 = function normalizeSpace2018(string) { | ||
return normalize_space_x_esm_replace.call(trim_x_esm(string), reNormalize2018, SPACE); | ||
}; | ||
/* harmony default export */ var normalize_space_x_esm = (normalize_space_x_esm_normalizeSpace2018); | ||
// CONCATENATED MODULE: ./node_modules/replace-comments-x/dist/replace-comments-x.esm.js | ||
@@ -1009,7 +1008,9 @@ | ||
function replaceComments(string, replacement) { | ||
return replace_comments_x_esm_replace.call(requireCoercibleToString(string), STRIP_COMMENTS, arguments.length > 1 ? ToString(replacement) : replace_comments_x_esm_EMPTY_STRING); | ||
} | ||
var replace_comments_x_esm_replaceComments = function replaceComments(string, replacement) { | ||
return replace_comments_x_esm_replace.call(require_coercible_to_string_x_esm(string), STRIP_COMMENTS, arguments.length > 1 ? to_string_x_esm(replacement) : replace_comments_x_esm_EMPTY_STRING); | ||
}; | ||
/* harmony default export */ var replace_comments_x_esm = (replace_comments_x_esm_replaceComments); | ||
// CONCATENATED MODULE: ./node_modules/is-function-x/dist/is-function-x.esm.js | ||
@@ -1027,5 +1028,6 @@ var is_function_x_esm_this = undefined; | ||
var FunctionCtr = attempt_x_esm.constructor; | ||
var castBoolean = true.constructor; | ||
var is_function_x_esm_SPACE = ' '; | ||
var fToString = Function.prototype.toString; | ||
var fToString = attempt_x_esm.toString; | ||
var funcTag = '[object Function]'; | ||
@@ -1036,15 +1038,15 @@ var genTag = '[object GeneratorFunction]'; | ||
var test = ctrRx.test; | ||
var hasNativeClass = attempt(function () { | ||
var hasNativeClass = attempt_x_esm(function () { | ||
is_function_x_esm_newArrowCheck(this, is_function_x_esm_this); | ||
/* eslint-disable-next-line no-new-func */ | ||
return Function('"use strict"; return class My {};')(); | ||
/* eslint-disable-next-line babel/new-cap */ | ||
return FunctionCtr('"use strict"; return class My {};')(); | ||
}.bind(undefined)).threw === false; | ||
var testClassstring = function _testClassstring(value) { | ||
return test.call(ctrRx, normalizeSpace2018(replaceComments(fToString.call(value), is_function_x_esm_SPACE))); | ||
return test.call(ctrRx, normalize_space_x_esm(replace_comments_x_esm(fToString.call(value), is_function_x_esm_SPACE))); | ||
}; | ||
var isES6ClassFn = function isES6ClassFunc(value) { | ||
var result = attempt(testClassstring, value); | ||
var result = attempt_x_esm(testClassstring, value); | ||
return result.threw === false && result.value; | ||
@@ -1068,3 +1070,3 @@ }; | ||
return attempt.call(value, fToString).threw === false; | ||
return attempt_x_esm.call(value, fToString).threw === false; | ||
}; | ||
@@ -1081,3 +1083,3 @@ /** | ||
function isFunction(value, allowClass) { | ||
var is_function_x_esm_isFunction = function isFunction(value, allowClass) { | ||
if (is_primitive_default()(value)) { | ||
@@ -1088,14 +1090,16 @@ return false; | ||
if (has_to_string_tag_x_esm) { | ||
return tryFuncToString(value, toBoolean(allowClass)); | ||
return tryFuncToString(value, to_boolean_x_esm(allowClass)); | ||
} | ||
if (hasNativeClass && isFalsey(allowClass) && isES6ClassFn(value)) { | ||
if (hasNativeClass && castBoolean(allowClass) === false && isES6ClassFn(value)) { | ||
return false; | ||
} | ||
var strTag = toStringTag(value); | ||
var strTag = to_string_tag_x_esm(value); | ||
return strTag === funcTag || strTag === genTag || strTag === asyncTag; | ||
} | ||
}; | ||
/* harmony default export */ var is_function_x_esm = (is_function_x_esm_isFunction); | ||
// CONCATENATED MODULE: ./node_modules/is-nan-x/dist/is-nan-x.esm.js | ||
@@ -1110,8 +1114,10 @@ /** | ||
*/ | ||
function is_nan_x_esm_isNaN(value) { | ||
var is_nan_x_esm_isNaN = function isNaN(value) { | ||
/* eslint-disable-next-line no-self-compare */ | ||
return value !== value; | ||
} | ||
}; | ||
/* harmony default export */ var is_nan_x_esm = (is_nan_x_esm_isNaN); | ||
// CONCATENATED MODULE: ./node_modules/infinity-x/dist/infinity-x.esm.js | ||
@@ -1136,9 +1142,11 @@ /** | ||
function is_finite_x_esm_isFinite(number) { | ||
return typeof number === 'number' && is_nan_x_esm_isNaN(number) === false && number !== infinity_x_esm && number !== -infinity_x_esm; | ||
} | ||
var is_finite_x_esm_isFinite = function isFinite(number) { | ||
return typeof number === 'number' && is_nan_x_esm(number) === false && number !== infinity_x_esm && number !== -infinity_x_esm; | ||
}; | ||
/* harmony default export */ var is_finite_x_esm = (is_finite_x_esm_isFinite); | ||
// EXTERNAL MODULE: ./node_modules/is-date-object/index.js | ||
var is_date_object = __webpack_require__(3); | ||
var is_date_object = __webpack_require__(2); | ||
var is_date_object_default = /*#__PURE__*/__webpack_require__.n(is_date_object); | ||
@@ -1184,3 +1192,3 @@ | ||
var ordinaryToPrimitive = function _ordinaryToPrimitive(ordinary, hint) { | ||
requireObjectCoercible(ordinary); | ||
require_object_coercible_x_esm(ordinary); | ||
@@ -1198,3 +1206,3 @@ if (typeof hint !== 'string' || hint !== NUMBER && hint !== STRING) { | ||
if (isFunction(method)) { | ||
if (is_function_x_esm(method)) { | ||
result = method.call(ordinary); | ||
@@ -1220,4 +1228,4 @@ | ||
if (isNil(func) === false) { | ||
if (isFunction(func) === false) { | ||
if (is_nil_x_esm(func) === false) { | ||
if (is_function_x_esm(func) === false) { | ||
throw new TypeError("".concat(func, " returned for property ").concat(property, " of object ").concat(object, " is not a function")); | ||
@@ -1291,3 +1299,3 @@ } | ||
function toPrimitive(input, preferredType) { | ||
var to_primitive_x_esm_toPrimitive = function toPrimitive(input, preferredType) { | ||
if (is_primitive_default()(input)) { | ||
@@ -1312,5 +1320,7 @@ return input; | ||
return ordinaryToPrimitive(input, newHint === DEFAULT ? NUMBER : newHint); | ||
} | ||
}; | ||
/* harmony default export */ var to_primitive_x_esm = (to_primitive_x_esm_toPrimitive); | ||
// CONCATENATED MODULE: ./node_modules/nan-x/dist/nan-x.esm.js | ||
@@ -1357,3 +1367,3 @@ /** | ||
function parseInt2016(string, radix) { | ||
var str = trimLeft2016(ToString(string)); | ||
var str = trimLeft2016(to_string_x_esm(string)); | ||
return nativeParseInt(str, castNumber(radix) || (parse_int_x_esm_test.call(hexRegex, str) ? 16 : 10)); | ||
@@ -1379,4 +1389,4 @@ } | ||
function parseInt2018(string, radix) { | ||
var str = trimLeft2018(ToString(string)); | ||
var parse_int_x_esm_parseInt2018 = function parseInt2018(string, radix) { | ||
var str = trim_left_x_esm(to_string_x_esm(string)); | ||
@@ -1388,5 +1398,7 @@ if (charAt.call(str, 0) === "\u180E") { | ||
return nativeParseInt(str, castNumber(radix) || (parse_int_x_esm_test.call(hexRegex, str) ? 16 : 10)); | ||
} | ||
}; | ||
/* harmony default export */ var parse_int_x_esm = (parse_int_x_esm_parseInt2018); | ||
// CONCATENATED MODULE: ./node_modules/to-number-x/dist/to-number-x.esm.js | ||
@@ -1449,3 +1461,3 @@ | ||
function toNumber2016(argument) { | ||
var value = toPrimitive(argument, Number); | ||
var value = to_primitive_x_esm(argument, Number); | ||
@@ -1486,4 +1498,4 @@ if (is_symbol_default()(value)) { | ||
function toNumber2018(argument) { | ||
var value = toPrimitive(argument, to_number_x_esm_castNumber); | ||
var to_number_x_esm_toNumber2018 = function toNumber2018(argument) { | ||
var value = to_primitive_x_esm(argument, to_number_x_esm_castNumber); | ||
@@ -1496,7 +1508,7 @@ if (is_symbol_default()(value)) { | ||
if (isBinary(value)) { | ||
return toNumber2018(parseInt2018(pStrSlice.call(value, testCharsCount), binaryRadix)); | ||
return toNumber2018(parse_int_x_esm(pStrSlice.call(value, testCharsCount), binaryRadix)); | ||
} | ||
if (isOctal(value)) { | ||
return toNumber2018(parseInt2018(pStrSlice.call(value, testCharsCount), octalRadix)); | ||
return toNumber2018(parse_int_x_esm(pStrSlice.call(value, testCharsCount), octalRadix)); | ||
} | ||
@@ -1508,3 +1520,3 @@ | ||
var trimmed = trim2018(value); | ||
var trimmed = trim_x_esm(value); | ||
@@ -1517,5 +1529,7 @@ if (trimmed !== value) { | ||
return to_number_x_esm_castNumber(value); | ||
} | ||
}; | ||
/* harmony default export */ var to_number_x_esm = (to_number_x_esm_toNumber2018); | ||
// CONCATENATED MODULE: ./node_modules/math-sign-x/dist/math-sign-x.esm.js | ||
@@ -1537,3 +1551,3 @@ | ||
if (n === 0 || is_nan_x_esm_isNaN(n)) { | ||
if (n === 0 || is_nan_x_esm(n)) { | ||
return n; | ||
@@ -1554,6 +1568,6 @@ } | ||
function sign2018(x) { | ||
var n = toNumber2018(x); | ||
var math_sign_x_esm_sign2018 = function sign2018(x) { | ||
var n = to_number_x_esm(x); | ||
if (n === 0 || is_nan_x_esm_isNaN(n)) { | ||
if (n === 0 || is_nan_x_esm(n)) { | ||
return n; | ||
@@ -1563,5 +1577,7 @@ } | ||
return n > 0 ? 1 : -1; | ||
} | ||
}; | ||
/* harmony default export */ var math_sign_x_esm = (math_sign_x_esm_sign2018); | ||
// CONCATENATED MODULE: ./node_modules/to-integer-x/dist/to-integer-x.esm.js | ||
@@ -1584,7 +1600,7 @@ | ||
if (is_nan_x_esm_isNaN(number)) { | ||
if (is_nan_x_esm(number)) { | ||
return 0; | ||
} | ||
if (number === 0 || is_finite_x_esm_isFinite(number) === false) { | ||
if (number === 0 || is_finite_x_esm(number) === false) { | ||
return number; | ||
@@ -1602,17 +1618,19 @@ } | ||
function toInteger2018(value) { | ||
var number = toNumber2018(value); | ||
var to_integer_x_esm_toInteger2018 = function toInteger2018(value) { | ||
var number = to_number_x_esm(value); | ||
if (is_nan_x_esm_isNaN(number)) { | ||
if (is_nan_x_esm(number)) { | ||
return 0; | ||
} | ||
if (number === 0 || is_finite_x_esm_isFinite(number) === false) { | ||
if (number === 0 || is_finite_x_esm(number) === false) { | ||
return number; | ||
} | ||
return sign2018(number) * floor(abs(number)); | ||
} | ||
return math_sign_x_esm(number) * floor(abs(number)); | ||
}; | ||
/* harmony default export */ var to_integer_x_esm = (to_integer_x_esm_toInteger2018); | ||
// CONCATENATED MODULE: ./node_modules/is-integer-x/dist/is-integer-x.esm.js | ||
@@ -1628,15 +1646,13 @@ | ||
function isInteger(value) { | ||
return is_finite_x_esm_isFinite(value) && toInteger2018(value) === value; | ||
} | ||
var is_integer_x_esm_isInteger = function isInteger(value) { | ||
return is_finite_x_esm(value) && to_integer_x_esm(value) === value; | ||
}; | ||
/* harmony default export */ var is_integer_x_esm = (is_integer_x_esm_isInteger); | ||
// EXTERNAL MODULE: ./node_modules/max-safe-integer/index.js | ||
var max_safe_integer = __webpack_require__(2); | ||
var max_safe_integer_default = /*#__PURE__*/__webpack_require__.n(max_safe_integer); | ||
// CONCATENATED MODULE: ./node_modules/is-safe-integer-x/dist/is-safe-integer-x.esm.js | ||
var MIN_SAFE_INTEGER = -max_safe_integer_default.a; | ||
var MAX_SAFE_INTEGER = 9007199254740991; | ||
var MIN_SAFE_INTEGER = -MAX_SAFE_INTEGER; | ||
/** | ||
@@ -1654,7 +1670,9 @@ * This method determines whether the passed value is a safe integer. | ||
function isSafeInteger(value) { | ||
return isInteger(value) && value >= MIN_SAFE_INTEGER && value <= max_safe_integer_default.a; | ||
} | ||
var is_safe_integer_x_esm_isSafeInteger = function isSafeInteger(value) { | ||
return is_integer_x_esm(value) && value >= MIN_SAFE_INTEGER && value <= MAX_SAFE_INTEGER; | ||
}; | ||
/* harmony default export */ var is_safe_integer_x_esm = (is_safe_integer_x_esm_isSafeInteger); | ||
// CONCATENATED MODULE: ./node_modules/is-length-x/dist/is-length-x.esm.js | ||
@@ -1669,9 +1687,10 @@ | ||
function isLength(value) { | ||
return isSafeInteger(value) && value >= 0; | ||
} | ||
var is_length_x_esm_isLength = function isLength(value) { | ||
return is_safe_integer_x_esm(value) && value >= 0; | ||
}; | ||
/* harmony default export */ var is_length_x_esm = (is_length_x_esm_isLength); | ||
// CONCATENATED MODULE: ./dist/is-array-like-x.esm.js | ||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return isArrayLike; }); | ||
@@ -1688,8 +1707,10 @@ | ||
function isArrayLike(value) { | ||
return isNil(value) === false && isFunction(value, true) === false && isLength(value.length); | ||
} | ||
var is_array_like_x_esm_isArrayLike = function isArrayLike(value) { | ||
return is_nil_x_esm(value) === false && is_function_x_esm(value, true) === false && is_length_x_esm(value.length); | ||
}; | ||
/* harmony default export */ var is_array_like_x_esm = __webpack_exports__["default"] = (is_array_like_x_esm_isArrayLike); | ||
/***/ }) | ||
@@ -1696,0 +1717,0 @@ /******/ ]); |
@@ -5,12 +5,12 @@ /*! | ||
"copywrite": "Copyright (c) 2015-2017", | ||
"date": "2019-07-16T21:45:07.268Z", | ||
"date": "2019-07-17T17:46:55.607Z", | ||
"describe": "", | ||
"description": "Determine if a value is array like.", | ||
"file": "is-array-like-x.min.js", | ||
"hash": "d4fb64c2c8f6521de5f9", | ||
"hash": "d5164cb7cc4d32342f65", | ||
"license": "MIT", | ||
"version": "2.0.4" | ||
"version": "2.0.5" | ||
} | ||
*/ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.isArrayLikeX=t():e.isArrayLikeX=t()}(function(){"use strict";return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:Function("return this")()}(),function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=7)}([function(e,t,r){"use strict";var n=Object.prototype.toString;if(r(4)()){var o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==n.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&i.test(o.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},function(e,t,r){"use strict"; | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.isArrayLikeX=t():e.isArrayLikeX=t()}(function(){"use strict";return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:Function("return this")()}(),function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=6)}([function(e,t,r){"use strict";var n=Object.prototype.toString;if(r(3)()){var o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==n.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&i.test(o.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},function(e,t,r){"use strict"; | ||
/*! | ||
@@ -21,3 +21,3 @@ * is-primitive <https://github.com/jonschlinkert/is-primitive> | ||
* Released under the MIT License. | ||
*/e.exports=function(e){return"object"==typeof e?null===e:"function"!=typeof e}},function(e,t,r){"use strict";e.exports=9007199254740991},function(e,t,r){"use strict";var n=Date.prototype.getDay,o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"object"==typeof e&&null!==e&&(i?function(e){try{return n.call(e),!0}catch(e){return!1}}(e):"[object Date]"===o.call(e))}},function(e,t,r){"use strict";(function(t){var n=t.Symbol,o=r(6);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,r(5))},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(e,t,r){"use strict";function n(e){return null==e}function o(e){try{for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return{threw:!1,value:e.apply(this,r)}}catch(e){return{threw:!0,value:e}}}function i(e){return!!e}r.r(t);var s={}.toString;var c=r(0),u=r.n(c);var a=o(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),"function"==typeof Symbol&&u()(Symbol(""))}.bind(void 0)),f=!1===a.threw&&!0===a.value,l=f&&u()(Symbol.toStringTag),p=r(1),y=r.n(p);function d(e){if(n(e))throw new TypeError("Cannot call method on ".concat(e));return e}var b="Cannot convert a Symbol value to a string",g=b.constructor;function v(e){if(u()(e))throw new TypeError(b);return g(e)}function m(e){return v(d(e))}for(var w=[{code:9,description:"Tab",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\t"},{code:10,description:"Line Feed",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\n"},{code:11,description:"Vertical Tab",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\v"},{code:12,description:"Form Feed",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\f"},{code:13,description:"Carriage Return",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\r"},{code:32,description:"Space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:160,description:"No-break space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:5760,description:"Ogham space mark",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:6158,description:"Mongolian vowel separator",es5:!0,es2015:!0,es2016:!0,es2017:!1,es2018:!1,string:""},{code:8192,description:"En quad",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8193,description:"Em quad",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8194,description:"En space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8195,description:"Em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8196,description:"Three-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8197,description:"Four-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8198,description:"Six-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8199,description:"Figure space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8200,description:"Punctuation space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8201,description:"Thin space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8202,description:"Hair space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8232,description:"Line separator",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2028"},{code:8233,description:"Paragraph separator",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2029"},{code:8239,description:"Narrow no-break space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8287,description:"Medium mathematical space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:12288,description:"Ideographic space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:65279,description:"Byte Order Mark",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\ufeff"}],h="",S="",j=w.length,O=0;O<j;O+=1)w[O].es2016&&(h+=w[O].string),w[O].es2018&&(S+=w[O].string);var x=S,T=h,E="",P=/none/.constructor,F=(new P("^[".concat(T,"]+")),new P("^[".concat(x,"]+"))),M=E.replace;function k(e){return M.call(m(e),F,E)}var N="",$=/none/.constructor,C=(new $("[".concat(T,"]+$")),new $("[".concat(x,"]+$"))),_=N.replace;function A(e){return k(function(e){return _.call(m(e),C,N)}(e))}var D=" ",L=/none/.constructor,I=(new L("[".concat(T,"]+"),"g"),new L("[".concat(x,"]+"),"g")),X=D.replace;var q="",B=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,G=q.replace;var H=Function.prototype.toString,R="[object Function]",U="[object GeneratorFunction]",V="[object AsyncFunction]",z=/^class /,J=z.test,K=!1===o(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),Function('"use strict"; return class My {};')()}.bind(void 0)).threw,Q=function(e){return J.call(z,function(e){return X.call(A(e),I,D)}(function(e,t){return G.call(m(e),B,arguments.length>1?v(t):q)}(H.call(e)," ")))},W=function(e){var t=o(Q,e);return!1===t.threw&&t.value},Y=function(e,t){return(!K||!1!==t||!W(e))&&!1===o.call(e,H).threw};function Z(e,t){if(y()(e))return!1;if(l)return Y(e,i(t));if(K&&function(e){return!i(e)}(t)&&W(e))return!1;var r=function(e){return null===e?"[object Null]":void 0===e?"[object Undefined]":s.call(e)}(e);return r===R||r===U||r===V}function ee(e){return e!=e}var te=1/0;function re(e){return"number"==typeof e&&!1===ee(e)&&e!==te&&e!==-te}var ne=r(3),oe=r.n(ne),ie=1,se="number",ce="string",ue="default",ae=ce.constructor,fe=(0).constructor,le=f&&Symbol.toPrimitive,pe=f&&Symbol.prototype.valueOf,ye=["toString","valueOf"],de=["valueOf","toString"],be=function(e,t){if(d(e),"string"!=typeof t||t!==se&&t!==ce)throw new TypeError('hint must be "string" or "number"');for(var r,n,o=t===ce?ye:de,i=0;i<2;i+=ie)if(Z(r=e[o[i]])&&(n=r.call(e),y()(n)))return n;throw new TypeError("No default value")},ge=function(e,t){if(t){if(e===ae)return ce;if(e===fe)return se}return ue},ve=function(e){if(f){if(le)return function(e,t){var r=e[t];if(!1===n(r)){if(!1===Z(r))throw new TypeError("".concat(r," returned for property ").concat(t," of object ").concat(e," is not a function"));return r}}(e,le);if(u()(e))return pe}};function me(e,t){if(y()(e))return e;var r=ge(t,arguments.length>ie),n=ve(e);if(void 0!==n){var o=n.call(e,r);if(y()(o))return o;throw new TypeError("unable to convert exotic object to primitive")}var i=r===ue&&(oe()(e)||u()(e))?ce:r;return be(e,i===ue?se:i)}var we=NaN,he=parseInt,Se=(0).constructor,je="".charAt,Oe=/^[-+]?0[xX]/,xe=Oe.test;function Te(e,t){var r=k(v(e));return""===je.call(r,0)?we:he(r,Se(t)||(xe.call(Oe,r)?16:10))}var Ee=2,Pe=8,Fe=2,Me="Cannot convert a Symbol value to a number",ke=Fe.constructor,Ne=Me.slice,$e=/^0b[01]+$/i,Ce=$e.constructor,_e=$e.test,Ae=function(e){return _e.call($e,e)},De=/^0o[0-7]+$/i,Le=function(e){return _e.call(De,e)},Ie=(new Ce("[ ]","g"),new Ce("[ ]","g")),Xe=function(e){return _e.call(Ie,e)},qe=/^[-+]0x[0-9a-f]+$/i,Be=function(e){return _e.call(qe,e)};function Ge(e){var t=me(e,ke);if(u()(t))throw new TypeError(Me);if("string"==typeof t){if(Ae(t))return Ge(Te(Ne.call(t,Fe),Ee));if(Le(t))return Ge(Te(Ne.call(t,Fe),Pe));if(Xe(t)||Be(t))return we;var r=A(t);if(r!==t)return Ge(r)}return ke(t)}var He=Math.abs,Re=Math.floor;function Ue(e){var t,r=Ge(e);return ee(r)?0:0===r||!1===re(r)?r:(0===(t=Ge(r))||ee(t)?t:t>0?1:-1)*Re(He(r))}var Ve=r(2),ze=r.n(Ve),Je=-ze.a;function Ke(e){return function(e){return re(e)&&Ue(e)===e}(e)&&e>=Je&&e<=ze.a}function Qe(e){return!1===n(e)&&!1===Z(e,!0)&&function(e){return Ke(e)&&e>=0}(e.length)}r.d(t,"default",function(){return Qe})}])}); | ||
*/e.exports=function(e){return"object"==typeof e?null===e:"function"!=typeof e}},function(e,t,r){"use strict";var n=Date.prototype.getDay,o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"object"==typeof e&&null!==e&&(i?function(e){try{return n.call(e),!0}catch(e){return!1}}(e):"[object Date]"===o.call(e))}},function(e,t,r){"use strict";(function(t){var n=t.Symbol,o=r(5);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,r(4))},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(e,t,r){"use strict";r.r(t);var n=function(e){return null==e},o=function(e){try{for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return{threw:!1,value:e.apply(this,r)}}catch(e){return{threw:!0,value:e}}},i=function(e){return!!e},s={}.toString,c=function(e){return null===e?"[object Null]":void 0===e?"[object Undefined]":s.call(e)},u=r(0),a=r.n(u);for(var f=o(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),"function"==typeof Symbol&&a()(Symbol(""))}.bind(void 0)),l=!1===f.threw&&!0===f.value,p=l&&a()(Symbol.toStringTag),y=r(1),d=r.n(y),b=function(e){if(n(e))throw new TypeError("Cannot call method on ".concat(e));return e},g="Cannot convert a Symbol value to a string",v=g.constructor,m=function(e){if(a()(e))throw new TypeError(g);return v(e)},w=function(e){return m(b(e))},h=[{code:9,description:"Tab",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\t"},{code:10,description:"Line Feed",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\n"},{code:11,description:"Vertical Tab",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\v"},{code:12,description:"Form Feed",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\f"},{code:13,description:"Carriage Return",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\r"},{code:32,description:"Space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:160,description:"No-break space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:5760,description:"Ogham space mark",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:6158,description:"Mongolian vowel separator",es5:!0,es2015:!0,es2016:!0,es2017:!1,es2018:!1,string:""},{code:8192,description:"En quad",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8193,description:"Em quad",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8194,description:"En space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8195,description:"Em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8196,description:"Three-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8197,description:"Four-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8198,description:"Six-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8199,description:"Figure space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8200,description:"Punctuation space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8201,description:"Thin space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8202,description:"Hair space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8232,description:"Line separator",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2028"},{code:8233,description:"Paragraph separator",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2029"},{code:8239,description:"Narrow no-break space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8287,description:"Medium mathematical space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:12288,description:"Ideographic space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:65279,description:"Byte Order Mark",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\ufeff"}],S="",j="",O=h.length,x=0;x<O;x+=1)h[x].es2016&&(S+=h[x].string),h[x].es2018&&(j+=h[x].string);var T=j,E=S,P="",F=/none/.constructor,M=(new F("^[".concat(E,"]+")),new F("^[".concat(T,"]+"))),k=P.replace;var N=function(e){return k.call(w(e),M,P)},$="",C=/none/.constructor,_=(new C("[".concat(E,"]+$")),new C("[".concat(T,"]+$"))),A=$.replace;var D=function(e){return A.call(w(e),_,$)};var L=function(e){return N(D(e))},I=" ",X=/none/.constructor,q=(new X("[".concat(E,"]+"),"g"),new X("[".concat(T,"]+"),"g")),B=I.replace;var G=function(e){return B.call(L(e),q,I)},H=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,R="".replace,U=function(e,t){return R.call(w(e),H,arguments.length>1?m(t):"")};var V=o.constructor,z=(!0).constructor,J=o.toString,K=/^class /,Q=K.test,W=!1===o(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),V('"use strict"; return class My {};')()}.bind(void 0)).threw,Y=function(e){return Q.call(K,G(U(J.call(e)," ")))},Z=function(e){var t=o(Y,e);return!1===t.threw&&t.value},ee=function(e,t){if(d()(e))return!1;if(p)return function(e,t){return!(W&&!1===t&&Z(e)||!1!==o.call(e,J).threw)}(e,i(t));if(W&&!1===z(t)&&Z(e))return!1;var r=c(e);return"[object Function]"===r||"[object GeneratorFunction]"===r||"[object AsyncFunction]"===r},te=function(e){return e!=e},re=function(e){return"number"==typeof e&&!1===te(e)&&e!==1/0&&e!==-1/0},ne=r(2),oe=r.n(ne),ie="string".constructor,se=(0).constructor,ce=l&&Symbol.toPrimitive,ue=l&&Symbol.prototype.valueOf,ae=["toString","valueOf"],fe=["valueOf","toString"],le=function(e,t){if(b(e),"string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');for(var r,n,o="string"===t?ae:fe,i=0;i<2;i+=1)if(r=e[o[i]],ee(r)&&(n=r.call(e),d()(n)))return n;throw new TypeError("No default value")},pe=function(e,t){if(t){if(e===ie)return"string";if(e===se)return"number"}return"default"},ye=function(e){if(l){if(ce)return function(e,t){var r=e[t];if(!1===n(r)){if(!1===ee(r))throw new TypeError("".concat(r," returned for property ").concat(t," of object ").concat(e," is not a function"));return r}}(e,ce);if(a()(e))return ue}},de=function(e,t){if(d()(e))return e;var r=pe(t,arguments.length>1),n=ye(e);if(void 0!==n){var o=n.call(e,r);if(d()(o))return o;throw new TypeError("unable to convert exotic object to primitive")}var i="default"===r&&(oe()(e)||a()(e))?"string":r;return le(e,"default"===i?"number":i)},be=NaN,ge=parseInt,ve=(0).constructor,me="".charAt,we=/^[-+]?0[xX]/,he=we.test;var Se=function(e,t){var r=N(m(e));return""===me.call(r,0)?be:ge(r,ve(t)||(he.call(we,r)?16:10))},je=2,Oe=8,xe=2,Te="Cannot convert a Symbol value to a number",Ee=xe.constructor,Pe=Te.slice,Fe=/^0b[01]+$/i,Me=Fe.constructor,ke=Fe.test,Ne=function(e){return ke.call(Fe,e)},$e=/^0o[0-7]+$/i,Ce=function(e){return ke.call($e,e)},_e=(new Me("[ ]","g"),new Me("[ ]","g")),Ae=/^[-+]0x[0-9a-f]+$/i,De=function(e){return ke.call(Ae,e)};var Le=function e(t){var r=de(t,Ee);if(a()(r))throw new TypeError(Te);if("string"==typeof r){if(Ne(r))return e(Se(Pe.call(r,xe),je));if(Ce(r))return e(Se(Pe.call(r,xe),Oe));if(function(e){return ke.call(_e,e)}(r)||De(r))return be;var n=L(r);if(n!==r)return e(n)}return Ee(r)};var Ie=function(e){var t=Le(e);return 0===t||te(t)?t:t>0?1:-1},Xe=Math.abs,qe=Math.floor;var Be=function(e){var t=Le(e);return te(t)?0:0===t||!1===re(t)?t:Ie(t)*qe(Xe(t))},Ge=function(e){return re(e)&&Be(e)===e},He=function(e){return Ge(e)&&e>=-9007199254740991&&e<=9007199254740991},Re=function(e){return He(e)&&e>=0};t.default=function(e){return!1===n(e)&&!1===ee(e,!0)&&Re(e.length)}}])}); | ||
//# sourceMappingURL=is-array-like-x.min.js.map |
{ | ||
"name": "is-array-like-x", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "Determine if a value is array like.", | ||
@@ -51,5 +51,5 @@ "homepage": "https://github.com/Xotic750/is-array-like-x", | ||
"dependencies": { | ||
"is-function-x": "^4.0.11", | ||
"is-length-x": "^3.0.7", | ||
"is-nil-x": "^2.0.9" | ||
"is-function-x": "^4.0.13", | ||
"is-length-x": "^3.0.9", | ||
"is-nil-x": "^2.0.10" | ||
}, | ||
@@ -70,3 +70,3 @@ "devDependencies": { | ||
"@types/jest": "^24.0.15", | ||
"@types/node": "^12.6.3", | ||
"@types/node": "^12.6.6", | ||
"babel-core": "^7.0.0-0", | ||
@@ -87,3 +87,3 @@ "babel-eslint": "^10.0.2", | ||
"eslint-plugin-babel": "^5.3.0", | ||
"eslint-plugin-compat": "^3.2.0", | ||
"eslint-plugin-compat": "^3.3.0", | ||
"eslint-plugin-css-modules": "^2.11.0", | ||
@@ -93,4 +93,4 @@ "eslint-plugin-eslint-comments": "^3.1.2", | ||
"eslint-plugin-import": "^2.18.0", | ||
"eslint-plugin-jest": "^22.7.2", | ||
"eslint-plugin-jsdoc": "^15.3.5", | ||
"eslint-plugin-jest": "^22.9.0", | ||
"eslint-plugin-jsdoc": "^15.5.2", | ||
"eslint-plugin-json": "^1.4.0", | ||
@@ -122,3 +122,3 @@ "eslint-plugin-lodash": "^5.1.0", | ||
"typescript": "^3.5.3", | ||
"webpack": "^4.35.3", | ||
"webpack": "^4.36.0", | ||
"webpack-bundle-analyzer": "^3.3.2", | ||
@@ -125,0 +125,0 @@ "webpack-cli": "^3.3.6", |
@@ -12,4 +12,6 @@ import isNil from 'is-nil-x'; | ||
*/ | ||
export default function isArrayLike(value) { | ||
const isArrayLike = function isArrayLike(value) { | ||
return isNil(value) === false && isFunction(value, true) === false && isLength(value.length); | ||
} | ||
}; | ||
export default isArrayLike; |
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
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
194307
1424
Updatedis-function-x@^4.0.13
Updatedis-length-x@^3.0.9
Updatedis-nil-x@^2.0.10