is-array-like-x
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -42,3 +42,3 @@ /** | ||
* | ||
* @version 1.0.8 | ||
* @version 1.0.9 | ||
* @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(_dereq_,module,exports){ | ||
* | ||
* @version 1.0.8 | ||
* @version 1.0.9 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
@@ -133,3 +133,3 @@ * @copyright Xotic750 | ||
* | ||
* @version 1.0.6 | ||
* @version 1.0.7 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
@@ -207,3 +207,3 @@ * @copyright Xotic750 | ||
* | ||
* @version 1.0.5 | ||
* @version 1.0.6 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
@@ -263,3 +263,3 @@ * @copyright Xotic750 | ||
* | ||
* isFunction module. | ||
* isFunction module. Determine whether a given value is a function object. | ||
* | ||
@@ -283,3 +283,3 @@ * <h2>ECMAScript compatibility shims for legacy JavaScript engines</h2> | ||
* | ||
* @version 1.0.0 | ||
* @version 1.0.2 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
@@ -402,3 +402,3 @@ * @copyright Xotic750 | ||
* | ||
* @version 1.0.5 | ||
* @version 1.0.6 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
@@ -592,3 +592,3 @@ * @copyright Xotic750 | ||
* | ||
* @version 1.0.5 | ||
* @version 1.0.7 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
@@ -606,3 +606,3 @@ * @copyright Xotic750 | ||
es3:true, esnext:false, plusplus:true, maxparams:1, maxdepth:1, | ||
maxstatements:5, maxcomplexity:3 */ | ||
maxstatements:6, maxcomplexity:3 */ | ||
@@ -615,2 +615,4 @@ /*global module */ | ||
var pToString = Object.prototype.toString; | ||
var isNull = _dereq_('lodash.isnull'); | ||
var isUndefined = _dereq_('validate.io-undefined'); | ||
var nullTag = '[object Null]'; | ||
@@ -631,6 +633,6 @@ var undefTag = '[object Undefined]'; | ||
module.exports = function toStringTag(value) { | ||
if (value === null) { | ||
if (isNull(value)) { | ||
return nullTag; | ||
} | ||
if (typeof value === 'undefined') { | ||
if (isUndefined(value)) { | ||
return undefTag; | ||
@@ -642,3 +644,3 @@ } | ||
},{}],10:[function(_dereq_,module,exports){ | ||
},{"lodash.isnull":8,"validate.io-undefined":10}],10:[function(_dereq_,module,exports){ | ||
/** | ||
@@ -645,0 +647,0 @@ * |
@@ -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 n;n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,n.returnExports=t()}}(function(){return function e(t,n,i){function s(r,u){if(!n[r]){if(!t[r]){var f="function"==typeof require&&require;if(!u&&f)return f(r,!0);if(o)return o(r,!0);var c=new Error("Cannot find module '"+r+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[r]={exports:{}};t[r][0].call(l.exports,function(n){var e=t[r][1][n];return s(e?e:n)},l,l.exports,e,t,n,i)}return n[r].exports}for(var o="function"==typeof require&&require,r=0;r<i.length;r++)s(i[r]);return s}({1:[function(t,n,e){!function(){"use strict";var e=t("is-nil-x"),i=t("is-function-x"),o=t("lodash.islength");n.exports=function isArrayLike(t){return!e(t)&&!i(t)&&o(t.length)}}()},{"is-function-x":4,"is-nil-x":5,"lodash.islength":7}],2:[function(t,n,e){!function(){"use strict";n.exports="function"==typeof Symbol&&"symbol"==typeof Symbol()}()},{}],3:[function(t,n,e){!function(){"use strict";n.exports=t("has-symbol-support-x")&&"symbol"==typeof Symbol.toStringTag}()},{"has-symbol-support-x":2}],4:[function(t,n,e){!function(){"use strict";function tryFunctionObject(t){try{return e.call(t),!0}catch(n){}return!1}var e=Function.prototype.toString,i=t("to-string-tag-x"),o=t("has-to-string-tag-x"),r=t("is-primitive"),u="[object Function]",s="[object GeneratorFunction]";n.exports=function isFunction(t){if(r(t))return!1;if(o)return tryFunctionObject(t);var n=i(t);return n===u||n===s}}()},{"has-to-string-tag-x":3,"is-primitive":6,"to-string-tag-x":9}],5:[function(t,n,e){!function(){"use strict";var e=t("validate.io-undefined"),i=t("lodash.isnull");n.exports=function isNil(t){return i(t)||e(t)}}()},{"lodash.isnull":8,"validate.io-undefined":10}],6:[function(t,n,e){"use strict";n.exports=function isPrimitive(t){return null==t||"function"!=typeof t&&"object"!=typeof t}},{}],7:[function(t,n,e){function isLength(t){return"number"==typeof t&&t>-1&&t%1==0&&i>=t}var i=9007199254740991;n.exports=isLength},{}],8:[function(t,n,e){function isNull(t){return null===t}n.exports=isNull},{}],9:[function(t,n,e){!function(){"use strict";var t=Object.prototype.toString,e="[object Null]",i="[object Undefined]";n.exports=function toStringTag(n){return null===n?e:"undefined"==typeof n?i:t.call(n)}}()},{}],10:[function(t,n,e){"use strict";function isUndefined(t){return void 0===t}n.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 n;n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,n.returnExports=t()}}(function(){return function e(t,n,i){function s(r,u){if(!n[r]){if(!t[r]){var f="function"==typeof require&&require;if(!u&&f)return f(r,!0);if(o)return o(r,!0);var c=new Error("Cannot find module '"+r+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[r]={exports:{}};t[r][0].call(l.exports,function(n){var e=t[r][1][n];return s(e?e:n)},l,l.exports,e,t,n,i)}return n[r].exports}for(var o="function"==typeof require&&require,r=0;r<i.length;r++)s(i[r]);return s}({1:[function(t,n,e){!function(){"use strict";var e=t("is-nil-x"),i=t("is-function-x"),o=t("lodash.islength");n.exports=function isArrayLike(t){return!e(t)&&!i(t)&&o(t.length)}}()},{"is-function-x":4,"is-nil-x":5,"lodash.islength":7}],2:[function(t,n,e){!function(){"use strict";n.exports="function"==typeof Symbol&&"symbol"==typeof Symbol()}()},{}],3:[function(t,n,e){!function(){"use strict";n.exports=t("has-symbol-support-x")&&"symbol"==typeof Symbol.toStringTag}()},{"has-symbol-support-x":2}],4:[function(t,n,e){!function(){"use strict";function tryFunctionObject(t){try{return e.call(t),!0}catch(n){}return!1}var e=Function.prototype.toString,i=t("to-string-tag-x"),o=t("has-to-string-tag-x"),r=t("is-primitive"),u="[object Function]",s="[object GeneratorFunction]";n.exports=function isFunction(t){if(r(t))return!1;if(o)return tryFunctionObject(t);var n=i(t);return n===u||n===s}}()},{"has-to-string-tag-x":3,"is-primitive":6,"to-string-tag-x":9}],5:[function(t,n,e){!function(){"use strict";var e=t("validate.io-undefined"),i=t("lodash.isnull");n.exports=function isNil(t){return i(t)||e(t)}}()},{"lodash.isnull":8,"validate.io-undefined":10}],6:[function(t,n,e){"use strict";n.exports=function isPrimitive(t){return null==t||"function"!=typeof t&&"object"!=typeof t}},{}],7:[function(t,n,e){function isLength(t){return"number"==typeof t&&t>-1&&t%1==0&&i>=t}var i=9007199254740991;n.exports=isLength},{}],8:[function(t,n,e){function isNull(t){return null===t}n.exports=isNull},{}],9:[function(t,n,e){!function(){"use strict";var e=Object.prototype.toString,i=t("lodash.isnull"),o=t("validate.io-undefined"),r="[object Null]",u="[object Undefined]";n.exports=function toStringTag(t){return i(t)?r:o(t)?u:e.call(t)}}()},{"lodash.isnull":8,"validate.io-undefined":10}],10:[function(t,n,e){"use strict";function isUndefined(t){return void 0===t}n.exports=isUndefined},{}]},{},[1])(1)}); | ||
//# sourceMappingURL=lib/is-array-like-x.map |
{ | ||
"name": "is-array-like-x", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "ES6 isArrayLike module.", | ||
@@ -32,9 +32,9 @@ "homepage": "https://github.com/Xotic750/is-array-like-x", | ||
"dependencies": { | ||
"is-nil-x": "^1.0.5", | ||
"is-function-x": "^1.0.0", | ||
"is-nil-x": "^1.0.6", | ||
"is-function-x": "^1.0.2", | ||
"lodash.islength": "^4.0.0" | ||
}, | ||
"devDependencies": { | ||
"es5-shim": "^4.4.1", | ||
"es6-shim": "^0.34.1", | ||
"es5-shim": "^4.5.0", | ||
"es6-shim": "^0.34.2", | ||
"json3": "^3.3.2", | ||
@@ -41,0 +41,0 @@ "jscs": "^2.8.0", |
@@ -42,3 +42,3 @@ <a name="module_is-array-like-x"></a> | ||
**Version**: 1.0.8 | ||
**Version**: 1.0.9 | ||
**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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
45752
794
4
Updatedis-function-x@^1.0.2
Updatedis-nil-x@^1.0.6