/var/www/greso.tech/server/nsm/node_modules/bluebird/js/release
NameSizeModeActions
any.js4210644editdlrm
assert.js16530644editdlrm
async.js28760644editdlrm
bind.js19700644editdlrm
bluebird.js2910644editdlrm
call_get.js43550644editdlrm
cancel.js37070644editdlrm
catch_filter.js14260644editdlrm
context.js23820644editdlrm
debuggability.js321700644editdlrm
direct_resolve.js13950644editdlrm
each.js7890644editdlrm
errors.js37170644editdlrm
es5.js19780644editdlrm
filter.js3140644editdlrm
finally.js46130644editdlrm
generators.js77610644editdlrm
join.js81360644editdlrm
map.js56020644editdlrm
method.js17680644editdlrm
nodeback.js15600644editdlrm
nodeify.js16470644editdlrm
promise.js269860644editdlrm
promise_array.js52520644editdlrm
promisify.js121820644editdlrm
props.js31170644editdlrm
queue.js18730644editdlrm
race.js12500644editdlrm
reduce.js53720644editdlrm
schedule.js21480644editdlrm
settle.js13660644editdlrm
some.js39590644editdlrm
synchronous_inspection.js28130644editdlrm
thenables.js21310644editdlrm
timers.js23950644editdlrm
using.js75250644editdlrm
util.js113790644editdlrm
Edit: /var/www/greso.tech/server/nsm/node_modules/bluebird/js/release/context.js (2382B)
"use strict"; module.exports = function(Promise) { var longStackTraces = false; var contextStack = []; Promise.prototype._promiseCreated = function() {}; Promise.prototype._pushContext = function() {}; Promise.prototype._popContext = function() {return null;}; Promise._peekContext = Promise.prototype._peekContext = function() {}; function Context() { this._trace = new Context.CapturedTrace(peekContext()); } Context.prototype._pushContext = function () { if (this._trace !== undefined) { this._trace._promiseCreated = null; contextStack.push(this._trace); } }; Context.prototype._popContext = function () { if (this._trace !== undefined) { var trace = contextStack.pop(); var ret = trace._promiseCreated; trace._promiseCreated = null; return ret; } return null; }; function createContext() { if (longStackTraces) return new Context(); } function peekContext() { var lastIndex = contextStack.length - 1; if (lastIndex >= 0) { return contextStack[lastIndex]; } return undefined; } Context.CapturedTrace = null; Context.create = createContext; Context.deactivateLongStackTraces = function() {}; Context.activateLongStackTraces = function() { var Promise_pushContext = Promise.prototype._pushContext; var Promise_popContext = Promise.prototype._popContext; var Promise_PeekContext = Promise._peekContext; var Promise_peekContext = Promise.prototype._peekContext; var Promise_promiseCreated = Promise.prototype._promiseCreated; Context.deactivateLongStackTraces = function() { Promise.prototype._pushContext = Promise_pushContext; Promise.prototype._popContext = Promise_popContext; Promise._peekContext = Promise_PeekContext; Promise.prototype._peekContext = Promise_peekContext; Promise.prototype._promiseCreated = Promise_promiseCreated; longStackTraces = false; }; longStackTraces = true; Promise.prototype._pushContext = Context.prototype._pushContext; Promise.prototype._popContext = Context.prototype._popContext; Promise._peekContext = Promise.prototype._peekContext = peekContext; Promise.prototype._promiseCreated = function() { var ctx = this._peekContext(); if (ctx && ctx._promiseCreated == null) ctx._promiseCreated = this; }; }; return Context; };