Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.133.128.223
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp-musonza /
node_modules /
async /
Delete
Unzip
Name
Size
Permission
Date
Action
dist
[ DIR ]
drwxr-xr-x
2021-02-04 21:24
internal
[ DIR ]
drwxr-xr-x
2021-02-04 21:24
node_modules
[ DIR ]
drwxr-xr-x
2021-02-04 21:24
CHANGELOG.md
28.46
KB
-rw-r--r--
1985-10-26 08:15
LICENSE
1.04
KB
-rw-r--r--
1985-10-26 08:15
README.md
2.48
KB
-rw-r--r--
1985-10-26 08:15
all.js
1.64
KB
-rw-r--r--
1985-10-26 08:15
allLimit.js
1.51
KB
-rw-r--r--
1985-10-26 08:15
allSeries.js
1.25
KB
-rw-r--r--
1985-10-26 08:15
any.js
1.72
KB
-rw-r--r--
1985-10-26 08:15
anyLimit.js
1.55
KB
-rw-r--r--
1985-10-26 08:15
anySeries.js
1.28
KB
-rw-r--r--
1985-10-26 08:15
apply.js
1.8
KB
-rw-r--r--
1985-10-26 08:15
applyEach.js
1.74
KB
-rw-r--r--
1985-10-26 08:15
applyEachSeries.js
1.25
KB
-rw-r--r--
1985-10-26 08:15
asyncify.js
3.42
KB
-rw-r--r--
1985-10-26 08:15
auto.js
9.61
KB
-rw-r--r--
1985-10-26 08:15
autoInject.js
6.33
KB
-rw-r--r--
1985-10-26 08:15
bower.json
245
B
-rw-r--r--
1985-10-26 08:15
cargo.js
4.54
KB
-rw-r--r--
1985-10-26 08:15
compose.js
1.52
KB
-rw-r--r--
1985-10-26 08:15
concat.js
1.55
KB
-rw-r--r--
1985-10-26 08:15
concatLimit.js
2.11
KB
-rw-r--r--
1985-10-26 08:15
concatSeries.js
1.24
KB
-rw-r--r--
1985-10-26 08:15
constant.js
1.72
KB
-rw-r--r--
1985-10-26 08:15
detect.js
2.16
KB
-rw-r--r--
1985-10-26 08:15
detectLimit.js
1.72
KB
-rw-r--r--
1985-10-26 08:15
detectSeries.js
1.32
KB
-rw-r--r--
1985-10-26 08:15
dir.js
1.26
KB
-rw-r--r--
1985-10-26 08:15
doDuring.js
2.13
KB
-rw-r--r--
1985-10-26 08:15
doUntil.js
1.34
KB
-rw-r--r--
1985-10-26 08:15
doWhilst.js
2.02
KB
-rw-r--r--
1985-10-26 08:15
during.js
2.15
KB
-rw-r--r--
1985-10-26 08:15
each.js
2.77
KB
-rw-r--r--
1985-10-26 08:15
eachLimit.js
1.53
KB
-rw-r--r--
1985-10-26 08:15
eachOf.js
3.29
KB
-rw-r--r--
1985-10-26 08:15
eachOfLimit.js
1.38
KB
-rw-r--r--
1985-10-26 08:15
eachOfSeries.js
1.11
KB
-rw-r--r--
1985-10-26 08:15
eachSeries.js
1.18
KB
-rw-r--r--
1985-10-26 08:15
ensureAsync.js
2.46
KB
-rw-r--r--
1985-10-26 08:15
every.js
1.64
KB
-rw-r--r--
1985-10-26 08:15
everyLimit.js
1.51
KB
-rw-r--r--
1985-10-26 08:15
everySeries.js
1.25
KB
-rw-r--r--
1985-10-26 08:15
filter.js
1.49
KB
-rw-r--r--
1985-10-26 08:15
filterLimit.js
1.31
KB
-rw-r--r--
1985-10-26 08:15
filterSeries.js
1.21
KB
-rw-r--r--
1985-10-26 08:15
find.js
2.16
KB
-rw-r--r--
1985-10-26 08:15
findLimit.js
1.72
KB
-rw-r--r--
1985-10-26 08:15
findSeries.js
1.32
KB
-rw-r--r--
1985-10-26 08:15
foldl.js
2.61
KB
-rw-r--r--
1985-10-26 08:15
foldr.js
1.5
KB
-rw-r--r--
1985-10-26 08:15
forEach.js
2.77
KB
-rw-r--r--
1985-10-26 08:15
forEachLimit.js
1.53
KB
-rw-r--r--
1985-10-26 08:15
forEachOf.js
3.29
KB
-rw-r--r--
1985-10-26 08:15
forEachOfLimit.js
1.38
KB
-rw-r--r--
1985-10-26 08:15
forEachOfSeries.js
1.11
KB
-rw-r--r--
1985-10-26 08:15
forEachSeries.js
1.18
KB
-rw-r--r--
1985-10-26 08:15
forever.js
1.9
KB
-rw-r--r--
1985-10-26 08:15
groupBy.js
2.08
KB
-rw-r--r--
1985-10-26 08:15
groupByLimit.js
2.32
KB
-rw-r--r--
1985-10-26 08:15
groupBySeries.js
1.32
KB
-rw-r--r--
1985-10-26 08:15
index.js
19.05
KB
-rw-r--r--
1985-10-26 08:15
inject.js
2.61
KB
-rw-r--r--
1985-10-26 08:15
log.js
1.17
KB
-rw-r--r--
1985-10-26 08:15
map.js
2.03
KB
-rw-r--r--
1985-10-26 08:15
mapLimit.js
1.28
KB
-rw-r--r--
1985-10-26 08:15
mapSeries.js
1.18
KB
-rw-r--r--
1985-10-26 08:15
mapValues.js
2.19
KB
-rw-r--r--
1985-10-26 08:15
mapValuesLimit.js
1.99
KB
-rw-r--r--
1985-10-26 08:15
mapValuesSeries.js
1.3
KB
-rw-r--r--
1985-10-26 08:15
memoize.js
3.16
KB
-rw-r--r--
1985-10-26 08:15
nextTick.js
1.41
KB
-rw-r--r--
1985-10-26 08:15
package.json
3.1
KB
-rw-r--r--
2021-02-04 21:24
parallel.js
3.03
KB
-rw-r--r--
1985-10-26 08:15
parallelLimit.js
1.39
KB
-rw-r--r--
1985-10-26 08:15
priorityQueue.js
3.03
KB
-rw-r--r--
1985-10-26 08:15
queue.js
5.72
KB
-rw-r--r--
1985-10-26 08:15
race.js
2.11
KB
-rw-r--r--
1985-10-26 08:15
reduce.js
2.61
KB
-rw-r--r--
1985-10-26 08:15
reduceRight.js
1.5
KB
-rw-r--r--
1985-10-26 08:15
reflect.js
2.32
KB
-rw-r--r--
1985-10-26 08:15
reflectAll.js
2.73
KB
-rw-r--r--
1985-10-26 08:15
reject.js
1.41
KB
-rw-r--r--
1985-10-26 08:15
rejectLimit.js
1.24
KB
-rw-r--r--
1985-10-26 08:15
rejectSeries.js
1.13
KB
-rw-r--r--
1985-10-26 08:15
retry.js
5.31
KB
-rw-r--r--
1985-10-26 08:15
retryable.js
1.98
KB
-rw-r--r--
1985-10-26 08:15
select.js
1.49
KB
-rw-r--r--
1985-10-26 08:15
selectLimit.js
1.31
KB
-rw-r--r--
1985-10-26 08:15
selectSeries.js
1.21
KB
-rw-r--r--
1985-10-26 08:15
seq.js
2.92
KB
-rw-r--r--
1985-10-26 08:15
series.js
2.87
KB
-rw-r--r--
1985-10-26 08:15
setImmediate.js
1.36
KB
-rw-r--r--
1985-10-26 08:15
some.js
1.72
KB
-rw-r--r--
1985-10-26 08:15
someLimit.js
1.55
KB
-rw-r--r--
1985-10-26 08:15
someSeries.js
1.28
KB
-rw-r--r--
1985-10-26 08:15
sortBy.js
2.76
KB
-rw-r--r--
1985-10-26 08:15
timeout.js
2.71
KB
-rw-r--r--
1985-10-26 08:15
times.js
1.42
KB
-rw-r--r--
1985-10-26 08:15
timesLimit.js
1.36
KB
-rw-r--r--
1985-10-26 08:15
timesSeries.js
1021
B
-rw-r--r--
1985-10-26 08:15
transform.js
2.65
KB
-rw-r--r--
1985-10-26 08:15
tryEach.js
2.5
KB
-rw-r--r--
1985-10-26 08:15
unmemoize.js
681
B
-rw-r--r--
1985-10-26 08:15
until.js
1.41
KB
-rw-r--r--
1985-10-26 08:15
waterfall.js
3.26
KB
-rw-r--r--
1985-10-26 08:15
whilst.js
2.14
KB
-rw-r--r--
1985-10-26 08:15
wrapSync.js
3.42
KB
-rw-r--r--
1985-10-26 08:15
Save
Rename
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = autoInject; var _auto = require('./auto'); var _auto2 = _interopRequireDefault(_auto); var _baseForOwn = require('lodash/_baseForOwn'); var _baseForOwn2 = _interopRequireDefault(_baseForOwn); var _arrayMap = require('lodash/_arrayMap'); var _arrayMap2 = _interopRequireDefault(_arrayMap); var _isArray = require('lodash/isArray'); var _isArray2 = _interopRequireDefault(_isArray); var _trim = require('lodash/trim'); var _trim2 = _interopRequireDefault(_trim); var _wrapAsync = require('./internal/wrapAsync'); var _wrapAsync2 = _interopRequireDefault(_wrapAsync); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var FN_ARGS = /^(?:async\s+)?(function)?\s*[^\(]*\(\s*([^\)]*)\)/m; var FN_ARG_SPLIT = /,/; var FN_ARG = /(=.+)?(\s*)$/; var STRIP_COMMENTS = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg; function parseParams(func) { func = func.toString().replace(STRIP_COMMENTS, ''); func = func.match(FN_ARGS)[2].replace(' ', ''); func = func ? func.split(FN_ARG_SPLIT) : []; func = func.map(function (arg) { return (0, _trim2.default)(arg.replace(FN_ARG, '')); }); return func; } /** * A dependency-injected version of the [async.auto]{@link module:ControlFlow.auto} function. Dependent * tasks are specified as parameters to the function, after the usual callback * parameter, with the parameter names matching the names of the tasks it * depends on. This can provide even more readable task graphs which can be * easier to maintain. * * If a final callback is specified, the task results are similarly injected, * specified as named parameters after the initial error parameter. * * The autoInject function is purely syntactic sugar and its semantics are * otherwise equivalent to [async.auto]{@link module:ControlFlow.auto}. * * @name autoInject * @static * @memberOf module:ControlFlow * @method * @see [async.auto]{@link module:ControlFlow.auto} * @category Control Flow * @param {Object} tasks - An object, each of whose properties is an {@link AsyncFunction} of * the form 'func([dependencies...], callback). The object's key of a property * serves as the name of the task defined by that property, i.e. can be used * when specifying requirements for other tasks. * * The `callback` parameter is a `callback(err, result)` which must be called * when finished, passing an `error` (which can be `null`) and the result of * the function's execution. The remaining parameters name other tasks on * which the task is dependent, and the results from those tasks are the * arguments of those parameters. * @param {Function} [callback] - An optional callback which is called when all * the tasks have been completed. It receives the `err` argument if any `tasks` * pass an error to their callback, and a `results` object with any completed * task results, similar to `auto`. * @example * * // The example from `auto` can be rewritten as follows: * async.autoInject({ * get_data: function(callback) { * // async code to get some data * callback(null, 'data', 'converted to array'); * }, * make_folder: function(callback) { * // async code to create a directory to store a file in * // this is run at the same time as getting the data * callback(null, 'folder'); * }, * write_file: function(get_data, make_folder, callback) { * // once there is some data and the directory exists, * // write the data to a file in the directory * callback(null, 'filename'); * }, * email_link: function(write_file, callback) { * // once the file is written let's email a link to it... * // write_file contains the filename returned by write_file. * callback(null, {'file':write_file, 'email':'user@example.com'}); * } * }, function(err, results) { * console.log('err = ', err); * console.log('email_link = ', results.email_link); * }); * * // If you are using a JS minifier that mangles parameter names, `autoInject` * // will not work with plain functions, since the parameter names will be * // collapsed to a single letter identifier. To work around this, you can * // explicitly specify the names of the parameters your task function needs * // in an array, similar to Angular.js dependency injection. * * // This still has an advantage over plain `auto`, since the results a task * // depends on are still spread into arguments. * async.autoInject({ * //... * write_file: ['get_data', 'make_folder', function(get_data, make_folder, callback) { * callback(null, 'filename'); * }], * email_link: ['write_file', function(write_file, callback) { * callback(null, {'file':write_file, 'email':'user@example.com'}); * }] * //... * }, function(err, results) { * console.log('err = ', err); * console.log('email_link = ', results.email_link); * }); */ function autoInject(tasks, callback) { var newTasks = {}; (0, _baseForOwn2.default)(tasks, function (taskFn, key) { var params; var fnIsAsync = (0, _wrapAsync.isAsync)(taskFn); var hasNoDeps = !fnIsAsync && taskFn.length === 1 || fnIsAsync && taskFn.length === 0; if ((0, _isArray2.default)(taskFn)) { params = taskFn.slice(0, -1); taskFn = taskFn[taskFn.length - 1]; newTasks[key] = params.concat(params.length > 0 ? newTask : taskFn); } else if (hasNoDeps) { // no dependencies, use the function as-is newTasks[key] = taskFn; } else { params = parseParams(taskFn); if (taskFn.length === 0 && !fnIsAsync && params.length === 0) { throw new Error("autoInject task functions require explicit parameters."); } // remove callback param if (!fnIsAsync) params.pop(); newTasks[key] = params.concat(newTask); } function newTask(results, taskCb) { var newArgs = (0, _arrayMap2.default)(params, function (name) { return results[name]; }); newArgs.push(taskCb); (0, _wrapAsync2.default)(taskFn).apply(null, newArgs); } }); (0, _auto2.default)(newTasks, callback); } module.exports = exports['default'];