From dab1511257fa16c8910f69ae0cd6d6e319716515 Mon Sep 17 00:00:00 2001 From: Graham Fairweather Date: Wed, 28 Aug 2019 19:11:21 +0200 Subject: [PATCH] :bookmark: v2.2.2 Security update --- dist/array-like-slice-x.js | 4 +- dist/array-like-slice-x.min.js | 4 +- package-lock.json | 362 ++++++++++++++++----------------- package.json | 10 +- 4 files changed, 190 insertions(+), 190 deletions(-) diff --git a/dist/array-like-slice-x.js b/dist/array-like-slice-x.js index 7b4e0aa..1ce422a 100644 --- a/dist/array-like-slice-x.js +++ b/dist/array-like-slice-x.js @@ -2,13 +2,13 @@ { "author": "Graham Fairweather", "copywrite": "Copyright (c) 2017", - "date": "2019-08-28T15:15:44.877Z", + "date": "2019-08-28T17:11:15.788Z", "describe": "", "description": "Cross-browser array-like slicer.", "file": "array-like-slice-x.js", "hash": "e2fc2bbd9b2f1c42e8f1", "license": "MIT", - "version": "2.2.1" + "version": "2.2.2" } */ (function webpackUniversalModuleDefinition(root, factory) { diff --git a/dist/array-like-slice-x.min.js b/dist/array-like-slice-x.min.js index 6f4e6b0..2ae1c9a 100644 --- a/dist/array-like-slice-x.min.js +++ b/dist/array-like-slice-x.min.js @@ -2,13 +2,13 @@ { "author": "Graham Fairweather", "copywrite": "Copyright (c) 2017", - "date": "2019-08-28T15:15:44.877Z", + "date": "2019-08-28T17:11:15.788Z", "describe": "", "description": "Cross-browser array-like slicer.", "file": "array-like-slice-x.min.js", "hash": "66463c30fbba66b5c58b", "license": "MIT", - "version": "2.2.1" + "version": "2.2.2" } */ !function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.arrayLikeSliceX=n():t.arrayLikeSliceX=n()}(function(){"use strict";var t,n={}.constructor,e=n.prototype,r=n.defineProperty,o=function(){return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:void 0},i=function(){return this};try{return r?r(e,"$$globalThis$$",{get:i,configurable:!0}):e.__defineGetter__("$$globalThis$$",i),t="undefined"==typeof $$globalThis$$?o():$$globalThis$$,delete e.$$globalThis$$,t}catch(t){return o()}}(),function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=6)}([function(t,n,e){"use strict";var r=Object.prototype.toString;if(e(3)()){var o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/;t.exports=function(t){if("symbol"==typeof t)return!0;if("[object Symbol]"!==r.call(t))return!1;try{return function(t){return"symbol"==typeof t.valueOf()&&i.test(o.call(t))}(t)}catch(t){return!1}}}else t.exports=function(t){return!1}},function(t,n,e){"use strict";var r=String.prototype.valueOf,o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;t.exports=function(t){return"string"==typeof t||"object"==typeof t&&(i?function(t){try{return r.call(t),!0}catch(t){return!1}}(t):"[object String]"===o.call(t))}},function(t,n,e){"use strict";var r=Date.prototype.getDay,o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;t.exports=function(t){return"object"==typeof t&&null!==t&&(i?function(t){try{return r.call(t),!0}catch(t){return!1}}(t):"[object Date]"===o.call(t))}},function(t,n,e){"use strict";(function(n){var r=n.Symbol,o=e(5);t.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,e(4))},function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},n=Symbol("test"),e=Object(n);if("string"==typeof n)return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;for(n in t[n]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==n)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,n);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(t,n,e){"use strict";e.r(n);var r=function(t){return null==t},o=function(t){if(r(t))throw new TypeError("Cannot call method on ".concat(t));return t},i={}.constructor,u=function(t){return i(o(t))},c=e(0),s=e.n(c);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var a=function(t){return"object"===f(t)?null===t:"function"!=typeof t},l=e(1),p=e.n(l),y={}.constructor("a"),b="a"===y[0]&&0 in y,d=function(){}.bind,g="function"==typeof d&&function(){var t=null,n=null,e=null,r=[];try{var o=d.apply(function(r,o){return e=this,t=r,n=o,arguments},[r,1]),i=o(2);return 1===o.length&&2===i.length&&1===t&&2===n&&e===r}catch(t){return!1}}()&&function(){var t=null,n=null,e=null,r=[1,2,3],o=function(o,i){return t=o,n=i,e=this,r};try{var i=d.apply(o,[null]),u=new i(1,2);return i.length===o.length&&u===r&&1===t&&2===n&&e!==r}catch(t){return!1}}(),h="".split,v=Math.max,m=a.bind,S=a.call,w=g?m.call(S,h):function(t,n){return h.call(t,n)},j=function(t){return p()(t)?w(t,""):t},O=function(t,n){var e=arguments.length>2?arguments[2]:[];if("string"!=typeof t&&a(t))return e;for(var r=b?t:j(t),o=r.length,i=v(0,n)||0;i=n?t:n},N=function(t){if("function"!=typeof t&&"[object Function]"!==F.apply(t))throw new TypeError("bind called on incompatible "+t)},_=[function(t){return function(){return t.apply(this,O(arguments))}},function(t,n){return function(e){return t.apply(this,O(arguments,n,[e]))}},function(t,n){return function(e,r){return t.apply(this,O(arguments,n,[e,r]))}},function(t,n){return function(e,r,o){return t.apply(this,O(arguments,n,[e,r,o]))}},function(t,n){return function(e,r,o,i){return t.apply(this,O(arguments,n,[e,r,o,i]))}},function(t,n){return function(e,r,o,i,u){return t.apply(this,O(arguments,n,[e,r,o,i,u]))}},function(t,n){return function(e,r,o,i,u,c){return t.apply(this,O(arguments,n,[e,r,o,i,u,c]))}},function(t,n){return function(e,r,o,i,u,c,s){return t.apply(this,O(arguments,n,[e,r,o,i,u,c,s]))}},function(t,n){return function(e,r,o,i,u,c,s,f){return t.apply(this,O(arguments,n,[e,r,o,i,u,c,s,f]))}}],k=function(t){var n=T(t,3),e=n[0],r=n[1],o=n[2],i=M(0,r.length-M(0,o.length-2)),u=_[i],c=u?u(e,i):_[0](e);if(r.prototype){var s=function(){};s.prototype=r.prototype,c.prototype=new s,s.prototype=null}return c},C=function(t,n){var e=t.apply(this,n);return P(e)===e?e:this},D=g?x.bind($):function(t,n){N(t);var e,r=arguments,o=function(){var o=O(arguments,0,O(r,2));return this instanceof e?C.apply(this,[t,o]):t.apply(n,o)};return e=k([o,t,r])},A=TypeError,I=D.apply,L=D(D.call,I),X=D(I,{}.toString),q=function(t){if("function"!=typeof t&&"[object Function]"!==X(t))throw new A(t+" is not a function");return t},G=function(t,n){return L(q(t),n,O(arguments[2]))},z=function(t){try{return{threw:!1,value:G(t,this,O(arguments,1))}}catch(t){return{threw:!0,value:t}}};for(var B=z(function(){return function(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),"function"==typeof Symbol&&s()(Symbol(""))}.bind(void 0)),H=!1===B.threw&&!0===B.value,R=e(2),U=e.n(R),V=function(t){return!!t},J={}.toString,K=function(t){return function(t){if("function"!=typeof t&&"[object Function]"!==G(J,t))throw new TypeError("methodize called on incompatible "+t)}(t),function(){return G(t,arguments[0],O(arguments,1))}},Q=K({}.toString),W=function(t){return null===t?"[object Null]":void 0===t?"[object Undefined]":Q(t)},Y=H&&s()(Symbol.toStringTag),Z="Cannot convert a Symbol value to a string".constructor,tt=function(t){if(s()(t))throw new TypeError("Cannot convert a Symbol value to a string");return Z(t)},nt=function(t){return tt(o(t))},et=[{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"}],rt="",ot=et.length,it=0;it1?tt(n):"")},St=z.constructor,wt=K(z.toString),jt=/^class /,Ot=K(jt.test),Tt=!1===z(function(){return St('"use strict"; return class My {};')()}).threw,$t=function(t){return Ot(jt,gt(mt(wt(t)," ")))},xt=function(t){var n=z($t,t);return!1===n.threw&&n.value},Et=function(t,n){return!a(t)&&(Y?function(t,n){return!(Tt&&!1===n&&xt(t)||!1!==z(function(){return wt(t)}).threw)}(t,V(n)):(!Tt||!1!==V(n)||!xt(t))&&function(t){var n=W(t);return"[object Function]"===n||"[object GeneratorFunction]"===n||"[object AsyncFunction]"===n}(t))},Pt="string".constructor,Ft=(0).constructor,Mt=H&&Symbol.toPrimitive,Nt=H&&Symbol.prototype.valueOf,_t=["toString","valueOf"],kt=["valueOf","toString"],Ct=function(t,n){o(t),function(t){if("string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"')}(n);for(var e="string"===n?_t:kt,r=0;r<2;r+=1){var i=t[e[r]];if(Et(i)){var u=G(i,t);if(a(u))return u}}throw new TypeError("No default value")},Dt=function(t,n){if(n){if(t===Pt)return"string";if(t===Ft)return"number"}return"default"},At=function(t){if(H){if(Mt)return function(t,n){var e=t[n];if(!1===r(e)){if(!1===Et(e))throw new TypeError("".concat(e," returned for property ").concat(n," of object ").concat(t," is not a function"));return e}}(t,Mt);if(s()(t))return Nt}},It=function(t){var n=t.exoticToPrim,e=t.input,r=t.hint,o=G(n,e,[r]);if(a(o))return o;throw new TypeError("unable to convert exotic object to primitive")},Lt=function(t,n){var e="default"===n&&(U()(t)||s()(t))?"string":n;return Ct(t,"default"===e?"number":e)},Xt=function(t,n){if(a(t))return t;var e=Dt(n,arguments.length>1),r=At(t);return void 0===r?Lt(t,e):It({exoticToPrim:r,input:t,hint:e})},qt=parseInt,Gt=(0).constructor,zt=K("᠎".charAt),Bt=/^[-+]?0[xX]/,Ht=K(Bt.test),Rt=function(t,n){var e=ft(tt(t));return"᠎"===zt(e,0)?NaN:qt(e,Gt(n)||(Ht(Bt,e)?16:10))},Ut=2..constructor,Vt=K("Cannot convert a Symbol value to a number".slice),Jt=/^0b[01]+$/i,Kt=Jt.constructor,Qt=K(Jt.test),Wt=/^0o[0-7]+$/i,Yt=new Kt("[…᠎​￾]","g"),Zt=/^[-+]0x[0-9a-f]+$/i,tn=function(t,n){return Rt(Vt(t,2),n)},nn=function(t,n){return function(t){return Qt(Jt,t)}(n)?t(tn(n,2)):function(t){return Qt(Wt,t)}(n)?t(tn(n,8)):null},en=function(t,n){var e=nn(t,n);if(null!==e)return e;if(function(t){return Qt(Yt,t)}(n)||function(t){return Qt(Zt,t)}(n))return NaN;var r=yt(n);return r!==n?t(r):null},rn=function t(n){var e=function(t){if(s()(t))throw new TypeError("Cannot convert a Symbol value to a number");return t}(Xt(n,Ut));if("string"==typeof e){var r=en(t,e);if(null!==r)return r}return Ut(e)},on=function(t){return t!=t},un=function(t){return"number"==typeof t&&!1===on(t)&&t!==1/0&&t!==-1/0},cn=function(t){var n=rn(t);return 0===n||on(n)?n:n>0?1:-1},sn=Math.abs,fn=Math.floor,an=function(t){var n=rn(t);return on(n)?0:0===n||!1===un(n)?n:cn(n)*fn(sn(n))},ln=function(t){var n=an(t);return n<=0?0:n>9007199254740991?9007199254740991:n},pn=K("".split),yn=function(t){return t},bn=b?yn:function(t){return p()(t)?pn(t,""):yn(t)},dn=function(t,n){return t>=n?t:n},gn=function(t,n){return t<0?dn(n+t,0):(e=t)<=(r=n)?e:r;var e,r};n.default=function(t,n,e){var r=bn(u(t)),o=ln(r.length),i=gn(an(n),o),c=void 0===e?o:an(e),s=gn(c,o),f=[];f.length=dn(s-i,0);for(var a=0;i