Linux bear.hostingplus.cl 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
LiteSpeed
Server IP : 192.140.57.17 & Your IP : 216.73.216.57
Domains :
Cant Read [ /etc/named.conf ]
User : explo
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
bitninja-dispatcher /
node_modules /
async /
Delete
Unzip
Name
Size
Permission
Date
Action
dist
[ DIR ]
drwxr-xr-x
2026-02-20 01:17
internal
[ DIR ]
drwxr-xr-x
2026-02-20 01:17
CHANGELOG.md
32.59
KB
-rw-r--r--
2026-02-18 13:02
LICENSE
1.04
KB
-rw-r--r--
2026-02-18 13:02
README.md
3.14
KB
-rw-r--r--
2026-02-18 13:02
all.js
3.47
KB
-rw-r--r--
2026-02-18 13:02
allLimit.js
1.71
KB
-rw-r--r--
2026-02-18 13:02
allSeries.js
1.61
KB
-rw-r--r--
2026-02-18 13:02
any.js
3.71
KB
-rw-r--r--
2026-02-18 13:02
anyLimit.js
1.74
KB
-rw-r--r--
2026-02-18 13:02
anySeries.js
1.64
KB
-rw-r--r--
2026-02-18 13:02
apply.js
3.05
KB
-rw-r--r--
2026-02-18 13:02
applyEach.js
1.94
KB
-rw-r--r--
2026-02-18 13:02
applyEachSeries.js
1.27
KB
-rw-r--r--
2026-02-18 13:02
asyncify.js
3.65
KB
-rw-r--r--
2026-02-18 13:02
auto.js
11.58
KB
-rw-r--r--
2026-02-18 13:02
autoInject.js
6.93
KB
-rw-r--r--
2026-02-18 13:02
bower.json
239
B
-rw-r--r--
2026-02-18 13:02
cargo.js
2.68
KB
-rw-r--r--
2026-02-18 13:02
cargoQueue.js
3.27
KB
-rw-r--r--
2026-02-18 13:02
compose.js
1.53
KB
-rw-r--r--
2026-02-18 13:02
concat.js
3.57
KB
-rw-r--r--
2026-02-18 13:02
concatLimit.js
2.05
KB
-rw-r--r--
2026-02-18 13:02
concatSeries.js
1.44
KB
-rw-r--r--
2026-02-18 13:02
constant.js
2.91
KB
-rw-r--r--
2026-02-18 13:02
detect.js
3.17
KB
-rw-r--r--
2026-02-18 13:02
detectLimit.js
1.79
KB
-rw-r--r--
2026-02-18 13:02
detectSeries.js
1.7
KB
-rw-r--r--
2026-02-18 13:02
dir.js
1.27
KB
-rw-r--r--
2026-02-18 13:02
doDuring.js
2.25
KB
-rw-r--r--
2026-02-18 13:02
doUntil.js
1.67
KB
-rw-r--r--
2026-02-18 13:02
doWhilst.js
2.25
KB
-rw-r--r--
2026-02-18 13:02
during.js
2.28
KB
-rw-r--r--
2026-02-18 13:02
each.js
3.93
KB
-rw-r--r--
2026-02-18 13:02
eachLimit.js
1.75
KB
-rw-r--r--
2026-02-18 13:02
eachOf.js
5.61
KB
-rw-r--r--
2026-02-18 13:02
eachOfLimit.js
1.6
KB
-rw-r--r--
2026-02-18 13:02
eachOfSeries.js
1.3
KB
-rw-r--r--
2026-02-18 13:02
eachSeries.js
1.54
KB
-rw-r--r--
2026-02-18 13:02
ensureAsync.js
2.26
KB
-rw-r--r--
2026-02-18 13:02
every.js
3.47
KB
-rw-r--r--
2026-02-18 13:02
everyLimit.js
1.71
KB
-rw-r--r--
2026-02-18 13:02
everySeries.js
1.61
KB
-rw-r--r--
2026-02-18 13:02
filter.js
2.83
KB
-rw-r--r--
2026-02-18 13:02
filterLimit.js
1.62
KB
-rw-r--r--
2026-02-18 13:02
filterSeries.js
1.51
KB
-rw-r--r--
2026-02-18 13:02
find.js
3.17
KB
-rw-r--r--
2026-02-18 13:02
findLimit.js
1.79
KB
-rw-r--r--
2026-02-18 13:02
findSeries.js
1.7
KB
-rw-r--r--
2026-02-18 13:02
flatMap.js
3.57
KB
-rw-r--r--
2026-02-18 13:02
flatMapLimit.js
2.05
KB
-rw-r--r--
2026-02-18 13:02
flatMapSeries.js
1.44
KB
-rw-r--r--
2026-02-18 13:02
foldl.js
4.77
KB
-rw-r--r--
2026-02-18 13:02
foldr.js
1.46
KB
-rw-r--r--
2026-02-18 13:02
forEach.js
3.93
KB
-rw-r--r--
2026-02-18 13:02
forEachLimit.js
1.75
KB
-rw-r--r--
2026-02-18 13:02
forEachOf.js
5.61
KB
-rw-r--r--
2026-02-18 13:02
forEachOfLimit.js
1.6
KB
-rw-r--r--
2026-02-18 13:02
forEachOfSeries.js
1.3
KB
-rw-r--r--
2026-02-18 13:02
forEachSeries.js
1.54
KB
-rw-r--r--
2026-02-18 13:02
forever.js
2.07
KB
-rw-r--r--
2026-02-18 13:02
groupBy.js
3.51
KB
-rw-r--r--
2026-02-18 13:02
groupByLimit.js
2.39
KB
-rw-r--r--
2026-02-18 13:02
groupBySeries.js
1.3
KB
-rw-r--r--
2026-02-18 13:02
index.js
19.27
KB
-rw-r--r--
2026-02-18 13:02
inject.js
4.77
KB
-rw-r--r--
2026-02-18 13:02
log.js
1.17
KB
-rw-r--r--
2026-02-18 13:02
map.js
4.49
KB
-rw-r--r--
2026-02-18 13:02
mapLimit.js
1.58
KB
-rw-r--r--
2026-02-18 13:02
mapSeries.js
1.48
KB
-rw-r--r--
2026-02-18 13:02
mapValues.js
4.48
KB
-rw-r--r--
2026-02-18 13:02
mapValuesLimit.js
2.07
KB
-rw-r--r--
2026-02-18 13:02
mapValuesSeries.js
1.34
KB
-rw-r--r--
2026-02-18 13:02
memoize.js
3
KB
-rw-r--r--
2026-02-18 13:02
nextTick.js
1.44
KB
-rw-r--r--
2026-02-18 13:02
package.json
2.91
KB
-rw-r--r--
2026-02-18 13:02
parallel.js
5.44
KB
-rw-r--r--
2026-02-18 13:02
parallelLimit.js
1.47
KB
-rw-r--r--
2026-02-18 13:02
priorityQueue.js
2.65
KB
-rw-r--r--
2026-02-18 13:02
queue.js
7.21
KB
-rw-r--r--
2026-02-18 13:02
race.js
2.08
KB
-rw-r--r--
2026-02-18 13:02
reduce.js
4.77
KB
-rw-r--r--
2026-02-18 13:02
reduceRight.js
1.46
KB
-rw-r--r--
2026-02-18 13:02
reflect.js
2.22
KB
-rw-r--r--
2026-02-18 13:02
reflectAll.js
2.39
KB
-rw-r--r--
2026-02-18 13:02
reject.js
2.61
KB
-rw-r--r--
2026-02-18 13:02
rejectLimit.js
1.54
KB
-rw-r--r--
2026-02-18 13:02
rejectSeries.js
1.43
KB
-rw-r--r--
2026-02-18 13:02
retry.js
5.4
KB
-rw-r--r--
2026-02-18 13:02
retryable.js
2.48
KB
-rw-r--r--
2026-02-18 13:02
select.js
2.83
KB
-rw-r--r--
2026-02-18 13:02
selectLimit.js
1.62
KB
-rw-r--r--
2026-02-18 13:02
selectSeries.js
1.51
KB
-rw-r--r--
2026-02-18 13:02
seq.js
2.59
KB
-rw-r--r--
2026-02-18 13:02
series.js
5.69
KB
-rw-r--r--
2026-02-18 13:02
setImmediate.js
1.36
KB
-rw-r--r--
2026-02-18 13:02
some.js
3.71
KB
-rw-r--r--
2026-02-18 13:02
someLimit.js
1.74
KB
-rw-r--r--
2026-02-18 13:02
someSeries.js
1.64
KB
-rw-r--r--
2026-02-18 13:02
sortBy.js
6.07
KB
-rw-r--r--
2026-02-18 13:02
timeout.js
2.69
KB
-rw-r--r--
2026-02-18 13:02
times.js
1.45
KB
-rw-r--r--
2026-02-18 13:02
timesLimit.js
1.41
KB
-rw-r--r--
2026-02-18 13:02
timesSeries.js
1.04
KB
-rw-r--r--
2026-02-18 13:02
transform.js
5.44
KB
-rw-r--r--
2026-02-18 13:02
tryEach.js
2.48
KB
-rw-r--r--
2026-02-18 13:02
unmemoize.js
668
B
-rw-r--r--
2026-02-18 13:02
until.js
2.03
KB
-rw-r--r--
2026-02-18 13:02
waterfall.js
3.13
KB
-rw-r--r--
2026-02-18 13:02
whilst.js
2.28
KB
-rw-r--r--
2026-02-18 13:02
wrapSync.js
3.65
KB
-rw-r--r--
2026-02-18 13:02
Save
Rename
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = function (worker, concurrency) { var _worker = (0, _wrapAsync2.default)(worker); return (0, _queue2.default)((items, cb) => { _worker(items[0], cb); }, concurrency, 1); }; var _queue = require('./internal/queue.js'); var _queue2 = _interopRequireDefault(_queue); var _wrapAsync = require('./internal/wrapAsync.js'); var _wrapAsync2 = _interopRequireDefault(_wrapAsync); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } module.exports = exports['default']; /** * A queue of tasks for the worker function to complete. * @typedef {Iterable} QueueObject * @memberOf module:ControlFlow * @property {Function} length - a function returning the number of items * waiting to be processed. Invoke with `queue.length()`. * @property {boolean} started - a boolean indicating whether or not any * items have been pushed and processed by the queue. * @property {Function} running - a function returning the number of items * currently being processed. Invoke with `queue.running()`. * @property {Function} workersList - a function returning the array of items * currently being processed. Invoke with `queue.workersList()`. * @property {Function} idle - a function returning false if there are items * waiting or being processed, or true if not. Invoke with `queue.idle()`. * @property {number} concurrency - an integer for determining how many `worker` * functions should be run in parallel. This property can be changed after a * `queue` is created to alter the concurrency on-the-fly. * @property {number} payload - an integer that specifies how many items are * passed to the worker function at a time. only applies if this is a * [cargo]{@link module:ControlFlow.cargo} object * @property {AsyncFunction} push - add a new task to the `queue`. Calls `callback` * once the `worker` has finished processing the task. Instead of a single task, * a `tasks` array can be submitted. The respective callback is used for every * task in the list. Invoke with `queue.push(task, [callback])`, * @property {AsyncFunction} unshift - add a new task to the front of the `queue`. * Invoke with `queue.unshift(task, [callback])`. * @property {AsyncFunction} pushAsync - the same as `q.push`, except this returns * a promise that rejects if an error occurs. * @property {AsyncFunction} unshiftAsync - the same as `q.unshift`, except this returns * a promise that rejects if an error occurs. * @property {Function} remove - remove items from the queue that match a test * function. The test function will be passed an object with a `data` property, * and a `priority` property, if this is a * [priorityQueue]{@link module:ControlFlow.priorityQueue} object. * Invoked with `queue.remove(testFn)`, where `testFn` is of the form * `function ({data, priority}) {}` and returns a Boolean. * @property {Function} saturated - a function that sets a callback that is * called when the number of running workers hits the `concurrency` limit, and * further tasks will be queued. If the callback is omitted, `q.saturated()` * returns a promise for the next occurrence. * @property {Function} unsaturated - a function that sets a callback that is * called when the number of running workers is less than the `concurrency` & * `buffer` limits, and further tasks will not be queued. If the callback is * omitted, `q.unsaturated()` returns a promise for the next occurrence. * @property {number} buffer - A minimum threshold buffer in order to say that * the `queue` is `unsaturated`. * @property {Function} empty - a function that sets a callback that is called * when the last item from the `queue` is given to a `worker`. If the callback * is omitted, `q.empty()` returns a promise for the next occurrence. * @property {Function} drain - a function that sets a callback that is called * when the last item from the `queue` has returned from the `worker`. If the * callback is omitted, `q.drain()` returns a promise for the next occurrence. * @property {Function} error - a function that sets a callback that is called * when a task errors. Has the signature `function(error, task)`. If the * callback is omitted, `error()` returns a promise that rejects on the next * error. * @property {boolean} paused - a boolean for determining whether the queue is * in a paused state. * @property {Function} pause - a function that pauses the processing of tasks * until `resume()` is called. Invoke with `queue.pause()`. * @property {Function} resume - a function that resumes the processing of * queued tasks when the queue is paused. Invoke with `queue.resume()`. * @property {Function} kill - a function that removes the `drain` callback and * empties remaining tasks from the queue forcing it to go idle. No more tasks * should be pushed to the queue after calling this function. Invoke with `queue.kill()`. * * @example * const q = async.queue(worker, 2) * q.push(item1) * q.push(item2) * q.push(item3) * // queues are iterable, spread into an array to inspect * const items = [...q] // [item1, item2, item3] * // or use for of * for (let item of q) { * console.log(item) * } * * q.drain(() => { * console.log('all done') * }) * // or * await q.drain() */ /** * Creates a `queue` object with the specified `concurrency`. Tasks added to the * `queue` are processed in parallel (up to the `concurrency` limit). If all * `worker`s are in progress, the task is queued until one becomes available. * Once a `worker` completes a `task`, that `task`'s callback is called. * * @name queue * @static * @memberOf module:ControlFlow * @method * @category Control Flow * @param {AsyncFunction} worker - An async function for processing a queued task. * If you want to handle errors from an individual task, pass a callback to * `q.push()`. Invoked with (task, callback). * @param {number} [concurrency=1] - An `integer` for determining how many * `worker` functions should be run in parallel. If omitted, the concurrency * defaults to `1`. If the concurrency is `0`, an error is thrown. * @returns {module:ControlFlow.QueueObject} A queue object to manage the tasks. Callbacks can be * attached as certain properties to listen for specific events during the * lifecycle of the queue. * @example * * // create a queue object with concurrency 2 * var q = async.queue(function(task, callback) { * console.log('hello ' + task.name); * callback(); * }, 2); * * // assign a callback * q.drain(function() { * console.log('all items have been processed'); * }); * // or await the end * await q.drain() * * // assign an error callback * q.error(function(err, task) { * console.error('task experienced an error'); * }); * * // add some items to the queue * q.push({name: 'foo'}, function(err) { * console.log('finished processing foo'); * }); * // callback is optional * q.push({name: 'bar'}); * * // add some items to the queue (batch-wise) * q.push([{name: 'baz'},{name: 'bay'},{name: 'bax'}], function(err) { * console.log('finished processing item'); * }); * * // add some items to the front of the queue * q.unshift({name: 'bar'}, function (err) { * console.log('finished processing bar'); * }); */