chore(deps): update all non-major dependencies
renovate/stability-days Updates have met minimum release age requirement
CI / Dry-Run (pull_request) Successful in 2s
CI / Test (pull_request) Successful in 13s
CI / Check Dist (pull_request) Successful in 13s

This commit is contained in:
2026-08-06 04:10:24 +00:00
parent 80e43303c6
commit 9206fa6150
3 changed files with 216 additions and 368 deletions
+18 -206
View File
@@ -16,7 +16,7 @@ var __copyProps = (to, from, except, desc) => {
}
return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
value: mod,
enumerable: true
}) : target, mod));
@@ -1785,7 +1785,7 @@ var require_dispatcher_base = /* @__PURE__ */ __commonJSMin(((exports, module) =
get webSocketOptions() {
return {
maxFragments: this[kWebSocketOptions].maxFragments ?? 131072,
maxPayloadSize: this[kWebSocketOptions].maxPayloadSize ?? 128 * 1024 * 1024
maxPayloadSize: this[kWebSocketOptions].maxPayloadSize ?? 134217728
};
}
get destroyed() {
@@ -1837,7 +1837,7 @@ var require_dispatcher_base = /* @__PURE__ */ __commonJSMin(((exports, module) =
}
if (callback === void 0) return new Promise((resolve, reject) => {
this.destroy(err, (err, data) => {
return err ? reject(err) : resolve(data);
return err ? /* istanbul ignore next: should never error */ reject(err) : resolve(data);
});
});
if (typeof callback !== "function") throw new InvalidArgumentError("invalid callback");
@@ -2307,7 +2307,7 @@ var require_connect = /* @__PURE__ */ __commonJSMin(((exports, module) => {
assert$25(!httpSocket, "httpSocket can only be sent on TLS update");
port = port || 80;
socket = net$1.connect({
highWaterMark: 64 * 1024,
highWaterMark: 65536,
...options,
localAddress,
port,
@@ -3786,10 +3786,7 @@ var require_util$7 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
case "strict-origin-when-cross-origin":
if (request.origin && urlHasHttpsScheme(request.origin) && !urlHasHttpsScheme(requestCurrentURL(request))) serializedOrigin = null;
break;
case "same-origin":
if (!sameOrigin(request, requestCurrentURL(request))) serializedOrigin = null;
break;
default:
case "same-origin": if (!sameOrigin(request, requestCurrentURL(request))) serializedOrigin = null;
}
request.headersList.append("origin", serializedOrigin, true);
}
@@ -4071,9 +4068,7 @@ var require_util$7 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
case "value":
result = value;
break;
case "key+value":
result = [key, value];
break;
case "key+value": result = [key, value];
}
return {
value: result,
@@ -6859,7 +6854,7 @@ var require_client = /* @__PURE__ */ __commonJSMin(((exports, module) => {
//#region node_modules/undici/lib/dispatcher/fixed-queue.js
var require_fixed_queue = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const kSize = 2048;
const kMask = kSize - 1;
const kMask = 2047;
var FixedCircularBuffer = class {
constructor() {
this.bottom = 0;
@@ -7644,7 +7639,7 @@ var require_retry_handler = /* @__PURE__ */ __commonJSMin(((exports, module) =>
this.retryOpts = {
retry: retryFn ?? RetryHandler[kRetryHandlerDefaultRetry],
retryAfter: retryAfter ?? true,
maxTimeout: maxTimeout ?? 30 * 1e3,
maxTimeout: maxTimeout ?? 3e4,
minTimeout: minTimeout ?? 500,
timeoutFactor: timeoutFactor ?? 2,
maxRetries: maxRetries ?? 5,
@@ -7888,7 +7883,7 @@ var require_readable = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const kContentLength = Symbol("kContentLength");
const noop = () => {};
var BodyReadable = class extends Readable$2 {
constructor({ resume, abort, contentType = "", contentLength, highWaterMark = 64 * 1024 }) {
constructor({ resume, abort, contentType = "", contentLength, highWaterMark = 65536 }) {
super({
autoDestroy: true,
read: resume,
@@ -7967,7 +7962,7 @@ var require_readable = /* @__PURE__ */ __commonJSMin(((exports, module) => {
return this[kBody];
}
async dump(opts) {
let limit = Number.isFinite(opts?.limit) ? opts.limit : 128 * 1024;
let limit = Number.isFinite(opts?.limit) ? opts.limit : 131072;
const signal = opts?.signal;
if (signal != null && (typeof signal !== "object" || !("aborted" in signal))) throw new InvalidArgumentError("signal must be an AbortSignal");
signal?.throwIfAborted();
@@ -8106,7 +8101,7 @@ var require_util$6 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const assert$14 = require("node:assert");
const { ResponseStatusCodeError } = require_errors$1();
const { chunksDecode } = require_readable();
const CHUNK_LIMIT = 128 * 1024;
const CHUNK_LIMIT = 131072;
async function getResolveErrorBodyCallback({ callback, body, contentType, statusCode, statusMessage, headers }) {
assert$14(body);
let chunks = [];
@@ -9605,7 +9600,7 @@ var require_dump = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const { InvalidArgumentError, RequestAbortedError } = require_errors$1();
const DecoratorHandler = require_decorator_handler();
var DumpHandler = class extends DecoratorHandler {
#maxSize = 1024 * 1024;
#maxSize = 1048576;
#abort = null;
#dumped = false;
#aborted = false;
@@ -9655,7 +9650,7 @@ var require_dump = /* @__PURE__ */ __commonJSMin(((exports, module) => {
this.#handler.onComplete(trailers);
}
};
function createDumpInterceptor({ maxSize: defaultMaxSize } = { maxSize: 1024 * 1024 }) {
function createDumpInterceptor({ maxSize: defaultMaxSize } = { maxSize: 1048576 }) {
return (dispatch) => {
return function Intercept(opts, handler) {
const { dumpMaxSize = defaultMaxSize } = opts;
@@ -9826,9 +9821,7 @@ var require_dns = /* @__PURE__ */ __commonJSMin(((exports, module) => {
this.#handler.onError(err);
return;
case "ENOTFOUND": this.#state.deleteRecord(this.#origin);
default:
this.#handler.onError(err);
break;
default: this.#handler.onError(err);
}
}
};
@@ -15229,7 +15222,6 @@ var require_eventsource_stream = /* @__PURE__ */ __commonJSMin(((exports, module
default:
if (this.buffer[0] === BOM[0] && this.buffer[1] === BOM[1] && this.buffer[2] === BOM[2]) this.buffer = this.buffer.subarray(3);
this.checkBOM = false;
break;
}
while (this.pos < this.buffer.length) {
if (this.eventEndCheck) {
@@ -15295,9 +15287,7 @@ var require_eventsource_stream = /* @__PURE__ */ __commonJSMin(((exports, module
case "id":
if (isValidLastEventId(value)) event[field] = value;
break;
case "event":
if (value.length > 0) event[field] = value;
break;
case "event": if (value.length > 0) event[field] = value;
}
}
/**
@@ -16090,188 +16080,9 @@ var Summary = class {
}
};
new Summary();
//#endregion
//#region node_modules/@actions/io/lib/io-util.js
var __awaiter$5 = function(thisArg, _arguments, P, generator) {
function adopt(value) {
return value instanceof P ? value : new P(function(resolve) {
resolve(value);
});
}
return new (P || (P = Promise))(function(resolve, reject) {
function fulfilled(value) {
try {
step(generator.next(value));
} catch (e) {
reject(e);
}
}
function rejected(value) {
try {
step(generator["throw"](value));
} catch (e) {
reject(e);
}
}
function step(result) {
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
}
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
const { chmod, copyFile, lstat, mkdir, open, readdir, rename, rm, rmdir, stat, symlink, unlink } = fs.promises;
const IS_WINDOWS$1 = process.platform === "win32";
process.platform;
fs.constants.O_RDONLY;
/**
* On OSX/Linux, true if path starts with '/'. On Windows, true for paths like:
* \, \hello, \\hello\share, C:, and C:\hello (and corresponding alternate separator cases).
*/
function isRooted(p) {
p = normalizeSeparators(p);
if (!p) throw new Error("isRooted() parameter \"p\" cannot be empty");
if (IS_WINDOWS$1) return p.startsWith("\\") || /^[A-Z]:/i.test(p);
return p.startsWith("/");
}
/**
* Best effort attempt to determine whether a file exists and is executable.
* @param filePath file path to check
* @param extensions additional file extensions to try
* @return if file exists and is executable, returns the file path. otherwise empty string.
*/
function tryGetExecutablePath(filePath, extensions) {
return __awaiter$5(this, void 0, void 0, function* () {
let stats = void 0;
try {
stats = yield stat(filePath);
} catch (err) {
if (err.code !== "ENOENT") console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);
}
if (stats && stats.isFile()) {
if (IS_WINDOWS$1) {
const upperExt = path.extname(filePath).toUpperCase();
if (extensions.some((validExt) => validExt.toUpperCase() === upperExt)) return filePath;
} else if (isUnixExecutable(stats)) return filePath;
}
const originalFilePath = filePath;
for (const extension of extensions) {
filePath = originalFilePath + extension;
stats = void 0;
try {
stats = yield stat(filePath);
} catch (err) {
if (err.code !== "ENOENT") console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);
}
if (stats && stats.isFile()) {
if (IS_WINDOWS$1) {
try {
const directory = path.dirname(filePath);
const upperName = path.basename(filePath).toUpperCase();
for (const actualName of yield readdir(directory)) if (upperName === actualName.toUpperCase()) {
filePath = path.join(directory, actualName);
break;
}
} catch (err) {
console.log(`Unexpected error attempting to determine the actual case of the file '${filePath}': ${err}`);
}
return filePath;
} else if (isUnixExecutable(stats)) return filePath;
}
}
return "";
});
}
function normalizeSeparators(p) {
p = p || "";
if (IS_WINDOWS$1) {
p = p.replace(/\//g, "\\");
return p.replace(/\\\\+/g, "\\");
}
return p.replace(/\/\/+/g, "/");
}
function isUnixExecutable(stats) {
return (stats.mode & 1) > 0 || (stats.mode & 8) > 0 && process.getgid !== void 0 && stats.gid === process.getgid() || (stats.mode & 64) > 0 && process.getuid !== void 0 && stats.uid === process.getuid();
}
//#endregion
//#region node_modules/@actions/io/lib/io.js
var __awaiter$4 = function(thisArg, _arguments, P, generator) {
function adopt(value) {
return value instanceof P ? value : new P(function(resolve) {
resolve(value);
});
}
return new (P || (P = Promise))(function(resolve, reject) {
function fulfilled(value) {
try {
step(generator.next(value));
} catch (e) {
reject(e);
}
}
function rejected(value) {
try {
step(generator["throw"](value));
} catch (e) {
reject(e);
}
}
function step(result) {
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
}
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
/**
* Returns path of a tool had the tool actually been invoked. Resolves via paths.
* If you check and the tool does not exist, it will throw.
*
* @param tool name of the tool
* @param check whether to check if tool exists
* @returns Promise<string> path to tool
*/
function which(tool, check) {
return __awaiter$4(this, void 0, void 0, function* () {
if (!tool) throw new Error("parameter 'tool' is required");
if (check) {
const result = yield which(tool, false);
if (!result) if (IS_WINDOWS$1) throw new Error(`Unable to locate executable file: ${tool}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`);
else throw new Error(`Unable to locate executable file: ${tool}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);
return result;
}
const matches = yield findInPath(tool);
if (matches && matches.length > 0) return matches[0];
return "";
});
}
/**
* Returns a list of all occurrences of the given tool on the system path.
*
* @returns Promise<string[]> the paths of the tool
*/
function findInPath(tool) {
return __awaiter$4(this, void 0, void 0, function* () {
if (!tool) throw new Error("parameter 'tool' is required");
const extensions = [];
if (IS_WINDOWS$1 && process.env["PATHEXT"]) {
for (const extension of process.env["PATHEXT"].split(path.delimiter)) if (extension) extensions.push(extension);
}
if (isRooted(tool)) {
const filePath = yield tryGetExecutablePath(tool, extensions);
if (filePath) return [filePath];
return [];
}
if (tool.includes(path.sep)) return [];
const directories = [];
if (process.env.PATH) {
for (const p of process.env.PATH.split(path.delimiter)) if (p) directories.push(p);
}
const matches = [];
for (const directory of directories) {
const filePath = yield tryGetExecutablePath(path.join(directory, tool), extensions);
if (filePath) matches.push(filePath);
}
return matches;
});
}
process.platform;
events.EventEmitter;
events.EventEmitter;
@@ -22253,7 +22064,8 @@ async function run() {
try {
const jsonFilePath = getInput("json-file");
info(`Validating JSON file: ${jsonFilePath}`);
await validateJson((0, node_fs.readFileSync)(jsonFilePath, "utf8"));
const json = (0, node_fs.readFileSync)(jsonFilePath, "utf8");
await validateJson(json);
info("JSON file is valid");
} catch (error) {
setFailed(`Error validating JSON file: ${error}`);