Socket
Socket
Sign inDemoInstall

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 3.3.0 to 3.4.0

40

index.js
/**
* @file Cross-browser array slicer.
* @version 3.3.0
* @version 3.4.0
* @author Xotic750 <Xotic750@gmail.com>

@@ -14,21 +14,25 @@ * @copyright Xotic750

var isArguments = require('is-arguments');
var isString = require('is-string');
var attempt = require('attempt-x');
var isArray = require('is-array-x');
var arrayLikeSlice = require('array-like-slice-x');
var nativeSlice = Array.prototype.slice;
var isString;
var failArr;
var failDOM;
if (nativeSlice) {
var attempt = require('attempt-x');
var res = attempt.call([
1,
2,
3
], nativeSlice, 1, 2);
var res = attempt.call([
1,
2,
3
], nativeSlice, 1, 2);
var failArr = res.threw || res.value.length !== 1 || res.value[0] !== 2;
var failStr;
var failDOM;
if (failArr === false) {
res = attempt.call('abc', nativeSlice, 1, 2);
failStr = res.threw || res.value.length !== 1 || res.value[0] !== 'b';
var doc = typeof document !== 'undefined' && document;
failDOM = doc && attempt.call(doc.documentElement, nativeSlice).threw;
failArr = res.threw || isArray(res.value) === false || res.value.length !== 1 || res.value[0] !== 2;
if (failArr === false) {
res = attempt.call('abc', nativeSlice, 1, 2);
isString = (res.threw || res.value.length !== 1 || res.value[0] !== 'b') && require('is-string');
var doc = typeof document !== 'undefined' && document;
failDOM = doc && attempt.call(doc.documentElement, nativeSlice).threw;
}
} else {
failArr = true;
}

@@ -68,3 +72,3 @@

var object = toObject(array);
if (failArr || failDOM || (failStr && isString(object)) || isArguments(object)) {
if (failArr || (failDOM && isArray(object) === false) || (isString && isString(object)) || isArguments(object)) {
return arrayLikeSlice(object, start, end);

@@ -71,0 +75,0 @@ }

(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){
/**
* @file Cross-browser array slicer.
* @version 3.3.0
* @version 3.4.0
* @author Xotic750 <Xotic750@gmail.com>

@@ -15,21 +15,25 @@ * @copyright Xotic750

var isArguments = _dereq_('is-arguments');
var isString = _dereq_('is-string');
var attempt = _dereq_('attempt-x');
var isArray = _dereq_('is-array-x');
var arrayLikeSlice = _dereq_('array-like-slice-x');
var nativeSlice = Array.prototype.slice;
var isString;
var failArr;
var failDOM;
if (nativeSlice) {
var attempt = _dereq_('attempt-x');
var res = attempt.call([
1,
2,
3
], nativeSlice, 1, 2);
var res = attempt.call([
1,
2,
3
], nativeSlice, 1, 2);
var failArr = res.threw || res.value.length !== 1 || res.value[0] !== 2;
var failStr;
var failDOM;
if (failArr === false) {
res = attempt.call('abc', nativeSlice, 1, 2);
failStr = res.threw || res.value.length !== 1 || res.value[0] !== 'b';
var doc = typeof document !== 'undefined' && document;
failDOM = doc && attempt.call(doc.documentElement, nativeSlice).threw;
failArr = res.threw || isArray(res.value) === false || res.value.length !== 1 || res.value[0] !== 2;
if (failArr === false) {
res = attempt.call('abc', nativeSlice, 1, 2);
isString = (res.threw || res.value.length !== 1 || res.value[0] !== 'b') && _dereq_('is-string');
var doc = typeof document !== 'undefined' && document;
failDOM = doc && attempt.call(doc.documentElement, nativeSlice).threw;
}
} else {
failArr = true;
}

@@ -69,3 +73,3 @@

var object = toObject(array);
if (failArr || failDOM || (failStr && isString(object)) || isArguments(object)) {
if (failArr || (failDOM && isArray(object) === false) || (isString && isString(object)) || isArguments(object)) {
return arrayLikeSlice(object, start, end);

@@ -77,3 +81,3 @@ }

},{"array-like-slice-x":2,"attempt-x":3,"is-arguments":7,"is-string":14,"to-object-x":26}],2:[function(_dereq_,module,exports){
},{"array-like-slice-x":2,"attempt-x":3,"is-arguments":7,"is-array-x":8,"is-string":16,"to-object-x":28}],2:[function(_dereq_,module,exports){
/**

@@ -153,3 +157,3 @@ * @file Cross-browser array-like slicer.

},{"split-if-boxed-bug-x":22,"to-integer-x":23,"to-length-x":24,"to-object-x":26,"validate.io-undefined":33}],3:[function(_dereq_,module,exports){
},{"split-if-boxed-bug-x":24,"to-integer-x":25,"to-length-x":26,"to-object-x":28,"validate.io-undefined":35}],3:[function(_dereq_,module,exports){
/**

@@ -320,4 +324,48 @@ * @file Invokes function, returning an object of the results.

},{}],8:[function(_dereq_,module,exports){
/**
* @file Determines whether the passed value is an Array.
* @version 1.1.1
* @author Xotic750 <Xotic750@gmail.com>
* @copyright Xotic750
* @license {@link <https://opensource.org/licenses/MIT> MIT}
* @module is-array-x
*/
'use strict';
var isFalsey = _dereq_('is-falsey-x');
var nativeIsArray = typeof Array.isArray === 'function' && Array.isArray;
var $isArray;
if (nativeIsArray) {
try {
if ($isArray([]) && $isArray({ length: 0 }) === false) {
$isArray = nativeIsArray;
}
} catch (ignore) {}
}
if (isFalsey($isArray)) {
var toStringTag = _dereq_('to-string-tag-x');
$isArray = function isArray(obj) {
return toStringTag(obj) === '[object Array]';
};
}
/**
* The isArray() function determines whether the passed value is an Array.
*
* @param {*} obj - The object to be checked..
* @returns {boolean} `true` if the object is an Array; otherwise, `false`.
* @example
* var isArray = require('is-array-x');
*
* isArray([]); // true
* isArray({}); // false
*/
module.exports = $isArray;
},{"is-falsey-x":10,"to-string-tag-x":30}],9:[function(_dereq_,module,exports){
'use strict';
var getDay = Date.prototype.getDay;

@@ -342,4 +390,39 @@ var tryDateObject = function tryDateObject(value) {

},{}],9:[function(_dereq_,module,exports){
},{}],10:[function(_dereq_,module,exports){
/**
* @file Test if a given value is falsey.
* @version 1.0.0
* @author Xotic750 <Xotic750@gmail.com>
* @copyright Xotic750
* @license {@link <https://opensource.org/licenses/MIT> MIT}
* @module is-falsey-x
*/
'use strict';
/**
* This method tests if a given value is falsey.
*
* @param {*} value - The value to test.
* @returns {boolean} `true` if the value is falsey: otherwise `false`.
* @example
* var isFalsey = require('is-falsey-x');
*
* isFalsey(); // true
* isFalsey(0); // true
* isFalsey(''); // true
* isFalsey(false); // true
* isFalsey(null); // true
*
* isFalsey(true); // false
* isFalsey([]); // false
* isFalsey(1); // false
* isFalsey(function () {}); // false
*/
module.exports = function isFalsey(value) {
return Boolean(value) === false;
};
},{}],11:[function(_dereq_,module,exports){
/**
* @file ES6-compliant shim for Number.isFinite.

@@ -383,3 +466,3 @@ * @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-number.isfinite|20.1.2.2 Number.isFinite ( number )}

},{"is-nan-x":11}],10:[function(_dereq_,module,exports){
},{"is-nan-x":13}],12:[function(_dereq_,module,exports){
/**

@@ -489,3 +572,3 @@ * @file Determine whether a given value is a function object.

},{"has-to-string-tag-x":6,"is-primitive":13,"normalize-space-x":19,"replace-comments-x":20,"to-string-tag-x":28}],11:[function(_dereq_,module,exports){
},{"has-to-string-tag-x":6,"is-primitive":15,"normalize-space-x":21,"replace-comments-x":22,"to-string-tag-x":30}],13:[function(_dereq_,module,exports){
/**

@@ -535,3 +618,3 @@ * @file ES6-compliant shim for Number.isNaN - the global isNaN returns false positives.

},{}],12:[function(_dereq_,module,exports){
},{}],14:[function(_dereq_,module,exports){
/**

@@ -567,3 +650,3 @@ * @file Checks if `value` is `null` or `undefined`.

},{"lodash.isnull":16,"validate.io-undefined":33}],13:[function(_dereq_,module,exports){
},{"lodash.isnull":18,"validate.io-undefined":35}],15:[function(_dereq_,module,exports){
/*!

@@ -583,3 +666,3 @@ * is-primitive <https://github.com/jonschlinkert/is-primitive>

},{}],14:[function(_dereq_,module,exports){
},{}],16:[function(_dereq_,module,exports){
'use strict';

@@ -606,3 +689,3 @@

},{}],15:[function(_dereq_,module,exports){
},{}],17:[function(_dereq_,module,exports){
'use strict';

@@ -636,3 +719,3 @@

},{}],16:[function(_dereq_,module,exports){
},{}],18:[function(_dereq_,module,exports){
/**

@@ -669,3 +752,3 @@ * lodash 3.0.0 (Custom Build) <https://lodash.com/>

},{}],17:[function(_dereq_,module,exports){
},{}],19:[function(_dereq_,module,exports){
/**

@@ -715,7 +798,7 @@ * @file ES6-compliant shim for Math.sign.

},{"is-nan-x":11,"to-number-x":25}],18:[function(_dereq_,module,exports){
},{"is-nan-x":13,"to-number-x":27}],20:[function(_dereq_,module,exports){
'use strict';
module.exports = 9007199254740991;
},{}],19:[function(_dereq_,module,exports){
},{}],21:[function(_dereq_,module,exports){
/**

@@ -751,3 +834,3 @@ * @file Trims and replaces sequences of whitespace characters by a single space.

},{"trim-x":32,"white-space-x":34}],20:[function(_dereq_,module,exports){
},{"trim-x":34,"white-space-x":36}],22:[function(_dereq_,module,exports){
/**

@@ -784,3 +867,3 @@ * @file Replace the comments in a string.

},{"is-string":14}],21:[function(_dereq_,module,exports){
},{"is-string":16}],23:[function(_dereq_,module,exports){
/**

@@ -824,3 +907,3 @@ * @file ES6-compliant shim for RequireObjectCoercible.

},{"is-nil-x":12}],22:[function(_dereq_,module,exports){
},{"is-nil-x":14}],24:[function(_dereq_,module,exports){
/**

@@ -866,3 +949,3 @@ * @file Tests if a value is a string with the boxed bug; splits to an array.

},{"has-boxed-string-x":4,"is-string":14}],23:[function(_dereq_,module,exports){
},{"has-boxed-string-x":4,"is-string":16}],25:[function(_dereq_,module,exports){
/**

@@ -911,3 +994,3 @@ * @file ToInteger converts 'argument' to an integral numeric value.

},{"is-finite-x":9,"is-nan-x":11,"math-sign-x":17,"to-number-x":25}],24:[function(_dereq_,module,exports){
},{"is-finite-x":11,"is-nan-x":13,"math-sign-x":19,"to-number-x":27}],26:[function(_dereq_,module,exports){
/**

@@ -955,3 +1038,3 @@ * @file ES6-compliant shim for ToLength.

},{"max-safe-integer":18,"to-integer-x":23}],25:[function(_dereq_,module,exports){
},{"max-safe-integer":20,"to-integer-x":25}],27:[function(_dereq_,module,exports){
/**

@@ -1043,3 +1126,3 @@ * @file Converts argument to a value of type Number.

},{"to-primitive-x":27,"trim-x":32}],26:[function(_dereq_,module,exports){
},{"to-primitive-x":29,"trim-x":34}],28:[function(_dereq_,module,exports){
/**

@@ -1079,3 +1162,3 @@ * @file ES6-compliant shim for ToObject.

},{"require-object-coercible-x":21}],27:[function(_dereq_,module,exports){
},{"require-object-coercible-x":23}],29:[function(_dereq_,module,exports){
/**

@@ -1204,3 +1287,3 @@ * @file Converts a JavaScript object to a primitive value.

},{"has-symbol-support-x":5,"is-date-object":8,"is-function-x":10,"is-nil-x":12,"is-primitive":13,"is-symbol":15,"require-object-coercible-x":21,"validate.io-undefined":33}],28:[function(_dereq_,module,exports){
},{"has-symbol-support-x":5,"is-date-object":9,"is-function-x":12,"is-nil-x":14,"is-primitive":15,"is-symbol":17,"require-object-coercible-x":23,"validate.io-undefined":35}],30:[function(_dereq_,module,exports){
/**

@@ -1246,3 +1329,3 @@ * @file Get an object's ES6 @@toStringTag.

},{"lodash.isnull":16,"validate.io-undefined":33}],29:[function(_dereq_,module,exports){
},{"lodash.isnull":18,"validate.io-undefined":35}],31:[function(_dereq_,module,exports){
/**

@@ -1287,3 +1370,3 @@ * @file ES6-compliant shim for ToString.

},{"is-symbol":15}],30:[function(_dereq_,module,exports){
},{"is-symbol":17}],32:[function(_dereq_,module,exports){
/**

@@ -1317,3 +1400,3 @@ * @file This method removes whitespace from the left end of a string.

},{"to-string-x":29,"white-space-x":34}],31:[function(_dereq_,module,exports){
},{"to-string-x":31,"white-space-x":36}],33:[function(_dereq_,module,exports){
/**

@@ -1347,3 +1430,3 @@ * @file This method removes whitespace from the right end of a string.

},{"to-string-x":29,"white-space-x":34}],32:[function(_dereq_,module,exports){
},{"to-string-x":31,"white-space-x":36}],34:[function(_dereq_,module,exports){
/**

@@ -1377,3 +1460,3 @@ * @file This method removes whitespace from the left and right end of a string.

},{"trim-left-x":30,"trim-right-x":31}],33:[function(_dereq_,module,exports){
},{"trim-left-x":32,"trim-right-x":33}],35:[function(_dereq_,module,exports){
/**

@@ -1425,3 +1508,3 @@ *

},{}],34:[function(_dereq_,module,exports){
},{}],36:[function(_dereq_,module,exports){
/**

@@ -1428,0 +1511,0 @@ * @file List of ECMAScript5 white space characters.

!function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).returnExports=f()}}(function(){return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&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||e)},l,l.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o<r.length;o++)s(r[o]);return s}({1:[function(_dereq_,module,exports){/**
* @file Cross-browser array slicer.
* @version 3.3.0
* @version 3.4.0
* @author Xotic750 <Xotic750@gmail.com>

@@ -9,3 +9,3 @@ * @copyright Xotic750

*/
"use strict";var failStr,failDOM,toObject=_dereq_("to-object-x"),isArguments=_dereq_("is-arguments"),isString=_dereq_("is-string"),attempt=_dereq_("attempt-x"),arrayLikeSlice=_dereq_("array-like-slice-x"),nativeSlice=Array.prototype.slice,res=attempt.call([1,2,3],nativeSlice,1,2),failArr=res.threw||1!==res.value.length||2!==res.value[0];if(!1===failArr){res=attempt.call("abc",nativeSlice,1,2),failStr=res.threw||1!==res.value.length||"b"!==res.value[0];var doc="undefined"!=typeof document&&document;failDOM=doc&&attempt.call(doc.documentElement,nativeSlice).threw}module.exports=function slice(array,start,end){var object=toObject(array);return failArr||failDOM||failStr&&isString(object)||isArguments(object)?arrayLikeSlice(object,start,end):nativeSlice.apply(object,arrayLikeSlice(arguments,1))}},{"array-like-slice-x":2,"attempt-x":3,"is-arguments":7,"is-string":14,"to-object-x":26}],2:[function(_dereq_,module,exports){/**
"use strict";var isString,failArr,failDOM,toObject=_dereq_("to-object-x"),isArguments=_dereq_("is-arguments"),isArray=_dereq_("is-array-x"),arrayLikeSlice=_dereq_("array-like-slice-x"),nativeSlice=Array.prototype.slice;if(nativeSlice){var attempt=_dereq_("attempt-x"),res=attempt.call([1,2,3],nativeSlice,1,2);if(!1===(failArr=res.threw||!1===isArray(res.value)||1!==res.value.length||2!==res.value[0])){res=attempt.call("abc",nativeSlice,1,2),isString=(res.threw||1!==res.value.length||"b"!==res.value[0])&&_dereq_("is-string");var doc="undefined"!=typeof document&&document;failDOM=doc&&attempt.call(doc.documentElement,nativeSlice).threw}}else failArr=!0;module.exports=function slice(array,start,end){var object=toObject(array);return failArr||failDOM&&!1===isArray(object)||isString&&isString(object)||isArguments(object)?arrayLikeSlice(object,start,end):nativeSlice.apply(object,arrayLikeSlice(arguments,1))}},{"array-like-slice-x":2,"attempt-x":3,"is-arguments":7,"is-array-x":8,"is-string":16,"to-object-x":28}],2:[function(_dereq_,module,exports){/**
* @file Cross-browser array-like slicer.

@@ -18,3 +18,3 @@ * @version 1.1.0

*/
"use strict";var toObject=_dereq_("to-object-x"),toInteger=_dereq_("to-integer-x"),toLength=_dereq_("to-length-x"),isUndefined=_dereq_("validate.io-undefined"),splitIfBoxedBug=_dereq_("split-if-boxed-bug-x"),setRelative=function _setRelative(value,length){return value<0?Math.max(length+value,0):Math.min(value,length)};module.exports=function slice(arrayLike,start,end){var iterable=splitIfBoxedBug(toObject(arrayLike)),length=toLength(iterable.length),k=setRelative(toInteger(start),length),relativeEnd=isUndefined(end)?length:toInteger(end),finalEnd=setRelative(relativeEnd,length),val=[];val.length=Math.max(finalEnd-k,0);for(var next=0;k<finalEnd;)k in iterable&&(val[next]=iterable[k]),next+=1,k+=1;return val}},{"split-if-boxed-bug-x":22,"to-integer-x":23,"to-length-x":24,"to-object-x":26,"validate.io-undefined":33}],3:[function(_dereq_,module,exports){/**
"use strict";var toObject=_dereq_("to-object-x"),toInteger=_dereq_("to-integer-x"),toLength=_dereq_("to-length-x"),isUndefined=_dereq_("validate.io-undefined"),splitIfBoxedBug=_dereq_("split-if-boxed-bug-x"),setRelative=function _setRelative(value,length){return value<0?Math.max(length+value,0):Math.min(value,length)};module.exports=function slice(arrayLike,start,end){var iterable=splitIfBoxedBug(toObject(arrayLike)),length=toLength(iterable.length),k=setRelative(toInteger(start),length),relativeEnd=isUndefined(end)?length:toInteger(end),finalEnd=setRelative(relativeEnd,length),val=[];val.length=Math.max(finalEnd-k,0);for(var next=0;k<finalEnd;)k in iterable&&(val[next]=iterable[k]),next+=1,k+=1;return val}},{"split-if-boxed-bug-x":24,"to-integer-x":25,"to-length-x":26,"to-object-x":28,"validate.io-undefined":35}],3:[function(_dereq_,module,exports){/**
* @file Invokes function, returning an object of the results.

@@ -52,3 +52,19 @@ * @version 1.1.0

*/
"use strict";module.exports=_dereq_("has-symbol-support-x")&&"symbol"==typeof Symbol.toStringTag},{"has-symbol-support-x":5}],7:[function(_dereq_,module,exports){"use strict";var toStr=Object.prototype.toString,isStandardArguments=function isArguments(value){return"[object Arguments]"===toStr.call(value)},isLegacyArguments=function isArguments(value){return!!isStandardArguments(value)||null!==value&&"object"==typeof value&&"number"==typeof value.length&&value.length>=0&&"[object Array]"!==toStr.call(value)&&"[object Function]"===toStr.call(value.callee)},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments,module.exports=supportsStandardArguments?isStandardArguments:isLegacyArguments},{}],8:[function(_dereq_,module,exports){"use strict";var getDay=Date.prototype.getDay,tryDateObject=function tryDateObject(value){try{return getDay.call(value),!0}catch(e){return!1}},toStr=Object.prototype.toString,hasToStringTag="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;module.exports=function isDateObject(value){return"object"==typeof value&&null!==value&&(hasToStringTag?tryDateObject(value):"[object Date]"===toStr.call(value))}},{}],9:[function(_dereq_,module,exports){/**
"use strict";module.exports=_dereq_("has-symbol-support-x")&&"symbol"==typeof Symbol.toStringTag},{"has-symbol-support-x":5}],7:[function(_dereq_,module,exports){"use strict";var toStr=Object.prototype.toString,isStandardArguments=function isArguments(value){return"[object Arguments]"===toStr.call(value)},isLegacyArguments=function isArguments(value){return!!isStandardArguments(value)||null!==value&&"object"==typeof value&&"number"==typeof value.length&&value.length>=0&&"[object Array]"!==toStr.call(value)&&"[object Function]"===toStr.call(value.callee)},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments,module.exports=supportsStandardArguments?isStandardArguments:isLegacyArguments},{}],8:[function(_dereq_,module,exports){/**
* @file Determines whether the passed value is an Array.
* @version 1.1.1
* @author Xotic750 <Xotic750@gmail.com>
* @copyright Xotic750
* @license {@link <https://opensource.org/licenses/MIT> MIT}
* @module is-array-x
*/
"use strict";var $isArray,isFalsey=_dereq_("is-falsey-x"),nativeIsArray="function"==typeof Array.isArray&&Array.isArray;if(nativeIsArray)try{$isArray([])&&!1===$isArray({length:0})&&($isArray=nativeIsArray)}catch(ignore){}if(isFalsey($isArray)){var toStringTag=_dereq_("to-string-tag-x");$isArray=function isArray(obj){return"[object Array]"===toStringTag(obj)}}module.exports=$isArray},{"is-falsey-x":10,"to-string-tag-x":30}],9:[function(_dereq_,module,exports){"use strict";var getDay=Date.prototype.getDay,tryDateObject=function tryDateObject(value){try{return getDay.call(value),!0}catch(e){return!1}},toStr=Object.prototype.toString,hasToStringTag="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;module.exports=function isDateObject(value){return"object"==typeof value&&null!==value&&(hasToStringTag?tryDateObject(value):"[object Date]"===toStr.call(value))}},{}],10:[function(_dereq_,module,exports){/**
* @file Test if a given value is falsey.
* @version 1.0.0
* @author Xotic750 <Xotic750@gmail.com>
* @copyright Xotic750
* @license {@link <https://opensource.org/licenses/MIT> MIT}
* @module is-falsey-x
*/
"use strict";module.exports=function isFalsey(value){return!1===Boolean(value)}},{}],11:[function(_dereq_,module,exports){/**
* @file ES6-compliant shim for Number.isFinite.

@@ -62,3 +78,3 @@ * @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-number.isfinite|20.1.2.2 Number.isFinite ( number )}

*/
"use strict";var numberIsNaN=_dereq_("is-nan-x");module.exports=function isFinite(number){return"number"==typeof number&&!1===numberIsNaN(number)&&number!==1/0&&number!==-1/0}},{"is-nan-x":11}],10:[function(_dereq_,module,exports){/**
"use strict";var numberIsNaN=_dereq_("is-nan-x");module.exports=function isFinite(number){return"number"==typeof number&&!1===numberIsNaN(number)&&number!==1/0&&number!==-1/0}},{"is-nan-x":13}],12:[function(_dereq_,module,exports){/**
* @file Determine whether a given value is a function object.

@@ -71,3 +87,3 @@ * @version 3.1.1

*/
"use strict";var fToString=Function.prototype.toString,toStringTag=_dereq_("to-string-tag-x"),hasToStringTag=_dereq_("has-to-string-tag-x"),isPrimitive=_dereq_("is-primitive"),normalise=_dereq_("normalize-space-x"),deComment=_dereq_("replace-comments-x"),hasNativeClass=!0;try{Function('"use strict"; return class My {};')()}catch(ignore){hasNativeClass=!1}var ctrRx=/^class /,isES6ClassFn=function isES6ClassFunc(value){try{return ctrRx.test(normalise(deComment(fToString.call(value)," ")))}catch(ignore){}return!1},tryFuncToString=function funcToString(value,allowClass){try{return(!hasNativeClass||!1!==allowClass||!isES6ClassFn(value))&&(fToString.call(value),!0)}catch(ignore){}return!1};module.exports=function isFunction(value){if(isPrimitive(value))return!1;var allowClass=arguments.length>0&&Boolean(arguments[1]);if(hasToStringTag)return tryFuncToString(value,allowClass);if(hasNativeClass&&!1===allowClass&&isES6ClassFn(value))return!1;var strTag=toStringTag(value);return"[object Function]"===strTag||"[object GeneratorFunction]"===strTag||"[object AsyncFunction]"===strTag}},{"has-to-string-tag-x":6,"is-primitive":13,"normalize-space-x":19,"replace-comments-x":20,"to-string-tag-x":28}],11:[function(_dereq_,module,exports){/**
"use strict";var fToString=Function.prototype.toString,toStringTag=_dereq_("to-string-tag-x"),hasToStringTag=_dereq_("has-to-string-tag-x"),isPrimitive=_dereq_("is-primitive"),normalise=_dereq_("normalize-space-x"),deComment=_dereq_("replace-comments-x"),hasNativeClass=!0;try{Function('"use strict"; return class My {};')()}catch(ignore){hasNativeClass=!1}var ctrRx=/^class /,isES6ClassFn=function isES6ClassFunc(value){try{return ctrRx.test(normalise(deComment(fToString.call(value)," ")))}catch(ignore){}return!1},tryFuncToString=function funcToString(value,allowClass){try{return(!hasNativeClass||!1!==allowClass||!isES6ClassFn(value))&&(fToString.call(value),!0)}catch(ignore){}return!1};module.exports=function isFunction(value){if(isPrimitive(value))return!1;var allowClass=arguments.length>0&&Boolean(arguments[1]);if(hasToStringTag)return tryFuncToString(value,allowClass);if(hasNativeClass&&!1===allowClass&&isES6ClassFn(value))return!1;var strTag=toStringTag(value);return"[object Function]"===strTag||"[object GeneratorFunction]"===strTag||"[object AsyncFunction]"===strTag}},{"has-to-string-tag-x":6,"is-primitive":15,"normalize-space-x":21,"replace-comments-x":22,"to-string-tag-x":30}],13:[function(_dereq_,module,exports){/**
* @file ES6-compliant shim for Number.isNaN - the global isNaN returns false positives.

@@ -80,3 +96,3 @@ * @version 1.0.1

*/
"use strict";module.exports=function isNaN(value){return value!==value}},{}],12:[function(_dereq_,module,exports){/**
"use strict";module.exports=function isNaN(value){return value!==value}},{}],14:[function(_dereq_,module,exports){/**
* @file Checks if `value` is `null` or `undefined`.

@@ -89,3 +105,3 @@ * @version 1.4.1

*/
"use strict";var isUndefined=_dereq_("validate.io-undefined"),isNull=_dereq_("lodash.isnull");module.exports=function isNil(value){return isNull(value)||isUndefined(value)}},{"lodash.isnull":16,"validate.io-undefined":33}],13:[function(_dereq_,module,exports){"use strict";module.exports=function isPrimitive(value){return null==value||"function"!=typeof value&&"object"!=typeof value}},{}],14:[function(_dereq_,module,exports){"use strict";var strValue=String.prototype.valueOf,tryStringObject=function tryStringObject(value){try{return strValue.call(value),!0}catch(e){return!1}},toStr=Object.prototype.toString,hasToStringTag="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;module.exports=function isString(value){return"string"==typeof value||"object"==typeof value&&(hasToStringTag?tryStringObject(value):"[object String]"===toStr.call(value))}},{}],15:[function(_dereq_,module,exports){"use strict";var toStr=Object.prototype.toString;if("function"==typeof Symbol&&"symbol"==typeof Symbol()){var symToStr=Symbol.prototype.toString,symStringRegex=/^Symbol\(.*\)$/,isSymbolObject=function isSymbolObject(value){return"symbol"==typeof value.valueOf()&&symStringRegex.test(symToStr.call(value))};module.exports=function isSymbol(value){if("symbol"==typeof value)return!0;if("[object Symbol]"!==toStr.call(value))return!1;try{return isSymbolObject(value)}catch(e){return!1}}}else module.exports=function isSymbol(value){return!1}},{}],16:[function(_dereq_,module,exports){module.exports=function isNull(value){return null===value}},{}],17:[function(_dereq_,module,exports){/**
"use strict";var isUndefined=_dereq_("validate.io-undefined"),isNull=_dereq_("lodash.isnull");module.exports=function isNil(value){return isNull(value)||isUndefined(value)}},{"lodash.isnull":18,"validate.io-undefined":35}],15:[function(_dereq_,module,exports){"use strict";module.exports=function isPrimitive(value){return null==value||"function"!=typeof value&&"object"!=typeof value}},{}],16:[function(_dereq_,module,exports){"use strict";var strValue=String.prototype.valueOf,tryStringObject=function tryStringObject(value){try{return strValue.call(value),!0}catch(e){return!1}},toStr=Object.prototype.toString,hasToStringTag="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;module.exports=function isString(value){return"string"==typeof value||"object"==typeof value&&(hasToStringTag?tryStringObject(value):"[object String]"===toStr.call(value))}},{}],17:[function(_dereq_,module,exports){"use strict";var toStr=Object.prototype.toString;if("function"==typeof Symbol&&"symbol"==typeof Symbol()){var symToStr=Symbol.prototype.toString,symStringRegex=/^Symbol\(.*\)$/,isSymbolObject=function isSymbolObject(value){return"symbol"==typeof value.valueOf()&&symStringRegex.test(symToStr.call(value))};module.exports=function isSymbol(value){if("symbol"==typeof value)return!0;if("[object Symbol]"!==toStr.call(value))return!1;try{return isSymbolObject(value)}catch(e){return!1}}}else module.exports=function isSymbol(value){return!1}},{}],18:[function(_dereq_,module,exports){module.exports=function isNull(value){return null===value}},{}],19:[function(_dereq_,module,exports){/**
* @file ES6-compliant shim for Math.sign.

@@ -99,3 +115,3 @@ * @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-math.sign|20.2.2.29 Math.sign(x)}

*/
"use strict";var toNumber=_dereq_("to-number-x"),numberIsNaN=_dereq_("is-nan-x");module.exports=function sign(x){var n=toNumber(x);return 0===n||numberIsNaN(n)?n:n>0?1:-1}},{"is-nan-x":11,"to-number-x":25}],18:[function(_dereq_,module,exports){"use strict";module.exports=9007199254740991},{}],19:[function(_dereq_,module,exports){/**
"use strict";var toNumber=_dereq_("to-number-x"),numberIsNaN=_dereq_("is-nan-x");module.exports=function sign(x){var n=toNumber(x);return 0===n||numberIsNaN(n)?n:n>0?1:-1}},{"is-nan-x":13,"to-number-x":27}],20:[function(_dereq_,module,exports){"use strict";module.exports=9007199254740991},{}],21:[function(_dereq_,module,exports){/**
* @file Trims and replaces sequences of whitespace characters by a single space.

@@ -108,3 +124,3 @@ * @version 1.3.3

*/
"use strict";var trim=_dereq_("trim-x"),reNormalize=new RegExp("["+_dereq_("white-space-x").string+"]+","g");module.exports=function normalizeSpace(string){return trim(string).replace(reNormalize," ")}},{"trim-x":32,"white-space-x":34}],20:[function(_dereq_,module,exports){/**
"use strict";var trim=_dereq_("trim-x"),reNormalize=new RegExp("["+_dereq_("white-space-x").string+"]+","g");module.exports=function normalizeSpace(string){return trim(string).replace(reNormalize," ")}},{"trim-x":34,"white-space-x":36}],22:[function(_dereq_,module,exports){/**
* @file Replace the comments in a string.

@@ -117,3 +133,3 @@ * @version 1.0.3

*/
"use strict";var isString=_dereq_("is-string"),STRIP_COMMENTS=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm;module.exports=function replaceComments(string){var replacement=arguments.length>1&&isString(arguments[1])?arguments[1]:"";return isString(string)?string.replace(STRIP_COMMENTS,replacement):""}},{"is-string":14}],21:[function(_dereq_,module,exports){/**
"use strict";var isString=_dereq_("is-string"),STRIP_COMMENTS=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm;module.exports=function replaceComments(string){var replacement=arguments.length>1&&isString(arguments[1])?arguments[1]:"";return isString(string)?string.replace(STRIP_COMMENTS,replacement):""}},{"is-string":16}],23:[function(_dereq_,module,exports){/**
* @file ES6-compliant shim for RequireObjectCoercible.

@@ -127,3 +143,3 @@ * @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-requireobjectcoercible|7.2.1 RequireObjectCoercible ( argument )}

*/
"use strict";var isNil=_dereq_("is-nil-x");module.exports=function RequireObjectCoercible(value){if(isNil(value))throw new TypeError("Cannot call method on "+value);return value}},{"is-nil-x":12}],22:[function(_dereq_,module,exports){/**
"use strict";var isNil=_dereq_("is-nil-x");module.exports=function RequireObjectCoercible(value){if(isNil(value))throw new TypeError("Cannot call method on "+value);return value}},{"is-nil-x":14}],24:[function(_dereq_,module,exports){/**
* @file Tests if a value is a string with the boxed bug; splits to an array.

@@ -136,3 +152,3 @@ * @version 1.0.0

*/
"use strict";var strSplit,isString,splitString=!1===_dereq_("has-boxed-string-x");splitString&&(strSplit=String.prototype.split,isString=_dereq_("is-string")),module.exports=function splitIfBoxedBug(value){return splitString&&isString(value)?strSplit.call(value,""):value}},{"has-boxed-string-x":4,"is-string":14}],23:[function(_dereq_,module,exports){/**
"use strict";var strSplit,isString,splitString=!1===_dereq_("has-boxed-string-x");splitString&&(strSplit=String.prototype.split,isString=_dereq_("is-string")),module.exports=function splitIfBoxedBug(value){return splitString&&isString(value)?strSplit.call(value,""):value}},{"has-boxed-string-x":4,"is-string":16}],25:[function(_dereq_,module,exports){/**
* @file ToInteger converts 'argument' to an integral numeric value.

@@ -146,3 +162,3 @@ * @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-tointeger|7.1.4 ToInteger ( argument )}

*/
"use strict";var toNumber=_dereq_("to-number-x"),numberIsNaN=_dereq_("is-nan-x"),numberIsFinite=_dereq_("is-finite-x"),mathSign=_dereq_("math-sign-x");module.exports=function toInteger(value){var number=toNumber(value);return numberIsNaN(number)?0:0===number||!1===numberIsFinite(number)?number:mathSign(number)*Math.floor(Math.abs(number))}},{"is-finite-x":9,"is-nan-x":11,"math-sign-x":17,"to-number-x":25}],24:[function(_dereq_,module,exports){/**
"use strict";var toNumber=_dereq_("to-number-x"),numberIsNaN=_dereq_("is-nan-x"),numberIsFinite=_dereq_("is-finite-x"),mathSign=_dereq_("math-sign-x");module.exports=function toInteger(value){var number=toNumber(value);return numberIsNaN(number)?0:0===number||!1===numberIsFinite(number)?number:mathSign(number)*Math.floor(Math.abs(number))}},{"is-finite-x":11,"is-nan-x":13,"math-sign-x":19,"to-number-x":27}],26:[function(_dereq_,module,exports){/**
* @file ES6-compliant shim for ToLength.

@@ -156,3 +172,3 @@ * @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-tolength|7.1.15 ToLength ( argument )}

*/
"use strict";var toInteger=_dereq_("to-integer-x"),MAX_SAFE_INTEGER=_dereq_("max-safe-integer");module.exports=function toLength(value){var len=toInteger(value);return len<=0?0:len>MAX_SAFE_INTEGER?MAX_SAFE_INTEGER:len}},{"max-safe-integer":18,"to-integer-x":23}],25:[function(_dereq_,module,exports){/**
"use strict";var toInteger=_dereq_("to-integer-x"),MAX_SAFE_INTEGER=_dereq_("max-safe-integer");module.exports=function toLength(value){var len=toInteger(value);return len<=0?0:len>MAX_SAFE_INTEGER?MAX_SAFE_INTEGER:len}},{"max-safe-integer":20,"to-integer-x":25}],27:[function(_dereq_,module,exports){/**
* @file Converts argument to a value of type Number.

@@ -165,3 +181,3 @@ * @version 1.1.0

*/
"use strict";var toPrimitive=_dereq_("to-primitive-x"),trim=_dereq_("trim-x"),pStrSlice=String.prototype.slice,binaryRegex=/^0b[01]+$/i,test=binaryRegex.test,isBinary=function _isBinary(value){return test.call(binaryRegex,value)},octalRegex=/^0o[0-7]+$/i,isOctal=function _isOctal(value){return test.call(octalRegex,value)},nonWS=["\x85","\u200b","\ufffe"].join(""),nonWSregex=new RegExp("["+nonWS+"]","g"),hasNonWS=function _hasNonWS(value){return test.call(nonWSregex,value)},invalidHexLiteral=/^[-+]0x[0-9a-f]+$/i,isInvalidHexLiteral=function _isInvalidHexLiteral(value){return test.call(invalidHexLiteral,value)},$toNumber=function toNumber(argument){var value=toPrimitive(argument,Number);if("symbol"==typeof value)throw new TypeError("Cannot convert a Symbol value to a number");if("string"==typeof value){if(isBinary(value))return $toNumber(parseInt(pStrSlice.call(value,2),2));if(isOctal(value))return $toNumber(parseInt(pStrSlice.call(value,2),8));if(hasNonWS(value)||isInvalidHexLiteral(value))return NaN;var trimmed=trim(value);if(trimmed!==value)return $toNumber(trimmed)}return Number(value)};module.exports=$toNumber},{"to-primitive-x":27,"trim-x":32}],26:[function(_dereq_,module,exports){/**
"use strict";var toPrimitive=_dereq_("to-primitive-x"),trim=_dereq_("trim-x"),pStrSlice=String.prototype.slice,binaryRegex=/^0b[01]+$/i,test=binaryRegex.test,isBinary=function _isBinary(value){return test.call(binaryRegex,value)},octalRegex=/^0o[0-7]+$/i,isOctal=function _isOctal(value){return test.call(octalRegex,value)},nonWS=["\x85","\u200b","\ufffe"].join(""),nonWSregex=new RegExp("["+nonWS+"]","g"),hasNonWS=function _hasNonWS(value){return test.call(nonWSregex,value)},invalidHexLiteral=/^[-+]0x[0-9a-f]+$/i,isInvalidHexLiteral=function _isInvalidHexLiteral(value){return test.call(invalidHexLiteral,value)},$toNumber=function toNumber(argument){var value=toPrimitive(argument,Number);if("symbol"==typeof value)throw new TypeError("Cannot convert a Symbol value to a number");if("string"==typeof value){if(isBinary(value))return $toNumber(parseInt(pStrSlice.call(value,2),2));if(isOctal(value))return $toNumber(parseInt(pStrSlice.call(value,2),8));if(hasNonWS(value)||isInvalidHexLiteral(value))return NaN;var trimmed=trim(value);if(trimmed!==value)return $toNumber(trimmed)}return Number(value)};module.exports=$toNumber},{"to-primitive-x":29,"trim-x":34}],28:[function(_dereq_,module,exports){/**
* @file ES6-compliant shim for ToObject.

@@ -175,3 +191,3 @@ * @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-toobject|7.1.13 ToObject ( argument )}

*/
"use strict";var requireObjectCoercible=_dereq_("require-object-coercible-x");module.exports=function toObject(value){return Object(requireObjectCoercible(value))}},{"require-object-coercible-x":21}],27:[function(_dereq_,module,exports){/**
"use strict";var requireObjectCoercible=_dereq_("require-object-coercible-x");module.exports=function toObject(value){return Object(requireObjectCoercible(value))}},{"require-object-coercible-x":23}],29:[function(_dereq_,module,exports){/**
* @file Converts a JavaScript object to a primitive value.

@@ -184,3 +200,3 @@ * @version 1.0.1

*/
"use strict";var hasSymbols=_dereq_("has-symbol-support-x"),isPrimitive=_dereq_("is-primitive"),isDate=_dereq_("is-date-object"),isSymbol=_dereq_("is-symbol"),isFunction=_dereq_("is-function-x"),requireObjectCoercible=_dereq_("require-object-coercible-x"),isNil=_dereq_("is-nil-x"),isUndefined=_dereq_("validate.io-undefined"),symToPrimitive=hasSymbols&&Symbol.toPrimitive,symValueOf=hasSymbols&&Symbol.prototype.valueOf,toStringOrder=["toString","valueOf"],toNumberOrder=["valueOf","toString"],ordinaryToPrimitive=function _ordinaryToPrimitive(O,hint){if(requireObjectCoercible(O),"string"!=typeof hint||"number"!==hint&&"string"!==hint)throw new TypeError('hint must be "string" or "number"');for(var method,result,methodNames="string"===hint?toStringOrder:toNumberOrder,i=0;i<2;i+=1)if(method=O[methodNames[i]],isFunction(method)&&(result=method.call(O),isPrimitive(result)))return result;throw new TypeError("No default value")},getMethod=function _getMethod(O,P){var func=O[P];if(!1===isNil(func)){if(!1===isFunction(func))throw new TypeError(func+" returned for property "+P+" of object "+O+" is not a function");return func}};module.exports=function toPrimitive(input,preferredType){if(isPrimitive(input))return input;var hint="default";arguments.length>1&&(preferredType===String?hint="string":preferredType===Number&&(hint="number"));var exoticToPrim;if(hasSymbols&&(symToPrimitive?exoticToPrim=getMethod(input,symToPrimitive):isSymbol(input)&&(exoticToPrim=symValueOf)),!1===isUndefined(exoticToPrim)){var result=exoticToPrim.call(input,hint);if(isPrimitive(result))return result;throw new TypeError("unable to convert exotic object to primitive")}return"default"===hint&&(isDate(input)||isSymbol(input))&&(hint="string"),ordinaryToPrimitive(input,"default"===hint?"number":hint)}},{"has-symbol-support-x":5,"is-date-object":8,"is-function-x":10,"is-nil-x":12,"is-primitive":13,"is-symbol":15,"require-object-coercible-x":21,"validate.io-undefined":33}],28:[function(_dereq_,module,exports){/**
"use strict";var hasSymbols=_dereq_("has-symbol-support-x"),isPrimitive=_dereq_("is-primitive"),isDate=_dereq_("is-date-object"),isSymbol=_dereq_("is-symbol"),isFunction=_dereq_("is-function-x"),requireObjectCoercible=_dereq_("require-object-coercible-x"),isNil=_dereq_("is-nil-x"),isUndefined=_dereq_("validate.io-undefined"),symToPrimitive=hasSymbols&&Symbol.toPrimitive,symValueOf=hasSymbols&&Symbol.prototype.valueOf,toStringOrder=["toString","valueOf"],toNumberOrder=["valueOf","toString"],ordinaryToPrimitive=function _ordinaryToPrimitive(O,hint){if(requireObjectCoercible(O),"string"!=typeof hint||"number"!==hint&&"string"!==hint)throw new TypeError('hint must be "string" or "number"');for(var method,result,methodNames="string"===hint?toStringOrder:toNumberOrder,i=0;i<2;i+=1)if(method=O[methodNames[i]],isFunction(method)&&(result=method.call(O),isPrimitive(result)))return result;throw new TypeError("No default value")},getMethod=function _getMethod(O,P){var func=O[P];if(!1===isNil(func)){if(!1===isFunction(func))throw new TypeError(func+" returned for property "+P+" of object "+O+" is not a function");return func}};module.exports=function toPrimitive(input,preferredType){if(isPrimitive(input))return input;var hint="default";arguments.length>1&&(preferredType===String?hint="string":preferredType===Number&&(hint="number"));var exoticToPrim;if(hasSymbols&&(symToPrimitive?exoticToPrim=getMethod(input,symToPrimitive):isSymbol(input)&&(exoticToPrim=symValueOf)),!1===isUndefined(exoticToPrim)){var result=exoticToPrim.call(input,hint);if(isPrimitive(result))return result;throw new TypeError("unable to convert exotic object to primitive")}return"default"===hint&&(isDate(input)||isSymbol(input))&&(hint="string"),ordinaryToPrimitive(input,"default"===hint?"number":hint)}},{"has-symbol-support-x":5,"is-date-object":9,"is-function-x":12,"is-nil-x":14,"is-primitive":15,"is-symbol":17,"require-object-coercible-x":23,"validate.io-undefined":35}],30:[function(_dereq_,module,exports){/**
* @file Get an object's ES6 @@toStringTag.

@@ -194,3 +210,3 @@ * @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring|19.1.3.6 Object.prototype.toString ( )}

*/
"use strict";var isNull=_dereq_("lodash.isnull"),isUndefined=_dereq_("validate.io-undefined"),toStr=Object.prototype.toString;module.exports=function toStringTag(value){return isNull(value)?"[object Null]":isUndefined(value)?"[object Undefined]":toStr.call(value)}},{"lodash.isnull":16,"validate.io-undefined":33}],29:[function(_dereq_,module,exports){/**
"use strict";var isNull=_dereq_("lodash.isnull"),isUndefined=_dereq_("validate.io-undefined"),toStr=Object.prototype.toString;module.exports=function toStringTag(value){return isNull(value)?"[object Null]":isUndefined(value)?"[object Undefined]":toStr.call(value)}},{"lodash.isnull":18,"validate.io-undefined":35}],31:[function(_dereq_,module,exports){/**
* @file ES6-compliant shim for ToString.

@@ -204,3 +220,3 @@ * @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-tostring|7.1.12 ToString ( argument )}

*/
"use strict";var isSymbol=_dereq_("is-symbol");module.exports=function ToString(value){if(isSymbol(value))throw new TypeError("Cannot convert a Symbol value to a string");return String(value)}},{"is-symbol":15}],30:[function(_dereq_,module,exports){/**
"use strict";var isSymbol=_dereq_("is-symbol");module.exports=function ToString(value){if(isSymbol(value))throw new TypeError("Cannot convert a Symbol value to a string");return String(value)}},{"is-symbol":17}],32:[function(_dereq_,module,exports){/**
* @file This method removes whitespace from the left end of a string.

@@ -213,3 +229,3 @@ * @version 1.3.5

*/
"use strict";var $toString=_dereq_("to-string-x"),reLeft=new RegExp("^["+_dereq_("white-space-x").string+"]+");module.exports=function trimLeft(string){return $toString(string).replace(reLeft,"")}},{"to-string-x":29,"white-space-x":34}],31:[function(_dereq_,module,exports){/**
"use strict";var $toString=_dereq_("to-string-x"),reLeft=new RegExp("^["+_dereq_("white-space-x").string+"]+");module.exports=function trimLeft(string){return $toString(string).replace(reLeft,"")}},{"to-string-x":31,"white-space-x":36}],33:[function(_dereq_,module,exports){/**
* @file This method removes whitespace from the right end of a string.

@@ -222,3 +238,3 @@ * @version 1.3.3

*/
"use strict";var $toString=_dereq_("to-string-x"),reRight=new RegExp("["+_dereq_("white-space-x").string+"]+$");module.exports=function trimRight(string){return $toString(string).replace(reRight,"")}},{"to-string-x":29,"white-space-x":34}],32:[function(_dereq_,module,exports){/**
"use strict";var $toString=_dereq_("to-string-x"),reRight=new RegExp("["+_dereq_("white-space-x").string+"]+$");module.exports=function trimRight(string){return $toString(string).replace(reRight,"")}},{"to-string-x":31,"white-space-x":36}],34:[function(_dereq_,module,exports){/**
* @file This method removes whitespace from the left and right end of a string.

@@ -231,3 +247,3 @@ * @version 1.0.3

*/
"use strict";var trimLeft=_dereq_("trim-left-x"),trimRight=_dereq_("trim-right-x");module.exports=function trim(string){return trimLeft(trimRight(string))}},{"trim-left-x":30,"trim-right-x":31}],33:[function(_dereq_,module,exports){"use strict";module.exports=function isUndefined(value){return void 0===value}},{}],34:[function(_dereq_,module,exports){/**
"use strict";var trimLeft=_dereq_("trim-left-x"),trimRight=_dereq_("trim-right-x");module.exports=function trim(string){return trimLeft(trimRight(string))}},{"trim-left-x":32,"trim-right-x":33}],35:[function(_dereq_,module,exports){"use strict";module.exports=function isUndefined(value){return void 0===value}},{}],36:[function(_dereq_,module,exports){/**
* @file List of ECMAScript5 white space characters.

@@ -234,0 +250,0 @@ * @version 2.0.3

{
"name": "array-slice-x",
"version": "3.3.0",
"version": "3.4.0",
"description": "Cross-browser array slicer.",

@@ -35,2 +35,3 @@ "homepage": "https://github.com/Xotic750/array-slice-x",

"is-arguments": "^1.0.2",
"is-array-x": "^1.1.1",
"is-string": "^1.0.4",

@@ -37,0 +38,0 @@ "to-object-x": "^1.4.1"

@@ -26,3 +26,3 @@ <a href="https://travis-ci.org/Xotic750/array-slice-x"

**Version**: 3.3.0
**Version**: 3.4.0
**Author**: Xotic750 <Xotic750@gmail.com>

@@ -29,0 +29,0 @@ **License**: [MIT](&lt;https://opensource.org/licenses/MIT&gt;)

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