From 434a92bc4faf302845542ab080ba51cea01d392d Mon Sep 17 00:00:00 2001 From: Fabio Niephaus Date: Tue, 2 Dec 2025 09:34:33 +0100 Subject: [PATCH] Update dist files. --- dist/cleanup.js | 862 ++++++++++++++++++++++----------------------- dist/main.js | 908 ++++++++++++++++++++++++------------------------ 2 files changed, 885 insertions(+), 885 deletions(-) diff --git a/dist/cleanup.js b/dist/cleanup.js index c3b41d0..82598ec 100644 --- a/dist/cleanup.js +++ b/dist/cleanup.js @@ -8261,9 +8261,9 @@ var hasRequiredConstants$4; function requireConstants$4 () { if (hasRequiredConstants$4) return constants$4; hasRequiredConstants$4 = 1; - (function (exports) { - Object.defineProperty(exports, "__esModule", { value: true }); - exports.SPECIAL_HEADERS = exports.HEADER_STATE = exports.MINOR = exports.MAJOR = exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS = exports.TOKEN = exports.STRICT_TOKEN = exports.HEX = exports.URL_CHAR = exports.STRICT_URL_CHAR = exports.USERINFO_CHARS = exports.MARK = exports.ALPHANUM = exports.NUM = exports.HEX_MAP = exports.NUM_MAP = exports.ALPHA = exports.FINISH = exports.H_METHOD_MAP = exports.METHOD_MAP = exports.METHODS_RTSP = exports.METHODS_ICE = exports.METHODS_HTTP = exports.METHODS = exports.LENIENT_FLAGS = exports.FLAGS = exports.TYPE = exports.ERROR = void 0; + (function (exports$1) { + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.SPECIAL_HEADERS = exports$1.HEADER_STATE = exports$1.MINOR = exports$1.MAJOR = exports$1.CONNECTION_TOKEN_CHARS = exports$1.HEADER_CHARS = exports$1.TOKEN = exports$1.STRICT_TOKEN = exports$1.HEX = exports$1.URL_CHAR = exports$1.STRICT_URL_CHAR = exports$1.USERINFO_CHARS = exports$1.MARK = exports$1.ALPHANUM = exports$1.NUM = exports$1.HEX_MAP = exports$1.NUM_MAP = exports$1.ALPHA = exports$1.FINISH = exports$1.H_METHOD_MAP = exports$1.METHOD_MAP = exports$1.METHODS_RTSP = exports$1.METHODS_ICE = exports$1.METHODS_HTTP = exports$1.METHODS = exports$1.LENIENT_FLAGS = exports$1.FLAGS = exports$1.TYPE = exports$1.ERROR = void 0; const utils_1 = requireUtils$2(); (function (ERROR) { ERROR[ERROR["OK"] = 0] = "OK"; @@ -8291,12 +8291,12 @@ function requireConstants$4 () { ERROR[ERROR["PAUSED_UPGRADE"] = 22] = "PAUSED_UPGRADE"; ERROR[ERROR["PAUSED_H2_UPGRADE"] = 23] = "PAUSED_H2_UPGRADE"; ERROR[ERROR["USER"] = 24] = "USER"; - })(exports.ERROR || (exports.ERROR = {})); + })(exports$1.ERROR || (exports$1.ERROR = {})); (function (TYPE) { TYPE[TYPE["BOTH"] = 0] = "BOTH"; TYPE[TYPE["REQUEST"] = 1] = "REQUEST"; TYPE[TYPE["RESPONSE"] = 2] = "RESPONSE"; - })(exports.TYPE || (exports.TYPE = {})); + })(exports$1.TYPE || (exports$1.TYPE = {})); (function (FLAGS) { FLAGS[FLAGS["CONNECTION_KEEP_ALIVE"] = 1] = "CONNECTION_KEEP_ALIVE"; FLAGS[FLAGS["CONNECTION_CLOSE"] = 2] = "CONNECTION_CLOSE"; @@ -8308,12 +8308,12 @@ function requireConstants$4 () { FLAGS[FLAGS["TRAILING"] = 128] = "TRAILING"; // 1 << 8 is unused FLAGS[FLAGS["TRANSFER_ENCODING"] = 512] = "TRANSFER_ENCODING"; - })(exports.FLAGS || (exports.FLAGS = {})); + })(exports$1.FLAGS || (exports$1.FLAGS = {})); (function (LENIENT_FLAGS) { LENIENT_FLAGS[LENIENT_FLAGS["HEADERS"] = 1] = "HEADERS"; LENIENT_FLAGS[LENIENT_FLAGS["CHUNKED_LENGTH"] = 2] = "CHUNKED_LENGTH"; LENIENT_FLAGS[LENIENT_FLAGS["KEEP_ALIVE"] = 4] = "KEEP_ALIVE"; - })(exports.LENIENT_FLAGS || (exports.LENIENT_FLAGS = {})); + })(exports$1.LENIENT_FLAGS || (exports$1.LENIENT_FLAGS = {})); var METHODS; (function (METHODS) { METHODS[METHODS["DELETE"] = 0] = "DELETE"; @@ -8373,8 +8373,8 @@ function requireConstants$4 () { METHODS[METHODS["RECORD"] = 44] = "RECORD"; /* RAOP */ METHODS[METHODS["FLUSH"] = 45] = "FLUSH"; - })(METHODS = exports.METHODS || (exports.METHODS = {})); - exports.METHODS_HTTP = [ + })(METHODS = exports$1.METHODS || (exports$1.METHODS = {})); + exports$1.METHODS_HTTP = [ METHODS.DELETE, METHODS.GET, METHODS.HEAD, @@ -8412,10 +8412,10 @@ function requireConstants$4 () { // TODO(indutny): should we allow it with HTTP? METHODS.SOURCE, ]; - exports.METHODS_ICE = [ + exports$1.METHODS_ICE = [ METHODS.SOURCE, ]; - exports.METHODS_RTSP = [ + exports$1.METHODS_RTSP = [ METHODS.OPTIONS, METHODS.DESCRIBE, METHODS.ANNOUNCE, @@ -8432,59 +8432,59 @@ function requireConstants$4 () { METHODS.GET, METHODS.POST, ]; - exports.METHOD_MAP = utils_1.enumToMap(METHODS); - exports.H_METHOD_MAP = {}; - Object.keys(exports.METHOD_MAP).forEach((key) => { + exports$1.METHOD_MAP = utils_1.enumToMap(METHODS); + exports$1.H_METHOD_MAP = {}; + Object.keys(exports$1.METHOD_MAP).forEach((key) => { if (/^H/.test(key)) { - exports.H_METHOD_MAP[key] = exports.METHOD_MAP[key]; + exports$1.H_METHOD_MAP[key] = exports$1.METHOD_MAP[key]; } }); (function (FINISH) { FINISH[FINISH["SAFE"] = 0] = "SAFE"; FINISH[FINISH["SAFE_WITH_CB"] = 1] = "SAFE_WITH_CB"; FINISH[FINISH["UNSAFE"] = 2] = "UNSAFE"; - })(exports.FINISH || (exports.FINISH = {})); - exports.ALPHA = []; + })(exports$1.FINISH || (exports$1.FINISH = {})); + exports$1.ALPHA = []; for (let i = 'A'.charCodeAt(0); i <= 'Z'.charCodeAt(0); i++) { // Upper case - exports.ALPHA.push(String.fromCharCode(i)); + exports$1.ALPHA.push(String.fromCharCode(i)); // Lower case - exports.ALPHA.push(String.fromCharCode(i + 0x20)); + exports$1.ALPHA.push(String.fromCharCode(i + 0x20)); } - exports.NUM_MAP = { + exports$1.NUM_MAP = { 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, }; - exports.HEX_MAP = { + exports$1.HEX_MAP = { 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, A: 0XA, B: 0XB, C: 0XC, D: 0XD, E: 0XE, F: 0XF, a: 0xa, b: 0xb, c: 0xc, d: 0xd, e: 0xe, f: 0xf, }; - exports.NUM = [ + exports$1.NUM = [ '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ]; - exports.ALPHANUM = exports.ALPHA.concat(exports.NUM); - exports.MARK = ['-', '_', '.', '!', '~', '*', '\'', '(', ')']; - exports.USERINFO_CHARS = exports.ALPHANUM - .concat(exports.MARK) + exports$1.ALPHANUM = exports$1.ALPHA.concat(exports$1.NUM); + exports$1.MARK = ['-', '_', '.', '!', '~', '*', '\'', '(', ')']; + exports$1.USERINFO_CHARS = exports$1.ALPHANUM + .concat(exports$1.MARK) .concat(['%', ';', ':', '&', '=', '+', '$', ',']); // TODO(indutny): use RFC - exports.STRICT_URL_CHAR = [ + exports$1.STRICT_URL_CHAR = [ '!', '"', '$', '%', '&', '\'', '(', ')', '*', '+', ',', '-', '.', '/', ':', ';', '<', '=', '>', '@', '[', '\\', ']', '^', '_', '`', '{', '|', '}', '~', - ].concat(exports.ALPHANUM); - exports.URL_CHAR = exports.STRICT_URL_CHAR + ].concat(exports$1.ALPHANUM); + exports$1.URL_CHAR = exports$1.STRICT_URL_CHAR .concat(['\t', '\f']); // All characters with 0x80 bit set to 1 for (let i = 0x80; i <= 0xff; i++) { - exports.URL_CHAR.push(i); + exports$1.URL_CHAR.push(i); } - exports.HEX = exports.NUM.concat(['a', 'b', 'c', 'd', 'e', 'f', 'A', 'B', 'C', 'D', 'E', 'F']); + exports$1.HEX = exports$1.NUM.concat(['a', 'b', 'c', 'd', 'e', 'f', 'A', 'B', 'C', 'D', 'E', 'F']); /* Tokens as defined by rfc 2616. Also lowercases them. * token = 1* * separators = "(" | ")" | "<" | ">" | "@" @@ -8492,27 +8492,27 @@ function requireConstants$4 () { * | "/" | "[" | "]" | "?" | "=" * | "{" | "}" | SP | HT */ - exports.STRICT_TOKEN = [ + exports$1.STRICT_TOKEN = [ '!', '#', '$', '%', '&', '\'', '*', '+', '-', '.', '^', '_', '`', '|', '~', - ].concat(exports.ALPHANUM); - exports.TOKEN = exports.STRICT_TOKEN.concat([' ']); + ].concat(exports$1.ALPHANUM); + exports$1.TOKEN = exports$1.STRICT_TOKEN.concat([' ']); /* * Verify that a char is a valid visible (printable) US-ASCII * character or %x80-FF */ - exports.HEADER_CHARS = ['\t']; + exports$1.HEADER_CHARS = ['\t']; for (let i = 32; i <= 255; i++) { if (i !== 127) { - exports.HEADER_CHARS.push(i); + exports$1.HEADER_CHARS.push(i); } } // ',' = \x44 - exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS.filter((c) => c !== 44); - exports.MAJOR = exports.NUM_MAP; - exports.MINOR = exports.MAJOR; + exports$1.CONNECTION_TOKEN_CHARS = exports$1.HEADER_CHARS.filter((c) => c !== 44); + exports$1.MAJOR = exports$1.NUM_MAP; + exports$1.MINOR = exports$1.MAJOR; var HEADER_STATE; (function (HEADER_STATE) { HEADER_STATE[HEADER_STATE["GENERAL"] = 0] = "GENERAL"; @@ -8524,8 +8524,8 @@ function requireConstants$4 () { HEADER_STATE[HEADER_STATE["CONNECTION_CLOSE"] = 6] = "CONNECTION_CLOSE"; HEADER_STATE[HEADER_STATE["CONNECTION_UPGRADE"] = 7] = "CONNECTION_UPGRADE"; HEADER_STATE[HEADER_STATE["TRANSFER_ENCODING_CHUNKED"] = 8] = "TRANSFER_ENCODING_CHUNKED"; - })(HEADER_STATE = exports.HEADER_STATE || (exports.HEADER_STATE = {})); - exports.SPECIAL_HEADERS = { + })(HEADER_STATE = exports$1.HEADER_STATE || (exports$1.HEADER_STATE = {})); + exports$1.SPECIAL_HEADERS = { 'connection': HEADER_STATE.CONNECTION, 'content-length': HEADER_STATE.CONTENT_LENGTH, 'proxy-connection': HEADER_STATE.CONNECTION, @@ -9364,10 +9364,10 @@ function requireClient () { const TIMEOUT_IDLE = 3; class Parser { - constructor (client, socket, { exports }) { + constructor (client, socket, { exports: exports$1 }) { assert(Number.isFinite(client[kMaxHeadersSize]) && client[kMaxHeadersSize] > 0); - this.llhttp = exports; + this.llhttp = exports$1; this.ptr = this.llhttp.llhttp_alloc(constants.TYPE.RESPONSE); this.client = client; this.socket = socket; @@ -25229,7 +25229,7 @@ var hasRequiredSummary; function requireSummary () { if (hasRequiredSummary) return summary; hasRequiredSummary = 1; - (function (exports) { + (function (exports$1) { var __awaiter = (summary && summary.__awaiter) || 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) { @@ -25239,13 +25239,13 @@ function requireSummary () { step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0; + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.summary = exports$1.markdownSummary = exports$1.SUMMARY_DOCS_URL = exports$1.SUMMARY_ENV_VAR = void 0; const os_1 = os$1; const fs_1 = fs__default; const { access, appendFile, writeFile } = fs_1.promises; - exports.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY'; - exports.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary'; + exports$1.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY'; + exports$1.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary'; class Summary { constructor() { this._buffer = ''; @@ -25261,9 +25261,9 @@ function requireSummary () { if (this._filePath) { return this._filePath; } - const pathFromEnv = process.env[exports.SUMMARY_ENV_VAR]; + const pathFromEnv = process.env[exports$1.SUMMARY_ENV_VAR]; if (!pathFromEnv) { - throw new Error(`Unable to find environment variable for $${exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`); + throw new Error(`Unable to find environment variable for $${exports$1.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`); } try { yield access(pathFromEnv, fs_1.constants.R_OK | fs_1.constants.W_OK); @@ -25509,8 +25509,8 @@ function requireSummary () { /** * @deprecated use `core.summary` */ - exports.markdownSummary = _summary; - exports.summary = _summary; + exports$1.markdownSummary = _summary; + exports$1.summary = _summary; } (summary)); return summary; @@ -25602,7 +25602,7 @@ var hasRequiredIoUtil$2; function requireIoUtil$2 () { if (hasRequiredIoUtil$2) return ioUtil$2; hasRequiredIoUtil$2 = 1; - (function (exports) { + (function (exports$1) { var __createBinding = (ioUtil$2 && ioUtil$2.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); @@ -25632,22 +25632,22 @@ function requireIoUtil$2 () { }); }; var _a; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getCmdPath = exports.tryGetExecutablePath = exports.isRooted = exports.isDirectory = exports.exists = exports.READONLY = exports.UV_FS_O_EXLOCK = exports.IS_WINDOWS = exports.unlink = exports.symlink = exports.stat = exports.rmdir = exports.rm = exports.rename = exports.readlink = exports.readdir = exports.open = exports.mkdir = exports.lstat = exports.copyFile = exports.chmod = void 0; + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.getCmdPath = exports$1.tryGetExecutablePath = exports$1.isRooted = exports$1.isDirectory = exports$1.exists = exports$1.READONLY = exports$1.UV_FS_O_EXLOCK = exports$1.IS_WINDOWS = exports$1.unlink = exports$1.symlink = exports$1.stat = exports$1.rmdir = exports$1.rm = exports$1.rename = exports$1.readlink = exports$1.readdir = exports$1.open = exports$1.mkdir = exports$1.lstat = exports$1.copyFile = exports$1.chmod = void 0; const fs = __importStar(fs__default); const path = __importStar(require$$1$5); _a = fs.promises // export const {open} = 'fs' - , exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.open = _a.open, exports.readdir = _a.readdir, exports.readlink = _a.readlink, exports.rename = _a.rename, exports.rm = _a.rm, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink; + , exports$1.chmod = _a.chmod, exports$1.copyFile = _a.copyFile, exports$1.lstat = _a.lstat, exports$1.mkdir = _a.mkdir, exports$1.open = _a.open, exports$1.readdir = _a.readdir, exports$1.readlink = _a.readlink, exports$1.rename = _a.rename, exports$1.rm = _a.rm, exports$1.rmdir = _a.rmdir, exports$1.stat = _a.stat, exports$1.symlink = _a.symlink, exports$1.unlink = _a.unlink; // export const {open} = 'fs' - exports.IS_WINDOWS = process.platform === 'win32'; + exports$1.IS_WINDOWS = process.platform === 'win32'; // See https://github.com/nodejs/node/blob/d0153aee367422d0858105abec186da4dff0a0c5/deps/uv/include/uv/win.h#L691 - exports.UV_FS_O_EXLOCK = 0x10000000; - exports.READONLY = fs.constants.O_RDONLY; + exports$1.UV_FS_O_EXLOCK = 0x10000000; + exports$1.READONLY = fs.constants.O_RDONLY; function exists(fsPath) { return __awaiter(this, void 0, void 0, function* () { try { - yield exports.stat(fsPath); + yield exports$1.stat(fsPath); } catch (err) { if (err.code === 'ENOENT') { @@ -25658,14 +25658,14 @@ function requireIoUtil$2 () { return true; }); } - exports.exists = exists; + exports$1.exists = exists; function isDirectory(fsPath, useStat = false) { return __awaiter(this, void 0, void 0, function* () { - const stats = useStat ? yield exports.stat(fsPath) : yield exports.lstat(fsPath); + const stats = useStat ? yield exports$1.stat(fsPath) : yield exports$1.lstat(fsPath); return stats.isDirectory(); }); } - exports.isDirectory = isDirectory; + exports$1.isDirectory = isDirectory; /** * 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). @@ -25675,13 +25675,13 @@ function requireIoUtil$2 () { if (!p) { throw new Error('isRooted() parameter "p" cannot be empty'); } - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { return (p.startsWith('\\') || /^[A-Z]:/i.test(p) // e.g. \ or \hello or \\hello ); // e.g. C: or C:\hello } return p.startsWith('/'); } - exports.isRooted = isRooted; + exports$1.isRooted = isRooted; /** * Best effort attempt to determine whether a file exists and is executable. * @param filePath file path to check @@ -25693,7 +25693,7 @@ function requireIoUtil$2 () { let stats = undefined; try { // test file exists - stats = yield exports.stat(filePath); + stats = yield exports$1.stat(filePath); } catch (err) { if (err.code !== 'ENOENT') { @@ -25702,7 +25702,7 @@ function requireIoUtil$2 () { } } if (stats && stats.isFile()) { - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { // on Windows, test for valid extension const upperExt = path.extname(filePath).toUpperCase(); if (extensions.some(validExt => validExt.toUpperCase() === upperExt)) { @@ -25721,7 +25721,7 @@ function requireIoUtil$2 () { filePath = originalFilePath + extension; stats = undefined; try { - stats = yield exports.stat(filePath); + stats = yield exports$1.stat(filePath); } catch (err) { if (err.code !== 'ENOENT') { @@ -25730,12 +25730,12 @@ function requireIoUtil$2 () { } } if (stats && stats.isFile()) { - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { // preserve the case of the actual file (since an extension was appended) try { const directory = path.dirname(filePath); const upperName = path.basename(filePath).toUpperCase(); - for (const actualName of yield exports.readdir(directory)) { + for (const actualName of yield exports$1.readdir(directory)) { if (upperName === actualName.toUpperCase()) { filePath = path.join(directory, actualName); break; @@ -25758,10 +25758,10 @@ function requireIoUtil$2 () { return ''; }); } - exports.tryGetExecutablePath = tryGetExecutablePath; + exports$1.tryGetExecutablePath = tryGetExecutablePath; function normalizeSeparators(p) { p = p || ''; - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { // convert slashes on Windows p = p.replace(/\//g, '\\'); // remove redundant slashes @@ -25783,7 +25783,7 @@ function requireIoUtil$2 () { var _a; return (_a = process.env['COMSPEC']) !== null && _a !== void 0 ? _a : `cmd.exe`; } - exports.getCmdPath = getCmdPath; + exports$1.getCmdPath = getCmdPath; } (ioUtil$2)); return ioUtil$2; @@ -26835,7 +26835,7 @@ var hasRequiredPlatform; function requirePlatform () { if (hasRequiredPlatform) return platform; hasRequiredPlatform = 1; - (function (exports) { + (function (exports$1) { var __createBinding = (platform && platform.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); @@ -26871,8 +26871,8 @@ function requirePlatform () { var __importDefault = (platform && platform.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getDetails = exports.isLinux = exports.isMacOS = exports.isWindows = exports.arch = exports.platform = void 0; + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.getDetails = exports$1.isLinux = exports$1.isMacOS = exports$1.isWindows = exports$1.arch = exports$1.platform = void 0; const os_1 = __importDefault(os$1); const exec = __importStar(requireExec()); const getWindowsInfo = () => __awaiter(void 0, void 0, void 0, function* () { @@ -26909,25 +26909,25 @@ function requirePlatform () { version }; }); - exports.platform = os_1.default.platform(); - exports.arch = os_1.default.arch(); - exports.isWindows = exports.platform === 'win32'; - exports.isMacOS = exports.platform === 'darwin'; - exports.isLinux = exports.platform === 'linux'; + exports$1.platform = os_1.default.platform(); + exports$1.arch = os_1.default.arch(); + exports$1.isWindows = exports$1.platform === 'win32'; + exports$1.isMacOS = exports$1.platform === 'darwin'; + exports$1.isLinux = exports$1.platform === 'linux'; function getDetails() { return __awaiter(this, void 0, void 0, function* () { - return Object.assign(Object.assign({}, (yield (exports.isWindows + return Object.assign(Object.assign({}, (yield (exports$1.isWindows ? getWindowsInfo() - : exports.isMacOS + : exports$1.isMacOS ? getMacOsInfo() - : getLinuxInfo()))), { platform: exports.platform, - arch: exports.arch, - isWindows: exports.isWindows, - isMacOS: exports.isMacOS, - isLinux: exports.isLinux }); + : getLinuxInfo()))), { platform: exports$1.platform, + arch: exports$1.arch, + isWindows: exports$1.isWindows, + isMacOS: exports$1.isMacOS, + isLinux: exports$1.isLinux }); }); } - exports.getDetails = getDetails; + exports$1.getDetails = getDetails; } (platform)); return platform; @@ -26938,7 +26938,7 @@ var hasRequiredCore; function requireCore () { if (hasRequiredCore) return core; hasRequiredCore = 1; - (function (exports) { + (function (exports$1) { var __createBinding = (core && core.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); @@ -26971,8 +26971,8 @@ function requireCore () { step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.platform = exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = exports.markdownSummary = exports.summary = exports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0; + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.platform = exports$1.toPlatformPath = exports$1.toWin32Path = exports$1.toPosixPath = exports$1.markdownSummary = exports$1.summary = exports$1.getIDToken = exports$1.getState = exports$1.saveState = exports$1.group = exports$1.endGroup = exports$1.startGroup = exports$1.info = exports$1.notice = exports$1.warning = exports$1.error = exports$1.debug = exports$1.isDebug = exports$1.setFailed = exports$1.setCommandEcho = exports$1.setOutput = exports$1.getBooleanInput = exports$1.getMultilineInput = exports$1.getInput = exports$1.addPath = exports$1.setSecret = exports$1.exportVariable = exports$1.ExitCode = void 0; const command_1 = requireCommand(); const file_command_1 = requireFileCommand(); const utils_1 = requireUtils$3(); @@ -26992,7 +26992,7 @@ function requireCore () { * A code indicating that the action was a failure */ ExitCode[ExitCode["Failure"] = 1] = "Failure"; - })(ExitCode || (exports.ExitCode = ExitCode = {})); + })(ExitCode || (exports$1.ExitCode = ExitCode = {})); //----------------------------------------------------------------------- // Variables //----------------------------------------------------------------------- @@ -27011,7 +27011,7 @@ function requireCore () { } (0, command_1.issueCommand)('set-env', { name }, convertedVal); } - exports.exportVariable = exportVariable; + exports$1.exportVariable = exportVariable; /** * Registers a secret which will get masked from logs * @param secret value of the secret @@ -27019,7 +27019,7 @@ function requireCore () { function setSecret(secret) { (0, command_1.issueCommand)('add-mask', {}, secret); } - exports.setSecret = setSecret; + exports$1.setSecret = setSecret; /** * Prepends inputPath to the PATH (for this action and future actions) * @param inputPath @@ -27034,7 +27034,7 @@ function requireCore () { } process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`; } - exports.addPath = addPath; + exports$1.addPath = addPath; /** * Gets the value of an input. * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed. @@ -27054,7 +27054,7 @@ function requireCore () { } return val.trim(); } - exports.getInput = getInput; + exports$1.getInput = getInput; /** * Gets the values of an multiline input. Each value is also trimmed. * @@ -27072,7 +27072,7 @@ function requireCore () { } return inputs.map(input => input.trim()); } - exports.getMultilineInput = getMultilineInput; + exports$1.getMultilineInput = getMultilineInput; /** * Gets the input value of the boolean type in the YAML 1.2 "core schema" specification. * Support boolean input list: `true | True | TRUE | false | False | FALSE` . @@ -27094,7 +27094,7 @@ function requireCore () { throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${name}\n` + `Support boolean input list: \`true | True | TRUE | false | False | FALSE\``); } - exports.getBooleanInput = getBooleanInput; + exports$1.getBooleanInput = getBooleanInput; /** * Sets the value of an output. * @@ -27110,7 +27110,7 @@ function requireCore () { process.stdout.write(os.EOL); (0, command_1.issueCommand)('set-output', { name }, (0, utils_1.toCommandValue)(value)); } - exports.setOutput = setOutput; + exports$1.setOutput = setOutput; /** * Enables or disables the echoing of commands into stdout for the rest of the step. * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set. @@ -27119,7 +27119,7 @@ function requireCore () { function setCommandEcho(enabled) { (0, command_1.issue)('echo', enabled ? 'on' : 'off'); } - exports.setCommandEcho = setCommandEcho; + exports$1.setCommandEcho = setCommandEcho; //----------------------------------------------------------------------- // Results //----------------------------------------------------------------------- @@ -27132,7 +27132,7 @@ function requireCore () { process.exitCode = ExitCode.Failure; error(message); } - exports.setFailed = setFailed; + exports$1.setFailed = setFailed; //----------------------------------------------------------------------- // Logging Commands //----------------------------------------------------------------------- @@ -27142,7 +27142,7 @@ function requireCore () { function isDebug() { return process.env['RUNNER_DEBUG'] === '1'; } - exports.isDebug = isDebug; + exports$1.isDebug = isDebug; /** * Writes debug message to user log * @param message debug message @@ -27150,7 +27150,7 @@ function requireCore () { function debug(message) { (0, command_1.issueCommand)('debug', {}, message); } - exports.debug = debug; + exports$1.debug = debug; /** * Adds an error issue * @param message error issue message. Errors will be converted to string via toString() @@ -27159,7 +27159,7 @@ function requireCore () { function error(message, properties = {}) { (0, command_1.issueCommand)('error', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message); } - exports.error = error; + exports$1.error = error; /** * Adds a warning issue * @param message warning issue message. Errors will be converted to string via toString() @@ -27168,7 +27168,7 @@ function requireCore () { function warning(message, properties = {}) { (0, command_1.issueCommand)('warning', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message); } - exports.warning = warning; + exports$1.warning = warning; /** * Adds a notice issue * @param message notice issue message. Errors will be converted to string via toString() @@ -27177,7 +27177,7 @@ function requireCore () { function notice(message, properties = {}) { (0, command_1.issueCommand)('notice', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message); } - exports.notice = notice; + exports$1.notice = notice; /** * Writes info to log with console.log. * @param message info message @@ -27185,7 +27185,7 @@ function requireCore () { function info(message) { process.stdout.write(message + os.EOL); } - exports.info = info; + exports$1.info = info; /** * Begin an output group. * @@ -27196,14 +27196,14 @@ function requireCore () { function startGroup(name) { (0, command_1.issue)('group', name); } - exports.startGroup = startGroup; + exports$1.startGroup = startGroup; /** * End an output group. */ function endGroup() { (0, command_1.issue)('endgroup'); } - exports.endGroup = endGroup; + exports$1.endGroup = endGroup; /** * Wrap an asynchronous function call in a group. * @@ -27225,7 +27225,7 @@ function requireCore () { return result; }); } - exports.group = group; + exports$1.group = group; //----------------------------------------------------------------------- // Wrapper action state //----------------------------------------------------------------------- @@ -27243,7 +27243,7 @@ function requireCore () { } (0, command_1.issueCommand)('save-state', { name }, (0, utils_1.toCommandValue)(value)); } - exports.saveState = saveState; + exports$1.saveState = saveState; /** * Gets the value of an state set by this action's main execution. * @@ -27253,34 +27253,34 @@ function requireCore () { function getState(name) { return process.env[`STATE_${name}`] || ''; } - exports.getState = getState; + exports$1.getState = getState; function getIDToken(aud) { return __awaiter(this, void 0, void 0, function* () { return yield oidc_utils_1.OidcClient.getIDToken(aud); }); } - exports.getIDToken = getIDToken; + exports$1.getIDToken = getIDToken; /** * Summary exports */ var summary_1 = requireSummary(); - Object.defineProperty(exports, "summary", { enumerable: true, get: function () { return summary_1.summary; } }); + Object.defineProperty(exports$1, "summary", { enumerable: true, get: function () { return summary_1.summary; } }); /** * @deprecated use core.summary */ var summary_2 = requireSummary(); - Object.defineProperty(exports, "markdownSummary", { enumerable: true, get: function () { return summary_2.markdownSummary; } }); + Object.defineProperty(exports$1, "markdownSummary", { enumerable: true, get: function () { return summary_2.markdownSummary; } }); /** * Path exports */ var path_utils_1 = requirePathUtils(); - Object.defineProperty(exports, "toPosixPath", { enumerable: true, get: function () { return path_utils_1.toPosixPath; } }); - Object.defineProperty(exports, "toWin32Path", { enumerable: true, get: function () { return path_utils_1.toWin32Path; } }); - Object.defineProperty(exports, "toPlatformPath", { enumerable: true, get: function () { return path_utils_1.toPlatformPath; } }); + Object.defineProperty(exports$1, "toPosixPath", { enumerable: true, get: function () { return path_utils_1.toPosixPath; } }); + Object.defineProperty(exports$1, "toWin32Path", { enumerable: true, get: function () { return path_utils_1.toWin32Path; } }); + Object.defineProperty(exports$1, "toPlatformPath", { enumerable: true, get: function () { return path_utils_1.toPlatformPath; } }); /** * Platform utilities exports */ - exports.platform = __importStar(requirePlatform()); + exports$1.platform = __importStar(requirePlatform()); } (core)); return core; @@ -27624,9 +27624,9 @@ var hasRequiredInternalMatchKind$1; function requireInternalMatchKind$1 () { if (hasRequiredInternalMatchKind$1) return internalMatchKind$1; hasRequiredInternalMatchKind$1 = 1; - (function (exports) { - Object.defineProperty(exports, "__esModule", { value: true }); - exports.MatchKind = void 0; + (function (exports$1) { + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.MatchKind = void 0; (function (MatchKind) { /** Not matched */ MatchKind[MatchKind["None"] = 0] = "None"; @@ -27636,7 +27636,7 @@ function requireInternalMatchKind$1 () { MatchKind[MatchKind["File"] = 2] = "File"; /** Matched */ MatchKind[MatchKind["All"] = 3] = "All"; - })(exports.MatchKind || (exports.MatchKind = {})); + })(exports$1.MatchKind || (exports$1.MatchKind = {})); } (internalMatchKind$1)); return internalMatchKind$1; @@ -27756,13 +27756,13 @@ var hasRequiredCommonjs$3; function requireCommonjs$3 () { if (hasRequiredCommonjs$3) return commonjs$1; hasRequiredCommonjs$3 = 1; - (function (exports) { - Object.defineProperty(exports, "__esModule", { value: true }); - exports.range = exports.balanced = void 0; + (function (exports$1) { + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.range = exports$1.balanced = void 0; const balanced = (a, b, str) => { const ma = a instanceof RegExp ? maybeMatch(a, str) : a; const mb = b instanceof RegExp ? maybeMatch(b, str) : b; - const r = ma !== null && mb != null && (0, exports.range)(ma, mb, str); + const r = ma !== null && mb != null && (0, exports$1.range)(ma, mb, str); return (r && { start: r[0], end: r[1], @@ -27771,7 +27771,7 @@ function requireCommonjs$3 () { post: str.slice(r[1] + mb.length), }); }; - exports.balanced = balanced; + exports$1.balanced = balanced; const maybeMatch = (reg, str) => { const m = str.match(reg); return m ? m[0] : null; @@ -27813,7 +27813,7 @@ function requireCommonjs$3 () { } return result; }; - exports.range = range; + exports$1.range = range; } (commonjs$1)); return commonjs$1; @@ -28875,9 +28875,9 @@ var hasRequiredCommonjs$1; function requireCommonjs$1 () { if (hasRequiredCommonjs$1) return commonjs$3; hasRequiredCommonjs$1 = 1; - (function (exports) { - Object.defineProperty(exports, "__esModule", { value: true }); - exports.unescape = exports.escape = exports.AST = exports.Minimatch = exports.match = exports.makeRe = exports.braceExpand = exports.defaults = exports.filter = exports.GLOBSTAR = exports.sep = exports.minimatch = void 0; + (function (exports$1) { + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.unescape = exports$1.escape = exports$1.AST = exports$1.Minimatch = exports$1.match = exports$1.makeRe = exports$1.braceExpand = exports$1.defaults = exports$1.filter = exports$1.GLOBSTAR = exports$1.sep = exports$1.minimatch = void 0; const brace_expansion_1 = requireCommonjs$2(); const assert_valid_pattern_js_1 = requireAssertValidPattern$1(); const ast_js_1 = requireAst$1(); @@ -28891,7 +28891,7 @@ function requireCommonjs$1 () { } return new Minimatch(pattern, options).match(p); }; - exports.minimatch = minimatch; + exports$1.minimatch = minimatch; // Optimized checking for the most common glob patterns. const starDotExtRE = /^\*+([^+@!?\*\[\(]*)$/; const starDotExtTest = (ext) => (f) => !f.startsWith('.') && f.endsWith(ext); @@ -28955,10 +28955,10 @@ function requireCommonjs$1 () { posix: { sep: '/' }, }; /* c8 ignore stop */ - exports.sep = defaultPlatform === 'win32' ? path.win32.sep : path.posix.sep; - exports.minimatch.sep = exports.sep; - exports.GLOBSTAR = Symbol('globstar **'); - exports.minimatch.GLOBSTAR = exports.GLOBSTAR; + exports$1.sep = defaultPlatform === 'win32' ? path.win32.sep : path.posix.sep; + exports$1.minimatch.sep = exports$1.sep; + exports$1.GLOBSTAR = Symbol('globstar **'); + exports$1.minimatch.GLOBSTAR = exports$1.GLOBSTAR; // any single thing other than / // don't need to escape / when using new RegExp() const qmark = '[^/]'; @@ -28971,15 +28971,15 @@ function requireCommonjs$1 () { // not a ^ or / followed by a dot, // followed by anything, any number of times. const twoStarNoDot = '(?:(?!(?:\\/|^)\\.).)*?'; - const filter = (pattern, options = {}) => (p) => (0, exports.minimatch)(p, pattern, options); - exports.filter = filter; - exports.minimatch.filter = exports.filter; + const filter = (pattern, options = {}) => (p) => (0, exports$1.minimatch)(p, pattern, options); + exports$1.filter = filter; + exports$1.minimatch.filter = exports$1.filter; const ext = (a, b = {}) => Object.assign({}, a, b); const defaults = (def) => { if (!def || typeof def !== 'object' || !Object.keys(def).length) { - return exports.minimatch; + return exports$1.minimatch; } - const orig = exports.minimatch; + const orig = exports$1.minimatch; const m = (p, pattern, options = {}) => orig(p, pattern, ext(def, options)); return Object.assign(m, { Minimatch: class Minimatch extends orig.Minimatch { @@ -29008,11 +29008,11 @@ function requireCommonjs$1 () { braceExpand: (pattern, options = {}) => orig.braceExpand(pattern, ext(def, options)), match: (list, pattern, options = {}) => orig.match(list, pattern, ext(def, options)), sep: orig.sep, - GLOBSTAR: exports.GLOBSTAR, + GLOBSTAR: exports$1.GLOBSTAR, }); }; - exports.defaults = defaults; - exports.minimatch.defaults = exports.defaults; + exports$1.defaults = defaults; + exports$1.minimatch.defaults = exports$1.defaults; // Brace expansion: // a{b,c}d -> abd acd // a{b,}c -> abc ac @@ -29033,8 +29033,8 @@ function requireCommonjs$1 () { } return (0, brace_expansion_1.expand)(pattern); }; - exports.braceExpand = braceExpand; - exports.minimatch.braceExpand = exports.braceExpand; + exports$1.braceExpand = braceExpand; + exports$1.minimatch.braceExpand = exports$1.braceExpand; // parse a component of the expanded set. // At this point, no pattern may contain "/" in it // so we're going to return a 2d array, where each entry is the full @@ -29047,8 +29047,8 @@ function requireCommonjs$1 () { // of * is equivalent to a single *. Globstar behavior is enabled by // default, and can be disabled by setting options.noglobstar. const makeRe = (pattern, options = {}) => new Minimatch(pattern, options).makeRe(); - exports.makeRe = makeRe; - exports.minimatch.makeRe = exports.makeRe; + exports$1.makeRe = makeRe; + exports$1.minimatch.makeRe = exports$1.makeRe; const match = (list, pattern, options = {}) => { const mm = new Minimatch(pattern, options); list = list.filter(f => mm.match(f)); @@ -29057,8 +29057,8 @@ function requireCommonjs$1 () { } return list; }; - exports.match = match; - exports.minimatch.match = exports.match; + exports$1.match = match; + exports$1.minimatch.match = exports$1.match; // replace stuff like \* with * const globMagic = /[?*]|[+@!]\(.*?\)|\[|\]/; const regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&'); @@ -29536,7 +29536,7 @@ function requireCommonjs$1 () { return false; } /* c8 ignore stop */ - if (p === exports.GLOBSTAR) { + if (p === exports$1.GLOBSTAR) { this.debug('GLOBSTAR', [pattern, p, f]); // "**" // a/**/b/**/c would match the following: @@ -29667,14 +29667,14 @@ function requireCommonjs$1 () { /* c8 ignore stop */ } braceExpand() { - return (0, exports.braceExpand)(this.pattern, this.options); + return (0, exports$1.braceExpand)(this.pattern, this.options); } parse(pattern) { (0, assert_valid_pattern_js_1.assertValidPattern)(pattern); const options = this.options; // shortcuts if (pattern === '**') - return exports.GLOBSTAR; + return exports$1.GLOBSTAR; if (pattern === '') return ''; // far and away, the most common glob pattern parts are @@ -29751,18 +29751,18 @@ function requireCommonjs$1 () { } return typeof p === 'string' ? regExpEscape(p) - : p === exports.GLOBSTAR - ? exports.GLOBSTAR + : p === exports$1.GLOBSTAR + ? exports$1.GLOBSTAR : p._src; }); pp.forEach((p, i) => { const next = pp[i + 1]; const prev = pp[i - 1]; - if (p !== exports.GLOBSTAR || prev === exports.GLOBSTAR) { + if (p !== exports$1.GLOBSTAR || prev === exports$1.GLOBSTAR) { return; } if (prev === undefined) { - if (next !== undefined && next !== exports.GLOBSTAR) { + if (next !== undefined && next !== exports$1.GLOBSTAR) { pp[i + 1] = '(?:\\/|' + twoStar + '\\/)?' + next; } else { @@ -29772,12 +29772,12 @@ function requireCommonjs$1 () { else if (next === undefined) { pp[i - 1] = prev + '(?:\\/|' + twoStar + ')?'; } - else if (next !== exports.GLOBSTAR) { + else if (next !== exports$1.GLOBSTAR) { pp[i - 1] = prev + '(?:\\/|\\/' + twoStar + '\\/)' + next; - pp[i + 1] = exports.GLOBSTAR; + pp[i + 1] = exports$1.GLOBSTAR; } }); - return pp.filter(p => p !== exports.GLOBSTAR).join('/'); + return pp.filter(p => p !== exports$1.GLOBSTAR).join('/'); }) .join('|'); // need to wrap in parens if we had more than one thing with |, @@ -29872,22 +29872,22 @@ function requireCommonjs$1 () { return this.negate; } static defaults(def) { - return exports.minimatch.defaults(def).Minimatch; + return exports$1.minimatch.defaults(def).Minimatch; } } - exports.Minimatch = Minimatch; + exports$1.Minimatch = Minimatch; /* c8 ignore start */ var ast_js_2 = requireAst$1(); - Object.defineProperty(exports, "AST", { enumerable: true, get: function () { return ast_js_2.AST; } }); + Object.defineProperty(exports$1, "AST", { enumerable: true, get: function () { return ast_js_2.AST; } }); var escape_js_2 = require_escape$1(); - Object.defineProperty(exports, "escape", { enumerable: true, get: function () { return escape_js_2.escape; } }); + Object.defineProperty(exports$1, "escape", { enumerable: true, get: function () { return escape_js_2.escape; } }); var unescape_js_2 = require_unescape$1(); - Object.defineProperty(exports, "unescape", { enumerable: true, get: function () { return unescape_js_2.unescape; } }); + Object.defineProperty(exports$1, "unescape", { enumerable: true, get: function () { return unescape_js_2.unescape; } }); /* c8 ignore stop */ - exports.minimatch.AST = ast_js_1.AST; - exports.minimatch.Minimatch = Minimatch; - exports.minimatch.escape = escape_js_1.escape; - exports.minimatch.unescape = unescape_js_1.unescape; + exports$1.minimatch.AST = ast_js_1.AST; + exports$1.minimatch.Minimatch = Minimatch; + exports$1.minimatch.escape = escape_js_1.escape; + exports$1.minimatch.unescape = unescape_js_1.unescape; } (commonjs$3)); return commonjs$3; @@ -30581,7 +30581,7 @@ var hasRequiredIoUtil$1; function requireIoUtil$1 () { if (hasRequiredIoUtil$1) return ioUtil$1; hasRequiredIoUtil$1 = 1; - (function (exports) { + (function (exports$1) { var __createBinding = (ioUtil$1 && ioUtil$1.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); @@ -30611,22 +30611,22 @@ function requireIoUtil$1 () { }); }; var _a; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getCmdPath = exports.tryGetExecutablePath = exports.isRooted = exports.isDirectory = exports.exists = exports.READONLY = exports.UV_FS_O_EXLOCK = exports.IS_WINDOWS = exports.unlink = exports.symlink = exports.stat = exports.rmdir = exports.rm = exports.rename = exports.readlink = exports.readdir = exports.open = exports.mkdir = exports.lstat = exports.copyFile = exports.chmod = void 0; + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.getCmdPath = exports$1.tryGetExecutablePath = exports$1.isRooted = exports$1.isDirectory = exports$1.exists = exports$1.READONLY = exports$1.UV_FS_O_EXLOCK = exports$1.IS_WINDOWS = exports$1.unlink = exports$1.symlink = exports$1.stat = exports$1.rmdir = exports$1.rm = exports$1.rename = exports$1.readlink = exports$1.readdir = exports$1.open = exports$1.mkdir = exports$1.lstat = exports$1.copyFile = exports$1.chmod = void 0; const fs = __importStar(fs__default); const path = __importStar(require$$1$5); _a = fs.promises // export const {open} = 'fs' - , exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.open = _a.open, exports.readdir = _a.readdir, exports.readlink = _a.readlink, exports.rename = _a.rename, exports.rm = _a.rm, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink; + , exports$1.chmod = _a.chmod, exports$1.copyFile = _a.copyFile, exports$1.lstat = _a.lstat, exports$1.mkdir = _a.mkdir, exports$1.open = _a.open, exports$1.readdir = _a.readdir, exports$1.readlink = _a.readlink, exports$1.rename = _a.rename, exports$1.rm = _a.rm, exports$1.rmdir = _a.rmdir, exports$1.stat = _a.stat, exports$1.symlink = _a.symlink, exports$1.unlink = _a.unlink; // export const {open} = 'fs' - exports.IS_WINDOWS = process.platform === 'win32'; + exports$1.IS_WINDOWS = process.platform === 'win32'; // See https://github.com/nodejs/node/blob/d0153aee367422d0858105abec186da4dff0a0c5/deps/uv/include/uv/win.h#L691 - exports.UV_FS_O_EXLOCK = 0x10000000; - exports.READONLY = fs.constants.O_RDONLY; + exports$1.UV_FS_O_EXLOCK = 0x10000000; + exports$1.READONLY = fs.constants.O_RDONLY; function exists(fsPath) { return __awaiter(this, void 0, void 0, function* () { try { - yield exports.stat(fsPath); + yield exports$1.stat(fsPath); } catch (err) { if (err.code === 'ENOENT') { @@ -30637,14 +30637,14 @@ function requireIoUtil$1 () { return true; }); } - exports.exists = exists; + exports$1.exists = exists; function isDirectory(fsPath, useStat = false) { return __awaiter(this, void 0, void 0, function* () { - const stats = useStat ? yield exports.stat(fsPath) : yield exports.lstat(fsPath); + const stats = useStat ? yield exports$1.stat(fsPath) : yield exports$1.lstat(fsPath); return stats.isDirectory(); }); } - exports.isDirectory = isDirectory; + exports$1.isDirectory = isDirectory; /** * 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). @@ -30654,13 +30654,13 @@ function requireIoUtil$1 () { if (!p) { throw new Error('isRooted() parameter "p" cannot be empty'); } - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { return (p.startsWith('\\') || /^[A-Z]:/i.test(p) // e.g. \ or \hello or \\hello ); // e.g. C: or C:\hello } return p.startsWith('/'); } - exports.isRooted = isRooted; + exports$1.isRooted = isRooted; /** * Best effort attempt to determine whether a file exists and is executable. * @param filePath file path to check @@ -30672,7 +30672,7 @@ function requireIoUtil$1 () { let stats = undefined; try { // test file exists - stats = yield exports.stat(filePath); + stats = yield exports$1.stat(filePath); } catch (err) { if (err.code !== 'ENOENT') { @@ -30681,7 +30681,7 @@ function requireIoUtil$1 () { } } if (stats && stats.isFile()) { - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { // on Windows, test for valid extension const upperExt = path.extname(filePath).toUpperCase(); if (extensions.some(validExt => validExt.toUpperCase() === upperExt)) { @@ -30700,7 +30700,7 @@ function requireIoUtil$1 () { filePath = originalFilePath + extension; stats = undefined; try { - stats = yield exports.stat(filePath); + stats = yield exports$1.stat(filePath); } catch (err) { if (err.code !== 'ENOENT') { @@ -30709,12 +30709,12 @@ function requireIoUtil$1 () { } } if (stats && stats.isFile()) { - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { // preserve the case of the actual file (since an extension was appended) try { const directory = path.dirname(filePath); const upperName = path.basename(filePath).toUpperCase(); - for (const actualName of yield exports.readdir(directory)) { + for (const actualName of yield exports$1.readdir(directory)) { if (upperName === actualName.toUpperCase()) { filePath = path.join(directory, actualName); break; @@ -30737,10 +30737,10 @@ function requireIoUtil$1 () { return ''; }); } - exports.tryGetExecutablePath = tryGetExecutablePath; + exports$1.tryGetExecutablePath = tryGetExecutablePath; function normalizeSeparators(p) { p = p || ''; - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { // convert slashes on Windows p = p.replace(/\//g, '\\'); // remove redundant slashes @@ -30762,7 +30762,7 @@ function requireIoUtil$1 () { var _a; return (_a = process.env['COMSPEC']) !== null && _a !== void 0 ? _a : `cmd.exe`; } - exports.getCmdPath = getCmdPath; + exports$1.getCmdPath = getCmdPath; } (ioUtil$1)); return ioUtil$1; @@ -31081,8 +31081,8 @@ var hasRequiredSemver$3; function requireSemver$3 () { if (hasRequiredSemver$3) return semver$3.exports; hasRequiredSemver$3 = 1; - (function (module, exports) { - exports = module.exports = SemVer; + (function (module, exports$1) { + exports$1 = module.exports = SemVer; var debug; /* istanbul ignore next */ @@ -31101,7 +31101,7 @@ function requireSemver$3 () { // Note: this is the semver.org version of the spec that it implements // Not necessarily the package version of this code. - exports.SEMVER_SPEC_VERSION = '2.0.0'; + exports$1.SEMVER_SPEC_VERSION = '2.0.0'; var MAX_LENGTH = 256; var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || @@ -31113,10 +31113,10 @@ function requireSemver$3 () { var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6; // The actual regexps go on exports.re - var re = exports.re = []; - var safeRe = exports.safeRe = []; - var src = exports.src = []; - var t = exports.tokens = {}; + var re = exports$1.re = []; + var safeRe = exports$1.safeRe = []; + var src = exports$1.src = []; + var t = exports$1.tokens = {}; var R = 0; function tok (n) { @@ -31374,7 +31374,7 @@ function requireSemver$3 () { } } - exports.parse = parse; + exports$1.parse = parse; function parse (version, options) { if (!options || typeof options !== 'object') { options = { @@ -31407,19 +31407,19 @@ function requireSemver$3 () { } } - exports.valid = valid; + exports$1.valid = valid; function valid (version, options) { var v = parse(version, options); return v ? v.version : null } - exports.clean = clean; + exports$1.clean = clean; function clean (version, options) { var s = parse(version.trim().replace(/^[=v]+/, ''), options); return s ? s.version : null } - exports.SemVer = SemVer; + exports$1.SemVer = SemVer; function SemVer (version, options) { if (!options || typeof options !== 'object') { @@ -31690,7 +31690,7 @@ function requireSemver$3 () { return this }; - exports.inc = inc; + exports$1.inc = inc; function inc (version, release, loose, identifier) { if (typeof (loose) === 'string') { identifier = loose; @@ -31704,7 +31704,7 @@ function requireSemver$3 () { } } - exports.diff = diff; + exports$1.diff = diff; function diff (version1, version2) { if (eq(version1, version2)) { return null @@ -31727,7 +31727,7 @@ function requireSemver$3 () { } } - exports.compareIdentifiers = compareIdentifiers; + exports$1.compareIdentifiers = compareIdentifiers; var numeric = /^[0-9]+$/; function compareIdentifiers (a, b) { @@ -31746,93 +31746,93 @@ function requireSemver$3 () { : 1 } - exports.rcompareIdentifiers = rcompareIdentifiers; + exports$1.rcompareIdentifiers = rcompareIdentifiers; function rcompareIdentifiers (a, b) { return compareIdentifiers(b, a) } - exports.major = major; + exports$1.major = major; function major (a, loose) { return new SemVer(a, loose).major } - exports.minor = minor; + exports$1.minor = minor; function minor (a, loose) { return new SemVer(a, loose).minor } - exports.patch = patch; + exports$1.patch = patch; function patch (a, loose) { return new SemVer(a, loose).patch } - exports.compare = compare; + exports$1.compare = compare; function compare (a, b, loose) { return new SemVer(a, loose).compare(new SemVer(b, loose)) } - exports.compareLoose = compareLoose; + exports$1.compareLoose = compareLoose; function compareLoose (a, b) { return compare(a, b, true) } - exports.compareBuild = compareBuild; + exports$1.compareBuild = compareBuild; function compareBuild (a, b, loose) { var versionA = new SemVer(a, loose); var versionB = new SemVer(b, loose); return versionA.compare(versionB) || versionA.compareBuild(versionB) } - exports.rcompare = rcompare; + exports$1.rcompare = rcompare; function rcompare (a, b, loose) { return compare(b, a, loose) } - exports.sort = sort; + exports$1.sort = sort; function sort (list, loose) { return list.sort(function (a, b) { - return exports.compareBuild(a, b, loose) + return exports$1.compareBuild(a, b, loose) }) } - exports.rsort = rsort; + exports$1.rsort = rsort; function rsort (list, loose) { return list.sort(function (a, b) { - return exports.compareBuild(b, a, loose) + return exports$1.compareBuild(b, a, loose) }) } - exports.gt = gt; + exports$1.gt = gt; function gt (a, b, loose) { return compare(a, b, loose) > 0 } - exports.lt = lt; + exports$1.lt = lt; function lt (a, b, loose) { return compare(a, b, loose) < 0 } - exports.eq = eq; + exports$1.eq = eq; function eq (a, b, loose) { return compare(a, b, loose) === 0 } - exports.neq = neq; + exports$1.neq = neq; function neq (a, b, loose) { return compare(a, b, loose) !== 0 } - exports.gte = gte; + exports$1.gte = gte; function gte (a, b, loose) { return compare(a, b, loose) >= 0 } - exports.lte = lte; + exports$1.lte = lte; function lte (a, b, loose) { return compare(a, b, loose) <= 0 } - exports.cmp = cmp; + exports$1.cmp = cmp; function cmp (a, op, b, loose) { switch (op) { case '===': @@ -31874,7 +31874,7 @@ function requireSemver$3 () { } } - exports.Comparator = Comparator; + exports$1.Comparator = Comparator; function Comparator (comp, options) { if (!options || typeof options !== 'object') { options = { @@ -32006,7 +32006,7 @@ function requireSemver$3 () { oppositeDirectionsLessThan || oppositeDirectionsGreaterThan }; - exports.Range = Range; + exports$1.Range = Range; function Range (range, options) { if (!options || typeof options !== 'object') { options = { @@ -32150,7 +32150,7 @@ function requireSemver$3 () { } // Mostly just for testing and legacy API reasons - exports.toComparators = toComparators; + exports$1.toComparators = toComparators; function toComparators (range, options) { return new Range(range, options).set.map(function (comp) { return comp.map(function (c) { @@ -32461,7 +32461,7 @@ function requireSemver$3 () { return true } - exports.satisfies = satisfies; + exports$1.satisfies = satisfies; function satisfies (version, range, options) { try { range = new Range(range, options); @@ -32471,7 +32471,7 @@ function requireSemver$3 () { return range.test(version) } - exports.maxSatisfying = maxSatisfying; + exports$1.maxSatisfying = maxSatisfying; function maxSatisfying (versions, range, options) { var max = null; var maxSV = null; @@ -32493,7 +32493,7 @@ function requireSemver$3 () { return max } - exports.minSatisfying = minSatisfying; + exports$1.minSatisfying = minSatisfying; function minSatisfying (versions, range, options) { var min = null; var minSV = null; @@ -32515,7 +32515,7 @@ function requireSemver$3 () { return min } - exports.minVersion = minVersion; + exports$1.minVersion = minVersion; function minVersion (range, loose) { range = new Range(range, loose); @@ -32569,7 +32569,7 @@ function requireSemver$3 () { return null } - exports.validRange = validRange; + exports$1.validRange = validRange; function validRange (range, options) { try { // Return '*' instead of '' so that truthiness works. @@ -32581,18 +32581,18 @@ function requireSemver$3 () { } // Determine if version is less than all the versions possible in the range - exports.ltr = ltr; + exports$1.ltr = ltr; function ltr (version, range, options) { return outside(version, range, '<', options) } // Determine if version is greater than all the versions possible in the range. - exports.gtr = gtr; + exports$1.gtr = gtr; function gtr (version, range, options) { return outside(version, range, '>', options) } - exports.outside = outside; + exports$1.outside = outside; function outside (version, range, hilo, options) { version = new SemVer(version, options); range = new Range(range, options); @@ -32662,20 +32662,20 @@ function requireSemver$3 () { return true } - exports.prerelease = prerelease; + exports$1.prerelease = prerelease; function prerelease (version, options) { var parsed = parse(version, options); return (parsed && parsed.prerelease.length) ? parsed.prerelease : null } - exports.intersects = intersects; + exports$1.intersects = intersects; function intersects (r1, r2, options) { r1 = new Range(r1, options); r2 = new Range(r2, options); return r1.intersects(r2) } - exports.coerce = coerce; + exports$1.coerce = coerce; function coerce (version, options) { if (version instanceof SemVer) { return version @@ -36209,17 +36209,17 @@ var hasRequiredBrowser; function requireBrowser () { if (hasRequiredBrowser) return browser.exports; hasRequiredBrowser = 1; - (function (module, exports) { + (function (module, exports$1) { /** * This is the web browser implementation of `debug()`. */ - exports.formatArgs = formatArgs; - exports.save = save; - exports.load = load; - exports.useColors = useColors; - exports.storage = localstorage(); - exports.destroy = (() => { + exports$1.formatArgs = formatArgs; + exports$1.save = save; + exports$1.load = load; + exports$1.useColors = useColors; + exports$1.storage = localstorage(); + exports$1.destroy = (() => { let warned = false; return () => { @@ -36234,7 +36234,7 @@ function requireBrowser () { * Colors. */ - exports.colors = [ + exports$1.colors = [ '#0000CC', '#0000FF', '#0033CC', @@ -36399,7 +36399,7 @@ function requireBrowser () { * * @api public */ - exports.log = console.debug || console.log || (() => {}); + exports$1.log = console.debug || console.log || (() => {}); /** * Save `namespaces`. @@ -36410,9 +36410,9 @@ function requireBrowser () { function save(namespaces) { try { if (namespaces) { - exports.storage.setItem('debug', namespaces); + exports$1.storage.setItem('debug', namespaces); } else { - exports.storage.removeItem('debug'); + exports$1.storage.removeItem('debug'); } } catch (error) { // Swallow @@ -36429,7 +36429,7 @@ function requireBrowser () { function load() { let r; try { - r = exports.storage.getItem('debug') || exports.storage.getItem('DEBUG') ; + r = exports$1.storage.getItem('debug') || exports$1.storage.getItem('DEBUG') ; } catch (error) { // Swallow // XXX (@Qix-) should we be logging these? @@ -36465,7 +36465,7 @@ function requireBrowser () { } } - module.exports = requireCommon()(exports); + module.exports = requireCommon()(exports$1); const {formatters} = module.exports; @@ -36654,7 +36654,7 @@ var hasRequiredNode; function requireNode () { if (hasRequiredNode) return node.exports; hasRequiredNode = 1; - (function (module, exports) { + (function (module, exports$1) { const tty = require$$1$6; const util = require$$0__default; @@ -36662,13 +36662,13 @@ function requireNode () { * This is the Node.js implementation of `debug()`. */ - exports.init = init; - exports.log = log; - exports.formatArgs = formatArgs; - exports.save = save; - exports.load = load; - exports.useColors = useColors; - exports.destroy = util.deprecate( + exports$1.init = init; + exports$1.log = log; + exports$1.formatArgs = formatArgs; + exports$1.save = save; + exports$1.load = load; + exports$1.useColors = useColors; + exports$1.destroy = util.deprecate( () => {}, 'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.' ); @@ -36677,7 +36677,7 @@ function requireNode () { * Colors. */ - exports.colors = [6, 2, 3, 4, 5, 1]; + exports$1.colors = [6, 2, 3, 4, 5, 1]; try { // Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json) @@ -36685,7 +36685,7 @@ function requireNode () { const supportsColor = requireSupportsColor(); if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) { - exports.colors = [ + exports$1.colors = [ 20, 21, 26, @@ -36774,7 +36774,7 @@ function requireNode () { * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js */ - exports.inspectOpts = Object.keys(process.env).filter(key => { + exports$1.inspectOpts = Object.keys(process.env).filter(key => { return /^debug_/i.test(key); }).reduce((obj, key) => { // Camel-case @@ -36806,8 +36806,8 @@ function requireNode () { */ function useColors() { - return 'colors' in exports.inspectOpts ? - Boolean(exports.inspectOpts.colors) : + return 'colors' in exports$1.inspectOpts ? + Boolean(exports$1.inspectOpts.colors) : tty.isatty(process.stderr.fd); } @@ -36833,7 +36833,7 @@ function requireNode () { } function getDate() { - if (exports.inspectOpts.hideDate) { + if (exports$1.inspectOpts.hideDate) { return ''; } return new Date().toISOString() + ' '; @@ -36844,7 +36844,7 @@ function requireNode () { */ function log(...args) { - return process.stderr.write(util.formatWithOptions(exports.inspectOpts, ...args) + '\n'); + return process.stderr.write(util.formatWithOptions(exports$1.inspectOpts, ...args) + '\n'); } /** @@ -36884,13 +36884,13 @@ function requireNode () { function init(debug) { debug.inspectOpts = {}; - const keys = Object.keys(exports.inspectOpts); + const keys = Object.keys(exports$1.inspectOpts); for (let i = 0; i < keys.length; i++) { - debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]]; + debug.inspectOpts[keys[i]] = exports$1.inspectOpts[keys[i]]; } } - module.exports = requireCommon()(exports); + module.exports = requireCommon()(exports$1); const {formatters} = module.exports; @@ -37018,7 +37018,7 @@ var hasRequiredDist$2; function requireDist$2 () { if (hasRequiredDist$2) return dist$1; hasRequiredDist$2 = 1; - (function (exports) { + (function (exports$1) { var __createBinding = (dist$1 && dist$1.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); @@ -37042,15 +37042,15 @@ function requireDist$2 () { __setModuleDefault(result, mod); return result; }; - var __exportStar = (dist$1 && dist$1.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); + var __exportStar = (dist$1 && dist$1.__exportStar) || function(m, exports$1) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$1, p)) __createBinding(exports$1, m, p); }; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.Agent = void 0; + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.Agent = void 0; const net = __importStar(require$$0$6); const http = __importStar(require$$0$4); const https_1 = require$$1$1; - __exportStar(requireHelpers(), exports); + __exportStar(requireHelpers(), exports$1); const INTERNAL = Symbol('AgentBaseInternalState'); class Agent extends http.Agent { constructor(opts) { @@ -37196,7 +37196,7 @@ function requireDist$2 () { } } } - exports.Agent = Agent; + exports$1.Agent = Agent; } (dist$1)); return dist$1; @@ -41728,7 +41728,7 @@ var hasRequiredUtil$1; function requireUtil$1 () { if (hasRequiredUtil$1) return util$1; hasRequiredUtil$1 = 1; - (function (exports) { + (function (exports$1) { const nameStartChar = ':A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD'; const nameChar = nameStartChar + '\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040'; @@ -41756,11 +41756,11 @@ function requireUtil$1 () { return !(match === null || typeof match === 'undefined'); }; - exports.isExist = function(v) { + exports$1.isExist = function(v) { return typeof v !== 'undefined'; }; - exports.isEmptyObject = function(obj) { + exports$1.isEmptyObject = function(obj) { return Object.keys(obj).length === 0; }; @@ -41769,7 +41769,7 @@ function requireUtil$1 () { * @param {*} target * @param {*} a */ - exports.merge = function(target, a, arrayMode) { + exports$1.merge = function(target, a, arrayMode) { if (a) { const keys = Object.keys(a); // will return an array of own properties const len = keys.length; //don't make it inline @@ -41786,8 +41786,8 @@ function requireUtil$1 () { return Object.assign(b,a); } */ - exports.getValue = function(v) { - if (exports.isExist(v)) { + exports$1.getValue = function(v) { + if (exports$1.isExist(v)) { return v; } else { return ''; @@ -41797,9 +41797,9 @@ function requireUtil$1 () { // const fakeCall = function(a) {return a;}; // const fakeCallNoReturn = function() {}; - exports.isName = isName; - exports.getAllMatches = getAllMatches; - exports.nameRegexp = nameRegexp; + exports$1.isName = isName; + exports$1.getAllMatches = getAllMatches; + exports$1.nameRegexp = nameRegexp; } (util$1)); return util$1; } @@ -75306,9 +75306,9 @@ var hasRequiredCache$1; function requireCache$1 () { if (hasRequiredCache$1) return cache; hasRequiredCache$1 = 1; - (function (exports) { - Object.defineProperty(exports, "__esModule", { value: true }); - exports.CacheService = exports.GetCacheEntryDownloadURLResponse = exports.GetCacheEntryDownloadURLRequest = exports.FinalizeCacheEntryUploadResponse = exports.FinalizeCacheEntryUploadRequest = exports.CreateCacheEntryResponse = exports.CreateCacheEntryRequest = void 0; + (function (exports$1) { + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.CacheService = exports$1.GetCacheEntryDownloadURLResponse = exports$1.GetCacheEntryDownloadURLRequest = exports$1.FinalizeCacheEntryUploadResponse = exports$1.FinalizeCacheEntryUploadRequest = exports$1.CreateCacheEntryResponse = exports$1.CreateCacheEntryRequest = void 0; // @generated by protobuf-ts 2.9.1 with parameter long_type_string,client_none,generate_dependencies // @generated from protobuf file "results/api/v1/cache.proto" (package "github.actions.results.api.v1", syntax proto3) // tslint:disable @@ -75379,7 +75379,7 @@ function requireCache$1 () { /** * @generated MessageType for protobuf message github.actions.results.api.v1.CreateCacheEntryRequest */ - exports.CreateCacheEntryRequest = new CreateCacheEntryRequest$Type(); + exports$1.CreateCacheEntryRequest = new CreateCacheEntryRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class CreateCacheEntryResponse$Type extends runtime_5.MessageType { constructor() { @@ -75440,7 +75440,7 @@ function requireCache$1 () { /** * @generated MessageType for protobuf message github.actions.results.api.v1.CreateCacheEntryResponse */ - exports.CreateCacheEntryResponse = new CreateCacheEntryResponse$Type(); + exports$1.CreateCacheEntryResponse = new CreateCacheEntryResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class FinalizeCacheEntryUploadRequest$Type extends runtime_5.MessageType { constructor() { @@ -75508,7 +75508,7 @@ function requireCache$1 () { /** * @generated MessageType for protobuf message github.actions.results.api.v1.FinalizeCacheEntryUploadRequest */ - exports.FinalizeCacheEntryUploadRequest = new FinalizeCacheEntryUploadRequest$Type(); + exports$1.FinalizeCacheEntryUploadRequest = new FinalizeCacheEntryUploadRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class FinalizeCacheEntryUploadResponse$Type extends runtime_5.MessageType { constructor() { @@ -75569,7 +75569,7 @@ function requireCache$1 () { /** * @generated MessageType for protobuf message github.actions.results.api.v1.FinalizeCacheEntryUploadResponse */ - exports.FinalizeCacheEntryUploadResponse = new FinalizeCacheEntryUploadResponse$Type(); + exports$1.FinalizeCacheEntryUploadResponse = new FinalizeCacheEntryUploadResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class GetCacheEntryDownloadURLRequest$Type extends runtime_5.MessageType { constructor() { @@ -75637,7 +75637,7 @@ function requireCache$1 () { /** * @generated MessageType for protobuf message github.actions.results.api.v1.GetCacheEntryDownloadURLRequest */ - exports.GetCacheEntryDownloadURLRequest = new GetCacheEntryDownloadURLRequest$Type(); + exports$1.GetCacheEntryDownloadURLRequest = new GetCacheEntryDownloadURLRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class GetCacheEntryDownloadURLResponse$Type extends runtime_5.MessageType { constructor() { @@ -75698,14 +75698,14 @@ function requireCache$1 () { /** * @generated MessageType for protobuf message github.actions.results.api.v1.GetCacheEntryDownloadURLResponse */ - exports.GetCacheEntryDownloadURLResponse = new GetCacheEntryDownloadURLResponse$Type(); + exports$1.GetCacheEntryDownloadURLResponse = new GetCacheEntryDownloadURLResponse$Type(); /** * @generated ServiceType for protobuf service github.actions.results.api.v1.CacheService */ - exports.CacheService = new runtime_rpc_1.ServiceType("github.actions.results.api.v1.CacheService", [ - { name: "CreateCacheEntry", options: {}, I: exports.CreateCacheEntryRequest, O: exports.CreateCacheEntryResponse }, - { name: "FinalizeCacheEntryUpload", options: {}, I: exports.FinalizeCacheEntryUploadRequest, O: exports.FinalizeCacheEntryUploadResponse }, - { name: "GetCacheEntryDownloadURL", options: {}, I: exports.GetCacheEntryDownloadURLRequest, O: exports.GetCacheEntryDownloadURLResponse } + exports$1.CacheService = new runtime_rpc_1.ServiceType("github.actions.results.api.v1.CacheService", [ + { name: "CreateCacheEntry", options: {}, I: exports$1.CreateCacheEntryRequest, O: exports$1.CreateCacheEntryResponse }, + { name: "FinalizeCacheEntryUpload", options: {}, I: exports$1.FinalizeCacheEntryUploadRequest, O: exports$1.FinalizeCacheEntryUploadResponse }, + { name: "GetCacheEntryDownloadURL", options: {}, I: exports$1.GetCacheEntryDownloadURLRequest, O: exports$1.GetCacheEntryDownloadURLResponse } ]); } (cache)); @@ -78124,9 +78124,9 @@ var hasRequiredCommonjs; function requireCommonjs () { if (hasRequiredCommonjs) return commonjs; hasRequiredCommonjs = 1; - (function (exports) { - Object.defineProperty(exports, "__esModule", { value: true }); - exports.unescape = exports.escape = exports.AST = exports.Minimatch = exports.match = exports.makeRe = exports.braceExpand = exports.defaults = exports.filter = exports.GLOBSTAR = exports.sep = exports.minimatch = void 0; + (function (exports$1) { + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.unescape = exports$1.escape = exports$1.AST = exports$1.Minimatch = exports$1.match = exports$1.makeRe = exports$1.braceExpand = exports$1.defaults = exports$1.filter = exports$1.GLOBSTAR = exports$1.sep = exports$1.minimatch = void 0; const brace_expansion_1 = requireCommonjs$2(); const assert_valid_pattern_js_1 = requireAssertValidPattern(); const ast_js_1 = requireAst(); @@ -78140,7 +78140,7 @@ function requireCommonjs () { } return new Minimatch(pattern, options).match(p); }; - exports.minimatch = minimatch; + exports$1.minimatch = minimatch; // Optimized checking for the most common glob patterns. const starDotExtRE = /^\*+([^+@!?\*\[\(]*)$/; const starDotExtTest = (ext) => (f) => !f.startsWith('.') && f.endsWith(ext); @@ -78204,10 +78204,10 @@ function requireCommonjs () { posix: { sep: '/' }, }; /* c8 ignore stop */ - exports.sep = defaultPlatform === 'win32' ? path.win32.sep : path.posix.sep; - exports.minimatch.sep = exports.sep; - exports.GLOBSTAR = Symbol('globstar **'); - exports.minimatch.GLOBSTAR = exports.GLOBSTAR; + exports$1.sep = defaultPlatform === 'win32' ? path.win32.sep : path.posix.sep; + exports$1.minimatch.sep = exports$1.sep; + exports$1.GLOBSTAR = Symbol('globstar **'); + exports$1.minimatch.GLOBSTAR = exports$1.GLOBSTAR; // any single thing other than / // don't need to escape / when using new RegExp() const qmark = '[^/]'; @@ -78220,15 +78220,15 @@ function requireCommonjs () { // not a ^ or / followed by a dot, // followed by anything, any number of times. const twoStarNoDot = '(?:(?!(?:\\/|^)\\.).)*?'; - const filter = (pattern, options = {}) => (p) => (0, exports.minimatch)(p, pattern, options); - exports.filter = filter; - exports.minimatch.filter = exports.filter; + const filter = (pattern, options = {}) => (p) => (0, exports$1.minimatch)(p, pattern, options); + exports$1.filter = filter; + exports$1.minimatch.filter = exports$1.filter; const ext = (a, b = {}) => Object.assign({}, a, b); const defaults = (def) => { if (!def || typeof def !== 'object' || !Object.keys(def).length) { - return exports.minimatch; + return exports$1.minimatch; } - const orig = exports.minimatch; + const orig = exports$1.minimatch; const m = (p, pattern, options = {}) => orig(p, pattern, ext(def, options)); return Object.assign(m, { Minimatch: class Minimatch extends orig.Minimatch { @@ -78257,11 +78257,11 @@ function requireCommonjs () { braceExpand: (pattern, options = {}) => orig.braceExpand(pattern, ext(def, options)), match: (list, pattern, options = {}) => orig.match(list, pattern, ext(def, options)), sep: orig.sep, - GLOBSTAR: exports.GLOBSTAR, + GLOBSTAR: exports$1.GLOBSTAR, }); }; - exports.defaults = defaults; - exports.minimatch.defaults = exports.defaults; + exports$1.defaults = defaults; + exports$1.minimatch.defaults = exports$1.defaults; // Brace expansion: // a{b,c}d -> abd acd // a{b,}c -> abc ac @@ -78282,8 +78282,8 @@ function requireCommonjs () { } return (0, brace_expansion_1.expand)(pattern); }; - exports.braceExpand = braceExpand; - exports.minimatch.braceExpand = exports.braceExpand; + exports$1.braceExpand = braceExpand; + exports$1.minimatch.braceExpand = exports$1.braceExpand; // parse a component of the expanded set. // At this point, no pattern may contain "/" in it // so we're going to return a 2d array, where each entry is the full @@ -78296,8 +78296,8 @@ function requireCommonjs () { // of * is equivalent to a single *. Globstar behavior is enabled by // default, and can be disabled by setting options.noglobstar. const makeRe = (pattern, options = {}) => new Minimatch(pattern, options).makeRe(); - exports.makeRe = makeRe; - exports.minimatch.makeRe = exports.makeRe; + exports$1.makeRe = makeRe; + exports$1.minimatch.makeRe = exports$1.makeRe; const match = (list, pattern, options = {}) => { const mm = new Minimatch(pattern, options); list = list.filter(f => mm.match(f)); @@ -78306,8 +78306,8 @@ function requireCommonjs () { } return list; }; - exports.match = match; - exports.minimatch.match = exports.match; + exports$1.match = match; + exports$1.minimatch.match = exports$1.match; // replace stuff like \* with * const globMagic = /[?*]|[+@!]\(.*?\)|\[|\]/; const regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&'); @@ -78785,7 +78785,7 @@ function requireCommonjs () { return false; } /* c8 ignore stop */ - if (p === exports.GLOBSTAR) { + if (p === exports$1.GLOBSTAR) { this.debug('GLOBSTAR', [pattern, p, f]); // "**" // a/**/b/**/c would match the following: @@ -78916,14 +78916,14 @@ function requireCommonjs () { /* c8 ignore stop */ } braceExpand() { - return (0, exports.braceExpand)(this.pattern, this.options); + return (0, exports$1.braceExpand)(this.pattern, this.options); } parse(pattern) { (0, assert_valid_pattern_js_1.assertValidPattern)(pattern); const options = this.options; // shortcuts if (pattern === '**') - return exports.GLOBSTAR; + return exports$1.GLOBSTAR; if (pattern === '') return ''; // far and away, the most common glob pattern parts are @@ -79000,18 +79000,18 @@ function requireCommonjs () { } return typeof p === 'string' ? regExpEscape(p) - : p === exports.GLOBSTAR - ? exports.GLOBSTAR + : p === exports$1.GLOBSTAR + ? exports$1.GLOBSTAR : p._src; }); pp.forEach((p, i) => { const next = pp[i + 1]; const prev = pp[i - 1]; - if (p !== exports.GLOBSTAR || prev === exports.GLOBSTAR) { + if (p !== exports$1.GLOBSTAR || prev === exports$1.GLOBSTAR) { return; } if (prev === undefined) { - if (next !== undefined && next !== exports.GLOBSTAR) { + if (next !== undefined && next !== exports$1.GLOBSTAR) { pp[i + 1] = '(?:\\/|' + twoStar + '\\/)?' + next; } else { @@ -79021,12 +79021,12 @@ function requireCommonjs () { else if (next === undefined) { pp[i - 1] = prev + '(?:\\/|' + twoStar + ')?'; } - else if (next !== exports.GLOBSTAR) { + else if (next !== exports$1.GLOBSTAR) { pp[i - 1] = prev + '(?:\\/|\\/' + twoStar + '\\/)' + next; - pp[i + 1] = exports.GLOBSTAR; + pp[i + 1] = exports$1.GLOBSTAR; } }); - return pp.filter(p => p !== exports.GLOBSTAR).join('/'); + return pp.filter(p => p !== exports$1.GLOBSTAR).join('/'); }) .join('|'); // need to wrap in parens if we had more than one thing with |, @@ -79121,22 +79121,22 @@ function requireCommonjs () { return this.negate; } static defaults(def) { - return exports.minimatch.defaults(def).Minimatch; + return exports$1.minimatch.defaults(def).Minimatch; } } - exports.Minimatch = Minimatch; + exports$1.Minimatch = Minimatch; /* c8 ignore start */ var ast_js_2 = requireAst(); - Object.defineProperty(exports, "AST", { enumerable: true, get: function () { return ast_js_2.AST; } }); + Object.defineProperty(exports$1, "AST", { enumerable: true, get: function () { return ast_js_2.AST; } }); var escape_js_2 = require_escape(); - Object.defineProperty(exports, "escape", { enumerable: true, get: function () { return escape_js_2.escape; } }); + Object.defineProperty(exports$1, "escape", { enumerable: true, get: function () { return escape_js_2.escape; } }); var unescape_js_2 = require_unescape(); - Object.defineProperty(exports, "unescape", { enumerable: true, get: function () { return unescape_js_2.unescape; } }); + Object.defineProperty(exports$1, "unescape", { enumerable: true, get: function () { return unescape_js_2.unescape; } }); /* c8 ignore stop */ - exports.minimatch.AST = ast_js_1.AST; - exports.minimatch.Minimatch = Minimatch; - exports.minimatch.escape = escape_js_1.escape; - exports.minimatch.unescape = unescape_js_1.unescape; + exports$1.minimatch.AST = ast_js_1.AST; + exports$1.minimatch.Minimatch = Minimatch; + exports$1.minimatch.escape = escape_js_1.escape; + exports$1.minimatch.unescape = unescape_js_1.unescape; } (commonjs)); return commonjs; @@ -84702,7 +84702,7 @@ var hasRequiredUtils; function requireUtils () { if (hasRequiredUtils) return utils$1; hasRequiredUtils = 1; - (function (exports) { + (function (exports$1) { var __createBinding = (utils$1 && utils$1.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); @@ -84726,24 +84726,24 @@ function requireUtils () { __setModuleDefault(result, mod); return result; }; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getOctokitOptions = exports.GitHub = exports.defaults = exports.context = void 0; + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.getOctokitOptions = exports$1.GitHub = exports$1.defaults = exports$1.context = void 0; const Context = __importStar(requireContext()); const Utils = __importStar(requireUtils$1()); // octokit + plugins const core_1 = require$$2; const plugin_rest_endpoint_methods_1 = require$$3; const plugin_paginate_rest_1 = require$$4; - exports.context = new Context.Context(); + exports$1.context = new Context.Context(); const baseUrl = Utils.getApiBaseUrl(); - exports.defaults = { + exports$1.defaults = { baseUrl, request: { agent: Utils.getProxyAgent(baseUrl), fetch: Utils.getProxyFetch(baseUrl) } }; - exports.GitHub = core_1.Octokit.plugin(plugin_rest_endpoint_methods_1.restEndpointMethods, plugin_paginate_rest_1.paginateRest).defaults(exports.defaults); + exports$1.GitHub = core_1.Octokit.plugin(plugin_rest_endpoint_methods_1.restEndpointMethods, plugin_paginate_rest_1.paginateRest).defaults(exports$1.defaults); /** * Convience function to correctly format Octokit Options to pass into the constructor. * @@ -84759,7 +84759,7 @@ function requireUtils () { } return opts; } - exports.getOctokitOptions = getOctokitOptions; + exports$1.getOctokitOptions = getOctokitOptions; } (utils$1)); return utils$1; @@ -84886,7 +84886,7 @@ var hasRequiredRe; function requireRe () { if (hasRequiredRe) return re.exports; hasRequiredRe = 1; - (function (module, exports) { + (function (module, exports$1) { const { MAX_SAFE_COMPONENT_LENGTH, @@ -84894,14 +84894,14 @@ function requireRe () { MAX_LENGTH, } = requireConstants(); const debug = requireDebug(); - exports = module.exports = {}; + exports$1 = module.exports = {}; // The actual regexps go on exports.re - const re = exports.re = []; - const safeRe = exports.safeRe = []; - const src = exports.src = []; - const safeSrc = exports.safeSrc = []; - const t = exports.t = {}; + const re = exports$1.re = []; + const safeRe = exports$1.safeRe = []; + const src = exports$1.src = []; + const safeSrc = exports$1.safeSrc = []; + const t = exports$1.t = {}; let R = 0; const LETTERDASHNUMBER = '[a-zA-Z0-9-]'; @@ -85065,7 +85065,7 @@ function requireRe () { createToken('LONETILDE', '(?:~>?)'); createToken('TILDETRIM', `(\\s*)${src[t.LONETILDE]}\\s+`, true); - exports.tildeTrimReplace = '$1~'; + exports$1.tildeTrimReplace = '$1~'; createToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`); createToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`); @@ -85075,7 +85075,7 @@ function requireRe () { createToken('LONECARET', '(?:\\^)'); createToken('CARETTRIM', `(\\s*)${src[t.LONECARET]}\\s+`, true); - exports.caretTrimReplace = '$1^'; + exports$1.caretTrimReplace = '$1^'; createToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`); createToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`); @@ -85088,7 +85088,7 @@ function requireRe () { // it modifies, so that `> 1.2.3` ==> `>1.2.3` createToken('COMPARATORTRIM', `(\\s*)${src[t.GTLT] }\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true); - exports.comparatorTrimReplace = '$1$2$3'; + exports$1.comparatorTrimReplace = '$1$2$3'; // Something like `1.2.3 - 1.2.4` // Note that these all use the loose form, because they'll be @@ -87546,7 +87546,7 @@ var hasRequiredIoUtil; function requireIoUtil () { if (hasRequiredIoUtil) return ioUtil; hasRequiredIoUtil = 1; - (function (exports) { + (function (exports$1) { var __createBinding = (ioUtil && ioUtil.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); @@ -87576,22 +87576,22 @@ function requireIoUtil () { }); }; var _a; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getCmdPath = exports.tryGetExecutablePath = exports.isRooted = exports.isDirectory = exports.exists = exports.READONLY = exports.UV_FS_O_EXLOCK = exports.IS_WINDOWS = exports.unlink = exports.symlink = exports.stat = exports.rmdir = exports.rm = exports.rename = exports.readlink = exports.readdir = exports.open = exports.mkdir = exports.lstat = exports.copyFile = exports.chmod = void 0; + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.getCmdPath = exports$1.tryGetExecutablePath = exports$1.isRooted = exports$1.isDirectory = exports$1.exists = exports$1.READONLY = exports$1.UV_FS_O_EXLOCK = exports$1.IS_WINDOWS = exports$1.unlink = exports$1.symlink = exports$1.stat = exports$1.rmdir = exports$1.rm = exports$1.rename = exports$1.readlink = exports$1.readdir = exports$1.open = exports$1.mkdir = exports$1.lstat = exports$1.copyFile = exports$1.chmod = void 0; const fs = __importStar(fs__default); const path = __importStar(require$$1$5); _a = fs.promises // export const {open} = 'fs' - , exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.open = _a.open, exports.readdir = _a.readdir, exports.readlink = _a.readlink, exports.rename = _a.rename, exports.rm = _a.rm, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink; + , exports$1.chmod = _a.chmod, exports$1.copyFile = _a.copyFile, exports$1.lstat = _a.lstat, exports$1.mkdir = _a.mkdir, exports$1.open = _a.open, exports$1.readdir = _a.readdir, exports$1.readlink = _a.readlink, exports$1.rename = _a.rename, exports$1.rm = _a.rm, exports$1.rmdir = _a.rmdir, exports$1.stat = _a.stat, exports$1.symlink = _a.symlink, exports$1.unlink = _a.unlink; // export const {open} = 'fs' - exports.IS_WINDOWS = process.platform === 'win32'; + exports$1.IS_WINDOWS = process.platform === 'win32'; // See https://github.com/nodejs/node/blob/d0153aee367422d0858105abec186da4dff0a0c5/deps/uv/include/uv/win.h#L691 - exports.UV_FS_O_EXLOCK = 0x10000000; - exports.READONLY = fs.constants.O_RDONLY; + exports$1.UV_FS_O_EXLOCK = 0x10000000; + exports$1.READONLY = fs.constants.O_RDONLY; function exists(fsPath) { return __awaiter(this, void 0, void 0, function* () { try { - yield exports.stat(fsPath); + yield exports$1.stat(fsPath); } catch (err) { if (err.code === 'ENOENT') { @@ -87602,14 +87602,14 @@ function requireIoUtil () { return true; }); } - exports.exists = exists; + exports$1.exists = exists; function isDirectory(fsPath, useStat = false) { return __awaiter(this, void 0, void 0, function* () { - const stats = useStat ? yield exports.stat(fsPath) : yield exports.lstat(fsPath); + const stats = useStat ? yield exports$1.stat(fsPath) : yield exports$1.lstat(fsPath); return stats.isDirectory(); }); } - exports.isDirectory = isDirectory; + exports$1.isDirectory = isDirectory; /** * 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). @@ -87619,13 +87619,13 @@ function requireIoUtil () { if (!p) { throw new Error('isRooted() parameter "p" cannot be empty'); } - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { return (p.startsWith('\\') || /^[A-Z]:/i.test(p) // e.g. \ or \hello or \\hello ); // e.g. C: or C:\hello } return p.startsWith('/'); } - exports.isRooted = isRooted; + exports$1.isRooted = isRooted; /** * Best effort attempt to determine whether a file exists and is executable. * @param filePath file path to check @@ -87637,7 +87637,7 @@ function requireIoUtil () { let stats = undefined; try { // test file exists - stats = yield exports.stat(filePath); + stats = yield exports$1.stat(filePath); } catch (err) { if (err.code !== 'ENOENT') { @@ -87646,7 +87646,7 @@ function requireIoUtil () { } } if (stats && stats.isFile()) { - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { // on Windows, test for valid extension const upperExt = path.extname(filePath).toUpperCase(); if (extensions.some(validExt => validExt.toUpperCase() === upperExt)) { @@ -87665,7 +87665,7 @@ function requireIoUtil () { filePath = originalFilePath + extension; stats = undefined; try { - stats = yield exports.stat(filePath); + stats = yield exports$1.stat(filePath); } catch (err) { if (err.code !== 'ENOENT') { @@ -87674,12 +87674,12 @@ function requireIoUtil () { } } if (stats && stats.isFile()) { - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { // preserve the case of the actual file (since an extension was appended) try { const directory = path.dirname(filePath); const upperName = path.basename(filePath).toUpperCase(); - for (const actualName of yield exports.readdir(directory)) { + for (const actualName of yield exports$1.readdir(directory)) { if (upperName === actualName.toUpperCase()) { filePath = path.join(directory, actualName); break; @@ -87702,10 +87702,10 @@ function requireIoUtil () { return ''; }); } - exports.tryGetExecutablePath = tryGetExecutablePath; + exports$1.tryGetExecutablePath = tryGetExecutablePath; function normalizeSeparators(p) { p = p || ''; - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { // convert slashes on Windows p = p.replace(/\//g, '\\'); // remove redundant slashes @@ -87727,7 +87727,7 @@ function requireIoUtil () { var _a; return (_a = process.env['COMSPEC']) !== null && _a !== void 0 ? _a : `cmd.exe`; } - exports.getCmdPath = getCmdPath; + exports$1.getCmdPath = getCmdPath; } (ioUtil)); return ioUtil; @@ -88048,8 +88048,8 @@ var hasRequiredSemver; function requireSemver () { if (hasRequiredSemver) return semver.exports; hasRequiredSemver = 1; - (function (module, exports) { - exports = module.exports = SemVer; + (function (module, exports$1) { + exports$1 = module.exports = SemVer; var debug; /* istanbul ignore next */ @@ -88068,7 +88068,7 @@ function requireSemver () { // Note: this is the semver.org version of the spec that it implements // Not necessarily the package version of this code. - exports.SEMVER_SPEC_VERSION = '2.0.0'; + exports$1.SEMVER_SPEC_VERSION = '2.0.0'; var MAX_LENGTH = 256; var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || @@ -88080,10 +88080,10 @@ function requireSemver () { var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6; // The actual regexps go on exports.re - var re = exports.re = []; - var safeRe = exports.safeRe = []; - var src = exports.src = []; - var t = exports.tokens = {}; + var re = exports$1.re = []; + var safeRe = exports$1.safeRe = []; + var src = exports$1.src = []; + var t = exports$1.tokens = {}; var R = 0; function tok (n) { @@ -88341,7 +88341,7 @@ function requireSemver () { } } - exports.parse = parse; + exports$1.parse = parse; function parse (version, options) { if (!options || typeof options !== 'object') { options = { @@ -88374,19 +88374,19 @@ function requireSemver () { } } - exports.valid = valid; + exports$1.valid = valid; function valid (version, options) { var v = parse(version, options); return v ? v.version : null } - exports.clean = clean; + exports$1.clean = clean; function clean (version, options) { var s = parse(version.trim().replace(/^[=v]+/, ''), options); return s ? s.version : null } - exports.SemVer = SemVer; + exports$1.SemVer = SemVer; function SemVer (version, options) { if (!options || typeof options !== 'object') { @@ -88657,7 +88657,7 @@ function requireSemver () { return this }; - exports.inc = inc; + exports$1.inc = inc; function inc (version, release, loose, identifier) { if (typeof (loose) === 'string') { identifier = loose; @@ -88671,7 +88671,7 @@ function requireSemver () { } } - exports.diff = diff; + exports$1.diff = diff; function diff (version1, version2) { if (eq(version1, version2)) { return null @@ -88694,7 +88694,7 @@ function requireSemver () { } } - exports.compareIdentifiers = compareIdentifiers; + exports$1.compareIdentifiers = compareIdentifiers; var numeric = /^[0-9]+$/; function compareIdentifiers (a, b) { @@ -88713,93 +88713,93 @@ function requireSemver () { : 1 } - exports.rcompareIdentifiers = rcompareIdentifiers; + exports$1.rcompareIdentifiers = rcompareIdentifiers; function rcompareIdentifiers (a, b) { return compareIdentifiers(b, a) } - exports.major = major; + exports$1.major = major; function major (a, loose) { return new SemVer(a, loose).major } - exports.minor = minor; + exports$1.minor = minor; function minor (a, loose) { return new SemVer(a, loose).minor } - exports.patch = patch; + exports$1.patch = patch; function patch (a, loose) { return new SemVer(a, loose).patch } - exports.compare = compare; + exports$1.compare = compare; function compare (a, b, loose) { return new SemVer(a, loose).compare(new SemVer(b, loose)) } - exports.compareLoose = compareLoose; + exports$1.compareLoose = compareLoose; function compareLoose (a, b) { return compare(a, b, true) } - exports.compareBuild = compareBuild; + exports$1.compareBuild = compareBuild; function compareBuild (a, b, loose) { var versionA = new SemVer(a, loose); var versionB = new SemVer(b, loose); return versionA.compare(versionB) || versionA.compareBuild(versionB) } - exports.rcompare = rcompare; + exports$1.rcompare = rcompare; function rcompare (a, b, loose) { return compare(b, a, loose) } - exports.sort = sort; + exports$1.sort = sort; function sort (list, loose) { return list.sort(function (a, b) { - return exports.compareBuild(a, b, loose) + return exports$1.compareBuild(a, b, loose) }) } - exports.rsort = rsort; + exports$1.rsort = rsort; function rsort (list, loose) { return list.sort(function (a, b) { - return exports.compareBuild(b, a, loose) + return exports$1.compareBuild(b, a, loose) }) } - exports.gt = gt; + exports$1.gt = gt; function gt (a, b, loose) { return compare(a, b, loose) > 0 } - exports.lt = lt; + exports$1.lt = lt; function lt (a, b, loose) { return compare(a, b, loose) < 0 } - exports.eq = eq; + exports$1.eq = eq; function eq (a, b, loose) { return compare(a, b, loose) === 0 } - exports.neq = neq; + exports$1.neq = neq; function neq (a, b, loose) { return compare(a, b, loose) !== 0 } - exports.gte = gte; + exports$1.gte = gte; function gte (a, b, loose) { return compare(a, b, loose) >= 0 } - exports.lte = lte; + exports$1.lte = lte; function lte (a, b, loose) { return compare(a, b, loose) <= 0 } - exports.cmp = cmp; + exports$1.cmp = cmp; function cmp (a, op, b, loose) { switch (op) { case '===': @@ -88841,7 +88841,7 @@ function requireSemver () { } } - exports.Comparator = Comparator; + exports$1.Comparator = Comparator; function Comparator (comp, options) { if (!options || typeof options !== 'object') { options = { @@ -88973,7 +88973,7 @@ function requireSemver () { oppositeDirectionsLessThan || oppositeDirectionsGreaterThan }; - exports.Range = Range; + exports$1.Range = Range; function Range (range, options) { if (!options || typeof options !== 'object') { options = { @@ -89117,7 +89117,7 @@ function requireSemver () { } // Mostly just for testing and legacy API reasons - exports.toComparators = toComparators; + exports$1.toComparators = toComparators; function toComparators (range, options) { return new Range(range, options).set.map(function (comp) { return comp.map(function (c) { @@ -89428,7 +89428,7 @@ function requireSemver () { return true } - exports.satisfies = satisfies; + exports$1.satisfies = satisfies; function satisfies (version, range, options) { try { range = new Range(range, options); @@ -89438,7 +89438,7 @@ function requireSemver () { return range.test(version) } - exports.maxSatisfying = maxSatisfying; + exports$1.maxSatisfying = maxSatisfying; function maxSatisfying (versions, range, options) { var max = null; var maxSV = null; @@ -89460,7 +89460,7 @@ function requireSemver () { return max } - exports.minSatisfying = minSatisfying; + exports$1.minSatisfying = minSatisfying; function minSatisfying (versions, range, options) { var min = null; var minSV = null; @@ -89482,7 +89482,7 @@ function requireSemver () { return min } - exports.minVersion = minVersion; + exports$1.minVersion = minVersion; function minVersion (range, loose) { range = new Range(range, loose); @@ -89536,7 +89536,7 @@ function requireSemver () { return null } - exports.validRange = validRange; + exports$1.validRange = validRange; function validRange (range, options) { try { // Return '*' instead of '' so that truthiness works. @@ -89548,18 +89548,18 @@ function requireSemver () { } // Determine if version is less than all the versions possible in the range - exports.ltr = ltr; + exports$1.ltr = ltr; function ltr (version, range, options) { return outside(version, range, '<', options) } // Determine if version is greater than all the versions possible in the range. - exports.gtr = gtr; + exports$1.gtr = gtr; function gtr (version, range, options) { return outside(version, range, '>', options) } - exports.outside = outside; + exports$1.outside = outside; function outside (version, range, hilo, options) { version = new SemVer(version, options); range = new Range(range, options); @@ -89629,20 +89629,20 @@ function requireSemver () { return true } - exports.prerelease = prerelease; + exports$1.prerelease = prerelease; function prerelease (version, options) { var parsed = parse(version, options); return (parsed && parsed.prerelease.length) ? parsed.prerelease : null } - exports.intersects = intersects; + exports$1.intersects = intersects; function intersects (r1, r2, options) { r1 = new Range(r1, options); r2 = new Range(r2, options); return r1.intersects(r2) } - exports.coerce = coerce; + exports$1.coerce = coerce; function coerce (version, options) { if (version instanceof SemVer) { return version @@ -89703,7 +89703,7 @@ var hasRequiredManifest; function requireManifest () { if (hasRequiredManifest) return manifest$1.exports; hasRequiredManifest = 1; - (function (module, exports) { + (function (module, exports$1) { var __createBinding = (manifest && manifest.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); @@ -89736,8 +89736,8 @@ function requireManifest () { step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; - Object.defineProperty(exports, "__esModule", { value: true }); - exports._readLinuxVersionFile = exports._getOsVersion = exports._findMatch = void 0; + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1._readLinuxVersionFile = exports$1._getOsVersion = exports$1._findMatch = void 0; const semver = __importStar(requireSemver()); const core_1 = requireCore(); // needs to be require for core node modules to be mocked @@ -89785,7 +89785,7 @@ function requireManifest () { return result; }); } - exports._findMatch = _findMatch; + exports$1._findMatch = _findMatch; function _getOsVersion() { // TODO: add windows and other linux, arm variants // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python) @@ -89817,7 +89817,7 @@ function requireManifest () { } return version; } - exports._getOsVersion = _getOsVersion; + exports$1._getOsVersion = _getOsVersion; function _readLinuxVersionFile() { const lsbReleaseFile = '/etc/lsb-release'; const osReleaseFile = '/etc/os-release'; @@ -89830,7 +89830,7 @@ function requireManifest () { } return contents; } - exports._readLinuxVersionFile = _readLinuxVersionFile; + exports$1._readLinuxVersionFile = _readLinuxVersionFile; } (manifest$1, manifest$1.exports)); return manifest$1.exports; diff --git a/dist/main.js b/dist/main.js index e467fcd..eaaf950 100644 --- a/dist/main.js +++ b/dist/main.js @@ -8344,9 +8344,9 @@ var hasRequiredConstants$4; function requireConstants$4 () { if (hasRequiredConstants$4) return constants$4; hasRequiredConstants$4 = 1; - (function (exports) { - Object.defineProperty(exports, "__esModule", { value: true }); - exports.SPECIAL_HEADERS = exports.HEADER_STATE = exports.MINOR = exports.MAJOR = exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS = exports.TOKEN = exports.STRICT_TOKEN = exports.HEX = exports.URL_CHAR = exports.STRICT_URL_CHAR = exports.USERINFO_CHARS = exports.MARK = exports.ALPHANUM = exports.NUM = exports.HEX_MAP = exports.NUM_MAP = exports.ALPHA = exports.FINISH = exports.H_METHOD_MAP = exports.METHOD_MAP = exports.METHODS_RTSP = exports.METHODS_ICE = exports.METHODS_HTTP = exports.METHODS = exports.LENIENT_FLAGS = exports.FLAGS = exports.TYPE = exports.ERROR = void 0; + (function (exports$1) { + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.SPECIAL_HEADERS = exports$1.HEADER_STATE = exports$1.MINOR = exports$1.MAJOR = exports$1.CONNECTION_TOKEN_CHARS = exports$1.HEADER_CHARS = exports$1.TOKEN = exports$1.STRICT_TOKEN = exports$1.HEX = exports$1.URL_CHAR = exports$1.STRICT_URL_CHAR = exports$1.USERINFO_CHARS = exports$1.MARK = exports$1.ALPHANUM = exports$1.NUM = exports$1.HEX_MAP = exports$1.NUM_MAP = exports$1.ALPHA = exports$1.FINISH = exports$1.H_METHOD_MAP = exports$1.METHOD_MAP = exports$1.METHODS_RTSP = exports$1.METHODS_ICE = exports$1.METHODS_HTTP = exports$1.METHODS = exports$1.LENIENT_FLAGS = exports$1.FLAGS = exports$1.TYPE = exports$1.ERROR = void 0; const utils_1 = requireUtils$2(); (function (ERROR) { ERROR[ERROR["OK"] = 0] = "OK"; @@ -8374,12 +8374,12 @@ function requireConstants$4 () { ERROR[ERROR["PAUSED_UPGRADE"] = 22] = "PAUSED_UPGRADE"; ERROR[ERROR["PAUSED_H2_UPGRADE"] = 23] = "PAUSED_H2_UPGRADE"; ERROR[ERROR["USER"] = 24] = "USER"; - })(exports.ERROR || (exports.ERROR = {})); + })(exports$1.ERROR || (exports$1.ERROR = {})); (function (TYPE) { TYPE[TYPE["BOTH"] = 0] = "BOTH"; TYPE[TYPE["REQUEST"] = 1] = "REQUEST"; TYPE[TYPE["RESPONSE"] = 2] = "RESPONSE"; - })(exports.TYPE || (exports.TYPE = {})); + })(exports$1.TYPE || (exports$1.TYPE = {})); (function (FLAGS) { FLAGS[FLAGS["CONNECTION_KEEP_ALIVE"] = 1] = "CONNECTION_KEEP_ALIVE"; FLAGS[FLAGS["CONNECTION_CLOSE"] = 2] = "CONNECTION_CLOSE"; @@ -8391,12 +8391,12 @@ function requireConstants$4 () { FLAGS[FLAGS["TRAILING"] = 128] = "TRAILING"; // 1 << 8 is unused FLAGS[FLAGS["TRANSFER_ENCODING"] = 512] = "TRANSFER_ENCODING"; - })(exports.FLAGS || (exports.FLAGS = {})); + })(exports$1.FLAGS || (exports$1.FLAGS = {})); (function (LENIENT_FLAGS) { LENIENT_FLAGS[LENIENT_FLAGS["HEADERS"] = 1] = "HEADERS"; LENIENT_FLAGS[LENIENT_FLAGS["CHUNKED_LENGTH"] = 2] = "CHUNKED_LENGTH"; LENIENT_FLAGS[LENIENT_FLAGS["KEEP_ALIVE"] = 4] = "KEEP_ALIVE"; - })(exports.LENIENT_FLAGS || (exports.LENIENT_FLAGS = {})); + })(exports$1.LENIENT_FLAGS || (exports$1.LENIENT_FLAGS = {})); var METHODS; (function (METHODS) { METHODS[METHODS["DELETE"] = 0] = "DELETE"; @@ -8456,8 +8456,8 @@ function requireConstants$4 () { METHODS[METHODS["RECORD"] = 44] = "RECORD"; /* RAOP */ METHODS[METHODS["FLUSH"] = 45] = "FLUSH"; - })(METHODS = exports.METHODS || (exports.METHODS = {})); - exports.METHODS_HTTP = [ + })(METHODS = exports$1.METHODS || (exports$1.METHODS = {})); + exports$1.METHODS_HTTP = [ METHODS.DELETE, METHODS.GET, METHODS.HEAD, @@ -8495,10 +8495,10 @@ function requireConstants$4 () { // TODO(indutny): should we allow it with HTTP? METHODS.SOURCE, ]; - exports.METHODS_ICE = [ + exports$1.METHODS_ICE = [ METHODS.SOURCE, ]; - exports.METHODS_RTSP = [ + exports$1.METHODS_RTSP = [ METHODS.OPTIONS, METHODS.DESCRIBE, METHODS.ANNOUNCE, @@ -8515,59 +8515,59 @@ function requireConstants$4 () { METHODS.GET, METHODS.POST, ]; - exports.METHOD_MAP = utils_1.enumToMap(METHODS); - exports.H_METHOD_MAP = {}; - Object.keys(exports.METHOD_MAP).forEach((key) => { + exports$1.METHOD_MAP = utils_1.enumToMap(METHODS); + exports$1.H_METHOD_MAP = {}; + Object.keys(exports$1.METHOD_MAP).forEach((key) => { if (/^H/.test(key)) { - exports.H_METHOD_MAP[key] = exports.METHOD_MAP[key]; + exports$1.H_METHOD_MAP[key] = exports$1.METHOD_MAP[key]; } }); (function (FINISH) { FINISH[FINISH["SAFE"] = 0] = "SAFE"; FINISH[FINISH["SAFE_WITH_CB"] = 1] = "SAFE_WITH_CB"; FINISH[FINISH["UNSAFE"] = 2] = "UNSAFE"; - })(exports.FINISH || (exports.FINISH = {})); - exports.ALPHA = []; + })(exports$1.FINISH || (exports$1.FINISH = {})); + exports$1.ALPHA = []; for (let i = 'A'.charCodeAt(0); i <= 'Z'.charCodeAt(0); i++) { // Upper case - exports.ALPHA.push(String.fromCharCode(i)); + exports$1.ALPHA.push(String.fromCharCode(i)); // Lower case - exports.ALPHA.push(String.fromCharCode(i + 0x20)); + exports$1.ALPHA.push(String.fromCharCode(i + 0x20)); } - exports.NUM_MAP = { + exports$1.NUM_MAP = { 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, }; - exports.HEX_MAP = { + exports$1.HEX_MAP = { 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, A: 0XA, B: 0XB, C: 0XC, D: 0XD, E: 0XE, F: 0XF, a: 0xa, b: 0xb, c: 0xc, d: 0xd, e: 0xe, f: 0xf, }; - exports.NUM = [ + exports$1.NUM = [ '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ]; - exports.ALPHANUM = exports.ALPHA.concat(exports.NUM); - exports.MARK = ['-', '_', '.', '!', '~', '*', '\'', '(', ')']; - exports.USERINFO_CHARS = exports.ALPHANUM - .concat(exports.MARK) + exports$1.ALPHANUM = exports$1.ALPHA.concat(exports$1.NUM); + exports$1.MARK = ['-', '_', '.', '!', '~', '*', '\'', '(', ')']; + exports$1.USERINFO_CHARS = exports$1.ALPHANUM + .concat(exports$1.MARK) .concat(['%', ';', ':', '&', '=', '+', '$', ',']); // TODO(indutny): use RFC - exports.STRICT_URL_CHAR = [ + exports$1.STRICT_URL_CHAR = [ '!', '"', '$', '%', '&', '\'', '(', ')', '*', '+', ',', '-', '.', '/', ':', ';', '<', '=', '>', '@', '[', '\\', ']', '^', '_', '`', '{', '|', '}', '~', - ].concat(exports.ALPHANUM); - exports.URL_CHAR = exports.STRICT_URL_CHAR + ].concat(exports$1.ALPHANUM); + exports$1.URL_CHAR = exports$1.STRICT_URL_CHAR .concat(['\t', '\f']); // All characters with 0x80 bit set to 1 for (let i = 0x80; i <= 0xff; i++) { - exports.URL_CHAR.push(i); + exports$1.URL_CHAR.push(i); } - exports.HEX = exports.NUM.concat(['a', 'b', 'c', 'd', 'e', 'f', 'A', 'B', 'C', 'D', 'E', 'F']); + exports$1.HEX = exports$1.NUM.concat(['a', 'b', 'c', 'd', 'e', 'f', 'A', 'B', 'C', 'D', 'E', 'F']); /* Tokens as defined by rfc 2616. Also lowercases them. * token = 1* * separators = "(" | ")" | "<" | ">" | "@" @@ -8575,27 +8575,27 @@ function requireConstants$4 () { * | "/" | "[" | "]" | "?" | "=" * | "{" | "}" | SP | HT */ - exports.STRICT_TOKEN = [ + exports$1.STRICT_TOKEN = [ '!', '#', '$', '%', '&', '\'', '*', '+', '-', '.', '^', '_', '`', '|', '~', - ].concat(exports.ALPHANUM); - exports.TOKEN = exports.STRICT_TOKEN.concat([' ']); + ].concat(exports$1.ALPHANUM); + exports$1.TOKEN = exports$1.STRICT_TOKEN.concat([' ']); /* * Verify that a char is a valid visible (printable) US-ASCII * character or %x80-FF */ - exports.HEADER_CHARS = ['\t']; + exports$1.HEADER_CHARS = ['\t']; for (let i = 32; i <= 255; i++) { if (i !== 127) { - exports.HEADER_CHARS.push(i); + exports$1.HEADER_CHARS.push(i); } } // ',' = \x44 - exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS.filter((c) => c !== 44); - exports.MAJOR = exports.NUM_MAP; - exports.MINOR = exports.MAJOR; + exports$1.CONNECTION_TOKEN_CHARS = exports$1.HEADER_CHARS.filter((c) => c !== 44); + exports$1.MAJOR = exports$1.NUM_MAP; + exports$1.MINOR = exports$1.MAJOR; var HEADER_STATE; (function (HEADER_STATE) { HEADER_STATE[HEADER_STATE["GENERAL"] = 0] = "GENERAL"; @@ -8607,8 +8607,8 @@ function requireConstants$4 () { HEADER_STATE[HEADER_STATE["CONNECTION_CLOSE"] = 6] = "CONNECTION_CLOSE"; HEADER_STATE[HEADER_STATE["CONNECTION_UPGRADE"] = 7] = "CONNECTION_UPGRADE"; HEADER_STATE[HEADER_STATE["TRANSFER_ENCODING_CHUNKED"] = 8] = "TRANSFER_ENCODING_CHUNKED"; - })(HEADER_STATE = exports.HEADER_STATE || (exports.HEADER_STATE = {})); - exports.SPECIAL_HEADERS = { + })(HEADER_STATE = exports$1.HEADER_STATE || (exports$1.HEADER_STATE = {})); + exports$1.SPECIAL_HEADERS = { 'connection': HEADER_STATE.CONNECTION, 'content-length': HEADER_STATE.CONTENT_LENGTH, 'proxy-connection': HEADER_STATE.CONNECTION, @@ -9447,10 +9447,10 @@ function requireClient () { const TIMEOUT_IDLE = 3; class Parser { - constructor (client, socket, { exports }) { + constructor (client, socket, { exports: exports$1 }) { assert(Number.isFinite(client[kMaxHeadersSize]) && client[kMaxHeadersSize] > 0); - this.llhttp = exports; + this.llhttp = exports$1; this.ptr = this.llhttp.llhttp_alloc(constants.TYPE.RESPONSE); this.client = client; this.socket = socket; @@ -25312,7 +25312,7 @@ var hasRequiredSummary; function requireSummary () { if (hasRequiredSummary) return summary; hasRequiredSummary = 1; - (function (exports) { + (function (exports$1) { var __awaiter = (summary && summary.__awaiter) || 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) { @@ -25322,13 +25322,13 @@ function requireSummary () { step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0; + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.summary = exports$1.markdownSummary = exports$1.SUMMARY_DOCS_URL = exports$1.SUMMARY_ENV_VAR = void 0; const os_1 = os$1; const fs_1 = fs__default; const { access, appendFile, writeFile } = fs_1.promises; - exports.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY'; - exports.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary'; + exports$1.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY'; + exports$1.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary'; class Summary { constructor() { this._buffer = ''; @@ -25344,9 +25344,9 @@ function requireSummary () { if (this._filePath) { return this._filePath; } - const pathFromEnv = process.env[exports.SUMMARY_ENV_VAR]; + const pathFromEnv = process.env[exports$1.SUMMARY_ENV_VAR]; if (!pathFromEnv) { - throw new Error(`Unable to find environment variable for $${exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`); + throw new Error(`Unable to find environment variable for $${exports$1.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`); } try { yield access(pathFromEnv, fs_1.constants.R_OK | fs_1.constants.W_OK); @@ -25592,8 +25592,8 @@ function requireSummary () { /** * @deprecated use `core.summary` */ - exports.markdownSummary = _summary; - exports.summary = _summary; + exports$1.markdownSummary = _summary; + exports$1.summary = _summary; } (summary)); return summary; @@ -25685,7 +25685,7 @@ var hasRequiredIoUtil$3; function requireIoUtil$3 () { if (hasRequiredIoUtil$3) return ioUtil$3; hasRequiredIoUtil$3 = 1; - (function (exports) { + (function (exports$1) { var __createBinding = (ioUtil$3 && ioUtil$3.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); @@ -25715,22 +25715,22 @@ function requireIoUtil$3 () { }); }; var _a; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getCmdPath = exports.tryGetExecutablePath = exports.isRooted = exports.isDirectory = exports.exists = exports.READONLY = exports.UV_FS_O_EXLOCK = exports.IS_WINDOWS = exports.unlink = exports.symlink = exports.stat = exports.rmdir = exports.rm = exports.rename = exports.readlink = exports.readdir = exports.open = exports.mkdir = exports.lstat = exports.copyFile = exports.chmod = void 0; + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.getCmdPath = exports$1.tryGetExecutablePath = exports$1.isRooted = exports$1.isDirectory = exports$1.exists = exports$1.READONLY = exports$1.UV_FS_O_EXLOCK = exports$1.IS_WINDOWS = exports$1.unlink = exports$1.symlink = exports$1.stat = exports$1.rmdir = exports$1.rm = exports$1.rename = exports$1.readlink = exports$1.readdir = exports$1.open = exports$1.mkdir = exports$1.lstat = exports$1.copyFile = exports$1.chmod = void 0; const fs = __importStar(fs__default); const path = __importStar(require$$1__default); _a = fs.promises // export const {open} = 'fs' - , exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.open = _a.open, exports.readdir = _a.readdir, exports.readlink = _a.readlink, exports.rename = _a.rename, exports.rm = _a.rm, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink; + , exports$1.chmod = _a.chmod, exports$1.copyFile = _a.copyFile, exports$1.lstat = _a.lstat, exports$1.mkdir = _a.mkdir, exports$1.open = _a.open, exports$1.readdir = _a.readdir, exports$1.readlink = _a.readlink, exports$1.rename = _a.rename, exports$1.rm = _a.rm, exports$1.rmdir = _a.rmdir, exports$1.stat = _a.stat, exports$1.symlink = _a.symlink, exports$1.unlink = _a.unlink; // export const {open} = 'fs' - exports.IS_WINDOWS = process.platform === 'win32'; + exports$1.IS_WINDOWS = process.platform === 'win32'; // See https://github.com/nodejs/node/blob/d0153aee367422d0858105abec186da4dff0a0c5/deps/uv/include/uv/win.h#L691 - exports.UV_FS_O_EXLOCK = 0x10000000; - exports.READONLY = fs.constants.O_RDONLY; + exports$1.UV_FS_O_EXLOCK = 0x10000000; + exports$1.READONLY = fs.constants.O_RDONLY; function exists(fsPath) { return __awaiter(this, void 0, void 0, function* () { try { - yield exports.stat(fsPath); + yield exports$1.stat(fsPath); } catch (err) { if (err.code === 'ENOENT') { @@ -25741,14 +25741,14 @@ function requireIoUtil$3 () { return true; }); } - exports.exists = exists; + exports$1.exists = exists; function isDirectory(fsPath, useStat = false) { return __awaiter(this, void 0, void 0, function* () { - const stats = useStat ? yield exports.stat(fsPath) : yield exports.lstat(fsPath); + const stats = useStat ? yield exports$1.stat(fsPath) : yield exports$1.lstat(fsPath); return stats.isDirectory(); }); } - exports.isDirectory = isDirectory; + exports$1.isDirectory = isDirectory; /** * 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). @@ -25758,13 +25758,13 @@ function requireIoUtil$3 () { if (!p) { throw new Error('isRooted() parameter "p" cannot be empty'); } - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { return (p.startsWith('\\') || /^[A-Z]:/i.test(p) // e.g. \ or \hello or \\hello ); // e.g. C: or C:\hello } return p.startsWith('/'); } - exports.isRooted = isRooted; + exports$1.isRooted = isRooted; /** * Best effort attempt to determine whether a file exists and is executable. * @param filePath file path to check @@ -25776,7 +25776,7 @@ function requireIoUtil$3 () { let stats = undefined; try { // test file exists - stats = yield exports.stat(filePath); + stats = yield exports$1.stat(filePath); } catch (err) { if (err.code !== 'ENOENT') { @@ -25785,7 +25785,7 @@ function requireIoUtil$3 () { } } if (stats && stats.isFile()) { - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { // on Windows, test for valid extension const upperExt = path.extname(filePath).toUpperCase(); if (extensions.some(validExt => validExt.toUpperCase() === upperExt)) { @@ -25804,7 +25804,7 @@ function requireIoUtil$3 () { filePath = originalFilePath + extension; stats = undefined; try { - stats = yield exports.stat(filePath); + stats = yield exports$1.stat(filePath); } catch (err) { if (err.code !== 'ENOENT') { @@ -25813,12 +25813,12 @@ function requireIoUtil$3 () { } } if (stats && stats.isFile()) { - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { // preserve the case of the actual file (since an extension was appended) try { const directory = path.dirname(filePath); const upperName = path.basename(filePath).toUpperCase(); - for (const actualName of yield exports.readdir(directory)) { + for (const actualName of yield exports$1.readdir(directory)) { if (upperName === actualName.toUpperCase()) { filePath = path.join(directory, actualName); break; @@ -25841,10 +25841,10 @@ function requireIoUtil$3 () { return ''; }); } - exports.tryGetExecutablePath = tryGetExecutablePath; + exports$1.tryGetExecutablePath = tryGetExecutablePath; function normalizeSeparators(p) { p = p || ''; - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { // convert slashes on Windows p = p.replace(/\//g, '\\'); // remove redundant slashes @@ -25866,7 +25866,7 @@ function requireIoUtil$3 () { var _a; return (_a = process.env['COMSPEC']) !== null && _a !== void 0 ? _a : `cmd.exe`; } - exports.getCmdPath = getCmdPath; + exports$1.getCmdPath = getCmdPath; } (ioUtil$3)); return ioUtil$3; @@ -26918,7 +26918,7 @@ var hasRequiredPlatform; function requirePlatform () { if (hasRequiredPlatform) return platform; hasRequiredPlatform = 1; - (function (exports) { + (function (exports$1) { var __createBinding = (platform && platform.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); @@ -26954,8 +26954,8 @@ function requirePlatform () { var __importDefault = (platform && platform.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getDetails = exports.isLinux = exports.isMacOS = exports.isWindows = exports.arch = exports.platform = void 0; + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.getDetails = exports$1.isLinux = exports$1.isMacOS = exports$1.isWindows = exports$1.arch = exports$1.platform = void 0; const os_1 = __importDefault(os$1); const exec = __importStar(requireExec()); const getWindowsInfo = () => __awaiter(void 0, void 0, void 0, function* () { @@ -26992,25 +26992,25 @@ function requirePlatform () { version }; }); - exports.platform = os_1.default.platform(); - exports.arch = os_1.default.arch(); - exports.isWindows = exports.platform === 'win32'; - exports.isMacOS = exports.platform === 'darwin'; - exports.isLinux = exports.platform === 'linux'; + exports$1.platform = os_1.default.platform(); + exports$1.arch = os_1.default.arch(); + exports$1.isWindows = exports$1.platform === 'win32'; + exports$1.isMacOS = exports$1.platform === 'darwin'; + exports$1.isLinux = exports$1.platform === 'linux'; function getDetails() { return __awaiter(this, void 0, void 0, function* () { - return Object.assign(Object.assign({}, (yield (exports.isWindows + return Object.assign(Object.assign({}, (yield (exports$1.isWindows ? getWindowsInfo() - : exports.isMacOS + : exports$1.isMacOS ? getMacOsInfo() - : getLinuxInfo()))), { platform: exports.platform, - arch: exports.arch, - isWindows: exports.isWindows, - isMacOS: exports.isMacOS, - isLinux: exports.isLinux }); + : getLinuxInfo()))), { platform: exports$1.platform, + arch: exports$1.arch, + isWindows: exports$1.isWindows, + isMacOS: exports$1.isMacOS, + isLinux: exports$1.isLinux }); }); } - exports.getDetails = getDetails; + exports$1.getDetails = getDetails; } (platform)); return platform; @@ -27021,7 +27021,7 @@ var hasRequiredCore; function requireCore () { if (hasRequiredCore) return core; hasRequiredCore = 1; - (function (exports) { + (function (exports$1) { var __createBinding = (core && core.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); @@ -27054,8 +27054,8 @@ function requireCore () { step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.platform = exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = exports.markdownSummary = exports.summary = exports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0; + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.platform = exports$1.toPlatformPath = exports$1.toWin32Path = exports$1.toPosixPath = exports$1.markdownSummary = exports$1.summary = exports$1.getIDToken = exports$1.getState = exports$1.saveState = exports$1.group = exports$1.endGroup = exports$1.startGroup = exports$1.info = exports$1.notice = exports$1.warning = exports$1.error = exports$1.debug = exports$1.isDebug = exports$1.setFailed = exports$1.setCommandEcho = exports$1.setOutput = exports$1.getBooleanInput = exports$1.getMultilineInput = exports$1.getInput = exports$1.addPath = exports$1.setSecret = exports$1.exportVariable = exports$1.ExitCode = void 0; const command_1 = requireCommand(); const file_command_1 = requireFileCommand(); const utils_1 = requireUtils$3(); @@ -27075,7 +27075,7 @@ function requireCore () { * A code indicating that the action was a failure */ ExitCode[ExitCode["Failure"] = 1] = "Failure"; - })(ExitCode || (exports.ExitCode = ExitCode = {})); + })(ExitCode || (exports$1.ExitCode = ExitCode = {})); //----------------------------------------------------------------------- // Variables //----------------------------------------------------------------------- @@ -27094,7 +27094,7 @@ function requireCore () { } (0, command_1.issueCommand)('set-env', { name }, convertedVal); } - exports.exportVariable = exportVariable; + exports$1.exportVariable = exportVariable; /** * Registers a secret which will get masked from logs * @param secret value of the secret @@ -27102,7 +27102,7 @@ function requireCore () { function setSecret(secret) { (0, command_1.issueCommand)('add-mask', {}, secret); } - exports.setSecret = setSecret; + exports$1.setSecret = setSecret; /** * Prepends inputPath to the PATH (for this action and future actions) * @param inputPath @@ -27117,7 +27117,7 @@ function requireCore () { } process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`; } - exports.addPath = addPath; + exports$1.addPath = addPath; /** * Gets the value of an input. * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed. @@ -27137,7 +27137,7 @@ function requireCore () { } return val.trim(); } - exports.getInput = getInput; + exports$1.getInput = getInput; /** * Gets the values of an multiline input. Each value is also trimmed. * @@ -27155,7 +27155,7 @@ function requireCore () { } return inputs.map(input => input.trim()); } - exports.getMultilineInput = getMultilineInput; + exports$1.getMultilineInput = getMultilineInput; /** * Gets the input value of the boolean type in the YAML 1.2 "core schema" specification. * Support boolean input list: `true | True | TRUE | false | False | FALSE` . @@ -27177,7 +27177,7 @@ function requireCore () { throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${name}\n` + `Support boolean input list: \`true | True | TRUE | false | False | FALSE\``); } - exports.getBooleanInput = getBooleanInput; + exports$1.getBooleanInput = getBooleanInput; /** * Sets the value of an output. * @@ -27193,7 +27193,7 @@ function requireCore () { process.stdout.write(os.EOL); (0, command_1.issueCommand)('set-output', { name }, (0, utils_1.toCommandValue)(value)); } - exports.setOutput = setOutput; + exports$1.setOutput = setOutput; /** * Enables or disables the echoing of commands into stdout for the rest of the step. * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set. @@ -27202,7 +27202,7 @@ function requireCore () { function setCommandEcho(enabled) { (0, command_1.issue)('echo', enabled ? 'on' : 'off'); } - exports.setCommandEcho = setCommandEcho; + exports$1.setCommandEcho = setCommandEcho; //----------------------------------------------------------------------- // Results //----------------------------------------------------------------------- @@ -27215,7 +27215,7 @@ function requireCore () { process.exitCode = ExitCode.Failure; error(message); } - exports.setFailed = setFailed; + exports$1.setFailed = setFailed; //----------------------------------------------------------------------- // Logging Commands //----------------------------------------------------------------------- @@ -27225,7 +27225,7 @@ function requireCore () { function isDebug() { return process.env['RUNNER_DEBUG'] === '1'; } - exports.isDebug = isDebug; + exports$1.isDebug = isDebug; /** * Writes debug message to user log * @param message debug message @@ -27233,7 +27233,7 @@ function requireCore () { function debug(message) { (0, command_1.issueCommand)('debug', {}, message); } - exports.debug = debug; + exports$1.debug = debug; /** * Adds an error issue * @param message error issue message. Errors will be converted to string via toString() @@ -27242,7 +27242,7 @@ function requireCore () { function error(message, properties = {}) { (0, command_1.issueCommand)('error', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message); } - exports.error = error; + exports$1.error = error; /** * Adds a warning issue * @param message warning issue message. Errors will be converted to string via toString() @@ -27251,7 +27251,7 @@ function requireCore () { function warning(message, properties = {}) { (0, command_1.issueCommand)('warning', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message); } - exports.warning = warning; + exports$1.warning = warning; /** * Adds a notice issue * @param message notice issue message. Errors will be converted to string via toString() @@ -27260,7 +27260,7 @@ function requireCore () { function notice(message, properties = {}) { (0, command_1.issueCommand)('notice', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message); } - exports.notice = notice; + exports$1.notice = notice; /** * Writes info to log with console.log. * @param message info message @@ -27268,7 +27268,7 @@ function requireCore () { function info(message) { process.stdout.write(message + os.EOL); } - exports.info = info; + exports$1.info = info; /** * Begin an output group. * @@ -27279,14 +27279,14 @@ function requireCore () { function startGroup(name) { (0, command_1.issue)('group', name); } - exports.startGroup = startGroup; + exports$1.startGroup = startGroup; /** * End an output group. */ function endGroup() { (0, command_1.issue)('endgroup'); } - exports.endGroup = endGroup; + exports$1.endGroup = endGroup; /** * Wrap an asynchronous function call in a group. * @@ -27308,7 +27308,7 @@ function requireCore () { return result; }); } - exports.group = group; + exports$1.group = group; //----------------------------------------------------------------------- // Wrapper action state //----------------------------------------------------------------------- @@ -27326,7 +27326,7 @@ function requireCore () { } (0, command_1.issueCommand)('save-state', { name }, (0, utils_1.toCommandValue)(value)); } - exports.saveState = saveState; + exports$1.saveState = saveState; /** * Gets the value of an state set by this action's main execution. * @@ -27336,34 +27336,34 @@ function requireCore () { function getState(name) { return process.env[`STATE_${name}`] || ''; } - exports.getState = getState; + exports$1.getState = getState; function getIDToken(aud) { return __awaiter(this, void 0, void 0, function* () { return yield oidc_utils_1.OidcClient.getIDToken(aud); }); } - exports.getIDToken = getIDToken; + exports$1.getIDToken = getIDToken; /** * Summary exports */ var summary_1 = requireSummary(); - Object.defineProperty(exports, "summary", { enumerable: true, get: function () { return summary_1.summary; } }); + Object.defineProperty(exports$1, "summary", { enumerable: true, get: function () { return summary_1.summary; } }); /** * @deprecated use core.summary */ var summary_2 = requireSummary(); - Object.defineProperty(exports, "markdownSummary", { enumerable: true, get: function () { return summary_2.markdownSummary; } }); + Object.defineProperty(exports$1, "markdownSummary", { enumerable: true, get: function () { return summary_2.markdownSummary; } }); /** * Path exports */ var path_utils_1 = requirePathUtils(); - Object.defineProperty(exports, "toPosixPath", { enumerable: true, get: function () { return path_utils_1.toPosixPath; } }); - Object.defineProperty(exports, "toWin32Path", { enumerable: true, get: function () { return path_utils_1.toWin32Path; } }); - Object.defineProperty(exports, "toPlatformPath", { enumerable: true, get: function () { return path_utils_1.toPlatformPath; } }); + Object.defineProperty(exports$1, "toPosixPath", { enumerable: true, get: function () { return path_utils_1.toPosixPath; } }); + Object.defineProperty(exports$1, "toWin32Path", { enumerable: true, get: function () { return path_utils_1.toWin32Path; } }); + Object.defineProperty(exports$1, "toPlatformPath", { enumerable: true, get: function () { return path_utils_1.toPlatformPath; } }); /** * Platform utilities exports */ - exports.platform = __importStar(requirePlatform()); + exports$1.platform = __importStar(requirePlatform()); } (core)); return core; @@ -27442,7 +27442,7 @@ var hasRequiredRe; function requireRe () { if (hasRequiredRe) return re.exports; hasRequiredRe = 1; - (function (module, exports) { + (function (module, exports$1) { const { MAX_SAFE_COMPONENT_LENGTH, @@ -27450,14 +27450,14 @@ function requireRe () { MAX_LENGTH, } = requireConstants$1(); const debug = requireDebug(); - exports = module.exports = {}; + exports$1 = module.exports = {}; // The actual regexps go on exports.re - const re = exports.re = []; - const safeRe = exports.safeRe = []; - const src = exports.src = []; - const safeSrc = exports.safeSrc = []; - const t = exports.t = {}; + const re = exports$1.re = []; + const safeRe = exports$1.safeRe = []; + const src = exports$1.src = []; + const safeSrc = exports$1.safeSrc = []; + const t = exports$1.t = {}; let R = 0; const LETTERDASHNUMBER = '[a-zA-Z0-9-]'; @@ -27621,7 +27621,7 @@ function requireRe () { createToken('LONETILDE', '(?:~>?)'); createToken('TILDETRIM', `(\\s*)${src[t.LONETILDE]}\\s+`, true); - exports.tildeTrimReplace = '$1~'; + exports$1.tildeTrimReplace = '$1~'; createToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`); createToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`); @@ -27631,7 +27631,7 @@ function requireRe () { createToken('LONECARET', '(?:\\^)'); createToken('CARETTRIM', `(\\s*)${src[t.LONECARET]}\\s+`, true); - exports.caretTrimReplace = '$1^'; + exports$1.caretTrimReplace = '$1^'; createToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`); createToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`); @@ -27644,7 +27644,7 @@ function requireRe () { // it modifies, so that `> 1.2.3` ==> `>1.2.3` createToken('COMPARATORTRIM', `(\\s*)${src[t.GTLT] }\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true); - exports.comparatorTrimReplace = '$1$2$3'; + exports$1.comparatorTrimReplace = '$1$2$3'; // Something like `1.2.3 - 1.2.4` // Note that these all use the loose form, because they'll be @@ -34698,7 +34698,7 @@ var hasRequiredUtils; function requireUtils () { if (hasRequiredUtils) return utils$1; hasRequiredUtils = 1; - (function (exports) { + (function (exports$1) { var __createBinding = (utils$1 && utils$1.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); @@ -34722,24 +34722,24 @@ function requireUtils () { __setModuleDefault(result, mod); return result; }; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getOctokitOptions = exports.GitHub = exports.defaults = exports.context = void 0; + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.getOctokitOptions = exports$1.GitHub = exports$1.defaults = exports$1.context = void 0; const Context = __importStar(requireContext()); const Utils = __importStar(requireUtils$1()); // octokit + plugins const core_1 = require$$2$1; const plugin_rest_endpoint_methods_1 = require$$3; const plugin_paginate_rest_1 = require$$4; - exports.context = new Context.Context(); + exports$1.context = new Context.Context(); const baseUrl = Utils.getApiBaseUrl(); - exports.defaults = { + exports$1.defaults = { baseUrl, request: { agent: Utils.getProxyAgent(baseUrl), fetch: Utils.getProxyFetch(baseUrl) } }; - exports.GitHub = core_1.Octokit.plugin(plugin_rest_endpoint_methods_1.restEndpointMethods, plugin_paginate_rest_1.paginateRest).defaults(exports.defaults); + exports$1.GitHub = core_1.Octokit.plugin(plugin_rest_endpoint_methods_1.restEndpointMethods, plugin_paginate_rest_1.paginateRest).defaults(exports$1.defaults); /** * Convience function to correctly format Octokit Options to pass into the constructor. * @@ -34755,7 +34755,7 @@ function requireUtils () { } return opts; } - exports.getOctokitOptions = getOctokitOptions; + exports$1.getOctokitOptions = getOctokitOptions; } (utils$1)); return utils$1; @@ -34822,7 +34822,7 @@ var hasRequiredIoUtil$2; function requireIoUtil$2 () { if (hasRequiredIoUtil$2) return ioUtil$2; hasRequiredIoUtil$2 = 1; - (function (exports) { + (function (exports$1) { var __createBinding = (ioUtil$2 && ioUtil$2.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); @@ -34852,22 +34852,22 @@ function requireIoUtil$2 () { }); }; var _a; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getCmdPath = exports.tryGetExecutablePath = exports.isRooted = exports.isDirectory = exports.exists = exports.READONLY = exports.UV_FS_O_EXLOCK = exports.IS_WINDOWS = exports.unlink = exports.symlink = exports.stat = exports.rmdir = exports.rm = exports.rename = exports.readlink = exports.readdir = exports.open = exports.mkdir = exports.lstat = exports.copyFile = exports.chmod = void 0; + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.getCmdPath = exports$1.tryGetExecutablePath = exports$1.isRooted = exports$1.isDirectory = exports$1.exists = exports$1.READONLY = exports$1.UV_FS_O_EXLOCK = exports$1.IS_WINDOWS = exports$1.unlink = exports$1.symlink = exports$1.stat = exports$1.rmdir = exports$1.rm = exports$1.rename = exports$1.readlink = exports$1.readdir = exports$1.open = exports$1.mkdir = exports$1.lstat = exports$1.copyFile = exports$1.chmod = void 0; const fs = __importStar(fs__default); const path = __importStar(require$$1__default); _a = fs.promises // export const {open} = 'fs' - , exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.open = _a.open, exports.readdir = _a.readdir, exports.readlink = _a.readlink, exports.rename = _a.rename, exports.rm = _a.rm, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink; + , exports$1.chmod = _a.chmod, exports$1.copyFile = _a.copyFile, exports$1.lstat = _a.lstat, exports$1.mkdir = _a.mkdir, exports$1.open = _a.open, exports$1.readdir = _a.readdir, exports$1.readlink = _a.readlink, exports$1.rename = _a.rename, exports$1.rm = _a.rm, exports$1.rmdir = _a.rmdir, exports$1.stat = _a.stat, exports$1.symlink = _a.symlink, exports$1.unlink = _a.unlink; // export const {open} = 'fs' - exports.IS_WINDOWS = process.platform === 'win32'; + exports$1.IS_WINDOWS = process.platform === 'win32'; // See https://github.com/nodejs/node/blob/d0153aee367422d0858105abec186da4dff0a0c5/deps/uv/include/uv/win.h#L691 - exports.UV_FS_O_EXLOCK = 0x10000000; - exports.READONLY = fs.constants.O_RDONLY; + exports$1.UV_FS_O_EXLOCK = 0x10000000; + exports$1.READONLY = fs.constants.O_RDONLY; function exists(fsPath) { return __awaiter(this, void 0, void 0, function* () { try { - yield exports.stat(fsPath); + yield exports$1.stat(fsPath); } catch (err) { if (err.code === 'ENOENT') { @@ -34878,14 +34878,14 @@ function requireIoUtil$2 () { return true; }); } - exports.exists = exists; + exports$1.exists = exists; function isDirectory(fsPath, useStat = false) { return __awaiter(this, void 0, void 0, function* () { - const stats = useStat ? yield exports.stat(fsPath) : yield exports.lstat(fsPath); + const stats = useStat ? yield exports$1.stat(fsPath) : yield exports$1.lstat(fsPath); return stats.isDirectory(); }); } - exports.isDirectory = isDirectory; + exports$1.isDirectory = isDirectory; /** * 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). @@ -34895,13 +34895,13 @@ function requireIoUtil$2 () { if (!p) { throw new Error('isRooted() parameter "p" cannot be empty'); } - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { return (p.startsWith('\\') || /^[A-Z]:/i.test(p) // e.g. \ or \hello or \\hello ); // e.g. C: or C:\hello } return p.startsWith('/'); } - exports.isRooted = isRooted; + exports$1.isRooted = isRooted; /** * Best effort attempt to determine whether a file exists and is executable. * @param filePath file path to check @@ -34913,7 +34913,7 @@ function requireIoUtil$2 () { let stats = undefined; try { // test file exists - stats = yield exports.stat(filePath); + stats = yield exports$1.stat(filePath); } catch (err) { if (err.code !== 'ENOENT') { @@ -34922,7 +34922,7 @@ function requireIoUtil$2 () { } } if (stats && stats.isFile()) { - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { // on Windows, test for valid extension const upperExt = path.extname(filePath).toUpperCase(); if (extensions.some(validExt => validExt.toUpperCase() === upperExt)) { @@ -34941,7 +34941,7 @@ function requireIoUtil$2 () { filePath = originalFilePath + extension; stats = undefined; try { - stats = yield exports.stat(filePath); + stats = yield exports$1.stat(filePath); } catch (err) { if (err.code !== 'ENOENT') { @@ -34950,12 +34950,12 @@ function requireIoUtil$2 () { } } if (stats && stats.isFile()) { - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { // preserve the case of the actual file (since an extension was appended) try { const directory = path.dirname(filePath); const upperName = path.basename(filePath).toUpperCase(); - for (const actualName of yield exports.readdir(directory)) { + for (const actualName of yield exports$1.readdir(directory)) { if (upperName === actualName.toUpperCase()) { filePath = path.join(directory, actualName); break; @@ -34978,10 +34978,10 @@ function requireIoUtil$2 () { return ''; }); } - exports.tryGetExecutablePath = tryGetExecutablePath; + exports$1.tryGetExecutablePath = tryGetExecutablePath; function normalizeSeparators(p) { p = p || ''; - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { // convert slashes on Windows p = p.replace(/\//g, '\\'); // remove redundant slashes @@ -35003,7 +35003,7 @@ function requireIoUtil$2 () { var _a; return (_a = process.env['COMSPEC']) !== null && _a !== void 0 ? _a : `cmd.exe`; } - exports.getCmdPath = getCmdPath; + exports$1.getCmdPath = getCmdPath; } (ioUtil$2)); return ioUtil$2; @@ -35324,8 +35324,8 @@ var hasRequiredSemver$1; function requireSemver$1 () { if (hasRequiredSemver$1) return semver$1.exports; hasRequiredSemver$1 = 1; - (function (module, exports) { - exports = module.exports = SemVer; + (function (module, exports$1) { + exports$1 = module.exports = SemVer; var debug; /* istanbul ignore next */ @@ -35344,7 +35344,7 @@ function requireSemver$1 () { // Note: this is the semver.org version of the spec that it implements // Not necessarily the package version of this code. - exports.SEMVER_SPEC_VERSION = '2.0.0'; + exports$1.SEMVER_SPEC_VERSION = '2.0.0'; var MAX_LENGTH = 256; var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || @@ -35356,10 +35356,10 @@ function requireSemver$1 () { var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6; // The actual regexps go on exports.re - var re = exports.re = []; - var safeRe = exports.safeRe = []; - var src = exports.src = []; - var t = exports.tokens = {}; + var re = exports$1.re = []; + var safeRe = exports$1.safeRe = []; + var src = exports$1.src = []; + var t = exports$1.tokens = {}; var R = 0; function tok (n) { @@ -35617,7 +35617,7 @@ function requireSemver$1 () { } } - exports.parse = parse; + exports$1.parse = parse; function parse (version, options) { if (!options || typeof options !== 'object') { options = { @@ -35650,19 +35650,19 @@ function requireSemver$1 () { } } - exports.valid = valid; + exports$1.valid = valid; function valid (version, options) { var v = parse(version, options); return v ? v.version : null } - exports.clean = clean; + exports$1.clean = clean; function clean (version, options) { var s = parse(version.trim().replace(/^[=v]+/, ''), options); return s ? s.version : null } - exports.SemVer = SemVer; + exports$1.SemVer = SemVer; function SemVer (version, options) { if (!options || typeof options !== 'object') { @@ -35933,7 +35933,7 @@ function requireSemver$1 () { return this }; - exports.inc = inc; + exports$1.inc = inc; function inc (version, release, loose, identifier) { if (typeof (loose) === 'string') { identifier = loose; @@ -35947,7 +35947,7 @@ function requireSemver$1 () { } } - exports.diff = diff; + exports$1.diff = diff; function diff (version1, version2) { if (eq(version1, version2)) { return null @@ -35970,7 +35970,7 @@ function requireSemver$1 () { } } - exports.compareIdentifiers = compareIdentifiers; + exports$1.compareIdentifiers = compareIdentifiers; var numeric = /^[0-9]+$/; function compareIdentifiers (a, b) { @@ -35989,93 +35989,93 @@ function requireSemver$1 () { : 1 } - exports.rcompareIdentifiers = rcompareIdentifiers; + exports$1.rcompareIdentifiers = rcompareIdentifiers; function rcompareIdentifiers (a, b) { return compareIdentifiers(b, a) } - exports.major = major; + exports$1.major = major; function major (a, loose) { return new SemVer(a, loose).major } - exports.minor = minor; + exports$1.minor = minor; function minor (a, loose) { return new SemVer(a, loose).minor } - exports.patch = patch; + exports$1.patch = patch; function patch (a, loose) { return new SemVer(a, loose).patch } - exports.compare = compare; + exports$1.compare = compare; function compare (a, b, loose) { return new SemVer(a, loose).compare(new SemVer(b, loose)) } - exports.compareLoose = compareLoose; + exports$1.compareLoose = compareLoose; function compareLoose (a, b) { return compare(a, b, true) } - exports.compareBuild = compareBuild; + exports$1.compareBuild = compareBuild; function compareBuild (a, b, loose) { var versionA = new SemVer(a, loose); var versionB = new SemVer(b, loose); return versionA.compare(versionB) || versionA.compareBuild(versionB) } - exports.rcompare = rcompare; + exports$1.rcompare = rcompare; function rcompare (a, b, loose) { return compare(b, a, loose) } - exports.sort = sort; + exports$1.sort = sort; function sort (list, loose) { return list.sort(function (a, b) { - return exports.compareBuild(a, b, loose) + return exports$1.compareBuild(a, b, loose) }) } - exports.rsort = rsort; + exports$1.rsort = rsort; function rsort (list, loose) { return list.sort(function (a, b) { - return exports.compareBuild(b, a, loose) + return exports$1.compareBuild(b, a, loose) }) } - exports.gt = gt; + exports$1.gt = gt; function gt (a, b, loose) { return compare(a, b, loose) > 0 } - exports.lt = lt; + exports$1.lt = lt; function lt (a, b, loose) { return compare(a, b, loose) < 0 } - exports.eq = eq; + exports$1.eq = eq; function eq (a, b, loose) { return compare(a, b, loose) === 0 } - exports.neq = neq; + exports$1.neq = neq; function neq (a, b, loose) { return compare(a, b, loose) !== 0 } - exports.gte = gte; + exports$1.gte = gte; function gte (a, b, loose) { return compare(a, b, loose) >= 0 } - exports.lte = lte; + exports$1.lte = lte; function lte (a, b, loose) { return compare(a, b, loose) <= 0 } - exports.cmp = cmp; + exports$1.cmp = cmp; function cmp (a, op, b, loose) { switch (op) { case '===': @@ -36117,7 +36117,7 @@ function requireSemver$1 () { } } - exports.Comparator = Comparator; + exports$1.Comparator = Comparator; function Comparator (comp, options) { if (!options || typeof options !== 'object') { options = { @@ -36249,7 +36249,7 @@ function requireSemver$1 () { oppositeDirectionsLessThan || oppositeDirectionsGreaterThan }; - exports.Range = Range; + exports$1.Range = Range; function Range (range, options) { if (!options || typeof options !== 'object') { options = { @@ -36393,7 +36393,7 @@ function requireSemver$1 () { } // Mostly just for testing and legacy API reasons - exports.toComparators = toComparators; + exports$1.toComparators = toComparators; function toComparators (range, options) { return new Range(range, options).set.map(function (comp) { return comp.map(function (c) { @@ -36704,7 +36704,7 @@ function requireSemver$1 () { return true } - exports.satisfies = satisfies; + exports$1.satisfies = satisfies; function satisfies (version, range, options) { try { range = new Range(range, options); @@ -36714,7 +36714,7 @@ function requireSemver$1 () { return range.test(version) } - exports.maxSatisfying = maxSatisfying; + exports$1.maxSatisfying = maxSatisfying; function maxSatisfying (versions, range, options) { var max = null; var maxSV = null; @@ -36736,7 +36736,7 @@ function requireSemver$1 () { return max } - exports.minSatisfying = minSatisfying; + exports$1.minSatisfying = minSatisfying; function minSatisfying (versions, range, options) { var min = null; var minSV = null; @@ -36758,7 +36758,7 @@ function requireSemver$1 () { return min } - exports.minVersion = minVersion; + exports$1.minVersion = minVersion; function minVersion (range, loose) { range = new Range(range, loose); @@ -36812,7 +36812,7 @@ function requireSemver$1 () { return null } - exports.validRange = validRange; + exports$1.validRange = validRange; function validRange (range, options) { try { // Return '*' instead of '' so that truthiness works. @@ -36824,18 +36824,18 @@ function requireSemver$1 () { } // Determine if version is less than all the versions possible in the range - exports.ltr = ltr; + exports$1.ltr = ltr; function ltr (version, range, options) { return outside(version, range, '<', options) } // Determine if version is greater than all the versions possible in the range. - exports.gtr = gtr; + exports$1.gtr = gtr; function gtr (version, range, options) { return outside(version, range, '>', options) } - exports.outside = outside; + exports$1.outside = outside; function outside (version, range, hilo, options) { version = new SemVer(version, options); range = new Range(range, options); @@ -36905,20 +36905,20 @@ function requireSemver$1 () { return true } - exports.prerelease = prerelease; + exports$1.prerelease = prerelease; function prerelease (version, options) { var parsed = parse(version, options); return (parsed && parsed.prerelease.length) ? parsed.prerelease : null } - exports.intersects = intersects; + exports$1.intersects = intersects; function intersects (r1, r2, options) { r1 = new Range(r1, options); r2 = new Range(r2, options); return r1.intersects(r2) } - exports.coerce = coerce; + exports$1.coerce = coerce; function coerce (version, options) { if (version instanceof SemVer) { return version @@ -36979,7 +36979,7 @@ var hasRequiredManifest; function requireManifest () { if (hasRequiredManifest) return manifest$1.exports; hasRequiredManifest = 1; - (function (module, exports) { + (function (module, exports$1) { var __createBinding = (manifest && manifest.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); @@ -37012,8 +37012,8 @@ function requireManifest () { step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; - Object.defineProperty(exports, "__esModule", { value: true }); - exports._readLinuxVersionFile = exports._getOsVersion = exports._findMatch = void 0; + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1._readLinuxVersionFile = exports$1._getOsVersion = exports$1._findMatch = void 0; const semver = __importStar(requireSemver$1()); const core_1 = requireCore(); // needs to be require for core node modules to be mocked @@ -37061,7 +37061,7 @@ function requireManifest () { return result; }); } - exports._findMatch = _findMatch; + exports$1._findMatch = _findMatch; function _getOsVersion() { // TODO: add windows and other linux, arm variants // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python) @@ -37093,7 +37093,7 @@ function requireManifest () { } return version; } - exports._getOsVersion = _getOsVersion; + exports$1._getOsVersion = _getOsVersion; function _readLinuxVersionFile() { const lsbReleaseFile = '/etc/lsb-release'; const osReleaseFile = '/etc/os-release'; @@ -37106,7 +37106,7 @@ function requireManifest () { } return contents; } - exports._readLinuxVersionFile = _readLinuxVersionFile; + exports$1._readLinuxVersionFile = _readLinuxVersionFile; } (manifest$1, manifest$1.exports)); return manifest$1.exports; @@ -39661,7 +39661,7 @@ var hasRequiredIoUtil$1; function requireIoUtil$1 () { if (hasRequiredIoUtil$1) return ioUtil$1; hasRequiredIoUtil$1 = 1; - (function (exports) { + (function (exports$1) { var __createBinding = (ioUtil$1 && ioUtil$1.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); @@ -39705,21 +39705,21 @@ function requireIoUtil$1 () { }); }; var _a; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.READONLY = exports.UV_FS_O_EXLOCK = exports.IS_WINDOWS = exports.unlink = exports.symlink = exports.stat = exports.rmdir = exports.rm = exports.rename = exports.readdir = exports.open = exports.mkdir = exports.lstat = exports.copyFile = exports.chmod = void 0; - exports.readlink = readlink; - exports.exists = exists; - exports.isDirectory = isDirectory; - exports.isRooted = isRooted; - exports.tryGetExecutablePath = tryGetExecutablePath; - exports.getCmdPath = getCmdPath; + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.READONLY = exports$1.UV_FS_O_EXLOCK = exports$1.IS_WINDOWS = exports$1.unlink = exports$1.symlink = exports$1.stat = exports$1.rmdir = exports$1.rm = exports$1.rename = exports$1.readdir = exports$1.open = exports$1.mkdir = exports$1.lstat = exports$1.copyFile = exports$1.chmod = void 0; + exports$1.readlink = readlink; + exports$1.exists = exists; + exports$1.isDirectory = isDirectory; + exports$1.isRooted = isRooted; + exports$1.tryGetExecutablePath = tryGetExecutablePath; + exports$1.getCmdPath = getCmdPath; const fs = __importStar(fs__default); const path = __importStar(require$$1__default); _a = fs.promises // export const {open} = 'fs' - , exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.open = _a.open, exports.readdir = _a.readdir, exports.rename = _a.rename, exports.rm = _a.rm, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink; + , exports$1.chmod = _a.chmod, exports$1.copyFile = _a.copyFile, exports$1.lstat = _a.lstat, exports$1.mkdir = _a.mkdir, exports$1.open = _a.open, exports$1.readdir = _a.readdir, exports$1.rename = _a.rename, exports$1.rm = _a.rm, exports$1.rmdir = _a.rmdir, exports$1.stat = _a.stat, exports$1.symlink = _a.symlink, exports$1.unlink = _a.unlink; // export const {open} = 'fs' - exports.IS_WINDOWS = process.platform === 'win32'; + exports$1.IS_WINDOWS = process.platform === 'win32'; /** * Custom implementation of readlink to ensure Windows junctions * maintain trailing backslash for backward compatibility with Node.js < 24 @@ -39736,19 +39736,19 @@ function requireIoUtil$1 () { const result = yield fs.promises.readlink(fsPath); // On Windows, restore Node 20 behavior: add trailing backslash to all results // since junctions on Windows are always directory links - if (exports.IS_WINDOWS && !result.endsWith('\\')) { + if (exports$1.IS_WINDOWS && !result.endsWith('\\')) { return `${result}\\`; } return result; }); } // See https://github.com/nodejs/node/blob/d0153aee367422d0858105abec186da4dff0a0c5/deps/uv/include/uv/win.h#L691 - exports.UV_FS_O_EXLOCK = 0x10000000; - exports.READONLY = fs.constants.O_RDONLY; + exports$1.UV_FS_O_EXLOCK = 0x10000000; + exports$1.READONLY = fs.constants.O_RDONLY; function exists(fsPath) { return __awaiter(this, void 0, void 0, function* () { try { - yield (0, exports.stat)(fsPath); + yield (0, exports$1.stat)(fsPath); } catch (err) { if (err.code === 'ENOENT') { @@ -39761,7 +39761,7 @@ function requireIoUtil$1 () { } function isDirectory(fsPath_1) { return __awaiter(this, arguments, void 0, function* (fsPath, useStat = false) { - const stats = useStat ? yield (0, exports.stat)(fsPath) : yield (0, exports.lstat)(fsPath); + const stats = useStat ? yield (0, exports$1.stat)(fsPath) : yield (0, exports$1.lstat)(fsPath); return stats.isDirectory(); }); } @@ -39774,7 +39774,7 @@ function requireIoUtil$1 () { if (!p) { throw new Error('isRooted() parameter "p" cannot be empty'); } - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { return (p.startsWith('\\') || /^[A-Z]:/i.test(p) // e.g. \ or \hello or \\hello ); // e.g. C: or C:\hello } @@ -39791,7 +39791,7 @@ function requireIoUtil$1 () { let stats = undefined; try { // test file exists - stats = yield (0, exports.stat)(filePath); + stats = yield (0, exports$1.stat)(filePath); } catch (err) { if (err.code !== 'ENOENT') { @@ -39800,7 +39800,7 @@ function requireIoUtil$1 () { } } if (stats && stats.isFile()) { - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { // on Windows, test for valid extension const upperExt = path.extname(filePath).toUpperCase(); if (extensions.some(validExt => validExt.toUpperCase() === upperExt)) { @@ -39819,7 +39819,7 @@ function requireIoUtil$1 () { filePath = originalFilePath + extension; stats = undefined; try { - stats = yield (0, exports.stat)(filePath); + stats = yield (0, exports$1.stat)(filePath); } catch (err) { if (err.code !== 'ENOENT') { @@ -39828,12 +39828,12 @@ function requireIoUtil$1 () { } } if (stats && stats.isFile()) { - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { // preserve the case of the actual file (since an extension was appended) try { const directory = path.dirname(filePath); const upperName = path.basename(filePath).toUpperCase(); - for (const actualName of yield (0, exports.readdir)(directory)) { + for (const actualName of yield (0, exports$1.readdir)(directory)) { if (upperName === actualName.toUpperCase()) { filePath = path.join(directory, actualName); break; @@ -39858,7 +39858,7 @@ function requireIoUtil$1 () { } function normalizeSeparators(p) { p = p || ''; - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { // convert slashes on Windows p = p.replace(/\//g, '\\'); // remove redundant slashes @@ -40948,9 +40948,9 @@ var hasRequiredInternalMatchKind$1; function requireInternalMatchKind$1 () { if (hasRequiredInternalMatchKind$1) return internalMatchKind$1; hasRequiredInternalMatchKind$1 = 1; - (function (exports) { - Object.defineProperty(exports, "__esModule", { value: true }); - exports.MatchKind = void 0; + (function (exports$1) { + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.MatchKind = void 0; (function (MatchKind) { /** Not matched */ MatchKind[MatchKind["None"] = 0] = "None"; @@ -40960,7 +40960,7 @@ function requireInternalMatchKind$1 () { MatchKind[MatchKind["File"] = 2] = "File"; /** Matched */ MatchKind[MatchKind["All"] = 3] = "All"; - })(exports.MatchKind || (exports.MatchKind = {})); + })(exports$1.MatchKind || (exports$1.MatchKind = {})); } (internalMatchKind$1)); return internalMatchKind$1; @@ -41080,13 +41080,13 @@ var hasRequiredCommonjs$3; function requireCommonjs$3 () { if (hasRequiredCommonjs$3) return commonjs$1; hasRequiredCommonjs$3 = 1; - (function (exports) { - Object.defineProperty(exports, "__esModule", { value: true }); - exports.range = exports.balanced = void 0; + (function (exports$1) { + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.range = exports$1.balanced = void 0; const balanced = (a, b, str) => { const ma = a instanceof RegExp ? maybeMatch(a, str) : a; const mb = b instanceof RegExp ? maybeMatch(b, str) : b; - const r = ma !== null && mb != null && (0, exports.range)(ma, mb, str); + const r = ma !== null && mb != null && (0, exports$1.range)(ma, mb, str); return (r && { start: r[0], end: r[1], @@ -41095,7 +41095,7 @@ function requireCommonjs$3 () { post: str.slice(r[1] + mb.length), }); }; - exports.balanced = balanced; + exports$1.balanced = balanced; const maybeMatch = (reg, str) => { const m = str.match(reg); return m ? m[0] : null; @@ -41137,7 +41137,7 @@ function requireCommonjs$3 () { } return result; }; - exports.range = range; + exports$1.range = range; } (commonjs$1)); return commonjs$1; @@ -42199,9 +42199,9 @@ var hasRequiredCommonjs$1; function requireCommonjs$1 () { if (hasRequiredCommonjs$1) return commonjs$3; hasRequiredCommonjs$1 = 1; - (function (exports) { - Object.defineProperty(exports, "__esModule", { value: true }); - exports.unescape = exports.escape = exports.AST = exports.Minimatch = exports.match = exports.makeRe = exports.braceExpand = exports.defaults = exports.filter = exports.GLOBSTAR = exports.sep = exports.minimatch = void 0; + (function (exports$1) { + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.unescape = exports$1.escape = exports$1.AST = exports$1.Minimatch = exports$1.match = exports$1.makeRe = exports$1.braceExpand = exports$1.defaults = exports$1.filter = exports$1.GLOBSTAR = exports$1.sep = exports$1.minimatch = void 0; const brace_expansion_1 = requireCommonjs$2(); const assert_valid_pattern_js_1 = requireAssertValidPattern$1(); const ast_js_1 = requireAst$1(); @@ -42215,7 +42215,7 @@ function requireCommonjs$1 () { } return new Minimatch(pattern, options).match(p); }; - exports.minimatch = minimatch; + exports$1.minimatch = minimatch; // Optimized checking for the most common glob patterns. const starDotExtRE = /^\*+([^+@!?\*\[\(]*)$/; const starDotExtTest = (ext) => (f) => !f.startsWith('.') && f.endsWith(ext); @@ -42279,10 +42279,10 @@ function requireCommonjs$1 () { posix: { sep: '/' }, }; /* c8 ignore stop */ - exports.sep = defaultPlatform === 'win32' ? path.win32.sep : path.posix.sep; - exports.minimatch.sep = exports.sep; - exports.GLOBSTAR = Symbol('globstar **'); - exports.minimatch.GLOBSTAR = exports.GLOBSTAR; + exports$1.sep = defaultPlatform === 'win32' ? path.win32.sep : path.posix.sep; + exports$1.minimatch.sep = exports$1.sep; + exports$1.GLOBSTAR = Symbol('globstar **'); + exports$1.minimatch.GLOBSTAR = exports$1.GLOBSTAR; // any single thing other than / // don't need to escape / when using new RegExp() const qmark = '[^/]'; @@ -42295,15 +42295,15 @@ function requireCommonjs$1 () { // not a ^ or / followed by a dot, // followed by anything, any number of times. const twoStarNoDot = '(?:(?!(?:\\/|^)\\.).)*?'; - const filter = (pattern, options = {}) => (p) => (0, exports.minimatch)(p, pattern, options); - exports.filter = filter; - exports.minimatch.filter = exports.filter; + const filter = (pattern, options = {}) => (p) => (0, exports$1.minimatch)(p, pattern, options); + exports$1.filter = filter; + exports$1.minimatch.filter = exports$1.filter; const ext = (a, b = {}) => Object.assign({}, a, b); const defaults = (def) => { if (!def || typeof def !== 'object' || !Object.keys(def).length) { - return exports.minimatch; + return exports$1.minimatch; } - const orig = exports.minimatch; + const orig = exports$1.minimatch; const m = (p, pattern, options = {}) => orig(p, pattern, ext(def, options)); return Object.assign(m, { Minimatch: class Minimatch extends orig.Minimatch { @@ -42332,11 +42332,11 @@ function requireCommonjs$1 () { braceExpand: (pattern, options = {}) => orig.braceExpand(pattern, ext(def, options)), match: (list, pattern, options = {}) => orig.match(list, pattern, ext(def, options)), sep: orig.sep, - GLOBSTAR: exports.GLOBSTAR, + GLOBSTAR: exports$1.GLOBSTAR, }); }; - exports.defaults = defaults; - exports.minimatch.defaults = exports.defaults; + exports$1.defaults = defaults; + exports$1.minimatch.defaults = exports$1.defaults; // Brace expansion: // a{b,c}d -> abd acd // a{b,}c -> abc ac @@ -42357,8 +42357,8 @@ function requireCommonjs$1 () { } return (0, brace_expansion_1.expand)(pattern); }; - exports.braceExpand = braceExpand; - exports.minimatch.braceExpand = exports.braceExpand; + exports$1.braceExpand = braceExpand; + exports$1.minimatch.braceExpand = exports$1.braceExpand; // parse a component of the expanded set. // At this point, no pattern may contain "/" in it // so we're going to return a 2d array, where each entry is the full @@ -42371,8 +42371,8 @@ function requireCommonjs$1 () { // of * is equivalent to a single *. Globstar behavior is enabled by // default, and can be disabled by setting options.noglobstar. const makeRe = (pattern, options = {}) => new Minimatch(pattern, options).makeRe(); - exports.makeRe = makeRe; - exports.minimatch.makeRe = exports.makeRe; + exports$1.makeRe = makeRe; + exports$1.minimatch.makeRe = exports$1.makeRe; const match = (list, pattern, options = {}) => { const mm = new Minimatch(pattern, options); list = list.filter(f => mm.match(f)); @@ -42381,8 +42381,8 @@ function requireCommonjs$1 () { } return list; }; - exports.match = match; - exports.minimatch.match = exports.match; + exports$1.match = match; + exports$1.minimatch.match = exports$1.match; // replace stuff like \* with * const globMagic = /[?*]|[+@!]\(.*?\)|\[|\]/; const regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&'); @@ -42860,7 +42860,7 @@ function requireCommonjs$1 () { return false; } /* c8 ignore stop */ - if (p === exports.GLOBSTAR) { + if (p === exports$1.GLOBSTAR) { this.debug('GLOBSTAR', [pattern, p, f]); // "**" // a/**/b/**/c would match the following: @@ -42991,14 +42991,14 @@ function requireCommonjs$1 () { /* c8 ignore stop */ } braceExpand() { - return (0, exports.braceExpand)(this.pattern, this.options); + return (0, exports$1.braceExpand)(this.pattern, this.options); } parse(pattern) { (0, assert_valid_pattern_js_1.assertValidPattern)(pattern); const options = this.options; // shortcuts if (pattern === '**') - return exports.GLOBSTAR; + return exports$1.GLOBSTAR; if (pattern === '') return ''; // far and away, the most common glob pattern parts are @@ -43075,18 +43075,18 @@ function requireCommonjs$1 () { } return typeof p === 'string' ? regExpEscape(p) - : p === exports.GLOBSTAR - ? exports.GLOBSTAR + : p === exports$1.GLOBSTAR + ? exports$1.GLOBSTAR : p._src; }); pp.forEach((p, i) => { const next = pp[i + 1]; const prev = pp[i - 1]; - if (p !== exports.GLOBSTAR || prev === exports.GLOBSTAR) { + if (p !== exports$1.GLOBSTAR || prev === exports$1.GLOBSTAR) { return; } if (prev === undefined) { - if (next !== undefined && next !== exports.GLOBSTAR) { + if (next !== undefined && next !== exports$1.GLOBSTAR) { pp[i + 1] = '(?:\\/|' + twoStar + '\\/)?' + next; } else { @@ -43096,12 +43096,12 @@ function requireCommonjs$1 () { else if (next === undefined) { pp[i - 1] = prev + '(?:\\/|' + twoStar + ')?'; } - else if (next !== exports.GLOBSTAR) { + else if (next !== exports$1.GLOBSTAR) { pp[i - 1] = prev + '(?:\\/|\\/' + twoStar + '\\/)' + next; - pp[i + 1] = exports.GLOBSTAR; + pp[i + 1] = exports$1.GLOBSTAR; } }); - return pp.filter(p => p !== exports.GLOBSTAR).join('/'); + return pp.filter(p => p !== exports$1.GLOBSTAR).join('/'); }) .join('|'); // need to wrap in parens if we had more than one thing with |, @@ -43196,22 +43196,22 @@ function requireCommonjs$1 () { return this.negate; } static defaults(def) { - return exports.minimatch.defaults(def).Minimatch; + return exports$1.minimatch.defaults(def).Minimatch; } } - exports.Minimatch = Minimatch; + exports$1.Minimatch = Minimatch; /* c8 ignore start */ var ast_js_2 = requireAst$1(); - Object.defineProperty(exports, "AST", { enumerable: true, get: function () { return ast_js_2.AST; } }); + Object.defineProperty(exports$1, "AST", { enumerable: true, get: function () { return ast_js_2.AST; } }); var escape_js_2 = require_escape$1(); - Object.defineProperty(exports, "escape", { enumerable: true, get: function () { return escape_js_2.escape; } }); + Object.defineProperty(exports$1, "escape", { enumerable: true, get: function () { return escape_js_2.escape; } }); var unescape_js_2 = require_unescape$1(); - Object.defineProperty(exports, "unescape", { enumerable: true, get: function () { return unescape_js_2.unescape; } }); + Object.defineProperty(exports$1, "unescape", { enumerable: true, get: function () { return unescape_js_2.unescape; } }); /* c8 ignore stop */ - exports.minimatch.AST = ast_js_1.AST; - exports.minimatch.Minimatch = Minimatch; - exports.minimatch.escape = escape_js_1.escape; - exports.minimatch.unescape = unescape_js_1.unescape; + exports$1.minimatch.AST = ast_js_1.AST; + exports$1.minimatch.Minimatch = Minimatch; + exports$1.minimatch.escape = escape_js_1.escape; + exports$1.minimatch.unescape = unescape_js_1.unescape; } (commonjs$3)); return commonjs$3; @@ -43905,7 +43905,7 @@ var hasRequiredIoUtil; function requireIoUtil () { if (hasRequiredIoUtil) return ioUtil; hasRequiredIoUtil = 1; - (function (exports) { + (function (exports$1) { var __createBinding = (ioUtil && ioUtil.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); @@ -43935,22 +43935,22 @@ function requireIoUtil () { }); }; var _a; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getCmdPath = exports.tryGetExecutablePath = exports.isRooted = exports.isDirectory = exports.exists = exports.READONLY = exports.UV_FS_O_EXLOCK = exports.IS_WINDOWS = exports.unlink = exports.symlink = exports.stat = exports.rmdir = exports.rm = exports.rename = exports.readlink = exports.readdir = exports.open = exports.mkdir = exports.lstat = exports.copyFile = exports.chmod = void 0; + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.getCmdPath = exports$1.tryGetExecutablePath = exports$1.isRooted = exports$1.isDirectory = exports$1.exists = exports$1.READONLY = exports$1.UV_FS_O_EXLOCK = exports$1.IS_WINDOWS = exports$1.unlink = exports$1.symlink = exports$1.stat = exports$1.rmdir = exports$1.rm = exports$1.rename = exports$1.readlink = exports$1.readdir = exports$1.open = exports$1.mkdir = exports$1.lstat = exports$1.copyFile = exports$1.chmod = void 0; const fs = __importStar(fs__default); const path = __importStar(require$$1__default); _a = fs.promises // export const {open} = 'fs' - , exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.open = _a.open, exports.readdir = _a.readdir, exports.readlink = _a.readlink, exports.rename = _a.rename, exports.rm = _a.rm, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink; + , exports$1.chmod = _a.chmod, exports$1.copyFile = _a.copyFile, exports$1.lstat = _a.lstat, exports$1.mkdir = _a.mkdir, exports$1.open = _a.open, exports$1.readdir = _a.readdir, exports$1.readlink = _a.readlink, exports$1.rename = _a.rename, exports$1.rm = _a.rm, exports$1.rmdir = _a.rmdir, exports$1.stat = _a.stat, exports$1.symlink = _a.symlink, exports$1.unlink = _a.unlink; // export const {open} = 'fs' - exports.IS_WINDOWS = process.platform === 'win32'; + exports$1.IS_WINDOWS = process.platform === 'win32'; // See https://github.com/nodejs/node/blob/d0153aee367422d0858105abec186da4dff0a0c5/deps/uv/include/uv/win.h#L691 - exports.UV_FS_O_EXLOCK = 0x10000000; - exports.READONLY = fs.constants.O_RDONLY; + exports$1.UV_FS_O_EXLOCK = 0x10000000; + exports$1.READONLY = fs.constants.O_RDONLY; function exists(fsPath) { return __awaiter(this, void 0, void 0, function* () { try { - yield exports.stat(fsPath); + yield exports$1.stat(fsPath); } catch (err) { if (err.code === 'ENOENT') { @@ -43961,14 +43961,14 @@ function requireIoUtil () { return true; }); } - exports.exists = exists; + exports$1.exists = exists; function isDirectory(fsPath, useStat = false) { return __awaiter(this, void 0, void 0, function* () { - const stats = useStat ? yield exports.stat(fsPath) : yield exports.lstat(fsPath); + const stats = useStat ? yield exports$1.stat(fsPath) : yield exports$1.lstat(fsPath); return stats.isDirectory(); }); } - exports.isDirectory = isDirectory; + exports$1.isDirectory = isDirectory; /** * 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). @@ -43978,13 +43978,13 @@ function requireIoUtil () { if (!p) { throw new Error('isRooted() parameter "p" cannot be empty'); } - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { return (p.startsWith('\\') || /^[A-Z]:/i.test(p) // e.g. \ or \hello or \\hello ); // e.g. C: or C:\hello } return p.startsWith('/'); } - exports.isRooted = isRooted; + exports$1.isRooted = isRooted; /** * Best effort attempt to determine whether a file exists and is executable. * @param filePath file path to check @@ -43996,7 +43996,7 @@ function requireIoUtil () { let stats = undefined; try { // test file exists - stats = yield exports.stat(filePath); + stats = yield exports$1.stat(filePath); } catch (err) { if (err.code !== 'ENOENT') { @@ -44005,7 +44005,7 @@ function requireIoUtil () { } } if (stats && stats.isFile()) { - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { // on Windows, test for valid extension const upperExt = path.extname(filePath).toUpperCase(); if (extensions.some(validExt => validExt.toUpperCase() === upperExt)) { @@ -44024,7 +44024,7 @@ function requireIoUtil () { filePath = originalFilePath + extension; stats = undefined; try { - stats = yield exports.stat(filePath); + stats = yield exports$1.stat(filePath); } catch (err) { if (err.code !== 'ENOENT') { @@ -44033,12 +44033,12 @@ function requireIoUtil () { } } if (stats && stats.isFile()) { - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { // preserve the case of the actual file (since an extension was appended) try { const directory = path.dirname(filePath); const upperName = path.basename(filePath).toUpperCase(); - for (const actualName of yield exports.readdir(directory)) { + for (const actualName of yield exports$1.readdir(directory)) { if (upperName === actualName.toUpperCase()) { filePath = path.join(directory, actualName); break; @@ -44061,10 +44061,10 @@ function requireIoUtil () { return ''; }); } - exports.tryGetExecutablePath = tryGetExecutablePath; + exports$1.tryGetExecutablePath = tryGetExecutablePath; function normalizeSeparators(p) { p = p || ''; - if (exports.IS_WINDOWS) { + if (exports$1.IS_WINDOWS) { // convert slashes on Windows p = p.replace(/\//g, '\\'); // remove redundant slashes @@ -44086,7 +44086,7 @@ function requireIoUtil () { var _a; return (_a = process.env['COMSPEC']) !== null && _a !== void 0 ? _a : `cmd.exe`; } - exports.getCmdPath = getCmdPath; + exports$1.getCmdPath = getCmdPath; } (ioUtil)); return ioUtil; @@ -44405,8 +44405,8 @@ var hasRequiredSemver; function requireSemver () { if (hasRequiredSemver) return semver.exports; hasRequiredSemver = 1; - (function (module, exports) { - exports = module.exports = SemVer; + (function (module, exports$1) { + exports$1 = module.exports = SemVer; var debug; /* istanbul ignore next */ @@ -44425,7 +44425,7 @@ function requireSemver () { // Note: this is the semver.org version of the spec that it implements // Not necessarily the package version of this code. - exports.SEMVER_SPEC_VERSION = '2.0.0'; + exports$1.SEMVER_SPEC_VERSION = '2.0.0'; var MAX_LENGTH = 256; var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || @@ -44437,10 +44437,10 @@ function requireSemver () { var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6; // The actual regexps go on exports.re - var re = exports.re = []; - var safeRe = exports.safeRe = []; - var src = exports.src = []; - var t = exports.tokens = {}; + var re = exports$1.re = []; + var safeRe = exports$1.safeRe = []; + var src = exports$1.src = []; + var t = exports$1.tokens = {}; var R = 0; function tok (n) { @@ -44698,7 +44698,7 @@ function requireSemver () { } } - exports.parse = parse; + exports$1.parse = parse; function parse (version, options) { if (!options || typeof options !== 'object') { options = { @@ -44731,19 +44731,19 @@ function requireSemver () { } } - exports.valid = valid; + exports$1.valid = valid; function valid (version, options) { var v = parse(version, options); return v ? v.version : null } - exports.clean = clean; + exports$1.clean = clean; function clean (version, options) { var s = parse(version.trim().replace(/^[=v]+/, ''), options); return s ? s.version : null } - exports.SemVer = SemVer; + exports$1.SemVer = SemVer; function SemVer (version, options) { if (!options || typeof options !== 'object') { @@ -45014,7 +45014,7 @@ function requireSemver () { return this }; - exports.inc = inc; + exports$1.inc = inc; function inc (version, release, loose, identifier) { if (typeof (loose) === 'string') { identifier = loose; @@ -45028,7 +45028,7 @@ function requireSemver () { } } - exports.diff = diff; + exports$1.diff = diff; function diff (version1, version2) { if (eq(version1, version2)) { return null @@ -45051,7 +45051,7 @@ function requireSemver () { } } - exports.compareIdentifiers = compareIdentifiers; + exports$1.compareIdentifiers = compareIdentifiers; var numeric = /^[0-9]+$/; function compareIdentifiers (a, b) { @@ -45070,93 +45070,93 @@ function requireSemver () { : 1 } - exports.rcompareIdentifiers = rcompareIdentifiers; + exports$1.rcompareIdentifiers = rcompareIdentifiers; function rcompareIdentifiers (a, b) { return compareIdentifiers(b, a) } - exports.major = major; + exports$1.major = major; function major (a, loose) { return new SemVer(a, loose).major } - exports.minor = minor; + exports$1.minor = minor; function minor (a, loose) { return new SemVer(a, loose).minor } - exports.patch = patch; + exports$1.patch = patch; function patch (a, loose) { return new SemVer(a, loose).patch } - exports.compare = compare; + exports$1.compare = compare; function compare (a, b, loose) { return new SemVer(a, loose).compare(new SemVer(b, loose)) } - exports.compareLoose = compareLoose; + exports$1.compareLoose = compareLoose; function compareLoose (a, b) { return compare(a, b, true) } - exports.compareBuild = compareBuild; + exports$1.compareBuild = compareBuild; function compareBuild (a, b, loose) { var versionA = new SemVer(a, loose); var versionB = new SemVer(b, loose); return versionA.compare(versionB) || versionA.compareBuild(versionB) } - exports.rcompare = rcompare; + exports$1.rcompare = rcompare; function rcompare (a, b, loose) { return compare(b, a, loose) } - exports.sort = sort; + exports$1.sort = sort; function sort (list, loose) { return list.sort(function (a, b) { - return exports.compareBuild(a, b, loose) + return exports$1.compareBuild(a, b, loose) }) } - exports.rsort = rsort; + exports$1.rsort = rsort; function rsort (list, loose) { return list.sort(function (a, b) { - return exports.compareBuild(b, a, loose) + return exports$1.compareBuild(b, a, loose) }) } - exports.gt = gt; + exports$1.gt = gt; function gt (a, b, loose) { return compare(a, b, loose) > 0 } - exports.lt = lt; + exports$1.lt = lt; function lt (a, b, loose) { return compare(a, b, loose) < 0 } - exports.eq = eq; + exports$1.eq = eq; function eq (a, b, loose) { return compare(a, b, loose) === 0 } - exports.neq = neq; + exports$1.neq = neq; function neq (a, b, loose) { return compare(a, b, loose) !== 0 } - exports.gte = gte; + exports$1.gte = gte; function gte (a, b, loose) { return compare(a, b, loose) >= 0 } - exports.lte = lte; + exports$1.lte = lte; function lte (a, b, loose) { return compare(a, b, loose) <= 0 } - exports.cmp = cmp; + exports$1.cmp = cmp; function cmp (a, op, b, loose) { switch (op) { case '===': @@ -45198,7 +45198,7 @@ function requireSemver () { } } - exports.Comparator = Comparator; + exports$1.Comparator = Comparator; function Comparator (comp, options) { if (!options || typeof options !== 'object') { options = { @@ -45330,7 +45330,7 @@ function requireSemver () { oppositeDirectionsLessThan || oppositeDirectionsGreaterThan }; - exports.Range = Range; + exports$1.Range = Range; function Range (range, options) { if (!options || typeof options !== 'object') { options = { @@ -45474,7 +45474,7 @@ function requireSemver () { } // Mostly just for testing and legacy API reasons - exports.toComparators = toComparators; + exports$1.toComparators = toComparators; function toComparators (range, options) { return new Range(range, options).set.map(function (comp) { return comp.map(function (c) { @@ -45785,7 +45785,7 @@ function requireSemver () { return true } - exports.satisfies = satisfies; + exports$1.satisfies = satisfies; function satisfies (version, range, options) { try { range = new Range(range, options); @@ -45795,7 +45795,7 @@ function requireSemver () { return range.test(version) } - exports.maxSatisfying = maxSatisfying; + exports$1.maxSatisfying = maxSatisfying; function maxSatisfying (versions, range, options) { var max = null; var maxSV = null; @@ -45817,7 +45817,7 @@ function requireSemver () { return max } - exports.minSatisfying = minSatisfying; + exports$1.minSatisfying = minSatisfying; function minSatisfying (versions, range, options) { var min = null; var minSV = null; @@ -45839,7 +45839,7 @@ function requireSemver () { return min } - exports.minVersion = minVersion; + exports$1.minVersion = minVersion; function minVersion (range, loose) { range = new Range(range, loose); @@ -45893,7 +45893,7 @@ function requireSemver () { return null } - exports.validRange = validRange; + exports$1.validRange = validRange; function validRange (range, options) { try { // Return '*' instead of '' so that truthiness works. @@ -45905,18 +45905,18 @@ function requireSemver () { } // Determine if version is less than all the versions possible in the range - exports.ltr = ltr; + exports$1.ltr = ltr; function ltr (version, range, options) { return outside(version, range, '<', options) } // Determine if version is greater than all the versions possible in the range. - exports.gtr = gtr; + exports$1.gtr = gtr; function gtr (version, range, options) { return outside(version, range, '>', options) } - exports.outside = outside; + exports$1.outside = outside; function outside (version, range, hilo, options) { version = new SemVer(version, options); range = new Range(range, options); @@ -45986,20 +45986,20 @@ function requireSemver () { return true } - exports.prerelease = prerelease; + exports$1.prerelease = prerelease; function prerelease (version, options) { var parsed = parse(version, options); return (parsed && parsed.prerelease.length) ? parsed.prerelease : null } - exports.intersects = intersects; + exports$1.intersects = intersects; function intersects (r1, r2, options) { r1 = new Range(r1, options); r2 = new Range(r2, options); return r1.intersects(r2) } - exports.coerce = coerce; + exports$1.coerce = coerce; function coerce (version, options) { if (version instanceof SemVer) { return version @@ -49533,17 +49533,17 @@ var hasRequiredBrowser; function requireBrowser () { if (hasRequiredBrowser) return browser.exports; hasRequiredBrowser = 1; - (function (module, exports) { + (function (module, exports$1) { /** * This is the web browser implementation of `debug()`. */ - exports.formatArgs = formatArgs; - exports.save = save; - exports.load = load; - exports.useColors = useColors; - exports.storage = localstorage(); - exports.destroy = (() => { + exports$1.formatArgs = formatArgs; + exports$1.save = save; + exports$1.load = load; + exports$1.useColors = useColors; + exports$1.storage = localstorage(); + exports$1.destroy = (() => { let warned = false; return () => { @@ -49558,7 +49558,7 @@ function requireBrowser () { * Colors. */ - exports.colors = [ + exports$1.colors = [ '#0000CC', '#0000FF', '#0033CC', @@ -49723,7 +49723,7 @@ function requireBrowser () { * * @api public */ - exports.log = console.debug || console.log || (() => {}); + exports$1.log = console.debug || console.log || (() => {}); /** * Save `namespaces`. @@ -49734,9 +49734,9 @@ function requireBrowser () { function save(namespaces) { try { if (namespaces) { - exports.storage.setItem('debug', namespaces); + exports$1.storage.setItem('debug', namespaces); } else { - exports.storage.removeItem('debug'); + exports$1.storage.removeItem('debug'); } } catch (error) { // Swallow @@ -49753,7 +49753,7 @@ function requireBrowser () { function load() { let r; try { - r = exports.storage.getItem('debug') || exports.storage.getItem('DEBUG') ; + r = exports$1.storage.getItem('debug') || exports$1.storage.getItem('DEBUG') ; } catch (error) { // Swallow // XXX (@Qix-) should we be logging these? @@ -49789,7 +49789,7 @@ function requireBrowser () { } } - module.exports = requireCommon()(exports); + module.exports = requireCommon()(exports$1); const {formatters} = module.exports; @@ -49978,7 +49978,7 @@ var hasRequiredNode; function requireNode () { if (hasRequiredNode) return node.exports; hasRequiredNode = 1; - (function (module, exports) { + (function (module, exports$1) { const tty = require$$1$6; const util = require$$0__default; @@ -49986,13 +49986,13 @@ function requireNode () { * This is the Node.js implementation of `debug()`. */ - exports.init = init; - exports.log = log; - exports.formatArgs = formatArgs; - exports.save = save; - exports.load = load; - exports.useColors = useColors; - exports.destroy = util.deprecate( + exports$1.init = init; + exports$1.log = log; + exports$1.formatArgs = formatArgs; + exports$1.save = save; + exports$1.load = load; + exports$1.useColors = useColors; + exports$1.destroy = util.deprecate( () => {}, 'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.' ); @@ -50001,7 +50001,7 @@ function requireNode () { * Colors. */ - exports.colors = [6, 2, 3, 4, 5, 1]; + exports$1.colors = [6, 2, 3, 4, 5, 1]; try { // Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json) @@ -50009,7 +50009,7 @@ function requireNode () { const supportsColor = requireSupportsColor(); if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) { - exports.colors = [ + exports$1.colors = [ 20, 21, 26, @@ -50098,7 +50098,7 @@ function requireNode () { * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js */ - exports.inspectOpts = Object.keys(process.env).filter(key => { + exports$1.inspectOpts = Object.keys(process.env).filter(key => { return /^debug_/i.test(key); }).reduce((obj, key) => { // Camel-case @@ -50130,8 +50130,8 @@ function requireNode () { */ function useColors() { - return 'colors' in exports.inspectOpts ? - Boolean(exports.inspectOpts.colors) : + return 'colors' in exports$1.inspectOpts ? + Boolean(exports$1.inspectOpts.colors) : tty.isatty(process.stderr.fd); } @@ -50157,7 +50157,7 @@ function requireNode () { } function getDate() { - if (exports.inspectOpts.hideDate) { + if (exports$1.inspectOpts.hideDate) { return ''; } return new Date().toISOString() + ' '; @@ -50168,7 +50168,7 @@ function requireNode () { */ function log(...args) { - return process.stderr.write(util.formatWithOptions(exports.inspectOpts, ...args) + '\n'); + return process.stderr.write(util.formatWithOptions(exports$1.inspectOpts, ...args) + '\n'); } /** @@ -50208,13 +50208,13 @@ function requireNode () { function init(debug) { debug.inspectOpts = {}; - const keys = Object.keys(exports.inspectOpts); + const keys = Object.keys(exports$1.inspectOpts); for (let i = 0; i < keys.length; i++) { - debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]]; + debug.inspectOpts[keys[i]] = exports$1.inspectOpts[keys[i]]; } } - module.exports = requireCommon()(exports); + module.exports = requireCommon()(exports$1); const {formatters} = module.exports; @@ -50342,7 +50342,7 @@ var hasRequiredDist$2; function requireDist$2 () { if (hasRequiredDist$2) return dist$1; hasRequiredDist$2 = 1; - (function (exports) { + (function (exports$1) { var __createBinding = (dist$1 && dist$1.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); @@ -50366,15 +50366,15 @@ function requireDist$2 () { __setModuleDefault(result, mod); return result; }; - var __exportStar = (dist$1 && dist$1.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); + var __exportStar = (dist$1 && dist$1.__exportStar) || function(m, exports$1) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$1, p)) __createBinding(exports$1, m, p); }; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.Agent = void 0; + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.Agent = void 0; const net = __importStar(require$$0$7); const http = __importStar(require$$0$5); const https_1 = require$$1$2; - __exportStar(requireHelpers(), exports); + __exportStar(requireHelpers(), exports$1); const INTERNAL = Symbol('AgentBaseInternalState'); class Agent extends http.Agent { constructor(opts) { @@ -50520,7 +50520,7 @@ function requireDist$2 () { } } } - exports.Agent = Agent; + exports$1.Agent = Agent; } (dist$1)); return dist$1; @@ -55052,7 +55052,7 @@ var hasRequiredUtil$1; function requireUtil$1 () { if (hasRequiredUtil$1) return util$1; hasRequiredUtil$1 = 1; - (function (exports) { + (function (exports$1) { const nameStartChar = ':A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD'; const nameChar = nameStartChar + '\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040'; @@ -55080,11 +55080,11 @@ function requireUtil$1 () { return !(match === null || typeof match === 'undefined'); }; - exports.isExist = function(v) { + exports$1.isExist = function(v) { return typeof v !== 'undefined'; }; - exports.isEmptyObject = function(obj) { + exports$1.isEmptyObject = function(obj) { return Object.keys(obj).length === 0; }; @@ -55093,7 +55093,7 @@ function requireUtil$1 () { * @param {*} target * @param {*} a */ - exports.merge = function(target, a, arrayMode) { + exports$1.merge = function(target, a, arrayMode) { if (a) { const keys = Object.keys(a); // will return an array of own properties const len = keys.length; //don't make it inline @@ -55110,8 +55110,8 @@ function requireUtil$1 () { return Object.assign(b,a); } */ - exports.getValue = function(v) { - if (exports.isExist(v)) { + exports$1.getValue = function(v) { + if (exports$1.isExist(v)) { return v; } else { return ''; @@ -55121,9 +55121,9 @@ function requireUtil$1 () { // const fakeCall = function(a) {return a;}; // const fakeCallNoReturn = function() {}; - exports.isName = isName; - exports.getAllMatches = getAllMatches; - exports.nameRegexp = nameRegexp; + exports$1.isName = isName; + exports$1.getAllMatches = getAllMatches; + exports$1.nameRegexp = nameRegexp; } (util$1)); return util$1; } @@ -88630,9 +88630,9 @@ var hasRequiredCache$1; function requireCache$1 () { if (hasRequiredCache$1) return cache; hasRequiredCache$1 = 1; - (function (exports) { - Object.defineProperty(exports, "__esModule", { value: true }); - exports.CacheService = exports.GetCacheEntryDownloadURLResponse = exports.GetCacheEntryDownloadURLRequest = exports.FinalizeCacheEntryUploadResponse = exports.FinalizeCacheEntryUploadRequest = exports.CreateCacheEntryResponse = exports.CreateCacheEntryRequest = void 0; + (function (exports$1) { + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.CacheService = exports$1.GetCacheEntryDownloadURLResponse = exports$1.GetCacheEntryDownloadURLRequest = exports$1.FinalizeCacheEntryUploadResponse = exports$1.FinalizeCacheEntryUploadRequest = exports$1.CreateCacheEntryResponse = exports$1.CreateCacheEntryRequest = void 0; // @generated by protobuf-ts 2.9.1 with parameter long_type_string,client_none,generate_dependencies // @generated from protobuf file "results/api/v1/cache.proto" (package "github.actions.results.api.v1", syntax proto3) // tslint:disable @@ -88703,7 +88703,7 @@ function requireCache$1 () { /** * @generated MessageType for protobuf message github.actions.results.api.v1.CreateCacheEntryRequest */ - exports.CreateCacheEntryRequest = new CreateCacheEntryRequest$Type(); + exports$1.CreateCacheEntryRequest = new CreateCacheEntryRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class CreateCacheEntryResponse$Type extends runtime_5.MessageType { constructor() { @@ -88764,7 +88764,7 @@ function requireCache$1 () { /** * @generated MessageType for protobuf message github.actions.results.api.v1.CreateCacheEntryResponse */ - exports.CreateCacheEntryResponse = new CreateCacheEntryResponse$Type(); + exports$1.CreateCacheEntryResponse = new CreateCacheEntryResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class FinalizeCacheEntryUploadRequest$Type extends runtime_5.MessageType { constructor() { @@ -88832,7 +88832,7 @@ function requireCache$1 () { /** * @generated MessageType for protobuf message github.actions.results.api.v1.FinalizeCacheEntryUploadRequest */ - exports.FinalizeCacheEntryUploadRequest = new FinalizeCacheEntryUploadRequest$Type(); + exports$1.FinalizeCacheEntryUploadRequest = new FinalizeCacheEntryUploadRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class FinalizeCacheEntryUploadResponse$Type extends runtime_5.MessageType { constructor() { @@ -88893,7 +88893,7 @@ function requireCache$1 () { /** * @generated MessageType for protobuf message github.actions.results.api.v1.FinalizeCacheEntryUploadResponse */ - exports.FinalizeCacheEntryUploadResponse = new FinalizeCacheEntryUploadResponse$Type(); + exports$1.FinalizeCacheEntryUploadResponse = new FinalizeCacheEntryUploadResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class GetCacheEntryDownloadURLRequest$Type extends runtime_5.MessageType { constructor() { @@ -88961,7 +88961,7 @@ function requireCache$1 () { /** * @generated MessageType for protobuf message github.actions.results.api.v1.GetCacheEntryDownloadURLRequest */ - exports.GetCacheEntryDownloadURLRequest = new GetCacheEntryDownloadURLRequest$Type(); + exports$1.GetCacheEntryDownloadURLRequest = new GetCacheEntryDownloadURLRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class GetCacheEntryDownloadURLResponse$Type extends runtime_5.MessageType { constructor() { @@ -89022,14 +89022,14 @@ function requireCache$1 () { /** * @generated MessageType for protobuf message github.actions.results.api.v1.GetCacheEntryDownloadURLResponse */ - exports.GetCacheEntryDownloadURLResponse = new GetCacheEntryDownloadURLResponse$Type(); + exports$1.GetCacheEntryDownloadURLResponse = new GetCacheEntryDownloadURLResponse$Type(); /** * @generated ServiceType for protobuf service github.actions.results.api.v1.CacheService */ - exports.CacheService = new runtime_rpc_1.ServiceType("github.actions.results.api.v1.CacheService", [ - { name: "CreateCacheEntry", options: {}, I: exports.CreateCacheEntryRequest, O: exports.CreateCacheEntryResponse }, - { name: "FinalizeCacheEntryUpload", options: {}, I: exports.FinalizeCacheEntryUploadRequest, O: exports.FinalizeCacheEntryUploadResponse }, - { name: "GetCacheEntryDownloadURL", options: {}, I: exports.GetCacheEntryDownloadURLRequest, O: exports.GetCacheEntryDownloadURLResponse } + exports$1.CacheService = new runtime_rpc_1.ServiceType("github.actions.results.api.v1.CacheService", [ + { name: "CreateCacheEntry", options: {}, I: exports$1.CreateCacheEntryRequest, O: exports$1.CreateCacheEntryResponse }, + { name: "FinalizeCacheEntryUpload", options: {}, I: exports$1.FinalizeCacheEntryUploadRequest, O: exports$1.FinalizeCacheEntryUploadResponse }, + { name: "GetCacheEntryDownloadURL", options: {}, I: exports$1.GetCacheEntryDownloadURLRequest, O: exports$1.GetCacheEntryDownloadURLResponse } ]); } (cache)); @@ -91448,9 +91448,9 @@ var hasRequiredCommonjs; function requireCommonjs () { if (hasRequiredCommonjs) return commonjs; hasRequiredCommonjs = 1; - (function (exports) { - Object.defineProperty(exports, "__esModule", { value: true }); - exports.unescape = exports.escape = exports.AST = exports.Minimatch = exports.match = exports.makeRe = exports.braceExpand = exports.defaults = exports.filter = exports.GLOBSTAR = exports.sep = exports.minimatch = void 0; + (function (exports$1) { + Object.defineProperty(exports$1, "__esModule", { value: true }); + exports$1.unescape = exports$1.escape = exports$1.AST = exports$1.Minimatch = exports$1.match = exports$1.makeRe = exports$1.braceExpand = exports$1.defaults = exports$1.filter = exports$1.GLOBSTAR = exports$1.sep = exports$1.minimatch = void 0; const brace_expansion_1 = requireCommonjs$2(); const assert_valid_pattern_js_1 = requireAssertValidPattern(); const ast_js_1 = requireAst(); @@ -91464,7 +91464,7 @@ function requireCommonjs () { } return new Minimatch(pattern, options).match(p); }; - exports.minimatch = minimatch; + exports$1.minimatch = minimatch; // Optimized checking for the most common glob patterns. const starDotExtRE = /^\*+([^+@!?\*\[\(]*)$/; const starDotExtTest = (ext) => (f) => !f.startsWith('.') && f.endsWith(ext); @@ -91528,10 +91528,10 @@ function requireCommonjs () { posix: { sep: '/' }, }; /* c8 ignore stop */ - exports.sep = defaultPlatform === 'win32' ? path.win32.sep : path.posix.sep; - exports.minimatch.sep = exports.sep; - exports.GLOBSTAR = Symbol('globstar **'); - exports.minimatch.GLOBSTAR = exports.GLOBSTAR; + exports$1.sep = defaultPlatform === 'win32' ? path.win32.sep : path.posix.sep; + exports$1.minimatch.sep = exports$1.sep; + exports$1.GLOBSTAR = Symbol('globstar **'); + exports$1.minimatch.GLOBSTAR = exports$1.GLOBSTAR; // any single thing other than / // don't need to escape / when using new RegExp() const qmark = '[^/]'; @@ -91544,15 +91544,15 @@ function requireCommonjs () { // not a ^ or / followed by a dot, // followed by anything, any number of times. const twoStarNoDot = '(?:(?!(?:\\/|^)\\.).)*?'; - const filter = (pattern, options = {}) => (p) => (0, exports.minimatch)(p, pattern, options); - exports.filter = filter; - exports.minimatch.filter = exports.filter; + const filter = (pattern, options = {}) => (p) => (0, exports$1.minimatch)(p, pattern, options); + exports$1.filter = filter; + exports$1.minimatch.filter = exports$1.filter; const ext = (a, b = {}) => Object.assign({}, a, b); const defaults = (def) => { if (!def || typeof def !== 'object' || !Object.keys(def).length) { - return exports.minimatch; + return exports$1.minimatch; } - const orig = exports.minimatch; + const orig = exports$1.minimatch; const m = (p, pattern, options = {}) => orig(p, pattern, ext(def, options)); return Object.assign(m, { Minimatch: class Minimatch extends orig.Minimatch { @@ -91581,11 +91581,11 @@ function requireCommonjs () { braceExpand: (pattern, options = {}) => orig.braceExpand(pattern, ext(def, options)), match: (list, pattern, options = {}) => orig.match(list, pattern, ext(def, options)), sep: orig.sep, - GLOBSTAR: exports.GLOBSTAR, + GLOBSTAR: exports$1.GLOBSTAR, }); }; - exports.defaults = defaults; - exports.minimatch.defaults = exports.defaults; + exports$1.defaults = defaults; + exports$1.minimatch.defaults = exports$1.defaults; // Brace expansion: // a{b,c}d -> abd acd // a{b,}c -> abc ac @@ -91606,8 +91606,8 @@ function requireCommonjs () { } return (0, brace_expansion_1.expand)(pattern); }; - exports.braceExpand = braceExpand; - exports.minimatch.braceExpand = exports.braceExpand; + exports$1.braceExpand = braceExpand; + exports$1.minimatch.braceExpand = exports$1.braceExpand; // parse a component of the expanded set. // At this point, no pattern may contain "/" in it // so we're going to return a 2d array, where each entry is the full @@ -91620,8 +91620,8 @@ function requireCommonjs () { // of * is equivalent to a single *. Globstar behavior is enabled by // default, and can be disabled by setting options.noglobstar. const makeRe = (pattern, options = {}) => new Minimatch(pattern, options).makeRe(); - exports.makeRe = makeRe; - exports.minimatch.makeRe = exports.makeRe; + exports$1.makeRe = makeRe; + exports$1.minimatch.makeRe = exports$1.makeRe; const match = (list, pattern, options = {}) => { const mm = new Minimatch(pattern, options); list = list.filter(f => mm.match(f)); @@ -91630,8 +91630,8 @@ function requireCommonjs () { } return list; }; - exports.match = match; - exports.minimatch.match = exports.match; + exports$1.match = match; + exports$1.minimatch.match = exports$1.match; // replace stuff like \* with * const globMagic = /[?*]|[+@!]\(.*?\)|\[|\]/; const regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&'); @@ -92109,7 +92109,7 @@ function requireCommonjs () { return false; } /* c8 ignore stop */ - if (p === exports.GLOBSTAR) { + if (p === exports$1.GLOBSTAR) { this.debug('GLOBSTAR', [pattern, p, f]); // "**" // a/**/b/**/c would match the following: @@ -92240,14 +92240,14 @@ function requireCommonjs () { /* c8 ignore stop */ } braceExpand() { - return (0, exports.braceExpand)(this.pattern, this.options); + return (0, exports$1.braceExpand)(this.pattern, this.options); } parse(pattern) { (0, assert_valid_pattern_js_1.assertValidPattern)(pattern); const options = this.options; // shortcuts if (pattern === '**') - return exports.GLOBSTAR; + return exports$1.GLOBSTAR; if (pattern === '') return ''; // far and away, the most common glob pattern parts are @@ -92324,18 +92324,18 @@ function requireCommonjs () { } return typeof p === 'string' ? regExpEscape(p) - : p === exports.GLOBSTAR - ? exports.GLOBSTAR + : p === exports$1.GLOBSTAR + ? exports$1.GLOBSTAR : p._src; }); pp.forEach((p, i) => { const next = pp[i + 1]; const prev = pp[i - 1]; - if (p !== exports.GLOBSTAR || prev === exports.GLOBSTAR) { + if (p !== exports$1.GLOBSTAR || prev === exports$1.GLOBSTAR) { return; } if (prev === undefined) { - if (next !== undefined && next !== exports.GLOBSTAR) { + if (next !== undefined && next !== exports$1.GLOBSTAR) { pp[i + 1] = '(?:\\/|' + twoStar + '\\/)?' + next; } else { @@ -92345,12 +92345,12 @@ function requireCommonjs () { else if (next === undefined) { pp[i - 1] = prev + '(?:\\/|' + twoStar + ')?'; } - else if (next !== exports.GLOBSTAR) { + else if (next !== exports$1.GLOBSTAR) { pp[i - 1] = prev + '(?:\\/|\\/' + twoStar + '\\/)' + next; - pp[i + 1] = exports.GLOBSTAR; + pp[i + 1] = exports$1.GLOBSTAR; } }); - return pp.filter(p => p !== exports.GLOBSTAR).join('/'); + return pp.filter(p => p !== exports$1.GLOBSTAR).join('/'); }) .join('|'); // need to wrap in parens if we had more than one thing with |, @@ -92445,22 +92445,22 @@ function requireCommonjs () { return this.negate; } static defaults(def) { - return exports.minimatch.defaults(def).Minimatch; + return exports$1.minimatch.defaults(def).Minimatch; } } - exports.Minimatch = Minimatch; + exports$1.Minimatch = Minimatch; /* c8 ignore start */ var ast_js_2 = requireAst(); - Object.defineProperty(exports, "AST", { enumerable: true, get: function () { return ast_js_2.AST; } }); + Object.defineProperty(exports$1, "AST", { enumerable: true, get: function () { return ast_js_2.AST; } }); var escape_js_2 = require_escape(); - Object.defineProperty(exports, "escape", { enumerable: true, get: function () { return escape_js_2.escape; } }); + Object.defineProperty(exports$1, "escape", { enumerable: true, get: function () { return escape_js_2.escape; } }); var unescape_js_2 = require_unescape(); - Object.defineProperty(exports, "unescape", { enumerable: true, get: function () { return unescape_js_2.unescape; } }); + Object.defineProperty(exports$1, "unescape", { enumerable: true, get: function () { return unescape_js_2.unescape; } }); /* c8 ignore stop */ - exports.minimatch.AST = ast_js_1.AST; - exports.minimatch.Minimatch = Minimatch; - exports.minimatch.escape = escape_js_1.escape; - exports.minimatch.unescape = unescape_js_1.unescape; + exports$1.minimatch.AST = ast_js_1.AST; + exports$1.minimatch.Minimatch = Minimatch; + exports$1.minimatch.escape = escape_js_1.escape; + exports$1.minimatch.unescape = unescape_js_1.unescape; } (commonjs)); return commonjs;