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.0 to 4.0.1

33

dist/array-slice-x.js

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

"copywrite": "Copyright (c) 2017",
"date": "2019-07-15T07:44:15.300Z",
"date": "2019-07-15T10:57:53.528Z",
"describe": "",
"description": "Cross-browser array slicer.",
"file": "array-slice-x.js",
"hash": "2d29c04dff2356578589",
"hash": "4f7e79c03c7e95f24a0f",
"license": "MIT",
"version": "4.0.0"
"version": "4.0.1"
}

@@ -532,3 +532,3 @@ */

// CONCATENATED MODULE: ./node_modules/is-array-x/node_modules/to-string-tag-x/dist/to-string-tag-x.esm.js
// CONCATENATED MODULE: ./node_modules/to-string-tag-x/dist/to-string-tag-x.esm.js
var nativeObjectToString = {}.toString;

@@ -655,25 +655,2 @@ /**

// CONCATENATED MODULE: ./node_modules/to-string-tag-x/dist/to-string-tag-x.esm.js
var to_string_tag_x_esm_nativeObjectToString = {}.toString;
/**
* The `toStringTag` method returns "[object type]", where type is the
* object type.
*
* @param {*} [value] - The object of which to get the object type string.
* @returns {string} The object type string.
*/
function to_string_tag_x_esm_toStringTag(value) {
if (value === null) {
return '[object Null]';
}
if (typeof value === 'undefined') {
return '[object Undefined]';
}
return to_string_tag_x_esm_nativeObjectToString.call(value);
}
// CONCATENATED MODULE: ./node_modules/has-to-string-tag-x/dist/has-to-string-tag-x.esm.js

@@ -1269,3 +1246,3 @@

var strTag = to_string_tag_x_esm_toStringTag(value);
var strTag = toStringTag(value);
return strTag === funcTag || strTag === genTag || strTag === asyncTag;

@@ -1272,0 +1249,0 @@ }

8

dist/array-slice-x.min.js

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

"copywrite": "Copyright (c) 2017",
"date": "2019-07-15T07:44:15.300Z",
"date": "2019-07-15T10:57:53.528Z",
"describe": "",
"description": "Cross-browser array slicer.",
"file": "array-slice-x.min.js",
"hash": "cc0d9ccec570b76e28dc",
"hash": "b0b519d2b5f2a749a7cb",
"license": "MIT",
"version": "4.0.0"
"version": "4.0.1"
}

@@ -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";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";e.exports=function(e){return void 0===e}},function(e,t,n){"use strict";(function(t){var r=t.Symbol,o=n(9);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,n(8))},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";function r(e){return null==e}function o(e){if(r(e))throw new TypeError("Cannot call method on ".concat(e));return e}n.r(t);var i={}.constructor;function c(e){return i(o(e))}var s=n(4),u=n.n(s);function a(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}}}var f={}.toString;var l=[].isArray,p="function"==typeof l&&l,y=p&&a(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),!0===p([])&&!1===p({length:0})}.bind(void 0)),d=y&&!1===y.threw&&!0===y.value?p:function(e){return"[object Array]"===function(e){return null===e?"[object Null]":void 0===e?"[object Undefined]":f.call(e)}(e)},b=n(0),g=n.n(b);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&&g()(Symbol(""))}.bind(void 0)),m=!1===v.threw&&!0===v.value,w=n(1),h=n.n(w),S=n(5),j=n.n(S);function O(e){return!!e}var x={}.toString;var T=m&&g()(Symbol.toStringTag),E="Cannot convert a Symbol value to a string",P=E.constructor;function F(e){if(g()(e))throw new TypeError(E);return P(e)}function M(e){return F(o(e))}for(var 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<$;k+=1)N[k].es2016&&(A+=N[k].string),N[k].es2018&&(C+=N[k].string);var _=C,D=A,I="",L=/none/.constructor,X=(new L("^[".concat(D,"]+")),new L("^[".concat(_,"]+"))),q=I.replace;function U(e){return q.call(M(e),X,I)}var B="",G=/none/.constructor,H=(new G("[".concat(D,"]+$")),new G("[".concat(_,"]+$"))),R=B.replace;function V(e){return U(function(e){return R.call(M(e),H,B)}(e))}var z=" ",J=/none/.constructor,K=(new J("[".concat(D,"]+"),"g"),new J("[".concat(_,"]+"),"g")),Q=z.replace;var W="",Y=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Z=W.replace;var ee=Function.prototype.toString,te="[object Function]",ne="[object GeneratorFunction]",re="[object AsyncFunction]",oe=/^class /,ie=oe.test,ce=!1===a(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,se=function(e){return ie.call(oe,function(e){return Q.call(V(e),K,z)}(function(e,t){return Z.call(M(e),Y,arguments.length>1?F(t):W)}(ee.call(e)," ")))},ue=function(e){var t=a(se,e);return!1===t.threw&&t.value},ae=function(e,t){return(!ce||!1!==t||!ue(e))&&!1===a.call(e,ee).threw};function fe(e,t){if(h()(e))return!1;if(T)return ae(e,O(t));if(ce&&function(e){return!O(e)}(t)&&ue(e))return!1;var n=function(e){return null===e?"[object Null]":void 0===e?"[object Undefined]":x.call(e)}(e);return n===te||n===ne||n===re}var le=1,pe="number",ye="string",de="default",be=ye.constructor,ge=(0).constructor,ve=m&&Symbol.toPrimitive,me=m&&Symbol.prototype.valueOf,we=["toString","valueOf"],he=["valueOf","toString"],Se=function(e,t){if(o(e),"string"!=typeof t||t!==pe&&t!==ye)throw new TypeError('hint must be "string" or "number"');for(var n,r,i=t===ye?we:he,c=0;c<2;c+=le)if(fe(n=e[i[c]])&&(r=n.call(e),h()(r)))return r;throw new TypeError("No default value")},je=function(e,t){if(t){if(e===be)return ye;if(e===ge)return pe}return de},Oe=function(e){if(m){if(ve)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,ve);if(g()(e))return me}};function xe(e,t){if(h()(e))return e;var n=je(t,arguments.length>le),r=Oe(e);if(void 0!==r){var o=r.call(e,n);if(h()(o))return o;throw new TypeError("unable to convert exotic object to primitive")}var i=n===de&&(j()(e)||g()(e))?ye:n;return Se(e,i===de?pe:i)}var Te=NaN,Ee=parseInt,Pe=(0).constructor,Fe="".charAt,Me=/^[-+]?0[xX]/,Ne=Me.test;function Ae(e,t){var n=U(F(e));return"᠎"===Fe.call(n,0)?Te:Ee(n,Pe(t)||(Ne.call(Me,n)?16:10))}var Ce=2,$e=8,ke=2,_e="Cannot convert a Symbol value to a number",De=ke.constructor,Ie=_e.slice,Le=/^0b[01]+$/i,Xe=Le.constructor,qe=Le.test,Ue=function(e){return qe.call(Le,e)},Be=/^0o[0-7]+$/i,Ge=function(e){return qe.call(Be,e)},He=(new Xe("[…​￾]","g"),new Xe("[…᠎​￾]","g")),Re=function(e){return qe.call(He,e)},Ve=/^[-+]0x[0-9a-f]+$/i,ze=function(e){return qe.call(Ve,e)};function Je(e){var t=xe(e,De);if(g()(t))throw new TypeError(_e);if("string"==typeof t){if(Ue(t))return Je(Ae(Ie.call(t,ke),Ce));if(Ge(t))return Je(Ae(Ie.call(t,ke),$e));if(Re(t)||ze(t))return Te;var n=V(t);if(n!==t)return Je(n)}return De(t)}function Ke(e){return e!=e}var Qe=1/0;function We(e){return"number"==typeof e&&!1===Ke(e)&&e!==Qe&&e!==-Qe}var Ye=Math.abs,Ze=Math.floor;function et(e){var t,n=Je(e);return Ke(n)?0:0===n||!1===We(n)?n:(0===(t=Je(n))||Ke(t)?t:t>0?1:-1)*Ze(Ye(n))}var tt=n(2),nt=n.n(tt);var rt=n(6),ot=n.n(rt),it={}.constructor("a"),ct="a"===it[0]&&0 in it,st=n(3),ut=n.n(st),at="",ft=at.split,lt=!1===ct&&"function"==typeof ft&&ut.a;var pt=function(e,t){return e>=t?e:t},yt=function(e,t){return e<0?pt(t+e,0):(n=e)<=(r=t)?n:r;var n,r};function dt(e,t,n){var r,o=(r=c(e),lt&&lt(r)?ft.call(r,at):r),i=function(e){var t=et(e);return t<=0?0:t>nt.a?nt.a:t}(o.length),s=yt(et(t),i),u=ot()(n)?i:et(n),a=yt(u,i),f=[];f.length=pt(a-s,0);for(var l=0;s<a;)s in o&&(f[l]=o[s]),l+=1,s+=1;return f}n.d(t,"default",function(){return Ot});var bt=[].slice,gt=bt?a.call([1,2,3],bt,1,2):null,vt=!!gt&&(gt.threw||!1===d(gt.value)||1!==gt.value.length||2!==gt.value[0]),mt=bt?a.call("abc",bt,1,2):null,wt=!!mt&&(mt.threw||!1===d(mt.value)||1!==mt.value.length||"b"!==mt.value[0]),ht="undefined"!=typeof document&&document,St=bt&&ht?a.call(ht.documentElement,bt).threw:null,jt=!!St&&St.threw;function Ot(e,t,n){var r=c(e);return vt||jt&&!1===d(r)||wt&&ut()(r)||u()(r)?dt(r,t,n):bt.apply(r,dt(arguments,1))}}])});
*/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";e.exports=function(e){return void 0===e}},function(e,t,n){"use strict";(function(t){var r=t.Symbol,o=n(9);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,n(8))},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";function r(e){return null==e}function o(e){if(r(e))throw new TypeError("Cannot call method on ".concat(e));return e}n.r(t);var i={}.constructor;function c(e){return i(o(e))}var s=n(4),u=n.n(s);function a(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}}}var f={}.toString;function l(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);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);function x(e){return!!e}var T=w&&v()(Symbol.toStringTag),E="Cannot convert a Symbol value to a string",P=E.constructor;function F(e){if(v()(e))throw new TypeError(E);return P(e)}function M(e){return F(o(e))}for(var 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;function B(e){return q.call(M(e),X,I)}var G="",H=/none/.constructor,R=(new H("[".concat(D,"]+$")),new H("[".concat(_,"]+$"))),U=G.replace;function V(e){return B(function(e){return U.call(M(e),R,G)}(e))}var z=" ",J=/none/.constructor,K=(new J("[".concat(D,"]+"),"g"),new J("[".concat(_,"]+"),"g")),Q=z.replace;var W="",Y=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Z=W.replace;var ee=Function.prototype.toString,te="[object Function]",ne="[object GeneratorFunction]",re="[object AsyncFunction]",oe=/^class /,ie=oe.test,ce=!1===a(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,se=function(e){return ie.call(oe,function(e){return Q.call(V(e),K,z)}(function(e,t){return Z.call(M(e),Y,arguments.length>1?F(t):W)}(ee.call(e)," ")))},ue=function(e){var t=a(se,e);return!1===t.threw&&t.value},ae=function(e,t){return(!ce||!1!==t||!ue(e))&&!1===a.call(e,ee).threw};function fe(e,t){if(S()(e))return!1;if(T)return ae(e,x(t));if(ce&&function(e){return!x(e)}(t)&&ue(e))return!1;var n=l(e);return n===te||n===ne||n===re}var le=1,pe="number",ye="string",de="default",be=ye.constructor,ge=(0).constructor,ve=w&&Symbol.toPrimitive,me=w&&Symbol.prototype.valueOf,we=["toString","valueOf"],he=["valueOf","toString"],Se=function(e,t){if(o(e),"string"!=typeof t||t!==pe&&t!==ye)throw new TypeError('hint must be "string" or "number"');for(var n,r,i=t===ye?we:he,c=0;c<2;c+=le)if(fe(n=e[i[c]])&&(r=n.call(e),S()(r)))return r;throw new TypeError("No default value")},je=function(e,t){if(t){if(e===be)return ye;if(e===ge)return pe}return de},Oe=function(e){if(w){if(ve)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,ve);if(v()(e))return me}};function xe(e,t){if(S()(e))return e;var n=je(t,arguments.length>le),r=Oe(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=n===de&&(O()(e)||v()(e))?ye:n;return Se(e,i===de?pe:i)}var Te=NaN,Ee=parseInt,Pe=(0).constructor,Fe="".charAt,Me=/^[-+]?0[xX]/,Ae=Me.test;function Ne(e,t){var n=B(F(e));return"᠎"===Fe.call(n,0)?Te:Ee(n,Pe(t)||(Ae.call(Me,n)?16:10))}var Ce=2,$e=8,ke=2,_e="Cannot convert a Symbol value to a number",De=ke.constructor,Ie=_e.slice,Le=/^0b[01]+$/i,Xe=Le.constructor,qe=Le.test,Be=function(e){return qe.call(Le,e)},Ge=/^0o[0-7]+$/i,He=function(e){return qe.call(Ge,e)},Re=(new Xe("[…​￾]","g"),new Xe("[…᠎​￾]","g")),Ue=function(e){return qe.call(Re,e)},Ve=/^[-+]0x[0-9a-f]+$/i,ze=function(e){return qe.call(Ve,e)};function Je(e){var t=xe(e,De);if(v()(t))throw new TypeError(_e);if("string"==typeof t){if(Be(t))return Je(Ne(Ie.call(t,ke),Ce));if(He(t))return Je(Ne(Ie.call(t,ke),$e));if(Ue(t)||ze(t))return Te;var n=V(t);if(n!==t)return Je(n)}return De(t)}function Ke(e){return e!=e}var Qe=1/0;function We(e){return"number"==typeof e&&!1===Ke(e)&&e!==Qe&&e!==-Qe}var Ye=Math.abs,Ze=Math.floor;function et(e){var t,n=Je(e);return Ke(n)?0:0===n||!1===We(n)?n:(0===(t=Je(n))||Ke(t)?t:t>0?1:-1)*Ze(Ye(n))}var tt=n(2),nt=n.n(tt);var rt=n(6),ot=n.n(rt),it={}.constructor("a"),ct="a"===it[0]&&0 in it,st=n(3),ut=n.n(st),at="",ft=at.split,lt=!1===ct&&"function"==typeof ft&&ut.a;var pt=function(e,t){return e>=t?e:t},yt=function(e,t){return e<0?pt(t+e,0):(n=e)<=(r=t)?n:r;var n,r};function dt(e,t,n){var r,o=(r=c(e),lt&&lt(r)?ft.call(r,at):r),i=function(e){var t=et(e);return t<=0?0:t>nt.a?nt.a:t}(o.length),s=yt(et(t),i),u=ot()(n)?i:et(n),a=yt(u,i),f=[];f.length=pt(a-s,0);for(var l=0;s<a;)s in o&&(f[l]=o[s]),l+=1,s+=1;return f}n.d(t,"default",function(){return Ot});var bt=[].slice,gt=bt?a.call([1,2,3],bt,1,2):null,vt=!!gt&&(gt.threw||!1===b(gt.value)||1!==gt.value.length||2!==gt.value[0]),mt=bt?a.call("abc",bt,1,2):null,wt=!!mt&&(mt.threw||!1===b(mt.value)||1!==mt.value.length||"b"!==mt.value[0]),ht="undefined"!=typeof document&&document,St=bt&&ht?a.call(ht.documentElement,bt).threw:null,jt=!!St&&St.threw;function Ot(e,t,n){var r=c(e);return vt||jt&&!1===b(r)||wt&&ut()(r)||u()(r)?dt(r,t,n):bt.apply(r,dt(arguments,1))}}])});
//# sourceMappingURL=array-slice-x.min.js.map
{
"name": "array-slice-x",
"version": "4.0.0",
"version": "4.0.1",
"description": "Cross-browser array slicer.",

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

"dependencies": {
"array-like-slice-x": "^2.0.2",
"attempt-x": "^2.0.3",
"cached-constructors-x": "^2.0.3",
"array-like-slice-x": "^2.0.3",
"attempt-x": "^2.0.4",
"cached-constructors-x": "^2.0.4",
"is-arguments": "^1.0.4",
"is-array-x": "^2.0.4",
"is-array-x": "^2.0.5",
"is-string": "^1.0.4",
"to-object-x": "^2.0.0"
"to-object-x": "^2.0.1"
},

@@ -61,0 +61,0 @@ "devDependencies": {

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