Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

array-slice-x

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

array-slice-x - npm Package Compare versions

Comparing version 4.0.9 to 4.0.10

55

dist/array-slice-x.js

@@ -5,9 +5,9 @@ /*!

"copywrite": "Copyright (c) 2017",
"date": "2019-07-17T18:40:03.531Z",
"date": "2019-07-17T19:08:14.340Z",
"describe": "",
"description": "Cross-browser array slicer.",
"file": "array-slice-x.js",
"hash": "042a688d9892d5efb348",
"hash": "de8bd20a4b90dcf336e7",
"license": "MIT",
"version": "4.0.9"
"version": "4.0.10"
}

@@ -124,3 +124,3 @@ */

/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 9);
/******/ return __webpack_require__(__webpack_require__.s = 8);
/******/ })

@@ -136,3 +136,3 @@ /************************************************************************/

var toStr = Object.prototype.toString;
var hasSymbols = __webpack_require__(6)();
var hasSymbols = __webpack_require__(5)();

@@ -199,12 +199,3 @@ if (hasSymbols) {

module.exports = 9007199254740991;
/***/ }),
/* 3 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var strValue = String.prototype.valueOf;

@@ -231,3 +222,3 @@ var tryStringObject = function tryStringObject(value) {

/***/ }),
/* 4 */
/* 3 */
/***/ (function(module, exports, __webpack_require__) {

@@ -270,3 +261,3 @@

/***/ }),
/* 5 */
/* 4 */
/***/ (function(module, exports, __webpack_require__) {

@@ -298,3 +289,3 @@

/***/ }),
/* 6 */
/* 5 */
/***/ (function(module, exports, __webpack_require__) {

@@ -306,3 +297,3 @@

var origSymbol = global.Symbol;
var hasSymbolSham = __webpack_require__(8);
var hasSymbolSham = __webpack_require__(7);

@@ -318,6 +309,6 @@ module.exports = function hasNativeSymbols() {

/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(7)))
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(6)))
/***/ }),
/* 7 */
/* 6 */
/***/ (function(module, exports) {

@@ -348,3 +339,3 @@

/***/ }),
/* 8 */
/* 7 */
/***/ (function(module, exports, __webpack_require__) {

@@ -398,3 +389,3 @@

/***/ }),
/* 9 */
/* 8 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

@@ -462,3 +453,3 @@

// EXTERNAL MODULE: ./node_modules/is-arguments/index.js
var is_arguments = __webpack_require__(4);
var is_arguments = __webpack_require__(3);
var is_arguments_default = /*#__PURE__*/__webpack_require__.n(is_arguments);

@@ -594,3 +585,3 @@

// EXTERNAL MODULE: ./node_modules/is-date-object/index.js
var is_date_object = __webpack_require__(5);
var is_date_object = __webpack_require__(4);
var is_date_object_default = /*#__PURE__*/__webpack_require__.n(is_date_object);

@@ -1731,9 +1722,5 @@

// 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/to-length-x/dist/to-length-x.esm.js
var MAX_SAFE_INTEGER = 9007199254740991;
/**

@@ -1754,4 +1741,4 @@ * Converts `value` to an integer suitable for use as the length of an

if (len > max_safe_integer_default.a) {
return max_safe_integer_default.a;
if (len > MAX_SAFE_INTEGER) {
return MAX_SAFE_INTEGER;
}

@@ -1776,4 +1763,4 @@

if (len > max_safe_integer_default.a) {
return max_safe_integer_default.a;
if (len > MAX_SAFE_INTEGER) {
return MAX_SAFE_INTEGER;
}

@@ -1804,3 +1791,3 @@

// EXTERNAL MODULE: ./node_modules/is-string/index.js
var is_string = __webpack_require__(3);
var is_string = __webpack_require__(2);
var is_string_default = /*#__PURE__*/__webpack_require__.n(is_string);

@@ -1807,0 +1794,0 @@

@@ -5,12 +5,12 @@ /*!

"copywrite": "Copyright (c) 2017",
"date": "2019-07-17T18:40:03.531Z",
"date": "2019-07-17T19:08:14.340Z",
"describe": "",
"description": "Cross-browser array slicer.",
"file": "array-slice-x.min.js",
"hash": "ef265ec7ed9699af6428",
"hash": "34cad2094e8bbcf36352",
"license": "MIT",
"version": "4.0.9"
"version": "4.0.10"
}
*/
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.arraySliceX=t():e.arraySliceX=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 n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}([function(e,t,n){"use strict";var r=Object.prototype.toString;if(n(6)()){var o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==r.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,n){"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.arraySliceX=t():e.arraySliceX=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 n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=8)}([function(e,t,n){"use strict";var r=Object.prototype.toString;if(n(5)()){var o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==r.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,n){"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,n){"use strict";e.exports=9007199254740991},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(8);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,n(7))},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(4),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),v=n.n(g);for(var m=a(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),"function"==typeof Symbol&&v()(Symbol(""))}.bind(void 0)),w=!1===m.threw&&!0===m.value,h=n(1),S=n.n(h),j=n(5),O=n.n(j),x=function(e){return!!e},T=w&&v()(Symbol.toStringTag),E="Cannot convert a Symbol value to a string",P=E.constructor,F=function(e){if(v()(e))throw new TypeError(E);return P(e)},M=function(e){return F(o(e))},A=[{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"}],N="",C="",$=A.length,k=0;k<$;k+=1)A[k].es2016&&(N+=A[k].string),A[k].es2018&&(C+=A[k].string);var _=C,D=N,I="",L=/none/.constructor,X=(new L("^[".concat(D,"]+")),new L("^[".concat(_,"]+"))),q=I.replace;var B=function(e){return q.call(M(e),X,I)},G="",H=/none/.constructor,R=(new H("[".concat(D,"]+$")),new H("[".concat(_,"]+$"))),U=G.replace;var V=function(e){return U.call(M(e),R,G)};var z=function(e){return B(V(e))},J=" ",K=/none/.constructor,Q=(new K("[".concat(D,"]+"),"g"),new K("[".concat(_,"]+"),"g")),W=J.replace;var Y=function(e){return W.call(z(e),Q,J)},Z=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,ee="".replace,te=function(e,t){return ee.call(M(e),Z,arguments.length>1?F(t):"")};var ne=a.constructor,re=(!0).constructor,oe=a.toString,ie=/^class /,ce=ie.test,se=!1===a(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),ne('"use strict"; return class My {};')()}.bind(void 0)).threw,ue=function(e){return ce.call(ie,Y(te(oe.call(e)," ")))},ae=function(e){var t=a(ue,e);return!1===t.threw&&t.value},fe=function(e,t){if(S()(e))return!1;if(T)return function(e,t){return!(se&&!1===t&&ae(e)||!1!==a.call(e,oe).threw)}(e,x(t));if(se&&!1===re(t)&&ae(e))return!1;var n=l(e);return"[object Function]"===n||"[object GeneratorFunction]"===n||"[object AsyncFunction]"===n},le="string".constructor,pe=(0).constructor,ye=w&&Symbol.toPrimitive,de=w&&Symbol.prototype.valueOf,be=["toString","valueOf"],ge=["valueOf","toString"],ve=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?be:ge,c=0;c<2;c+=1)if(n=e[i[c]],fe(n)&&(r=n.call(e),S()(r)))return r;throw new TypeError("No default value")},me=function(e,t){if(t){if(e===le)return"string";if(e===pe)return"number"}return"default"},we=function(e){if(w){if(ye)return function(e,t){var n=e[t];if(!1===r(n)){if(!1===fe(n))throw new TypeError("".concat(n," returned for property ").concat(t," of object ").concat(e," is not a function"));return n}}(e,ye);if(v()(e))return de}},he=function(e,t){if(S()(e))return e;var n=me(t,arguments.length>1),r=we(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)||v()(e))?"string":n;return ve(e,"default"===i?"number":i)},Se=NaN,je=parseInt,Oe=(0).constructor,xe="".charAt,Te=/^[-+]?0[xX]/,Ee=Te.test;var Pe=function(e,t){var n=B(F(e));return"᠎"===xe.call(n,0)?Se:je(n,Oe(t)||(Ee.call(Te,n)?16:10))},Fe=2,Me=8,Ae=2,Ne="Cannot convert a Symbol value to a number",Ce=Ae.constructor,$e=Ne.slice,ke=/^0b[01]+$/i,_e=ke.constructor,De=ke.test,Ie=function(e){return De.call(ke,e)},Le=/^0o[0-7]+$/i,Xe=function(e){return De.call(Le,e)},qe=(new _e("[…​￾]","g"),new _e("[…᠎​￾]","g")),Be=/^[-+]0x[0-9a-f]+$/i,Ge=function(e){return De.call(Be,e)};var He=function e(t){var n=he(t,Ce);if(v()(n))throw new TypeError(Ne);if("string"==typeof n){if(Ie(n))return e(Pe($e.call(n,Ae),Fe));if(Xe(n))return e(Pe($e.call(n,Ae),Me));if(function(e){return De.call(qe,e)}(n)||Ge(n))return Se;var r=z(n);if(r!==n)return e(r)}return Ce(n)},Re=function(e){return e!=e},Ue=function(e){return"number"==typeof e&&!1===Re(e)&&e!==1/0&&e!==-1/0};var Ve=function(e){var t=He(e);return 0===t||Re(t)?t:t>0?1:-1},ze=Math.abs,Je=Math.floor;var Ke=function(e){var t=He(e);return Re(t)?0:0===t||!1===Ue(t)?t:Ve(t)*Je(ze(t))},Qe=n(2),We=n.n(Qe);var Ye=function(e){var t=Ke(e);return t<=0?0:t>We.a?We.a:t},Ze={}.constructor("a"),et="a"===Ze[0]&&0 in Ze,tt=n(3),nt=n.n(tt),rt="".split,ot=!1===et&&"function"==typeof rt&&nt.a,it=function(e){return ot&&ot(e)?rt.call(e,""):e},ct=function(e,t){return e>=t?e:t},st=function(e,t){return e<0?ct(t+e,0):(n=e)<=(r=t)?n:r;var n,r},ut=function(e,t,n){var r=it(c(e)),o=Ye(r.length),i=st(Ke(t),o),s=void 0===n?o:Ke(n),u=st(s,o),a=[];a.length=ct(u-i,0);for(var f=0;i<u;)i in r&&(a[f]=r[i]),f+=1,i+=1;return a},at=[].slice,ft=at?a.call([1,2,3],at,1,2):null,lt=!!ft&&(ft.threw||!1===b(ft.value)||1!==ft.value.length||2!==ft.value[0]),pt=at?a.call("abc",at,1,2):null,yt=!!pt&&(pt.threw||!1===b(pt.value)||1!==pt.value.length||"b"!==pt.value[0]),dt="undefined"!=typeof document&&document,bt=at&&dt?a.call(dt.documentElement,at).threw:null,gt=!!bt&&bt.threw;t.default=function(e,t,n){var r=c(e);return lt||gt&&!1===b(r)||yt&&nt()(r)||u()(r)?ut(r,t,n):at.apply(r,ut(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)},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),v=n.n(g);for(var m=a(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),"function"==typeof Symbol&&v()(Symbol(""))}.bind(void 0)),w=!1===m.threw&&!0===m.value,h=n(1),S=n.n(h),j=n(4),O=n.n(j),x=function(e){return!!e},T=w&&v()(Symbol.toStringTag),E="Cannot convert a Symbol value to a string",P=E.constructor,F=function(e){if(v()(e))throw new TypeError(E);return P(e)},M=function(e){return F(o(e))},A=[{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"}],N="",C="",$=A.length,k=0;k<$;k+=1)A[k].es2016&&(N+=A[k].string),A[k].es2018&&(C+=A[k].string);var _=C,D=N,I="",L=/none/.constructor,X=(new L("^[".concat(D,"]+")),new L("^[".concat(_,"]+"))),q=I.replace;var B=function(e){return q.call(M(e),X,I)},G="",H=/none/.constructor,R=(new H("[".concat(D,"]+$")),new H("[".concat(_,"]+$"))),U=G.replace;var V=function(e){return U.call(M(e),R,G)};var z=function(e){return B(V(e))},J=" ",K=/none/.constructor,Q=(new K("[".concat(D,"]+"),"g"),new K("[".concat(_,"]+"),"g")),W=J.replace;var Y=function(e){return W.call(z(e),Q,J)},Z=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,ee="".replace,te=function(e,t){return ee.call(M(e),Z,arguments.length>1?F(t):"")};var ne=a.constructor,re=(!0).constructor,oe=a.toString,ie=/^class /,ce=ie.test,se=!1===a(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),ne('"use strict"; return class My {};')()}.bind(void 0)).threw,ue=function(e){return ce.call(ie,Y(te(oe.call(e)," ")))},ae=function(e){var t=a(ue,e);return!1===t.threw&&t.value},fe=function(e,t){if(S()(e))return!1;if(T)return function(e,t){return!(se&&!1===t&&ae(e)||!1!==a.call(e,oe).threw)}(e,x(t));if(se&&!1===re(t)&&ae(e))return!1;var n=l(e);return"[object Function]"===n||"[object GeneratorFunction]"===n||"[object AsyncFunction]"===n},le="string".constructor,pe=(0).constructor,ye=w&&Symbol.toPrimitive,de=w&&Symbol.prototype.valueOf,be=["toString","valueOf"],ge=["valueOf","toString"],ve=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?be:ge,c=0;c<2;c+=1)if(n=e[i[c]],fe(n)&&(r=n.call(e),S()(r)))return r;throw new TypeError("No default value")},me=function(e,t){if(t){if(e===le)return"string";if(e===pe)return"number"}return"default"},we=function(e){if(w){if(ye)return function(e,t){var n=e[t];if(!1===r(n)){if(!1===fe(n))throw new TypeError("".concat(n," returned for property ").concat(t," of object ").concat(e," is not a function"));return n}}(e,ye);if(v()(e))return de}},he=function(e,t){if(S()(e))return e;var n=me(t,arguments.length>1),r=we(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)||v()(e))?"string":n;return ve(e,"default"===i?"number":i)},Se=NaN,je=parseInt,Oe=(0).constructor,xe="".charAt,Te=/^[-+]?0[xX]/,Ee=Te.test;var Pe=function(e,t){var n=B(F(e));return"᠎"===xe.call(n,0)?Se:je(n,Oe(t)||(Ee.call(Te,n)?16:10))},Fe=2,Me=8,Ae=2,Ne="Cannot convert a Symbol value to a number",Ce=Ae.constructor,$e=Ne.slice,ke=/^0b[01]+$/i,_e=ke.constructor,De=ke.test,Ie=function(e){return De.call(ke,e)},Le=/^0o[0-7]+$/i,Xe=function(e){return De.call(Le,e)},qe=(new _e("[…​￾]","g"),new _e("[…᠎​￾]","g")),Be=/^[-+]0x[0-9a-f]+$/i,Ge=function(e){return De.call(Be,e)};var He=function e(t){var n=he(t,Ce);if(v()(n))throw new TypeError(Ne);if("string"==typeof n){if(Ie(n))return e(Pe($e.call(n,Ae),Fe));if(Xe(n))return e(Pe($e.call(n,Ae),Me));if(function(e){return De.call(qe,e)}(n)||Ge(n))return Se;var r=z(n);if(r!==n)return e(r)}return Ce(n)},Re=function(e){return e!=e},Ue=function(e){return"number"==typeof e&&!1===Re(e)&&e!==1/0&&e!==-1/0};var Ve=function(e){var t=He(e);return 0===t||Re(t)?t:t>0?1:-1},ze=Math.abs,Je=Math.floor;var Ke=function(e){var t=He(e);return Re(t)?0:0===t||!1===Ue(t)?t:Ve(t)*Je(ze(t))},Qe=9007199254740991;var We=function(e){var t=Ke(e);return t<=0?0:t>Qe?Qe:t},Ye={}.constructor("a"),Ze="a"===Ye[0]&&0 in Ye,et=n(2),tt=n.n(et),nt="".split,rt=!1===Ze&&"function"==typeof nt&&tt.a,ot=function(e){return rt&&rt(e)?nt.call(e,""):e},it=function(e,t){return e>=t?e:t},ct=function(e,t){return e<0?it(t+e,0):(n=e)<=(r=t)?n:r;var n,r},st=function(e,t,n){var r=ot(c(e)),o=We(r.length),i=ct(Ke(t),o),s=void 0===n?o:Ke(n),u=ct(s,o),a=[];a.length=it(u-i,0);for(var f=0;i<u;)i in r&&(a[f]=r[i]),f+=1,i+=1;return a},ut=[].slice,at=ut?a.call([1,2,3],ut,1,2):null,ft=!!at&&(at.threw||!1===b(at.value)||1!==at.value.length||2!==at.value[0]),lt=ut?a.call("abc",ut,1,2):null,pt=!!lt&&(lt.threw||!1===b(lt.value)||1!==lt.value.length||"b"!==lt.value[0]),yt="undefined"!=typeof document&&document,dt=ut&&yt?a.call(yt.documentElement,ut).threw:null,bt=!!dt&&dt.threw;t.default=function(e,t,n){var r=c(e);return ft||bt&&!1===b(r)||pt&&tt()(r)||u()(r)?st(r,t,n):ut.apply(r,st(arguments,1))}}])});
//# sourceMappingURL=array-slice-x.min.js.map
{
"name": "array-slice-x",
"version": "4.0.9",
"version": "4.0.10",
"description": "Cross-browser array slicer.",

@@ -52,3 +52,3 @@ "homepage": "https://github.com/Xotic750/array-slice-x",

"dependencies": {
"array-like-slice-x": "^2.0.11",
"array-like-slice-x": "^2.0.12",
"attempt-x": "^2.0.8",

@@ -55,0 +55,0 @@ "cached-constructors-x": "^2.0.9",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc