to-length-x
Advanced tools
Comparing version 4.0.26 to 4.1.0
@@ -5,9 +5,9 @@ /*! | ||
"copywrite": "Copyright (c) 2015-2017", | ||
"date": "2019-07-31T22:15:17.861Z", | ||
"date": "2019-08-14T14:02:17.955Z", | ||
"describe": "", | ||
"description": "Shim for ToLength.", | ||
"file": "to-length-x.js", | ||
"hash": "5a298b38937c3172a871", | ||
"hash": "6e90249b5f587ad1546e", | ||
"license": "MIT", | ||
"version": "4.0.26" | ||
"version": "4.1.0" | ||
} | ||
@@ -27,15 +27,44 @@ */ | ||
if (typeof self !== 'undefined') { | ||
return self; | ||
} | ||
var ObjectCtr = {}.constructor; | ||
var objectPrototype = ObjectCtr.prototype; | ||
var defineProperty = ObjectCtr.defineProperty; | ||
var $globalThis; | ||
var getGlobalFallback = function() { | ||
if (typeof self !== 'undefined') { | ||
return self; | ||
} | ||
if (typeof window !== 'undefined') { | ||
return window; | ||
} | ||
if (typeof window !== 'undefined') { | ||
return window; | ||
} | ||
if (typeof global !== 'undefined') { | ||
return global; | ||
if (typeof global !== 'undefined') { | ||
return global; | ||
} | ||
return void 0; | ||
}; | ||
var returnThis = function() { | ||
return this; | ||
}; | ||
try { | ||
if (defineProperty) { | ||
defineProperty(objectPrototype, '$$globalThis$$', { | ||
get: returnThis, | ||
configurable: true | ||
}); | ||
} else { | ||
objectPrototype.__defineGetter__('$$globalThis$$', returnThis); | ||
} | ||
$globalThis = typeof $$globalThis$$ === 'undefined' ? getGlobalFallback() : $$globalThis$$; | ||
delete objectPrototype.$$globalThis$$; | ||
return $globalThis; | ||
} catch (error) { | ||
return getGlobalFallback(); | ||
} | ||
return Function('return this')(); | ||
}()), function() { | ||
@@ -1209,3 +1238,4 @@ return /******/ (function(modules) { // webpackBootstrap | ||
*/ | ||
/* harmony default export */ var nan_x_esm = (0 / 0); | ||
var constantNAN = 0 / 0; | ||
/* harmony default export */ var nan_x_esm = (constantNAN); | ||
@@ -1389,3 +1419,4 @@ | ||
*/ | ||
/* harmony default export */ var infinity_x_esm = (1 / 0); | ||
var constantInfinity = 1 / 0; | ||
/* harmony default export */ var infinity_x_esm = (constantInfinity); | ||
@@ -1392,0 +1423,0 @@ |
@@ -5,12 +5,12 @@ /*! | ||
"copywrite": "Copyright (c) 2015-2017", | ||
"date": "2019-07-31T22:15:17.861Z", | ||
"date": "2019-08-14T14:02:17.955Z", | ||
"describe": "", | ||
"description": "Shim for ToLength.", | ||
"file": "to-length-x.min.js", | ||
"hash": "e6c890907603d15da650", | ||
"hash": "9b11b539d31867276c0d", | ||
"license": "MIT", | ||
"version": "4.0.26" | ||
"version": "4.1.0" | ||
} | ||
*/ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.toLengthX=t():e.toLengthX=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=6)}([function(e,t,n){"use strict";var r=Object.prototype.toString;if(n(3)()){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.toLengthX=t():e.toLengthX=t()}(function(){"use strict";var e,t={}.constructor,r=t.prototype,n=t.defineProperty,o=function(){return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:void 0},i=function(){return this};try{return n?n(r,"$$globalThis$$",{get:i,configurable:!0}):r.__defineGetter__("$$globalThis$$",i),e="undefined"==typeof $$globalThis$$?o():$$globalThis$$,delete r.$$globalThis$$,e}catch(e){return o()}}(),function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=6)}([function(e,t,r){"use strict";var n=Object.prototype.toString;if(r(3)()){var o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==n.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&i.test(o.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},function(e,t,r){"use strict"; | ||
/*! | ||
@@ -21,3 +21,3 @@ * is-primitive <https://github.com/jonschlinkert/is-primitive> | ||
* Released under the MIT License. | ||
*/e.exports=function(e){return"object"==typeof e?null===e:"function"!=typeof e}},function(e,t,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(5);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,n(4))},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=n(0),o=n.n(r),i=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}}};for(var s=i(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),"function"==typeof Symbol&&o()(Symbol(""))}.bind(void 0)),c=!1===s.threw&&!0===s.value,u=n(1),f=n.n(u),a=n(2),l=n.n(a),p=function(e){return!!e},y={}.toString,d=function(e){return null===e?"[object Null]":void 0===e?"[object Undefined]":y.call(e)},b=c&&o()(Symbol.toStringTag),g=function(e){return null==e},m=function(e){if(g(e))throw new TypeError("Cannot call method on ".concat(e));return e},v="Cannot convert a Symbol value to a string",h=v.constructor,w=function(e){if(o()(e))throw new TypeError(v);return h(e)},S=function(e){return w(m(e))},j=[{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"}],O="",x=j.length,T=0;T<x;T+=1)j[T].es2016&&j[T].string,j[T].es2018&&(O+=j[T].string);var P=O,E=new(0,/none/.constructor)("^[".concat(P,"]+")),F="".replace,M=function(e){return F.call(S(e),E,"")},N=new(0,/none/.constructor)("[".concat(P,"]+$")),k="".replace,C=function(e){return k.call(S(e),N,"")},$=function(e){return M(C(e))},_=new(0,/none/.constructor)("[".concat(P,"]+"),"g"),D=" ".replace,L=function(e){return D.call($(e),_," ")},A=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,I="".replace,X=function(e,t){return I.call(S(e),A,arguments.length>1?w(t):"")},q=i.constructor,B=i.toString,G=/^class /,H=G.test,R=!1===i(function(){return q('"use strict"; return class My {};')()}).threw,U=function(e){return H.call(G,L(X(B.call(e)," ")))},V=function(e){var t=i(U,e);return!1===t.threw&&t.value},z=function(e,t){return!f()(e)&&(b?function(e,t){return!(R&&!1===t&&V(e)||!1!==i.call(e,B).threw)}(e,p(t)):(!R||!1!==p(t)||!V(e))&&function(e){var t=d(e);return"[object Function]"===t||"[object GeneratorFunction]"===t||"[object AsyncFunction]"===t}(e))},J="string".constructor,K=(0).constructor,Q=c&&Symbol.toPrimitive,W=c&&Symbol.prototype.valueOf,Y=["toString","valueOf"],Z=["valueOf","toString"],ee=function(e,t){m(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,o="string"===t?Y:Z,i=0;i<2;i+=1)if(n=e[o[i]],z(n)&&(r=n.call(e),f()(r)))return r;throw new TypeError("No default value")},te=function(e,t){if(t){if(e===J)return"string";if(e===K)return"number"}return"default"},ne=function(e){if(c){if(Q)return function(e,t){var n=e[t];if(!1===g(n)){if(!1===z(n))throw new TypeError("".concat(n," returned for property ").concat(t," of object ").concat(e," is not a function"));return n}}(e,Q);if(o()(e))return W}},re=function(e){var t=e.exoticToPrim,n=e.input,r=e.hint,o=t.call(n,r);if(f()(o))return o;throw new TypeError("unable to convert exotic object to primitive")},oe=function(e,t){var n="default"===t&&(l()(e)||o()(e))?"string":t;return ee(e,"default"===n?"number":n)},ie=function(e,t){if(f()(e))return e;var n=te(t,arguments.length>1),r=ne(e);return void 0===r?oe(e,n):re({exoticToPrim:r,input:e,hint:n})},se=parseInt,ce=(0).constructor,ue="".charAt,fe=/^[-+]?0[xX]/,ae=fe.test,le=function(e,t){var n=M(w(e));return""===ue.call(n,0)?NaN:se(n,ce(t)||(ae.call(fe,n)?16:10))},pe=2..constructor,ye="Cannot convert a Symbol value to a number".slice,de=/^0b[01]+$/i,be=de.test,ge=/^0o[0-7]+$/i,me=new(0,de.constructor)("[ ]","g"),ve=/^[-+]0x[0-9a-f]+$/i,he=function(e,t){return le(ye.call(e,2),t)},we=function(e,t){return function(e){return be.call(de,e)}(t)?e(he(t,2)):function(e){return be.call(ge,e)}(t)?e(he(t,8)):null},Se=function(e,t){var n=we(e,t);if(null!==n)return n;if(function(e){return be.call(me,e)}(t)||function(e){return be.call(ve,e)}(t))return NaN;var r=$(t);return r!==t?e(r):null},je=function e(t){var n=function(e){if(o()(e))throw new TypeError("Cannot convert a Symbol value to a number");return e}(ie(t,pe));if("string"==typeof n){var r=Se(e,n);if(null!==r)return r}return pe(n)},Oe=function(e){return e!=e},xe=function(e){return"number"==typeof e&&!1===Oe(e)&&e!==1/0&&e!==-1/0},Te=function(e){var t=je(e);return 0===t||Oe(t)?t:t>0?1:-1},Pe=Math.abs,Ee=Math.floor,Fe=function(e){var t=je(e);return Oe(t)?0:0===t||!1===xe(t)?t:Te(t)*Ee(Pe(t))};t.default=function(e){var t=Fe(e);return t<=0?0:t>9007199254740991?9007199254740991:t}}])}); | ||
*/e.exports=function(e){return"object"==typeof e?null===e:"function"!=typeof e}},function(e,t,r){"use strict";var n=Date.prototype.getDay,o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"object"==typeof e&&null!==e&&(i?function(e){try{return n.call(e),!0}catch(e){return!1}}(e):"[object Date]"===o.call(e))}},function(e,t,r){"use strict";(function(t){var n=t.Symbol,o=r(5);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,r(4))},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(e,t,r){"use strict";r.r(t);var n=r(0),o=r.n(n),i=function(e){try{for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return{threw:!1,value:e.apply(this,r)}}catch(e){return{threw:!0,value:e}}};for(var s=i(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),"function"==typeof Symbol&&o()(Symbol(""))}.bind(void 0)),c=!1===s.threw&&!0===s.value,u=r(1),f=r.n(u),a=r(2),l=r.n(a),p=function(e){return!!e},d={}.toString,y=function(e){return null===e?"[object Null]":void 0===e?"[object Undefined]":d.call(e)},b=c&&o()(Symbol.toStringTag),g=function(e){return null==e},m=function(e){if(g(e))throw new TypeError("Cannot call method on ".concat(e));return e},v="Cannot convert a Symbol value to a string",h=v.constructor,w=function(e){if(o()(e))throw new TypeError(v);return h(e)},S=function(e){return w(m(e))},j=[{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"}],O="",$=j.length,T=0;T<$;T+=1)j[T].es2016&&j[T].string,j[T].es2018&&(O+=j[T].string);var x=O,P=new(0,/none/.constructor)("^[".concat(x,"]+")),E="".replace,M=function(e){return E.call(S(e),P,"")},N=new(0,/none/.constructor)("[".concat(x,"]+$")),_="".replace,F=function(e){return _.call(S(e),N,"")},k=function(e){return M(F(e))},C=new(0,/none/.constructor)("[".concat(x,"]+"),"g"),D=" ".replace,L=function(e){return D.call(k(e),C," ")},A=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,I="".replace,X=function(e,t){return I.call(S(e),A,arguments.length>1?w(t):"")},q=i.constructor,G=i.toString,B=/^class /,H=B.test,R=!1===i(function(){return q('"use strict"; return class My {};')()}).threw,U=function(e){return H.call(B,L(X(G.call(e)," ")))},V=function(e){var t=i(U,e);return!1===t.threw&&t.value},z=function(e,t){return!f()(e)&&(b?function(e,t){return!(R&&!1===t&&V(e)||!1!==i.call(e,G).threw)}(e,p(t)):(!R||!1!==p(t)||!V(e))&&function(e){var t=y(e);return"[object Function]"===t||"[object GeneratorFunction]"===t||"[object AsyncFunction]"===t}(e))},J="string".constructor,K=(0).constructor,Q=c&&Symbol.toPrimitive,W=c&&Symbol.prototype.valueOf,Y=["toString","valueOf"],Z=["valueOf","toString"],ee=function(e,t){m(e),function(e){if("string"!=typeof e||"number"!==e&&"string"!==e)throw new TypeError('hint must be "string" or "number"')}(t);for(var r,n,o="string"===t?Y:Z,i=0;i<2;i+=1)if(r=e[o[i]],z(r)&&(n=r.call(e),f()(n)))return n;throw new TypeError("No default value")},te=function(e,t){if(t){if(e===J)return"string";if(e===K)return"number"}return"default"},re=function(e){if(c){if(Q)return function(e,t){var r=e[t];if(!1===g(r)){if(!1===z(r))throw new TypeError("".concat(r," returned for property ").concat(t," of object ").concat(e," is not a function"));return r}}(e,Q);if(o()(e))return W}},ne=function(e){var t=e.exoticToPrim,r=e.input,n=e.hint,o=t.call(r,n);if(f()(o))return o;throw new TypeError("unable to convert exotic object to primitive")},oe=function(e,t){var r="default"===t&&(l()(e)||o()(e))?"string":t;return ee(e,"default"===r?"number":r)},ie=function(e,t){if(f()(e))return e;var r=te(t,arguments.length>1),n=re(e);return void 0===n?oe(e,r):ne({exoticToPrim:n,input:e,hint:r})},se=parseInt,ce=(0).constructor,ue="".charAt,fe=/^[-+]?0[xX]/,ae=fe.test,le=function(e,t){var r=M(w(e));return""===ue.call(r,0)?NaN:se(r,ce(t)||(ae.call(fe,r)?16:10))},pe=2..constructor,de="Cannot convert a Symbol value to a number".slice,ye=/^0b[01]+$/i,be=ye.test,ge=/^0o[0-7]+$/i,me=new(0,ye.constructor)("[ ]","g"),ve=/^[-+]0x[0-9a-f]+$/i,he=function(e,t){return le(de.call(e,2),t)},we=function(e,t){return function(e){return be.call(ye,e)}(t)?e(he(t,2)):function(e){return be.call(ge,e)}(t)?e(he(t,8)):null},Se=function(e,t){var r=we(e,t);if(null!==r)return r;if(function(e){return be.call(me,e)}(t)||function(e){return be.call(ve,e)}(t))return NaN;var n=k(t);return n!==t?e(n):null},je=function e(t){var r=function(e){if(o()(e))throw new TypeError("Cannot convert a Symbol value to a number");return e}(ie(t,pe));if("string"==typeof r){var n=Se(e,r);if(null!==n)return n}return pe(r)},Oe=function(e){return e!=e},$e=function(e){return"number"==typeof e&&!1===Oe(e)&&e!==1/0&&e!==-1/0},Te=function(e){var t=je(e);return 0===t||Oe(t)?t:t>0?1:-1},xe=Math.abs,Pe=Math.floor,Ee=function(e){var t=je(e);return Oe(t)?0:0===t||!1===$e(t)?t:Te(t)*Pe(xe(t))};t.default=function(e){var t=Ee(e);return t<=0?0:t>9007199254740991?9007199254740991:t}}])}); | ||
//# sourceMappingURL=to-length-x.min.js.map |
{ | ||
"name": "to-length-x", | ||
"version": "4.0.26", | ||
"version": "4.1.0", | ||
"description": "Shim for ToLength.", | ||
@@ -41,2 +41,3 @@ "homepage": "https://github.com/Xotic750/to-length-x", | ||
"test:ci": "npm run test -- --ci --maxWorkers=2", | ||
"test:ci-coveralls": "npm run test:ci -- --coverage --coverageReporters=text-lcov | coveralls", | ||
"test:coverage": "npm run test -- --coverage" | ||
@@ -53,3 +54,3 @@ }, | ||
"dependencies": { | ||
"to-integer-x": "^4.0.29" | ||
"to-integer-x": "^4.1.0" | ||
}, | ||
@@ -64,5 +65,6 @@ "devDependencies": { | ||
"@babel/runtime": "^7.5.5", | ||
"@types/jest": "^24.0.16", | ||
"@types/node": "^12.6.8", | ||
"@xotic750/eslint-config-recommended": "^1.0.5", | ||
"@types/jest": "^24.0.17", | ||
"@types/node": "^12.7.1", | ||
"@types/webpack": "^4.32.1", | ||
"@xotic750/eslint-config-recommended": "^1.1.2", | ||
"babel-core": "^7.0.0-0", | ||
@@ -72,5 +74,6 @@ "babel-eslint": "^10.0.2", | ||
"babel-plugin-lodash": "^3.3.4", | ||
"caniuse-lite": "^1.0.30000988", | ||
"caniuse-lite": "^1.0.30000989", | ||
"coveralls": "^3.0.6", | ||
"cross-env": "^5.2.0", | ||
"eslint": "=5.16.0", | ||
"eslint": "^6.1.0", | ||
"eslint-friendly-formatter": "^4.0.1", | ||
@@ -85,6 +88,6 @@ "eslint-import-resolver-webpack": "^0.11.1", | ||
"eslint-plugin-import": "^2.18.2", | ||
"eslint-plugin-jest": "^22.14.1", | ||
"eslint-plugin-jest": "^22.15.1", | ||
"eslint-plugin-jsdoc": "^15.8.0", | ||
"eslint-plugin-json": "^1.4.0", | ||
"eslint-plugin-lodash": "^5.1.0", | ||
"eslint-plugin-lodash": "^6.0.0", | ||
"eslint-plugin-no-use-extend-native": "^0.4.1", | ||
@@ -109,5 +112,6 @@ "eslint-plugin-prefer-object-spread": "^1.2.1", | ||
"typescript": "^3.5.3", | ||
"webpack": "^4.38.0", | ||
"webpack": "^4.39.1", | ||
"webpack-bundle-analyzer": "^3.4.1", | ||
"webpack-cli": "^3.3.6", | ||
"webpack-global-object-x": "^1.0.0", | ||
"webpack-merge": "^4.2.1" | ||
@@ -114,0 +118,0 @@ }, |
@@ -38,2 +38,8 @@ <a | ||
</a> | ||
<a | ||
href="https://coveralls.io/github/Xotic750/to-length-x?branch=master" | ||
title="Coverage Status"> | ||
<img src="https://coveralls.io/repos/github/Xotic750/to-length-x/badge.svg?branch=master" | ||
alt="Coverage Status" height="18"> | ||
</a> | ||
@@ -40,0 +46,0 @@ <a name="module_to-length-x"></a> |
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
175869
1334
78
56
Updatedto-integer-x@^4.1.0