Skip to content

Commit

Permalink
fix: Workflow Bot -- Update ALL Dependencies (main) (#1506)
Browse files Browse the repository at this point in the history
Co-authored-by: Jason3S <[email protected]>
  • Loading branch information
1 parent 1c3d326 commit 6009df3
Show file tree
Hide file tree
Showing 4 changed files with 234 additions and 292 deletions.
2 changes: 1 addition & 1 deletion action-src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@cspell/cspell-bundled-dicts"
],
"devDependencies": {
"esbuild": "^0.19.10"
"esbuild": "^0.19.11"
},
"dependencies": {
"@actions/core": "^1.10.1",
Expand Down
65 changes: 4 additions & 61 deletions action/lib/main_root.js
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,7 @@ var require_util = __commonJS({
function deepClone(obj) {
return JSON.parse(JSON.stringify(obj));
}
function isAsyncIterable5(obj) {
function isAsyncIterable4(obj) {
return !!(obj != null && typeof obj[Symbol.asyncIterator] === "function");
}
function isIterable4(obj) {
Expand Down Expand Up @@ -1499,7 +1499,7 @@ var require_util = __commonJS({
getServerName,
isStream,
isIterable: isIterable4,
isAsyncIterable: isAsyncIterable5,
isAsyncIterable: isAsyncIterable4,
isDestroyed,
parseRawHeaders,
parseHeaders,
Expand Down Expand Up @@ -63205,22 +63205,6 @@ async function reduceAsync(i, fnReduce, initialValue) {
}
return previousValue;
}
async function reduceAsyncForAsyncIterator(i, fnReduce, initialValue) {
const iter = makeAsyncIterable(i[Symbol.asyncIterator]());
let index = 0;
if (initialValue === void 0) {
index = 1;
const r = await iter.next();
initialValue = r.value;
}
let previousValue = await initialValue;
for await (const t of iter) {
const nextValue = await fnReduce(previousValue, t, index);
previousValue = nextValue;
index += 1;
}
return previousValue;
}
function makeIterable(i) {
function* fromIterator(i2) {
for (let r = i2.next(); !r.done; r = i2.next()) {
Expand All @@ -63238,28 +63222,6 @@ function isIterable2(i) {
function isIterableIterator(i) {
return typeof i.next == "function";
}
function makeAsyncIterable(i) {
async function* fromIterable(i2) {
for (const v of i2) {
yield v;
}
}
async function* fromIterator(i2) {
for (let r = await i2.next(); !r.done; r = await i2.next()) {
yield r.value;
}
}
async function* fromAsyncIterable(i2) {
yield* i2;
}
return isAsyncIterable3(i) ? isAsyncIterableIterator(i) ? i : fromAsyncIterable(i) : isIterable2(i) ? fromIterable(i) : fromIterator(i);
}
function isAsyncIterable3(i) {
return !!i[Symbol.asyncIterator];
}
function isAsyncIterableIterator(i) {
return typeof i.next == "function";
}

// ../node_modules/.pnpm/[email protected]/node_modules/gensequence/dist/esm/operators/operators.mjs
function filter2(fnFilter) {
Expand Down Expand Up @@ -63313,9 +63275,6 @@ function reduce2(fnReduce, initialValue) {
function reduceAsync2(fnReduceAsync, initialValue) {
return (i) => reduceAsync(i, fnReduceAsync, initialValue);
}
function reduceAsyncForAsyncIterator2(fnReduceAsync, initialValue) {
return (i) => reduceAsyncForAsyncIterator(i, fnReduceAsync, initialValue);
}
function pipe(...fns) {
return (i) => {
for (const fn of fns) {
Expand Down Expand Up @@ -63444,22 +63403,6 @@ function sequenceFromRegExpMatch(pattern, text) {
return genSequence(() => doMatch());
}

// ../node_modules/.pnpm/[email protected]/node_modules/gensequence/dist/esm/ImplAsyncSequence.mjs
var ImplAsyncSequence = class {
constructor(i) {
this.i = i;
}
get iter() {
return typeof this.i === "function" ? this.i() : this.i;
}
[Symbol.asyncIterator]() {
return this.iter[Symbol.asyncIterator]();
}
reduceAsync(fnReduceAsync, initialValue) {
return reduceAsyncForAsyncIterator2(fnReduceAsync, initialValue)(this.iter);
}
};

// ../node_modules/.pnpm/[email protected]/node_modules/gensequence/dist/esm/ImplSequenceBuilder.mjs
var ImplSequenceBuilder = class _ImplSequenceBuilder {
constructor(operators2 = []) {
Expand Down Expand Up @@ -75251,7 +75194,7 @@ var GitIgnore = class {
}
filterOutIgnored(files) {
const iter = this.filterOutIgnoredAsync(files);
return isAsyncIterable4(files) ? iter : asyncIterableToArray2(iter);
return isAsyncIterable3(files) ? iter : asyncIterableToArray2(iter);
}
async *filterOutIgnoredAsync(files) {
for await (const file of files) {
Expand Down Expand Up @@ -75314,7 +75257,7 @@ function sortRoots(roots) {
roots.sort((a, b) => a.length - b.length);
return roots;
}
function isAsyncIterable4(i) {
function isAsyncIterable3(i) {
const as = i;
return typeof as[Symbol.asyncIterator] === "function";
}
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@
"@pollyjs/core": "^6.0.6",
"@pollyjs/persister-fs": "^6.0.6",
"@tsconfig/node16": "^16.1.1",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@vitest/coverage-istanbul": "^1.1.0",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"@vitest/coverage-istanbul": "^1.1.1",
"env-cmd": "^10.1.0",
"eslint": "^8.56.0",
"prettier": "^3.1.1",
"shx": "^0.3.4",
"typescript": "^5.3.3",
"vitest": "^1.1.0"
"vitest": "^1.1.1"
}
}
Loading

0 comments on commit 6009df3

Please sign in to comment.