mirror of
https://github.com/S2-/gitlit
synced 2025-08-04 05:10:05 +02:00
update dependencies
This commit is contained in:
58
app/node_modules/bluebird/js/browser/bluebird.core.js
generated
vendored
58
app/node_modules/bluebird/js/browser/bluebird.core.js
generated
vendored
@@ -1,7 +1,7 @@
|
||||
/* @preserve
|
||||
* The MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2013-2017 Petka Antonov
|
||||
* Copyright (c) 2013-2018 Petka Antonov
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
@@ -23,7 +23,7 @@
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* bluebird build version 3.5.1
|
||||
* bluebird build version 3.5.2
|
||||
* Features enabled: core
|
||||
* Features disabled: race, call_get, generators, map, nodeify, promisify, props, reduce, settle, some, using, timers, filter, any, each
|
||||
*/
|
||||
@@ -156,24 +156,28 @@ if (!util.hasDevTools) {
|
||||
};
|
||||
}
|
||||
|
||||
Async.prototype._drainQueue = function(queue) {
|
||||
function _drainQueue(queue) {
|
||||
while (queue.length() > 0) {
|
||||
var fn = queue.shift();
|
||||
if (typeof fn !== "function") {
|
||||
fn._settlePromises();
|
||||
continue;
|
||||
}
|
||||
_drainQueueStep(queue);
|
||||
}
|
||||
}
|
||||
|
||||
function _drainQueueStep(queue) {
|
||||
var fn = queue.shift();
|
||||
if (typeof fn !== "function") {
|
||||
fn._settlePromises();
|
||||
} else {
|
||||
var receiver = queue.shift();
|
||||
var arg = queue.shift();
|
||||
fn.call(receiver, arg);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Async.prototype._drainQueues = function () {
|
||||
this._drainQueue(this._normalQueue);
|
||||
_drainQueue(this._normalQueue);
|
||||
this._reset();
|
||||
this._haveDrainedQueues = true;
|
||||
this._drainQueue(this._lateQueue);
|
||||
_drainQueue(this._lateQueue);
|
||||
};
|
||||
|
||||
Async.prototype._queueTick = function () {
|
||||
@@ -525,6 +529,7 @@ var getDomain = Promise._getDomain;
|
||||
var async = Promise._async;
|
||||
var Warning = _dereq_("./errors").Warning;
|
||||
var util = _dereq_("./util");
|
||||
var es5 = _dereq_("./es5");
|
||||
var canAttachTrace = util.canAttachTrace;
|
||||
var unhandledRejectionHandled;
|
||||
var possiblyUnhandledRejection;
|
||||
@@ -643,6 +648,7 @@ Promise.longStackTraces = function () {
|
||||
if (!config.longStackTraces && longStackTracesIsSupported()) {
|
||||
var Promise_captureStackTrace = Promise.prototype._captureStackTrace;
|
||||
var Promise_attachExtraTrace = Promise.prototype._attachExtraTrace;
|
||||
var Promise_dereferenceTrace = Promise.prototype._dereferenceTrace;
|
||||
config.longStackTraces = true;
|
||||
disableLongStackTraces = function() {
|
||||
if (async.haveItemsQueued() && !config.longStackTraces) {
|
||||
@@ -650,12 +656,14 @@ Promise.longStackTraces = function () {
|
||||
}
|
||||
Promise.prototype._captureStackTrace = Promise_captureStackTrace;
|
||||
Promise.prototype._attachExtraTrace = Promise_attachExtraTrace;
|
||||
Promise.prototype._dereferenceTrace = Promise_dereferenceTrace;
|
||||
Context.deactivateLongStackTraces();
|
||||
async.enableTrampoline();
|
||||
config.longStackTraces = false;
|
||||
};
|
||||
Promise.prototype._captureStackTrace = longStackTracesCaptureStackTrace;
|
||||
Promise.prototype._attachExtraTrace = longStackTracesAttachExtraTrace;
|
||||
Promise.prototype._dereferenceTrace = longStackTracesDereferenceTrace;
|
||||
Context.activateLongStackTraces();
|
||||
async.disableTrampolineIfNecessary();
|
||||
}
|
||||
@@ -671,10 +679,14 @@ var fireDomEvent = (function() {
|
||||
var event = new CustomEvent("CustomEvent");
|
||||
util.global.dispatchEvent(event);
|
||||
return function(name, event) {
|
||||
var domEvent = new CustomEvent(name.toLowerCase(), {
|
||||
var eventData = {
|
||||
detail: event,
|
||||
cancelable: true
|
||||
});
|
||||
};
|
||||
es5.defineProperty(
|
||||
eventData, "promise", {value: event.promise});
|
||||
es5.defineProperty(eventData, "reason", {value: event.reason});
|
||||
var domEvent = new CustomEvent(name.toLowerCase(), eventData);
|
||||
return !util.global.dispatchEvent(domEvent);
|
||||
};
|
||||
} else if (typeof Event === "function") {
|
||||
@@ -685,6 +697,8 @@ var fireDomEvent = (function() {
|
||||
cancelable: true
|
||||
});
|
||||
domEvent.detail = event;
|
||||
es5.defineProperty(domEvent, "promise", {value: event.promise});
|
||||
es5.defineProperty(domEvent, "reason", {value: event.reason});
|
||||
return !util.global.dispatchEvent(domEvent);
|
||||
};
|
||||
} else {
|
||||
@@ -833,6 +847,7 @@ Promise.prototype._attachCancellationCallback = function(onCancel) {
|
||||
};
|
||||
Promise.prototype._captureStackTrace = function () {};
|
||||
Promise.prototype._attachExtraTrace = function () {};
|
||||
Promise.prototype._dereferenceTrace = function () {};
|
||||
Promise.prototype._clearCancellationData = function() {};
|
||||
Promise.prototype._propagateFrom = function (parent, flags) {
|
||||
;
|
||||
@@ -938,6 +953,10 @@ function longStackTracesAttachExtraTrace(error, ignoreSelf) {
|
||||
}
|
||||
}
|
||||
|
||||
function longStackTracesDereferenceTrace() {
|
||||
this._trace = undefined;
|
||||
}
|
||||
|
||||
function checkForgottenReturns(returnValue, promiseCreated, name, promise,
|
||||
parent) {
|
||||
if (returnValue === undefined && promiseCreated !== null &&
|
||||
@@ -1439,7 +1458,7 @@ return {
|
||||
};
|
||||
};
|
||||
|
||||
},{"./errors":9,"./util":21}],8:[function(_dereq_,module,exports){
|
||||
},{"./errors":9,"./es5":10,"./util":21}],8:[function(_dereq_,module,exports){
|
||||
"use strict";
|
||||
module.exports = function(Promise) {
|
||||
function returner() {
|
||||
@@ -2757,6 +2776,7 @@ Promise.prototype._fulfill = function (value) {
|
||||
} else {
|
||||
async.settlePromises(this);
|
||||
}
|
||||
this._dereferenceTrace();
|
||||
}
|
||||
};
|
||||
|
||||
@@ -2851,7 +2871,7 @@ _dereq_("./synchronous_inspection")(Promise);
|
||||
_dereq_("./join")(
|
||||
Promise, PromiseArray, tryConvertToPromise, INTERNAL, async, getDomain);
|
||||
Promise.Promise = Promise;
|
||||
Promise.version = "3.5.1";
|
||||
Promise.version = "3.5.2";
|
||||
|
||||
util.toFastProperties(Promise);
|
||||
util.toFastProperties(Promise.prototype);
|
||||
@@ -3593,8 +3613,12 @@ function toFastProperties(obj) {
|
||||
/*jshint -W027,-W055,-W031*/
|
||||
function FakeConstructor() {}
|
||||
FakeConstructor.prototype = obj;
|
||||
var l = 8;
|
||||
while (l--) new FakeConstructor();
|
||||
var receiver = new FakeConstructor();
|
||||
function ic() {
|
||||
return typeof receiver.foo;
|
||||
}
|
||||
ic();
|
||||
ic();
|
||||
return obj;
|
||||
eval(obj);
|
||||
}
|
||||
|
8
app/node_modules/bluebird/js/browser/bluebird.core.min.js
generated
vendored
8
app/node_modules/bluebird/js/browser/bluebird.core.min.js
generated
vendored
File diff suppressed because one or more lines are too long
58
app/node_modules/bluebird/js/browser/bluebird.js
generated
vendored
58
app/node_modules/bluebird/js/browser/bluebird.js
generated
vendored
@@ -1,7 +1,7 @@
|
||||
/* @preserve
|
||||
* The MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2013-2017 Petka Antonov
|
||||
* Copyright (c) 2013-2018 Petka Antonov
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
@@ -23,7 +23,7 @@
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* bluebird build version 3.5.1
|
||||
* bluebird build version 3.5.2
|
||||
* Features enabled: core, race, call_get, generators, map, nodeify, promisify, props, reduce, settle, some, using, timers, filter, any, each
|
||||
*/
|
||||
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.Promise=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof _dereq_=="function"&&_dereq_;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof _dereq_=="function"&&_dereq_;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
|
||||
@@ -178,24 +178,28 @@ if (!util.hasDevTools) {
|
||||
};
|
||||
}
|
||||
|
||||
Async.prototype._drainQueue = function(queue) {
|
||||
function _drainQueue(queue) {
|
||||
while (queue.length() > 0) {
|
||||
var fn = queue.shift();
|
||||
if (typeof fn !== "function") {
|
||||
fn._settlePromises();
|
||||
continue;
|
||||
}
|
||||
_drainQueueStep(queue);
|
||||
}
|
||||
}
|
||||
|
||||
function _drainQueueStep(queue) {
|
||||
var fn = queue.shift();
|
||||
if (typeof fn !== "function") {
|
||||
fn._settlePromises();
|
||||
} else {
|
||||
var receiver = queue.shift();
|
||||
var arg = queue.shift();
|
||||
fn.call(receiver, arg);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Async.prototype._drainQueues = function () {
|
||||
this._drainQueue(this._normalQueue);
|
||||
_drainQueue(this._normalQueue);
|
||||
this._reset();
|
||||
this._haveDrainedQueues = true;
|
||||
this._drainQueue(this._lateQueue);
|
||||
_drainQueue(this._lateQueue);
|
||||
};
|
||||
|
||||
Async.prototype._queueTick = function () {
|
||||
@@ -672,6 +676,7 @@ var getDomain = Promise._getDomain;
|
||||
var async = Promise._async;
|
||||
var Warning = _dereq_("./errors").Warning;
|
||||
var util = _dereq_("./util");
|
||||
var es5 = _dereq_("./es5");
|
||||
var canAttachTrace = util.canAttachTrace;
|
||||
var unhandledRejectionHandled;
|
||||
var possiblyUnhandledRejection;
|
||||
@@ -790,6 +795,7 @@ Promise.longStackTraces = function () {
|
||||
if (!config.longStackTraces && longStackTracesIsSupported()) {
|
||||
var Promise_captureStackTrace = Promise.prototype._captureStackTrace;
|
||||
var Promise_attachExtraTrace = Promise.prototype._attachExtraTrace;
|
||||
var Promise_dereferenceTrace = Promise.prototype._dereferenceTrace;
|
||||
config.longStackTraces = true;
|
||||
disableLongStackTraces = function() {
|
||||
if (async.haveItemsQueued() && !config.longStackTraces) {
|
||||
@@ -797,12 +803,14 @@ Promise.longStackTraces = function () {
|
||||
}
|
||||
Promise.prototype._captureStackTrace = Promise_captureStackTrace;
|
||||
Promise.prototype._attachExtraTrace = Promise_attachExtraTrace;
|
||||
Promise.prototype._dereferenceTrace = Promise_dereferenceTrace;
|
||||
Context.deactivateLongStackTraces();
|
||||
async.enableTrampoline();
|
||||
config.longStackTraces = false;
|
||||
};
|
||||
Promise.prototype._captureStackTrace = longStackTracesCaptureStackTrace;
|
||||
Promise.prototype._attachExtraTrace = longStackTracesAttachExtraTrace;
|
||||
Promise.prototype._dereferenceTrace = longStackTracesDereferenceTrace;
|
||||
Context.activateLongStackTraces();
|
||||
async.disableTrampolineIfNecessary();
|
||||
}
|
||||
@@ -818,10 +826,14 @@ var fireDomEvent = (function() {
|
||||
var event = new CustomEvent("CustomEvent");
|
||||
util.global.dispatchEvent(event);
|
||||
return function(name, event) {
|
||||
var domEvent = new CustomEvent(name.toLowerCase(), {
|
||||
var eventData = {
|
||||
detail: event,
|
||||
cancelable: true
|
||||
});
|
||||
};
|
||||
es5.defineProperty(
|
||||
eventData, "promise", {value: event.promise});
|
||||
es5.defineProperty(eventData, "reason", {value: event.reason});
|
||||
var domEvent = new CustomEvent(name.toLowerCase(), eventData);
|
||||
return !util.global.dispatchEvent(domEvent);
|
||||
};
|
||||
} else if (typeof Event === "function") {
|
||||
@@ -832,6 +844,8 @@ var fireDomEvent = (function() {
|
||||
cancelable: true
|
||||
});
|
||||
domEvent.detail = event;
|
||||
es5.defineProperty(domEvent, "promise", {value: event.promise});
|
||||
es5.defineProperty(domEvent, "reason", {value: event.reason});
|
||||
return !util.global.dispatchEvent(domEvent);
|
||||
};
|
||||
} else {
|
||||
@@ -980,6 +994,7 @@ Promise.prototype._attachCancellationCallback = function(onCancel) {
|
||||
};
|
||||
Promise.prototype._captureStackTrace = function () {};
|
||||
Promise.prototype._attachExtraTrace = function () {};
|
||||
Promise.prototype._dereferenceTrace = function () {};
|
||||
Promise.prototype._clearCancellationData = function() {};
|
||||
Promise.prototype._propagateFrom = function (parent, flags) {
|
||||
;
|
||||
@@ -1085,6 +1100,10 @@ function longStackTracesAttachExtraTrace(error, ignoreSelf) {
|
||||
}
|
||||
}
|
||||
|
||||
function longStackTracesDereferenceTrace() {
|
||||
this._trace = undefined;
|
||||
}
|
||||
|
||||
function checkForgottenReturns(returnValue, promiseCreated, name, promise,
|
||||
parent) {
|
||||
if (returnValue === undefined && promiseCreated !== null &&
|
||||
@@ -1586,7 +1605,7 @@ return {
|
||||
};
|
||||
};
|
||||
|
||||
},{"./errors":12,"./util":36}],10:[function(_dereq_,module,exports){
|
||||
},{"./errors":12,"./es5":13,"./util":36}],10:[function(_dereq_,module,exports){
|
||||
"use strict";
|
||||
module.exports = function(Promise) {
|
||||
function returner() {
|
||||
@@ -3405,6 +3424,7 @@ Promise.prototype._fulfill = function (value) {
|
||||
} else {
|
||||
async.settlePromises(this);
|
||||
}
|
||||
this._dereferenceTrace();
|
||||
}
|
||||
};
|
||||
|
||||
@@ -3499,7 +3519,7 @@ _dereq_("./synchronous_inspection")(Promise);
|
||||
_dereq_("./join")(
|
||||
Promise, PromiseArray, tryConvertToPromise, INTERNAL, async, getDomain);
|
||||
Promise.Promise = Promise;
|
||||
Promise.version = "3.5.1";
|
||||
Promise.version = "3.5.2";
|
||||
_dereq_('./map.js')(Promise, PromiseArray, apiRejection, tryConvertToPromise, INTERNAL, debug);
|
||||
_dereq_('./call_get.js')(Promise);
|
||||
_dereq_('./using.js')(Promise, apiRejection, tryConvertToPromise, createContext, INTERNAL, debug);
|
||||
@@ -5435,8 +5455,12 @@ function toFastProperties(obj) {
|
||||
/*jshint -W027,-W055,-W031*/
|
||||
function FakeConstructor() {}
|
||||
FakeConstructor.prototype = obj;
|
||||
var l = 8;
|
||||
while (l--) new FakeConstructor();
|
||||
var receiver = new FakeConstructor();
|
||||
function ic() {
|
||||
return typeof receiver.foo;
|
||||
}
|
||||
ic();
|
||||
ic();
|
||||
return obj;
|
||||
eval(obj);
|
||||
}
|
||||
|
10
app/node_modules/bluebird/js/browser/bluebird.min.js
generated
vendored
10
app/node_modules/bluebird/js/browser/bluebird.min.js
generated
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user