is-array-like-x
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -42,3 +42,3 @@ /** | ||
* | ||
* @version 1.0.5 | ||
* @version 1.0.6 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
@@ -45,0 +45,0 @@ * @copyright Xotic750 |
@@ -43,3 +43,3 @@ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.returnExports = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
* | ||
* @version 1.0.5 | ||
* @version 1.0.6 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
@@ -726,3 +726,3 @@ * @copyright Xotic750 | ||
* | ||
* @version 1.0.5 | ||
* @version 1.0.6 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
@@ -812,3 +812,3 @@ * @copyright Xotic750 | ||
* | ||
* @version 1.0.2 | ||
* @version 1.0.3 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
@@ -815,0 +815,0 @@ * @copyright Xotic750 |
@@ -1,2 +0,2 @@ | ||
!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,e.returnExports=t()}}(function(){var t,e,r;return function e(t,r,n){function s(i,u){if(!r[i]){if(!t[i]){var l="function"==typeof require&&require;if(!u&&l)return l(i,!0);if(o)return o(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var c=r[i]={exports:{}};t[i][0].call(c.exports,function(e){var r=t[i][1][e];return s(r?r:e)},c,c.exports,e,t,r,n)}return r[i].exports}for(var o="function"==typeof require&&require,i=0;i<n.length;i++)s(n[i]);return s}({1:[function(t,e,r){!function(){"use strict";var r=t("es-abstract"),n=t("is-length-x"),o=t("is-nil-x");e.exports=function isArrayLike(t){return!o(t)&&!r.IsCallable(t)&&n(t.length)}}()},{"es-abstract":10,"is-length-x":17,"is-nil-x":18}],2:[function(t,e,r){"use strict";var n=Number.isNaN||function(t){return t!==t},o=t("./helpers/isFinite"),i=t("./helpers/sign"),u=t("./helpers/mod"),s=t("is-callable"),l=t("es-to-primitive/es5"),a={ToPrimitive:l,ToBoolean:function ToBoolean(t){return Boolean(t)},ToNumber:function ToNumber(t){return Number(t)},ToInteger:function ToInteger(t){var e=this.ToNumber(t);return n(e)?0:0!==e&&o(e)?i(e)*Math.floor(Math.abs(e)):e},ToInt32:function ToInt32(t){return this.ToNumber(t)>>0},ToUint32:function ToUint32(t){return this.ToNumber(t)>>>0},ToUint16:function ToUint16(t){var e=this.ToNumber(t);if(n(e)||0===e||!o(e))return 0;var r=i(e)*Math.floor(Math.abs(e));return u(r,65536)},ToString:function ToString(t){return String(t)},ToObject:function ToObject(t){return this.CheckObjectCoercible(t),Object(t)},CheckObjectCoercible:function CheckObjectCoercible(t,e){if(null==t)throw new TypeError(e||"Cannot call method on "+t);return t},IsCallable:s,SameValue:function SameValue(t,e){return t===e?0===t?1/t===1/e:!0:n(t)&&n(e)}};e.exports=a},{"./helpers/isFinite":6,"./helpers/mod":8,"./helpers/sign":9,"es-to-primitive/es5":11,"is-callable":15}],3:[function(t,e,r){"use strict";var n=Object.prototype.toString,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,i=o?Symbol.prototype.toString:n,u=Number.isNaN||function(t){return t!==t},s=t("./helpers/isFinite"),l=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,a=t("./helpers/assign"),c=t("./helpers/sign"),f=t("./helpers/mod"),p=t("./helpers/isPrimitive"),b=t("es-to-primitive/es6"),y=parseInt,m=t("function-bind"),h=m.call(Function.call,String.prototype.slice),g=m.call(Function.call,RegExp.prototype.test,/^0b[01]+$/i),v=m.call(Function.call,RegExp.prototype.test,/^0o[0-7]+$/i),T=["\x85","\u200b","\ufffe"].join(""),S=new RegExp("["+T+"]","g"),d=m.call(Function.call,RegExp.prototype.test,S),x=/^[\-\+]0x[0-9a-f]+$/i,j=m.call(Function.call,RegExp.prototype.test,x),N=[" \n\x0B\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003","\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028","\u2029\ufeff"].join(""),w=new RegExp("(^["+N+"]+)|(["+N+"]+$)","g"),E=m.call(Function.call,String.prototype.replace),O=function(t){return E(t,w,"")},C=t("./es5"),I=t("is-regex"),F=a(a({},C),{Call:function Call(t,e){var r=arguments.length>2?arguments[2]:[];if(!this.IsCallable(t))throw new TypeError(t+" is not a function");return t.apply(e,r)},ToPrimitive:b,ToNumber:function ToNumber(t){var e=p(t)?t:b(t,"number");if("symbol"==typeof e)throw new TypeError("Cannot convert a Symbol value to a number");if("string"==typeof e){if(g(e))return this.ToNumber(y(h(e,2),2));if(v(e))return this.ToNumber(y(h(e,2),8));if(d(e)||j(e))return NaN;var r=O(e);if(r!==e)return this.ToNumber(r)}return Number(e)},ToInt16:function ToInt16(t){var e=this.ToUint16(t);return e>=32768?e-65536:e},ToInt8:function ToInt8(t){var e=this.ToUint8(t);return e>=128?e-256:e},ToUint8:function ToUint8(t){var e=this.ToNumber(t);if(u(e)||0===e||!s(e))return 0;var r=c(e)*Math.floor(Math.abs(e));return f(r,256)},ToUint8Clamp:function ToUint8Clamp(t){var e=this.ToNumber(t);if(u(e)||0>=e)return 0;if(e>=255)return 255;var r=Math.floor(t);return e>r+.5?r+1:r+.5>e?r:r%2!==0?r+1:r},ToString:function ToString(t){if("symbol"==typeof t)throw new TypeError("Cannot convert a Symbol value to a string");return String(t)},ToObject:function ToObject(t){return this.RequireObjectCoercible(t),Object(t)},ToPropertyKey:function ToPropertyKey(t){var e=this.ToPrimitive(t,String);return"symbol"==typeof e?i.call(e):this.ToString(e)},ToLength:function ToLength(t){var e=this.ToInteger(t);return 0>=e?0:e>l?l:e},CanonicalNumericIndexString:function CanonicalNumericIndexString(t){if("[object String]"!==n.call(t))throw new TypeError("must be a string");if("-0"===t)return-0;var e=this.ToNumber(t);return this.SameValue(this.ToString(e),t)?e:void 0},RequireObjectCoercible:C.CheckObjectCoercible,IsArray:Array.isArray||function IsArray(t){return"[object Array]"===n.call(t)},IsConstructor:function IsConstructor(t){return this.IsCallable(t)},IsExtensible:function IsExtensible(t){return Object.preventExtensions?p(t)?!1:Object.isExtensible(t):!0},IsInteger:function IsInteger(t){if("number"!=typeof t||u(t)||!s(t))return!1;var e=Math.abs(t);return Math.floor(e)===e},IsPropertyKey:function IsPropertyKey(t){return"string"==typeof t||"symbol"==typeof t},IsRegExp:function IsRegExp(t){if(!t||"object"!=typeof t)return!1;if(o){var e=RegExp[Symbol.match];if("undefined"!=typeof e)return C.ToBoolean(e)}return I(t)},SameValueZero:function SameValueZero(t,e){return t===e||u(t)&&u(e)}});delete F.CheckObjectCoercible,e.exports=F},{"./es5":2,"./helpers/assign":5,"./helpers/isFinite":6,"./helpers/isPrimitive":7,"./helpers/mod":8,"./helpers/sign":9,"es-to-primitive/es6":12,"function-bind":14,"is-regex":19}],4:[function(t,e,r){"use strict";var n=t("./es6"),o=t("./helpers/assign"),i=o(n,{SameValueNonNumber:function SameValueNonNumber(t,e){if("number"==typeof t||typeof t!=typeof e)throw new TypeError("SameValueNonNumber requires two non-number values of the same type.");return this.SameValue(t,e)}});e.exports=i},{"./es6":3,"./helpers/assign":5}],5:[function(t,e,r){var n=Object.prototype.hasOwnProperty;e.exports=Object.assign||function assign(t,e){for(var r in e)n.call(e,r)&&(t[r]=e[r]);return t}},{}],6:[function(t,e,r){var n=Number.isNaN||function(t){return t!==t};e.exports=Number.isFinite||function(t){return"number"==typeof t&&!n(t)&&t!==1/0&&t!==-(1/0)}},{}],7:[function(t,e,r){e.exports=function isPrimitive(t){return null===t||"function"!=typeof t&&"object"!=typeof t}},{}],8:[function(t,e,r){e.exports=function mod(t,e){var r=t%e;return Math.floor(r>=0?r:r+e)}},{}],9:[function(t,e,r){e.exports=function sign(t){return t>=0?1:-1}},{}],10:[function(t,e,r){"use strict";var n=t("./helpers/assign"),o=t("./es5"),i=t("./es6"),u=t("./es7"),s={ES5:o,ES6:i,ES7:u};n(s,o),delete s.CheckObjectCoercible,n(s,i),e.exports=s},{"./es5":2,"./es6":3,"./es7":4,"./helpers/assign":5}],11:[function(t,e,r){"use strict";var n=Object.prototype.toString,o=t("./helpers/isPrimitive"),i=t("is-callable"),u={"[[DefaultValue]]":function(t,e){var r=e||("[object Date]"===n.call(t)?String:Number);if(r===String||r===Number){var u=r===String?["toString","valueOf"]:["valueOf","toString"],s,l;for(l=0;l<u.length;++l)if(i(t[u[l]])&&(s=t[u[l]](),o(s)))return s;throw new TypeError("No default value")}throw new TypeError("invalid [[DefaultValue]] hint supplied")}};e.exports=function ToPrimitive(t,e){return o(t)?t:u["[[DefaultValue]]"](t,e)}},{"./helpers/isPrimitive":13,"is-callable":15}],12:[function(t,e,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,o=t("./helpers/isPrimitive"),i=t("is-callable"),u=t("is-date-object"),s=t("is-symbol"),l=function OrdinaryToPrimitive(t,e){if("undefined"==typeof t||null===t)throw new TypeError("Cannot call method on "+t);if("string"!=typeof e||"number"!==e&&"string"!==e)throw new TypeError('hint must be "string" or "number"');var r="string"===e?["toString","valueOf"]:["valueOf","toString"],n,u,s;for(s=0;s<r.length;++s)if(n=t[r[s]],i(n)&&(u=n.call(t),o(u)))return u;throw new TypeError("No default value")},a=function GetMethod(t,e){var r=t[e];if(null!==r&&"undefined"!=typeof r){if(!i(r))throw new TypeError(r+" returned for property "+e+" of object "+t+" is not a function");return r}};e.exports=function ToPrimitive(t,e){if(o(t))return t;var r="default";arguments.length>1&&(e===String?r="string":e===Number&&(r="number"));var i;if(n&&(Symbol.toPrimitive?i=a(t,Symbol.toPrimitive):s(t)&&(i=Symbol.prototype.valueOf)),"undefined"!=typeof i){var c=i.call(t,r);if(o(c))return c;throw new TypeError("unable to convert exotic object to primitive")}return"default"===r&&(u(t)||s(t))&&(r="string"),l(t,"default"===r?"number":r)}},{"./helpers/isPrimitive":13,"is-callable":15,"is-date-object":16,"is-symbol":20}],13:[function(t,e,r){arguments[4][7][0].apply(r,arguments)},{dup:7}],14:[function(t,e,r){var n="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,i=Object.prototype.toString,u="[object Function]";e.exports=function bind(t){var e=this;if("function"!=typeof e||i.call(e)!==u)throw new TypeError(n+e);for(var r=o.call(arguments,1),s=function(){if(this instanceof f){var n=e.apply(this,r.concat(o.call(arguments)));return Object(n)===n?n:this}return e.apply(t,r.concat(o.call(arguments)))},l=Math.max(0,e.length-r.length),a=[],c=0;l>c;c++)a.push("$"+c);var f=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this,arguments); }")(s);if(e.prototype){var p=function Empty(){};p.prototype=e.prototype,f.prototype=new p,p.prototype=null}return f}},{}],15:[function(t,e,r){"use strict";var n=/\s*class /,o=function isNonES6ClassFn(t){try{return!n.test(t)}catch(e){return!1}},i=Function.prototype.toString,u=function tryFunctionObject(t){try{return n.test(t)?!1:(i.call(t),!0)}catch(e){return!1}},s=Object.prototype.toString,l="[object Function]",a="[object GeneratorFunction]",c="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function isCallable(t){if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;if(c)return u(t);if(!o(t))return!1;var e=s.call(t);return e===l||e===a}},{}],16:[function(t,e,r){"use strict";var n=Date.prototype.getDay,o=function tryDateObject(t){try{return n.call(t),!0}catch(e){return!1}},i=Object.prototype.toString,u="[object Date]",s="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function isDateObject(t){return"object"!=typeof t||null===t?!1:s?o(t):i.call(t)===u}},{}],17:[function(t,e,r){!function(){"use strict";var t=Math.pow(2,53)-1;e.exports=function isLength(e){return"number"==typeof e&&e>-1&&e%1===0&&t>=e}}()},{}],18:[function(t,e,r){!function(){"use strict";var r=t("validate.io-undefined"),n=t("lodash.isnull");e.exports=function isNil(t){return n(t)||r(t)}}()},{"lodash.isnull":21,"validate.io-undefined":22}],19:[function(t,e,r){"use strict";var n=RegExp.prototype.exec,o=function tryRegexExec(t){try{return n.call(t),!0}catch(e){return!1}},i=Object.prototype.toString,u="[object RegExp]",s="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function isRegex(t){return"object"!=typeof t?!1:s?o(t):i.call(t)===u}},{}],20:[function(t,e,r){"use strict";var n=Object.prototype.toString,o="function"==typeof Symbol&&"symbol"==typeof Symbol();if(o){var i=Symbol.prototype.toString,u=/^Symbol\(.*\)$/,s=function isSymbolObject(t){return"symbol"!=typeof t.valueOf()?!1:u.test(i.call(t))};e.exports=function isSymbol(t){if("symbol"==typeof t)return!0;if("[object Symbol]"!==n.call(t))return!1;try{return s(t)}catch(e){return!1}}}else e.exports=function isSymbol(t){return!1}},{}],21:[function(t,e,r){function isNull(t){return null===t}e.exports=isNull},{}],22:[function(t,e,r){"use strict";function isUndefined(t){return void 0===t}e.exports=isUndefined},{}]},{},[1])(1)}); | ||
!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,e.returnExports=t()}}(function(){return function e(t,r,n){function s(i,u){if(!r[i]){if(!t[i]){var l="function"==typeof require&&require;if(!u&&l)return l(i,!0);if(o)return o(i,!0);var c=new Error("Cannot find module '"+i+"'");throw c.code="MODULE_NOT_FOUND",c}var a=r[i]={exports:{}};t[i][0].call(a.exports,function(e){var r=t[i][1][e];return s(r?r:e)},a,a.exports,e,t,r,n)}return r[i].exports}for(var o="function"==typeof require&&require,i=0;i<n.length;i++)s(n[i]);return s}({1:[function(t,e,r){!function(){"use strict";var r=t("es-abstract"),n=t("is-length-x"),o=t("is-nil-x");e.exports=function isArrayLike(t){return!o(t)&&!r.IsCallable(t)&&n(t.length)}}()},{"es-abstract":10,"is-length-x":17,"is-nil-x":18}],2:[function(t,e,r){"use strict";var n=Number.isNaN||function(t){return t!==t},o=t("./helpers/isFinite"),i=t("./helpers/sign"),u=t("./helpers/mod"),s=t("is-callable"),l=t("es-to-primitive/es5"),c={ToPrimitive:l,ToBoolean:function ToBoolean(t){return Boolean(t)},ToNumber:function ToNumber(t){return Number(t)},ToInteger:function ToInteger(t){var e=this.ToNumber(t);return n(e)?0:0!==e&&o(e)?i(e)*Math.floor(Math.abs(e)):e},ToInt32:function ToInt32(t){return this.ToNumber(t)>>0},ToUint32:function ToUint32(t){return this.ToNumber(t)>>>0},ToUint16:function ToUint16(t){var e=this.ToNumber(t);if(n(e)||0===e||!o(e))return 0;var r=i(e)*Math.floor(Math.abs(e));return u(r,65536)},ToString:function ToString(t){return String(t)},ToObject:function ToObject(t){return this.CheckObjectCoercible(t),Object(t)},CheckObjectCoercible:function CheckObjectCoercible(t,e){if(null==t)throw new TypeError(e||"Cannot call method on "+t);return t},IsCallable:s,SameValue:function SameValue(t,e){return t===e?0===t?1/t===1/e:!0:n(t)&&n(e)}};e.exports=c},{"./helpers/isFinite":6,"./helpers/mod":8,"./helpers/sign":9,"es-to-primitive/es5":11,"is-callable":15}],3:[function(t,e,r){"use strict";var n=Object.prototype.toString,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,i=o?Symbol.prototype.toString:n,u=Number.isNaN||function(t){return t!==t},s=t("./helpers/isFinite"),l=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,c=t("./helpers/assign"),a=t("./helpers/sign"),f=t("./helpers/mod"),p=t("./helpers/isPrimitive"),b=t("es-to-primitive/es6"),y=parseInt,m=t("function-bind"),h=m.call(Function.call,String.prototype.slice),g=m.call(Function.call,RegExp.prototype.test,/^0b[01]+$/i),v=m.call(Function.call,RegExp.prototype.test,/^0o[0-7]+$/i),T=["\x85","\u200b","\ufffe"].join(""),S=new RegExp("["+T+"]","g"),d=m.call(Function.call,RegExp.prototype.test,S),x=/^[\-\+]0x[0-9a-f]+$/i,j=m.call(Function.call,RegExp.prototype.test,x),N=[" \n\x0B\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003","\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028","\u2029\ufeff"].join(""),w=new RegExp("(^["+N+"]+)|(["+N+"]+$)","g"),E=m.call(Function.call,String.prototype.replace),O=function(t){return E(t,w,"")},C=t("./es5"),I=t("is-regex"),F=c(c({},C),{Call:function Call(t,e){var r=arguments.length>2?arguments[2]:[];if(!this.IsCallable(t))throw new TypeError(t+" is not a function");return t.apply(e,r)},ToPrimitive:b,ToNumber:function ToNumber(t){var e=p(t)?t:b(t,"number");if("symbol"==typeof e)throw new TypeError("Cannot convert a Symbol value to a number");if("string"==typeof e){if(g(e))return this.ToNumber(y(h(e,2),2));if(v(e))return this.ToNumber(y(h(e,2),8));if(d(e)||j(e))return NaN;var r=O(e);if(r!==e)return this.ToNumber(r)}return Number(e)},ToInt16:function ToInt16(t){var e=this.ToUint16(t);return e>=32768?e-65536:e},ToInt8:function ToInt8(t){var e=this.ToUint8(t);return e>=128?e-256:e},ToUint8:function ToUint8(t){var e=this.ToNumber(t);if(u(e)||0===e||!s(e))return 0;var r=a(e)*Math.floor(Math.abs(e));return f(r,256)},ToUint8Clamp:function ToUint8Clamp(t){var e=this.ToNumber(t);if(u(e)||0>=e)return 0;if(e>=255)return 255;var r=Math.floor(t);return e>r+.5?r+1:r+.5>e?r:r%2!==0?r+1:r},ToString:function ToString(t){if("symbol"==typeof t)throw new TypeError("Cannot convert a Symbol value to a string");return String(t)},ToObject:function ToObject(t){return this.RequireObjectCoercible(t),Object(t)},ToPropertyKey:function ToPropertyKey(t){var e=this.ToPrimitive(t,String);return"symbol"==typeof e?i.call(e):this.ToString(e)},ToLength:function ToLength(t){var e=this.ToInteger(t);return 0>=e?0:e>l?l:e},CanonicalNumericIndexString:function CanonicalNumericIndexString(t){if("[object String]"!==n.call(t))throw new TypeError("must be a string");if("-0"===t)return-0;var e=this.ToNumber(t);return this.SameValue(this.ToString(e),t)?e:void 0},RequireObjectCoercible:C.CheckObjectCoercible,IsArray:Array.isArray||function IsArray(t){return"[object Array]"===n.call(t)},IsConstructor:function IsConstructor(t){return this.IsCallable(t)},IsExtensible:function IsExtensible(t){return Object.preventExtensions?p(t)?!1:Object.isExtensible(t):!0},IsInteger:function IsInteger(t){if("number"!=typeof t||u(t)||!s(t))return!1;var e=Math.abs(t);return Math.floor(e)===e},IsPropertyKey:function IsPropertyKey(t){return"string"==typeof t||"symbol"==typeof t},IsRegExp:function IsRegExp(t){if(!t||"object"!=typeof t)return!1;if(o){var e=RegExp[Symbol.match];if("undefined"!=typeof e)return C.ToBoolean(e)}return I(t)},SameValueZero:function SameValueZero(t,e){return t===e||u(t)&&u(e)}});delete F.CheckObjectCoercible,e.exports=F},{"./es5":2,"./helpers/assign":5,"./helpers/isFinite":6,"./helpers/isPrimitive":7,"./helpers/mod":8,"./helpers/sign":9,"es-to-primitive/es6":12,"function-bind":14,"is-regex":19}],4:[function(t,e,r){"use strict";var n=t("./es6"),o=t("./helpers/assign"),i=o(n,{SameValueNonNumber:function SameValueNonNumber(t,e){if("number"==typeof t||typeof t!=typeof e)throw new TypeError("SameValueNonNumber requires two non-number values of the same type.");return this.SameValue(t,e)}});e.exports=i},{"./es6":3,"./helpers/assign":5}],5:[function(t,e,r){var n=Object.prototype.hasOwnProperty;e.exports=Object.assign||function assign(t,e){for(var r in e)n.call(e,r)&&(t[r]=e[r]);return t}},{}],6:[function(t,e,r){var n=Number.isNaN||function(t){return t!==t};e.exports=Number.isFinite||function(t){return"number"==typeof t&&!n(t)&&t!==1/0&&t!==-(1/0)}},{}],7:[function(t,e,r){e.exports=function isPrimitive(t){return null===t||"function"!=typeof t&&"object"!=typeof t}},{}],8:[function(t,e,r){e.exports=function mod(t,e){var r=t%e;return Math.floor(r>=0?r:r+e)}},{}],9:[function(t,e,r){e.exports=function sign(t){return t>=0?1:-1}},{}],10:[function(t,e,r){"use strict";var n=t("./helpers/assign"),o=t("./es5"),i=t("./es6"),u=t("./es7"),s={ES5:o,ES6:i,ES7:u};n(s,o),delete s.CheckObjectCoercible,n(s,i),e.exports=s},{"./es5":2,"./es6":3,"./es7":4,"./helpers/assign":5}],11:[function(t,e,r){"use strict";var n=Object.prototype.toString,o=t("./helpers/isPrimitive"),i=t("is-callable"),u={"[[DefaultValue]]":function(t,e){var r=e||("[object Date]"===n.call(t)?String:Number);if(r===String||r===Number){var u,s,l=r===String?["toString","valueOf"]:["valueOf","toString"];for(s=0;s<l.length;++s)if(i(t[l[s]])&&(u=t[l[s]](),o(u)))return u;throw new TypeError("No default value")}throw new TypeError("invalid [[DefaultValue]] hint supplied")}};e.exports=function ToPrimitive(t,e){return o(t)?t:u["[[DefaultValue]]"](t,e)}},{"./helpers/isPrimitive":13,"is-callable":15}],12:[function(t,e,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,o=t("./helpers/isPrimitive"),i=t("is-callable"),u=t("is-date-object"),s=t("is-symbol"),l=function OrdinaryToPrimitive(t,e){if("undefined"==typeof t||null===t)throw new TypeError("Cannot call method on "+t);if("string"!=typeof e||"number"!==e&&"string"!==e)throw new TypeError('hint must be "string" or "number"');var r,n,u,s="string"===e?["toString","valueOf"]:["valueOf","toString"];for(u=0;u<s.length;++u)if(r=t[s[u]],i(r)&&(n=r.call(t),o(n)))return n;throw new TypeError("No default value")},c=function GetMethod(t,e){var r=t[e];if(null!==r&&"undefined"!=typeof r){if(!i(r))throw new TypeError(r+" returned for property "+e+" of object "+t+" is not a function");return r}};e.exports=function ToPrimitive(t,e){if(o(t))return t;var r="default";arguments.length>1&&(e===String?r="string":e===Number&&(r="number"));var i;if(n&&(Symbol.toPrimitive?i=c(t,Symbol.toPrimitive):s(t)&&(i=Symbol.prototype.valueOf)),"undefined"!=typeof i){var a=i.call(t,r);if(o(a))return a;throw new TypeError("unable to convert exotic object to primitive")}return"default"===r&&(u(t)||s(t))&&(r="string"),l(t,"default"===r?"number":r)}},{"./helpers/isPrimitive":13,"is-callable":15,"is-date-object":16,"is-symbol":20}],13:[function(t,e,r){arguments[4][7][0].apply(r,arguments)},{dup:7}],14:[function(t,e,r){var n="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,i=Object.prototype.toString,u="[object Function]";e.exports=function bind(t){var e=this;if("function"!=typeof e||i.call(e)!==u)throw new TypeError(n+e);for(var r=o.call(arguments,1),s=function(){if(this instanceof f){var n=e.apply(this,r.concat(o.call(arguments)));return Object(n)===n?n:this}return e.apply(t,r.concat(o.call(arguments)))},l=Math.max(0,e.length-r.length),c=[],a=0;l>a;a++)c.push("$"+a);var f=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(s);if(e.prototype){var p=function Empty(){};p.prototype=e.prototype,f.prototype=new p,p.prototype=null}return f}},{}],15:[function(t,e,r){"use strict";var n=/\s*class /,o=function isNonES6ClassFn(t){try{return!n.test(t)}catch(e){return!1}},i=Function.prototype.toString,u=function tryFunctionObject(t){try{return n.test(t)?!1:(i.call(t),!0)}catch(e){return!1}},s=Object.prototype.toString,l="[object Function]",c="[object GeneratorFunction]",a="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function isCallable(t){if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;if(a)return u(t);if(!o(t))return!1;var e=s.call(t);return e===l||e===c}},{}],16:[function(t,e,r){"use strict";var n=Date.prototype.getDay,o=function tryDateObject(t){try{return n.call(t),!0}catch(e){return!1}},i=Object.prototype.toString,u="[object Date]",s="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function isDateObject(t){return"object"!=typeof t||null===t?!1:s?o(t):i.call(t)===u}},{}],17:[function(t,e,r){!function(){"use strict";var t=Math.pow(2,53)-1;e.exports=function isLength(e){return"number"==typeof e&&e>-1&&e%1===0&&t>=e}}()},{}],18:[function(t,e,r){!function(){"use strict";var r=t("validate.io-undefined"),n=t("lodash.isnull");e.exports=function isNil(t){return n(t)||r(t)}}()},{"lodash.isnull":21,"validate.io-undefined":22}],19:[function(t,e,r){"use strict";var n=RegExp.prototype.exec,o=function tryRegexExec(t){try{return n.call(t),!0}catch(e){return!1}},i=Object.prototype.toString,u="[object RegExp]",s="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function isRegex(t){return"object"!=typeof t?!1:s?o(t):i.call(t)===u}},{}],20:[function(t,e,r){"use strict";var n=Object.prototype.toString,o="function"==typeof Symbol&&"symbol"==typeof Symbol();if(o){var i=Symbol.prototype.toString,u=/^Symbol\(.*\)$/,s=function isSymbolObject(t){return"symbol"!=typeof t.valueOf()?!1:u.test(i.call(t))};e.exports=function isSymbol(t){if("symbol"==typeof t)return!0;if("[object Symbol]"!==n.call(t))return!1;try{return s(t)}catch(e){return!1}}}else e.exports=function isSymbol(t){return!1}},{}],21:[function(t,e,r){function isNull(t){return null===t}e.exports=isNull},{}],22:[function(t,e,r){"use strict";function isUndefined(t){return void 0===t}e.exports=isUndefined},{}]},{},[1])(1)}); | ||
//# sourceMappingURL=lib/is-array-like-x.map |
{ | ||
"name": "is-array-like-x", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "ES6 isArrayLike module.", | ||
@@ -33,10 +33,10 @@ "homepage": "https://github.com/Xotic750/is-array-like-x", | ||
"es-abstract": "^1.5.0", | ||
"is-length-x": "^1.0.5", | ||
"is-nil-x": "^1.0.2" | ||
"is-length-x": "^1.0.6", | ||
"is-nil-x": "^1.0.3" | ||
}, | ||
"devDependencies": { | ||
"es5-shim": "^4.4.1", | ||
"es6-shim": "^0.34.0", | ||
"es6-shim": "^0.34.1", | ||
"json3": "^3.3.2", | ||
"jscs": "^2.7.0", | ||
"jscs": "^2.8.0", | ||
"uglify-js": "^2.6.1", | ||
@@ -52,4 +52,4 @@ "browserify": "^12.0.1", | ||
"build": "browserify -e index.js -o lib/is-array-like-x.js -u 'crypto' -s returnExports", | ||
"build-uglify": "uglifyjs lib/is-array-like-x.js -o lib/is-array-like-x.min.js --compress unused=false,dead_code=false --keep-fnames --mangle --beautify ascii_only=true,beautify=false --source-map lib/is-array-like-x.map" | ||
"build-uglify": "uglifyjs lib/is-array-like-x.js -o lib/is-array-like-x.min.js --compress --keep-fnames --mangle --beautify ascii_only=true,beautify=false --source-map lib/is-array-like-x.map" | ||
} | ||
} |
@@ -42,3 +42,3 @@ <a name="module_is-array-like-x"></a> | ||
**Version**: 1.0.5 | ||
**Version**: 1.0.6 | ||
**Author:** Xotic750 <Xotic750@gmail.com> | ||
@@ -45,0 +45,0 @@ **License**: [MIT](<https://opensource.org/licenses/MIT>) |
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
73600
Updatedis-length-x@^1.0.6
Updatedis-nil-x@^1.0.3