$82 GRAYBYTE WORDPRESS FILE MANAGER $66

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/lib/node_modules/npm/node_modules/bluebird/js/release/

HOME
Current File : /lib/node_modules/npm/node_modules/bluebird/js/release//context.js
"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;
};

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
31 Aug 2024 8.02 AM
root / root
0755
any.js
0.411 KB
10 Mar 2021 9.36 PM
root / root
0644
assert.js
1.614 KB
10 Mar 2021 9.36 PM
root / root
0644
async.js
4.05 KB
10 Mar 2021 9.36 PM
root / root
0644
bind.js
1.924 KB
10 Mar 2021 9.36 PM
root / root
0644
bluebird.js
0.284 KB
10 Mar 2021 9.36 PM
root / root
0644
call_get.js
4.253 KB
10 Mar 2021 9.36 PM
root / root
0644
cancel.js
3.62 KB
10 Mar 2021 9.36 PM
root / root
0644
catch_filter.js
1.393 KB
10 Mar 2021 9.36 PM
root / root
0644
context.js
2.326 KB
10 Mar 2021 9.36 PM
root / root
0644
debuggability.js
29.63 KB
10 Mar 2021 9.36 PM
root / root
0644
direct_resolve.js
1.362 KB
10 Mar 2021 9.36 PM
root / root
0644
each.js
0.771 KB
10 Mar 2021 9.36 PM
root / root
0644
errors.js
3.63 KB
10 Mar 2021 9.36 PM
root / root
0644
es5.js
1.932 KB
10 Mar 2021 9.36 PM
root / root
0644
filter.js
0.307 KB
10 Mar 2021 9.36 PM
root / root
0644
finally.js
4.505 KB
10 Mar 2021 9.36 PM
root / root
0644
generators.js
7.579 KB
10 Mar 2021 9.36 PM
root / root
0644
join.js
8.025 KB
10 Mar 2021 9.36 PM
root / root
0644
map.js
5.251 KB
10 Mar 2021 9.36 PM
root / root
0644
method.js
1.727 KB
10 Mar 2021 9.36 PM
root / root
0644
nodeback.js
1.523 KB
10 Mar 2021 9.36 PM
root / root
0644
nodeify.js
1.608 KB
10 Mar 2021 9.36 PM
root / root
0644
promise.js
25.591 KB
10 Mar 2021 9.36 PM
root / root
0644
promise_array.js
5.084 KB
10 Mar 2021 9.36 PM
root / root
0644
promisify.js
11.896 KB
10 Mar 2021 9.36 PM
root / root
0644
props.js
3.044 KB
10 Mar 2021 9.36 PM
root / root
0644
queue.js
1.829 KB
10 Mar 2021 9.36 PM
root / root
0644
race.js
1.221 KB
10 Mar 2021 9.36 PM
root / root
0644
reduce.js
5.006 KB
10 Mar 2021 9.36 PM
root / root
0644
schedule.js
2.098 KB
10 Mar 2021 9.36 PM
root / root
0644
settle.js
1.233 KB
10 Mar 2021 9.36 PM
root / root
0644
some.js
3.866 KB
10 Mar 2021 9.36 PM
root / root
0644
synchronous_inspection.js
2.747 KB
10 Mar 2021 9.36 PM
root / root
0644
thenables.js
2.081 KB
10 Mar 2021 9.36 PM
root / root
0644
timers.js
2.339 KB
10 Mar 2021 9.36 PM
root / root
0644
using.js
7.349 KB
10 Mar 2021 9.36 PM
root / root
0644
util.js
10.279 KB
10 Mar 2021 9.36 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF