first commit
This commit is contained in:
1
build/node_modules/is-array-buffer-x/.eslintignore
generated
vendored
Normal file
1
build/node_modules/is-array-buffer-x/.eslintignore
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
lib/*
|
||||
6
build/node_modules/is-array-buffer-x/.eslintrc.json
generated
vendored
Normal file
6
build/node_modules/is-array-buffer-x/.eslintrc.json
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"root": true,
|
||||
"extends": [
|
||||
"@xotic750/eslint-config-standard-x"
|
||||
]
|
||||
}
|
||||
1
build/node_modules/is-array-buffer-x/.nvmrc
generated
vendored
Normal file
1
build/node_modules/is-array-buffer-x/.nvmrc
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
lts/*
|
||||
99
build/node_modules/is-array-buffer-x/.travis.yml
generated
vendored
Normal file
99
build/node_modules/is-array-buffer-x/.travis.yml
generated
vendored
Normal file
@@ -0,0 +1,99 @@
|
||||
sudo: false
|
||||
language: node_js
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- /^greenkeeper/.*$/
|
||||
notifications:
|
||||
email: false
|
||||
node_js:
|
||||
- "8.4"
|
||||
- "8.3"
|
||||
- "8.2"
|
||||
- "8.1"
|
||||
- "8.0"
|
||||
- "7.10"
|
||||
- "7.9"
|
||||
- "7.8"
|
||||
- "7.7"
|
||||
- "7.6"
|
||||
- "7.5"
|
||||
- "7.4"
|
||||
- "7.3"
|
||||
- "7.2"
|
||||
- "7.1"
|
||||
- "7.0"
|
||||
- "6.11"
|
||||
- "6.10"
|
||||
- "6.9"
|
||||
- "6.8"
|
||||
- "6.7"
|
||||
- "6.6"
|
||||
- "6.5"
|
||||
- "6.4"
|
||||
- "6.3"
|
||||
- "6.2"
|
||||
- "6.1"
|
||||
- "6.0"
|
||||
- "5.12"
|
||||
- "5.11"
|
||||
- "5.10"
|
||||
- "5.9"
|
||||
- "5.8"
|
||||
- "5.7"
|
||||
- "5.6"
|
||||
- "5.5"
|
||||
- "5.4"
|
||||
- "5.3"
|
||||
- "5.2"
|
||||
- "5.1"
|
||||
- "5.0"
|
||||
- "4.8"
|
||||
- "4.7"
|
||||
- "4.6"
|
||||
- "4.5"
|
||||
- "4.4"
|
||||
- "4.3"
|
||||
- "4.2"
|
||||
- "4.1"
|
||||
- "4.0"
|
||||
- "iojs-v3.3"
|
||||
- "iojs-v3.2"
|
||||
- "iojs-v3.1"
|
||||
- "iojs-v3.0"
|
||||
- "iojs-v2.5"
|
||||
- "iojs-v2.4"
|
||||
- "iojs-v2.3"
|
||||
- "iojs-v2.2"
|
||||
- "iojs-v2.1"
|
||||
- "iojs-v2.0"
|
||||
- "iojs-v1.8"
|
||||
- "iojs-v1.7"
|
||||
- "iojs-v1.6"
|
||||
- "iojs-v1.5"
|
||||
- "iojs-v1.4"
|
||||
- "iojs-v1.3"
|
||||
- "iojs-v1.2"
|
||||
- "iojs-v1.1"
|
||||
- "iojs-v1.0"
|
||||
- "0.12"
|
||||
- "0.11"
|
||||
- "0.10"
|
||||
- "0.9"
|
||||
- "0.8"
|
||||
- "0.6"
|
||||
- "0.4"
|
||||
before_install:
|
||||
- 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then npm install -g npm@1.3 ; elif [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then case "$(npm --version)" in 1.*) npm install -g npm@1.4.28 ;; 2.*) npm install -g npm@2 ; esac ; fi'
|
||||
- 'if [ "${TRAVIS_NODE_VERSION}" != "0.6" ] && [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then if [ "${TRAVIS_NODE_VERSION%${TRAVIS_NODE_VERSION#[0-9]}}" = "0" ] || [ "${TRAVIS_NODE_VERSION:0:4}" = "iojs" ]; then npm install -g npm@4.5; elif [[ "${TRAVIS_NODE_VERSION%${TRAVIS_NODE_VERSION#[0-9]}}" =~ ^[4-5]+$ ]]; then npm install -g npm@5.3; else npm install -g npm; fi; fi'
|
||||
install:
|
||||
- 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then nvm install 0.8 && npm install -g npm@1.3 && npm install -g npm@1.4.28 && npm install -g npm@2 && npm install && nvm use --delete-prefix "${TRAVIS_NODE_VERSION}"; else npm install; fi;'
|
||||
script:
|
||||
- 'npm test'
|
||||
matrix:
|
||||
fast_finish: true
|
||||
allow_failures:
|
||||
- node_js: "0.11"
|
||||
- node_js: "0.9"
|
||||
- node_js: "0.6"
|
||||
- node_js: "0.4"
|
||||
17
build/node_modules/is-array-buffer-x/.uglifyjsrc.json
generated
vendored
Normal file
17
build/node_modules/is-array-buffer-x/.uglifyjsrc.json
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"warnings": false,
|
||||
"parse": {},
|
||||
"compress": {
|
||||
"keep_fnames": true
|
||||
},
|
||||
"mangle": false,
|
||||
"output": {
|
||||
"ascii_only": true,
|
||||
"beautify": false,
|
||||
"comments": "some"
|
||||
},
|
||||
"sourceMap": {},
|
||||
"nameCache": null,
|
||||
"toplevel": false,
|
||||
"ie8": true
|
||||
}
|
||||
21
build/node_modules/is-array-buffer-x/LICENSE
generated
vendored
Normal file
21
build/node_modules/is-array-buffer-x/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
https://opensource.org/licenses/MIT
|
||||
|
||||
Copyright (c) 2015-2017 Graham Fairweather.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
50
build/node_modules/is-array-buffer-x/README.md
generated
vendored
Normal file
50
build/node_modules/is-array-buffer-x/README.md
generated
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
<a href="https://travis-ci.org/Xotic750/is-array-buffer-x"
|
||||
title="Travis status">
|
||||
<img
|
||||
src="https://travis-ci.org/Xotic750/is-array-buffer-x.svg?branch=master"
|
||||
alt="Travis status" height="18"/>
|
||||
</a>
|
||||
<a href="https://david-dm.org/Xotic750/is-array-buffer-x"
|
||||
title="Dependency status">
|
||||
<img src="https://david-dm.org/Xotic750/is-array-buffer-x.svg"
|
||||
alt="Dependency status" height="18"/>
|
||||
</a>
|
||||
<a href="https://david-dm.org/Xotic750/is-array-buffer-x#info=devDependencies"
|
||||
title="devDependency status">
|
||||
<img src="https://david-dm.org/Xotic750/is-array-buffer-x/dev-status.svg"
|
||||
alt="devDependency status" height="18"/>
|
||||
</a>
|
||||
<a href="https://badge.fury.io/js/is-array-buffer-x" title="npm version">
|
||||
<img src="https://badge.fury.io/js/is-array-buffer-x.svg"
|
||||
alt="npm version" height="18"/>
|
||||
</a>
|
||||
<a name="module_is-array-buffer-x"></a>
|
||||
|
||||
## is-array-buffer-x
|
||||
Detect whether or not an object is an ArrayBuffer.
|
||||
|
||||
**Version**: 1.7.0
|
||||
**Author**: Xotic750 <Xotic750@gmail.com>
|
||||
**License**: [MIT](<https://opensource.org/licenses/MIT>)
|
||||
**Copyright**: Xotic750
|
||||
<a name="exp_module_is-array-buffer-x--module.exports"></a>
|
||||
|
||||
### `module.exports(object)` ⇒ <code>boolean</code> ⏏
|
||||
Determine if an `object` is an `ArrayBuffer`.
|
||||
|
||||
**Kind**: Exported function
|
||||
**Returns**: <code>boolean</code> - `true` if the `object` is an `ArrayBuffer`,
|
||||
else false`.
|
||||
|
||||
| Param | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| object | <code>\*</code> | The object to test. |
|
||||
|
||||
**Example**
|
||||
```js
|
||||
var isArrayBuffer = require('is-array-buffer-x');
|
||||
|
||||
isArrayBuffer(new ArrayBuffer(4)); // true
|
||||
isArrayBuffer(null); // false
|
||||
isArrayBuffer([]); // false
|
||||
```
|
||||
20
build/node_modules/is-array-buffer-x/badges.html
generated
vendored
Normal file
20
build/node_modules/is-array-buffer-x/badges.html
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
<a href="https://travis-ci.org/Xotic750/@{PACKAGE-NAME}"
|
||||
title="Travis status">
|
||||
<img
|
||||
src="https://travis-ci.org/Xotic750/@{PACKAGE-NAME}.svg?branch=master"
|
||||
alt="Travis status" height="18"/>
|
||||
</a>
|
||||
<a href="https://david-dm.org/Xotic750/@{PACKAGE-NAME}"
|
||||
title="Dependency status">
|
||||
<img src="https://david-dm.org/Xotic750/@{PACKAGE-NAME}.svg"
|
||||
alt="Dependency status" height="18"/>
|
||||
</a>
|
||||
<a href="https://david-dm.org/Xotic750/@{PACKAGE-NAME}#info=devDependencies"
|
||||
title="devDependency status">
|
||||
<img src="https://david-dm.org/Xotic750/@{PACKAGE-NAME}/dev-status.svg"
|
||||
alt="devDependency status" height="18"/>
|
||||
</a>
|
||||
<a href="https://badge.fury.io/js/@{PACKAGE-NAME}" title="npm version">
|
||||
<img src="https://badge.fury.io/js/@{PACKAGE-NAME}.svg"
|
||||
alt="npm version" height="18"/>
|
||||
</a>
|
||||
67
build/node_modules/is-array-buffer-x/index.js
generated
vendored
Normal file
67
build/node_modules/is-array-buffer-x/index.js
generated
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
/**
|
||||
* @file Detect whether or not an object is an ArrayBuffer.
|
||||
* @version 1.7.0
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module is-array-buffer-x
|
||||
*/
|
||||
|
||||
/* global ArrayBuffer */
|
||||
|
||||
'use strict';
|
||||
|
||||
var attempt = require('attempt-x');
|
||||
var isObjectLike = require('is-object-like-x');
|
||||
var hasABuf = typeof ArrayBuffer === 'function';
|
||||
var bLength = false;
|
||||
var toStringTag;
|
||||
var aBufTag;
|
||||
|
||||
if (hasABuf) {
|
||||
if (require('has-to-string-tag-x')) {
|
||||
var getOwnPropertyDescriptor = require('object-get-own-property-descriptor-x');
|
||||
var descriptor = getOwnPropertyDescriptor(ArrayBuffer.prototype, 'byteLength');
|
||||
if (descriptor && typeof descriptor.get === 'function') {
|
||||
var res = attempt(function () {
|
||||
return new ArrayBuffer(4);
|
||||
});
|
||||
|
||||
if (res.threw === false && isObjectLike(res.value)) {
|
||||
res = attempt.call(res.value, descriptor.get);
|
||||
bLength = res.threw === false && typeof res.value === 'number' && descriptor.get;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (bLength === false) {
|
||||
toStringTag = require('to-string-tag-x');
|
||||
aBufTag = '[object ArrayBuffer]';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine if an `object` is an `ArrayBuffer`.
|
||||
*
|
||||
* @param {*} object - The object to test.
|
||||
* @returns {boolean} `true` if the `object` is an `ArrayBuffer`,
|
||||
* else false`.
|
||||
* @example
|
||||
* var isArrayBuffer = require('is-array-buffer-x');
|
||||
*
|
||||
* isArrayBuffer(new ArrayBuffer(4)); // true
|
||||
* isArrayBuffer(null); // false
|
||||
* isArrayBuffer([]); // false
|
||||
*/
|
||||
module.exports = function isArrayBuffer(object) {
|
||||
if (hasABuf === false || isObjectLike(object) === false) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (bLength === false) {
|
||||
return toStringTag(object) === aBufTag;
|
||||
}
|
||||
|
||||
var result = attempt.call(object, bLength);
|
||||
return result.threw === false && typeof result.value === 'number';
|
||||
};
|
||||
2145
build/node_modules/is-array-buffer-x/lib/is-array-buffer-x.js
generated
vendored
Normal file
2145
build/node_modules/is-array-buffer-x/lib/is-array-buffer-x.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
292
build/node_modules/is-array-buffer-x/lib/is-array-buffer-x.min.js
generated
vendored
Normal file
292
build/node_modules/is-array-buffer-x/lib/is-array-buffer-x.min.js
generated
vendored
Normal file
@@ -0,0 +1,292 @@
|
||||
!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 Detect whether or not an object is an ArrayBuffer.
|
||||
* @version 1.7.0
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module is-array-buffer-x
|
||||
*/
|
||||
"use strict";var toStringTag,aBufTag,attempt=_dereq_("attempt-x"),isObjectLike=_dereq_("is-object-like-x"),hasABuf="function"==typeof ArrayBuffer,bLength=!1;if(hasABuf){if(_dereq_("has-to-string-tag-x")){var descriptor=_dereq_("object-get-own-property-descriptor-x")(ArrayBuffer.prototype,"byteLength");if(descriptor&&"function"==typeof descriptor.get){var res=attempt(function(){return new ArrayBuffer(4)});!1===res.threw&&isObjectLike(res.value)&&(res=attempt.call(res.value,descriptor.get),bLength=!1===res.threw&&"number"==typeof res.value&&descriptor.get)}}!1===bLength&&(toStringTag=_dereq_("to-string-tag-x"),aBufTag="[object ArrayBuffer]")}module.exports=function isArrayBuffer(object){if(!1===hasABuf||!1===isObjectLike(object))return!1;if(!1===bLength)return toStringTag(object)===aBufTag;var result=attempt.call(object,bLength);return!1===result.threw&&"number"==typeof result.value}},{"attempt-x":3,"has-to-string-tag-x":7,"is-object-like-x":15,"object-get-own-property-descriptor-x":24,"to-string-tag-x":36}],2:[function(_dereq_,module,exports){/**
|
||||
* @file Cross-browser array-like slicer.
|
||||
* @version 1.1.0
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module array-like-slice-x
|
||||
*/
|
||||
"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":29,"to-integer-x":30,"to-length-x":31,"to-object-x":33,"validate.io-undefined":41}],3:[function(_dereq_,module,exports){/**
|
||||
* @file Invokes function, returning an object of the results.
|
||||
* @version 1.1.0
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module attempt-x
|
||||
*/
|
||||
"use strict";var arrayLikeSlice=_dereq_("array-like-slice-x");module.exports=function attempt(fn){try{return{threw:!1,value:fn.apply(this,arrayLikeSlice(arguments,1))}}catch(e){return{threw:!0,value:e}}}},{"array-like-slice-x":2}],4:[function(_dereq_,module,exports){/**
|
||||
* @file Check support of by-index access of string characters.
|
||||
* @version 1.0.1
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module has-boxed-string-x
|
||||
*/
|
||||
"use strict";var boxedString=Object("a");module.exports="a"===boxedString[0]&&0 in boxedString},{}],5:[function(_dereq_,module,exports){/**
|
||||
* @file Used to determine whether an object has an own property with the specified property key.
|
||||
* @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-hasownproperty|7.3.11 HasOwnProperty (O, P)}
|
||||
* @version 3.1.1
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module has-own-property-x
|
||||
*/
|
||||
"use strict";var toObject=_dereq_("to-object-x"),toPropertyKey=_dereq_("to-property-key-x"),hop=Object.prototype.hasOwnProperty;module.exports=function hasOwnProperty(object,property){return hop.call(toObject(object),toPropertyKey(property))}},{"to-object-x":33,"to-property-key-x":35}],6:[function(_dereq_,module,exports){/**
|
||||
* @file Tests if ES6 Symbol is supported.
|
||||
* @version 1.4.1
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module has-symbol-support-x
|
||||
*/
|
||||
"use strict";module.exports="function"==typeof Symbol&&"symbol"==typeof Symbol("")},{}],7:[function(_dereq_,module,exports){/**
|
||||
* @file Tests if ES6 @@toStringTag is supported.
|
||||
* @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-@@tostringtag|26.3.1 @@toStringTag}
|
||||
* @version 1.4.1
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module has-to-string-tag-x
|
||||
*/
|
||||
"use strict";module.exports=_dereq_("has-symbol-support-x")&&"symbol"==typeof Symbol.toStringTag},{"has-symbol-support-x":6}],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){/**
|
||||
* @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)}},{}],10:[function(_dereq_,module,exports){/**
|
||||
* @file ES6-compliant shim for Number.isFinite.
|
||||
* @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-number.isfinite|20.1.2.2 Number.isFinite ( number )}
|
||||
* @version 3.0.1
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module is-finite-x
|
||||
*/
|
||||
"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}],11:[function(_dereq_,module,exports){/**
|
||||
* @file Determine whether a given value is a function object.
|
||||
* @version 3.1.1
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module is-function-x
|
||||
*/
|
||||
"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":7,"is-primitive":16,"normalize-space-x":23,"replace-comments-x":26,"to-string-tag-x":36}],12:[function(_dereq_,module,exports){/**
|
||||
* @file Determine whether the passed value is a zero based index.
|
||||
* @version 1.0.0
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module is-index-x
|
||||
*/
|
||||
"use strict";var safeToString=_dereq_("safe-to-string-x"),toInteger=_dereq_("to-integer-x"),toNumber=_dereq_("to-number-x"),mathClamp=_dereq_("math-clamp-x"),MAX_SAFE_INTEGER=_dereq_("max-safe-integer"),reIsUint=/^(?:0|[1-9]\d*)$/,rxTest=reIsUint.test;module.exports=function isIndex(value){var string=safeToString(value);if(!1===rxTest.call(reIsUint,string))return!1;var number=toNumber(string);return arguments.length>1?number<mathClamp(toInteger(arguments[1]),MAX_SAFE_INTEGER):number<MAX_SAFE_INTEGER}},{"math-clamp-x":20,"max-safe-integer":22,"safe-to-string-x":28,"to-integer-x":30,"to-number-x":32}],13:[function(_dereq_,module,exports){/**
|
||||
* @file ES6-compliant shim for Number.isNaN - the global isNaN returns false positives.
|
||||
* @version 1.0.1
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module is-nan-x
|
||||
*/
|
||||
"use strict";module.exports=function isNaN(value){return value!==value}},{}],14:[function(_dereq_,module,exports){/**
|
||||
* @file Checks if `value` is `null` or `undefined`.
|
||||
* @version 1.4.1
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module is-nil-x
|
||||
*/
|
||||
"use strict";var isUndefined=_dereq_("validate.io-undefined"),isNull=_dereq_("lodash.isnull");module.exports=function isNil(value){return isNull(value)||isUndefined(value)}},{"lodash.isnull":19,"validate.io-undefined":41}],15:[function(_dereq_,module,exports){/**
|
||||
* @file Determine if a value is object like.
|
||||
* @version 1.5.1
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module is-object-like-x
|
||||
*/
|
||||
"use strict";var isFunction=_dereq_("is-function-x"),isPrimitive=_dereq_("is-primitive");module.exports=function isObjectLike(value){return!1===isPrimitive(value)&&!1===isFunction(value,!0)}},{"is-function-x":11,"is-primitive":16}],16:[function(_dereq_,module,exports){"use strict";module.exports=function isPrimitive(value){return null==value||"function"!=typeof value&&"object"!=typeof value}},{}],17:[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))}},{}],18:[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}},{}],19:[function(_dereq_,module,exports){module.exports=function isNull(value){return null===value}},{}],20:[function(_dereq_,module,exports){/**
|
||||
* @file Clamp a number to limits.
|
||||
* @version 1.1.0
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module math-clamp-x
|
||||
*/
|
||||
"use strict";var toNumber=_dereq_("to-number-x");module.exports=function clamp(value){var number=toNumber(value),argsLength=arguments.length;if(argsLength<2)return number;var max,min=toNumber(arguments[1]);if(argsLength<3?(max=min,min=0):max=toNumber(arguments[2]),min>max)throw new RangeError('"min" must be less than "max"');return number<min?min:number>max?max:number}},{"to-number-x":32}],21:[function(_dereq_,module,exports){/**
|
||||
* @file ES6-compliant shim for Math.sign.
|
||||
* @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-math.sign|20.2.2.29 Math.sign(x)}
|
||||
* @version 2.1.0
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module 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":13,"to-number-x":32}],22:[function(_dereq_,module,exports){"use strict";module.exports=9007199254740991},{}],23:[function(_dereq_,module,exports){/**
|
||||
* @file Trims and replaces sequences of whitespace characters by a single space.
|
||||
* @version 1.3.3
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module normalize-space-x
|
||||
*/
|
||||
"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":40,"white-space-x":42}],24:[function(_dereq_,module,exports){/**
|
||||
* @file Sham for ES6 Object.getOwnPropertyDescriptor
|
||||
* @version 3.2.0
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module object-get-own-property-descriptor-x
|
||||
*/
|
||||
"use strict";var getOPDFallback1,getOPDFallback2,$getOwnPropertyDescriptor,toObject=_dereq_("to-object-x"),toPropertyKey=_dereq_("to-property-key-x"),isFalsey=_dereq_("is-falsey-x"),attempt=_dereq_("attempt-x"),nativeGOPD="function"==typeof Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor,doesGOPDWork=function(object,prop){object[toPropertyKey(prop)]=0;var testResult=attempt(nativeGOPD,object,prop);return!1===testResult.threw&&0===testResult.value.value};if(nativeGOPD){var doc="undefined"!=typeof document&&document;if(!doc||doesGOPDWork(doc.createElement("div"),"sentinel")){var res=attempt(nativeGOPD,Object("abc"),1);if(!1===res.threw&&res.value&&"b"===res.value.value)if(doesGOPDWork({},"sentinel")){var worksWithPrim=!1===attempt(nativeGOPD,42,"name").threw;$getOwnPropertyDescriptor=_dereq_("has-symbol-support-x")&&doesGOPDWork({},Object(Symbol("")))?worksWithPrim?nativeGOPD:function getOwnPropertyDescriptor(object,property){return nativeGOPD(toObject(object),property)}:worksWithPrim?function getOwnPropertyDescriptor(object,property){return nativeGOPD(object,toPropertyKey(property))}:function getOwnPropertyDescriptor(object,property){return nativeGOPD(toObject(object),toPropertyKey(property))}}else getOPDFallback1=nativeGOPD;else getOPDFallback2=nativeGOPD}}if(isFalsey($getOwnPropertyDescriptor)||getOPDFallback1||getOPDFallback2){var lookupGetter,lookupSetter,owns=_dereq_("has-own-property-x"),isPrimitive=_dereq_("is-primitive"),isString=_dereq_("is-string"),isIndex=_dereq_("is-index-x"),propertyIsEnumerable=_dereq_("property-is-enumerable-x"),prototypeOfObject=Object.prototype,supportsAccessors=owns(prototypeOfObject,"__defineGetter__");if(supportsAccessors){var lg=prototypeOfObject.__lookupGetter__,ls=prototypeOfObject.__lookupSetter__;lookupGetter=function(object,property){return lg.call(object,property)},lookupSetter=function(object,property){return ls.call(object,property)}}$getOwnPropertyDescriptor=function getOwnPropertyDescriptor(object,property){var result,obj=toObject(object),propKey=toPropertyKey(property);if(getOPDFallback1&&!1===(result=attempt.call(Object,getOPDFallback1,obj,propKey)).threw)return result.value;var isStringIndex=isString(obj)&&isIndex(propKey,obj.length);if(getOPDFallback2&&!1===isStringIndex&&!1===(result=attempt.call(Object,getOPDFallback2,obj,propKey)).threw)return result.value;var descriptor;if(!1===isStringIndex&&!1===owns(obj,propKey))return descriptor;if(descriptor={configurable:!1===isPrimitive(object)&&!1===isStringIndex,enumerable:propertyIsEnumerable(obj,propKey)},supportsAccessors){var prototype=obj.__proto__,notPrototypeOfObject=obj!==prototypeOfObject;notPrototypeOfObject&&(obj.__proto__=prototypeOfObject);var getter=lookupGetter(obj,propKey),setter=lookupSetter(obj,propKey);if(notPrototypeOfObject&&(obj.__proto__=prototype),getter||setter)return getter&&(descriptor.get=getter),setter&&(descriptor.set=setter),descriptor}return isStringIndex?(descriptor.value=obj.charAt(propKey),descriptor.writable=!1):(descriptor.value=obj[propKey],descriptor.writable=!0),descriptor}}module.exports=$getOwnPropertyDescriptor},{"attempt-x":3,"has-own-property-x":5,"has-symbol-support-x":6,"is-falsey-x":9,"is-index-x":12,"is-primitive":16,"is-string":17,"property-is-enumerable-x":25,"to-object-x":33,"to-property-key-x":35}],25:[function(_dereq_,module,exports){/**
|
||||
* @file Indicates whether the specified property is enumerable.
|
||||
* @version 1.1.0
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module property-is-enumerable-x
|
||||
*/
|
||||
"use strict";var toPropertyKey=_dereq_("to-property-key-x"),toObject=_dereq_("to-object-x"),propIsEnumerable=Object.prototype.propertyIsEnumerable;module.exports=function propertyIsEnumerable(object,property){return propIsEnumerable.call(toObject(object),toPropertyKey(property))}},{"to-object-x":33,"to-property-key-x":35}],26:[function(_dereq_,module,exports){/**
|
||||
* @file Replace the comments in a string.
|
||||
* @version 1.0.3
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module replace-comments-x
|
||||
*/
|
||||
"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":17}],27:[function(_dereq_,module,exports){/**
|
||||
* @file ES6-compliant shim for RequireObjectCoercible.
|
||||
* @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-requireobjectcoercible|7.2.1 RequireObjectCoercible ( argument )}
|
||||
* @version 1.4.1
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module require-object-coercible-x
|
||||
*/
|
||||
"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}],28:[function(_dereq_,module,exports){/**
|
||||
* @file Like ES6 ToString but handles Symbols too.
|
||||
* @see {@link https://github.com/Xotic750/to-string-x|to-string-x}
|
||||
* @version 2.0.1
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module safe-to-string-x
|
||||
*/
|
||||
"use strict";var isSymbol=_dereq_("is-symbol"),toStr=_dereq_("to-string-x"),hasSymbols=_dereq_("has-symbol-support-x"),pToString=hasSymbols&&Symbol.prototype.toString;module.exports=function safeToString(value){return hasSymbols&&isSymbol(value)?pToString.call(value):toStr(value)}},{"has-symbol-support-x":6,"is-symbol":18,"to-string-x":37}],29:[function(_dereq_,module,exports){/**
|
||||
* @file Tests if a value is a string with the boxed bug; splits to an array.
|
||||
* @version 1.0.0
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module split-if-boxed-bug-x
|
||||
*/
|
||||
"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":17}],30:[function(_dereq_,module,exports){/**
|
||||
* @file ToInteger converts 'argument' to an integral numeric value.
|
||||
* @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-tointeger|7.1.4 ToInteger ( argument )}
|
||||
* @version 2.1.0
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module to-integer-x
|
||||
*/
|
||||
"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":10,"is-nan-x":13,"math-sign-x":21,"to-number-x":32}],31:[function(_dereq_,module,exports){/**
|
||||
* @file ES6-compliant shim for ToLength.
|
||||
* @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-tolength|7.1.15 ToLength ( argument )}
|
||||
* @version 2.1.0
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module to-length-x
|
||||
*/
|
||||
"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":22,"to-integer-x":30}],32:[function(_dereq_,module,exports){/**
|
||||
* @file Converts argument to a value of type Number.
|
||||
* @version 1.1.0
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module to-number-x
|
||||
*/
|
||||
"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":34,"trim-x":40}],33:[function(_dereq_,module,exports){/**
|
||||
* @file ES6-compliant shim for ToObject.
|
||||
* @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-toobject|7.1.13 ToObject ( argument )}
|
||||
* @version 1.4.1
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module to-object-x
|
||||
*/
|
||||
"use strict";var requireObjectCoercible=_dereq_("require-object-coercible-x");module.exports=function toObject(value){return Object(requireObjectCoercible(value))}},{"require-object-coercible-x":27}],34:[function(_dereq_,module,exports){/**
|
||||
* @file Converts a JavaScript object to a primitive value.
|
||||
* @version 1.0.1
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module to-primitive-x
|
||||
*/
|
||||
"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":6,"is-date-object":8,"is-function-x":11,"is-nil-x":14,"is-primitive":16,"is-symbol":18,"require-object-coercible-x":27,"validate.io-undefined":41}],35:[function(_dereq_,module,exports){/**
|
||||
* @file Converts argument to a value that can be used as a property key.
|
||||
* @version 2.0.1
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module to-property-key-x
|
||||
*/
|
||||
"use strict";var hasSymbols=_dereq_("has-symbol-support-x"),toPrimitive=_dereq_("to-primitive-x"),toStr=_dereq_("to-string-x");module.exports=function toPropertyKey(argument){var key=toPrimitive(argument,String);return hasSymbols&&"symbol"==typeof key?key:toStr(key)}},{"has-symbol-support-x":6,"to-primitive-x":34,"to-string-x":37}],36:[function(_dereq_,module,exports){/**
|
||||
* @file Get an object's ES6 @@toStringTag.
|
||||
* @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring|19.1.3.6 Object.prototype.toString ( )}
|
||||
* @version 1.4.1
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module to-string-tag-x
|
||||
*/
|
||||
"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":19,"validate.io-undefined":41}],37:[function(_dereq_,module,exports){/**
|
||||
* @file ES6-compliant shim for ToString.
|
||||
* @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-tostring|7.1.12 ToString ( argument )}
|
||||
* @version 1.4.1
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module to-string-x
|
||||
*/
|
||||
"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":18}],38:[function(_dereq_,module,exports){/**
|
||||
* @file This method removes whitespace from the left end of a string.
|
||||
* @version 1.3.5
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module trim-left-x
|
||||
*/
|
||||
"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":37,"white-space-x":42}],39:[function(_dereq_,module,exports){/**
|
||||
* @file This method removes whitespace from the right end of a string.
|
||||
* @version 1.3.3
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module trim-right-x
|
||||
*/
|
||||
"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":37,"white-space-x":42}],40:[function(_dereq_,module,exports){/**
|
||||
* @file This method removes whitespace from the left and right end of a string.
|
||||
* @version 1.0.3
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module trim-x
|
||||
*/
|
||||
"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":38,"trim-right-x":39}],41:[function(_dereq_,module,exports){"use strict";module.exports=function isUndefined(value){return void 0===value}},{}],42:[function(_dereq_,module,exports){/**
|
||||
* @file List of ECMAScript5 white space characters.
|
||||
* @version 2.0.3
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module white-space-x
|
||||
*/
|
||||
"use strict";for(var list=[{code:9,description:"Tab",string:"\t"},{code:10,description:"Line Feed",string:"\n"},{code:11,description:"Vertical Tab",string:"\x0B"},{code:12,description:"Form Feed",string:"\f"},{code:13,description:"Carriage Return",string:"\r"},{code:32,description:"Space",string:" "},{code:160,description:"No-break space",string:"\xa0"},{code:5760,description:"Ogham space mark",string:"\u1680"},{code:6158,description:"Mongolian vowel separator",string:"\u180e"},{code:8192,description:"En quad",string:"\u2000"},{code:8193,description:"Em quad",string:"\u2001"},{code:8194,description:"En space",string:"\u2002"},{code:8195,description:"Em space",string:"\u2003"},{code:8196,description:"Three-per-em space",string:"\u2004"},{code:8197,description:"Four-per-em space",string:"\u2005"},{code:8198,description:"Six-per-em space",string:"\u2006"},{code:8199,description:"Figure space",string:"\u2007"},{code:8200,description:"Punctuation space",string:"\u2008"},{code:8201,description:"Thin space",string:"\u2009"},{code:8202,description:"Hair space",string:"\u200a"},{code:8232,description:"Line separator",string:"\u2028"},{code:8233,description:"Paragraph separator",string:"\u2029"},{code:8239,description:"Narrow no-break space",string:"\u202f"},{code:8287,description:"Medium mathematical space",string:"\u205f"},{code:12288,description:"Ideographic space",string:"\u3000"},{code:65279,description:"Byte Order Mark",string:"\ufeff"}],string="",length=list.length,i=0;i<length;i+=1)string+=list[i].string;module.exports={list:list,string:string}},{}]},{},[1])(1)});
|
||||
1
build/node_modules/is-array-buffer-x/lib/is-array-buffer-x.min.js.map
generated
vendored
Normal file
1
build/node_modules/is-array-buffer-x/lib/is-array-buffer-x.min.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
115
build/node_modules/is-array-buffer-x/package.json
generated
vendored
Normal file
115
build/node_modules/is-array-buffer-x/package.json
generated
vendored
Normal file
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"_from": "is-array-buffer-x@^1.0.13",
|
||||
"_id": "is-array-buffer-x@1.7.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-ufSZRMY2WZX5xyNvk0NOZAG7cgi35B/sGQDGqv8w0X7MoQ2GC9vedanJhuYTPaC4PUCqLQsda1w7NF+dPZmAJw==",
|
||||
"_location": "/is-array-buffer-x",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "is-array-buffer-x@^1.0.13",
|
||||
"name": "is-array-buffer-x",
|
||||
"escapedName": "is-array-buffer-x",
|
||||
"rawSpec": "^1.0.13",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^1.0.13"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/buffer-from"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/is-array-buffer-x/-/is-array-buffer-x-1.7.0.tgz",
|
||||
"_shasum": "4b0b10427b64aa3437767adf4fc07702c59b2371",
|
||||
"_spec": "is-array-buffer-x@^1.0.13",
|
||||
"_where": "/Users/asciidisco/Desktop/asciidisco.com/build/node_modules/buffer-from",
|
||||
"author": {
|
||||
"name": "Graham Fairweather",
|
||||
"email": "xotic750@gmail.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/Xotic750/is-array-buffer-x/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"copyright": "Copyright (c) 2015-2017",
|
||||
"dependencies": {
|
||||
"attempt-x": "^1.1.0",
|
||||
"has-to-string-tag-x": "^1.4.1",
|
||||
"is-object-like-x": "^1.5.1",
|
||||
"object-get-own-property-descriptor-x": "^3.2.0",
|
||||
"to-string-tag-x": "^1.4.1"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Detect whether or not an object is an ArrayBuffer.",
|
||||
"devDependencies": {
|
||||
"@xotic750/eslint-config-standard-x": "^2.2.1",
|
||||
"browserify": "^14.4.0",
|
||||
"browserify-derequire": "^0.9.4",
|
||||
"cross-env": "^5.0.1",
|
||||
"es5-shim": "^4.5.9",
|
||||
"es6-shim": "^0.35.3",
|
||||
"es7-shim": "^6.0.0",
|
||||
"eslint": "^4.2.0",
|
||||
"eslint-plugin-compat": "^1.0.4",
|
||||
"eslint-plugin-css-modules": "^2.7.2",
|
||||
"eslint-plugin-eslint-comments": "^1.0.2",
|
||||
"eslint-plugin-jsdoc": "^3.1.1",
|
||||
"eslint-plugin-json": "^1.2.0",
|
||||
"eslint-plugin-no-use-extend-native": "^0.3.12",
|
||||
"husky": "^0.13.4",
|
||||
"jasmine-node": "^1.14.5",
|
||||
"jsdoc-to-markdown": "^3.0.0",
|
||||
"json3": "^3.3.2",
|
||||
"make-jasmine-spec-runner-html": "^1.3.0",
|
||||
"ncp": "^2.0.0",
|
||||
"nodemon": "^1.11.0",
|
||||
"nsp": "^2.6.3",
|
||||
"parallelshell": "^3.0.1",
|
||||
"replace-x": "^1.5.0",
|
||||
"rimraf": "^2.6.1",
|
||||
"serve": "^6.0.2",
|
||||
"uglify-js": "^3.0.24"
|
||||
},
|
||||
"engines": {
|
||||
"node": "*"
|
||||
},
|
||||
"homepage": "https://github.com/Xotic750/is-array-buffer-x",
|
||||
"keywords": [
|
||||
"isArrayBuffer",
|
||||
"module",
|
||||
"javascript",
|
||||
"nodejs",
|
||||
"browser"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "is-array-buffer-x",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/Xotic750/is-array-buffer-x.git"
|
||||
},
|
||||
"scripts": {
|
||||
"browserify": "browserify -p browserify-derequire -e index.js -o lib/is-array-buffer-x.js -u 'crypto' -s returnExports",
|
||||
"build": "npm run clean && npm run lint && npm run browserify && npm run uglify && npm run docs && npm test && npm run security",
|
||||
"build:description": "replace-x \" @file .*\" \" @file $(node -p -e \"require('./package.json').description\")\" index.js",
|
||||
"build:jasmine": "npm run clean:jasmine && make-jasmine-spec-runner-html",
|
||||
"build:name": "replace-x \" @module .*\" \" @module $(node -p -e \"require('./package.json').name\")\" index.js",
|
||||
"build:replace": "npm run build:setver && npm run build:name && npm run build:description",
|
||||
"build:setver": "replace-x \" @version .*\" \" @version $(node -p -e \"require('./package.json').version\")\" index.js",
|
||||
"clean": "rimraf README.md lib/*",
|
||||
"clean:all": "npm run clean:jasmine && npm run clean",
|
||||
"clean:jasmine": "rimraf tests/index.html tests/run.js",
|
||||
"docs": "npm run docs:badges && jsdoc2md --name-format --example-lang js index.js >> README.md",
|
||||
"docs:badges": "ncp badges.html README.md && npm run docs:name",
|
||||
"docs:name": "replace-x \"@{PACKAGE-NAME}\" \"$(node -p -e \"require('./package.json').name\")\" README.md",
|
||||
"lint": "eslint *.js tests/spec/*.js",
|
||||
"lint-fix": "npm run lint -- --fix",
|
||||
"precommit": "npm run production",
|
||||
"prepush": "npm run production",
|
||||
"production": "npm run clean:all && npm run build:jasmine && npm run build:replace && npm run build",
|
||||
"security": "nsp check",
|
||||
"start": "parallelshell \"serve\" \"nodemon --watch index.js --exec 'npm run build'\"",
|
||||
"test": "jasmine-node --matchall tests/spec/",
|
||||
"uglify": "uglifyjs lib/is-array-buffer-x.js -o lib/is-array-buffer-x.min.js --config-file .uglifyjsrc.json"
|
||||
},
|
||||
"version": "1.7.0"
|
||||
}
|
||||
Reference in New Issue
Block a user