From 68e8540e0015cb76c7dc8a33bdec7b73c0c36fa5 Mon Sep 17 00:00:00 2001 From: AureliaEffect Date: Sun, 3 Feb 2019 04:50:39 +0000 Subject: [PATCH] chore(all): add latest build artifacts --- bower.json | 2 +- config.js | 7 + dist/amd/aurelia-polyfills.js | 853 +++++++++++++++ dist/amd/index.js | 16 + dist/aurelia-polyfills.d.ts | 3 + dist/aurelia-polyfills.js | 941 +++++++++++++++++ dist/commonjs/aurelia-polyfills.js | 849 +++++++++++++++ dist/commonjs/index.js | 17 + dist/es2015/aurelia-polyfills.js | 846 +++++++++++++++ dist/es2015/index.js | 1 + dist/index.d.ts | 1 + dist/native-modules/aurelia-polyfills.js | 847 +++++++++++++++ dist/native-modules/index.js | 1 + dist/system/aurelia-polyfills.js | 865 +++++++++++++++ dist/system/index.js | 18 + doc/CHANGELOG.md | 5 + package-lock.json | 1223 +++++++++++++++------- package.json | 9 +- 18 files changed, 6145 insertions(+), 359 deletions(-) create mode 100644 dist/amd/aurelia-polyfills.js create mode 100644 dist/amd/index.js create mode 100644 dist/aurelia-polyfills.d.ts create mode 100644 dist/aurelia-polyfills.js create mode 100644 dist/commonjs/aurelia-polyfills.js create mode 100644 dist/commonjs/index.js create mode 100644 dist/es2015/aurelia-polyfills.js create mode 100644 dist/es2015/index.js create mode 100644 dist/index.d.ts create mode 100644 dist/native-modules/aurelia-polyfills.js create mode 100644 dist/native-modules/index.js create mode 100644 dist/system/aurelia-polyfills.js create mode 100644 dist/system/index.js diff --git a/bower.json b/bower.json index 333eb59..d2f26c5 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "aurelia-polyfills", - "version": "1.3.1", + "version": "1.3.2", "description": "The minimal set of polyfills that the Aurelia platform needs to run on ES5 browsers.", "keywords": [ "aurelia", diff --git a/config.js b/config.js index a77f53d..488d64b 100644 --- a/config.js +++ b/config.js @@ -1,5 +1,12 @@ System.config({ defaultJSExtensions: true, + transpiler: "babel", + babelOptions: { + "optional": [ + "runtime", + "optimisation.modules.system" + ] + }, paths: { "github:*": "jspm_packages/github/*", "npm:*": "jspm_packages/npm/*" diff --git a/dist/amd/aurelia-polyfills.js b/dist/amd/aurelia-polyfills.js new file mode 100644 index 0000000..b558390 --- /dev/null +++ b/dist/amd/aurelia-polyfills.js @@ -0,0 +1,853 @@ +define(['aurelia-pal'], function (_aureliaPal) { + 'use strict'; + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { + return typeof obj; + } : function (obj) { + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; + }; + + if (typeof FEATURE_NO_ES2015 === 'undefined') { + + (function (Object, GOPS) { + 'use strict'; + + if (GOPS in Object) return; + + var setDescriptor, + G = _aureliaPal.PLATFORM.global, + id = 0, + random = '' + Math.random(), + prefix = '__\x01symbol:', + prefixLength = prefix.length, + internalSymbol = '__\x01symbol@@' + random, + DP = 'defineProperty', + DPies = 'defineProperties', + GOPN = 'getOwnPropertyNames', + GOPD = 'getOwnPropertyDescriptor', + PIE = 'propertyIsEnumerable', + gOPN = Object[GOPN], + gOPD = Object[GOPD], + create = Object.create, + keys = Object.keys, + defineProperty = Object[DP], + $defineProperties = Object[DPies], + descriptor = gOPD(Object, GOPN), + ObjectProto = Object.prototype, + hOP = ObjectProto.hasOwnProperty, + pIE = ObjectProto[PIE], + toString = ObjectProto.toString, + indexOf = Array.prototype.indexOf || function (v) { + for (var i = this.length; i-- && this[i] !== v;) {} + return i; + }, + addInternalIfNeeded = function addInternalIfNeeded(o, uid, enumerable) { + if (!hOP.call(o, internalSymbol)) { + defineProperty(o, internalSymbol, { + enumerable: false, + configurable: false, + writable: false, + value: {} + }); + } + o[internalSymbol]['@@' + uid] = enumerable; + }, + createWithSymbols = function createWithSymbols(proto, descriptors) { + var self = create(proto); + if (descriptors !== null && (typeof descriptors === 'undefined' ? 'undefined' : _typeof(descriptors)) === 'object') { + gOPN(descriptors).forEach(function (key) { + if (propertyIsEnumerable.call(descriptors, key)) { + $defineProperty(self, key, descriptors[key]); + } + }); + } + return self; + }, + copyAsNonEnumerable = function copyAsNonEnumerable(descriptor) { + var newDescriptor = create(descriptor); + newDescriptor.enumerable = false; + return newDescriptor; + }, + get = function get() {}, + onlyNonSymbols = function onlyNonSymbols(name) { + return name != internalSymbol && !hOP.call(source, name); + }, + onlySymbols = function onlySymbols(name) { + return name != internalSymbol && hOP.call(source, name); + }, + propertyIsEnumerable = function propertyIsEnumerable(key) { + var uid = '' + key; + return onlySymbols(uid) ? hOP.call(this, uid) && this[internalSymbol] && this[internalSymbol]['@@' + uid] : pIE.call(this, key); + }, + setAndGetSymbol = function setAndGetSymbol(uid) { + var descriptor = { + enumerable: false, + configurable: true, + get: get, + set: function set(value) { + setDescriptor(this, uid, { + enumerable: false, + configurable: true, + writable: true, + value: value + }); + addInternalIfNeeded(this, uid, true); + } + }; + defineProperty(ObjectProto, uid, descriptor); + return source[uid] = defineProperty(Object(uid), 'constructor', sourceConstructor); + }, + _Symbol = function _Symbol2(description) { + if (this && this !== G) { + throw new TypeError('Symbol is not a constructor'); + } + return setAndGetSymbol(prefix.concat(description || '', random, ++id)); + }, + source = create(null), + sourceConstructor = { value: _Symbol }, + sourceMap = function sourceMap(uid) { + return source[uid]; + }, + $defineProperty = function defineProp(o, key, descriptor) { + var uid = '' + key; + if (onlySymbols(uid)) { + setDescriptor(o, uid, descriptor.enumerable ? copyAsNonEnumerable(descriptor) : descriptor); + addInternalIfNeeded(o, uid, !!descriptor.enumerable); + } else { + defineProperty(o, key, descriptor); + } + return o; + }, + $getOwnPropertySymbols = function getOwnPropertySymbols(o) { + var cof = toString.call(o); + o = cof === '[object String]' ? o.split('') : Object(o); + return gOPN(o).filter(onlySymbols).map(sourceMap); + }; + + descriptor.value = $defineProperty; + defineProperty(Object, DP, descriptor); + + descriptor.value = $getOwnPropertySymbols; + defineProperty(Object, GOPS, descriptor); + + var cachedWindowNames = (typeof window === 'undefined' ? 'undefined' : _typeof(window)) === 'object' ? Object.getOwnPropertyNames(window) : []; + var originalObjectGetOwnPropertyNames = Object.getOwnPropertyNames; + descriptor.value = function getOwnPropertyNames(o) { + if (toString.call(o) === '[object Window]') { + try { + return originalObjectGetOwnPropertyNames(o); + } catch (e) { + return [].concat([], cachedWindowNames); + } + } + return gOPN(o).filter(onlyNonSymbols); + }; + defineProperty(Object, GOPN, descriptor); + + descriptor.value = function defineProperties(o, descriptors) { + var symbols = $getOwnPropertySymbols(descriptors); + if (symbols.length) { + keys(descriptors).concat(symbols).forEach(function (uid) { + if (propertyIsEnumerable.call(descriptors, uid)) { + $defineProperty(o, uid, descriptors[uid]); + } + }); + } else { + $defineProperties(o, descriptors); + } + return o; + }; + defineProperty(Object, DPies, descriptor); + + descriptor.value = propertyIsEnumerable; + defineProperty(ObjectProto, PIE, descriptor); + + descriptor.value = _Symbol; + defineProperty(G, 'Symbol', descriptor); + + descriptor.value = function (key) { + var uid = prefix.concat(prefix, key, random); + return uid in ObjectProto ? source[uid] : setAndGetSymbol(uid); + }; + defineProperty(_Symbol, 'for', descriptor); + + descriptor.value = function (symbol) { + return hOP.call(source, symbol) ? symbol.slice(prefixLength * 2, -random.length) : void 0; + }; + defineProperty(_Symbol, 'keyFor', descriptor); + + descriptor.value = function getOwnPropertyDescriptor(o, key) { + var descriptor = gOPD(o, key); + if (descriptor && onlySymbols(key)) { + descriptor.enumerable = propertyIsEnumerable.call(o, key); + } + return descriptor; + }; + defineProperty(Object, GOPD, descriptor); + + descriptor.value = function (proto, descriptors) { + return arguments.length === 1 ? create(proto) : createWithSymbols(proto, descriptors); + }; + defineProperty(Object, 'create', descriptor); + + descriptor.value = function () { + var str = toString.call(this); + return str === '[object String]' && onlySymbols(this) ? '[object Symbol]' : str; + }; + defineProperty(ObjectProto, 'toString', descriptor); + + try { + setDescriptor = create(defineProperty({}, prefix, { + get: function get() { + return defineProperty(this, prefix, { value: false })[prefix]; + } + }))[prefix] || defineProperty; + } catch (o_O) { + setDescriptor = function setDescriptor(o, key, descriptor) { + var protoDescriptor = gOPD(ObjectProto, key); + delete ObjectProto[key]; + defineProperty(o, key, descriptor); + defineProperty(ObjectProto, key, protoDescriptor); + }; + } + })(Object, 'getOwnPropertySymbols'); + + (function (O, S) { + var dP = O.defineProperty, + ObjectProto = O.prototype, + toString = ObjectProto.toString, + toStringTag = 'toStringTag', + descriptor; + ['iterator', 'match', 'replace', 'search', 'split', 'hasInstance', 'isConcatSpreadable', 'unscopables', 'species', 'toPrimitive', toStringTag].forEach(function (name) { + if (!(name in Symbol)) { + dP(Symbol, name, { value: Symbol(name) }); + switch (name) { + case toStringTag: + descriptor = O.getOwnPropertyDescriptor(ObjectProto, 'toString'); + descriptor.value = function () { + var str = toString.call(this), + tst = typeof this === 'undefined' || this === null ? undefined : this[Symbol.toStringTag]; + return typeof tst === 'undefined' ? str : '[object ' + tst + ']'; + }; + dP(ObjectProto, 'toString', descriptor); + break; + } + } + }); + })(Object, Symbol); + + (function (Si, AP, SP) { + + function returnThis() { + return this; + } + + if (!AP[Si]) AP[Si] = function () { + var i = 0, + self = this, + iterator = { + next: function next() { + var done = self.length <= i; + return done ? { done: done } : { done: done, value: self[i++] }; + } + }; + iterator[Si] = returnThis; + return iterator; + }; + + if (!SP[Si]) SP[Si] = function () { + var fromCodePoint = String.fromCodePoint, + self = this, + i = 0, + length = self.length, + iterator = { + next: function next() { + var done = length <= i, + c = done ? '' : fromCodePoint(self.codePointAt(i)); + i += c.length; + return done ? { done: done } : { done: done, value: c }; + } + }; + iterator[Si] = returnThis; + return iterator; + }; + })(Symbol.iterator, Array.prototype, String.prototype); + } + + if (typeof FEATURE_NO_ES2015 === 'undefined') { + + Number.isNaN = Number.isNaN || function (value) { + return value !== value; + }; + + Number.isFinite = Number.isFinite || function (value) { + return typeof value === "number" && isFinite(value); + }; + } + + if (!String.prototype.endsWith || function () { + try { + return !"ab".endsWith("a", 1); + } catch (e) { + return true; + } + }()) { + String.prototype.endsWith = function (searchString, position) { + var subjectString = this.toString(); + if (typeof position !== 'number' || !isFinite(position) || Math.floor(position) !== position || position > subjectString.length) { + position = subjectString.length; + } + position -= searchString.length; + var lastIndex = subjectString.indexOf(searchString, position); + return lastIndex !== -1 && lastIndex === position; + }; + } + + if (!String.prototype.startsWith || function () { + try { + return !"ab".startsWith("b", 1); + } catch (e) { + return true; + } + }()) { + String.prototype.startsWith = function (searchString, position) { + position = position || 0; + return this.substr(position, searchString.length) === searchString; + }; + } + + if (typeof FEATURE_NO_ES2015 === 'undefined') { + + if (!Array.from) { + Array.from = function () { + var toInteger = function toInteger(it) { + return isNaN(it = +it) ? 0 : (it > 0 ? Math.floor : Math.ceil)(it); + }; + var toLength = function toLength(it) { + return it > 0 ? Math.min(toInteger(it), 0x1fffffffffffff) : 0; + }; + var iterCall = function iterCall(iter, fn, val, index) { + try { + return fn(val, index); + } catch (E) { + if (typeof iter.return == 'function') iter.return(); + throw E; + } + }; + + return function from(arrayLike) { + var O = Object(arrayLike), + C = typeof this == 'function' ? this : Array, + aLen = arguments.length, + mapfn = aLen > 1 ? arguments[1] : undefined, + mapping = mapfn !== undefined, + index = 0, + iterFn = O[Symbol.iterator], + length, + result, + step, + iterator; + if (mapping) mapfn = mapfn.bind(aLen > 2 ? arguments[2] : undefined); + if (iterFn != undefined && !Array.isArray(arrayLike)) { + for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) { + result[index] = mapping ? iterCall(iterator, mapfn, step.value, index) : step.value; + } + } else { + length = toLength(O.length); + for (result = new C(length); length > index; index++) { + result[index] = mapping ? mapfn(O[index], index) : O[index]; + } + } + result.length = index; + return result; + }; + }(); + } + + if (!Array.prototype.find) { + Object.defineProperty(Array.prototype, 'find', { + configurable: true, + writable: true, + enumerable: false, + value: function value(predicate) { + if (this === null) { + throw new TypeError('Array.prototype.find called on null or undefined'); + } + if (typeof predicate !== 'function') { + throw new TypeError('predicate must be a function'); + } + var list = Object(this); + var length = list.length >>> 0; + var thisArg = arguments[1]; + var value; + + for (var i = 0; i < length; i++) { + value = list[i]; + if (predicate.call(thisArg, value, i, list)) { + return value; + } + } + return undefined; + } + }); + } + + if (!Array.prototype.findIndex) { + Object.defineProperty(Array.prototype, 'findIndex', { + configurable: true, + writable: true, + enumerable: false, + value: function value(predicate) { + if (this === null) { + throw new TypeError('Array.prototype.findIndex called on null or undefined'); + } + if (typeof predicate !== 'function') { + throw new TypeError('predicate must be a function'); + } + var list = Object(this); + var length = list.length >>> 0; + var thisArg = arguments[1]; + var value; + + for (var i = 0; i < length; i++) { + value = list[i]; + if (predicate.call(thisArg, value, i, list)) { + return i; + } + } + return -1; + } + }); + } + } + + if (typeof FEATURE_NO_ES2016 === 'undefined' && !Array.prototype.includes) { + Object.defineProperty(Array.prototype, 'includes', { + configurable: true, + writable: true, + enumerable: false, + value: function value(searchElement) { + var O = Object(this); + var len = parseInt(O.length) || 0; + if (len === 0) { + return false; + } + var n = parseInt(arguments[1]) || 0; + var k; + if (n >= 0) { + k = n; + } else { + k = len + n; + if (k < 0) { + k = 0; + } + } + var currentElement; + while (k < len) { + currentElement = O[k]; + if (searchElement === currentElement || searchElement !== searchElement && currentElement !== currentElement) { + return true; + } + k++; + } + return false; + } + }); + } + + if (typeof FEATURE_NO_ES2015 === 'undefined') { + + (function () { + var needsFix = false; + + try { + var s = Object.keys('a'); + needsFix = s.length !== 1 || s[0] !== '0'; + } catch (e) { + needsFix = true; + } + + if (needsFix) { + Object.keys = function () { + var hasOwnProperty = Object.prototype.hasOwnProperty, + hasDontEnumBug = !{ toString: null }.propertyIsEnumerable('toString'), + dontEnums = ['toString', 'toLocaleString', 'valueOf', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'constructor'], + dontEnumsLength = dontEnums.length; + + return function (obj) { + if (obj === undefined || obj === null) { + throw TypeError('Cannot convert undefined or null to object'); + } + + obj = Object(obj); + + var result = [], + prop, + i; + + for (prop in obj) { + if (hasOwnProperty.call(obj, prop)) { + result.push(prop); + } + } + + if (hasDontEnumBug) { + for (i = 0; i < dontEnumsLength; i++) { + if (hasOwnProperty.call(obj, dontEnums[i])) { + result.push(dontEnums[i]); + } + } + } + + return result; + }; + }(); + } + })(); + + (function (O) { + if ('assign' in O) { + return; + } + + O.defineProperty(O, 'assign', { + configurable: true, + writable: true, + value: function () { + var gOPS = O.getOwnPropertySymbols, + pIE = O.propertyIsEnumerable, + filterOS = gOPS ? function (self) { + return gOPS(self).filter(pIE, self); + } : function () { + return Array.prototype; + }; + + return function assign(where) { + if (gOPS && !(where instanceof O)) { + console.warn('problematic Symbols', where); + } + + function set(keyOrSymbol) { + where[keyOrSymbol] = arg[keyOrSymbol]; + } + + for (var i = 1, ii = arguments.length; i < ii; ++i) { + var arg = arguments[i]; + + if (arg === null || arg === undefined) { + continue; + } + + O.keys(arg).concat(filterOS(arg)).forEach(set); + } + + return where; + }; + }() + }); + })(Object); + + if (!Object.is) { + Object.is = function (x, y) { + if (x === y) { + return x !== 0 || 1 / x === 1 / y; + } else { + return x !== x && y !== y; + } + }; + } + } + + if (typeof FEATURE_NO_ES2015 === 'undefined') { + + (function (global) { + var i; + + var defineProperty = Object.defineProperty, + is = function is(a, b) { + return a === b || a !== a && b !== b; + }; + + if (typeof WeakMap == 'undefined') { + global.WeakMap = createCollection({ + 'delete': sharedDelete, + + clear: sharedClear, + + get: sharedGet, + + has: mapHas, + + set: sharedSet + }, true); + } + + if (typeof Map == 'undefined' || typeof new Map().values !== 'function' || !new Map().values().next) { + var _createCollection; + + global.Map = createCollection((_createCollection = { + 'delete': sharedDelete, + + has: mapHas, + + get: sharedGet, + + set: sharedSet, + + keys: sharedKeys, + + values: sharedValues, + + entries: mapEntries, + + forEach: sharedForEach, + + clear: sharedClear + }, _createCollection[Symbol.iterator] = mapEntries, _createCollection)); + } + + if (typeof Set == 'undefined' || typeof new Set().values !== 'function' || !new Set().values().next) { + var _createCollection2; + + global.Set = createCollection((_createCollection2 = { + has: setHas, + + add: sharedAdd, + + 'delete': sharedDelete, + + clear: sharedClear, + + keys: sharedValues, + values: sharedValues, + + entries: setEntries, + + forEach: sharedForEach + }, _createCollection2[Symbol.iterator] = sharedValues, _createCollection2)); + } + + if (typeof WeakSet == 'undefined') { + global.WeakSet = createCollection({ + 'delete': sharedDelete, + + add: sharedAdd, + + clear: sharedClear, + + has: setHas + }, true); + } + + function createCollection(proto, objectOnly) { + function Collection(a) { + if (!this || this.constructor !== Collection) return new Collection(a); + this._keys = []; + this._values = []; + this._itp = []; + this.objectOnly = objectOnly; + + if (a) init.call(this, a); + } + + if (!objectOnly) { + defineProperty(proto, 'size', { + get: sharedSize + }); + } + + proto.constructor = Collection; + Collection.prototype = proto; + + return Collection; + } + + function init(a) { + var i; + + if (this.add) a.forEach(this.add, this);else a.forEach(function (a) { + this.set(a[0], a[1]); + }, this); + } + + function sharedDelete(key) { + if (this.has(key)) { + this._keys.splice(i, 1); + this._values.splice(i, 1); + + this._itp.forEach(function (p) { + if (i < p[0]) p[0]--; + }); + } + + return -1 < i; + }; + + function sharedGet(key) { + return this.has(key) ? this._values[i] : undefined; + } + + function has(list, key) { + if (this.objectOnly && key !== Object(key)) throw new TypeError("Invalid value used as weak collection key"); + + if (key != key || key === 0) for (i = list.length; i-- && !is(list[i], key);) {} else i = list.indexOf(key); + return -1 < i; + } + + function setHas(value) { + return has.call(this, this._values, value); + } + + function mapHas(value) { + return has.call(this, this._keys, value); + } + + function sharedSet(key, value) { + this.has(key) ? this._values[i] = value : this._values[this._keys.push(key) - 1] = value; + return this; + } + + function sharedAdd(value) { + if (!this.has(value)) this._values.push(value); + return this; + } + + function sharedClear() { + (this._keys || 0).length = this._values.length = 0; + } + + function sharedKeys() { + return sharedIterator(this._itp, this._keys); + } + + function sharedValues() { + return sharedIterator(this._itp, this._values); + } + + function mapEntries() { + return sharedIterator(this._itp, this._keys, this._values); + } + + function setEntries() { + return sharedIterator(this._itp, this._values, this._values); + } + + function sharedIterator(itp, array, array2) { + var _ref; + + var p = [0], + done = false; + itp.push(p); + return _ref = {}, _ref[Symbol.iterator] = function () { + return this; + }, _ref.next = function next() { + var v, + k = p[0]; + if (!done && k < array.length) { + v = array2 ? [array[k], array2[k]] : array[k]; + p[0]++; + } else { + done = true; + itp.splice(itp.indexOf(p), 1); + } + return { done: done, value: v }; + }, _ref; + } + + function sharedSize() { + return this._values.length; + } + + function sharedForEach(callback, context) { + var it = this.entries(); + for (;;) { + var r = it.next(); + if (r.done) break; + callback.call(context, r.value[1], r.value[0], this); + } + } + })(_aureliaPal.PLATFORM.global); + } + + if (typeof FEATURE_NO_ES2015 === 'undefined') { + + var bind = Function.prototype.bind; + + if (typeof _aureliaPal.PLATFORM.global.Reflect === 'undefined') { + _aureliaPal.PLATFORM.global.Reflect = {}; + } + + if (typeof Reflect.defineProperty !== 'function') { + Reflect.defineProperty = function (target, propertyKey, descriptor) { + if ((typeof target === 'undefined' ? 'undefined' : _typeof(target)) === 'object' ? target === null : typeof target !== 'function') { + throw new TypeError('Reflect.defineProperty called on non-object'); + } + try { + Object.defineProperty(target, propertyKey, descriptor); + return true; + } catch (e) { + return false; + } + }; + } + + if (typeof Reflect.construct !== 'function') { + Reflect.construct = function (Target, args) { + if (args) { + switch (args.length) { + case 0: + return new Target(); + case 1: + return new Target(args[0]); + case 2: + return new Target(args[0], args[1]); + case 3: + return new Target(args[0], args[1], args[2]); + case 4: + return new Target(args[0], args[1], args[2], args[3]); + } + } + + var a = [null]; + a.push.apply(a, args); + return new (bind.apply(Target, a))(); + }; + } + + if (typeof Reflect.ownKeys !== 'function') { + Reflect.ownKeys = function (o) { + return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o)); + }; + } + } + + if (typeof FEATURE_NO_ESNEXT === 'undefined') { + + var emptyMetadata = Object.freeze({}); + var metadataContainerKey = '__metadata__'; + + if (typeof Reflect.getOwnMetadata !== 'function') { + Reflect.getOwnMetadata = function (metadataKey, target, targetKey) { + if (target.hasOwnProperty(metadataContainerKey)) { + return (target[metadataContainerKey][targetKey] || emptyMetadata)[metadataKey]; + } + }; + } + + if (typeof Reflect.defineMetadata !== 'function') { + Reflect.defineMetadata = function (metadataKey, metadataValue, target, targetKey) { + var metadataContainer = target.hasOwnProperty(metadataContainerKey) ? target[metadataContainerKey] : target[metadataContainerKey] = {}; + var targetContainer = metadataContainer[targetKey] || (metadataContainer[targetKey] = {}); + targetContainer[metadataKey] = metadataValue; + }; + } + + if (typeof Reflect.metadata !== 'function') { + Reflect.metadata = function (metadataKey, metadataValue) { + return function (target, targetKey) { + Reflect.defineMetadata(metadataKey, metadataValue, target, targetKey); + }; + }; + } + } +}); \ No newline at end of file diff --git a/dist/amd/index.js b/dist/amd/index.js new file mode 100644 index 0000000..0a8c06a --- /dev/null +++ b/dist/amd/index.js @@ -0,0 +1,16 @@ +define(['exports', './aurelia-polyfills'], function (exports, _aureliaPolyfills) { + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + Object.keys(_aureliaPolyfills).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _aureliaPolyfills[key]; + } + }); + }); +}); \ No newline at end of file diff --git a/dist/aurelia-polyfills.d.ts b/dist/aurelia-polyfills.d.ts new file mode 100644 index 0000000..1f2932e --- /dev/null +++ b/dist/aurelia-polyfills.d.ts @@ -0,0 +1,3 @@ +import { + PLATFORM +} from 'aurelia-pal'; \ No newline at end of file diff --git a/dist/aurelia-polyfills.js b/dist/aurelia-polyfills.js new file mode 100644 index 0000000..2f16b1a --- /dev/null +++ b/dist/aurelia-polyfills.js @@ -0,0 +1,941 @@ +import {PLATFORM} from 'aurelia-pal'; + +if (typeof FEATURE_NO_ES2015 === 'undefined') { + +(function (Object, GOPS) {'use strict'; + + // (C) Andrea Giammarchi - Mit Style + + if (GOPS in Object) return; + + var + setDescriptor, + G = PLATFORM.global, + id = 0, + random = '' + Math.random(), + prefix = '__\x01symbol:', + prefixLength = prefix.length, + internalSymbol = '__\x01symbol@@' + random, + DP = 'defineProperty', + DPies = 'defineProperties', + GOPN = 'getOwnPropertyNames', + GOPD = 'getOwnPropertyDescriptor', + PIE = 'propertyIsEnumerable', + gOPN = Object[GOPN], + gOPD = Object[GOPD], + create = Object.create, + keys = Object.keys, + defineProperty = Object[DP], + $defineProperties = Object[DPies], + descriptor = gOPD(Object, GOPN), + ObjectProto = Object.prototype, + hOP = ObjectProto.hasOwnProperty, + pIE = ObjectProto[PIE], + toString = ObjectProto.toString, + indexOf = Array.prototype.indexOf || function (v) { + for (var i = this.length; i-- && this[i] !== v;) {} + return i; + }, + addInternalIfNeeded = function (o, uid, enumerable) { + if (!hOP.call(o, internalSymbol)) { + defineProperty(o, internalSymbol, { + enumerable: false, + configurable: false, + writable: false, + value: {} + }); + } + o[internalSymbol]['@@' + uid] = enumerable; + }, + createWithSymbols = function (proto, descriptors) { + var self = create(proto); + if (descriptors !== null && typeof descriptors === 'object') { + gOPN(descriptors).forEach(function (key) { + if (propertyIsEnumerable.call(descriptors, key)) { + $defineProperty(self, key, descriptors[key]); + } + }); + } + return self; + }, + copyAsNonEnumerable = function (descriptor) { + var newDescriptor = create(descriptor); + newDescriptor.enumerable = false; + return newDescriptor; + }, + get = function get(){}, + onlyNonSymbols = function (name) { + return name != internalSymbol && + !hOP.call(source, name); + }, + onlySymbols = function (name) { + return name != internalSymbol && + hOP.call(source, name); + }, + propertyIsEnumerable = function propertyIsEnumerable(key) { + var uid = '' + key; + return onlySymbols(uid) ? ( + hOP.call(this, uid) && + this[internalSymbol] && + this[internalSymbol]['@@' + uid] + ) : pIE.call(this, key); + }, + setAndGetSymbol = function (uid) { + var descriptor = { + enumerable: false, + configurable: true, + get: get, + set: function (value) { + setDescriptor(this, uid, { + enumerable: false, + configurable: true, + writable: true, + value: value + }); + addInternalIfNeeded(this, uid, true); + } + }; + defineProperty(ObjectProto, uid, descriptor); + return (source[uid] = defineProperty( + Object(uid), + 'constructor', + sourceConstructor + )); + }, + Symbol = function Symbol(description) { + if (this && this !== G) { + throw new TypeError('Symbol is not a constructor'); + } + return setAndGetSymbol( + prefix.concat(description || '', random, ++id) + ); + }, + source = create(null), + sourceConstructor = {value: Symbol}, + sourceMap = function (uid) { + return source[uid]; + }, + $defineProperty = function defineProp(o, key, descriptor) { + var uid = '' + key; + if (onlySymbols(uid)) { + setDescriptor(o, uid, descriptor.enumerable ? + copyAsNonEnumerable(descriptor) : descriptor); + addInternalIfNeeded(o, uid, !!descriptor.enumerable); + } else { + defineProperty(o, key, descriptor); + } + return o; + }, + $getOwnPropertySymbols = function getOwnPropertySymbols(o) { + var cof = toString.call(o); + o = (cof === '[object String]') ? o.split('') : Object(o); + return gOPN(o).filter(onlySymbols).map(sourceMap); + } + ; + + descriptor.value = $defineProperty; + defineProperty(Object, DP, descriptor); + + descriptor.value = $getOwnPropertySymbols; + defineProperty(Object, GOPS, descriptor); + + var cachedWindowNames = typeof window === 'object' ? Object.getOwnPropertyNames(window) : []; + var originalObjectGetOwnPropertyNames = Object.getOwnPropertyNames; + descriptor.value = function getOwnPropertyNames(o) { + if (toString.call(o) === '[object Window]') { + try { + return originalObjectGetOwnPropertyNames(o); + } catch (e) { + // IE bug where layout engine calls userland gOPN for cross-domain "window" objects  + return [].concat([], cachedWindowNames); + } + } + return gOPN(o).filter(onlyNonSymbols); + }; + defineProperty(Object, GOPN, descriptor); + + descriptor.value = function defineProperties(o, descriptors) { + var symbols = $getOwnPropertySymbols(descriptors); + if (symbols.length) { + keys(descriptors).concat(symbols).forEach(function (uid) { + if (propertyIsEnumerable.call(descriptors, uid)) { + $defineProperty(o, uid, descriptors[uid]); + } + }); + } else { + $defineProperties(o, descriptors); + } + return o; + }; + defineProperty(Object, DPies, descriptor); + + descriptor.value = propertyIsEnumerable; + defineProperty(ObjectProto, PIE, descriptor); + + descriptor.value = Symbol; + defineProperty(G, 'Symbol', descriptor); + + // defining `Symbol.for(key)` + descriptor.value = function (key) { + var uid = prefix.concat(prefix, key, random); + return uid in ObjectProto ? source[uid] : setAndGetSymbol(uid); + }; + defineProperty(Symbol, 'for', descriptor); + + // defining `Symbol.keyFor(symbol)` + descriptor.value = function (symbol) { + return hOP.call(source, symbol) ? + symbol.slice(prefixLength * 2, -random.length) : + void 0 + ; + }; + defineProperty(Symbol, 'keyFor', descriptor); + + descriptor.value = function getOwnPropertyDescriptor(o, key) { + var descriptor = gOPD(o, key); + if (descriptor && onlySymbols(key)) { + descriptor.enumerable = propertyIsEnumerable.call(o, key); + } + return descriptor; + }; + defineProperty(Object, GOPD, descriptor); + + descriptor.value = function (proto, descriptors) { + return arguments.length === 1 ? + create(proto) : + createWithSymbols(proto, descriptors); + }; + defineProperty(Object, 'create', descriptor); + + descriptor.value = function () { + var str = toString.call(this); + return (str === '[object String]' && onlySymbols(this)) ? '[object Symbol]' : str; + }; + defineProperty(ObjectProto, 'toString', descriptor); + + try { // fails in few pre ES 5.1 engines + setDescriptor = create( + defineProperty( + {}, + prefix, + { + get: function () { + return defineProperty(this, prefix, {value: false})[prefix]; + } + } + ) + )[prefix] || defineProperty; + } catch(o_O) { + setDescriptor = function (o, key, descriptor) { + var protoDescriptor = gOPD(ObjectProto, key); + delete ObjectProto[key]; + defineProperty(o, key, descriptor); + defineProperty(ObjectProto, key, protoDescriptor); + }; + } + +}(Object, 'getOwnPropertySymbols')); + +(function (O, S) { + var + dP = O.defineProperty, + ObjectProto = O.prototype, + toString = ObjectProto.toString, + toStringTag = 'toStringTag', + descriptor + ; + [ + 'iterator', // A method returning the default iterator for an object. Used by for...of. + 'match', // A method that matches against a string, also used to determine if an object may be used as a regular expression. Used by String.prototype.match(). + 'replace', // A method that replaces matched substrings of a string. Used by String.prototype.replace(). + 'search', // A method that returns the index within a string that matches the regular expression. Used by String.prototype.search(). + 'split', // A method that splits a string at the indices that match a regular expression. Used by String.prototype.split(). + 'hasInstance', // A method determining if a constructor object recognizes an object as its instance. Used by instanceof. + 'isConcatSpreadable', // A Boolean value indicating if an object should be flattened to its array elements. Used by Array.prototype.concat(). + 'unscopables', // An Array of string values that are property values. These are excluded from the with environment bindings of the associated objects. + 'species', // A constructor function that is used to create derived objects. + 'toPrimitive', // A method converting an object to a primitive value. + toStringTag // A string value used for the default description of an object. Used by Object.prototype.toString(). + ].forEach(function (name) { + if (!(name in Symbol)) { + dP(Symbol, name, {value: Symbol(name)}); + switch (name) { + case toStringTag: + descriptor = O.getOwnPropertyDescriptor(ObjectProto, 'toString'); + descriptor.value = function () { + var + str = toString.call(this), + tst = typeof this === 'undefined' || this === null ? undefined : this[Symbol.toStringTag] + ; + return typeof tst === 'undefined' ? str : ('[object ' + tst + ']'); + }; + dP(ObjectProto, 'toString', descriptor); + break; + } + } + }); +}(Object, Symbol)); + +(function (Si, AP, SP) { + + function returnThis() { return this; } + + // make Arrays usable as iterators + // so that other iterables can copy same logic + if (!AP[Si]) AP[Si] = function () { + var + i = 0, + self = this, + iterator = { + next: function next() { + var done = self.length <= i; + return done ? + {done: done} : + {done: done, value: self[i++]}; + } + } + ; + iterator[Si] = returnThis; + return iterator; + }; + + // make Strings usable as iterators + // to simplify Array.from and + if (!SP[Si]) SP[Si] = function () { + var + fromCodePoint = String.fromCodePoint, + self = this, + i = 0, + length = self.length, + iterator = { + next: function next() { + var + done = length <= i, + c = done ? '' : fromCodePoint(self.codePointAt(i)) + ; + i += c.length; + return done ? + {done: done} : + {done: done, value: c}; + } + } + ; + iterator[Si] = returnThis; + return iterator; + }; + +}(Symbol.iterator, Array.prototype, String.prototype)); + + +} // endif FEATURE_NO_ES2015 + +if (typeof FEATURE_NO_ES2015 === 'undefined') { + +Number.isNaN = Number.isNaN || function(value) { + return value !== value; +}; + +Number.isFinite = Number.isFinite || function(value) { + return typeof value === "number" && isFinite(value); +}; + +} // endif FEATURE_NO_ES2015 + +if ((!String.prototype.endsWith) || ((function() { try { return !("ab".endsWith("a",1)); } catch (e) { return true; } } )())) { + String.prototype.endsWith = function(searchString, position) { + let subjectString = this.toString(); + if (typeof position !== 'number' || !isFinite(position) || Math.floor(position) !== position || position > subjectString.length) { + position = subjectString.length; + } + position -= searchString.length; + let lastIndex = subjectString.indexOf(searchString, position); + return lastIndex !== -1 && lastIndex === position; + }; +} + +if ((!String.prototype.startsWith) || ((function() { try { return !("ab".startsWith("b", 1)); } catch (e) { return true; } } )())) { + String.prototype.startsWith = function(searchString, position){ + position = position || 0; + return this.substr(position, searchString.length) === searchString; + }; +} + +if (typeof FEATURE_NO_ES2015 === 'undefined') { + +if (!Array.from) { + Array.from = (function () { + var toInteger = function(it) { + return isNaN(it = +it) ? 0 : (it > 0 ? Math.floor : Math.ceil)(it); + }; + var toLength = function(it) { + return it > 0 ? Math.min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 + }; + var iterCall = function(iter, fn, val, index) { + try { + return fn(val, index) + } + catch (E) { + if (typeof iter.return == 'function') iter.return(); + throw E; + } + }; + + // The length property of the from method is 1. + return function from(arrayLike/*, mapFn, thisArg */) { + var O = Object(arrayLike) + , C = typeof this == 'function' ? this : Array + , aLen = arguments.length + , mapfn = aLen > 1 ? arguments[1] : undefined + , mapping = mapfn !== undefined + , index = 0 + , iterFn = O[Symbol.iterator] + , length, result, step, iterator; + if (mapping) mapfn = mapfn.bind(aLen > 2 ? arguments[2] : undefined); + if (iterFn != undefined && !Array.isArray(arrayLike)) { + for (iterator = iterFn.call(O), result = new C; !(step = iterator.next()).done; index++) { + result[index] = mapping ? iterCall(iterator, mapfn, step.value, index) : step.value; + } + } else { + length = toLength(O.length); + for (result = new C(length); length > index; index++) { + result[index] = mapping ? mapfn(O[index], index) : O[index]; + } + } + result.length = index; + return result; + }; + }()); +} + +if (!Array.prototype.find) { + Object.defineProperty(Array.prototype, 'find', { + configurable: true, + writable: true, + enumerable: false, + value: function(predicate) { + if (this === null) { + throw new TypeError('Array.prototype.find called on null or undefined'); + } + if (typeof predicate !== 'function') { + throw new TypeError('predicate must be a function'); + } + var list = Object(this); + var length = list.length >>> 0; + var thisArg = arguments[1]; + var value; + + for (var i = 0; i < length; i++) { + value = list[i]; + if (predicate.call(thisArg, value, i, list)) { + return value; + } + } + return undefined; + } + }); +} + +if (!Array.prototype.findIndex) { + Object.defineProperty(Array.prototype, 'findIndex', { + configurable: true, + writable: true, + enumerable: false, + value: function(predicate) { + if (this === null) { + throw new TypeError('Array.prototype.findIndex called on null or undefined'); + } + if (typeof predicate !== 'function') { + throw new TypeError('predicate must be a function'); + } + var list = Object(this); + var length = list.length >>> 0; + var thisArg = arguments[1]; + var value; + + for (var i = 0; i < length; i++) { + value = list[i]; + if (predicate.call(thisArg, value, i, list)) { + return i; + } + } + return -1; + } + }); +} + +} // endif FEATURE_NO_ES2015 + +if (typeof FEATURE_NO_ES2016 === 'undefined' && !Array.prototype.includes) { + Object.defineProperty(Array.prototype, 'includes', { + configurable: true, + writable: true, + enumerable: false, + value: function(searchElement /*, fromIndex*/ ) { + var O = Object(this); + var len = parseInt(O.length) || 0; + if (len === 0) { + return false; + } + var n = parseInt(arguments[1]) || 0; + var k; + if (n >= 0) { + k = n; + } else { + k = len + n; + if (k < 0) {k = 0;} + } + var currentElement; + while (k < len) { + currentElement = O[k]; + if (searchElement === currentElement || + (searchElement !== searchElement && currentElement !== currentElement)) { // NaN !== NaN + return true; + } + k++; + } + return false; + } + }); +} + +if (typeof FEATURE_NO_ES2015 === 'undefined') { + +(function() { + let needsFix = false; + + //ES5 did not accept primitives, but ES6 does + try { + let s = Object.keys('a'); + needsFix = (s.length !== 1 || s[0] !== '0'); + } catch(e) { + needsFix = true; + } + + if (needsFix) { + Object.keys = (function() { + var hasOwnProperty = Object.prototype.hasOwnProperty, + hasDontEnumBug = !({ toString: null }).propertyIsEnumerable('toString'), + dontEnums = [ + 'toString', + 'toLocaleString', + 'valueOf', + 'hasOwnProperty', + 'isPrototypeOf', + 'propertyIsEnumerable', + 'constructor' + ], + dontEnumsLength = dontEnums.length; + + return function(obj) { + if (obj === undefined || obj === null){ + throw TypeError(`Cannot convert undefined or null to object`); + } + + obj = Object(obj); + + var result = [], prop, i; + + for (prop in obj) { + if (hasOwnProperty.call(obj, prop)) { + result.push(prop); + } + } + + if (hasDontEnumBug) { + for (i = 0; i < dontEnumsLength; i++) { + if (hasOwnProperty.call(obj, dontEnums[i])) { + result.push(dontEnums[i]); + } + } + } + + return result; + }; + }()); + } +}()); + +(function (O) { + if ('assign' in O) { + return; + } + + O.defineProperty(O, 'assign', { + configurable: true, + writable: true, + value: (function() { + var gOPS = O.getOwnPropertySymbols, + // shortcut without explicitly passing through prototype + pIE = O.propertyIsEnumerable, + filterOS = gOPS ? + function (self) { + return gOPS(self).filter(pIE, self); + } : function () { + // just empty Array won't do much within a .concat(...) + return Array.prototype; + }; + + return function assign(where) { + // Object.create(null) and null objects in general + // might not be fully compatible with Symbols libraries + // it is important to know this, in case you assign Symbols + // to null object ... but it should NOT be a show-stopper + // if you know what you are doing ... so .... + if (gOPS && !(where instanceof O)) { + console.warn('problematic Symbols', where); + // ... now this script does its business !!! + } + // avoid JSHint "don't make function in loop" + function set(keyOrSymbol) { + where[keyOrSymbol] = arg[keyOrSymbol]; + } + // the loop + for (var i = 1, ii = arguments.length; i < ii; ++i) { + var arg = arguments[i]; + + if (arg === null || arg === undefined) { + continue; + } + + O.keys(arg).concat(filterOS(arg)).forEach(set); + } + + return where; + }; + }()) + }); +}(Object)); + +/** + * Object.is() polyfill + * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is + */ +if (!Object.is) { + Object.is = function(x, y) { + // SameValue algorithm + if (x === y) { // Steps 1-5, 7-10 + // Steps 6.b-6.e: +0 != -0 + return x !== 0 || 1 / x === 1 / y; + } else { + // Step 6.a: NaN == NaN + return x !== x && y !== y; + } + }; +} + +} // endif FEATURE_NO_ES2015 + +if (typeof FEATURE_NO_ES2015 === 'undefined') { + +(function (global) { + //shared pointer + var i; + //shortcuts + var defineProperty = Object.defineProperty, is = function(a,b) { return (a === b) || (a !== a && b !== b) }; + + //Polyfill global objects + if (typeof WeakMap == 'undefined') { + global.WeakMap = createCollection({ + // WeakMap#delete(key:void*):boolean + 'delete': sharedDelete, + // WeakMap#clear(): + clear: sharedClear, + // WeakMap#get(key:void*):void* + get: sharedGet, + // WeakMap#has(key:void*):boolean + has: mapHas, + // WeakMap#set(key:void*, value:void*):void + set: sharedSet + }, true); + } + + if (typeof Map == 'undefined' || typeof ((new Map).values) !== 'function' || !(new Map).values().next) { + global.Map = createCollection({ + // WeakMap#delete(key:void*):boolean + 'delete': sharedDelete, + //:was Map#get(key:void*[, d3fault:void*]):void* + // Map#has(key:void*):boolean + has: mapHas, + // Map#get(key:void*):boolean + get: sharedGet, + // Map#set(key:void*, value:void*):void + set: sharedSet, + // Map#keys(void):Iterator + keys: sharedKeys, + // Map#values(void):Iterator + values: sharedValues, + // Map#entries(void):Iterator + entries: mapEntries, + // Map#forEach(callback:Function, context:void*):void ==> callback.call(context, key, value, mapObject) === not in specs` + forEach: sharedForEach, + // Map#clear(): + clear: sharedClear, + //iterator + [Symbol.iterator]: mapEntries + }); + } + + if (typeof Set == 'undefined' || typeof ((new Set).values) !== 'function' || !(new Set).values().next) { + global.Set = createCollection({ + // Set#has(value:void*):boolean + has: setHas, + // Set#add(value:void*):boolean + add: sharedAdd, + // Set#delete(key:void*):boolean + 'delete': sharedDelete, + // Set#clear(): + clear: sharedClear, + // Set#keys(void):Iterator + keys: sharedValues, // specs actually say "the same function object as the initial value of the values property" + // Set#values(void):Iterator + values: sharedValues, + // Set#entries(void):Iterator + entries: setEntries, + // Set#forEach(callback:Function, context:void*):void ==> callback.call(context, value, index) === not in specs + forEach: sharedForEach, + //iterator + [Symbol.iterator]: sharedValues + }); + } + + if (typeof WeakSet == 'undefined') { + global.WeakSet = createCollection({ + // WeakSet#delete(key:void*):boolean + 'delete': sharedDelete, + // WeakSet#add(value:void*):boolean + add: sharedAdd, + // WeakSet#clear(): + clear: sharedClear, + // WeakSet#has(value:void*):boolean + has: setHas + }, true); + } + + /** + * ES6 collection constructor + * @return {Function} a collection class + */ + function createCollection(proto, objectOnly){ + function Collection(a){ + if (!this || this.constructor !== Collection) return new Collection(a); + this._keys = []; + this._values = []; + this._itp = []; // iteration pointers + this.objectOnly = objectOnly; + + //parse initial iterable argument passed + if (a) init.call(this, a); + } + + //define size for non object-only collections + if (!objectOnly) { + defineProperty(proto, 'size', { + get: sharedSize + }); + } + + //set prototype + proto.constructor = Collection; + Collection.prototype = proto; + + return Collection; + } + + + /** parse initial iterable argument passed */ + function init(a){ + var i; + //init Set argument, like `[1,2,3,{}]` + if (this.add) + a.forEach(this.add, this); + //init Map argument like `[[1,2], [{}, 4]]` + else + a.forEach(function(a){this.set(a[0],a[1])}, this); + } + + + /** delete */ + function sharedDelete(key) { + if (this.has(key)) { + this._keys.splice(i, 1); + this._values.splice(i, 1); + // update iteration pointers + this._itp.forEach(function(p) { if (i < p[0]) p[0]--; }); + } + // Aurora here does it while Canary doesn't + return -1 < i; + }; + + function sharedGet(key) { + return this.has(key) ? this._values[i] : undefined; + } + + function has(list, key) { + if (this.objectOnly && key !== Object(key)) + throw new TypeError("Invalid value used as weak collection key"); + //NaN or 0 passed + if (key != key || key === 0) for (i = list.length; i-- && !is(list[i], key);){} + else i = list.indexOf(key); + return -1 < i; + } + + function setHas(value) { + return has.call(this, this._values, value); + } + + function mapHas(value) { + return has.call(this, this._keys, value); + } + + /** @chainable */ + function sharedSet(key, value) { + this.has(key) ? + this._values[i] = value + : + this._values[this._keys.push(key) - 1] = value + ; + return this; + } + + /** @chainable */ + function sharedAdd(value) { + if (!this.has(value)) this._values.push(value); + return this; + } + + function sharedClear() { + (this._keys || 0).length = + this._values.length = 0; + } + + /** keys, values, and iterate related methods */ + function sharedKeys() { + return sharedIterator(this._itp, this._keys); + } + + function sharedValues() { + return sharedIterator(this._itp, this._values); + } + + function mapEntries() { + return sharedIterator(this._itp, this._keys, this._values); + } + + function setEntries() { + return sharedIterator(this._itp, this._values, this._values); + } + + function sharedIterator(itp, array, array2) { + var p = [0], done = false; + itp.push(p); + return { + [Symbol.iterator]: function () { + return this; + }, + next: function() { + var v, k = p[0]; + if (!done && k < array.length) { + v = array2 ? [array[k], array2[k]]: array[k]; + p[0]++; + } else { + done = true; + itp.splice(itp.indexOf(p), 1); + } + return { done: done, value: v }; + } + }; + } + + function sharedSize() { + return this._values.length; + } + + function sharedForEach(callback, context) { + var it = this.entries(); + for (;;) { + var r = it.next(); + if (r.done) break; + callback.call(context, r.value[1], r.value[0], this); + } + } + +})(PLATFORM.global); + +} // endif (FEATURE_NO_ES2015) + +if (typeof FEATURE_NO_ES2015 === 'undefined') { + +const bind = Function.prototype.bind; + +if (typeof PLATFORM.global.Reflect === 'undefined') { + PLATFORM.global.Reflect = {}; +} + +if (typeof Reflect.defineProperty !== 'function') { + Reflect.defineProperty = function(target, propertyKey, descriptor) { + if (typeof target === 'object' ? target === null : typeof target !== 'function') { + throw new TypeError('Reflect.defineProperty called on non-object'); + } + try { + Object.defineProperty(target, propertyKey, descriptor); + return true; + } catch (e) { + return false; + } + }; +} + +if (typeof Reflect.construct !== 'function') { + Reflect.construct = function(Target, args) { + if (args) { + switch (args.length){ + case 0: return new Target(); + case 1: return new Target(args[0]); + case 2: return new Target(args[0], args[1]); + case 3: return new Target(args[0], args[1], args[2]); + case 4: return new Target(args[0], args[1], args[2], args[3]); + } + } + + var a = [null]; + a.push.apply(a, args); + return new (bind.apply(Target, a)); + }; +} + +if (typeof Reflect.ownKeys !== 'function') { + Reflect.ownKeys = function(o) { return (Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o))); } +} + +} // endif FEATURE_NO_ES2015 + +if (typeof FEATURE_NO_ESNEXT === 'undefined') { + +const emptyMetadata = Object.freeze({}); +const metadataContainerKey = '__metadata__'; + +if (typeof Reflect.getOwnMetadata !== 'function') { + Reflect.getOwnMetadata = function(metadataKey, target, targetKey) { + if (target.hasOwnProperty(metadataContainerKey)) { + return (target[metadataContainerKey][targetKey] || emptyMetadata)[metadataKey]; + } + }; +} + +if (typeof Reflect.defineMetadata !== 'function') { + Reflect.defineMetadata = function(metadataKey, metadataValue, target, targetKey) { + let metadataContainer = target.hasOwnProperty(metadataContainerKey) ? target[metadataContainerKey] : (target[metadataContainerKey] = {}); + let targetContainer = metadataContainer[targetKey] || (metadataContainer[targetKey] = {}); + targetContainer[metadataKey] = metadataValue; + }; +} + +if (typeof Reflect.metadata !== 'function') { + Reflect.metadata = function(metadataKey, metadataValue) { + return function(target, targetKey) { + Reflect.defineMetadata(metadataKey, metadataValue, target, targetKey); + }; + }; +} + +} // endif FEATURE_NO_ESNEXT diff --git a/dist/commonjs/aurelia-polyfills.js b/dist/commonjs/aurelia-polyfills.js new file mode 100644 index 0000000..0171cd9 --- /dev/null +++ b/dist/commonjs/aurelia-polyfills.js @@ -0,0 +1,849 @@ +'use strict'; + +var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + +var _aureliaPal = require('aurelia-pal'); + +if (typeof FEATURE_NO_ES2015 === 'undefined') { + + (function (Object, GOPS) { + 'use strict'; + + if (GOPS in Object) return; + + var setDescriptor, + G = _aureliaPal.PLATFORM.global, + id = 0, + random = '' + Math.random(), + prefix = '__\x01symbol:', + prefixLength = prefix.length, + internalSymbol = '__\x01symbol@@' + random, + DP = 'defineProperty', + DPies = 'defineProperties', + GOPN = 'getOwnPropertyNames', + GOPD = 'getOwnPropertyDescriptor', + PIE = 'propertyIsEnumerable', + gOPN = Object[GOPN], + gOPD = Object[GOPD], + create = Object.create, + keys = Object.keys, + defineProperty = Object[DP], + $defineProperties = Object[DPies], + descriptor = gOPD(Object, GOPN), + ObjectProto = Object.prototype, + hOP = ObjectProto.hasOwnProperty, + pIE = ObjectProto[PIE], + toString = ObjectProto.toString, + indexOf = Array.prototype.indexOf || function (v) { + for (var i = this.length; i-- && this[i] !== v;) {} + return i; + }, + addInternalIfNeeded = function addInternalIfNeeded(o, uid, enumerable) { + if (!hOP.call(o, internalSymbol)) { + defineProperty(o, internalSymbol, { + enumerable: false, + configurable: false, + writable: false, + value: {} + }); + } + o[internalSymbol]['@@' + uid] = enumerable; + }, + createWithSymbols = function createWithSymbols(proto, descriptors) { + var self = create(proto); + if (descriptors !== null && (typeof descriptors === 'undefined' ? 'undefined' : _typeof(descriptors)) === 'object') { + gOPN(descriptors).forEach(function (key) { + if (propertyIsEnumerable.call(descriptors, key)) { + $defineProperty(self, key, descriptors[key]); + } + }); + } + return self; + }, + copyAsNonEnumerable = function copyAsNonEnumerable(descriptor) { + var newDescriptor = create(descriptor); + newDescriptor.enumerable = false; + return newDescriptor; + }, + get = function get() {}, + onlyNonSymbols = function onlyNonSymbols(name) { + return name != internalSymbol && !hOP.call(source, name); + }, + onlySymbols = function onlySymbols(name) { + return name != internalSymbol && hOP.call(source, name); + }, + propertyIsEnumerable = function propertyIsEnumerable(key) { + var uid = '' + key; + return onlySymbols(uid) ? hOP.call(this, uid) && this[internalSymbol] && this[internalSymbol]['@@' + uid] : pIE.call(this, key); + }, + setAndGetSymbol = function setAndGetSymbol(uid) { + var descriptor = { + enumerable: false, + configurable: true, + get: get, + set: function set(value) { + setDescriptor(this, uid, { + enumerable: false, + configurable: true, + writable: true, + value: value + }); + addInternalIfNeeded(this, uid, true); + } + }; + defineProperty(ObjectProto, uid, descriptor); + return source[uid] = defineProperty(Object(uid), 'constructor', sourceConstructor); + }, + _Symbol = function _Symbol2(description) { + if (this && this !== G) { + throw new TypeError('Symbol is not a constructor'); + } + return setAndGetSymbol(prefix.concat(description || '', random, ++id)); + }, + source = create(null), + sourceConstructor = { value: _Symbol }, + sourceMap = function sourceMap(uid) { + return source[uid]; + }, + $defineProperty = function defineProp(o, key, descriptor) { + var uid = '' + key; + if (onlySymbols(uid)) { + setDescriptor(o, uid, descriptor.enumerable ? copyAsNonEnumerable(descriptor) : descriptor); + addInternalIfNeeded(o, uid, !!descriptor.enumerable); + } else { + defineProperty(o, key, descriptor); + } + return o; + }, + $getOwnPropertySymbols = function getOwnPropertySymbols(o) { + var cof = toString.call(o); + o = cof === '[object String]' ? o.split('') : Object(o); + return gOPN(o).filter(onlySymbols).map(sourceMap); + }; + + descriptor.value = $defineProperty; + defineProperty(Object, DP, descriptor); + + descriptor.value = $getOwnPropertySymbols; + defineProperty(Object, GOPS, descriptor); + + var cachedWindowNames = (typeof window === 'undefined' ? 'undefined' : _typeof(window)) === 'object' ? Object.getOwnPropertyNames(window) : []; + var originalObjectGetOwnPropertyNames = Object.getOwnPropertyNames; + descriptor.value = function getOwnPropertyNames(o) { + if (toString.call(o) === '[object Window]') { + try { + return originalObjectGetOwnPropertyNames(o); + } catch (e) { + return [].concat([], cachedWindowNames); + } + } + return gOPN(o).filter(onlyNonSymbols); + }; + defineProperty(Object, GOPN, descriptor); + + descriptor.value = function defineProperties(o, descriptors) { + var symbols = $getOwnPropertySymbols(descriptors); + if (symbols.length) { + keys(descriptors).concat(symbols).forEach(function (uid) { + if (propertyIsEnumerable.call(descriptors, uid)) { + $defineProperty(o, uid, descriptors[uid]); + } + }); + } else { + $defineProperties(o, descriptors); + } + return o; + }; + defineProperty(Object, DPies, descriptor); + + descriptor.value = propertyIsEnumerable; + defineProperty(ObjectProto, PIE, descriptor); + + descriptor.value = _Symbol; + defineProperty(G, 'Symbol', descriptor); + + descriptor.value = function (key) { + var uid = prefix.concat(prefix, key, random); + return uid in ObjectProto ? source[uid] : setAndGetSymbol(uid); + }; + defineProperty(_Symbol, 'for', descriptor); + + descriptor.value = function (symbol) { + return hOP.call(source, symbol) ? symbol.slice(prefixLength * 2, -random.length) : void 0; + }; + defineProperty(_Symbol, 'keyFor', descriptor); + + descriptor.value = function getOwnPropertyDescriptor(o, key) { + var descriptor = gOPD(o, key); + if (descriptor && onlySymbols(key)) { + descriptor.enumerable = propertyIsEnumerable.call(o, key); + } + return descriptor; + }; + defineProperty(Object, GOPD, descriptor); + + descriptor.value = function (proto, descriptors) { + return arguments.length === 1 ? create(proto) : createWithSymbols(proto, descriptors); + }; + defineProperty(Object, 'create', descriptor); + + descriptor.value = function () { + var str = toString.call(this); + return str === '[object String]' && onlySymbols(this) ? '[object Symbol]' : str; + }; + defineProperty(ObjectProto, 'toString', descriptor); + + try { + setDescriptor = create(defineProperty({}, prefix, { + get: function get() { + return defineProperty(this, prefix, { value: false })[prefix]; + } + }))[prefix] || defineProperty; + } catch (o_O) { + setDescriptor = function setDescriptor(o, key, descriptor) { + var protoDescriptor = gOPD(ObjectProto, key); + delete ObjectProto[key]; + defineProperty(o, key, descriptor); + defineProperty(ObjectProto, key, protoDescriptor); + }; + } + })(Object, 'getOwnPropertySymbols'); + + (function (O, S) { + var dP = O.defineProperty, + ObjectProto = O.prototype, + toString = ObjectProto.toString, + toStringTag = 'toStringTag', + descriptor; + ['iterator', 'match', 'replace', 'search', 'split', 'hasInstance', 'isConcatSpreadable', 'unscopables', 'species', 'toPrimitive', toStringTag].forEach(function (name) { + if (!(name in Symbol)) { + dP(Symbol, name, { value: Symbol(name) }); + switch (name) { + case toStringTag: + descriptor = O.getOwnPropertyDescriptor(ObjectProto, 'toString'); + descriptor.value = function () { + var str = toString.call(this), + tst = typeof this === 'undefined' || this === null ? undefined : this[Symbol.toStringTag]; + return typeof tst === 'undefined' ? str : '[object ' + tst + ']'; + }; + dP(ObjectProto, 'toString', descriptor); + break; + } + } + }); + })(Object, Symbol); + + (function (Si, AP, SP) { + + function returnThis() { + return this; + } + + if (!AP[Si]) AP[Si] = function () { + var i = 0, + self = this, + iterator = { + next: function next() { + var done = self.length <= i; + return done ? { done: done } : { done: done, value: self[i++] }; + } + }; + iterator[Si] = returnThis; + return iterator; + }; + + if (!SP[Si]) SP[Si] = function () { + var fromCodePoint = String.fromCodePoint, + self = this, + i = 0, + length = self.length, + iterator = { + next: function next() { + var done = length <= i, + c = done ? '' : fromCodePoint(self.codePointAt(i)); + i += c.length; + return done ? { done: done } : { done: done, value: c }; + } + }; + iterator[Si] = returnThis; + return iterator; + }; + })(Symbol.iterator, Array.prototype, String.prototype); +} + +if (typeof FEATURE_NO_ES2015 === 'undefined') { + + Number.isNaN = Number.isNaN || function (value) { + return value !== value; + }; + + Number.isFinite = Number.isFinite || function (value) { + return typeof value === "number" && isFinite(value); + }; +} + +if (!String.prototype.endsWith || function () { + try { + return !"ab".endsWith("a", 1); + } catch (e) { + return true; + } +}()) { + String.prototype.endsWith = function (searchString, position) { + var subjectString = this.toString(); + if (typeof position !== 'number' || !isFinite(position) || Math.floor(position) !== position || position > subjectString.length) { + position = subjectString.length; + } + position -= searchString.length; + var lastIndex = subjectString.indexOf(searchString, position); + return lastIndex !== -1 && lastIndex === position; + }; +} + +if (!String.prototype.startsWith || function () { + try { + return !"ab".startsWith("b", 1); + } catch (e) { + return true; + } +}()) { + String.prototype.startsWith = function (searchString, position) { + position = position || 0; + return this.substr(position, searchString.length) === searchString; + }; +} + +if (typeof FEATURE_NO_ES2015 === 'undefined') { + + if (!Array.from) { + Array.from = function () { + var toInteger = function toInteger(it) { + return isNaN(it = +it) ? 0 : (it > 0 ? Math.floor : Math.ceil)(it); + }; + var toLength = function toLength(it) { + return it > 0 ? Math.min(toInteger(it), 0x1fffffffffffff) : 0; + }; + var iterCall = function iterCall(iter, fn, val, index) { + try { + return fn(val, index); + } catch (E) { + if (typeof iter.return == 'function') iter.return(); + throw E; + } + }; + + return function from(arrayLike) { + var O = Object(arrayLike), + C = typeof this == 'function' ? this : Array, + aLen = arguments.length, + mapfn = aLen > 1 ? arguments[1] : undefined, + mapping = mapfn !== undefined, + index = 0, + iterFn = O[Symbol.iterator], + length, + result, + step, + iterator; + if (mapping) mapfn = mapfn.bind(aLen > 2 ? arguments[2] : undefined); + if (iterFn != undefined && !Array.isArray(arrayLike)) { + for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) { + result[index] = mapping ? iterCall(iterator, mapfn, step.value, index) : step.value; + } + } else { + length = toLength(O.length); + for (result = new C(length); length > index; index++) { + result[index] = mapping ? mapfn(O[index], index) : O[index]; + } + } + result.length = index; + return result; + }; + }(); + } + + if (!Array.prototype.find) { + Object.defineProperty(Array.prototype, 'find', { + configurable: true, + writable: true, + enumerable: false, + value: function value(predicate) { + if (this === null) { + throw new TypeError('Array.prototype.find called on null or undefined'); + } + if (typeof predicate !== 'function') { + throw new TypeError('predicate must be a function'); + } + var list = Object(this); + var length = list.length >>> 0; + var thisArg = arguments[1]; + var value; + + for (var i = 0; i < length; i++) { + value = list[i]; + if (predicate.call(thisArg, value, i, list)) { + return value; + } + } + return undefined; + } + }); + } + + if (!Array.prototype.findIndex) { + Object.defineProperty(Array.prototype, 'findIndex', { + configurable: true, + writable: true, + enumerable: false, + value: function value(predicate) { + if (this === null) { + throw new TypeError('Array.prototype.findIndex called on null or undefined'); + } + if (typeof predicate !== 'function') { + throw new TypeError('predicate must be a function'); + } + var list = Object(this); + var length = list.length >>> 0; + var thisArg = arguments[1]; + var value; + + for (var i = 0; i < length; i++) { + value = list[i]; + if (predicate.call(thisArg, value, i, list)) { + return i; + } + } + return -1; + } + }); + } +} + +if (typeof FEATURE_NO_ES2016 === 'undefined' && !Array.prototype.includes) { + Object.defineProperty(Array.prototype, 'includes', { + configurable: true, + writable: true, + enumerable: false, + value: function value(searchElement) { + var O = Object(this); + var len = parseInt(O.length) || 0; + if (len === 0) { + return false; + } + var n = parseInt(arguments[1]) || 0; + var k; + if (n >= 0) { + k = n; + } else { + k = len + n; + if (k < 0) { + k = 0; + } + } + var currentElement; + while (k < len) { + currentElement = O[k]; + if (searchElement === currentElement || searchElement !== searchElement && currentElement !== currentElement) { + return true; + } + k++; + } + return false; + } + }); +} + +if (typeof FEATURE_NO_ES2015 === 'undefined') { + + (function () { + var needsFix = false; + + try { + var s = Object.keys('a'); + needsFix = s.length !== 1 || s[0] !== '0'; + } catch (e) { + needsFix = true; + } + + if (needsFix) { + Object.keys = function () { + var hasOwnProperty = Object.prototype.hasOwnProperty, + hasDontEnumBug = !{ toString: null }.propertyIsEnumerable('toString'), + dontEnums = ['toString', 'toLocaleString', 'valueOf', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'constructor'], + dontEnumsLength = dontEnums.length; + + return function (obj) { + if (obj === undefined || obj === null) { + throw TypeError('Cannot convert undefined or null to object'); + } + + obj = Object(obj); + + var result = [], + prop, + i; + + for (prop in obj) { + if (hasOwnProperty.call(obj, prop)) { + result.push(prop); + } + } + + if (hasDontEnumBug) { + for (i = 0; i < dontEnumsLength; i++) { + if (hasOwnProperty.call(obj, dontEnums[i])) { + result.push(dontEnums[i]); + } + } + } + + return result; + }; + }(); + } + })(); + + (function (O) { + if ('assign' in O) { + return; + } + + O.defineProperty(O, 'assign', { + configurable: true, + writable: true, + value: function () { + var gOPS = O.getOwnPropertySymbols, + pIE = O.propertyIsEnumerable, + filterOS = gOPS ? function (self) { + return gOPS(self).filter(pIE, self); + } : function () { + return Array.prototype; + }; + + return function assign(where) { + if (gOPS && !(where instanceof O)) { + console.warn('problematic Symbols', where); + } + + function set(keyOrSymbol) { + where[keyOrSymbol] = arg[keyOrSymbol]; + } + + for (var i = 1, ii = arguments.length; i < ii; ++i) { + var arg = arguments[i]; + + if (arg === null || arg === undefined) { + continue; + } + + O.keys(arg).concat(filterOS(arg)).forEach(set); + } + + return where; + }; + }() + }); + })(Object); + + if (!Object.is) { + Object.is = function (x, y) { + if (x === y) { + return x !== 0 || 1 / x === 1 / y; + } else { + return x !== x && y !== y; + } + }; + } +} + +if (typeof FEATURE_NO_ES2015 === 'undefined') { + + (function (global) { + var i; + + var defineProperty = Object.defineProperty, + is = function is(a, b) { + return a === b || a !== a && b !== b; + }; + + if (typeof WeakMap == 'undefined') { + global.WeakMap = createCollection({ + 'delete': sharedDelete, + + clear: sharedClear, + + get: sharedGet, + + has: mapHas, + + set: sharedSet + }, true); + } + + if (typeof Map == 'undefined' || typeof new Map().values !== 'function' || !new Map().values().next) { + var _createCollection; + + global.Map = createCollection((_createCollection = { + 'delete': sharedDelete, + + has: mapHas, + + get: sharedGet, + + set: sharedSet, + + keys: sharedKeys, + + values: sharedValues, + + entries: mapEntries, + + forEach: sharedForEach, + + clear: sharedClear + }, _createCollection[Symbol.iterator] = mapEntries, _createCollection)); + } + + if (typeof Set == 'undefined' || typeof new Set().values !== 'function' || !new Set().values().next) { + var _createCollection2; + + global.Set = createCollection((_createCollection2 = { + has: setHas, + + add: sharedAdd, + + 'delete': sharedDelete, + + clear: sharedClear, + + keys: sharedValues, + values: sharedValues, + + entries: setEntries, + + forEach: sharedForEach + }, _createCollection2[Symbol.iterator] = sharedValues, _createCollection2)); + } + + if (typeof WeakSet == 'undefined') { + global.WeakSet = createCollection({ + 'delete': sharedDelete, + + add: sharedAdd, + + clear: sharedClear, + + has: setHas + }, true); + } + + function createCollection(proto, objectOnly) { + function Collection(a) { + if (!this || this.constructor !== Collection) return new Collection(a); + this._keys = []; + this._values = []; + this._itp = []; + this.objectOnly = objectOnly; + + if (a) init.call(this, a); + } + + if (!objectOnly) { + defineProperty(proto, 'size', { + get: sharedSize + }); + } + + proto.constructor = Collection; + Collection.prototype = proto; + + return Collection; + } + + function init(a) { + var i; + + if (this.add) a.forEach(this.add, this);else a.forEach(function (a) { + this.set(a[0], a[1]); + }, this); + } + + function sharedDelete(key) { + if (this.has(key)) { + this._keys.splice(i, 1); + this._values.splice(i, 1); + + this._itp.forEach(function (p) { + if (i < p[0]) p[0]--; + }); + } + + return -1 < i; + }; + + function sharedGet(key) { + return this.has(key) ? this._values[i] : undefined; + } + + function has(list, key) { + if (this.objectOnly && key !== Object(key)) throw new TypeError("Invalid value used as weak collection key"); + + if (key != key || key === 0) for (i = list.length; i-- && !is(list[i], key);) {} else i = list.indexOf(key); + return -1 < i; + } + + function setHas(value) { + return has.call(this, this._values, value); + } + + function mapHas(value) { + return has.call(this, this._keys, value); + } + + function sharedSet(key, value) { + this.has(key) ? this._values[i] = value : this._values[this._keys.push(key) - 1] = value; + return this; + } + + function sharedAdd(value) { + if (!this.has(value)) this._values.push(value); + return this; + } + + function sharedClear() { + (this._keys || 0).length = this._values.length = 0; + } + + function sharedKeys() { + return sharedIterator(this._itp, this._keys); + } + + function sharedValues() { + return sharedIterator(this._itp, this._values); + } + + function mapEntries() { + return sharedIterator(this._itp, this._keys, this._values); + } + + function setEntries() { + return sharedIterator(this._itp, this._values, this._values); + } + + function sharedIterator(itp, array, array2) { + var _ref; + + var p = [0], + done = false; + itp.push(p); + return _ref = {}, _ref[Symbol.iterator] = function () { + return this; + }, _ref.next = function next() { + var v, + k = p[0]; + if (!done && k < array.length) { + v = array2 ? [array[k], array2[k]] : array[k]; + p[0]++; + } else { + done = true; + itp.splice(itp.indexOf(p), 1); + } + return { done: done, value: v }; + }, _ref; + } + + function sharedSize() { + return this._values.length; + } + + function sharedForEach(callback, context) { + var it = this.entries(); + for (;;) { + var r = it.next(); + if (r.done) break; + callback.call(context, r.value[1], r.value[0], this); + } + } + })(_aureliaPal.PLATFORM.global); +} + +if (typeof FEATURE_NO_ES2015 === 'undefined') { + + var bind = Function.prototype.bind; + + if (typeof _aureliaPal.PLATFORM.global.Reflect === 'undefined') { + _aureliaPal.PLATFORM.global.Reflect = {}; + } + + if (typeof Reflect.defineProperty !== 'function') { + Reflect.defineProperty = function (target, propertyKey, descriptor) { + if ((typeof target === 'undefined' ? 'undefined' : _typeof(target)) === 'object' ? target === null : typeof target !== 'function') { + throw new TypeError('Reflect.defineProperty called on non-object'); + } + try { + Object.defineProperty(target, propertyKey, descriptor); + return true; + } catch (e) { + return false; + } + }; + } + + if (typeof Reflect.construct !== 'function') { + Reflect.construct = function (Target, args) { + if (args) { + switch (args.length) { + case 0: + return new Target(); + case 1: + return new Target(args[0]); + case 2: + return new Target(args[0], args[1]); + case 3: + return new Target(args[0], args[1], args[2]); + case 4: + return new Target(args[0], args[1], args[2], args[3]); + } + } + + var a = [null]; + a.push.apply(a, args); + return new (bind.apply(Target, a))(); + }; + } + + if (typeof Reflect.ownKeys !== 'function') { + Reflect.ownKeys = function (o) { + return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o)); + }; + } +} + +if (typeof FEATURE_NO_ESNEXT === 'undefined') { + + var emptyMetadata = Object.freeze({}); + var metadataContainerKey = '__metadata__'; + + if (typeof Reflect.getOwnMetadata !== 'function') { + Reflect.getOwnMetadata = function (metadataKey, target, targetKey) { + if (target.hasOwnProperty(metadataContainerKey)) { + return (target[metadataContainerKey][targetKey] || emptyMetadata)[metadataKey]; + } + }; + } + + if (typeof Reflect.defineMetadata !== 'function') { + Reflect.defineMetadata = function (metadataKey, metadataValue, target, targetKey) { + var metadataContainer = target.hasOwnProperty(metadataContainerKey) ? target[metadataContainerKey] : target[metadataContainerKey] = {}; + var targetContainer = metadataContainer[targetKey] || (metadataContainer[targetKey] = {}); + targetContainer[metadataKey] = metadataValue; + }; + } + + if (typeof Reflect.metadata !== 'function') { + Reflect.metadata = function (metadataKey, metadataValue) { + return function (target, targetKey) { + Reflect.defineMetadata(metadataKey, metadataValue, target, targetKey); + }; + }; + } +} \ No newline at end of file diff --git a/dist/commonjs/index.js b/dist/commonjs/index.js new file mode 100644 index 0000000..11c3ea6 --- /dev/null +++ b/dist/commonjs/index.js @@ -0,0 +1,17 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _aureliaPolyfills = require('./aurelia-polyfills'); + +Object.keys(_aureliaPolyfills).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _aureliaPolyfills[key]; + } + }); +}); \ No newline at end of file diff --git a/dist/es2015/aurelia-polyfills.js b/dist/es2015/aurelia-polyfills.js new file mode 100644 index 0000000..3440ea8 --- /dev/null +++ b/dist/es2015/aurelia-polyfills.js @@ -0,0 +1,846 @@ +import { PLATFORM } from 'aurelia-pal'; + +if (typeof FEATURE_NO_ES2015 === 'undefined') { + + (function (Object, GOPS) { + 'use strict'; + + if (GOPS in Object) return; + + var setDescriptor, + G = PLATFORM.global, + id = 0, + random = '' + Math.random(), + prefix = '__\x01symbol:', + prefixLength = prefix.length, + internalSymbol = '__\x01symbol@@' + random, + DP = 'defineProperty', + DPies = 'defineProperties', + GOPN = 'getOwnPropertyNames', + GOPD = 'getOwnPropertyDescriptor', + PIE = 'propertyIsEnumerable', + gOPN = Object[GOPN], + gOPD = Object[GOPD], + create = Object.create, + keys = Object.keys, + defineProperty = Object[DP], + $defineProperties = Object[DPies], + descriptor = gOPD(Object, GOPN), + ObjectProto = Object.prototype, + hOP = ObjectProto.hasOwnProperty, + pIE = ObjectProto[PIE], + toString = ObjectProto.toString, + indexOf = Array.prototype.indexOf || function (v) { + for (var i = this.length; i-- && this[i] !== v;) {} + return i; + }, + addInternalIfNeeded = function (o, uid, enumerable) { + if (!hOP.call(o, internalSymbol)) { + defineProperty(o, internalSymbol, { + enumerable: false, + configurable: false, + writable: false, + value: {} + }); + } + o[internalSymbol]['@@' + uid] = enumerable; + }, + createWithSymbols = function (proto, descriptors) { + var self = create(proto); + if (descriptors !== null && typeof descriptors === 'object') { + gOPN(descriptors).forEach(function (key) { + if (propertyIsEnumerable.call(descriptors, key)) { + $defineProperty(self, key, descriptors[key]); + } + }); + } + return self; + }, + copyAsNonEnumerable = function (descriptor) { + var newDescriptor = create(descriptor); + newDescriptor.enumerable = false; + return newDescriptor; + }, + get = function get() {}, + onlyNonSymbols = function (name) { + return name != internalSymbol && !hOP.call(source, name); + }, + onlySymbols = function (name) { + return name != internalSymbol && hOP.call(source, name); + }, + propertyIsEnumerable = function propertyIsEnumerable(key) { + var uid = '' + key; + return onlySymbols(uid) ? hOP.call(this, uid) && this[internalSymbol] && this[internalSymbol]['@@' + uid] : pIE.call(this, key); + }, + setAndGetSymbol = function (uid) { + var descriptor = { + enumerable: false, + configurable: true, + get: get, + set: function (value) { + setDescriptor(this, uid, { + enumerable: false, + configurable: true, + writable: true, + value: value + }); + addInternalIfNeeded(this, uid, true); + } + }; + defineProperty(ObjectProto, uid, descriptor); + return source[uid] = defineProperty(Object(uid), 'constructor', sourceConstructor); + }, + Symbol = function Symbol(description) { + if (this && this !== G) { + throw new TypeError('Symbol is not a constructor'); + } + return setAndGetSymbol(prefix.concat(description || '', random, ++id)); + }, + source = create(null), + sourceConstructor = { value: Symbol }, + sourceMap = function (uid) { + return source[uid]; + }, + $defineProperty = function defineProp(o, key, descriptor) { + var uid = '' + key; + if (onlySymbols(uid)) { + setDescriptor(o, uid, descriptor.enumerable ? copyAsNonEnumerable(descriptor) : descriptor); + addInternalIfNeeded(o, uid, !!descriptor.enumerable); + } else { + defineProperty(o, key, descriptor); + } + return o; + }, + $getOwnPropertySymbols = function getOwnPropertySymbols(o) { + var cof = toString.call(o); + o = cof === '[object String]' ? o.split('') : Object(o); + return gOPN(o).filter(onlySymbols).map(sourceMap); + }; + + descriptor.value = $defineProperty; + defineProperty(Object, DP, descriptor); + + descriptor.value = $getOwnPropertySymbols; + defineProperty(Object, GOPS, descriptor); + + var cachedWindowNames = typeof window === 'object' ? Object.getOwnPropertyNames(window) : []; + var originalObjectGetOwnPropertyNames = Object.getOwnPropertyNames; + descriptor.value = function getOwnPropertyNames(o) { + if (toString.call(o) === '[object Window]') { + try { + return originalObjectGetOwnPropertyNames(o); + } catch (e) { + return [].concat([], cachedWindowNames); + } + } + return gOPN(o).filter(onlyNonSymbols); + }; + defineProperty(Object, GOPN, descriptor); + + descriptor.value = function defineProperties(o, descriptors) { + var symbols = $getOwnPropertySymbols(descriptors); + if (symbols.length) { + keys(descriptors).concat(symbols).forEach(function (uid) { + if (propertyIsEnumerable.call(descriptors, uid)) { + $defineProperty(o, uid, descriptors[uid]); + } + }); + } else { + $defineProperties(o, descriptors); + } + return o; + }; + defineProperty(Object, DPies, descriptor); + + descriptor.value = propertyIsEnumerable; + defineProperty(ObjectProto, PIE, descriptor); + + descriptor.value = Symbol; + defineProperty(G, 'Symbol', descriptor); + + descriptor.value = function (key) { + var uid = prefix.concat(prefix, key, random); + return uid in ObjectProto ? source[uid] : setAndGetSymbol(uid); + }; + defineProperty(Symbol, 'for', descriptor); + + descriptor.value = function (symbol) { + return hOP.call(source, symbol) ? symbol.slice(prefixLength * 2, -random.length) : void 0; + }; + defineProperty(Symbol, 'keyFor', descriptor); + + descriptor.value = function getOwnPropertyDescriptor(o, key) { + var descriptor = gOPD(o, key); + if (descriptor && onlySymbols(key)) { + descriptor.enumerable = propertyIsEnumerable.call(o, key); + } + return descriptor; + }; + defineProperty(Object, GOPD, descriptor); + + descriptor.value = function (proto, descriptors) { + return arguments.length === 1 ? create(proto) : createWithSymbols(proto, descriptors); + }; + defineProperty(Object, 'create', descriptor); + + descriptor.value = function () { + var str = toString.call(this); + return str === '[object String]' && onlySymbols(this) ? '[object Symbol]' : str; + }; + defineProperty(ObjectProto, 'toString', descriptor); + + try { + setDescriptor = create(defineProperty({}, prefix, { + get: function () { + return defineProperty(this, prefix, { value: false })[prefix]; + } + }))[prefix] || defineProperty; + } catch (o_O) { + setDescriptor = function (o, key, descriptor) { + var protoDescriptor = gOPD(ObjectProto, key); + delete ObjectProto[key]; + defineProperty(o, key, descriptor); + defineProperty(ObjectProto, key, protoDescriptor); + }; + } + })(Object, 'getOwnPropertySymbols'); + + (function (O, S) { + var dP = O.defineProperty, + ObjectProto = O.prototype, + toString = ObjectProto.toString, + toStringTag = 'toStringTag', + descriptor; + ['iterator', 'match', 'replace', 'search', 'split', 'hasInstance', 'isConcatSpreadable', 'unscopables', 'species', 'toPrimitive', toStringTag].forEach(function (name) { + if (!(name in Symbol)) { + dP(Symbol, name, { value: Symbol(name) }); + switch (name) { + case toStringTag: + descriptor = O.getOwnPropertyDescriptor(ObjectProto, 'toString'); + descriptor.value = function () { + var str = toString.call(this), + tst = typeof this === 'undefined' || this === null ? undefined : this[Symbol.toStringTag]; + return typeof tst === 'undefined' ? str : '[object ' + tst + ']'; + }; + dP(ObjectProto, 'toString', descriptor); + break; + } + } + }); + })(Object, Symbol); + + (function (Si, AP, SP) { + + function returnThis() { + return this; + } + + if (!AP[Si]) AP[Si] = function () { + var i = 0, + self = this, + iterator = { + next: function next() { + var done = self.length <= i; + return done ? { done: done } : { done: done, value: self[i++] }; + } + }; + iterator[Si] = returnThis; + return iterator; + }; + + if (!SP[Si]) SP[Si] = function () { + var fromCodePoint = String.fromCodePoint, + self = this, + i = 0, + length = self.length, + iterator = { + next: function next() { + var done = length <= i, + c = done ? '' : fromCodePoint(self.codePointAt(i)); + i += c.length; + return done ? { done: done } : { done: done, value: c }; + } + }; + iterator[Si] = returnThis; + return iterator; + }; + })(Symbol.iterator, Array.prototype, String.prototype); +} + +if (typeof FEATURE_NO_ES2015 === 'undefined') { + + Number.isNaN = Number.isNaN || function (value) { + return value !== value; + }; + + Number.isFinite = Number.isFinite || function (value) { + return typeof value === "number" && isFinite(value); + }; +} + +if (!String.prototype.endsWith || function () { + try { + return !"ab".endsWith("a", 1); + } catch (e) { + return true; + } +}()) { + String.prototype.endsWith = function (searchString, position) { + let subjectString = this.toString(); + if (typeof position !== 'number' || !isFinite(position) || Math.floor(position) !== position || position > subjectString.length) { + position = subjectString.length; + } + position -= searchString.length; + let lastIndex = subjectString.indexOf(searchString, position); + return lastIndex !== -1 && lastIndex === position; + }; +} + +if (!String.prototype.startsWith || function () { + try { + return !"ab".startsWith("b", 1); + } catch (e) { + return true; + } +}()) { + String.prototype.startsWith = function (searchString, position) { + position = position || 0; + return this.substr(position, searchString.length) === searchString; + }; +} + +if (typeof FEATURE_NO_ES2015 === 'undefined') { + + if (!Array.from) { + Array.from = function () { + var toInteger = function (it) { + return isNaN(it = +it) ? 0 : (it > 0 ? Math.floor : Math.ceil)(it); + }; + var toLength = function (it) { + return it > 0 ? Math.min(toInteger(it), 0x1fffffffffffff) : 0; + }; + var iterCall = function (iter, fn, val, index) { + try { + return fn(val, index); + } catch (E) { + if (typeof iter.return == 'function') iter.return(); + throw E; + } + }; + + return function from(arrayLike) { + var O = Object(arrayLike), + C = typeof this == 'function' ? this : Array, + aLen = arguments.length, + mapfn = aLen > 1 ? arguments[1] : undefined, + mapping = mapfn !== undefined, + index = 0, + iterFn = O[Symbol.iterator], + length, + result, + step, + iterator; + if (mapping) mapfn = mapfn.bind(aLen > 2 ? arguments[2] : undefined); + if (iterFn != undefined && !Array.isArray(arrayLike)) { + for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) { + result[index] = mapping ? iterCall(iterator, mapfn, step.value, index) : step.value; + } + } else { + length = toLength(O.length); + for (result = new C(length); length > index; index++) { + result[index] = mapping ? mapfn(O[index], index) : O[index]; + } + } + result.length = index; + return result; + }; + }(); + } + + if (!Array.prototype.find) { + Object.defineProperty(Array.prototype, 'find', { + configurable: true, + writable: true, + enumerable: false, + value: function (predicate) { + if (this === null) { + throw new TypeError('Array.prototype.find called on null or undefined'); + } + if (typeof predicate !== 'function') { + throw new TypeError('predicate must be a function'); + } + var list = Object(this); + var length = list.length >>> 0; + var thisArg = arguments[1]; + var value; + + for (var i = 0; i < length; i++) { + value = list[i]; + if (predicate.call(thisArg, value, i, list)) { + return value; + } + } + return undefined; + } + }); + } + + if (!Array.prototype.findIndex) { + Object.defineProperty(Array.prototype, 'findIndex', { + configurable: true, + writable: true, + enumerable: false, + value: function (predicate) { + if (this === null) { + throw new TypeError('Array.prototype.findIndex called on null or undefined'); + } + if (typeof predicate !== 'function') { + throw new TypeError('predicate must be a function'); + } + var list = Object(this); + var length = list.length >>> 0; + var thisArg = arguments[1]; + var value; + + for (var i = 0; i < length; i++) { + value = list[i]; + if (predicate.call(thisArg, value, i, list)) { + return i; + } + } + return -1; + } + }); + } +} + +if (typeof FEATURE_NO_ES2016 === 'undefined' && !Array.prototype.includes) { + Object.defineProperty(Array.prototype, 'includes', { + configurable: true, + writable: true, + enumerable: false, + value: function (searchElement) { + var O = Object(this); + var len = parseInt(O.length) || 0; + if (len === 0) { + return false; + } + var n = parseInt(arguments[1]) || 0; + var k; + if (n >= 0) { + k = n; + } else { + k = len + n; + if (k < 0) { + k = 0; + } + } + var currentElement; + while (k < len) { + currentElement = O[k]; + if (searchElement === currentElement || searchElement !== searchElement && currentElement !== currentElement) { + return true; + } + k++; + } + return false; + } + }); +} + +if (typeof FEATURE_NO_ES2015 === 'undefined') { + + (function () { + let needsFix = false; + + try { + let s = Object.keys('a'); + needsFix = s.length !== 1 || s[0] !== '0'; + } catch (e) { + needsFix = true; + } + + if (needsFix) { + Object.keys = function () { + var hasOwnProperty = Object.prototype.hasOwnProperty, + hasDontEnumBug = !{ toString: null }.propertyIsEnumerable('toString'), + dontEnums = ['toString', 'toLocaleString', 'valueOf', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'constructor'], + dontEnumsLength = dontEnums.length; + + return function (obj) { + if (obj === undefined || obj === null) { + throw TypeError(`Cannot convert undefined or null to object`); + } + + obj = Object(obj); + + var result = [], + prop, + i; + + for (prop in obj) { + if (hasOwnProperty.call(obj, prop)) { + result.push(prop); + } + } + + if (hasDontEnumBug) { + for (i = 0; i < dontEnumsLength; i++) { + if (hasOwnProperty.call(obj, dontEnums[i])) { + result.push(dontEnums[i]); + } + } + } + + return result; + }; + }(); + } + })(); + + (function (O) { + if ('assign' in O) { + return; + } + + O.defineProperty(O, 'assign', { + configurable: true, + writable: true, + value: function () { + var gOPS = O.getOwnPropertySymbols, + pIE = O.propertyIsEnumerable, + filterOS = gOPS ? function (self) { + return gOPS(self).filter(pIE, self); + } : function () { + return Array.prototype; + }; + + return function assign(where) { + if (gOPS && !(where instanceof O)) { + console.warn('problematic Symbols', where); + } + + function set(keyOrSymbol) { + where[keyOrSymbol] = arg[keyOrSymbol]; + } + + for (var i = 1, ii = arguments.length; i < ii; ++i) { + var arg = arguments[i]; + + if (arg === null || arg === undefined) { + continue; + } + + O.keys(arg).concat(filterOS(arg)).forEach(set); + } + + return where; + }; + }() + }); + })(Object); + + if (!Object.is) { + Object.is = function (x, y) { + if (x === y) { + return x !== 0 || 1 / x === 1 / y; + } else { + return x !== x && y !== y; + } + }; + } +} + +if (typeof FEATURE_NO_ES2015 === 'undefined') { + + (function (global) { + var i; + + var defineProperty = Object.defineProperty, + is = function (a, b) { + return a === b || a !== a && b !== b; + }; + + if (typeof WeakMap == 'undefined') { + global.WeakMap = createCollection({ + 'delete': sharedDelete, + + clear: sharedClear, + + get: sharedGet, + + has: mapHas, + + set: sharedSet + }, true); + } + + if (typeof Map == 'undefined' || typeof new Map().values !== 'function' || !new Map().values().next) { + global.Map = createCollection({ + 'delete': sharedDelete, + + has: mapHas, + + get: sharedGet, + + set: sharedSet, + + keys: sharedKeys, + + values: sharedValues, + + entries: mapEntries, + + forEach: sharedForEach, + + clear: sharedClear, + + [Symbol.iterator]: mapEntries + }); + } + + if (typeof Set == 'undefined' || typeof new Set().values !== 'function' || !new Set().values().next) { + global.Set = createCollection({ + has: setHas, + + add: sharedAdd, + + 'delete': sharedDelete, + + clear: sharedClear, + + keys: sharedValues, + values: sharedValues, + + entries: setEntries, + + forEach: sharedForEach, + + [Symbol.iterator]: sharedValues + }); + } + + if (typeof WeakSet == 'undefined') { + global.WeakSet = createCollection({ + 'delete': sharedDelete, + + add: sharedAdd, + + clear: sharedClear, + + has: setHas + }, true); + } + + function createCollection(proto, objectOnly) { + function Collection(a) { + if (!this || this.constructor !== Collection) return new Collection(a); + this._keys = []; + this._values = []; + this._itp = []; + this.objectOnly = objectOnly; + + if (a) init.call(this, a); + } + + if (!objectOnly) { + defineProperty(proto, 'size', { + get: sharedSize + }); + } + + proto.constructor = Collection; + Collection.prototype = proto; + + return Collection; + } + + function init(a) { + var i; + + if (this.add) a.forEach(this.add, this);else a.forEach(function (a) { + this.set(a[0], a[1]); + }, this); + } + + function sharedDelete(key) { + if (this.has(key)) { + this._keys.splice(i, 1); + this._values.splice(i, 1); + + this._itp.forEach(function (p) { + if (i < p[0]) p[0]--; + }); + } + + return -1 < i; + }; + + function sharedGet(key) { + return this.has(key) ? this._values[i] : undefined; + } + + function has(list, key) { + if (this.objectOnly && key !== Object(key)) throw new TypeError("Invalid value used as weak collection key"); + + if (key != key || key === 0) for (i = list.length; i-- && !is(list[i], key);) {} else i = list.indexOf(key); + return -1 < i; + } + + function setHas(value) { + return has.call(this, this._values, value); + } + + function mapHas(value) { + return has.call(this, this._keys, value); + } + + function sharedSet(key, value) { + this.has(key) ? this._values[i] = value : this._values[this._keys.push(key) - 1] = value; + return this; + } + + function sharedAdd(value) { + if (!this.has(value)) this._values.push(value); + return this; + } + + function sharedClear() { + (this._keys || 0).length = this._values.length = 0; + } + + function sharedKeys() { + return sharedIterator(this._itp, this._keys); + } + + function sharedValues() { + return sharedIterator(this._itp, this._values); + } + + function mapEntries() { + return sharedIterator(this._itp, this._keys, this._values); + } + + function setEntries() { + return sharedIterator(this._itp, this._values, this._values); + } + + function sharedIterator(itp, array, array2) { + var p = [0], + done = false; + itp.push(p); + return { + [Symbol.iterator]: function () { + return this; + }, + next: function () { + var v, + k = p[0]; + if (!done && k < array.length) { + v = array2 ? [array[k], array2[k]] : array[k]; + p[0]++; + } else { + done = true; + itp.splice(itp.indexOf(p), 1); + } + return { done: done, value: v }; + } + }; + } + + function sharedSize() { + return this._values.length; + } + + function sharedForEach(callback, context) { + var it = this.entries(); + for (;;) { + var r = it.next(); + if (r.done) break; + callback.call(context, r.value[1], r.value[0], this); + } + } + })(PLATFORM.global); +} + +if (typeof FEATURE_NO_ES2015 === 'undefined') { + + const bind = Function.prototype.bind; + + if (typeof PLATFORM.global.Reflect === 'undefined') { + PLATFORM.global.Reflect = {}; + } + + if (typeof Reflect.defineProperty !== 'function') { + Reflect.defineProperty = function (target, propertyKey, descriptor) { + if (typeof target === 'object' ? target === null : typeof target !== 'function') { + throw new TypeError('Reflect.defineProperty called on non-object'); + } + try { + Object.defineProperty(target, propertyKey, descriptor); + return true; + } catch (e) { + return false; + } + }; + } + + if (typeof Reflect.construct !== 'function') { + Reflect.construct = function (Target, args) { + if (args) { + switch (args.length) { + case 0: + return new Target(); + case 1: + return new Target(args[0]); + case 2: + return new Target(args[0], args[1]); + case 3: + return new Target(args[0], args[1], args[2]); + case 4: + return new Target(args[0], args[1], args[2], args[3]); + } + } + + var a = [null]; + a.push.apply(a, args); + return new (bind.apply(Target, a))(); + }; + } + + if (typeof Reflect.ownKeys !== 'function') { + Reflect.ownKeys = function (o) { + return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o)); + }; + } +} + +if (typeof FEATURE_NO_ESNEXT === 'undefined') { + + const emptyMetadata = Object.freeze({}); + const metadataContainerKey = '__metadata__'; + + if (typeof Reflect.getOwnMetadata !== 'function') { + Reflect.getOwnMetadata = function (metadataKey, target, targetKey) { + if (target.hasOwnProperty(metadataContainerKey)) { + return (target[metadataContainerKey][targetKey] || emptyMetadata)[metadataKey]; + } + }; + } + + if (typeof Reflect.defineMetadata !== 'function') { + Reflect.defineMetadata = function (metadataKey, metadataValue, target, targetKey) { + let metadataContainer = target.hasOwnProperty(metadataContainerKey) ? target[metadataContainerKey] : target[metadataContainerKey] = {}; + let targetContainer = metadataContainer[targetKey] || (metadataContainer[targetKey] = {}); + targetContainer[metadataKey] = metadataValue; + }; + } + + if (typeof Reflect.metadata !== 'function') { + Reflect.metadata = function (metadataKey, metadataValue) { + return function (target, targetKey) { + Reflect.defineMetadata(metadataKey, metadataValue, target, targetKey); + }; + }; + } +} \ No newline at end of file diff --git a/dist/es2015/index.js b/dist/es2015/index.js new file mode 100644 index 0000000..6a0f1ce --- /dev/null +++ b/dist/es2015/index.js @@ -0,0 +1 @@ +export * from './aurelia-polyfills'; \ No newline at end of file diff --git a/dist/index.d.ts b/dist/index.d.ts new file mode 100644 index 0000000..9f06f56 --- /dev/null +++ b/dist/index.d.ts @@ -0,0 +1 @@ +export * from 'aurelia-polyfills/aurelia-polyfills'; \ No newline at end of file diff --git a/dist/native-modules/aurelia-polyfills.js b/dist/native-modules/aurelia-polyfills.js new file mode 100644 index 0000000..0c88a3c --- /dev/null +++ b/dist/native-modules/aurelia-polyfills.js @@ -0,0 +1,847 @@ +var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + +import { PLATFORM } from 'aurelia-pal'; + +if (typeof FEATURE_NO_ES2015 === 'undefined') { + + (function (Object, GOPS) { + 'use strict'; + + if (GOPS in Object) return; + + var setDescriptor, + G = PLATFORM.global, + id = 0, + random = '' + Math.random(), + prefix = '__\x01symbol:', + prefixLength = prefix.length, + internalSymbol = '__\x01symbol@@' + random, + DP = 'defineProperty', + DPies = 'defineProperties', + GOPN = 'getOwnPropertyNames', + GOPD = 'getOwnPropertyDescriptor', + PIE = 'propertyIsEnumerable', + gOPN = Object[GOPN], + gOPD = Object[GOPD], + create = Object.create, + keys = Object.keys, + defineProperty = Object[DP], + $defineProperties = Object[DPies], + descriptor = gOPD(Object, GOPN), + ObjectProto = Object.prototype, + hOP = ObjectProto.hasOwnProperty, + pIE = ObjectProto[PIE], + toString = ObjectProto.toString, + indexOf = Array.prototype.indexOf || function (v) { + for (var i = this.length; i-- && this[i] !== v;) {} + return i; + }, + addInternalIfNeeded = function addInternalIfNeeded(o, uid, enumerable) { + if (!hOP.call(o, internalSymbol)) { + defineProperty(o, internalSymbol, { + enumerable: false, + configurable: false, + writable: false, + value: {} + }); + } + o[internalSymbol]['@@' + uid] = enumerable; + }, + createWithSymbols = function createWithSymbols(proto, descriptors) { + var self = create(proto); + if (descriptors !== null && (typeof descriptors === 'undefined' ? 'undefined' : _typeof(descriptors)) === 'object') { + gOPN(descriptors).forEach(function (key) { + if (propertyIsEnumerable.call(descriptors, key)) { + $defineProperty(self, key, descriptors[key]); + } + }); + } + return self; + }, + copyAsNonEnumerable = function copyAsNonEnumerable(descriptor) { + var newDescriptor = create(descriptor); + newDescriptor.enumerable = false; + return newDescriptor; + }, + get = function get() {}, + onlyNonSymbols = function onlyNonSymbols(name) { + return name != internalSymbol && !hOP.call(source, name); + }, + onlySymbols = function onlySymbols(name) { + return name != internalSymbol && hOP.call(source, name); + }, + propertyIsEnumerable = function propertyIsEnumerable(key) { + var uid = '' + key; + return onlySymbols(uid) ? hOP.call(this, uid) && this[internalSymbol] && this[internalSymbol]['@@' + uid] : pIE.call(this, key); + }, + setAndGetSymbol = function setAndGetSymbol(uid) { + var descriptor = { + enumerable: false, + configurable: true, + get: get, + set: function set(value) { + setDescriptor(this, uid, { + enumerable: false, + configurable: true, + writable: true, + value: value + }); + addInternalIfNeeded(this, uid, true); + } + }; + defineProperty(ObjectProto, uid, descriptor); + return source[uid] = defineProperty(Object(uid), 'constructor', sourceConstructor); + }, + _Symbol = function _Symbol2(description) { + if (this && this !== G) { + throw new TypeError('Symbol is not a constructor'); + } + return setAndGetSymbol(prefix.concat(description || '', random, ++id)); + }, + source = create(null), + sourceConstructor = { value: _Symbol }, + sourceMap = function sourceMap(uid) { + return source[uid]; + }, + $defineProperty = function defineProp(o, key, descriptor) { + var uid = '' + key; + if (onlySymbols(uid)) { + setDescriptor(o, uid, descriptor.enumerable ? copyAsNonEnumerable(descriptor) : descriptor); + addInternalIfNeeded(o, uid, !!descriptor.enumerable); + } else { + defineProperty(o, key, descriptor); + } + return o; + }, + $getOwnPropertySymbols = function getOwnPropertySymbols(o) { + var cof = toString.call(o); + o = cof === '[object String]' ? o.split('') : Object(o); + return gOPN(o).filter(onlySymbols).map(sourceMap); + }; + + descriptor.value = $defineProperty; + defineProperty(Object, DP, descriptor); + + descriptor.value = $getOwnPropertySymbols; + defineProperty(Object, GOPS, descriptor); + + var cachedWindowNames = (typeof window === 'undefined' ? 'undefined' : _typeof(window)) === 'object' ? Object.getOwnPropertyNames(window) : []; + var originalObjectGetOwnPropertyNames = Object.getOwnPropertyNames; + descriptor.value = function getOwnPropertyNames(o) { + if (toString.call(o) === '[object Window]') { + try { + return originalObjectGetOwnPropertyNames(o); + } catch (e) { + return [].concat([], cachedWindowNames); + } + } + return gOPN(o).filter(onlyNonSymbols); + }; + defineProperty(Object, GOPN, descriptor); + + descriptor.value = function defineProperties(o, descriptors) { + var symbols = $getOwnPropertySymbols(descriptors); + if (symbols.length) { + keys(descriptors).concat(symbols).forEach(function (uid) { + if (propertyIsEnumerable.call(descriptors, uid)) { + $defineProperty(o, uid, descriptors[uid]); + } + }); + } else { + $defineProperties(o, descriptors); + } + return o; + }; + defineProperty(Object, DPies, descriptor); + + descriptor.value = propertyIsEnumerable; + defineProperty(ObjectProto, PIE, descriptor); + + descriptor.value = _Symbol; + defineProperty(G, 'Symbol', descriptor); + + descriptor.value = function (key) { + var uid = prefix.concat(prefix, key, random); + return uid in ObjectProto ? source[uid] : setAndGetSymbol(uid); + }; + defineProperty(_Symbol, 'for', descriptor); + + descriptor.value = function (symbol) { + return hOP.call(source, symbol) ? symbol.slice(prefixLength * 2, -random.length) : void 0; + }; + defineProperty(_Symbol, 'keyFor', descriptor); + + descriptor.value = function getOwnPropertyDescriptor(o, key) { + var descriptor = gOPD(o, key); + if (descriptor && onlySymbols(key)) { + descriptor.enumerable = propertyIsEnumerable.call(o, key); + } + return descriptor; + }; + defineProperty(Object, GOPD, descriptor); + + descriptor.value = function (proto, descriptors) { + return arguments.length === 1 ? create(proto) : createWithSymbols(proto, descriptors); + }; + defineProperty(Object, 'create', descriptor); + + descriptor.value = function () { + var str = toString.call(this); + return str === '[object String]' && onlySymbols(this) ? '[object Symbol]' : str; + }; + defineProperty(ObjectProto, 'toString', descriptor); + + try { + setDescriptor = create(defineProperty({}, prefix, { + get: function get() { + return defineProperty(this, prefix, { value: false })[prefix]; + } + }))[prefix] || defineProperty; + } catch (o_O) { + setDescriptor = function setDescriptor(o, key, descriptor) { + var protoDescriptor = gOPD(ObjectProto, key); + delete ObjectProto[key]; + defineProperty(o, key, descriptor); + defineProperty(ObjectProto, key, protoDescriptor); + }; + } + })(Object, 'getOwnPropertySymbols'); + + (function (O, S) { + var dP = O.defineProperty, + ObjectProto = O.prototype, + toString = ObjectProto.toString, + toStringTag = 'toStringTag', + descriptor; + ['iterator', 'match', 'replace', 'search', 'split', 'hasInstance', 'isConcatSpreadable', 'unscopables', 'species', 'toPrimitive', toStringTag].forEach(function (name) { + if (!(name in Symbol)) { + dP(Symbol, name, { value: Symbol(name) }); + switch (name) { + case toStringTag: + descriptor = O.getOwnPropertyDescriptor(ObjectProto, 'toString'); + descriptor.value = function () { + var str = toString.call(this), + tst = typeof this === 'undefined' || this === null ? undefined : this[Symbol.toStringTag]; + return typeof tst === 'undefined' ? str : '[object ' + tst + ']'; + }; + dP(ObjectProto, 'toString', descriptor); + break; + } + } + }); + })(Object, Symbol); + + (function (Si, AP, SP) { + + function returnThis() { + return this; + } + + if (!AP[Si]) AP[Si] = function () { + var i = 0, + self = this, + iterator = { + next: function next() { + var done = self.length <= i; + return done ? { done: done } : { done: done, value: self[i++] }; + } + }; + iterator[Si] = returnThis; + return iterator; + }; + + if (!SP[Si]) SP[Si] = function () { + var fromCodePoint = String.fromCodePoint, + self = this, + i = 0, + length = self.length, + iterator = { + next: function next() { + var done = length <= i, + c = done ? '' : fromCodePoint(self.codePointAt(i)); + i += c.length; + return done ? { done: done } : { done: done, value: c }; + } + }; + iterator[Si] = returnThis; + return iterator; + }; + })(Symbol.iterator, Array.prototype, String.prototype); +} + +if (typeof FEATURE_NO_ES2015 === 'undefined') { + + Number.isNaN = Number.isNaN || function (value) { + return value !== value; + }; + + Number.isFinite = Number.isFinite || function (value) { + return typeof value === "number" && isFinite(value); + }; +} + +if (!String.prototype.endsWith || function () { + try { + return !"ab".endsWith("a", 1); + } catch (e) { + return true; + } +}()) { + String.prototype.endsWith = function (searchString, position) { + var subjectString = this.toString(); + if (typeof position !== 'number' || !isFinite(position) || Math.floor(position) !== position || position > subjectString.length) { + position = subjectString.length; + } + position -= searchString.length; + var lastIndex = subjectString.indexOf(searchString, position); + return lastIndex !== -1 && lastIndex === position; + }; +} + +if (!String.prototype.startsWith || function () { + try { + return !"ab".startsWith("b", 1); + } catch (e) { + return true; + } +}()) { + String.prototype.startsWith = function (searchString, position) { + position = position || 0; + return this.substr(position, searchString.length) === searchString; + }; +} + +if (typeof FEATURE_NO_ES2015 === 'undefined') { + + if (!Array.from) { + Array.from = function () { + var toInteger = function toInteger(it) { + return isNaN(it = +it) ? 0 : (it > 0 ? Math.floor : Math.ceil)(it); + }; + var toLength = function toLength(it) { + return it > 0 ? Math.min(toInteger(it), 0x1fffffffffffff) : 0; + }; + var iterCall = function iterCall(iter, fn, val, index) { + try { + return fn(val, index); + } catch (E) { + if (typeof iter.return == 'function') iter.return(); + throw E; + } + }; + + return function from(arrayLike) { + var O = Object(arrayLike), + C = typeof this == 'function' ? this : Array, + aLen = arguments.length, + mapfn = aLen > 1 ? arguments[1] : undefined, + mapping = mapfn !== undefined, + index = 0, + iterFn = O[Symbol.iterator], + length, + result, + step, + iterator; + if (mapping) mapfn = mapfn.bind(aLen > 2 ? arguments[2] : undefined); + if (iterFn != undefined && !Array.isArray(arrayLike)) { + for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) { + result[index] = mapping ? iterCall(iterator, mapfn, step.value, index) : step.value; + } + } else { + length = toLength(O.length); + for (result = new C(length); length > index; index++) { + result[index] = mapping ? mapfn(O[index], index) : O[index]; + } + } + result.length = index; + return result; + }; + }(); + } + + if (!Array.prototype.find) { + Object.defineProperty(Array.prototype, 'find', { + configurable: true, + writable: true, + enumerable: false, + value: function value(predicate) { + if (this === null) { + throw new TypeError('Array.prototype.find called on null or undefined'); + } + if (typeof predicate !== 'function') { + throw new TypeError('predicate must be a function'); + } + var list = Object(this); + var length = list.length >>> 0; + var thisArg = arguments[1]; + var value; + + for (var i = 0; i < length; i++) { + value = list[i]; + if (predicate.call(thisArg, value, i, list)) { + return value; + } + } + return undefined; + } + }); + } + + if (!Array.prototype.findIndex) { + Object.defineProperty(Array.prototype, 'findIndex', { + configurable: true, + writable: true, + enumerable: false, + value: function value(predicate) { + if (this === null) { + throw new TypeError('Array.prototype.findIndex called on null or undefined'); + } + if (typeof predicate !== 'function') { + throw new TypeError('predicate must be a function'); + } + var list = Object(this); + var length = list.length >>> 0; + var thisArg = arguments[1]; + var value; + + for (var i = 0; i < length; i++) { + value = list[i]; + if (predicate.call(thisArg, value, i, list)) { + return i; + } + } + return -1; + } + }); + } +} + +if (typeof FEATURE_NO_ES2016 === 'undefined' && !Array.prototype.includes) { + Object.defineProperty(Array.prototype, 'includes', { + configurable: true, + writable: true, + enumerable: false, + value: function value(searchElement) { + var O = Object(this); + var len = parseInt(O.length) || 0; + if (len === 0) { + return false; + } + var n = parseInt(arguments[1]) || 0; + var k; + if (n >= 0) { + k = n; + } else { + k = len + n; + if (k < 0) { + k = 0; + } + } + var currentElement; + while (k < len) { + currentElement = O[k]; + if (searchElement === currentElement || searchElement !== searchElement && currentElement !== currentElement) { + return true; + } + k++; + } + return false; + } + }); +} + +if (typeof FEATURE_NO_ES2015 === 'undefined') { + + (function () { + var needsFix = false; + + try { + var s = Object.keys('a'); + needsFix = s.length !== 1 || s[0] !== '0'; + } catch (e) { + needsFix = true; + } + + if (needsFix) { + Object.keys = function () { + var hasOwnProperty = Object.prototype.hasOwnProperty, + hasDontEnumBug = !{ toString: null }.propertyIsEnumerable('toString'), + dontEnums = ['toString', 'toLocaleString', 'valueOf', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'constructor'], + dontEnumsLength = dontEnums.length; + + return function (obj) { + if (obj === undefined || obj === null) { + throw TypeError('Cannot convert undefined or null to object'); + } + + obj = Object(obj); + + var result = [], + prop, + i; + + for (prop in obj) { + if (hasOwnProperty.call(obj, prop)) { + result.push(prop); + } + } + + if (hasDontEnumBug) { + for (i = 0; i < dontEnumsLength; i++) { + if (hasOwnProperty.call(obj, dontEnums[i])) { + result.push(dontEnums[i]); + } + } + } + + return result; + }; + }(); + } + })(); + + (function (O) { + if ('assign' in O) { + return; + } + + O.defineProperty(O, 'assign', { + configurable: true, + writable: true, + value: function () { + var gOPS = O.getOwnPropertySymbols, + pIE = O.propertyIsEnumerable, + filterOS = gOPS ? function (self) { + return gOPS(self).filter(pIE, self); + } : function () { + return Array.prototype; + }; + + return function assign(where) { + if (gOPS && !(where instanceof O)) { + console.warn('problematic Symbols', where); + } + + function set(keyOrSymbol) { + where[keyOrSymbol] = arg[keyOrSymbol]; + } + + for (var i = 1, ii = arguments.length; i < ii; ++i) { + var arg = arguments[i]; + + if (arg === null || arg === undefined) { + continue; + } + + O.keys(arg).concat(filterOS(arg)).forEach(set); + } + + return where; + }; + }() + }); + })(Object); + + if (!Object.is) { + Object.is = function (x, y) { + if (x === y) { + return x !== 0 || 1 / x === 1 / y; + } else { + return x !== x && y !== y; + } + }; + } +} + +if (typeof FEATURE_NO_ES2015 === 'undefined') { + + (function (global) { + var i; + + var defineProperty = Object.defineProperty, + is = function is(a, b) { + return a === b || a !== a && b !== b; + }; + + if (typeof WeakMap == 'undefined') { + global.WeakMap = createCollection({ + 'delete': sharedDelete, + + clear: sharedClear, + + get: sharedGet, + + has: mapHas, + + set: sharedSet + }, true); + } + + if (typeof Map == 'undefined' || typeof new Map().values !== 'function' || !new Map().values().next) { + var _createCollection; + + global.Map = createCollection((_createCollection = { + 'delete': sharedDelete, + + has: mapHas, + + get: sharedGet, + + set: sharedSet, + + keys: sharedKeys, + + values: sharedValues, + + entries: mapEntries, + + forEach: sharedForEach, + + clear: sharedClear + }, _createCollection[Symbol.iterator] = mapEntries, _createCollection)); + } + + if (typeof Set == 'undefined' || typeof new Set().values !== 'function' || !new Set().values().next) { + var _createCollection2; + + global.Set = createCollection((_createCollection2 = { + has: setHas, + + add: sharedAdd, + + 'delete': sharedDelete, + + clear: sharedClear, + + keys: sharedValues, + values: sharedValues, + + entries: setEntries, + + forEach: sharedForEach + }, _createCollection2[Symbol.iterator] = sharedValues, _createCollection2)); + } + + if (typeof WeakSet == 'undefined') { + global.WeakSet = createCollection({ + 'delete': sharedDelete, + + add: sharedAdd, + + clear: sharedClear, + + has: setHas + }, true); + } + + function createCollection(proto, objectOnly) { + function Collection(a) { + if (!this || this.constructor !== Collection) return new Collection(a); + this._keys = []; + this._values = []; + this._itp = []; + this.objectOnly = objectOnly; + + if (a) init.call(this, a); + } + + if (!objectOnly) { + defineProperty(proto, 'size', { + get: sharedSize + }); + } + + proto.constructor = Collection; + Collection.prototype = proto; + + return Collection; + } + + function init(a) { + var i; + + if (this.add) a.forEach(this.add, this);else a.forEach(function (a) { + this.set(a[0], a[1]); + }, this); + } + + function sharedDelete(key) { + if (this.has(key)) { + this._keys.splice(i, 1); + this._values.splice(i, 1); + + this._itp.forEach(function (p) { + if (i < p[0]) p[0]--; + }); + } + + return -1 < i; + }; + + function sharedGet(key) { + return this.has(key) ? this._values[i] : undefined; + } + + function has(list, key) { + if (this.objectOnly && key !== Object(key)) throw new TypeError("Invalid value used as weak collection key"); + + if (key != key || key === 0) for (i = list.length; i-- && !is(list[i], key);) {} else i = list.indexOf(key); + return -1 < i; + } + + function setHas(value) { + return has.call(this, this._values, value); + } + + function mapHas(value) { + return has.call(this, this._keys, value); + } + + function sharedSet(key, value) { + this.has(key) ? this._values[i] = value : this._values[this._keys.push(key) - 1] = value; + return this; + } + + function sharedAdd(value) { + if (!this.has(value)) this._values.push(value); + return this; + } + + function sharedClear() { + (this._keys || 0).length = this._values.length = 0; + } + + function sharedKeys() { + return sharedIterator(this._itp, this._keys); + } + + function sharedValues() { + return sharedIterator(this._itp, this._values); + } + + function mapEntries() { + return sharedIterator(this._itp, this._keys, this._values); + } + + function setEntries() { + return sharedIterator(this._itp, this._values, this._values); + } + + function sharedIterator(itp, array, array2) { + var _ref; + + var p = [0], + done = false; + itp.push(p); + return _ref = {}, _ref[Symbol.iterator] = function () { + return this; + }, _ref.next = function next() { + var v, + k = p[0]; + if (!done && k < array.length) { + v = array2 ? [array[k], array2[k]] : array[k]; + p[0]++; + } else { + done = true; + itp.splice(itp.indexOf(p), 1); + } + return { done: done, value: v }; + }, _ref; + } + + function sharedSize() { + return this._values.length; + } + + function sharedForEach(callback, context) { + var it = this.entries(); + for (;;) { + var r = it.next(); + if (r.done) break; + callback.call(context, r.value[1], r.value[0], this); + } + } + })(PLATFORM.global); +} + +if (typeof FEATURE_NO_ES2015 === 'undefined') { + + var bind = Function.prototype.bind; + + if (typeof PLATFORM.global.Reflect === 'undefined') { + PLATFORM.global.Reflect = {}; + } + + if (typeof Reflect.defineProperty !== 'function') { + Reflect.defineProperty = function (target, propertyKey, descriptor) { + if ((typeof target === 'undefined' ? 'undefined' : _typeof(target)) === 'object' ? target === null : typeof target !== 'function') { + throw new TypeError('Reflect.defineProperty called on non-object'); + } + try { + Object.defineProperty(target, propertyKey, descriptor); + return true; + } catch (e) { + return false; + } + }; + } + + if (typeof Reflect.construct !== 'function') { + Reflect.construct = function (Target, args) { + if (args) { + switch (args.length) { + case 0: + return new Target(); + case 1: + return new Target(args[0]); + case 2: + return new Target(args[0], args[1]); + case 3: + return new Target(args[0], args[1], args[2]); + case 4: + return new Target(args[0], args[1], args[2], args[3]); + } + } + + var a = [null]; + a.push.apply(a, args); + return new (bind.apply(Target, a))(); + }; + } + + if (typeof Reflect.ownKeys !== 'function') { + Reflect.ownKeys = function (o) { + return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o)); + }; + } +} + +if (typeof FEATURE_NO_ESNEXT === 'undefined') { + + var emptyMetadata = Object.freeze({}); + var metadataContainerKey = '__metadata__'; + + if (typeof Reflect.getOwnMetadata !== 'function') { + Reflect.getOwnMetadata = function (metadataKey, target, targetKey) { + if (target.hasOwnProperty(metadataContainerKey)) { + return (target[metadataContainerKey][targetKey] || emptyMetadata)[metadataKey]; + } + }; + } + + if (typeof Reflect.defineMetadata !== 'function') { + Reflect.defineMetadata = function (metadataKey, metadataValue, target, targetKey) { + var metadataContainer = target.hasOwnProperty(metadataContainerKey) ? target[metadataContainerKey] : target[metadataContainerKey] = {}; + var targetContainer = metadataContainer[targetKey] || (metadataContainer[targetKey] = {}); + targetContainer[metadataKey] = metadataValue; + }; + } + + if (typeof Reflect.metadata !== 'function') { + Reflect.metadata = function (metadataKey, metadataValue) { + return function (target, targetKey) { + Reflect.defineMetadata(metadataKey, metadataValue, target, targetKey); + }; + }; + } +} \ No newline at end of file diff --git a/dist/native-modules/index.js b/dist/native-modules/index.js new file mode 100644 index 0000000..6a0f1ce --- /dev/null +++ b/dist/native-modules/index.js @@ -0,0 +1 @@ +export * from './aurelia-polyfills'; \ No newline at end of file diff --git a/dist/system/aurelia-polyfills.js b/dist/system/aurelia-polyfills.js new file mode 100644 index 0000000..9661a25 --- /dev/null +++ b/dist/system/aurelia-polyfills.js @@ -0,0 +1,865 @@ +'use strict'; + +System.register(['aurelia-pal'], function (_export, _context) { + "use strict"; + + var PLATFORM, _typeof, bind, emptyMetadata, metadataContainerKey; + + return { + setters: [function (_aureliaPal) { + PLATFORM = _aureliaPal.PLATFORM; + }], + execute: function () { + _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { + return typeof obj; + } : function (obj) { + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; + }; + + + if (typeof FEATURE_NO_ES2015 === 'undefined') { + + (function (Object, GOPS) { + 'use strict'; + + if (GOPS in Object) return; + + var setDescriptor, + G = PLATFORM.global, + id = 0, + random = '' + Math.random(), + prefix = '__\x01symbol:', + prefixLength = prefix.length, + internalSymbol = '__\x01symbol@@' + random, + DP = 'defineProperty', + DPies = 'defineProperties', + GOPN = 'getOwnPropertyNames', + GOPD = 'getOwnPropertyDescriptor', + PIE = 'propertyIsEnumerable', + gOPN = Object[GOPN], + gOPD = Object[GOPD], + create = Object.create, + keys = Object.keys, + defineProperty = Object[DP], + $defineProperties = Object[DPies], + descriptor = gOPD(Object, GOPN), + ObjectProto = Object.prototype, + hOP = ObjectProto.hasOwnProperty, + pIE = ObjectProto[PIE], + toString = ObjectProto.toString, + indexOf = Array.prototype.indexOf || function (v) { + for (var i = this.length; i-- && this[i] !== v;) {} + return i; + }, + addInternalIfNeeded = function addInternalIfNeeded(o, uid, enumerable) { + if (!hOP.call(o, internalSymbol)) { + defineProperty(o, internalSymbol, { + enumerable: false, + configurable: false, + writable: false, + value: {} + }); + } + o[internalSymbol]['@@' + uid] = enumerable; + }, + createWithSymbols = function createWithSymbols(proto, descriptors) { + var self = create(proto); + if (descriptors !== null && (typeof descriptors === 'undefined' ? 'undefined' : _typeof(descriptors)) === 'object') { + gOPN(descriptors).forEach(function (key) { + if (propertyIsEnumerable.call(descriptors, key)) { + $defineProperty(self, key, descriptors[key]); + } + }); + } + return self; + }, + copyAsNonEnumerable = function copyAsNonEnumerable(descriptor) { + var newDescriptor = create(descriptor); + newDescriptor.enumerable = false; + return newDescriptor; + }, + get = function get() {}, + onlyNonSymbols = function onlyNonSymbols(name) { + return name != internalSymbol && !hOP.call(source, name); + }, + onlySymbols = function onlySymbols(name) { + return name != internalSymbol && hOP.call(source, name); + }, + propertyIsEnumerable = function propertyIsEnumerable(key) { + var uid = '' + key; + return onlySymbols(uid) ? hOP.call(this, uid) && this[internalSymbol] && this[internalSymbol]['@@' + uid] : pIE.call(this, key); + }, + setAndGetSymbol = function setAndGetSymbol(uid) { + var descriptor = { + enumerable: false, + configurable: true, + get: get, + set: function set(value) { + setDescriptor(this, uid, { + enumerable: false, + configurable: true, + writable: true, + value: value + }); + addInternalIfNeeded(this, uid, true); + } + }; + defineProperty(ObjectProto, uid, descriptor); + return source[uid] = defineProperty(Object(uid), 'constructor', sourceConstructor); + }, + _Symbol = function _Symbol2(description) { + if (this && this !== G) { + throw new TypeError('Symbol is not a constructor'); + } + return setAndGetSymbol(prefix.concat(description || '', random, ++id)); + }, + source = create(null), + sourceConstructor = { value: _Symbol }, + sourceMap = function sourceMap(uid) { + return source[uid]; + }, + $defineProperty = function defineProp(o, key, descriptor) { + var uid = '' + key; + if (onlySymbols(uid)) { + setDescriptor(o, uid, descriptor.enumerable ? copyAsNonEnumerable(descriptor) : descriptor); + addInternalIfNeeded(o, uid, !!descriptor.enumerable); + } else { + defineProperty(o, key, descriptor); + } + return o; + }, + $getOwnPropertySymbols = function getOwnPropertySymbols(o) { + var cof = toString.call(o); + o = cof === '[object String]' ? o.split('') : Object(o); + return gOPN(o).filter(onlySymbols).map(sourceMap); + }; + + descriptor.value = $defineProperty; + defineProperty(Object, DP, descriptor); + + descriptor.value = $getOwnPropertySymbols; + defineProperty(Object, GOPS, descriptor); + + var cachedWindowNames = (typeof window === 'undefined' ? 'undefined' : _typeof(window)) === 'object' ? Object.getOwnPropertyNames(window) : []; + var originalObjectGetOwnPropertyNames = Object.getOwnPropertyNames; + descriptor.value = function getOwnPropertyNames(o) { + if (toString.call(o) === '[object Window]') { + try { + return originalObjectGetOwnPropertyNames(o); + } catch (e) { + return [].concat([], cachedWindowNames); + } + } + return gOPN(o).filter(onlyNonSymbols); + }; + defineProperty(Object, GOPN, descriptor); + + descriptor.value = function defineProperties(o, descriptors) { + var symbols = $getOwnPropertySymbols(descriptors); + if (symbols.length) { + keys(descriptors).concat(symbols).forEach(function (uid) { + if (propertyIsEnumerable.call(descriptors, uid)) { + $defineProperty(o, uid, descriptors[uid]); + } + }); + } else { + $defineProperties(o, descriptors); + } + return o; + }; + defineProperty(Object, DPies, descriptor); + + descriptor.value = propertyIsEnumerable; + defineProperty(ObjectProto, PIE, descriptor); + + descriptor.value = _Symbol; + defineProperty(G, 'Symbol', descriptor); + + descriptor.value = function (key) { + var uid = prefix.concat(prefix, key, random); + return uid in ObjectProto ? source[uid] : setAndGetSymbol(uid); + }; + defineProperty(_Symbol, 'for', descriptor); + + descriptor.value = function (symbol) { + return hOP.call(source, symbol) ? symbol.slice(prefixLength * 2, -random.length) : void 0; + }; + defineProperty(_Symbol, 'keyFor', descriptor); + + descriptor.value = function getOwnPropertyDescriptor(o, key) { + var descriptor = gOPD(o, key); + if (descriptor && onlySymbols(key)) { + descriptor.enumerable = propertyIsEnumerable.call(o, key); + } + return descriptor; + }; + defineProperty(Object, GOPD, descriptor); + + descriptor.value = function (proto, descriptors) { + return arguments.length === 1 ? create(proto) : createWithSymbols(proto, descriptors); + }; + defineProperty(Object, 'create', descriptor); + + descriptor.value = function () { + var str = toString.call(this); + return str === '[object String]' && onlySymbols(this) ? '[object Symbol]' : str; + }; + defineProperty(ObjectProto, 'toString', descriptor); + + try { + setDescriptor = create(defineProperty({}, prefix, { + get: function get() { + return defineProperty(this, prefix, { value: false })[prefix]; + } + }))[prefix] || defineProperty; + } catch (o_O) { + setDescriptor = function setDescriptor(o, key, descriptor) { + var protoDescriptor = gOPD(ObjectProto, key); + delete ObjectProto[key]; + defineProperty(o, key, descriptor); + defineProperty(ObjectProto, key, protoDescriptor); + }; + } + })(Object, 'getOwnPropertySymbols'); + + (function (O, S) { + var dP = O.defineProperty, + ObjectProto = O.prototype, + toString = ObjectProto.toString, + toStringTag = 'toStringTag', + descriptor; + ['iterator', 'match', 'replace', 'search', 'split', 'hasInstance', 'isConcatSpreadable', 'unscopables', 'species', 'toPrimitive', toStringTag].forEach(function (name) { + if (!(name in Symbol)) { + dP(Symbol, name, { value: Symbol(name) }); + switch (name) { + case toStringTag: + descriptor = O.getOwnPropertyDescriptor(ObjectProto, 'toString'); + descriptor.value = function () { + var str = toString.call(this), + tst = typeof this === 'undefined' || this === null ? undefined : this[Symbol.toStringTag]; + return typeof tst === 'undefined' ? str : '[object ' + tst + ']'; + }; + dP(ObjectProto, 'toString', descriptor); + break; + } + } + }); + })(Object, Symbol); + + (function (Si, AP, SP) { + + function returnThis() { + return this; + } + + if (!AP[Si]) AP[Si] = function () { + var i = 0, + self = this, + iterator = { + next: function next() { + var done = self.length <= i; + return done ? { done: done } : { done: done, value: self[i++] }; + } + }; + iterator[Si] = returnThis; + return iterator; + }; + + if (!SP[Si]) SP[Si] = function () { + var fromCodePoint = String.fromCodePoint, + self = this, + i = 0, + length = self.length, + iterator = { + next: function next() { + var done = length <= i, + c = done ? '' : fromCodePoint(self.codePointAt(i)); + i += c.length; + return done ? { done: done } : { done: done, value: c }; + } + }; + iterator[Si] = returnThis; + return iterator; + }; + })(Symbol.iterator, Array.prototype, String.prototype); + } + + if (typeof FEATURE_NO_ES2015 === 'undefined') { + + Number.isNaN = Number.isNaN || function (value) { + return value !== value; + }; + + Number.isFinite = Number.isFinite || function (value) { + return typeof value === "number" && isFinite(value); + }; + } + + if (!String.prototype.endsWith || function () { + try { + return !"ab".endsWith("a", 1); + } catch (e) { + return true; + } + }()) { + String.prototype.endsWith = function (searchString, position) { + var subjectString = this.toString(); + if (typeof position !== 'number' || !isFinite(position) || Math.floor(position) !== position || position > subjectString.length) { + position = subjectString.length; + } + position -= searchString.length; + var lastIndex = subjectString.indexOf(searchString, position); + return lastIndex !== -1 && lastIndex === position; + }; + } + + if (!String.prototype.startsWith || function () { + try { + return !"ab".startsWith("b", 1); + } catch (e) { + return true; + } + }()) { + String.prototype.startsWith = function (searchString, position) { + position = position || 0; + return this.substr(position, searchString.length) === searchString; + }; + } + + if (typeof FEATURE_NO_ES2015 === 'undefined') { + + if (!Array.from) { + Array.from = function () { + var toInteger = function toInteger(it) { + return isNaN(it = +it) ? 0 : (it > 0 ? Math.floor : Math.ceil)(it); + }; + var toLength = function toLength(it) { + return it > 0 ? Math.min(toInteger(it), 0x1fffffffffffff) : 0; + }; + var iterCall = function iterCall(iter, fn, val, index) { + try { + return fn(val, index); + } catch (E) { + if (typeof iter.return == 'function') iter.return(); + throw E; + } + }; + + return function from(arrayLike) { + var O = Object(arrayLike), + C = typeof this == 'function' ? this : Array, + aLen = arguments.length, + mapfn = aLen > 1 ? arguments[1] : undefined, + mapping = mapfn !== undefined, + index = 0, + iterFn = O[Symbol.iterator], + length, + result, + step, + iterator; + if (mapping) mapfn = mapfn.bind(aLen > 2 ? arguments[2] : undefined); + if (iterFn != undefined && !Array.isArray(arrayLike)) { + for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) { + result[index] = mapping ? iterCall(iterator, mapfn, step.value, index) : step.value; + } + } else { + length = toLength(O.length); + for (result = new C(length); length > index; index++) { + result[index] = mapping ? mapfn(O[index], index) : O[index]; + } + } + result.length = index; + return result; + }; + }(); + } + + if (!Array.prototype.find) { + Object.defineProperty(Array.prototype, 'find', { + configurable: true, + writable: true, + enumerable: false, + value: function value(predicate) { + if (this === null) { + throw new TypeError('Array.prototype.find called on null or undefined'); + } + if (typeof predicate !== 'function') { + throw new TypeError('predicate must be a function'); + } + var list = Object(this); + var length = list.length >>> 0; + var thisArg = arguments[1]; + var value; + + for (var i = 0; i < length; i++) { + value = list[i]; + if (predicate.call(thisArg, value, i, list)) { + return value; + } + } + return undefined; + } + }); + } + + if (!Array.prototype.findIndex) { + Object.defineProperty(Array.prototype, 'findIndex', { + configurable: true, + writable: true, + enumerable: false, + value: function value(predicate) { + if (this === null) { + throw new TypeError('Array.prototype.findIndex called on null or undefined'); + } + if (typeof predicate !== 'function') { + throw new TypeError('predicate must be a function'); + } + var list = Object(this); + var length = list.length >>> 0; + var thisArg = arguments[1]; + var value; + + for (var i = 0; i < length; i++) { + value = list[i]; + if (predicate.call(thisArg, value, i, list)) { + return i; + } + } + return -1; + } + }); + } + } + + if (typeof FEATURE_NO_ES2016 === 'undefined' && !Array.prototype.includes) { + Object.defineProperty(Array.prototype, 'includes', { + configurable: true, + writable: true, + enumerable: false, + value: function value(searchElement) { + var O = Object(this); + var len = parseInt(O.length) || 0; + if (len === 0) { + return false; + } + var n = parseInt(arguments[1]) || 0; + var k; + if (n >= 0) { + k = n; + } else { + k = len + n; + if (k < 0) { + k = 0; + } + } + var currentElement; + while (k < len) { + currentElement = O[k]; + if (searchElement === currentElement || searchElement !== searchElement && currentElement !== currentElement) { + return true; + } + k++; + } + return false; + } + }); + } + + if (typeof FEATURE_NO_ES2015 === 'undefined') { + + (function () { + var needsFix = false; + + try { + var s = Object.keys('a'); + needsFix = s.length !== 1 || s[0] !== '0'; + } catch (e) { + needsFix = true; + } + + if (needsFix) { + Object.keys = function () { + var hasOwnProperty = Object.prototype.hasOwnProperty, + hasDontEnumBug = !{ toString: null }.propertyIsEnumerable('toString'), + dontEnums = ['toString', 'toLocaleString', 'valueOf', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'constructor'], + dontEnumsLength = dontEnums.length; + + return function (obj) { + if (obj === undefined || obj === null) { + throw TypeError('Cannot convert undefined or null to object'); + } + + obj = Object(obj); + + var result = [], + prop, + i; + + for (prop in obj) { + if (hasOwnProperty.call(obj, prop)) { + result.push(prop); + } + } + + if (hasDontEnumBug) { + for (i = 0; i < dontEnumsLength; i++) { + if (hasOwnProperty.call(obj, dontEnums[i])) { + result.push(dontEnums[i]); + } + } + } + + return result; + }; + }(); + } + })(); + + (function (O) { + if ('assign' in O) { + return; + } + + O.defineProperty(O, 'assign', { + configurable: true, + writable: true, + value: function () { + var gOPS = O.getOwnPropertySymbols, + pIE = O.propertyIsEnumerable, + filterOS = gOPS ? function (self) { + return gOPS(self).filter(pIE, self); + } : function () { + return Array.prototype; + }; + + return function assign(where) { + if (gOPS && !(where instanceof O)) { + console.warn('problematic Symbols', where); + } + + function set(keyOrSymbol) { + where[keyOrSymbol] = arg[keyOrSymbol]; + } + + for (var i = 1, ii = arguments.length; i < ii; ++i) { + var arg = arguments[i]; + + if (arg === null || arg === undefined) { + continue; + } + + O.keys(arg).concat(filterOS(arg)).forEach(set); + } + + return where; + }; + }() + }); + })(Object); + + if (!Object.is) { + Object.is = function (x, y) { + if (x === y) { + return x !== 0 || 1 / x === 1 / y; + } else { + return x !== x && y !== y; + } + }; + } + } + + if (typeof FEATURE_NO_ES2015 === 'undefined') { + + (function (global) { + var i; + + var defineProperty = Object.defineProperty, + is = function is(a, b) { + return a === b || a !== a && b !== b; + }; + + if (typeof WeakMap == 'undefined') { + global.WeakMap = createCollection({ + 'delete': sharedDelete, + + clear: sharedClear, + + get: sharedGet, + + has: mapHas, + + set: sharedSet + }, true); + } + + if (typeof Map == 'undefined' || typeof new Map().values !== 'function' || !new Map().values().next) { + var _createCollection; + + global.Map = createCollection((_createCollection = { + 'delete': sharedDelete, + + has: mapHas, + + get: sharedGet, + + set: sharedSet, + + keys: sharedKeys, + + values: sharedValues, + + entries: mapEntries, + + forEach: sharedForEach, + + clear: sharedClear + }, _createCollection[Symbol.iterator] = mapEntries, _createCollection)); + } + + if (typeof Set == 'undefined' || typeof new Set().values !== 'function' || !new Set().values().next) { + var _createCollection2; + + global.Set = createCollection((_createCollection2 = { + has: setHas, + + add: sharedAdd, + + 'delete': sharedDelete, + + clear: sharedClear, + + keys: sharedValues, + values: sharedValues, + + entries: setEntries, + + forEach: sharedForEach + }, _createCollection2[Symbol.iterator] = sharedValues, _createCollection2)); + } + + if (typeof WeakSet == 'undefined') { + global.WeakSet = createCollection({ + 'delete': sharedDelete, + + add: sharedAdd, + + clear: sharedClear, + + has: setHas + }, true); + } + + function createCollection(proto, objectOnly) { + function Collection(a) { + if (!this || this.constructor !== Collection) return new Collection(a); + this._keys = []; + this._values = []; + this._itp = []; + this.objectOnly = objectOnly; + + if (a) init.call(this, a); + } + + if (!objectOnly) { + defineProperty(proto, 'size', { + get: sharedSize + }); + } + + proto.constructor = Collection; + Collection.prototype = proto; + + return Collection; + } + + function init(a) { + var i; + + if (this.add) a.forEach(this.add, this);else a.forEach(function (a) { + this.set(a[0], a[1]); + }, this); + } + + function sharedDelete(key) { + if (this.has(key)) { + this._keys.splice(i, 1); + this._values.splice(i, 1); + + this._itp.forEach(function (p) { + if (i < p[0]) p[0]--; + }); + } + + return -1 < i; + }; + + function sharedGet(key) { + return this.has(key) ? this._values[i] : undefined; + } + + function has(list, key) { + if (this.objectOnly && key !== Object(key)) throw new TypeError("Invalid value used as weak collection key"); + + if (key != key || key === 0) for (i = list.length; i-- && !is(list[i], key);) {} else i = list.indexOf(key); + return -1 < i; + } + + function setHas(value) { + return has.call(this, this._values, value); + } + + function mapHas(value) { + return has.call(this, this._keys, value); + } + + function sharedSet(key, value) { + this.has(key) ? this._values[i] = value : this._values[this._keys.push(key) - 1] = value; + return this; + } + + function sharedAdd(value) { + if (!this.has(value)) this._values.push(value); + return this; + } + + function sharedClear() { + (this._keys || 0).length = this._values.length = 0; + } + + function sharedKeys() { + return sharedIterator(this._itp, this._keys); + } + + function sharedValues() { + return sharedIterator(this._itp, this._values); + } + + function mapEntries() { + return sharedIterator(this._itp, this._keys, this._values); + } + + function setEntries() { + return sharedIterator(this._itp, this._values, this._values); + } + + function sharedIterator(itp, array, array2) { + var _ref; + + var p = [0], + done = false; + itp.push(p); + return _ref = {}, _ref[Symbol.iterator] = function () { + return this; + }, _ref.next = function next() { + var v, + k = p[0]; + if (!done && k < array.length) { + v = array2 ? [array[k], array2[k]] : array[k]; + p[0]++; + } else { + done = true; + itp.splice(itp.indexOf(p), 1); + } + return { done: done, value: v }; + }, _ref; + } + + function sharedSize() { + return this._values.length; + } + + function sharedForEach(callback, context) { + var it = this.entries(); + for (;;) { + var r = it.next(); + if (r.done) break; + callback.call(context, r.value[1], r.value[0], this); + } + } + })(PLATFORM.global); + } + + if (typeof FEATURE_NO_ES2015 === 'undefined') { + bind = Function.prototype.bind; + + + if (typeof PLATFORM.global.Reflect === 'undefined') { + PLATFORM.global.Reflect = {}; + } + + if (typeof Reflect.defineProperty !== 'function') { + Reflect.defineProperty = function (target, propertyKey, descriptor) { + if ((typeof target === 'undefined' ? 'undefined' : _typeof(target)) === 'object' ? target === null : typeof target !== 'function') { + throw new TypeError('Reflect.defineProperty called on non-object'); + } + try { + Object.defineProperty(target, propertyKey, descriptor); + return true; + } catch (e) { + return false; + } + }; + } + + if (typeof Reflect.construct !== 'function') { + Reflect.construct = function (Target, args) { + if (args) { + switch (args.length) { + case 0: + return new Target(); + case 1: + return new Target(args[0]); + case 2: + return new Target(args[0], args[1]); + case 3: + return new Target(args[0], args[1], args[2]); + case 4: + return new Target(args[0], args[1], args[2], args[3]); + } + } + + var a = [null]; + a.push.apply(a, args); + return new (bind.apply(Target, a))(); + }; + } + + if (typeof Reflect.ownKeys !== 'function') { + Reflect.ownKeys = function (o) { + return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o)); + }; + } + } + + if (typeof FEATURE_NO_ESNEXT === 'undefined') { + emptyMetadata = Object.freeze({}); + metadataContainerKey = '__metadata__'; + + + if (typeof Reflect.getOwnMetadata !== 'function') { + Reflect.getOwnMetadata = function (metadataKey, target, targetKey) { + if (target.hasOwnProperty(metadataContainerKey)) { + return (target[metadataContainerKey][targetKey] || emptyMetadata)[metadataKey]; + } + }; + } + + if (typeof Reflect.defineMetadata !== 'function') { + Reflect.defineMetadata = function (metadataKey, metadataValue, target, targetKey) { + var metadataContainer = target.hasOwnProperty(metadataContainerKey) ? target[metadataContainerKey] : target[metadataContainerKey] = {}; + var targetContainer = metadataContainer[targetKey] || (metadataContainer[targetKey] = {}); + targetContainer[metadataKey] = metadataValue; + }; + } + + if (typeof Reflect.metadata !== 'function') { + Reflect.metadata = function (metadataKey, metadataValue) { + return function (target, targetKey) { + Reflect.defineMetadata(metadataKey, metadataValue, target, targetKey); + }; + }; + } + } + } + }; +}); \ No newline at end of file diff --git a/dist/system/index.js b/dist/system/index.js new file mode 100644 index 0000000..291565c --- /dev/null +++ b/dist/system/index.js @@ -0,0 +1,18 @@ +'use strict'; + +System.register(['./aurelia-polyfills'], function (_export, _context) { + "use strict"; + + return { + setters: [function (_aureliaPolyfills) { + var _exportObj = {}; + + for (var _key in _aureliaPolyfills) { + if (_key !== "default" && _key !== "__esModule") _exportObj[_key] = _aureliaPolyfills[_key]; + } + + _export(_exportObj); + }], + execute: function () {} + }; +}); \ No newline at end of file diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md index bc75c17..23323d8 100644 --- a/doc/CHANGELOG.md +++ b/doc/CHANGELOG.md @@ -1,3 +1,8 @@ + +## [1.3.2](https://github.com/aurelia/polyfills/compare/1.3.1...1.3.2) (2019-02-03) + + + # [1.3.0](https://github.com/aurelia/polyfills/compare/1.2.2...v1.3.0) (2018-01-25) diff --git a/package-lock.json b/package-lock.json index 54a6cb7..e36488a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -85,8 +85,6 @@ "version": "0.1.4", "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz", "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=", - "dev": true, - "optional": true, "requires": { "kind-of": "^3.0.2", "longest": "^1.0.1", @@ -97,8 +95,6 @@ "version": "3.2.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "optional": true, "requires": { "is-buffer": "^1.1.5" } @@ -108,8 +104,7 @@ "amdefine": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", - "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", - "dev": true + "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=" }, "ansi-colors": { "version": "1.1.0", @@ -156,14 +151,12 @@ "ansi-regex": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", - "dev": true + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" }, "ansi-styles": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", - "dev": true + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" }, "ansi-wrap": { "version": "0.1.0", @@ -290,20 +283,17 @@ "arr-diff": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", - "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", - "dev": true + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=" }, "arr-flatten": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", - "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", - "dev": true + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==" }, "arr-union": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", - "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", - "dev": true + "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=" }, "array-differ": { "version": "1.0.0", @@ -314,8 +304,7 @@ "array-each": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/array-each/-/array-each-1.0.1.tgz", - "integrity": "sha1-p5SvDAWrF1KEbudTofIRoFugxE8=", - "dev": true + "integrity": "sha1-p5SvDAWrF1KEbudTofIRoFugxE8=" }, "array-find-index": { "version": "1.0.2", @@ -332,8 +321,7 @@ "array-slice": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/array-slice/-/array-slice-1.1.0.tgz", - "integrity": "sha512-B1qMD3RBP7O8o0H2KbrXDyB0IccejMF15+87Lvlor12ONPRHP6gTjXMNkt/d3ZuOGbAe66hFmaCfECI24Ufp6w==", - "dev": true + "integrity": "sha512-B1qMD3RBP7O8o0H2KbrXDyB0IccejMF15+87Lvlor12ONPRHP6gTjXMNkt/d3ZuOGbAe66hFmaCfECI24Ufp6w==" }, "array-union": { "version": "1.0.2", @@ -353,8 +341,7 @@ "array-unique": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", - "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", - "dev": true + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=" }, "arraybuffer.slice": { "version": "0.0.6", @@ -368,11 +355,23 @@ "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", "dev": true }, + "asn1": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "requires": { + "safer-buffer": "~2.1.0" + } + }, + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" + }, "assign-symbols": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", - "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", - "dev": true + "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=" }, "async": { "version": "2.6.1", @@ -389,11 +388,15 @@ "integrity": "sha1-GdOGodntxufByF04iu28xW0zYC0=", "dev": true }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + }, "atob": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", - "dev": true + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==" }, "aurelia-pal": { "version": "1.8.1", @@ -410,11 +413,20 @@ "through2": "^2.0.0" } }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" + }, + "aws4": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", + "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==" + }, "babel-code-frame": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", - "dev": true, "requires": { "chalk": "^1.1.3", "esutils": "^2.0.2", @@ -425,7 +437,6 @@ "version": "6.26.3", "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz", "integrity": "sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA==", - "dev": true, "requires": { "babel-code-frame": "^6.26.0", "babel-generator": "^6.26.0", @@ -471,7 +482,6 @@ "version": "6.26.1", "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz", "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==", - "dev": true, "requires": { "babel-messages": "^6.23.0", "babel-runtime": "^6.26.0", @@ -486,8 +496,7 @@ "jsesc": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", - "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=", - "dev": true + "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=" } } }, @@ -587,7 +596,6 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz", "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=", - "dev": true, "requires": { "babel-runtime": "^6.22.0", "babel-types": "^6.24.1" @@ -645,7 +653,6 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz", "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=", - "dev": true, "requires": { "babel-runtime": "^6.22.0", "babel-template": "^6.24.1" @@ -655,7 +662,6 @@ "version": "6.23.0", "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", - "dev": true, "requires": { "babel-runtime": "^6.22.0" } @@ -757,6 +763,14 @@ "babel-runtime": "^6.22.0" } }, + "babel-plugin-transform-cjs-system-wrapper": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-cjs-system-wrapper/-/babel-plugin-transform-cjs-system-wrapper-0.3.0.tgz", + "integrity": "sha1-9XWfKb7NNW+qt69SyZzejnutCyE=", + "requires": { + "babel-template": "^6.9.0" + } + }, "babel-plugin-transform-class-constructor-call": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-class-constructor-call/-/babel-plugin-transform-class-constructor-call-6.24.1.tgz", @@ -937,7 +951,6 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz", "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=", - "dev": true, "requires": { "babel-helper-hoist-variables": "^6.24.1", "babel-runtime": "^6.22.0", @@ -1069,6 +1082,14 @@ "babel-runtime": "^6.22.0" } }, + "babel-plugin-transform-global-system-wrapper": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-global-system-wrapper/-/babel-plugin-transform-global-system-wrapper-0.0.1.tgz", + "integrity": "sha1-r7RpzsDgRom5/n6LH9KA/JSm2PI=", + "requires": { + "babel-template": "^6.9.0" + } + }, "babel-plugin-transform-object-rest-spread": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz", @@ -1098,6 +1119,11 @@ "babel-types": "^6.24.1" } }, + "babel-plugin-transform-system-register": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-system-register/-/babel-plugin-transform-system-register-0.0.1.tgz", + "integrity": "sha1-nf9AOQwnY6xRjwsq18XqT2WlviU=" + }, "babel-preset-es2015": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-preset-es2015/-/babel-preset-es2015-6.24.1.tgz", @@ -1188,7 +1214,6 @@ "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz", "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=", - "dev": true, "requires": { "babel-core": "^6.26.0", "babel-runtime": "^6.26.0", @@ -1203,7 +1228,6 @@ "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", - "dev": true, "requires": { "core-js": "^2.4.0", "regenerator-runtime": "^0.11.0" @@ -1213,7 +1237,6 @@ "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz", "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=", - "dev": true, "requires": { "babel-runtime": "^6.26.0", "babel-traverse": "^6.26.0", @@ -1226,7 +1249,6 @@ "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", - "dev": true, "requires": { "babel-code-frame": "^6.26.0", "babel-messages": "^6.23.0", @@ -1243,7 +1265,6 @@ "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", - "dev": true, "requires": { "babel-runtime": "^6.26.0", "esutils": "^2.0.2", @@ -1254,8 +1275,7 @@ "babylon": { "version": "6.18.0", "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", - "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", - "dev": true + "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==" }, "backo2": { "version": "1.0.2", @@ -1266,14 +1286,12 @@ "balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", - "dev": true + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" }, "base": { "version": "0.11.2", "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", - "dev": true, "requires": { "cache-base": "^1.0.1", "class-utils": "^0.3.5", @@ -1288,7 +1306,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, "requires": { "is-descriptor": "^1.0.0" } @@ -1297,7 +1314,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, "requires": { "kind-of": "^6.0.0" } @@ -1306,7 +1322,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, "requires": { "kind-of": "^6.0.0" } @@ -1315,7 +1330,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, "requires": { "is-accessor-descriptor": "^1.0.0", "is-data-descriptor": "^1.0.0", @@ -1336,6 +1350,14 @@ "integrity": "sha1-R2iMuZu2gE8OBtPnY7HDLlfY5rY=", "dev": true }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "requires": { + "tweetnacl": "^0.14.3" + } + }, "beeper": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/beeper/-/beeper-1.1.1.tgz", @@ -1369,11 +1391,18 @@ "integrity": "sha1-vPEwUspURj8w+fx+lbmkdjCpSSE=", "dev": true }, + "block-stream": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz", + "integrity": "sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo=", + "requires": { + "inherits": "~2.0.0" + } + }, "bluebird": { "version": "3.5.3", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.3.tgz", - "integrity": "sha512-/qKPUQlaW1OyR51WeCPBvRnAlnZFUJkCSG5HzGnuIqhgyJtF+T94lFnn33eiazjRm2LAHVy2guNnaq48X9SJuw==", - "dev": true + "integrity": "sha512-/qKPUQlaW1OyR51WeCPBvRnAlnZFUJkCSG5HzGnuIqhgyJtF+T94lFnn33eiazjRm2LAHVy2guNnaq48X9SJuw==" }, "body-parser": { "version": "1.18.3", @@ -1397,7 +1426,6 @@ "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -1407,7 +1435,6 @@ "version": "2.3.2", "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "dev": true, "requires": { "arr-flatten": "^1.1.0", "array-unique": "^0.3.2", @@ -1425,7 +1452,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, "requires": { "is-extendable": "^0.1.0" } @@ -1473,6 +1499,11 @@ "integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==", "dev": true }, + "buffer-crc32": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", + "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=" + }, "buffer-fill": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz", @@ -1485,6 +1516,11 @@ "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", "dev": true }, + "buffer-peek-stream": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/buffer-peek-stream/-/buffer-peek-stream-1.0.1.tgz", + "integrity": "sha1-U7R1cKE0d4fFutTKLKMCH52LPP0=" + }, "bufferstreams": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/bufferstreams/-/bufferstreams-1.1.3.tgz", @@ -1528,7 +1564,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", - "dev": true, "requires": { "collection-visit": "^1.0.0", "component-emitter": "^1.2.1", @@ -1578,12 +1613,15 @@ "map-obj": "^1.0.0" } }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" + }, "center-align": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz", "integrity": "sha1-qg0yYptu6XIgBBHL1EYckHvCt60=", - "dev": true, - "optional": true, "requires": { "align-text": "^0.1.3", "lazy-cache": "^1.0.3" @@ -1593,7 +1631,6 @@ "version": "1.1.3", "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "dev": true, "requires": { "ansi-styles": "^2.2.1", "escape-string-regexp": "^1.0.2", @@ -1655,7 +1692,6 @@ "version": "0.3.6", "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", - "dev": true, "requires": { "arr-union": "^3.1.0", "define-property": "^0.2.5", @@ -1667,7 +1703,6 @@ "version": "0.2.5", "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, "requires": { "is-descriptor": "^0.1.0" } @@ -1693,8 +1728,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz", "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=", - "dev": true, - "optional": true, "requires": { "center-align": "^0.1.1", "right-align": "^0.1.1", @@ -1704,9 +1737,7 @@ "wordwrap": { "version": "0.0.2", "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz", - "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=", - "dev": true, - "optional": true + "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=" } } }, @@ -1755,7 +1786,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", - "dev": true, "requires": { "map-visit": "^1.0.0", "object-visit": "^1.0.0" @@ -1782,6 +1812,14 @@ "lodash": "^4.5.0" } }, + "combined-stream": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz", + "integrity": "sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w==", + "requires": { + "delayed-stream": "~1.0.0" + } + }, "commander": { "version": "2.17.1", "resolved": "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz", @@ -1808,8 +1846,7 @@ "component-emitter": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz", - "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=", - "dev": true + "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=" }, "component-inherit": { "version": "0.0.3", @@ -1820,8 +1857,7 @@ "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" }, "concat-stream": { "version": "1.6.2", @@ -2364,7 +2400,6 @@ "version": "1.6.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.6.0.tgz", "integrity": "sha512-eFu7XigvxdZ1ETfbgPBohgyQ/Z++C0eEhTor0qRwBw9unw+L0/6V8wkSuGgzdThkiS5lSpdptOQPD8Ak40a+7A==", - "dev": true, "requires": { "safe-buffer": "~5.1.1" } @@ -2378,20 +2413,17 @@ "copy-descriptor": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", - "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", - "dev": true + "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=" }, "core-js": { "version": "2.6.3", "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.3.tgz", - "integrity": "sha512-l00tmFFZOBHtYhN4Cz7k32VM7vTn3rE2ANjQDxdEN6zmXZ/xq1jQuutnmHvMG1ZJ7xd72+TA5YpUK8wz3rWsfQ==", - "dev": true + "integrity": "sha512-l00tmFFZOBHtYhN4Cz7k32VM7vTn3rE2ANjQDxdEN6zmXZ/xq1jQuutnmHvMG1ZJ7xd72+TA5YpUK8wz3rWsfQ==" }, "core-util-is": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", - "dev": true + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" }, "currently-unhandled": { "version": "0.4.1", @@ -2412,7 +2444,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/d/-/d-1.0.0.tgz", "integrity": "sha1-dUu1v+VUUdpppYuU1F9MWwRi1Y8=", - "dev": true, "requires": { "es5-ext": "^0.10.9" } @@ -2426,6 +2457,19 @@ "number-is-nan": "^1.0.0" } }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "requires": { + "assert-plus": "^1.0.0" + } + }, + "data-uri-to-buffer": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-0.0.4.tgz", + "integrity": "sha1-RuE6udqOMJdFyNAc5UchPr2y/j8=" + }, "dateformat": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-2.2.0.tgz", @@ -2436,7 +2480,6 @@ "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, "requires": { "ms": "2.0.0" } @@ -2444,8 +2487,7 @@ "decamelize": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", - "dev": true + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=" }, "decamelize-keys": { "version": "1.1.0", @@ -2460,8 +2502,7 @@ "decode-uri-component": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", - "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", - "dev": true + "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=" }, "deep-is": { "version": "0.1.3", @@ -2491,7 +2532,6 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", - "dev": true, "requires": { "is-descriptor": "^1.0.2", "isobject": "^3.0.1" @@ -2501,7 +2541,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, "requires": { "kind-of": "^6.0.0" } @@ -2510,7 +2549,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, "requires": { "kind-of": "^6.0.0" } @@ -2519,7 +2557,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, "requires": { "is-accessor-descriptor": "^1.0.0", "is-data-descriptor": "^1.0.0", @@ -2543,6 +2580,11 @@ "rimraf": "^2.2.8" } }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" + }, "depd": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", @@ -2558,14 +2600,12 @@ "detect-file": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz", - "integrity": "sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc=", - "dev": true + "integrity": "sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc=" }, "detect-indent": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", - "dev": true, "requires": { "repeating": "^2.0.0" } @@ -2670,6 +2710,15 @@ } } }, + "ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "requires": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, "ee-first": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", @@ -2790,6 +2839,11 @@ "integrity": "sha1-6WQhkyWiHQX0RGai9obtbOX13R0=", "dev": true }, + "err-code": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/err-code/-/err-code-1.1.2.tgz", + "integrity": "sha1-BuARbTAo9q70gGhJ6w6mp0iuaWA=" + }, "error-ex": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", @@ -2803,7 +2857,6 @@ "version": "0.10.47", "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.47.tgz", "integrity": "sha512-/1TItLfj+TTfWoeRcDn/0FbGV6SNo4R+On2GGVucPU/j3BWnXE2Co8h8CTo4Tu34gFJtnmwS9xiScKs4EjZhdw==", - "dev": true, "requires": { "es6-iterator": "~2.0.3", "es6-symbol": "~3.1.1", @@ -2814,7 +2867,6 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", - "dev": true, "requires": { "d": "1", "es5-ext": "^0.10.35", @@ -2852,12 +2904,20 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.1.tgz", "integrity": "sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=", - "dev": true, "requires": { "d": "1", "es5-ext": "~0.10.14" } }, + "es6-template-strings": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/es6-template-strings/-/es6-template-strings-2.0.1.tgz", + "integrity": "sha1-sWbGpiVi9Hi7d3X2ypYQOlmbSyw=", + "requires": { + "es5-ext": "^0.10.12", + "esniff": "^1.1" + } + }, "es6-weak-map": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.2.tgz", @@ -2879,8 +2939,7 @@ "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" }, "escodegen": { "version": "1.8.1", @@ -2991,6 +3050,15 @@ } } }, + "esniff": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/esniff/-/esniff-1.1.0.tgz", + "integrity": "sha1-xmhJIp+RRk3t4uDUAgHtar9l8qw=", + "requires": { + "d": "1", + "es5-ext": "^0.10.12" + } + }, "espree": { "version": "3.5.4", "resolved": "https://registry.npmjs.org/espree/-/espree-3.5.4.tgz", @@ -3034,8 +3102,7 @@ "esutils": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", - "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", - "dev": true + "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=" }, "event-emitter": { "version": "0.3.5", @@ -3145,7 +3212,6 @@ "version": "2.1.4", "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", - "dev": true, "requires": { "debug": "^2.3.3", "define-property": "^0.2.5", @@ -3160,7 +3226,6 @@ "version": "0.2.5", "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, "requires": { "is-descriptor": "^0.1.0" } @@ -3169,7 +3234,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, "requires": { "is-extendable": "^0.1.0" } @@ -3231,7 +3295,6 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz", "integrity": "sha1-l+gBqgUt8CRU3kawK/YhZCzchQI=", - "dev": true, "requires": { "homedir-polyfill": "^1.0.1" } @@ -3239,14 +3302,12 @@ "extend": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", - "dev": true + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" }, "extend-shallow": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", - "dev": true, "requires": { "assign-symbols": "^1.0.0", "is-extendable": "^1.0.1" @@ -3256,7 +3317,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dev": true, "requires": { "is-plain-object": "^2.0.4" } @@ -3267,7 +3327,6 @@ "version": "2.0.4", "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", - "dev": true, "requires": { "array-unique": "^0.3.2", "define-property": "^1.0.0", @@ -3283,7 +3342,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, "requires": { "is-descriptor": "^1.0.0" } @@ -3292,7 +3350,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, "requires": { "is-extendable": "^0.1.0" } @@ -3301,7 +3358,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, "requires": { "kind-of": "^6.0.0" } @@ -3310,7 +3366,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, "requires": { "kind-of": "^6.0.0" } @@ -3319,7 +3374,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, "requires": { "is-accessor-descriptor": "^1.0.0", "is-data-descriptor": "^1.0.0", @@ -3328,6 +3382,11 @@ } } }, + "extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" + }, "fancy-log": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/fancy-log/-/fancy-log-1.3.3.tgz", @@ -3340,12 +3399,30 @@ "time-stamp": "^1.0.0" } }, + "fast-deep-equal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", + "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=" + }, + "fast-json-stable-stringify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", + "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=" + }, "fast-levenshtein": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", "dev": true }, + "fd-slicer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", + "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=", + "requires": { + "pend": "~1.2.0" + } + }, "figures": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", @@ -3376,7 +3453,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", - "dev": true, "requires": { "extend-shallow": "^2.0.1", "is-number": "^3.0.0", @@ -3388,7 +3464,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, "requires": { "is-extendable": "^0.1.0" } @@ -3438,7 +3513,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-2.0.0.tgz", "integrity": "sha1-kyaxSIwi0aYIhlCoaQGy2akKLLw=", - "dev": true, "requires": { "detect-file": "^1.0.0", "is-glob": "^3.1.0", @@ -3450,7 +3524,6 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/fined/-/fined-1.1.1.tgz", "integrity": "sha512-jQp949ZmEbiYHk3gkbdtpJ0G1+kgtLQBNdP5edFP7Fh+WAYceLQz6yO1SBj72Xkg8GVyTB3bBzAYrHJVh5Xd5g==", - "dev": true, "requires": { "expand-tilde": "^2.0.2", "is-plain-object": "^2.0.3", @@ -3468,8 +3541,7 @@ "flagged-respawn": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-1.0.1.tgz", - "integrity": "sha512-lNaHNVymajmk0OJMBn8fVUAU1BtDeKIqKoVhk4xAALB57aALg6b4W0MfJ/cUE0g9YBXy5XhSlPIpYIJ7HaY/3Q==", - "dev": true + "integrity": "sha512-lNaHNVymajmk0OJMBn8fVUAU1BtDeKIqKoVhk4xAALB57aALg6b4W0MfJ/cUE0g9YBXy5XhSlPIpYIJ7HaY/3Q==" }, "flat-cache": { "version": "1.3.4", @@ -3514,23 +3586,35 @@ "for-in": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", - "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", - "dev": true + "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=" }, "for-own": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/for-own/-/for-own-1.0.0.tgz", "integrity": "sha1-xjMy9BXO3EsE2/5wz4NklMU8tEs=", - "dev": true, "requires": { "for-in": "^1.0.1" } }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" + }, + "form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + } + }, "fragment-cache": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", - "dev": true, "requires": { "map-cache": "^0.2.2" } @@ -3574,8 +3658,7 @@ "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" }, "fsevents": { "version": "1.2.7", @@ -3597,8 +3680,7 @@ "ansi-regex": { "version": "2.1.1", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "aproba": { "version": "1.2.0", @@ -3619,14 +3701,12 @@ "balanced-match": { "version": "1.0.0", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, "dev": true, - "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -3641,20 +3721,17 @@ "code-point-at": { "version": "1.1.0", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "concat-map": { "version": "0.0.1", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "console-control-strings": { "version": "1.1.0", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "core-util-is": { "version": "1.0.2", @@ -3771,8 +3848,7 @@ "inherits": { "version": "2.0.3", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "ini": { "version": "1.3.5", @@ -3784,7 +3860,6 @@ "version": "1.0.0", "bundled": true, "dev": true, - "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -3799,7 +3874,6 @@ "version": "3.0.4", "bundled": true, "dev": true, - "optional": true, "requires": { "brace-expansion": "^1.1.7" } @@ -3807,14 +3881,12 @@ "minimist": { "version": "0.0.8", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "minipass": { "version": "2.3.5", "bundled": true, "dev": true, - "optional": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -3833,7 +3905,6 @@ "version": "0.5.1", "bundled": true, "dev": true, - "optional": true, "requires": { "minimist": "0.0.8" } @@ -3914,8 +3985,7 @@ "number-is-nan": { "version": "1.0.1", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "object-assign": { "version": "4.1.1", @@ -3927,7 +3997,6 @@ "version": "1.4.0", "bundled": true, "dev": true, - "optional": true, "requires": { "wrappy": "1" } @@ -4013,8 +4082,7 @@ "safe-buffer": { "version": "5.1.2", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "safer-buffer": { "version": "2.1.2", @@ -4050,7 +4118,6 @@ "version": "1.0.2", "bundled": true, "dev": true, - "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -4070,7 +4137,6 @@ "version": "3.0.1", "bundled": true, "dev": true, - "optional": true, "requires": { "ansi-regex": "^2.0.0" } @@ -4114,14 +4180,30 @@ "wrappy": { "version": "1.0.2", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "yallist": { "version": "3.0.3", "bundled": true, - "dev": true, - "optional": true + "dev": true + } + } + }, + "fstream": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.11.tgz", + "integrity": "sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE=", + "requires": { + "graceful-fs": "^4.1.2", + "inherits": "~2.0.0", + "mkdirp": ">=0.5 0", + "rimraf": "2" + }, + "dependencies": { + "graceful-fs": { + "version": "4.1.15", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz", + "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==" } } }, @@ -4192,8 +4274,15 @@ "get-value": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", - "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", - "dev": true + "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=" + }, + "getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "requires": { + "assert-plus": "^1.0.0" + } }, "git-raw-commits": { "version": "1.3.6", @@ -4564,7 +4653,6 @@ "version": "7.1.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", - "dev": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -4713,7 +4801,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-1.0.0.tgz", "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==", - "dev": true, "requires": { "global-prefix": "^1.0.1", "is-windows": "^1.0.1", @@ -4724,7 +4811,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-1.0.2.tgz", "integrity": "sha1-2/dDxsFJklk8ZVVoy2btMsASLr4=", - "dev": true, "requires": { "expand-tilde": "^2.0.2", "homedir-polyfill": "^1.0.1", @@ -4736,8 +4822,7 @@ "globals": { "version": "9.18.0", "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", - "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==", - "dev": true + "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==" }, "globby": { "version": "5.0.0", @@ -4823,6 +4908,11 @@ "natives": "^1.1.0" } }, + "graceful-readlink": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz", + "integrity": "sha1-TK+tdrxi8C+gObL5Tpo906ORpyU=" + }, "gulp": { "version": "3.9.1", "resolved": "https://registry.npmjs.org/gulp/-/gulp-3.9.1.tgz", @@ -5528,11 +5618,37 @@ } } }, + "har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" + }, + "har-validator": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz", + "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==", + "requires": { + "ajv": "^6.5.5", + "har-schema": "^2.0.0" + }, + "dependencies": { + "ajv": { + "version": "6.8.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.8.1.tgz", + "integrity": "sha512-eqxCp82P+JfqL683wwsL73XmFs1eG6qjw+RD3YHx+Jll1r0jNd4dh8QG9NYAeNGA/hnZjeEDgtTskgJULbxpWQ==", + "requires": { + "fast-deep-equal": "^2.0.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + } + } + }, "has-ansi": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", - "dev": true, "requires": { "ansi-regex": "^2.0.0" } @@ -5585,7 +5701,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", - "dev": true, "requires": { "get-value": "^2.0.6", "has-values": "^1.0.0", @@ -5596,7 +5711,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", - "dev": true, "requires": { "is-number": "^3.0.0", "kind-of": "^4.0.0" @@ -5606,7 +5720,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", - "dev": true, "requires": { "is-buffer": "^1.1.5" } @@ -5623,7 +5736,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz", "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=", - "dev": true, "requires": { "os-homedir": "^1.0.0", "os-tmpdir": "^1.0.1" @@ -5633,7 +5745,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.1.tgz", "integrity": "sha1-TCu8inWJmP7r9e1oWA921GdotLw=", - "dev": true, "requires": { "parse-passwd": "^1.0.0" } @@ -5667,6 +5778,16 @@ "requires-port": "^1.0.0" } }, + "http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "requires": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + } + }, "iconv-lite": { "version": "0.4.23", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz", @@ -5707,7 +5828,6 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dev": true, "requires": { "once": "^1.3.0", "wrappy": "1" @@ -5716,14 +5836,12 @@ "inherits": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", - "dev": true + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" }, "ini": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", - "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", - "dev": true + "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==" }, "inquirer": { "version": "0.12.0", @@ -5756,7 +5874,6 @@ "version": "2.2.4", "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", - "dev": true, "requires": { "loose-envify": "^1.0.0" } @@ -5771,7 +5888,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-absolute/-/is-absolute-1.0.0.tgz", "integrity": "sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==", - "dev": true, "requires": { "is-relative": "^1.0.0", "is-windows": "^1.0.1" @@ -5781,7 +5897,6 @@ "version": "0.1.6", "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dev": true, "requires": { "kind-of": "^3.0.2" }, @@ -5790,7 +5905,6 @@ "version": "3.2.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, "requires": { "is-buffer": "^1.1.5" } @@ -5815,8 +5929,7 @@ "is-buffer": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", - "dev": true + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" }, "is-builtin-module": { "version": "1.0.0", @@ -5831,7 +5944,6 @@ "version": "0.1.4", "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dev": true, "requires": { "kind-of": "^3.0.2" }, @@ -5840,7 +5952,6 @@ "version": "3.2.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, "requires": { "is-buffer": "^1.1.5" } @@ -5851,7 +5962,6 @@ "version": "0.1.6", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, "requires": { "is-accessor-descriptor": "^0.1.6", "is-data-descriptor": "^0.1.4", @@ -5861,8 +5971,7 @@ "kind-of": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==" } } }, @@ -5884,20 +5993,17 @@ "is-extendable": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=" }, "is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", - "dev": true + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=" }, "is-finite": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", - "dev": true, "requires": { "number-is-nan": "^1.0.0" } @@ -5915,7 +6021,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", - "dev": true, "requires": { "is-extglob": "^2.1.0" } @@ -5943,7 +6048,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dev": true, "requires": { "kind-of": "^3.0.2" }, @@ -5952,7 +6056,6 @@ "version": "3.2.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, "requires": { "is-buffer": "^1.1.5" } @@ -5999,7 +6102,6 @@ "version": "2.0.4", "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dev": true, "requires": { "isobject": "^3.0.1" } @@ -6026,7 +6128,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-relative/-/is-relative-1.0.0.tgz", "integrity": "sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==", - "dev": true, "requires": { "is-unc-path": "^1.0.0" } @@ -6058,11 +6159,15 @@ "text-extensions": "^1.0.0" } }, + "is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" + }, "is-unc-path": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-unc-path/-/is-unc-path-1.0.0.tgz", "integrity": "sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==", - "dev": true, "requires": { "unc-path-regex": "^0.1.2" } @@ -6082,14 +6187,12 @@ "is-windows": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", - "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", - "dev": true + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==" }, "isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", - "dev": true + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" }, "isbinaryfile": { "version": "3.0.3", @@ -6103,14 +6206,17 @@ "isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", - "dev": true + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" }, "isobject": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", - "dev": true + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" + }, + "isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" }, "istanbul": { "version": "0.4.5", @@ -6201,8 +6307,7 @@ "js-tokens": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", - "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", - "dev": true + "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=" }, "js-yaml": { "version": "3.12.1", @@ -6214,6 +6319,11 @@ "esprima": "^4.0.0" } }, + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" + }, "jsesc": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", @@ -6226,6 +6336,16 @@ "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", "dev": true }, + "json-schema": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, "json-stable-stringify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz", @@ -6244,8 +6364,7 @@ "json-stringify-safe": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", - "dev": true + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" }, "json3": { "version": "3.3.2", @@ -6256,8 +6375,7 @@ "json5": { "version": "0.5.1", "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", - "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=", - "dev": true + "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=" }, "jsonfile": { "version": "2.4.0", @@ -6295,6 +6413,207 @@ "integrity": "sha1-T9kss04OnbPInIYi7PUfm5eMbLk=", "dev": true }, + "jspm": { + "version": "0.16.53", + "resolved": "https://registry.npmjs.org/jspm/-/jspm-0.16.53.tgz", + "integrity": "sha1-VvNR9JWUyJM+XgG2UUWsrr/PtZ4=", + "requires": { + "chalk": "^1.1.1", + "core-js": "^1.2.6", + "glob": "^6.0.1", + "graceful-fs": "^4.1.2", + "jspm-github": "^0.13.17", + "jspm-npm": "^0.26.12", + "jspm-registry": "^0.4.0", + "liftoff": "^2.2.0", + "minimatch": "^3.0.0", + "mkdirp": "~0.5.1", + "ncp": "^2.0.0", + "proper-lockfile": "^1.1.2", + "request": "^2.67.0", + "rimraf": "^2.4.4", + "rsvp": "^3.1.0", + "semver": "^5.1.0", + "systemjs": "0.19.46", + "systemjs-builder": "0.15.36", + "traceur": "0.0.105", + "uglify-js": "^2.6.1" + }, + "dependencies": { + "camelcase": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz", + "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=" + }, + "core-js": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz", + "integrity": "sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY=" + }, + "glob": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/glob/-/glob-6.0.4.tgz", + "integrity": "sha1-DwiGD2oVUSey+t1PnOJLGqtuTSI=", + "requires": { + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "2 || 3", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "graceful-fs": { + "version": "4.1.15", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz", + "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==" + }, + "semver": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz", + "integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==" + }, + "uglify-js": { + "version": "2.8.29", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.29.tgz", + "integrity": "sha1-KcVzMUgFe7Th913zW3qcty5qWd0=", + "requires": { + "source-map": "~0.5.1", + "uglify-to-browserify": "~1.0.0", + "yargs": "~3.10.0" + } + }, + "yargs": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", + "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=", + "requires": { + "camelcase": "^1.0.2", + "cliui": "^2.1.0", + "decamelize": "^1.0.0", + "window-size": "0.1.0" + } + } + } + }, + "jspm-github": { + "version": "0.13.20", + "resolved": "https://registry.npmjs.org/jspm-github/-/jspm-github-0.13.20.tgz", + "integrity": "sha512-q+rg4b7Q9HuH4efrpM6QKmCddFYkKg3javGYPK1rcNvxNFAN2PqhNLgc7TpYgR2k8k+iLZvFWeWmC9WxZrB3Dw==", + "requires": { + "expand-tilde": "^1.2.0", + "graceful-fs": "^4.1.3", + "mkdirp": "^0.5.1", + "netrc": "^0.1.3", + "request": "^2.74.0", + "rimraf": "^2.5.4", + "rsvp": "^3.0.17", + "semver": "^5.0.1", + "tar": "^2.2.1", + "which": "^1.0.9", + "yauzl": "^2.3.1" + }, + "dependencies": { + "expand-tilde": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-1.2.2.tgz", + "integrity": "sha1-C4HrqJflo9MdHD0QL48BRB5VlEk=", + "requires": { + "os-homedir": "^1.0.1" + } + }, + "graceful-fs": { + "version": "4.1.15", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz", + "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==" + }, + "semver": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz", + "integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==" + } + } + }, + "jspm-npm": { + "version": "0.26.14", + "resolved": "https://registry.npmjs.org/jspm-npm/-/jspm-npm-0.26.14.tgz", + "integrity": "sha512-2kxX7sa0o4J7sVCMLEw91VTdeMBS68To9Pf0Y0dFoKVks95BXF0anPHbpG7fGAXlkUHLFk7lwMowkXlNavDPKg==", + "requires": { + "buffer-peek-stream": "^1.0.1", + "glob": "^5.0.10", + "graceful-fs": "^4.1.3", + "mkdirp": "^0.5.1", + "request": "^2.58.0", + "resolve": "^1.1.6", + "rsvp": "^3.0.18", + "semver": "^5.0.1", + "systemjs-builder": "^0.15.0", + "tar": "^1.0.3", + "which": "^1.1.1" + }, + "dependencies": { + "glob": { + "version": "5.0.15", + "resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz", + "integrity": "sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=", + "requires": { + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "2 || 3", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "graceful-fs": { + "version": "4.1.15", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz", + "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==" + }, + "semver": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz", + "integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==" + }, + "tar": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/tar/-/tar-1.0.3.tgz", + "integrity": "sha1-FbzaskT6St1E5CRKAXbtuKqaK0Q=", + "requires": { + "block-stream": "*", + "fstream": "^1.0.2", + "inherits": "2" + } + } + } + }, + "jspm-registry": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/jspm-registry/-/jspm-registry-0.4.4.tgz", + "integrity": "sha1-1TFmA1qHzc5YXWK6o5dWhUaZbXA=", + "requires": { + "graceful-fs": "^4.1.3", + "rimraf": "^2.3.2", + "rsvp": "^3.0.18", + "semver": "^4.3.3" + }, + "dependencies": { + "graceful-fs": { + "version": "4.1.15", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz", + "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==" + } + } + }, + "jsprim": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", + "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.2.3", + "verror": "1.10.0" + } + }, "karma": { "version": "1.7.1", "resolved": "https://registry.npmjs.org/karma/-/karma-1.7.1.tgz", @@ -6422,8 +6741,7 @@ "kind-of": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", - "dev": true + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" }, "klaw": { "version": "1.3.1", @@ -6446,9 +6764,7 @@ "lazy-cache": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz", - "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=", - "dev": true, - "optional": true + "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=" }, "lazystream": { "version": "1.0.0", @@ -6482,7 +6798,6 @@ "version": "2.5.0", "resolved": "https://registry.npmjs.org/liftoff/-/liftoff-2.5.0.tgz", "integrity": "sha1-IAkpG7Mc6oYbvxCnwVooyvdcMew=", - "dev": true, "requires": { "extend": "^3.0.0", "findup-sync": "^2.0.0", @@ -6545,8 +6860,7 @@ "lodash": { "version": "4.17.11", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", - "dev": true + "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==" }, "lodash._basecopy": { "version": "3.0.1", @@ -6724,15 +7038,12 @@ "longest": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", - "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=", - "dev": true, - "optional": true + "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=" }, "loose-envify": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", - "dev": true, "requires": { "js-tokens": "^3.0.0 || ^4.0.0" } @@ -6757,7 +7068,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/make-iterator/-/make-iterator-1.0.1.tgz", "integrity": "sha512-pxiuXh0iVEq7VM7KMIhs5gxsfxCux2URptUQaXo4iZZJxBAzTPOLE2BumO5dbfVYq/hBJFBR/a1mFDmOx5AGmw==", - "dev": true, "requires": { "kind-of": "^6.0.2" } @@ -6765,8 +7075,7 @@ "map-cache": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", - "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", - "dev": true + "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=" }, "map-obj": { "version": "1.0.1", @@ -6784,7 +7093,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", - "dev": true, "requires": { "object-visit": "^1.0.0" } @@ -6844,7 +7152,6 @@ "version": "3.1.10", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", - "dev": true, "requires": { "arr-diff": "^4.0.0", "array-unique": "^0.3.2", @@ -6870,14 +7177,12 @@ "mime-db": { "version": "1.37.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.37.0.tgz", - "integrity": "sha512-R3C4db6bgQhlIhPU48fUtdVmKnflq+hRdad7IyKhtFj06VPNVdk2RhiYL3UjQIlso8L+YxAtFkobT0VK+S/ybg==", - "dev": true + "integrity": "sha512-R3C4db6bgQhlIhPU48fUtdVmKnflq+hRdad7IyKhtFj06VPNVdk2RhiYL3UjQIlso8L+YxAtFkobT0VK+S/ybg==" }, "mime-types": { "version": "2.1.21", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.21.tgz", "integrity": "sha512-3iL6DbwpyLzjR3xHSFNFeb9Nz/M8WDkX33t1GFQnFOllWk8pOrh/LSrB5OXlnlW5P9LH73X6loW/eogc+F5lJg==", - "dev": true, "requires": { "mime-db": "~1.37.0" } @@ -6886,7 +7191,6 @@ "version": "3.0.4", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "dev": true, "requires": { "brace-expansion": "^1.1.7" } @@ -6911,7 +7215,6 @@ "version": "1.3.1", "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.1.tgz", "integrity": "sha512-8ZItLHeEgaqEvd5lYBXfm4EZSFCX29Jb9K+lAHhDKzReKBQKj3R+7NOF6tjqYi9t4oI8VUfaWITJQm86wnXGNQ==", - "dev": true, "requires": { "for-in": "^1.0.2", "is-extendable": "^1.0.1" @@ -6921,7 +7224,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dev": true, "requires": { "is-plain-object": "^2.0.4" } @@ -6932,7 +7234,6 @@ "version": "0.5.1", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", - "dev": true, "requires": { "minimist": "0.0.8" }, @@ -6940,8 +7241,7 @@ "minimist": { "version": "0.0.8", "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", - "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", - "dev": true + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=" } } }, @@ -6963,8 +7263,7 @@ "ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" }, "multipipe": { "version": "0.1.2", @@ -6992,7 +7291,6 @@ "version": "1.2.13", "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", - "dev": true, "requires": { "arr-diff": "^4.0.0", "array-unique": "^0.3.2", @@ -7054,17 +7352,26 @@ } } }, + "ncp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ncp/-/ncp-2.0.0.tgz", + "integrity": "sha1-GVoh1sRuNh0vsSgbo4uR6d9727M=" + }, "negotiator": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz", "integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk=", "dev": true }, + "netrc": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/netrc/-/netrc-0.1.4.tgz", + "integrity": "sha1-a+lPysqNd63gqWcNxGCRTJRHJEQ=" + }, "next-tick": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", - "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=", - "dev": true + "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=" }, "nopt": { "version": "3.0.6", @@ -7105,8 +7412,12 @@ "number-is-nan": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", - "dev": true + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=" + }, + "oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==" }, "object-assign": { "version": "4.1.1", @@ -7124,7 +7435,6 @@ "version": "0.1.0", "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", - "dev": true, "requires": { "copy-descriptor": "^0.1.0", "define-property": "^0.2.5", @@ -7135,7 +7445,6 @@ "version": "0.2.5", "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, "requires": { "is-descriptor": "^0.1.0" } @@ -7144,7 +7453,6 @@ "version": "3.2.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, "requires": { "is-buffer": "^1.1.5" } @@ -7161,7 +7469,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", - "dev": true, "requires": { "isobject": "^3.0.0" } @@ -7182,7 +7489,6 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/object.defaults/-/object.defaults-1.1.0.tgz", "integrity": "sha1-On+GgzS0B96gbaFtiNXNKeQ1/s8=", - "dev": true, "requires": { "array-each": "^1.0.1", "array-slice": "^1.0.0", @@ -7194,7 +7500,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/object.map/-/object.map-1.0.1.tgz", "integrity": "sha1-z4Plncj8wK1fQlDh94s7gb2AHTc=", - "dev": true, "requires": { "for-own": "^1.0.0", "make-iterator": "^1.0.0" @@ -7225,7 +7530,6 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", - "dev": true, "requires": { "isobject": "^3.0.1" } @@ -7243,7 +7547,6 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, "requires": { "wrappy": "1" } @@ -7320,8 +7623,7 @@ "os-homedir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", - "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", - "dev": true + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=" }, "os-locale": { "version": "1.4.0", @@ -7335,8 +7637,7 @@ "os-tmpdir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", - "dev": true + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" }, "p-limit": { "version": "1.3.0", @@ -7366,7 +7667,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/parse-filepath/-/parse-filepath-1.0.2.tgz", "integrity": "sha1-pjISf1Oq89FYdvWHLz/6x2PWyJE=", - "dev": true, "requires": { "is-absolute": "^1.0.0", "map-cache": "^0.2.0", @@ -7426,8 +7726,7 @@ "parse-passwd": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz", - "integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=", - "dev": true + "integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=" }, "parsejson": { "version": "0.0.3", @@ -7465,8 +7764,7 @@ "pascalcase": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", - "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", - "dev": true + "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=" }, "path-dirname": { "version": "1.0.2", @@ -7486,8 +7784,7 @@ "path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" }, "path-is-inside": { "version": "1.0.2", @@ -7498,14 +7795,12 @@ "path-parse": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", - "dev": true + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==" }, "path-root": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/path-root/-/path-root-0.1.1.tgz", "integrity": "sha1-mkpoFMrBwM1zNgqV8yCDyOpHRbc=", - "dev": true, "requires": { "path-root-regex": "^0.1.0" } @@ -7513,8 +7808,7 @@ "path-root-regex": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/path-root-regex/-/path-root-regex-0.1.2.tgz", - "integrity": "sha1-v8zcjfWxLcUsi0PsONGNcsBLqW0=", - "dev": true + "integrity": "sha1-v8zcjfWxLcUsi0PsONGNcsBLqW0=" }, "path-type": { "version": "1.1.0", @@ -7544,6 +7838,16 @@ "through": "~2.3" } }, + "pend": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", + "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=" + }, + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" + }, "pify": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", @@ -7608,8 +7912,7 @@ "posix-character-classes": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", - "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", - "dev": true + "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=" }, "prelude-ls": { "version": "1.1.2", @@ -7632,8 +7935,7 @@ "private": { "version": "0.1.8", "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", - "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==", - "dev": true + "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==" }, "process-nextick-args": { "version": "2.0.0", @@ -7647,12 +7949,40 @@ "integrity": "sha1-4mDHj2Fhzdmw5WzD4Khd4Xx6V74=", "dev": true }, + "proper-lockfile": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/proper-lockfile/-/proper-lockfile-1.2.0.tgz", + "integrity": "sha1-zv9d2J0+XxD7deHo52vHWAGlnDQ=", + "requires": { + "err-code": "^1.0.0", + "extend": "^3.0.0", + "graceful-fs": "^4.1.2", + "retry": "^0.10.0" + }, + "dependencies": { + "graceful-fs": { + "version": "4.1.15", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz", + "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==" + } + } + }, "pseudomap": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", "dev": true }, + "psl": { + "version": "1.1.31", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.1.31.tgz", + "integrity": "sha512-/6pt4+C+T+wZUieKR620OpzN/LlnNKuWjy1iFLQ/UG35JqHlR/89MP1d96dUfkf6Dne3TuLQzOYEYshJ+Hx8mw==" + }, + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" + }, "q": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", @@ -7668,8 +7998,7 @@ "qs": { "version": "6.5.2", "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", - "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", - "dev": true + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==" }, "quick-lru": { "version": "1.1.0", @@ -7784,7 +8113,6 @@ "version": "0.6.2", "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=", - "dev": true, "requires": { "resolve": "^1.1.6" } @@ -7808,8 +8136,7 @@ "regenerator-runtime": { "version": "0.11.1", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", - "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==", - "dev": true + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==" }, "regenerator-transform": { "version": "0.10.1", @@ -7835,7 +8162,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", - "dev": true, "requires": { "extend-shallow": "^3.0.2", "safe-regex": "^1.1.0" @@ -7876,20 +8202,17 @@ "repeat-element": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", - "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==", - "dev": true + "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==" }, "repeat-string": { "version": "1.6.1", "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", - "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", - "dev": true + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=" }, "repeating": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", - "dev": true, "requires": { "is-finite": "^1.0.0" } @@ -7911,6 +8234,33 @@ "readable-stream": "^2.0.2" } }, + "request": { + "version": "2.88.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", + "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", + "requires": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.0", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.4.3", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + } + }, "require-dir": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/require-dir/-/require-dir-0.3.2.tgz", @@ -7955,7 +8305,6 @@ "version": "1.10.0", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.10.0.tgz", "integrity": "sha512-3sUr9aq5OfSg2S9pNtPA9hL1FVEAjvfOC4leW0SNf/mpnaakz2a9femSd6LqAww2RaFctwyf1lCqnTHuF1rxDg==", - "dev": true, "requires": { "path-parse": "^1.0.6" } @@ -7964,7 +8313,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz", "integrity": "sha1-eaQGRMNivoLybv/nOcm7U4IEb0M=", - "dev": true, "requires": { "expand-tilde": "^2.0.0", "global-modules": "^1.0.0" @@ -7979,8 +8327,7 @@ "resolve-url": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", - "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", - "dev": true + "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=" }, "restore-cursor": { "version": "1.0.1", @@ -7995,15 +8342,17 @@ "ret": { "version": "0.1.15", "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", - "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", - "dev": true + "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==" + }, + "retry": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.10.1.tgz", + "integrity": "sha1-52OI0heZLCUnUCQdPTlW/tmNj/Q=" }, "right-align": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", "integrity": "sha1-YTObci/mo1FWiSENJOFMlhSGE+8=", - "dev": true, - "optional": true, "requires": { "align-text": "^0.1.1" } @@ -8012,11 +8361,23 @@ "version": "2.6.3", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", - "dev": true, "requires": { "glob": "^7.1.3" } }, + "rollup": { + "version": "0.36.4", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-0.36.4.tgz", + "integrity": "sha1-oiRJTFOGwdc9OPe7hvafXrARo9I=", + "requires": { + "source-map-support": "^0.4.0" + } + }, + "rsvp": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/rsvp/-/rsvp-3.6.2.tgz", + "integrity": "sha512-OfWGQTb9vnwRjwtA2QwpG2ICclHC3pgXZO5xt8H2EfgDquO0qVdSb5T88L4qJVAEugbS56pAuV4XZM58UX8ulw==" + }, "run-async": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/run-async/-/run-async-0.1.0.tgz", @@ -8045,14 +8406,12 @@ "safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" }, "safe-regex": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", - "dev": true, "requires": { "ret": "~0.1.10" } @@ -8060,14 +8419,12 @@ "safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "dev": true + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "semver": { "version": "4.3.6", "resolved": "https://registry.npmjs.org/semver/-/semver-4.3.6.tgz", - "integrity": "sha1-MAvG4OhjdPe6YQaLWx7NV/xlMto=", - "dev": true + "integrity": "sha1-MAvG4OhjdPe6YQaLWx7NV/xlMto=" }, "sequencify": { "version": "0.0.7", @@ -8085,7 +8442,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.0.tgz", "integrity": "sha512-hw0yxk9GT/Hr5yJEYnHNKYXkIA8mVJgd9ditYZCe16ZczcaELYYcfvaXesNACk2O8O0nTiPQcQhGUQj8JLzeeg==", - "dev": true, "requires": { "extend-shallow": "^2.0.1", "is-extendable": "^0.1.1", @@ -8097,7 +8453,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, "requires": { "is-extendable": "^0.1.0" } @@ -8136,8 +8491,7 @@ "slash": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", - "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=", - "dev": true + "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=" }, "slice-ansi": { "version": "0.0.4", @@ -8149,7 +8503,6 @@ "version": "0.8.2", "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", - "dev": true, "requires": { "base": "^0.11.1", "debug": "^2.2.0", @@ -8165,7 +8518,6 @@ "version": "0.2.5", "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, "requires": { "is-descriptor": "^0.1.0" } @@ -8174,7 +8526,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, "requires": { "is-extendable": "^0.1.0" } @@ -8185,7 +8536,6 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", - "dev": true, "requires": { "define-property": "^1.0.0", "isobject": "^3.0.0", @@ -8196,7 +8546,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, "requires": { "is-descriptor": "^1.0.0" } @@ -8205,7 +8554,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, "requires": { "kind-of": "^6.0.0" } @@ -8214,7 +8562,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, "requires": { "kind-of": "^6.0.0" } @@ -8223,7 +8570,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, "requires": { "is-accessor-descriptor": "^1.0.0", "is-data-descriptor": "^1.0.0", @@ -8236,7 +8582,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", - "dev": true, "requires": { "kind-of": "^3.2.0" }, @@ -8245,7 +8590,6 @@ "version": "3.2.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, "requires": { "is-buffer": "^1.1.5" } @@ -8397,14 +8741,12 @@ "source-map": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" }, "source-map-resolve": { "version": "0.5.2", "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz", "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==", - "dev": true, "requires": { "atob": "^2.1.1", "decode-uri-component": "^0.2.0", @@ -8417,7 +8759,6 @@ "version": "0.4.18", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", - "dev": true, "requires": { "source-map": "^0.5.6" } @@ -8425,8 +8766,7 @@ "source-map-url": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", - "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=", - "dev": true + "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=" }, "sparkles": { "version": "1.0.1", @@ -8479,7 +8819,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", - "dev": true, "requires": { "extend-shallow": "^3.0.0" } @@ -8499,11 +8838,26 @@ "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", "dev": true }, + "sshpk": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", + "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", + "requires": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + } + }, "static-extend": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", - "dev": true, "requires": { "define-property": "^0.2.5", "object-copy": "^0.1.0" @@ -8513,7 +8867,6 @@ "version": "0.2.5", "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, "requires": { "is-descriptor": "^0.1.0" } @@ -8606,7 +8959,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "dev": true, "requires": { "ansi-regex": "^2.0.0" } @@ -8660,8 +9012,71 @@ "supports-color": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", - "dev": true + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" + }, + "systemjs": { + "version": "0.19.46", + "resolved": "https://registry.npmjs.org/systemjs/-/systemjs-0.19.46.tgz", + "integrity": "sha1-wEV0szNfBSoOPHoA7kGIxuTB444=", + "requires": { + "when": "^3.7.5" + } + }, + "systemjs-builder": { + "version": "0.15.36", + "resolved": "https://registry.npmjs.org/systemjs-builder/-/systemjs-builder-0.15.36.tgz", + "integrity": "sha1-MLAjctQifPN4gPWA/mfLTtt/FCA=", + "requires": { + "babel-core": "^6.9.0", + "babel-plugin-transform-cjs-system-wrapper": "^0.3.0", + "babel-plugin-transform-es2015-modules-systemjs": "^6.6.5", + "babel-plugin-transform-global-system-wrapper": "0.0.1", + "babel-plugin-transform-system-register": "0.0.1", + "bluebird": "^3.3.4", + "data-uri-to-buffer": "0.0.4", + "es6-template-strings": "^2.0.0", + "glob": "^7.0.3", + "mkdirp": "^0.5.1", + "rollup": "^0.36.3", + "source-map": "^0.5.3", + "systemjs": "^0.19.43", + "traceur": "0.0.105", + "uglify-js": "~2.7.5" + }, + "dependencies": { + "async": { + "version": "0.2.10", + "resolved": "https://registry.npmjs.org/async/-/async-0.2.10.tgz", + "integrity": "sha1-trvgsGdLnXGXCMo43owjfLUmw9E=" + }, + "camelcase": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz", + "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=" + }, + "uglify-js": { + "version": "2.7.5", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.7.5.tgz", + "integrity": "sha1-RhLAx7qu4rp8SH3kkErhIgefLKg=", + "requires": { + "async": "~0.2.6", + "source-map": "~0.5.1", + "uglify-to-browserify": "~1.0.0", + "yargs": "~3.10.0" + } + }, + "yargs": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", + "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=", + "requires": { + "camelcase": "^1.0.2", + "cliui": "^2.1.0", + "decamelize": "^1.0.0", + "window-size": "0.1.0" + } + } + } }, "table": { "version": "3.8.3", @@ -8710,6 +9125,16 @@ } } }, + "tar": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.1.tgz", + "integrity": "sha1-jk0qJWwOIYXGsYrWlK7JaLg8sdE=", + "requires": { + "block-stream": "*", + "fstream": "^1.0.2", + "inherits": "2" + } + }, "text-extensions": { "version": "1.9.0", "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz", @@ -8807,14 +9232,12 @@ "to-fast-properties": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", - "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=", - "dev": true + "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=" }, "to-object-path": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", - "dev": true, "requires": { "kind-of": "^3.0.2" }, @@ -8823,7 +9246,6 @@ "version": "3.2.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, "requires": { "is-buffer": "^1.1.5" } @@ -8834,7 +9256,6 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", - "dev": true, "requires": { "define-property": "^2.0.2", "extend-shallow": "^3.0.2", @@ -8846,12 +9267,77 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", - "dev": true, "requires": { "is-number": "^3.0.0", "repeat-string": "^1.6.1" } }, + "tough-cookie": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", + "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", + "requires": { + "psl": "^1.1.24", + "punycode": "^1.4.1" + }, + "dependencies": { + "punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" + } + } + }, + "traceur": { + "version": "0.0.105", + "resolved": "https://registry.npmjs.org/traceur/-/traceur-0.0.105.tgz", + "integrity": "sha1-XPne6D1rd4YcPWxE1ThZrterBHk=", + "requires": { + "commander": "2.9.x", + "glob": "5.0.x", + "rsvp": "^3.0.13", + "semver": "^4.3.3", + "source-map-support": "~0.2.8" + }, + "dependencies": { + "commander": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.9.0.tgz", + "integrity": "sha1-nJkJQXbhIkDLItbFFGCYQA/g99Q=", + "requires": { + "graceful-readlink": ">= 1.0.0" + } + }, + "glob": { + "version": "5.0.15", + "resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz", + "integrity": "sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=", + "requires": { + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "2 || 3", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "source-map": { + "version": "0.1.32", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz", + "integrity": "sha1-yLbBZ3l7pHQKjqMyUhYv8IWRsmY=", + "requires": { + "amdefine": ">=0.0.4" + } + }, + "source-map-support": { + "version": "0.2.10", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.2.10.tgz", + "integrity": "sha1-6lo5AKHByyUJagrozFwrSxDe09w=", + "requires": { + "source-map": "0.1.32" + } + } + } + }, "trim-newlines": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", @@ -8867,8 +9353,20 @@ "trim-right": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", - "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=", - "dev": true + "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=" + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" }, "type-check": { "version": "0.3.2", @@ -9024,9 +9522,7 @@ "uglify-to-browserify": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz", - "integrity": "sha1-bgkk1r2mta/jSeOabWMoUKD4grc=", - "dev": true, - "optional": true + "integrity": "sha1-bgkk1r2mta/jSeOabWMoUKD4grc=" }, "ultron": { "version": "1.0.2", @@ -9037,14 +9533,12 @@ "unc-path-regex": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz", - "integrity": "sha1-5z3T17DXxe2G+6xrCufYxqadUPo=", - "dev": true + "integrity": "sha1-5z3T17DXxe2G+6xrCufYxqadUPo=" }, "union-value": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz", "integrity": "sha1-XHHDTLW61dzr4+oM0IIHulqhrqQ=", - "dev": true, "requires": { "arr-union": "^3.1.0", "get-value": "^2.0.6", @@ -9056,7 +9550,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, "requires": { "is-extendable": "^0.1.0" } @@ -9065,7 +9558,6 @@ "version": "0.4.3", "resolved": "https://registry.npmjs.org/set-value/-/set-value-0.4.3.tgz", "integrity": "sha1-fbCPnT0i3H945Trzw79GZuzfzPE=", - "dev": true, "requires": { "extend-shallow": "^2.0.1", "is-extendable": "^0.1.1", @@ -9091,7 +9583,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", - "dev": true, "requires": { "has-value": "^0.3.1", "isobject": "^3.0.0" @@ -9101,7 +9592,6 @@ "version": "0.3.1", "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", - "dev": true, "requires": { "get-value": "^2.0.3", "has-values": "^0.1.4", @@ -9112,7 +9602,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", - "dev": true, "requires": { "isarray": "1.0.0" } @@ -9122,22 +9611,27 @@ "has-values": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", - "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", - "dev": true + "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=" } } }, + "uri-js": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", + "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", + "requires": { + "punycode": "^2.1.0" + } + }, "urix": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", - "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", - "dev": true + "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=" }, "use": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", - "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", - "dev": true + "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==" }, "user-home": { "version": "1.1.1", @@ -9179,6 +9673,11 @@ "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", "dev": true }, + "uuid": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==" + }, "v8flags": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-2.1.1.tgz", @@ -9204,6 +9703,16 @@ "spdx-expression-parse": "^3.0.0" } }, + "verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "requires": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, "vinyl": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-1.2.0.tgz", @@ -9307,11 +9816,15 @@ "integrity": "sha1-wGavtYK7HLQSjWDqkjkulNXp2+w=", "dev": true }, + "when": { + "version": "3.7.8", + "resolved": "https://registry.npmjs.org/when/-/when-3.7.8.tgz", + "integrity": "sha1-xxMLan6gRpPoQs3J56Hyqjmjn4I=" + }, "which": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", - "dev": true, "requires": { "isexe": "^2.0.0" } @@ -9325,9 +9838,7 @@ "window-size": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz", - "integrity": "sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0=", - "dev": true, - "optional": true + "integrity": "sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0=" }, "wordwrap": { "version": "0.0.3", @@ -9348,8 +9859,7 @@ "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, "write": { "version": "0.2.1", @@ -9459,6 +9969,15 @@ } } }, + "yauzl": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", + "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=", + "requires": { + "buffer-crc32": "~0.2.3", + "fd-slicer": "~1.1.0" + } + }, "yeast": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/yeast/-/yeast-0.1.2.tgz", diff --git a/package.json b/package.json index fe786e6..d451d66 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aurelia-polyfills", - "version": "1.3.1", + "version": "1.3.2", "description": "The minimal set of polyfills that the Aurelia platform needs to run on ES5 browsers.", "keywords": [ "aurelia", @@ -28,7 +28,6 @@ ], "jspm": { "registry": "npm", - "jspmPackage": true, "main": "aurelia-polyfills", "format": "amd", "directories": { @@ -37,9 +36,6 @@ "dependencies": { "aurelia-pal": "^1.0.0" }, - "peerDependencies": { - "aurelia-pal": "^1.0.0" - }, "devDependencies": { "babel": "babel-core@^5.8.22", "babel-runtime": "^5.8.20", @@ -47,7 +43,8 @@ } }, "dependencies": { - "aurelia-pal": "^1.0.0" + "aurelia-pal": "^1.0.0", + "jspm": "^0.16.53" }, "devDependencies": { "aurelia-tools": "^0.2.4",