array-slice-x
Advanced tools
Comparing version 4.0.25 to 4.0.26
@@ -8,9 +8,22 @@ import toObject from 'to-object-x'; | ||
var nativeSlice = [].slice; | ||
var resultArray = nativeSlice ? attempt.call([1, 2, 3], nativeSlice, 1, 2) : null; | ||
var failArray = resultArray ? resultArray.threw || isArray(resultArray.value) === false || resultArray.value.length !== 1 || resultArray.value[0] !== 2 : false; | ||
var resultString = nativeSlice ? attempt.call('abc', nativeSlice, 1, 2) : null; | ||
var failString = resultString ? resultString.threw || isArray(resultString.value) === false || resultString.value.length !== 1 || resultString.value[0] !== 'b' : false; | ||
var doc = typeof document !== 'undefined' && document; | ||
var resultDocElement = nativeSlice && doc ? attempt.call(doc.documentElement, nativeSlice).threw : null; | ||
var failDOM = resultDocElement ? resultDocElement.threw : false; | ||
var testArray = function testArray() { | ||
var res = attempt.call([1, 2, 3], nativeSlice, 1, 2); | ||
return res.threw || isArray(res.value) === false || res.value.length !== 1 || res.value[0] !== 2; | ||
}; | ||
var testString = function testString() { | ||
var res = attempt.call('abc', nativeSlice, 1, 2); | ||
return res.threw || isArray(res.value) === false || res.value.length !== 1 || res.value[0] !== 'b'; | ||
}; | ||
var testDOM = function testDOM() { | ||
var doc = typeof document !== 'undefined' && document; | ||
var resultDocElement = doc ? attempt.call(doc.documentElement, nativeSlice).threw : false; | ||
return resultDocElement ? resultDocElement.threw : false; | ||
}; | ||
var failArray = testArray(); | ||
var failString = testString(); | ||
var failDOM = testDOM(); | ||
/** | ||
@@ -17,0 +30,0 @@ * The slice() method returns a shallow copy of a portion of an array into a new |
@@ -5,9 +5,9 @@ /*! | ||
"copywrite": "Copyright (c) 2017", | ||
"date": "2019-07-27T14:17:56.954Z", | ||
"date": "2019-07-31T22:22:58.943Z", | ||
"describe": "", | ||
"description": "Cross-browser array slicer.", | ||
"file": "array-slice-x.js", | ||
"hash": "a965781ca6b69c6d3bc4", | ||
"hash": "8d33a9be2256f652956a", | ||
"license": "MIT", | ||
"version": "4.0.25" | ||
"version": "4.0.26" | ||
} | ||
@@ -1070,5 +1070,3 @@ */ | ||
// CONCATENATED MODULE: ./node_modules/is-function-x/dist/is-function-x.esm.js | ||
var is_function_x_esm_this = undefined; | ||
function is_function_x_esm_newArrowCheck(innerThis, boundThis) { if (innerThis !== boundThis) { throw new TypeError("Cannot instantiate an arrow function"); } } | ||
@@ -1080,6 +1078,3 @@ | ||
var FunctionCtr = attempt_x_esm.constructor; | ||
var castBoolean = true.constructor; | ||
var is_function_x_esm_SPACE = ' '; | ||
@@ -1092,10 +1087,8 @@ var fToString = attempt_x_esm.toString; | ||
var test = ctrRx.test; | ||
var hasNativeClass = attempt_x_esm(function () { | ||
is_function_x_esm_newArrowCheck(this, is_function_x_esm_this); | ||
var hasNativeClass = attempt_x_esm(function attemptee() { | ||
/* eslint-disable-next-line babel/new-cap */ | ||
return FunctionCtr('"use strict"; return class My {};')(); | ||
}.bind(undefined)).threw === false; | ||
}).threw === false; | ||
var testClassstring = function _testClassstring(value) { | ||
var is_function_x_esm_testClassString = function testClassString(value) { | ||
return test.call(ctrRx, normalize_space_x_esm(replace_comments_x_esm(fToString.call(value), is_function_x_esm_SPACE))); | ||
@@ -1105,3 +1098,3 @@ }; | ||
var isES6ClassFn = function isES6ClassFunc(value) { | ||
var result = attempt_x_esm(testClassstring, value); | ||
var result = attempt_x_esm(is_function_x_esm_testClassString, value); | ||
return result.threw === false && result.value; | ||
@@ -1127,2 +1120,7 @@ }; | ||
}; | ||
var is_function_x_esm_compareTags = function compareTags(value) { | ||
var strTag = to_string_tag_x_esm(value); | ||
return strTag === funcTag || strTag === genTag || strTag === asyncTag; | ||
}; | ||
/** | ||
@@ -1147,8 +1145,7 @@ * Checks if `value` is classified as a `Function` object. | ||
if (hasNativeClass && castBoolean(allowClass) === false && isES6ClassFn(value)) { | ||
if (hasNativeClass && to_boolean_x_esm(allowClass) === false && isES6ClassFn(value)) { | ||
return false; | ||
} | ||
var strTag = to_string_tag_x_esm(value); | ||
return strTag === funcTag || strTag === genTag || strTag === asyncTag; | ||
return is_function_x_esm_compareTags(value); | ||
}; | ||
@@ -1175,7 +1172,3 @@ | ||
var DEFAULT = 'default'; | ||
/** @type {StringConstructor} */ | ||
var StringCtr = STRING.constructor; | ||
/** @type {NumberConstructor} */ | ||
var NumberCtr = ZERO.constructor; | ||
@@ -1191,2 +1184,10 @@ /* eslint-disable-next-line compat/compat */ | ||
var orderLength = 2; | ||
var assertHint = function assertHint(hint) { | ||
if (typeof hint !== 'string' || hint !== NUMBER && hint !== STRING) { | ||
throw new TypeError('hint must be "string" or "number"'); | ||
} | ||
return hint; | ||
}; | ||
/** | ||
@@ -1198,9 +1199,6 @@ * @param {*} ordinary - The ordinary to convert. | ||
var ordinaryToPrimitive = function _ordinaryToPrimitive(ordinary, hint) { | ||
var to_primitive_x_esm_ordinaryToPrimitive = function ordinaryToPrimitive(ordinary, hint) { | ||
require_object_coercible_x_esm(ordinary); | ||
if (typeof hint !== 'string' || hint !== NUMBER && hint !== STRING) { | ||
throw new TypeError('hint must be "string" or "number"'); | ||
} | ||
assertHint(hint); | ||
var methodNames = hint === STRING ? toStringOrder : toNumberOrder; | ||
@@ -1231,3 +1229,3 @@ var method; | ||
var getMethod = function _getMethod(object, property) { | ||
var to_primitive_x_esm_getMethod = function getMethod(object, property) { | ||
var func = object[property]; | ||
@@ -1278,3 +1276,3 @@ | ||
if (symToPrimitive) { | ||
return getMethod(value, symToPrimitive); | ||
return to_primitive_x_esm_getMethod(value, symToPrimitive); | ||
} | ||
@@ -1289,2 +1287,20 @@ | ||
}; | ||
var to_primitive_x_esm_evalExotic = function evalExotic(obj) { | ||
var exoticToPrim = obj.exoticToPrim, | ||
input = obj.input, | ||
hint = obj.hint; | ||
var result = exoticToPrim.call(input, hint); | ||
if (is_primitive_default()(result)) { | ||
return result; | ||
} | ||
throw new TypeError('unable to convert exotic object to primitive'); | ||
}; | ||
var to_primitive_x_esm_evalPrimitive = function evalPrimitive(input, hint) { | ||
var newHint = hint === DEFAULT && (is_date_object_default()(input) || is_symbol_default()(input)) ? STRING : hint; | ||
return to_primitive_x_esm_ordinaryToPrimitive(input, newHint === DEFAULT ? NUMBER : newHint); | ||
}; | ||
/** | ||
@@ -1300,3 +1316,3 @@ * This method converts a JavaScript object to a primitive value. | ||
* @param {*} input - The input to convert. | ||
* @param {NumberConstructor|StringConstructor} [preferredType] - The preferred type (String or Number). | ||
* @param {Function} [preferredType] - The preferred type (String or Number). | ||
* @throws {TypeError} If unable to convert input to a primitive. | ||
@@ -1315,15 +1331,7 @@ * @returns {string|number} The converted input as a primitive. | ||
var exoticToPrim = to_primitive_x_esm_getExoticToPrim(input); | ||
if (typeof exoticToPrim !== 'undefined') { | ||
var result = exoticToPrim.call(input, hint); | ||
if (is_primitive_default()(result)) { | ||
return result; | ||
} | ||
throw new TypeError('unable to convert exotic object to primitive'); | ||
} | ||
var newHint = hint === DEFAULT && (is_date_object_default()(input) || is_symbol_default()(input)) ? STRING : hint; | ||
return ordinaryToPrimitive(input, newHint === DEFAULT ? NUMBER : newHint); | ||
return typeof exoticToPrim === 'undefined' ? to_primitive_x_esm_evalPrimitive(input, hint) : to_primitive_x_esm_evalExotic({ | ||
exoticToPrim: exoticToPrim, | ||
input: input, | ||
hint: hint | ||
}); | ||
}; | ||
@@ -1405,3 +1413,3 @@ | ||
var isBinary = function _isBinary(value) { | ||
var isBinary = function isBinary(value) { | ||
return to_number_x_esm_test.call(binaryRegex, value); | ||
@@ -1412,10 +1420,10 @@ }; | ||
var isOctal = function _isOctal(value) { | ||
var isOctal = function isOctal(value) { | ||
return to_number_x_esm_test.call(octalRegex, value); | ||
}; | ||
var nonWSregex2018 = new RegExpConstructor("[\x85\u180E\u200B\uFFFE]", 'g'); | ||
var nonWSregex = new RegExpConstructor("[\x85\u180E\u200B\uFFFE]", 'g'); | ||
var hasNonWS2018 = function _hasNonWS(value) { | ||
return to_number_x_esm_test.call(nonWSregex2018, value); | ||
var hasNonWS = function hasNonWS(value) { | ||
return to_number_x_esm_test.call(nonWSregex, value); | ||
}; | ||
@@ -1425,7 +1433,51 @@ | ||
var isInvalidHexLiteral = function _isInvalidHexLiteral(value) { | ||
var isInvalidHexLiteral = function isInvalidHexLiteral(value) { | ||
return to_number_x_esm_test.call(invalidHexLiteral, value); | ||
}; | ||
var to_number_x_esm_assertNotSymbol = function assertNotSymbol(value) { | ||
if (is_symbol_default()(value)) { | ||
throw new TypeError(to_number_x_esm_ERROR_MESSAGE); | ||
} | ||
return value; | ||
}; | ||
var to_number_x_esm_parseBase = function parseBase(value, radix) { | ||
return parse_int_x_esm(pStrSlice.call(value, testCharsCount), radix); | ||
}; | ||
var parseString = function parseString(toNum, value) { | ||
if (isBinary(value)) { | ||
return toNum(to_number_x_esm_parseBase(value, binaryRadix)); | ||
} | ||
if (isOctal(value)) { | ||
return toNum(to_number_x_esm_parseBase(value, octalRadix)); | ||
} | ||
return null; | ||
}; | ||
var to_number_x_esm_convertString = function convertString(toNum, value) { | ||
var val = parseString(toNum, value); | ||
if (val !== null) { | ||
return val; | ||
} | ||
if (hasNonWS(value) || isInvalidHexLiteral(value)) { | ||
return nan_x_esm; | ||
} | ||
var trimmed = trim_x_esm(value); | ||
if (trimmed !== value) { | ||
return toNum(trimmed); | ||
} | ||
return null; | ||
}; | ||
/** | ||
* This method converts argument to a value of type Number. (ES2018). | ||
* This method converts argument to a value of type Number. (ES2019). | ||
* | ||
@@ -1439,26 +1491,10 @@ * @param {*} [argument] - The argument to convert to a number. | ||
var to_number_x_esm_toNumber = function toNumber(argument) { | ||
var value = to_primitive_x_esm(argument, to_number_x_esm_castNumber); | ||
var value = to_number_x_esm_assertNotSymbol(to_primitive_x_esm(argument, to_number_x_esm_castNumber)); | ||
if (is_symbol_default()(value)) { | ||
throw new TypeError(to_number_x_esm_ERROR_MESSAGE); | ||
} | ||
if (typeof value === 'string') { | ||
if (isBinary(value)) { | ||
return toNumber(parse_int_x_esm(pStrSlice.call(value, testCharsCount), binaryRadix)); | ||
} | ||
var val = to_number_x_esm_convertString(toNumber, value); | ||
if (isOctal(value)) { | ||
return toNumber(parse_int_x_esm(pStrSlice.call(value, testCharsCount), octalRadix)); | ||
if (val !== null) { | ||
return val; | ||
} | ||
if (hasNonWS2018(value) || isInvalidHexLiteral(value)) { | ||
return nan_x_esm; | ||
} | ||
var trimmed = trim_x_esm(value); | ||
if (trimmed !== value) { | ||
return toNumber(trimmed); | ||
} | ||
} | ||
@@ -1716,9 +1752,22 @@ | ||
var nativeSlice = [].slice; | ||
var resultArray = nativeSlice ? attempt_x_esm.call([1, 2, 3], nativeSlice, 1, 2) : null; | ||
var failArray = resultArray ? resultArray.threw || is_array_x_esm(resultArray.value) === false || resultArray.value.length !== 1 || resultArray.value[0] !== 2 : false; | ||
var resultString = nativeSlice ? attempt_x_esm.call('abc', nativeSlice, 1, 2) : null; | ||
var failString = resultString ? resultString.threw || is_array_x_esm(resultString.value) === false || resultString.value.length !== 1 || resultString.value[0] !== 'b' : false; | ||
var doc = typeof document !== 'undefined' && document; | ||
var resultDocElement = nativeSlice && doc ? attempt_x_esm.call(doc.documentElement, nativeSlice).threw : null; | ||
var failDOM = resultDocElement ? resultDocElement.threw : false; | ||
var array_slice_x_esm_testArray = function testArray() { | ||
var res = attempt_x_esm.call([1, 2, 3], nativeSlice, 1, 2); | ||
return res.threw || is_array_x_esm(res.value) === false || res.value.length !== 1 || res.value[0] !== 2; | ||
}; | ||
var array_slice_x_esm_testString = function testString() { | ||
var res = attempt_x_esm.call('abc', nativeSlice, 1, 2); | ||
return res.threw || is_array_x_esm(res.value) === false || res.value.length !== 1 || res.value[0] !== 'b'; | ||
}; | ||
var array_slice_x_esm_testDOM = function testDOM() { | ||
var doc = typeof document !== 'undefined' && document; | ||
var resultDocElement = doc ? attempt_x_esm.call(doc.documentElement, nativeSlice).threw : false; | ||
return resultDocElement ? resultDocElement.threw : false; | ||
}; | ||
var failArray = array_slice_x_esm_testArray(); | ||
var failString = array_slice_x_esm_testString(); | ||
var failDOM = array_slice_x_esm_testDOM(); | ||
/** | ||
@@ -1725,0 +1774,0 @@ * The slice() method returns a shallow copy of a portion of an array into a new |
@@ -5,9 +5,9 @@ /*! | ||
"copywrite": "Copyright (c) 2017", | ||
"date": "2019-07-27T14:17:56.954Z", | ||
"date": "2019-07-31T22:22:58.943Z", | ||
"describe": "", | ||
"description": "Cross-browser array slicer.", | ||
"file": "array-slice-x.min.js", | ||
"hash": "7fe85ee2f5a8e1e546cd", | ||
"hash": "6ac19807b11184e1bb7e", | ||
"license": "MIT", | ||
"version": "4.0.25" | ||
"version": "4.0.26" | ||
} | ||
@@ -21,3 +21,3 @@ */ | ||
* Released under the MIT License. | ||
*/e.exports=function(e){return"object"==typeof e?null===e:"function"!=typeof e}},function(e,t,n){"use strict";var r=String.prototype.valueOf,o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"string"==typeof e||"object"==typeof e&&(i?function(e){try{return r.call(e),!0}catch(e){return!1}}(e):"[object String]"===o.call(e))}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,o=Object.prototype.toString,i=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===o.call(e)},c=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==o.call(e)&&"[object Function]"===o.call(e.callee)},s=function(){return i(arguments)}();i.isLegacyArguments=c,e.exports=s?i:c},function(e,t,n){"use strict";var r=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 r.call(e),!0}catch(e){return!1}}(e):"[object Date]"===o.call(e))}},function(e,t,n){"use strict";(function(t){var r=t.Symbol,o=n(7);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,n(6))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"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"),n=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(n))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 r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[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,n){"use strict";n.r(t);var r=function(e){return null==e},o=function(e){if(r(e))throw new TypeError("Cannot call method on ".concat(e));return e},i={}.constructor,c=function(e){return i(o(e))},s=n(3),u=n.n(s),a=function(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{threw:!1,value:e.apply(this,n)}}catch(e){return{threw:!0,value:e}}},f={}.toString,l=function(e){return null===e?"[object Null]":void 0===e?"[object Undefined]":f.call(e)};var p=[].isArray,y="function"==typeof p&&p,d=y&&a(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),!0===y([])&&!1===y({length:0})}.bind(void 0)),b=d&&!1===d.threw&&!0===d.value?y:function(e){return"[object Array]"===l(e)},g=n(0),m=n.n(g);for(var v=a(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),"function"==typeof Symbol&&m()(Symbol(""))}.bind(void 0)),h=!1===v.threw&&!0===v.value,w=n(1),S=n.n(w),j=n(4),O=n.n(j),x=function(e){return!!e},T=h&&m()(Symbol.toStringTag),E="Cannot convert a Symbol value to a string",P=E.constructor,F=function(e){if(m()(e))throw new TypeError(E);return P(e)},M=function(e){return F(o(e))},N=[{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"}],A="",C=N.length,k=0;k<C;k+=1)N[k].es2016&&N[k].string,N[k].es2018&&(A+=N[k].string);var $=A,_=new(0,/none/.constructor)("^[".concat($,"]+")),D="".replace,I=function(e){return D.call(M(e),_,"")},L=new(0,/none/.constructor)("[".concat($,"]+$")),X="".replace,q=function(e){return X.call(M(e),L,"")},B=function(e){return I(q(e))},G=new(0,/none/.constructor)("[".concat($,"]+"),"g"),H=" ".replace,R=function(e){return H.call(B(e),G," ")},U=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,V="".replace,z=function(e,t){return V.call(M(e),U,arguments.length>1?F(t):"")};var J=a.constructor,K=(!0).constructor,Q=a.toString,W=/^class /,Y=W.test,Z=!1===a(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),J('"use strict"; return class My {};')()}.bind(void 0)).threw,ee=function(e){return Y.call(W,R(z(Q.call(e)," ")))},te=function(e){var t=a(ee,e);return!1===t.threw&&t.value},ne=function(e,t){if(S()(e))return!1;if(T)return function(e,t){return!(Z&&!1===t&&te(e)||!1!==a.call(e,Q).threw)}(e,x(t));if(Z&&!1===K(t)&&te(e))return!1;var n=l(e);return"[object Function]"===n||"[object GeneratorFunction]"===n||"[object AsyncFunction]"===n},re="string".constructor,oe=(0).constructor,ie=h&&Symbol.toPrimitive,ce=h&&Symbol.prototype.valueOf,se=["toString","valueOf"],ue=["valueOf","toString"],ae=function(e,t){if(o(e),"string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');for(var n,r,i="string"===t?se:ue,c=0;c<2;c+=1)if(n=e[i[c]],ne(n)&&(r=n.call(e),S()(r)))return r;throw new TypeError("No default value")},fe=function(e,t){if(t){if(e===re)return"string";if(e===oe)return"number"}return"default"},le=function(e){if(h){if(ie)return function(e,t){var n=e[t];if(!1===r(n)){if(!1===ne(n))throw new TypeError("".concat(n," returned for property ").concat(t," of object ").concat(e," is not a function"));return n}}(e,ie);if(m()(e))return ce}},pe=function(e,t){if(S()(e))return e;var n=fe(t,arguments.length>1),r=le(e);if(void 0!==r){var o=r.call(e,n);if(S()(o))return o;throw new TypeError("unable to convert exotic object to primitive")}var i="default"===n&&(O()(e)||m()(e))?"string":n;return ae(e,"default"===i?"number":i)},ye=parseInt,de=(0).constructor,be="".charAt,ge=/^[-+]?0[xX]/,me=ge.test,ve=function(e,t){var n=I(F(e));return""===be.call(n,0)?NaN:ye(n,de(t)||(me.call(ge,n)?16:10))},he=2..constructor,we="Cannot convert a Symbol value to a number".slice,Se=/^0b[01]+$/i,je=Se.test,Oe=/^0o[0-7]+$/i,xe=new(0,Se.constructor)("[ ]","g"),Te=/^[-+]0x[0-9a-f]+$/i,Ee=function e(t){var n=pe(t,he);if(m()(n))throw new TypeError("Cannot convert a Symbol value to a number");if("string"==typeof n){if(function(e){return je.call(Se,e)}(n))return e(ve(we.call(n,2),2));if(function(e){return je.call(Oe,e)}(n))return e(ve(we.call(n,2),8));if(function(e){return je.call(xe,e)}(n)||function(e){return je.call(Te,e)}(n))return NaN;var r=B(n);if(r!==n)return e(r)}return he(n)},Pe=function(e){return e!=e},Fe=function(e){return"number"==typeof e&&!1===Pe(e)&&e!==1/0&&e!==-1/0},Me=function(e){var t=Ee(e);return 0===t||Pe(t)?t:t>0?1:-1},Ne=Math.abs,Ae=Math.floor,Ce=function(e){var t=Ee(e);return Pe(t)?0:0===t||!1===Fe(t)?t:Me(t)*Ae(Ne(t))},ke=function(e){var t=Ce(e);return t<=0?0:t>9007199254740991?9007199254740991:t},$e={}.constructor("a"),_e="a"===$e[0]&&0 in $e,De=n(2),Ie=n.n(De),Le="".split,Xe=!1===_e&&"function"==typeof Le&&Ie.a,qe=function(e){return Xe&&Xe(e)?Le.call(e,""):e},Be=function(e,t){return e>=t?e:t},Ge=function(e,t){return e<0?Be(t+e,0):(n=e)<=(r=t)?n:r;var n,r},He=function(e,t,n){var r=qe(c(e)),o=ke(r.length),i=Ge(Ce(t),o),s=void 0===n?o:Ce(n),u=Ge(s,o),a=[];a.length=Be(u-i,0);for(var f=0;i<u;)i in r&&(a[f]=r[i]),f+=1,i+=1;return a},Re=[].slice,Ue=Re?a.call([1,2,3],Re,1,2):null,Ve=!!Ue&&(Ue.threw||!1===b(Ue.value)||1!==Ue.value.length||2!==Ue.value[0]),ze=Re?a.call("abc",Re,1,2):null,Je=!!ze&&(ze.threw||!1===b(ze.value)||1!==ze.value.length||"b"!==ze.value[0]),Ke="undefined"!=typeof document&&document,Qe=Re&&Ke?a.call(Ke.documentElement,Re).threw:null,We=!!Qe&&Qe.threw;t.default=function(e,t,n){var r=c(e);return Ve||We&&!1===b(r)||Je&&Ie()(r)||u()(r)?He(r,t,n):Re.apply(r,He(arguments,1))}}])}); | ||
*/e.exports=function(e){return"object"==typeof e?null===e:"function"!=typeof e}},function(e,t,n){"use strict";var r=String.prototype.valueOf,o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"string"==typeof e||"object"==typeof e&&(i?function(e){try{return r.call(e),!0}catch(e){return!1}}(e):"[object String]"===o.call(e))}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,o=Object.prototype.toString,i=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===o.call(e)},c=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==o.call(e)&&"[object Function]"===o.call(e.callee)},u=function(){return i(arguments)}();i.isLegacyArguments=c,e.exports=u?i:c},function(e,t,n){"use strict";var r=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 r.call(e),!0}catch(e){return!1}}(e):"[object Date]"===o.call(e))}},function(e,t,n){"use strict";(function(t){var r=t.Symbol,o=n(7);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,n(6))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"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"),n=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(n))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 r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[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,n){"use strict";n.r(t);var r=function(e){return null==e},o=function(e){if(r(e))throw new TypeError("Cannot call method on ".concat(e));return e},i={}.constructor,c=function(e){return i(o(e))},u=n(3),s=n.n(u),a=function(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{threw:!1,value:e.apply(this,n)}}catch(e){return{threw:!0,value:e}}},f={}.toString,l=function(e){return null===e?"[object Null]":void 0===e?"[object Undefined]":f.call(e)};var p=[].isArray,y="function"==typeof p&&p,b=y&&a(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),!0===y([])&&!1===y({length:0})}.bind(void 0)),d=b&&!1===b.threw&&!0===b.value?y:function(e){return"[object Array]"===l(e)},g=n(0),m=n.n(g);for(var v=a(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),"function"==typeof Symbol&&m()(Symbol(""))}.bind(void 0)),h=!1===v.threw&&!0===v.value,S=n(1),w=n.n(S),j=n(4),O=n.n(j),x=function(e){return!!e},T=h&&m()(Symbol.toStringTag),P="Cannot convert a Symbol value to a string",E=P.constructor,F=function(e){if(m()(e))throw new TypeError(P);return E(e)},M=function(e){return F(o(e))},N=[{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"}],A="",C=N.length,k=0;k<C;k+=1)N[k].es2016&&N[k].string,N[k].es2018&&(A+=N[k].string);var $,_,D,I=A,L=new(0,/none/.constructor)("^[".concat(I,"]+")),X="".replace,q=function(e){return X.call(M(e),L,"")},B=new(0,/none/.constructor)("[".concat(I,"]+$")),G="".replace,H=function(e){return G.call(M(e),B,"")},R=function(e){return q(H(e))},U=new(0,/none/.constructor)("[".concat(I,"]+"),"g"),V=" ".replace,z=function(e){return V.call(R(e),U," ")},J=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,K="".replace,Q=function(e,t){return K.call(M(e),J,arguments.length>1?F(t):"")},W=a.constructor,Y=a.toString,Z=/^class /,ee=Z.test,te=!1===a(function(){return W('"use strict"; return class My {};')()}).threw,ne=function(e){return ee.call(Z,z(Q(Y.call(e)," ")))},re=function(e){var t=a(ne,e);return!1===t.threw&&t.value},oe=function(e,t){return!w()(e)&&(T?function(e,t){return!(te&&!1===t&&re(e)||!1!==a.call(e,Y).threw)}(e,x(t)):(!te||!1!==x(t)||!re(e))&&function(e){var t=l(e);return"[object Function]"===t||"[object GeneratorFunction]"===t||"[object AsyncFunction]"===t}(e))},ie="string".constructor,ce=(0).constructor,ue=h&&Symbol.toPrimitive,se=h&&Symbol.prototype.valueOf,ae=["toString","valueOf"],fe=["valueOf","toString"],le=function(e,t){o(e),function(e){if("string"!=typeof e||"number"!==e&&"string"!==e)throw new TypeError('hint must be "string" or "number"')}(t);for(var n,r,i="string"===t?ae:fe,c=0;c<2;c+=1)if(n=e[i[c]],oe(n)&&(r=n.call(e),w()(r)))return r;throw new TypeError("No default value")},pe=function(e,t){if(t){if(e===ie)return"string";if(e===ce)return"number"}return"default"},ye=function(e){if(h){if(ue)return function(e,t){var n=e[t];if(!1===r(n)){if(!1===oe(n))throw new TypeError("".concat(n," returned for property ").concat(t," of object ").concat(e," is not a function"));return n}}(e,ue);if(m()(e))return se}},be=function(e){var t=e.exoticToPrim,n=e.input,r=e.hint,o=t.call(n,r);if(w()(o))return o;throw new TypeError("unable to convert exotic object to primitive")},de=function(e,t){var n="default"===t&&(O()(e)||m()(e))?"string":t;return le(e,"default"===n?"number":n)},ge=function(e,t){if(w()(e))return e;var n=pe(t,arguments.length>1),r=ye(e);return void 0===r?de(e,n):be({exoticToPrim:r,input:e,hint:n})},me=parseInt,ve=(0).constructor,he="".charAt,Se=/^[-+]?0[xX]/,we=Se.test,je=function(e,t){var n=q(F(e));return""===he.call(n,0)?NaN:me(n,ve(t)||(we.call(Se,n)?16:10))},Oe=2..constructor,xe="Cannot convert a Symbol value to a number".slice,Te=/^0b[01]+$/i,Pe=Te.test,Ee=/^0o[0-7]+$/i,Fe=new(0,Te.constructor)("[ ]","g"),Me=/^[-+]0x[0-9a-f]+$/i,Ne=function(e,t){return je(xe.call(e,2),t)},Ae=function(e,t){return function(e){return Pe.call(Te,e)}(t)?e(Ne(t,2)):function(e){return Pe.call(Ee,e)}(t)?e(Ne(t,8)):null},Ce=function(e,t){var n=Ae(e,t);if(null!==n)return n;if(function(e){return Pe.call(Fe,e)}(t)||function(e){return Pe.call(Me,e)}(t))return NaN;var r=R(t);return r!==t?e(r):null},ke=function e(t){var n=function(e){if(m()(e))throw new TypeError("Cannot convert a Symbol value to a number");return e}(ge(t,Oe));if("string"==typeof n){var r=Ce(e,n);if(null!==r)return r}return Oe(n)},$e=function(e){return e!=e},_e=function(e){return"number"==typeof e&&!1===$e(e)&&e!==1/0&&e!==-1/0},De=function(e){var t=ke(e);return 0===t||$e(t)?t:t>0?1:-1},Ie=Math.abs,Le=Math.floor,Xe=function(e){var t=ke(e);return $e(t)?0:0===t||!1===_e(t)?t:De(t)*Le(Ie(t))},qe=function(e){var t=Xe(e);return t<=0?0:t>9007199254740991?9007199254740991:t},Be={}.constructor("a"),Ge="a"===Be[0]&&0 in Be,He=n(2),Re=n.n(He),Ue="".split,Ve=!1===Ge&&"function"==typeof Ue&&Re.a,ze=function(e){return Ve&&Ve(e)?Ue.call(e,""):e},Je=function(e,t){return e>=t?e:t},Ke=function(e,t){return e<0?Je(t+e,0):(n=e)<=(r=t)?n:r;var n,r},Qe=function(e,t,n){var r=ze(c(e)),o=qe(r.length),i=Ke(Xe(t),o),u=void 0===n?o:Xe(n),s=Ke(u,o),a=[];a.length=Je(s-i,0);for(var f=0;i<s;)i in r&&(a[f]=r[i]),f+=1,i+=1;return a},We=[].slice,Ye=($=a.call([1,2,3],We,1,2)).threw||!1===d($.value)||1!==$.value.length||2!==$.value[0],Ze=function(){var e=a.call("abc",We,1,2);return e.threw||!1===d(e.value)||1!==e.value.length||"b"!==e.value[0]}(),et=(_="undefined"!=typeof document&&document,!!(D=!!_&&a.call(_.documentElement,We).threw)&&D.threw);t.default=function(e,t,n){var r=c(e);return Ye||et&&!1===d(r)||Ze&&Re()(r)||s()(r)?Qe(r,t,n):We.apply(r,Qe(arguments,1))}}])}); | ||
//# sourceMappingURL=array-slice-x.min.js.map |
{ | ||
"name": "array-slice-x", | ||
"version": "4.0.25", | ||
"version": "4.0.26", | ||
"description": "Cross-browser array slicer.", | ||
@@ -53,9 +53,9 @@ "homepage": "https://github.com/Xotic750/array-slice-x", | ||
"dependencies": { | ||
"array-like-slice-x": "^2.0.26", | ||
"attempt-x": "^2.0.22", | ||
"cached-constructors-x": "^2.0.24", | ||
"array-like-slice-x": "^2.0.27", | ||
"attempt-x": "^2.0.23", | ||
"cached-constructors-x": "^2.0.25", | ||
"is-arguments": "^1.0.4", | ||
"is-array-x": "^2.0.22", | ||
"is-array-x": "^2.0.23", | ||
"is-string": "^1.0.4", | ||
"to-object-x": "^2.0.20" | ||
"to-object-x": "^2.0.21" | ||
}, | ||
@@ -66,6 +66,2 @@ "devDependencies": { | ||
"@babel/node": "^7.5.5", | ||
"@babel/plugin-proposal-class-properties": "^7.5.5", | ||
"@babel/plugin-syntax-dynamic-import": "^7.2.0", | ||
"@babel/plugin-syntax-export-default-from": "^7.2.0", | ||
"@babel/plugin-syntax-export-namespace-from": "^7.2.0", | ||
"@babel/plugin-transform-property-mutators": "^7.2.0", | ||
@@ -75,5 +71,5 @@ "@babel/plugin-transform-runtime": "^7.5.5", | ||
"@babel/runtime": "^7.5.5", | ||
"@prorenata/eslint-config-vue": "^1.13.14", | ||
"@types/jest": "^24.0.15", | ||
"@types/jest": "^24.0.16", | ||
"@types/node": "^12.6.8", | ||
"@xotic750/eslint-config-recommended": "^1.0.5", | ||
"babel-core": "^7.0.0-0", | ||
@@ -83,9 +79,5 @@ "babel-eslint": "^10.0.2", | ||
"babel-plugin-lodash": "^3.3.4", | ||
"caniuse-lite": "^1.0.30000986", | ||
"chalk": "^2.4.2", | ||
"concurrently": "^4.1.1", | ||
"caniuse-lite": "^1.0.30000988", | ||
"cross-env": "^5.2.0", | ||
"eslint": "=5.16.0", | ||
"eslint-config-airbnb-base": "^13.2.0", | ||
"eslint-config-prettier": "^6.0.0", | ||
"eslint-friendly-formatter": "^4.0.1", | ||
@@ -100,4 +92,4 @@ "eslint-import-resolver-webpack": "^0.11.1", | ||
"eslint-plugin-import": "^2.18.2", | ||
"eslint-plugin-jest": "^22.14.0", | ||
"eslint-plugin-jsdoc": "^15.7.2", | ||
"eslint-plugin-jest": "^22.14.1", | ||
"eslint-plugin-jsdoc": "^15.8.0", | ||
"eslint-plugin-json": "^1.4.0", | ||
@@ -111,23 +103,17 @@ "eslint-plugin-lodash": "^5.1.0", | ||
"eslint-plugin-switch-case": "^1.1.2", | ||
"eslint-plugin-vue": "^5.2.3", | ||
"friendly-errors-webpack-plugin": "^1.7.0", | ||
"identity-obj-proxy": "^3.0.0", | ||
"jest": "^24.8.0", | ||
"jest-cli": "^24.8.0", | ||
"jest-file": "^1.0.0", | ||
"jsdoc-to-markdown": "^5.0.0", | ||
"lodash": "^4.17.15", | ||
"lodash-webpack-plugin": "^0.11.5", | ||
"mkdirp": "^0.5.1", | ||
"node-notifier": "^5.4.0", | ||
"nodemon": "^1.19.1", | ||
"prettier": "=1.14.3", | ||
"prettier": "^1.18.2", | ||
"rimraf": "^2.6.3", | ||
"semver": "^6.3.0", | ||
"source-map-loader": "^0.2.4", | ||
"strip-ansi": "^5.2.0", | ||
"terser-webpack-plugin": "^1.3.0", | ||
"terser-webpack-plugin": "^1.4.1", | ||
"typescript": "^3.5.3", | ||
"webpack": "^4.38.0", | ||
"webpack-bundle-analyzer": "^3.3.2", | ||
"webpack-bundle-analyzer": "^3.4.1", | ||
"webpack-cli": "^3.3.6", | ||
@@ -134,0 +120,0 @@ "webpack-merge": "^4.2.1" |
@@ -10,19 +10,25 @@ import toObject from 'to-object-x'; | ||
const resultArray = nativeSlice ? attempt.call([1, 2, 3], nativeSlice, 1, 2) : null; | ||
const failArray = resultArray | ||
? resultArray.threw || isArray(resultArray.value) === false || resultArray.value.length !== 1 || resultArray.value[0] !== 2 | ||
: false; | ||
const testArray = function testArray() { | ||
const res = attempt.call([1, 2, 3], nativeSlice, 1, 2); | ||
const resultString = nativeSlice ? attempt.call('abc', nativeSlice, 1, 2) : null; | ||
const failString = resultString | ||
? resultString.threw || | ||
isArray(resultString.value) === false || | ||
resultString.value.length !== 1 || | ||
resultString.value[0] !== 'b' | ||
: false; | ||
return res.threw || isArray(res.value) === false || res.value.length !== 1 || res.value[0] !== 2; | ||
}; | ||
const doc = typeof document !== 'undefined' && document; | ||
const resultDocElement = nativeSlice && doc ? attempt.call(doc.documentElement, nativeSlice).threw : null; | ||
const failDOM = resultDocElement ? resultDocElement.threw : false; | ||
const testString = function testString() { | ||
const res = attempt.call('abc', nativeSlice, 1, 2); | ||
return res.threw || isArray(res.value) === false || res.value.length !== 1 || res.value[0] !== 'b'; | ||
}; | ||
const testDOM = function testDOM() { | ||
const doc = typeof document !== 'undefined' && document; | ||
const resultDocElement = doc ? attempt.call(doc.documentElement, nativeSlice).threw : false; | ||
return resultDocElement ? resultDocElement.threw : false; | ||
}; | ||
const failArray = testArray(); | ||
const failString = testString(); | ||
const failDOM = testDOM(); | ||
/** | ||
@@ -29,0 +35,0 @@ * The slice() method returns a shallow copy of a portion of an array into a new |
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
222114
53
11
1610
Updatedarray-like-slice-x@^2.0.27
Updatedattempt-x@^2.0.23
Updatedis-array-x@^2.0.23
Updatedto-object-x@^2.0.21