first commit
This commit is contained in:
1
build/node_modules/object-get-own-property-descriptor-x/.eslintignore
generated
vendored
Normal file
1
build/node_modules/object-get-own-property-descriptor-x/.eslintignore
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
lib/*
|
||||
6
build/node_modules/object-get-own-property-descriptor-x/.eslintrc.json
generated
vendored
Normal file
6
build/node_modules/object-get-own-property-descriptor-x/.eslintrc.json
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"root": true,
|
||||
"extends": [
|
||||
"@xotic750/eslint-config-standard-x"
|
||||
]
|
||||
}
|
||||
1
build/node_modules/object-get-own-property-descriptor-x/.nvmrc
generated
vendored
Normal file
1
build/node_modules/object-get-own-property-descriptor-x/.nvmrc
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
lts/*
|
||||
99
build/node_modules/object-get-own-property-descriptor-x/.travis.yml
generated
vendored
Normal file
99
build/node_modules/object-get-own-property-descriptor-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/object-get-own-property-descriptor-x/.uglifyjsrc.json
generated
vendored
Normal file
17
build/node_modules/object-get-own-property-descriptor-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/object-get-own-property-descriptor-x/LICENSE
generated
vendored
Normal file
21
build/node_modules/object-get-own-property-descriptor-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.
|
||||
56
build/node_modules/object-get-own-property-descriptor-x/README.md
generated
vendored
Normal file
56
build/node_modules/object-get-own-property-descriptor-x/README.md
generated
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
<a href="https://travis-ci.org/Xotic750/object-get-own-property-descriptor-x"
|
||||
title="Travis status">
|
||||
<img
|
||||
src="https://travis-ci.org/Xotic750/object-get-own-property-descriptor-x.svg?branch=master"
|
||||
alt="Travis status" height="18"/>
|
||||
</a>
|
||||
<a href="https://david-dm.org/Xotic750/object-get-own-property-descriptor-x"
|
||||
title="Dependency status">
|
||||
<img src="https://david-dm.org/Xotic750/object-get-own-property-descriptor-x.svg"
|
||||
alt="Dependency status" height="18"/>
|
||||
</a>
|
||||
<a href="https://david-dm.org/Xotic750/object-get-own-property-descriptor-x#info=devDependencies"
|
||||
title="devDependency status">
|
||||
<img src="https://david-dm.org/Xotic750/object-get-own-property-descriptor-x/dev-status.svg"
|
||||
alt="devDependency status" height="18"/>
|
||||
</a>
|
||||
<a href="https://badge.fury.io/js/object-get-own-property-descriptor-x" title="npm version">
|
||||
<img src="https://badge.fury.io/js/object-get-own-property-descriptor-x.svg"
|
||||
alt="npm version" height="18"/>
|
||||
</a>
|
||||
<a name="module_object-get-own-property-descriptor-x"></a>
|
||||
|
||||
## object-get-own-property-descriptor-x
|
||||
Sham for ES6 Object.getOwnPropertyDescriptor
|
||||
|
||||
**Version**: 3.2.0
|
||||
**Author**: Xotic750 <Xotic750@gmail.com>
|
||||
**License**: [MIT](<https://opensource.org/licenses/MIT>)
|
||||
**Copyright**: Xotic750
|
||||
<a name="exp_module_object-get-own-property-descriptor-x--module.exports"></a>
|
||||
|
||||
### `module.exports` ⇒ <code>Object</code> ⏏
|
||||
This method returns a property descriptor for an own property (that is,
|
||||
one directly present on an object and not in the object's prototype chain)
|
||||
of a given object.
|
||||
|
||||
**Kind**: Exported member
|
||||
**Returns**: <code>Object</code> - A property descriptor of the given property if it exists on the object, undefined otherwise.
|
||||
|
||||
| Param | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| object | <code>\*</code> | The object in which to look for the property. |
|
||||
| property | <code>\*</code> | The name of the property whose description is to be retrieved. |
|
||||
|
||||
**Example**
|
||||
```js
|
||||
var getOwnPropertyDescriptor = require('object-get-own-property-descriptor-x');
|
||||
var obj = { bar: 42 };
|
||||
var d = getOwnPropertyDescriptor(o, 'bar');
|
||||
// d is {
|
||||
// configurable: true,
|
||||
// enumerable: true,
|
||||
// value: 42,
|
||||
// writable: true
|
||||
// }
|
||||
```
|
||||
20
build/node_modules/object-get-own-property-descriptor-x/badges.html
generated
vendored
Normal file
20
build/node_modules/object-get-own-property-descriptor-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>
|
||||
209
build/node_modules/object-get-own-property-descriptor-x/index.js
generated
vendored
Normal file
209
build/node_modules/object-get-own-property-descriptor-x/index.js
generated
vendored
Normal file
@@ -0,0 +1,209 @@
|
||||
/**
|
||||
* @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 toObject = require('to-object-x');
|
||||
var toPropertyKey = require('to-property-key-x');
|
||||
var isFalsey = require('is-falsey-x');
|
||||
var attempt = require('attempt-x');
|
||||
|
||||
var nativeGOPD = typeof Object.getOwnPropertyDescriptor === 'function' && Object.getOwnPropertyDescriptor;
|
||||
var getOPDFallback1;
|
||||
var getOPDFallback2;
|
||||
|
||||
// ES5 15.2.3.3
|
||||
// http://es5.github.com/#x15.2.3.3
|
||||
|
||||
var doesGOPDWork = function (object, prop) {
|
||||
object[toPropertyKey(prop)] = 0;
|
||||
var testResult = attempt(nativeGOPD, object, prop);
|
||||
return testResult.threw === false && testResult.value.value === 0;
|
||||
};
|
||||
|
||||
// check whether getOwnPropertyDescriptor works if it's given. Otherwise, shim partially.
|
||||
var $getOwnPropertyDescriptor;
|
||||
if (nativeGOPD) {
|
||||
var doc = typeof document !== 'undefined' && document;
|
||||
var getOPDWorksOnDom = doc ? doesGOPDWork(doc.createElement('div'), 'sentinel') : true;
|
||||
if (getOPDWorksOnDom) {
|
||||
var res = attempt(nativeGOPD, Object('abc'), 1);
|
||||
var worksWithStr = res.threw === false && res.value && res.value.value === 'b';
|
||||
if (worksWithStr) {
|
||||
var getOPDWorksOnObject = doesGOPDWork({}, 'sentinel');
|
||||
if (getOPDWorksOnObject) {
|
||||
var worksWithPrim = attempt(nativeGOPD, 42, 'name').threw === false;
|
||||
var worksWithObjSym = require('has-symbol-support-x') && doesGOPDWork({}, Object(Symbol('')));
|
||||
// eslint-disable-next-line max-depth
|
||||
if (worksWithObjSym) {
|
||||
// eslint-disable-next-line max-depth
|
||||
if (worksWithPrim) {
|
||||
$getOwnPropertyDescriptor = nativeGOPD;
|
||||
} else {
|
||||
$getOwnPropertyDescriptor = function getOwnPropertyDescriptor(object, property) {
|
||||
return nativeGOPD(toObject(object), property);
|
||||
};
|
||||
}
|
||||
} else if (worksWithPrim) {
|
||||
$getOwnPropertyDescriptor = function getOwnPropertyDescriptor(object, property) {
|
||||
return nativeGOPD(object, toPropertyKey(property));
|
||||
};
|
||||
} else {
|
||||
$getOwnPropertyDescriptor = function getOwnPropertyDescriptor(object, property) {
|
||||
return nativeGOPD(toObject(object), toPropertyKey(property));
|
||||
};
|
||||
}
|
||||
} else {
|
||||
getOPDFallback1 = nativeGOPD;
|
||||
}
|
||||
} else {
|
||||
getOPDFallback2 = nativeGOPD;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (isFalsey($getOwnPropertyDescriptor) || getOPDFallback1 || getOPDFallback2) {
|
||||
var owns = require('has-own-property-x');
|
||||
var isPrimitive = require('is-primitive');
|
||||
var isString = require('is-string');
|
||||
var isIndex = require('is-index-x');
|
||||
var propertyIsEnumerable = require('property-is-enumerable-x');
|
||||
var prototypeOfObject = Object.prototype;
|
||||
|
||||
// If JS engine supports accessors creating shortcuts.
|
||||
var lookupGetter;
|
||||
var lookupSetter;
|
||||
var supportsAccessors = owns(prototypeOfObject, '__defineGetter__');
|
||||
if (supportsAccessors) {
|
||||
// eslint-disable-next-line no-underscore-dangle
|
||||
var lg = prototypeOfObject.__lookupGetter__;
|
||||
// eslint-disable-next-line no-underscore-dangle
|
||||
var 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 obj = toObject(object);
|
||||
var propKey = toPropertyKey(property);
|
||||
|
||||
var result;
|
||||
// make a valiant attempt to use the real getOwnPropertyDescriptor for I8's DOM elements.
|
||||
if (getOPDFallback1) {
|
||||
result = attempt.call(Object, getOPDFallback1, obj, propKey);
|
||||
if (result.threw === false) {
|
||||
return result.value;
|
||||
}
|
||||
// try the shim if the real one doesn't work
|
||||
}
|
||||
|
||||
var isStringIndex = isString(obj) && isIndex(propKey, obj.length);
|
||||
if (getOPDFallback2 && isStringIndex === false) {
|
||||
result = attempt.call(Object, getOPDFallback2, obj, propKey);
|
||||
if (result.threw === false) {
|
||||
return result.value;
|
||||
}
|
||||
// try the shim if the real one doesn't work
|
||||
}
|
||||
|
||||
var descriptor;
|
||||
// If object does not owns property return undefined immediately.
|
||||
if (isStringIndex === false && owns(obj, propKey) === false) {
|
||||
return descriptor;
|
||||
}
|
||||
|
||||
// If object has a property then it's for sure `configurable`, and
|
||||
// probably `enumerable`. Detect enumerability though.
|
||||
descriptor = {
|
||||
configurable: isPrimitive(object) === false && isStringIndex === false,
|
||||
enumerable: propertyIsEnumerable(obj, propKey)
|
||||
};
|
||||
|
||||
// If JS engine supports accessor properties then property may be a
|
||||
// getter or setter.
|
||||
if (supportsAccessors) {
|
||||
// Unfortunately `__lookupGetter__` will return a getter even
|
||||
// if object has own non getter property along with a same named
|
||||
// inherited getter. To avoid misbehavior we temporary remove
|
||||
// `__proto__` so that `__lookupGetter__` will return getter only
|
||||
// if it's owned by an object.
|
||||
// eslint-disable-next-line no-proto
|
||||
var prototype = obj.__proto__;
|
||||
var notPrototypeOfObject = obj !== prototypeOfObject;
|
||||
// avoid recursion problem, breaking in Opera Mini when
|
||||
// Object.getOwnPropertyDescriptor(Object.prototype, 'toString')
|
||||
// or any other Object.prototype accessor
|
||||
if (notPrototypeOfObject) {
|
||||
// eslint-disable-next-line no-proto
|
||||
obj.__proto__ = prototypeOfObject;
|
||||
}
|
||||
|
||||
var getter = lookupGetter(obj, propKey);
|
||||
var setter = lookupSetter(obj, propKey);
|
||||
|
||||
if (notPrototypeOfObject) {
|
||||
// Once we have getter and setter we can put values back.
|
||||
// eslint-disable-next-line no-proto
|
||||
obj.__proto__ = prototype;
|
||||
}
|
||||
|
||||
if (getter || setter) {
|
||||
if (getter) {
|
||||
descriptor.get = getter;
|
||||
}
|
||||
|
||||
if (setter) {
|
||||
descriptor.set = setter;
|
||||
}
|
||||
|
||||
// If it was accessor property we're done and return here
|
||||
// in order to avoid adding `value` to the descriptor.
|
||||
return descriptor;
|
||||
}
|
||||
}
|
||||
|
||||
// If we got this far we know that object has an own property that is
|
||||
// not an accessor so we set it as a value and return descriptor.
|
||||
if (isStringIndex) {
|
||||
descriptor.value = obj.charAt(propKey);
|
||||
descriptor.writable = false;
|
||||
} else {
|
||||
descriptor.value = obj[propKey];
|
||||
descriptor.writable = true;
|
||||
}
|
||||
|
||||
return descriptor;
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* This method returns a property descriptor for an own property (that is,
|
||||
* one directly present on an object and not in the object's prototype chain)
|
||||
* of a given object.
|
||||
*
|
||||
* @param {*} object - The object in which to look for the property.
|
||||
* @param {*} property - The name of the property whose description is to be retrieved.
|
||||
* @returns {Object} A property descriptor of the given property if it exists on the object, undefined otherwise.
|
||||
* @example
|
||||
* var getOwnPropertyDescriptor = require('object-get-own-property-descriptor-x');
|
||||
* var obj = { bar: 42 };
|
||||
* var d = getOwnPropertyDescriptor(o, 'bar');
|
||||
* // d is {
|
||||
* // configurable: true,
|
||||
* // enumerable: true,
|
||||
* // value: 42,
|
||||
* // writable: true
|
||||
* // }
|
||||
*/
|
||||
module.exports = $getOwnPropertyDescriptor;
|
||||
2036
build/node_modules/object-get-own-property-descriptor-x/lib/object-get-own-property-descriptor-x.js
generated
vendored
Normal file
2036
build/node_modules/object-get-own-property-descriptor-x/lib/object-get-own-property-descriptor-x.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
276
build/node_modules/object-get-own-property-descriptor-x/lib/object-get-own-property-descriptor-x.min.js
generated
vendored
Normal file
276
build/node_modules/object-get-own-property-descriptor-x/lib/object-get-own-property-descriptor-x.min.js
generated
vendored
Normal file
@@ -0,0 +1,276 @@
|
||||
!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 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":15,"is-string":16,"property-is-enumerable-x":23,"to-object-x":31,"to-property-key-x":33}],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":27,"to-integer-x":28,"to-length-x":29,"to-object-x":31,"validate.io-undefined":39}],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":31,"to-property-key-x":33}],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":15,"normalize-space-x":22,"replace-comments-x":24,"to-string-tag-x":34}],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":19,"max-safe-integer":21,"safe-to-string-x":26,"to-integer-x":28,"to-number-x":30}],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":18,"validate.io-undefined":39}],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 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":30}],20:[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":30}],21:[function(_dereq_,module,exports){"use strict";module.exports=9007199254740991},{}],22:[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":38,"white-space-x":40}],23:[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":31,"to-property-key-x":33}],24:[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":16}],25:[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}],26:[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":17,"to-string-x":35}],27:[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":16}],28:[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":20,"to-number-x":30}],29:[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":21,"to-integer-x":28}],30:[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":32,"trim-x":38}],31:[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":25}],32:[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":15,"is-symbol":17,"require-object-coercible-x":25,"validate.io-undefined":39}],33:[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":32,"to-string-x":35}],34:[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":18,"validate.io-undefined":39}],35:[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":17}],36:[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":35,"white-space-x":40}],37:[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":35,"white-space-x":40}],38:[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":36,"trim-right-x":37}],39:[function(_dereq_,module,exports){"use strict";module.exports=function isUndefined(value){return void 0===value}},{}],40:[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/object-get-own-property-descriptor-x/lib/object-get-own-property-descriptor-x.min.js.map
generated
vendored
Normal file
1
build/node_modules/object-get-own-property-descriptor-x/lib/object-get-own-property-descriptor-x.min.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
121
build/node_modules/object-get-own-property-descriptor-x/package.json
generated
vendored
Normal file
121
build/node_modules/object-get-own-property-descriptor-x/package.json
generated
vendored
Normal file
@@ -0,0 +1,121 @@
|
||||
{
|
||||
"_from": "object-get-own-property-descriptor-x@^3.2.0",
|
||||
"_id": "object-get-own-property-descriptor-x@3.2.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-Z/0fIrptD9YuzN+SNK/1kxAEaBcPQM4gSrtOSMSi9eplnL/AbyQcAyAlreAoAzmBon+DQ1Z+AdhxyQSvav5Fyg==",
|
||||
"_location": "/object-get-own-property-descriptor-x",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "object-get-own-property-descriptor-x@^3.2.0",
|
||||
"name": "object-get-own-property-descriptor-x",
|
||||
"escapedName": "object-get-own-property-descriptor-x",
|
||||
"rawSpec": "^3.2.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^3.2.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/is-array-buffer-x"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/object-get-own-property-descriptor-x/-/object-get-own-property-descriptor-x-3.2.0.tgz",
|
||||
"_shasum": "464585ad03e66108ed166c99325b8d2c5ba93712",
|
||||
"_spec": "object-get-own-property-descriptor-x@^3.2.0",
|
||||
"_where": "/Users/asciidisco/Desktop/asciidisco.com/build/node_modules/is-array-buffer-x",
|
||||
"author": {
|
||||
"name": "Graham Fairweather",
|
||||
"email": "xotic750@gmail.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/Xotic750/object-get-own-property-descriptor-x/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"copyright": "Copyright (c) 2017",
|
||||
"dependencies": {
|
||||
"attempt-x": "^1.1.0",
|
||||
"has-own-property-x": "^3.1.1",
|
||||
"has-symbol-support-x": "^1.4.1",
|
||||
"is-falsey-x": "^1.0.0",
|
||||
"is-index-x": "^1.0.0",
|
||||
"is-primitive": "^2.0.0",
|
||||
"is-string": "^1.0.4",
|
||||
"property-is-enumerable-x": "^1.1.0",
|
||||
"to-object-x": "^1.4.1",
|
||||
"to-property-key-x": "^2.0.1"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Sham for ES6 Object.getOwnPropertyDescriptor",
|
||||
"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/object-get-own-property-descriptor-x",
|
||||
"keywords": [
|
||||
"object",
|
||||
"getOwnPropertyDescriptor",
|
||||
"module",
|
||||
"javascript",
|
||||
"nodejs",
|
||||
"browser"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "object-get-own-property-descriptor-x",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/Xotic750/object-get-own-property-descriptor-x.git"
|
||||
},
|
||||
"scripts": {
|
||||
"browserify": "browserify -p browserify-derequire -e index.js -o lib/object-get-own-property-descriptor-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/object-get-own-property-descriptor-x.js -o lib/object-get-own-property-descriptor-x.min.js --config-file .uglifyjsrc.json"
|
||||
},
|
||||
"version": "3.2.0"
|
||||
}
|
||||
Reference in New Issue
Block a user