Skip to content

Commit

Permalink
fix: Workflow Bot -- Update ALL Dependencies (main) (#1552)
Browse files Browse the repository at this point in the history
Co-authored-by: Jason3S <Jason3S@users.noreply.github.com>
  • Loading branch information
1 parent 356704b commit 41faf80
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 67 deletions.
42 changes: 28 additions & 14 deletions action/lib/main_root.js
Original file line number Diff line number Diff line change
Expand Up @@ -44178,19 +44178,19 @@ var require_reusify = __commonJS({
}
});

// ../node_modules/.pnpm/fastq@1.16.0/node_modules/fastq/queue.js
// ../node_modules/.pnpm/fastq@1.17.0/node_modules/fastq/queue.js
var require_queue = __commonJS({
"../node_modules/.pnpm/fastq@1.16.0/node_modules/fastq/queue.js"(exports2, module2) {
"../node_modules/.pnpm/fastq@1.17.0/node_modules/fastq/queue.js"(exports2, module2) {
"use strict";
var reusify = require_reusify();
function fastqueue(context, worker, concurrency) {
function fastqueue(context, worker, _concurrency) {
if (typeof context === "function") {
concurrency = worker;
_concurrency = worker;
worker = context;
context = null;
}
if (concurrency < 1) {
throw new Error("fastqueue concurrency must be greater than 1");
if (!(_concurrency >= 1)) {
throw new Error("fastqueue concurrency must be equal to or greater than 1");
}
var cache4 = reusify(Task);
var queueHead = null;
Expand All @@ -44203,7 +44203,21 @@ var require_queue = __commonJS({
saturated: noop,
pause,
paused: false,
concurrency,
get concurrency() {
return _concurrency;
},
set concurrency(value) {
if (!(value >= 1)) {
throw new Error("fastqueue concurrency must be equal to or greater than 1");
}
_concurrency = value;
if (self.paused)
return;
for (; queueHead && _running < _concurrency; ) {
_running++;
release();
}
},
running,
resume,
idle,
Expand Down Expand Up @@ -44244,7 +44258,7 @@ var require_queue = __commonJS({
if (!self.paused)
return;
self.paused = false;
for (var i = 0; i < self.concurrency; i++) {
for (; queueHead && _running < _concurrency; ) {
_running++;
release();
}
Expand All @@ -44259,7 +44273,7 @@ var require_queue = __commonJS({
current.value = value;
current.callback = done || noop;
current.errorHandler = errorHandler;
if (_running === self.concurrency || self.paused) {
if (_running >= _concurrency || self.paused) {
if (queueTail) {
queueTail.next = current;
queueTail = current;
Expand All @@ -44280,7 +44294,7 @@ var require_queue = __commonJS({
current.value = value;
current.callback = done || noop;
current.errorHandler = errorHandler;
if (_running === self.concurrency || self.paused) {
if (_running >= _concurrency || self.paused) {
if (queueHead) {
current.next = queueHead;
queueHead = current;
Expand All @@ -44299,7 +44313,7 @@ var require_queue = __commonJS({
cache4.release(holder);
}
var next = queueHead;
if (next) {
if (next && _running <= _concurrency) {
if (!self.paused) {
if (queueTail === queueHead) {
queueTail = null;
Expand Down Expand Up @@ -44355,9 +44369,9 @@ var require_queue = __commonJS({
self.release(self);
};
}
function queueAsPromised(context, worker, concurrency) {
function queueAsPromised(context, worker, _concurrency) {
if (typeof context === "function") {
concurrency = worker;
_concurrency = worker;
worker = context;
context = null;
}
Expand All @@ -44366,7 +44380,7 @@ var require_queue = __commonJS({
cb(null, res);
}, cb);
}
var queue = fastqueue(context, asyncWrapper, concurrency);
var queue = fastqueue(context, asyncWrapper, _concurrency);
var pushCb = queue.push;
var unshiftCb = queue.unshift;
queue.push = push;
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@
"@tsconfig/node16": "^16.1.1",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"@vitest/coverage-istanbul": "^1.2.1",
"@vitest/coverage-istanbul": "^1.2.2",
"env-cmd": "^10.1.0",
"eslint": "^8.56.0",
"prettier": "^3.2.4",
"shx": "^0.3.4",
"typescript": "^5.3.3",
"vitest": "^1.2.1"
"vitest": "^1.2.2"
}
}
102 changes: 51 additions & 51 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 41faf80

Please sign in to comment.