Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.216.250
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
nodejs /
release-zalgo /
lib /
Delete
Unzip
Name
Size
Permission
Date
Action
Async.js
368
B
-rw-r--r--
2023-08-21 05:40
Sync.js
491
B
-rw-r--r--
2023-08-21 05:40
Thenable.js
1.05
KB
-rw-r--r--
2023-08-21 05:40
constants.js
158
B
-rw-r--r--
2023-08-21 05:40
unwrapSync.js
1.18
KB
-rw-r--r--
2023-08-21 05:40
Save
Rename
'use strict' const ExtendableError = require('es6-error') const constants = require('./constants') class UnwrapError extends ExtendableError { constructor (thenable) { super('Could not unwrap asynchronous thenable') this.thenable = thenable } } // Logic is derived from the Promise Resolution Procedure, as described in the // Promises/A+ specification: https://promisesaplus.com/#point-45 // // Note that there is no cycle detection. function unwrapSync (x) { if (!x || typeof x !== 'object' && typeof x !== 'function') { return x } const then = x.then if (typeof then !== 'function') return x let state = constants.PENDING let value const unwrapValue = y => { if (state === constants.PENDING) { state = constants.RESOLVED value = y } } const unwrapReason = r => { if (state === constants.PENDING) { state = constants.REJECTED value = r } } then.call(x, unwrapValue, unwrapReason) if (state === constants.PENDING) { state = constants.ASYNC throw new UnwrapError(x) } if (state === constants.RESOLVED) { return unwrapSync(value) } // state === REJECTED throw value } module.exports = unwrapSync