PATH:
usr
/
local
/
lib
/
node_modules
/
knex-migrator
/
node_modules
/
core-js
/
modules
'use strict'; var LIBRARY = require('./_library'); var global = require('./_global'); var ctx = require('./_ctx'); var classof = require('./_classof'); var $export = require('./_export'); var isObject = require('./_is-object'); var aFunction = require('./_a-function'); var anInstance = require('./_an-instance'); var forOf = require('./_for-of'); var speciesConstructor = require('./_species-constructor'); var task = require('./_task').set; var microtask = require('./_microtask')(); var newPromiseCapabilityModule = require('./_new-promise-capability'); var perform = require('./_perform'); var userAgent = require('./_user-agent'); var promiseResolve = require('./_promise-resolve'); var PROMISE = 'Promise'; var TypeError = global.TypeError; var process = global.process; var versions = process && process.versions; var v8 = versions && versions.v8 || ''; var $Promise = global[PROMISE]; var isNode = classof(process) == 'process'; var empty = function () { /* empty */ }; var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper; var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f; var USE_NATIVE = !!function () { try { // correct subclassing with @@species support var promise = $Promise.resolve(1); var FakePromise = (promise.constructor = {})[require('./_wks')('species')] = function (exec) { exec(empty, empty); }; // unhandled rejections tracking support, NodeJS Promise without it fails @@species test return (isNode || typeof PromiseRejectionEvent == 'function') && promise.then(empty) instanceof FakePromise // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 // we can't detect it synchronously, so just check versions && v8.indexOf('6.6') !== 0 && userAgent.indexOf('Chrome/66') === -1; } catch (e) { /* empty */ } }(); // helpers var isThenable = function (it) { var then; return isObject(it) && typeof (then = it.then) == 'function' ? then : false; }; var notify = function (promise, isReject) { if (promise._n) return; promise._n = true; var chain = promise._c; microtask(function () { var value = promise._v; var ok = promise._s == 1; var i = 0; var run = function (reaction) { var handler = ok ? reaction.ok : reaction.fail; var resolve = reaction.resolve; var reject = reaction.reject; var domain = reaction.domain; var result, then, exited; try { if (handler) { if (!ok) { if (promise._h == 2) onHandleUnhandled(promise); promise._h = 1; } if (handler === true) result = value; else { if (domain) domain.enter(); result = handler(value); // may throw if (domain) { domain.exit(); exited = true; } } if (result === reaction.promise) { reject(TypeError('Promise-chain cycle')); } else if (then = isThenable(result)) { then.call(result, resolve, reject); } else resolve(result); } else reject(value); } catch (e) { if (domain && !exited) domain.exit(); reject(e); } }; while (chain.length > i) run(chain[i++]); // variable length - can't use forEach promise._c = []; promise._n = false; if (isReject && !promise._h) onUnhandled(promise); }); }; var onUnhandled = function (promise) { task.call(global, function () { var value = promise._v; var unhandled = isUnhandled(promise); var result, handler, console; if (unhandled) { result = perform(function () { if (isNode) { process.emit('unhandledRejection', value, promise); } else if (handler = global.onunhandledrejection) { handler({ promise: promise, reason: value }); } else if ((console = global.console) && console.error) { console.error('Unhandled promise rejection', value); } }); // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should promise._h = isNode || isUnhandled(promise) ? 2 : 1; } promise._a = undefined; if (unhandled && result.e) throw result.v; }); }; var isUnhandled = function (promise) { return promise._h !== 1 && (promise._a || promise._c).length === 0; }; var onHandleUnhandled = function (promise) { task.call(global, function () { var handler; if (isNode) { process.emit('rejectionHandled', promise); } else if (handler = global.onrejectionhandled) { handler({ promise: promise, reason: promise._v }); } }); }; var $reject = function (value) { var promise = this; if (promise._d) return; promise._d = true; promise = promise._w || promise; // unwrap promise._v = value; promise._s = 2; if (!promise._a) promise._a = promise._c.slice(); notify(promise, true); }; var $resolve = function (value) { var promise = this; var then; if (promise._d) return; promise._d = true; promise = promise._w || promise; // unwrap try { if (promise === value) throw TypeError("Promise can't be resolved itself"); if (then = isThenable(value)) { microtask(function () { var wrapper = { _w: promise, _d: false }; // wrap try { then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1)); } catch (e) { $reject.call(wrapper, e); } }); } else { promise._v = value; promise._s = 1; notify(promise, false); } } catch (e) { $reject.call({ _w: promise, _d: false }, e); // wrap } }; // constructor polyfill if (!USE_NATIVE) { // 25.4.3.1 Promise(executor) $Promise = function Promise(executor) { anInstance(this, $Promise, PROMISE, '_h'); aFunction(executor); Internal.call(this); try { executor(ctx($resolve, this, 1), ctx($reject, this, 1)); } catch (err) { $reject.call(this, err); } }; // eslint-disable-next-line no-unused-vars Internal = function Promise(executor) { this._c = []; // <- awaiting reactions this._a = undefined; // <- checked in isUnhandled reactions this._s = 0; // <- state this._d = false; // <- done this._v = undefined; // <- value this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled this._n = false; // <- notify }; Internal.prototype = require('./_redefine-all')($Promise.prototype, { // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected) then: function then(onFulfilled, onRejected) { var reaction = newPromiseCapability(speciesConstructor(this, $Promise)); reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true; reaction.fail = typeof onRejected == 'function' && onRejected; reaction.domain = isNode ? process.domain : undefined; this._c.push(reaction); if (this._a) this._a.push(reaction); if (this._s) notify(this, false); return reaction.promise; }, // 25.4.5.1 Promise.prototype.catch(onRejected) 'catch': function (onRejected) { return this.then(undefined, onRejected); } }); OwnPromiseCapability = function () { var promise = new Internal(); this.promise = promise; this.resolve = ctx($resolve, promise, 1); this.reject = ctx($reject, promise, 1); }; newPromiseCapabilityModule.f = newPromiseCapability = function (C) { return C === $Promise || C === Wrapper ? new OwnPromiseCapability(C) : newGenericPromiseCapability(C); }; } $export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise }); require('./_set-to-string-tag')($Promise, PROMISE); require('./_set-species')(PROMISE); Wrapper = require('./_core')[PROMISE]; // statics $export($export.S + $export.F * !USE_NATIVE, PROMISE, { // 25.4.4.5 Promise.reject(r) reject: function reject(r) { var capability = newPromiseCapability(this); var $$reject = capability.reject; $$reject(r); return capability.promise; } }); $export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, { // 25.4.4.6 Promise.resolve(x) resolve: function resolve(x) { return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x); } }); $export($export.S + $export.F * !(USE_NATIVE && require('./_iter-detect')(function (iter) { $Promise.all(iter)['catch'](empty); })), PROMISE, { // 25.4.4.1 Promise.all(iterable) all: function all(iterable) { var C = this; var capability = newPromiseCapability(C); var resolve = capability.resolve; var reject = capability.reject; var result = perform(function () { var values = []; var index = 0; var remaining = 1; forOf(iterable, false, function (promise) { var $index = index++; var alreadyCalled = false; values.push(undefined); remaining++; C.resolve(promise).then(function (value) { if (alreadyCalled) return; alreadyCalled = true; values[$index] = value; --remaining || resolve(values); }, reject); }); --remaining || resolve(values); }); if (result.e) reject(result.v); return capability.promise; }, // 25.4.4.4 Promise.race(iterable) race: function race(iterable) { var C = this; var capability = newPromiseCapability(C); var reject = capability.reject; var result = perform(function () { forOf(iterable, false, function (promise) { C.resolve(promise).then(capability.resolve, reject); }); }); if (result.e) reject(result.v); return capability.promise; } });
[+]
..
[-] es6.weak-set.js
[edit]
[-] _invoke.js
[edit]
[-] _to-object.js
[edit]
[-] es6.typed.array-buffer.js
[edit]
[-] _set-to-string-tag.js
[edit]
[-] es7.set.from.js
[edit]
[-] es7.string.pad-end.js
[edit]
[-] es6.math.fround.js
[edit]
[-] _to-integer.js
[edit]
[-] _object-pie.js
[edit]
[-] _enum-bug-keys.js
[edit]
[-] es6.regexp.constructor.js
[edit]
[-] _is-regexp.js
[edit]
[-] _date-to-primitive.js
[edit]
[-] es6.object.prevent-extensions.js
[edit]
[-] es6.reflect.own-keys.js
[edit]
[-] _validate-collection.js
[edit]
[-] _set-species.js
[edit]
[-] es6.reflect.define-property.js
[edit]
[-] es6.number.max-safe-integer.js
[edit]
[-] core.string.unescape-html.js
[edit]
[-] _regexp-exec.js
[edit]
[-] es6.date.to-string.js
[edit]
[-] _is-array-iter.js
[edit]
[-] _same-value.js
[edit]
[-] _object-sap.js
[edit]
[-] es6.math.sign.js
[edit]
[-] _object-dp.js
[edit]
[-] _collection-weak.js
[edit]
[-] es6.math.imul.js
[edit]
[-] es6.array.is-array.js
[edit]
[-] _classof.js
[edit]
[-] _collection.js
[edit]
[-] es6.array.iterator.js
[edit]
[-] _keyof.js
[edit]
[-] es7.object.define-setter.js
[edit]
[-] _collection-strong.js
[edit]
[-] es6.parse-float.js
[edit]
[-] es6.string.italics.js
[edit]
[-] es7.weak-map.of.js
[edit]
[-] es6.regexp.search.js
[edit]
[-] _object-assign.js
[edit]
[-] es6.string.includes.js
[edit]
[-] es6.typed.data-view.js
[edit]
[-] es6.number.to-precision.js
[edit]
[-] es6.string.trim.js
[edit]
[-] es6.reflect.has.js
[edit]
[-] es6.typed.float32-array.js
[edit]
[-] es6.string.blink.js
[edit]
[-] _create-property.js
[edit]
[-] es7.promise.try.js
[edit]
[-] es6.object.get-prototype-of.js
[edit]
[-] es6.array.reduce-right.js
[edit]
[-] es6.array.find.js
[edit]
[-] _global.js
[edit]
[-] _partial.js
[edit]
[-] es6.weak-map.js
[edit]
[-] es6.reflect.set-prototype-of.js
[edit]
[-] es6.reflect.enumerate.js
[edit]
[-] _string-pad.js
[edit]
[-] es6.array.fill.js
[edit]
[-] _inherit-if-required.js
[edit]
[-] es7.array.flat-map.js
[edit]
[-] _object-gopn.js
[edit]
[-] es7.object.lookup-getter.js
[edit]
[-] _core.js
[edit]
[-] es6.object.get-own-property-descriptor.js
[edit]
[-] es7.object.get-own-property-descriptors.js
[edit]
[-] _iterators.js
[edit]
[-] _enum-keys.js
[edit]
[-] _array-from-iterable.js
[edit]
[-] es6.reflect.get-own-property-descriptor.js
[edit]
[-] es6.regexp.exec.js
[edit]
[-] _to-absolute-index.js
[edit]
[-] es7.string.at.js
[edit]
[-] es6.object.is-extensible.js
[edit]
[-] es7.math.signbit.js
[edit]
[-] _fails-is-regexp.js
[edit]
[-] _collection-to-json.js
[edit]
[-] _array-copy-within.js
[edit]
[-] es6.string.link.js
[edit]
[-] _date-to-iso-string.js
[edit]
[-] _parse-int.js
[edit]
[-] es7.weak-set.from.js
[edit]
[-] web.dom.iterable.js
[edit]
[-] _parse-float.js
[edit]
[-] es6.number.epsilon.js
[edit]
[-] es6.reflect.get-prototype-of.js
[edit]
[-] _function-to-string.js
[edit]
[-] _object-to-array.js
[edit]
[-] es6.object.is-frozen.js
[edit]
[-] core.object.is-object.js
[edit]
[-] _string-repeat.js
[edit]
[-] es7.map.to-json.js
[edit]
[-] es7.math.iaddh.js
[edit]
[-] _string-context.js
[edit]
[-] _iter-detect.js
[edit]
[-] es6.math.sinh.js
[edit]
[-] es7.reflect.has-metadata.js
[edit]
[-] core.number.iterator.js
[edit]
[-] es7.math.clamp.js
[edit]
[-] es7.string.trim-left.js
[edit]
[-] es6.object.create.js
[edit]
[-] es6.object.get-own-property-names.js
[edit]
[-] es6.math.trunc.js
[edit]
[-] es6.reflect.construct.js
[edit]
[-] _array-methods.js
[edit]
[-] web.immediate.js
[edit]
[-] es7.reflect.delete-metadata.js
[edit]
[-] es5.js
[edit]
[-] es7.weak-map.from.js
[edit]
[-] web.timers.js
[edit]
[-] _to-primitive.js
[edit]
[-] _fix-re-wks.js
[edit]
[-] es6.number.is-nan.js
[edit]
[-] _shared.js
[edit]
[-] es6.object.keys.js
[edit]
[-] _a-number-value.js
[edit]
[-] _new-promise-capability.js
[edit]
[-] es7.reflect.get-own-metadata-keys.js
[edit]
[-] es6.string.ends-with.js
[edit]
[-] _iobject.js
[edit]
[-] _strict-method.js
[edit]
[-] _ie8-dom-define.js
[edit]
[-] _math-scale.js
[edit]
[-] es6.function.name.js
[edit]
[-] core.dict.js
[edit]
[-] _replacer.js
[edit]
[-] es6.string.fixed.js
[edit]
[-] _advance-string-index.js
[edit]
[-] es6.parse-int.js
[edit]
[-] _set-collection-from.js
[edit]
[-] es7.map.of.js
[edit]
[-] _uid.js
[edit]
[-] _object-dps.js
[edit]
[-] es7.reflect.has-own-metadata.js
[edit]
[-] _promise-resolve.js
[edit]
[-] core.get-iterator.js
[edit]
[-] es6.object.is.js
[edit]
[-] core.get-iterator-method.js
[edit]
[-] _redefine-all.js
[edit]
[-] _string-ws.js
[edit]
[-] es7.object.lookup-setter.js
[edit]
[-] _object-gopn-ext.js
[edit]
[-] _for-of.js
[edit]
[-] es6.array.some.js
[edit]
[-] _set-collection-of.js
[edit]
[-] es6.set.js
[edit]
[-] es6.number.parse-int.js
[edit]
[-] es6.number.is-finite.js
[edit]
[-] _iter-create.js
[edit]
[-] es6.math.clz32.js
[edit]
[-] es7.math.scale.js
[edit]
[-] es7.math.isubh.js
[edit]
[-] _shared-key.js
[edit]
[-] es6.regexp.split.js
[edit]
[-] es6.function.bind.js
[edit]
[-] es6.object.assign.js
[edit]
[-] _to-iobject.js
[edit]
[-] es6.object.define-property.js
[edit]
[-] es6.function.has-instance.js
[edit]
[-] es6.object.is-sealed.js
[edit]
[-] es6.string.strike.js
[edit]
[-] es7.set.to-json.js
[edit]
[-] _typed-array.js
[edit]
[-] es6.typed.uint32-array.js
[edit]
[-] es6.array.for-each.js
[edit]
[-] _wks-ext.js
[edit]
[-] _an-instance.js
[edit]
[-] _math-fround.js
[edit]
[-] es6.typed.int8-array.js
[edit]
[-] es6.math.atanh.js
[edit]
[-] core.is-iterable.js
[edit]
[-] es7.math.radians.js
[edit]
[-] es6.reflect.delete-property.js
[edit]
[-] es6.array.filter.js
[edit]
[-] es7.reflect.get-metadata.js
[edit]
[-] es6.typed.int16-array.js
[edit]
[-] _object-gops.js
[edit]
[-] _math-log1p.js
[edit]
[-] es6.date.to-iso-string.js
[edit]
[-] _array-species-create.js
[edit]
[-] es6.string.raw.js
[edit]
[-] es6.date.to-json.js
[edit]
[-] _has.js
[edit]
[-] _to-index.js
[edit]
[-] _ctx.js
[edit]
[-] _entry-virtual.js
[edit]
[-] es6.math.acosh.js
[edit]
[-] es6.typed.uint8-clamped-array.js
[edit]
[-] es6.math.expm1.js
[edit]
[-] es6.array.copy-within.js
[edit]
[-] es6.string.sup.js
[edit]
[-] es6.array.every.js
[edit]
[-] _descriptors.js
[edit]
[-] es6.map.js
[edit]
[-] es6.typed.uint16-array.js
[edit]
[-] es7.global.js
[edit]
[-] _perform.js
[edit]
[-] es6.reflect.get.js
[edit]
[-] _dom-create.js
[edit]
[-] es6.string.code-point-at.js
[edit]
[-] es6.object.set-prototype-of.js
[edit]
[-] es7.reflect.get-own-metadata.js
[edit]
[-] es7.math.degrees.js
[edit]
[-] es6.number.constructor.js
[edit]
[-] es6.string.sub.js
[edit]
[-] _string-at.js
[edit]
[-] _flags.js
[edit]
[-] es6.string.bold.js
[edit]
[-] es7.math.rad-per-deg.js
[edit]
[-] es7.map.from.js
[edit]
[-] es6.reflect.apply.js
[edit]
[-] _iter-define.js
[edit]
[-] es6.array.species.js
[edit]
[-] core.string.escape-html.js
[edit]
[-] es6.string.repeat.js
[edit]
[-] es6.array.from.js
[edit]
[-] es7.set.of.js
[edit]
[-] _typed.js
[edit]
[-] es6.regexp.flags.js
[edit]
[-] es6.array.sort.js
[edit]
[-] _meta.js
[edit]
[-] _flatten-into-array.js
[edit]
[-] _object-keys.js
[edit]
[-] _string-trim.js
[edit]
[-] _microtask.js
[edit]
[-] _math-expm1.js
[edit]
[-] es6.array.join.js
[edit]
[-] core.object.make.js
[edit]
[-] es6.number.min-safe-integer.js
[edit]
[-] es6.string.big.js
[edit]
[-] _object-forced-pam.js
[edit]
[-] es7.weak-set.of.js
[edit]
[-] _native-weak-map.js
[edit]
[-] _object-gpo.js
[edit]
[-] es6.string.fontsize.js
[edit]
[-] es6.reflect.set.js
[edit]
[-] _cof.js
[edit]
[-] es6.math.cbrt.js
[edit]
[-] _wks-define.js
[edit]
[-] es7.math.deg-per-rad.js
[edit]
[-] es6.object.seal.js
[edit]
[-] es7.math.imulh.js
[edit]
[-] es7.error.is-error.js
[edit]
[-] _is-array.js
[edit]
[-] _a-function.js
[edit]
[-] es6.number.is-safe-integer.js
[edit]
[-] _export.js
[edit]
[-] _object-gopd.js
[edit]
[-] es7.object.entries.js
[edit]
[-] _object-define.js
[edit]
[-] es6.number.to-fixed.js
[edit]
[-] _string-html.js
[edit]
[-] _typed-buffer.js
[edit]
[-] es6.math.hypot.js
[edit]
[-] _fails.js
[edit]
[-] es7.string.match-all.js
[edit]
[-] _html.js
[edit]
[-] es6.string.anchor.js
[edit]
[-] _is-integer.js
[edit]
[-] es6.regexp.to-string.js
[edit]
[+]
library
[-] _array-reduce.js
[edit]
[-] es7.object.define-getter.js
[edit]
[-] es6.symbol.js
[edit]
[-] _iter-step.js
[edit]
[-] es6.array.map.js
[edit]
[-] es6.array.last-index-of.js
[edit]
[-] es6.object.to-string.js
[edit]
[-] es6.string.fontcolor.js
[edit]
[-] es6.number.parse-float.js
[edit]
[-] es7.observable.js
[edit]
[-] _an-object.js
[edit]
[-] _array-fill.js
[edit]
[-] es7.object.values.js
[edit]
[-] _object-keys-internal.js
[edit]
[-] es7.math.umulh.js
[edit]
[-] _wks.js
[edit]
[-] es6.string.starts-with.js
[edit]
[-] es6.object.define-properties.js
[edit]
[-] es7.math.fscale.js
[edit]
[-] es6.math.asinh.js
[edit]
[-] core.function.part.js
[edit]
[-] _add-to-unscopables.js
[edit]
[-] es7.string.trim-right.js
[edit]
[-] _array-species-constructor.js
[edit]
[-] _array-includes.js
[edit]
[-] _set-proto.js
[edit]
[-] es7.reflect.get-metadata-keys.js
[edit]
[-] es6.string.from-code-point.js
[edit]
[-] es6.regexp.match.js
[edit]
[-] es6.number.is-integer.js
[edit]
[-] es6.regexp.replace.js
[edit]
[-] es7.system.global.js
[edit]
[-] _bind.js
[edit]
[-] es6.object.freeze.js
[edit]
[-] es7.promise.finally.js
[edit]
[-] es6.typed.int32-array.js
[edit]
[-] _regexp-exec-abstract.js
[edit]
[-] core.delay.js
[edit]
[-] es6.array.find-index.js
[edit]
[-] es7.reflect.define-metadata.js
[edit]
[-] es7.reflect.metadata.js
[edit]
[-] _is-object.js
[edit]
[-] es7.array.flatten.js
[edit]
[-] core.object.define.js
[edit]
[-] _iter-call.js
[edit]
[-] _species-constructor.js
[edit]
[-] es6.math.tanh.js
[edit]
[-] core.regexp.escape.js
[edit]
[-] _object-create.js
[edit]
[-] es6.reflect.prevent-extensions.js
[edit]
[-] es6.array.index-of.js
[edit]
[-] es6.array.slice.js
[edit]
[-] es6.math.cosh.js
[edit]
[-] _task.js
[edit]
[-] es6.string.iterator.js
[edit]
[-] es6.date.now.js
[edit]
[-] _path.js
[edit]
[-] _hide.js
[edit]
[-] es7.asap.js
[edit]
[-] _defined.js
[edit]
[-] core.object.classof.js
[edit]
[-] es6.reflect.is-extensible.js
[edit]
[-] es6.math.log1p.js
[edit]
[-] es6.typed.uint8-array.js
[edit]
[-] es6.date.to-primitive.js
[edit]
[-] _property-desc.js
[edit]
[-] es6.promise.js
[edit]
[-] _redefine.js
[edit]
[-] es7.string.pad-start.js
[edit]
[-] es6.math.log10.js
[edit]
[-] es6.string.small.js
[edit]
[-] _math-sign.js
[edit]
[-] _metadata.js
[edit]
[-] _own-keys.js
[edit]
[-] es6.math.log2.js
[edit]
[-] _to-length.js
[edit]
[-] _library.js
[edit]
[-] es6.typed.float64-array.js
[edit]
[-] es7.array.includes.js
[edit]
[-] es6.array.reduce.js
[edit]
[-] es7.symbol.observable.js
[edit]
[-] _user-agent.js
[edit]
[-] es6.array.of.js
[edit]
[-] es7.symbol.async-iterator.js
[edit]