diff --git a/dist/index.js b/dist/index.js index 40957db..43c27f4 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,14 +1,14 @@ /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ -/***/ 6614: +/***/ 6725: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.create = void 0; -const artifact_client_1 = __nccwpck_require__(1146); +const artifact_client_1 = __nccwpck_require__(5398); /** * Constructs an ArtifactClient */ @@ -20,7 +20,7 @@ exports.create = create; /***/ }), -/***/ 1146: +/***/ 5398: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -55,14 +55,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.DefaultArtifactClient = void 0; -const core = __importStar(__nccwpck_require__(8336)); -const upload_specification_1 = __nccwpck_require__(9894); -const upload_http_client_1 = __nccwpck_require__(8603); -const utils_1 = __nccwpck_require__(1094); -const path_and_artifact_name_validation_1 = __nccwpck_require__(6390); -const download_http_client_1 = __nccwpck_require__(3123); -const download_specification_1 = __nccwpck_require__(4570); -const config_variables_1 = __nccwpck_require__(2298); +const core = __importStar(__nccwpck_require__(4550)); +const upload_specification_1 = __nccwpck_require__(8191); +const upload_http_client_1 = __nccwpck_require__(8953); +const utils_1 = __nccwpck_require__(9520); +const path_and_artifact_name_validation_1 = __nccwpck_require__(9596); +const download_http_client_1 = __nccwpck_require__(7625); +const download_specification_1 = __nccwpck_require__(2330); +const config_variables_1 = __nccwpck_require__(4882); const path_1 = __nccwpck_require__(1017); class DefaultArtifactClient { /** @@ -205,7 +205,7 @@ exports.DefaultArtifactClient = DefaultArtifactClient; /***/ }), -/***/ 2298: +/***/ 4882: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -284,7 +284,7 @@ exports.getRetentionDays = getRetentionDays; /***/ }), -/***/ 4220: +/***/ 4091: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -594,7 +594,7 @@ exports["default"] = CRC64; /***/ }), -/***/ 3123: +/***/ 7625: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -630,15 +630,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge Object.defineProperty(exports, "__esModule", ({ value: true })); exports.DownloadHttpClient = void 0; const fs = __importStar(__nccwpck_require__(7147)); -const core = __importStar(__nccwpck_require__(8336)); +const core = __importStar(__nccwpck_require__(4550)); const zlib = __importStar(__nccwpck_require__(9796)); -const utils_1 = __nccwpck_require__(1094); +const utils_1 = __nccwpck_require__(9520); const url_1 = __nccwpck_require__(7310); -const status_reporter_1 = __nccwpck_require__(6216); +const status_reporter_1 = __nccwpck_require__(3408); const perf_hooks_1 = __nccwpck_require__(4074); -const http_manager_1 = __nccwpck_require__(7446); -const config_variables_1 = __nccwpck_require__(2298); -const requestUtils_1 = __nccwpck_require__(7779); +const http_manager_1 = __nccwpck_require__(8632); +const config_variables_1 = __nccwpck_require__(4882); +const requestUtils_1 = __nccwpck_require__(1033); class DownloadHttpClient { constructor() { this.downloadHttpManager = new http_manager_1.HttpManager(config_variables_1.getDownloadFileConcurrency(), '@actions/artifact-download'); @@ -886,7 +886,7 @@ exports.DownloadHttpClient = DownloadHttpClient; /***/ }), -/***/ 4570: +/***/ 2330: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -967,14 +967,14 @@ exports.getDownloadSpecification = getDownloadSpecification; /***/ }), -/***/ 7446: +/***/ 8632: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.HttpManager = void 0; -const utils_1 = __nccwpck_require__(1094); +const utils_1 = __nccwpck_require__(9520); /** * Used for managing http clients during either upload or download */ @@ -1006,14 +1006,14 @@ exports.HttpManager = HttpManager; /***/ }), -/***/ 6390: +/***/ 9596: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.checkArtifactFilePath = exports.checkArtifactName = void 0; -const core_1 = __nccwpck_require__(8336); +const core_1 = __nccwpck_require__(4550); /** * Invalid characters that cannot be in the artifact name or an uploaded file. Will be rejected * from the server if attempted to be sent over. These characters are not allowed due to limitations with certain @@ -1080,7 +1080,7 @@ exports.checkArtifactFilePath = checkArtifactFilePath; /***/ }), -/***/ 7779: +/***/ 1033: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -1115,9 +1115,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.retryHttpClientRequest = exports.retry = void 0; -const utils_1 = __nccwpck_require__(1094); -const core = __importStar(__nccwpck_require__(8336)); -const config_variables_1 = __nccwpck_require__(2298); +const utils_1 = __nccwpck_require__(9520); +const core = __importStar(__nccwpck_require__(4550)); +const config_variables_1 = __nccwpck_require__(4882); function retry(name, operation, customErrorMessages, maxAttempts) { return __awaiter(this, void 0, void 0, function* () { let response = undefined; @@ -1175,14 +1175,14 @@ exports.retryHttpClientRequest = retryHttpClientRequest; /***/ }), -/***/ 6216: +/***/ 3408: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.StatusReporter = void 0; -const core_1 = __nccwpck_require__(8336); +const core_1 = __nccwpck_require__(4550); /** * Status Reporter that displays information about the progress/status of an artifact that is being uploaded or downloaded * @@ -1234,7 +1234,7 @@ exports.StatusReporter = StatusReporter; /***/ }), -/***/ 3632: +/***/ 5727: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -1362,7 +1362,7 @@ exports.createGZipFileInBuffer = createGZipFileInBuffer; /***/ }), -/***/ 8603: +/***/ 8953: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -1398,19 +1398,19 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge Object.defineProperty(exports, "__esModule", ({ value: true })); exports.UploadHttpClient = void 0; const fs = __importStar(__nccwpck_require__(7147)); -const core = __importStar(__nccwpck_require__(8336)); -const tmp = __importStar(__nccwpck_require__(1140)); +const core = __importStar(__nccwpck_require__(4550)); +const tmp = __importStar(__nccwpck_require__(4522)); const stream = __importStar(__nccwpck_require__(2781)); -const utils_1 = __nccwpck_require__(1094); -const config_variables_1 = __nccwpck_require__(2298); +const utils_1 = __nccwpck_require__(9520); +const config_variables_1 = __nccwpck_require__(4882); const util_1 = __nccwpck_require__(3837); const url_1 = __nccwpck_require__(7310); const perf_hooks_1 = __nccwpck_require__(4074); -const status_reporter_1 = __nccwpck_require__(6216); -const http_client_1 = __nccwpck_require__(998); -const http_manager_1 = __nccwpck_require__(7446); -const upload_gzip_1 = __nccwpck_require__(3632); -const requestUtils_1 = __nccwpck_require__(7779); +const status_reporter_1 = __nccwpck_require__(3408); +const http_client_1 = __nccwpck_require__(8922); +const http_manager_1 = __nccwpck_require__(8632); +const upload_gzip_1 = __nccwpck_require__(5727); +const requestUtils_1 = __nccwpck_require__(1033); const stat = util_1.promisify(fs.stat); class UploadHttpClient { constructor() { @@ -1778,7 +1778,7 @@ exports.UploadHttpClient = UploadHttpClient; /***/ }), -/***/ 9894: +/***/ 8191: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -1805,9 +1805,9 @@ var __importStar = (this && this.__importStar) || function (mod) { Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getUploadSpecification = void 0; const fs = __importStar(__nccwpck_require__(7147)); -const core_1 = __nccwpck_require__(8336); +const core_1 = __nccwpck_require__(4550); const path_1 = __nccwpck_require__(1017); -const path_and_artifact_name_validation_1 = __nccwpck_require__(6390); +const path_and_artifact_name_validation_1 = __nccwpck_require__(9596); /** * Creates a specification that describes how each file that is part of the artifact will be uploaded * @param artifactName the name of the artifact being uploaded. Used during upload to denote where the artifact is stored on the server @@ -1886,7 +1886,7 @@ exports.getUploadSpecification = getUploadSpecification; /***/ }), -/***/ 1094: +/***/ 9520: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -1907,11 +1907,11 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.digestForStream = exports.sleep = exports.getProperRetention = exports.rmFile = exports.getFileSize = exports.createEmptyFilesForArtifact = exports.createDirectoriesForArtifact = exports.displayHttpDiagnostics = exports.getArtifactUrl = exports.createHttpClient = exports.getUploadHeaders = exports.getDownloadHeaders = exports.getContentRange = exports.tryGetRetryAfterValueTimeInMilliseconds = exports.isThrottledStatusCode = exports.isRetryableStatusCode = exports.isForbiddenStatusCode = exports.isSuccessStatusCode = exports.getApiVersion = exports.parseEnvNumber = exports.getExponentialRetryTimeInMilliseconds = void 0; const crypto_1 = __importDefault(__nccwpck_require__(6113)); const fs_1 = __nccwpck_require__(7147); -const core_1 = __nccwpck_require__(8336); -const http_client_1 = __nccwpck_require__(998); -const auth_1 = __nccwpck_require__(8702); -const config_variables_1 = __nccwpck_require__(2298); -const crc64_1 = __importDefault(__nccwpck_require__(4220)); +const core_1 = __nccwpck_require__(4550); +const http_client_1 = __nccwpck_require__(8922); +const auth_1 = __nccwpck_require__(8180); +const config_variables_1 = __nccwpck_require__(4882); +const crc64_1 = __importDefault(__nccwpck_require__(4091)); /** * Returns a retry time in milliseconds that exponentially gets larger * depending on the amount of retries that have been attempted @@ -2185,7 +2185,7 @@ exports.digestForStream = digestForStream; /***/ }), -/***/ 108: +/***/ 940: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -2207,11 +2207,11 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", ({ value: true })); -const core = __importStar(__nccwpck_require__(8336)); +const core = __importStar(__nccwpck_require__(4550)); const path = __importStar(__nccwpck_require__(1017)); -const utils = __importStar(__nccwpck_require__(6049)); -const cacheHttpClient = __importStar(__nccwpck_require__(6207)); -const tar_1 = __nccwpck_require__(4473); +const utils = __importStar(__nccwpck_require__(3239)); +const cacheHttpClient = __importStar(__nccwpck_require__(785)); +const tar_1 = __nccwpck_require__(6142); class ValidationError extends Error { constructor(message) { super(message); @@ -2378,7 +2378,7 @@ exports.saveCache = saveCache; /***/ }), -/***/ 6207: +/***/ 785: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -2400,17 +2400,17 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", ({ value: true })); -const core = __importStar(__nccwpck_require__(8336)); -const http_client_1 = __nccwpck_require__(998); -const auth_1 = __nccwpck_require__(8702); +const core = __importStar(__nccwpck_require__(4550)); +const http_client_1 = __nccwpck_require__(8922); +const auth_1 = __nccwpck_require__(8180); const crypto = __importStar(__nccwpck_require__(6113)); const fs = __importStar(__nccwpck_require__(7147)); const url_1 = __nccwpck_require__(7310); -const utils = __importStar(__nccwpck_require__(6049)); -const constants_1 = __nccwpck_require__(4145); -const downloadUtils_1 = __nccwpck_require__(9350); -const options_1 = __nccwpck_require__(9414); -const requestUtils_1 = __nccwpck_require__(6150); +const utils = __importStar(__nccwpck_require__(3239)); +const constants_1 = __nccwpck_require__(7536); +const downloadUtils_1 = __nccwpck_require__(1337); +const options_1 = __nccwpck_require__(9765); +const requestUtils_1 = __nccwpck_require__(5571); const versionSalt = '1.0'; function getCacheApiUrl(resource) { const baseUrl = process.env['ACTIONS_CACHE_URL'] || ''; @@ -2598,7 +2598,7 @@ exports.saveCache = saveCache; /***/ }), -/***/ 6049: +/***/ 3239: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -2627,16 +2627,16 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", ({ value: true })); -const core = __importStar(__nccwpck_require__(8336)); -const exec = __importStar(__nccwpck_require__(6379)); -const glob = __importStar(__nccwpck_require__(4846)); -const io = __importStar(__nccwpck_require__(601)); +const core = __importStar(__nccwpck_require__(4550)); +const exec = __importStar(__nccwpck_require__(6081)); +const glob = __importStar(__nccwpck_require__(4130)); +const io = __importStar(__nccwpck_require__(4024)); const fs = __importStar(__nccwpck_require__(7147)); const path = __importStar(__nccwpck_require__(1017)); -const semver = __importStar(__nccwpck_require__(8602)); +const semver = __importStar(__nccwpck_require__(6033)); const util = __importStar(__nccwpck_require__(3837)); -const uuid_1 = __nccwpck_require__(1991); -const constants_1 = __nccwpck_require__(4145); +const uuid_1 = __nccwpck_require__(7123); +const constants_1 = __nccwpck_require__(7536); // From https://github.com/actions/toolkit/blob/main/packages/tool-cache/src/tool-cache.ts#L23 function createTempDirectory() { return __awaiter(this, void 0, void 0, function* () { @@ -2780,7 +2780,7 @@ exports.isGhes = isGhes; /***/ }), -/***/ 4145: +/***/ 7536: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -2811,7 +2811,7 @@ exports.SocketTimeout = 5000; /***/ }), -/***/ 9350: +/***/ 1337: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -2833,16 +2833,16 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", ({ value: true })); -const core = __importStar(__nccwpck_require__(8336)); -const http_client_1 = __nccwpck_require__(998); -const storage_blob_1 = __nccwpck_require__(24); +const core = __importStar(__nccwpck_require__(4550)); +const http_client_1 = __nccwpck_require__(8922); +const storage_blob_1 = __nccwpck_require__(3581); const buffer = __importStar(__nccwpck_require__(4300)); const fs = __importStar(__nccwpck_require__(7147)); const stream = __importStar(__nccwpck_require__(2781)); const util = __importStar(__nccwpck_require__(3837)); -const utils = __importStar(__nccwpck_require__(6049)); -const constants_1 = __nccwpck_require__(4145); -const requestUtils_1 = __nccwpck_require__(6150); +const utils = __importStar(__nccwpck_require__(3239)); +const constants_1 = __nccwpck_require__(7536); +const requestUtils_1 = __nccwpck_require__(5571); /** * Pipes the body of a HTTP response to a stream * @@ -3049,7 +3049,7 @@ exports.downloadCacheStorageSDK = downloadCacheStorageSDK; /***/ }), -/***/ 6150: +/***/ 5571: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -3071,9 +3071,9 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", ({ value: true })); -const core = __importStar(__nccwpck_require__(8336)); -const http_client_1 = __nccwpck_require__(998); -const constants_1 = __nccwpck_require__(4145); +const core = __importStar(__nccwpck_require__(4550)); +const http_client_1 = __nccwpck_require__(8922); +const constants_1 = __nccwpck_require__(7536); function isSuccessStatusCode(statusCode) { if (!statusCode) { return false; @@ -3176,7 +3176,7 @@ exports.retryHttpClientResponse = retryHttpClientResponse; /***/ }), -/***/ 4473: +/***/ 6142: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -3198,12 +3198,12 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", ({ value: true })); -const exec_1 = __nccwpck_require__(6379); -const io = __importStar(__nccwpck_require__(601)); +const exec_1 = __nccwpck_require__(6081); +const io = __importStar(__nccwpck_require__(4024)); const fs_1 = __nccwpck_require__(7147); const path = __importStar(__nccwpck_require__(1017)); -const utils = __importStar(__nccwpck_require__(6049)); -const constants_1 = __nccwpck_require__(4145); +const utils = __importStar(__nccwpck_require__(3239)); +const constants_1 = __nccwpck_require__(7536); function getTarPath(args, compressionMethod) { return __awaiter(this, void 0, void 0, function* () { switch (process.platform) { @@ -3347,7 +3347,7 @@ exports.listTar = listTar; /***/ }), -/***/ 9414: +/***/ 9765: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -3360,7 +3360,7 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", ({ value: true })); -const core = __importStar(__nccwpck_require__(8336)); +const core = __importStar(__nccwpck_require__(4550)); /** * Returns a copy of the upload options with defaults filled in. * @@ -3416,7 +3416,7 @@ exports.getDownloadOptions = getDownloadOptions; /***/ }), -/***/ 8183: +/***/ 5115: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -3443,7 +3443,7 @@ var __importStar = (this && this.__importStar) || function (mod) { Object.defineProperty(exports, "__esModule", ({ value: true })); exports.issue = exports.issueCommand = void 0; const os = __importStar(__nccwpck_require__(2037)); -const utils_1 = __nccwpck_require__(618); +const utils_1 = __nccwpck_require__(1520); /** * Commands * @@ -3515,7 +3515,7 @@ function escapeProperty(s) { /***/ }), -/***/ 8336: +/***/ 4550: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -3550,13 +3550,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); 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; -const command_1 = __nccwpck_require__(8183); -const file_command_1 = __nccwpck_require__(616); -const utils_1 = __nccwpck_require__(618); +const command_1 = __nccwpck_require__(5115); +const file_command_1 = __nccwpck_require__(5843); +const utils_1 = __nccwpck_require__(1520); const os = __importStar(__nccwpck_require__(2037)); const path = __importStar(__nccwpck_require__(1017)); -const uuid_1 = __nccwpck_require__(8172); -const oidc_utils_1 = __nccwpck_require__(4052); +const uuid_1 = __nccwpck_require__(1092); +const oidc_utils_1 = __nccwpck_require__(755); /** * The code to exit an action */ @@ -3841,17 +3841,17 @@ exports.getIDToken = getIDToken; /** * Summary exports */ -var summary_1 = __nccwpck_require__(4931); +var summary_1 = __nccwpck_require__(7892); Object.defineProperty(exports, "summary", ({ enumerable: true, get: function () { return summary_1.summary; } })); /** * @deprecated use core.summary */ -var summary_2 = __nccwpck_require__(4931); +var summary_2 = __nccwpck_require__(7892); Object.defineProperty(exports, "markdownSummary", ({ enumerable: true, get: function () { return summary_2.markdownSummary; } })); /** * Path exports */ -var path_utils_1 = __nccwpck_require__(62); +var path_utils_1 = __nccwpck_require__(7379); 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; } })); @@ -3859,7 +3859,7 @@ Object.defineProperty(exports, "toPlatformPath", ({ enumerable: true, get: funct /***/ }), -/***/ 616: +/***/ 5843: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -3890,7 +3890,7 @@ exports.issueCommand = void 0; /* eslint-disable @typescript-eslint/no-explicit-any */ const fs = __importStar(__nccwpck_require__(7147)); const os = __importStar(__nccwpck_require__(2037)); -const utils_1 = __nccwpck_require__(618); +const utils_1 = __nccwpck_require__(1520); function issueCommand(command, message) { const filePath = process.env[`GITHUB_${command}`]; if (!filePath) { @@ -3908,7 +3908,7 @@ exports.issueCommand = issueCommand; /***/ }), -/***/ 4052: +/***/ 755: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -3924,9 +3924,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.OidcClient = void 0; -const http_client_1 = __nccwpck_require__(998); -const auth_1 = __nccwpck_require__(8702); -const core_1 = __nccwpck_require__(8336); +const http_client_1 = __nccwpck_require__(8922); +const auth_1 = __nccwpck_require__(8180); +const core_1 = __nccwpck_require__(4550); class OidcClient { static createHttpClient(allowRetry = true, maxRetry = 10) { const requestOptions = { @@ -3992,7 +3992,7 @@ exports.OidcClient = OidcClient; /***/ }), -/***/ 62: +/***/ 7379: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -4057,7 +4057,7 @@ exports.toPlatformPath = toPlatformPath; /***/ }), -/***/ 4931: +/***/ 7892: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -4347,7 +4347,7 @@ exports.summary = _summary; /***/ }), -/***/ 618: +/***/ 1520: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -4394,7 +4394,7 @@ exports.toCommandProperties = toCommandProperties; /***/ }), -/***/ 8172: +/***/ 1092: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -4458,29 +4458,29 @@ Object.defineProperty(exports, "parse", ({ } })); -var _v = _interopRequireDefault(__nccwpck_require__(3382)); +var _v = _interopRequireDefault(__nccwpck_require__(9962)); -var _v2 = _interopRequireDefault(__nccwpck_require__(3127)); +var _v2 = _interopRequireDefault(__nccwpck_require__(175)); -var _v3 = _interopRequireDefault(__nccwpck_require__(6865)); +var _v3 = _interopRequireDefault(__nccwpck_require__(4628)); -var _v4 = _interopRequireDefault(__nccwpck_require__(7377)); +var _v4 = _interopRequireDefault(__nccwpck_require__(7506)); -var _nil = _interopRequireDefault(__nccwpck_require__(5938)); +var _nil = _interopRequireDefault(__nccwpck_require__(8354)); -var _version = _interopRequireDefault(__nccwpck_require__(5064)); +var _version = _interopRequireDefault(__nccwpck_require__(7781)); -var _validate = _interopRequireDefault(__nccwpck_require__(7327)); +var _validate = _interopRequireDefault(__nccwpck_require__(9433)); -var _stringify = _interopRequireDefault(__nccwpck_require__(3205)); +var _stringify = _interopRequireDefault(__nccwpck_require__(9338)); -var _parse = _interopRequireDefault(__nccwpck_require__(1490)); +var _parse = _interopRequireDefault(__nccwpck_require__(5896)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /***/ }), -/***/ 3163: +/***/ 7489: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -4510,7 +4510,7 @@ exports["default"] = _default; /***/ }), -/***/ 5938: +/***/ 8354: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -4525,7 +4525,7 @@ exports["default"] = _default; /***/ }), -/***/ 1490: +/***/ 5896: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -4536,7 +4536,7 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _validate = _interopRequireDefault(__nccwpck_require__(7327)); +var _validate = _interopRequireDefault(__nccwpck_require__(9433)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -4577,7 +4577,7 @@ exports["default"] = _default; /***/ }), -/***/ 2754: +/***/ 1818: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -4592,7 +4592,7 @@ exports["default"] = _default; /***/ }), -/***/ 523: +/***/ 8707: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -4623,7 +4623,7 @@ function rng() { /***/ }), -/***/ 7389: +/***/ 1207: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -4653,7 +4653,7 @@ exports["default"] = _default; /***/ }), -/***/ 3205: +/***/ 9338: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -4664,7 +4664,7 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _validate = _interopRequireDefault(__nccwpck_require__(7327)); +var _validate = _interopRequireDefault(__nccwpck_require__(9433)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -4699,7 +4699,7 @@ exports["default"] = _default; /***/ }), -/***/ 3382: +/***/ 9962: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -4710,9 +4710,9 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _rng = _interopRequireDefault(__nccwpck_require__(523)); +var _rng = _interopRequireDefault(__nccwpck_require__(8707)); -var _stringify = _interopRequireDefault(__nccwpck_require__(3205)); +var _stringify = _interopRequireDefault(__nccwpck_require__(9338)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -4813,7 +4813,7 @@ exports["default"] = _default; /***/ }), -/***/ 3127: +/***/ 175: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -4824,9 +4824,9 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _v = _interopRequireDefault(__nccwpck_require__(448)); +var _v = _interopRequireDefault(__nccwpck_require__(7049)); -var _md = _interopRequireDefault(__nccwpck_require__(3163)); +var _md = _interopRequireDefault(__nccwpck_require__(7489)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -4836,7 +4836,7 @@ exports["default"] = _default; /***/ }), -/***/ 448: +/***/ 7049: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -4848,9 +4848,9 @@ Object.defineProperty(exports, "__esModule", ({ exports["default"] = _default; exports.URL = exports.DNS = void 0; -var _stringify = _interopRequireDefault(__nccwpck_require__(3205)); +var _stringify = _interopRequireDefault(__nccwpck_require__(9338)); -var _parse = _interopRequireDefault(__nccwpck_require__(1490)); +var _parse = _interopRequireDefault(__nccwpck_require__(5896)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -4921,7 +4921,7 @@ function _default(name, version, hashfunc) { /***/ }), -/***/ 6865: +/***/ 4628: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -4932,9 +4932,9 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _rng = _interopRequireDefault(__nccwpck_require__(523)); +var _rng = _interopRequireDefault(__nccwpck_require__(8707)); -var _stringify = _interopRequireDefault(__nccwpck_require__(3205)); +var _stringify = _interopRequireDefault(__nccwpck_require__(9338)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -4965,7 +4965,7 @@ exports["default"] = _default; /***/ }), -/***/ 7377: +/***/ 7506: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -4976,9 +4976,9 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _v = _interopRequireDefault(__nccwpck_require__(448)); +var _v = _interopRequireDefault(__nccwpck_require__(7049)); -var _sha = _interopRequireDefault(__nccwpck_require__(7389)); +var _sha = _interopRequireDefault(__nccwpck_require__(1207)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -4988,7 +4988,7 @@ exports["default"] = _default; /***/ }), -/***/ 7327: +/***/ 9433: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -4999,7 +4999,7 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _regex = _interopRequireDefault(__nccwpck_require__(2754)); +var _regex = _interopRequireDefault(__nccwpck_require__(1818)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -5012,7 +5012,7 @@ exports["default"] = _default; /***/ }), -/***/ 5064: +/***/ 7781: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -5023,7 +5023,7 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _validate = _interopRequireDefault(__nccwpck_require__(7327)); +var _validate = _interopRequireDefault(__nccwpck_require__(9433)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -5040,7 +5040,7 @@ exports["default"] = _default; /***/ }), -/***/ 6379: +/***/ 6081: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -5076,7 +5076,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getExecOutput = exports.exec = void 0; const string_decoder_1 = __nccwpck_require__(1576); -const tr = __importStar(__nccwpck_require__(8429)); +const tr = __importStar(__nccwpck_require__(74)); /** * Exec a command. * Output will be streamed to the live console. @@ -5150,7 +5150,7 @@ exports.getExecOutput = getExecOutput; /***/ }), -/***/ 8429: +/***/ 74: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -5189,8 +5189,8 @@ const os = __importStar(__nccwpck_require__(2037)); const events = __importStar(__nccwpck_require__(2361)); const child = __importStar(__nccwpck_require__(2081)); const path = __importStar(__nccwpck_require__(1017)); -const io = __importStar(__nccwpck_require__(601)); -const ioUtil = __importStar(__nccwpck_require__(2023)); +const io = __importStar(__nccwpck_require__(4024)); +const ioUtil = __importStar(__nccwpck_require__(8722)); const timers_1 = __nccwpck_require__(9512); /* eslint-disable @typescript-eslint/unbound-method */ const IS_WINDOWS = process.platform === 'win32'; @@ -5775,7 +5775,7 @@ class ExecState extends events.EventEmitter { /***/ }), -/***/ 4846: +/***/ 4130: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -5791,7 +5791,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.create = void 0; -const internal_globber_1 = __nccwpck_require__(9140); +const internal_globber_1 = __nccwpck_require__(3896); /** * Constructs a globber * @@ -5808,7 +5808,7 @@ exports.create = create; /***/ }), -/***/ 712: +/***/ 6771: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -5834,7 +5834,7 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getOptions = void 0; -const core = __importStar(__nccwpck_require__(8336)); +const core = __importStar(__nccwpck_require__(4550)); /** * Returns a copy with defaults filled in. */ @@ -5865,7 +5865,7 @@ exports.getOptions = getOptions; /***/ }), -/***/ 9140: +/***/ 3896: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -5919,14 +5919,14 @@ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _ar }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.DefaultGlobber = void 0; -const core = __importStar(__nccwpck_require__(8336)); +const core = __importStar(__nccwpck_require__(4550)); const fs = __importStar(__nccwpck_require__(7147)); -const globOptionsHelper = __importStar(__nccwpck_require__(712)); +const globOptionsHelper = __importStar(__nccwpck_require__(6771)); const path = __importStar(__nccwpck_require__(1017)); -const patternHelper = __importStar(__nccwpck_require__(6691)); -const internal_match_kind_1 = __nccwpck_require__(8049); -const internal_pattern_1 = __nccwpck_require__(8133); -const internal_search_state_1 = __nccwpck_require__(4510); +const patternHelper = __importStar(__nccwpck_require__(8147)); +const internal_match_kind_1 = __nccwpck_require__(1840); +const internal_pattern_1 = __nccwpck_require__(8352); +const internal_search_state_1 = __nccwpck_require__(7751); const IS_WINDOWS = process.platform === 'win32'; class DefaultGlobber { constructor(options) { @@ -6107,7 +6107,7 @@ exports.DefaultGlobber = DefaultGlobber; /***/ }), -/***/ 8049: +/***/ 1840: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -6132,7 +6132,7 @@ var MatchKind; /***/ }), -/***/ 6829: +/***/ 1030: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -6337,7 +6337,7 @@ exports.safeTrimTrailingSeparator = safeTrimTrailingSeparator; /***/ }), -/***/ 5108: +/***/ 6692: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -6367,7 +6367,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { Object.defineProperty(exports, "__esModule", ({ value: true })); exports.Path = void 0; const path = __importStar(__nccwpck_require__(1017)); -const pathHelper = __importStar(__nccwpck_require__(6829)); +const pathHelper = __importStar(__nccwpck_require__(1030)); const assert_1 = __importDefault(__nccwpck_require__(9491)); const IS_WINDOWS = process.platform === 'win32'; /** @@ -6457,7 +6457,7 @@ exports.Path = Path; /***/ }), -/***/ 6691: +/***/ 8147: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -6483,8 +6483,8 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.partialMatch = exports.match = exports.getSearchPaths = void 0; -const pathHelper = __importStar(__nccwpck_require__(6829)); -const internal_match_kind_1 = __nccwpck_require__(8049); +const pathHelper = __importStar(__nccwpck_require__(1030)); +const internal_match_kind_1 = __nccwpck_require__(1840); const IS_WINDOWS = process.platform === 'win32'; /** * Given an array of patterns, returns an array of paths to search. @@ -6558,7 +6558,7 @@ exports.partialMatch = partialMatch; /***/ }), -/***/ 8133: +/***/ 8352: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -6589,11 +6589,11 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.Pattern = void 0; const os = __importStar(__nccwpck_require__(2037)); const path = __importStar(__nccwpck_require__(1017)); -const pathHelper = __importStar(__nccwpck_require__(6829)); +const pathHelper = __importStar(__nccwpck_require__(1030)); const assert_1 = __importDefault(__nccwpck_require__(9491)); -const minimatch_1 = __nccwpck_require__(2784); -const internal_match_kind_1 = __nccwpck_require__(8049); -const internal_path_1 = __nccwpck_require__(5108); +const minimatch_1 = __nccwpck_require__(7935); +const internal_match_kind_1 = __nccwpck_require__(1840); +const internal_path_1 = __nccwpck_require__(6692); const IS_WINDOWS = process.platform === 'win32'; class Pattern { constructor(patternOrNegate, isImplicitPattern = false, segments, homedir) { @@ -6820,7 +6820,7 @@ exports.Pattern = Pattern; /***/ }), -/***/ 4510: +/***/ 7751: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -6838,7 +6838,7 @@ exports.SearchState = SearchState; /***/ }), -/***/ 8702: +/***/ 8180: /***/ (function(__unused_webpack_module, exports) { "use strict"; @@ -6926,7 +6926,7 @@ exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHand /***/ }), -/***/ 998: +/***/ 8922: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -6964,8 +6964,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.HttpClient = exports.isHttps = exports.HttpClientResponse = exports.HttpClientError = exports.getProxyUrl = exports.MediaTypes = exports.Headers = exports.HttpCodes = void 0; const http = __importStar(__nccwpck_require__(3685)); const https = __importStar(__nccwpck_require__(5687)); -const pm = __importStar(__nccwpck_require__(5061)); -const tunnel = __importStar(__nccwpck_require__(2579)); +const pm = __importStar(__nccwpck_require__(7055)); +const tunnel = __importStar(__nccwpck_require__(4359)); var HttpCodes; (function (HttpCodes) { HttpCodes[HttpCodes["OK"] = 200] = "OK"; @@ -7538,7 +7538,7 @@ const lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCa /***/ }), -/***/ 5061: +/***/ 7055: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -7606,7 +7606,7 @@ exports.checkBypass = checkBypass; /***/ }), -/***/ 2023: +/***/ 8722: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -7790,7 +7790,7 @@ exports.getCmdPath = getCmdPath; /***/ }), -/***/ 601: +/***/ 4024: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -7829,7 +7829,7 @@ const assert_1 = __nccwpck_require__(9491); const childProcess = __importStar(__nccwpck_require__(2081)); const path = __importStar(__nccwpck_require__(1017)); const util_1 = __nccwpck_require__(3837); -const ioUtil = __importStar(__nccwpck_require__(2023)); +const ioUtil = __importStar(__nccwpck_require__(8722)); const exec = util_1.promisify(childProcess.exec); const execFile = util_1.promisify(childProcess.execFile); /** @@ -8138,7 +8138,7 @@ function copyFile(srcFile, destFile, force) { /***/ }), -/***/ 9376: +/***/ 309: /***/ (function(module, exports, __nccwpck_require__) { "use strict"; @@ -8173,8 +8173,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports._readLinuxVersionFile = exports._getOsVersion = exports._findMatch = void 0; -const semver = __importStar(__nccwpck_require__(8602)); -const core_1 = __nccwpck_require__(8336); +const semver = __importStar(__nccwpck_require__(6033)); +const core_1 = __nccwpck_require__(4550); // needs to be require for core node modules to be mocked /* eslint @typescript-eslint/no-require-imports: 0 */ const os = __nccwpck_require__(2037); @@ -8273,7 +8273,7 @@ exports._readLinuxVersionFile = _readLinuxVersionFile; /***/ }), -/***/ 7666: +/***/ 1833: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -8308,7 +8308,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.RetryHelper = void 0; -const core = __importStar(__nccwpck_require__(8336)); +const core = __importStar(__nccwpck_require__(4550)); /** * Internal class for retries */ @@ -8363,7 +8363,7 @@ exports.RetryHelper = RetryHelper; /***/ }), -/***/ 3795: +/***/ 638: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -8401,20 +8401,20 @@ var __importDefault = (this && this.__importDefault) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.evaluateVersions = exports.isExplicitVersion = exports.findFromManifest = exports.getManifestFromRepo = exports.findAllVersions = exports.find = exports.cacheFile = exports.cacheDir = exports.extractZip = exports.extractXar = exports.extractTar = exports.extract7z = exports.downloadTool = exports.HTTPError = void 0; -const core = __importStar(__nccwpck_require__(8336)); -const io = __importStar(__nccwpck_require__(601)); +const core = __importStar(__nccwpck_require__(4550)); +const io = __importStar(__nccwpck_require__(4024)); const fs = __importStar(__nccwpck_require__(7147)); -const mm = __importStar(__nccwpck_require__(9376)); +const mm = __importStar(__nccwpck_require__(309)); const os = __importStar(__nccwpck_require__(2037)); const path = __importStar(__nccwpck_require__(1017)); -const httpm = __importStar(__nccwpck_require__(4397)); -const semver = __importStar(__nccwpck_require__(8602)); +const httpm = __importStar(__nccwpck_require__(5586)); +const semver = __importStar(__nccwpck_require__(6033)); const stream = __importStar(__nccwpck_require__(2781)); const util = __importStar(__nccwpck_require__(3837)); -const v4_1 = __importDefault(__nccwpck_require__(8720)); -const exec_1 = __nccwpck_require__(6379); +const v4_1 = __importDefault(__nccwpck_require__(6471)); +const exec_1 = __nccwpck_require__(6081); const assert_1 = __nccwpck_require__(9491); -const retry_helper_1 = __nccwpck_require__(7666); +const retry_helper_1 = __nccwpck_require__(1833); class HTTPError extends Error { constructor(httpStatusCode) { super(`Unexpected HTTP response: ${httpStatusCode}`); @@ -9035,7 +9035,7 @@ function _unique(values) { /***/ }), -/***/ 4397: +/***/ 5586: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -9043,7 +9043,7 @@ function _unique(values) { Object.defineProperty(exports, "__esModule", ({ value: true })); const http = __nccwpck_require__(3685); const https = __nccwpck_require__(5687); -const pm = __nccwpck_require__(798); +const pm = __nccwpck_require__(7763); let tunnel; var HttpCodes; (function (HttpCodes) { @@ -9462,7 +9462,7 @@ class HttpClient { if (useProxy) { // If using proxy, need tunnel if (!tunnel) { - tunnel = __nccwpck_require__(2579); + tunnel = __nccwpck_require__(4359); } const agentOptions = { maxSockets: maxSockets, @@ -9580,7 +9580,7 @@ exports.HttpClient = HttpClient; /***/ }), -/***/ 798: +/***/ 7763: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -9645,7 +9645,7 @@ exports.checkBypass = checkBypass; /***/ }), -/***/ 5553: +/***/ 2938: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -9892,7 +9892,7 @@ exports.AbortSignal = AbortSignal; /***/ }), -/***/ 3979: +/***/ 2855: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -10115,7 +10115,7 @@ exports.isTokenCredential = isTokenCredential; /***/ }), -/***/ 4050: +/***/ 231: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -10123,22 +10123,22 @@ exports.isTokenCredential = isTokenCredential; Object.defineProperty(exports, "__esModule", ({ value: true })); -var uuid = __nccwpck_require__(7300); +var uuid = __nccwpck_require__(4391); var util = __nccwpck_require__(3837); -var tslib = __nccwpck_require__(2955); -var xml2js = __nccwpck_require__(1829); -var abortController = __nccwpck_require__(5553); -var logger$1 = __nccwpck_require__(2282); -var coreAuth = __nccwpck_require__(3979); +var tslib = __nccwpck_require__(9807); +var xml2js = __nccwpck_require__(3346); +var abortController = __nccwpck_require__(2938); +var logger$1 = __nccwpck_require__(727); +var coreAuth = __nccwpck_require__(2855); var os = __nccwpck_require__(2037); var http = __nccwpck_require__(3685); var https = __nccwpck_require__(5687); -var tough = __nccwpck_require__(4390); -var tunnel = __nccwpck_require__(2579); +var tough = __nccwpck_require__(8196); +var tunnel = __nccwpck_require__(4359); var stream = __nccwpck_require__(2781); -var FormData = __nccwpck_require__(4688); -var node_fetch = __nccwpck_require__(271); -var coreTracing = __nccwpck_require__(1780); +var FormData = __nccwpck_require__(3747); +var node_fetch = __nccwpck_require__(8975); +var coreTracing = __nccwpck_require__(9985); function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } @@ -15659,10 +15659,10 @@ exports.userAgentPolicy = userAgentPolicy; /***/ }), -/***/ 4688: +/***/ 3747: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var CombinedStream = __nccwpck_require__(559); +var CombinedStream = __nccwpck_require__(1448); var util = __nccwpck_require__(3837); var path = __nccwpck_require__(1017); var http = __nccwpck_require__(3685); @@ -15670,9 +15670,9 @@ var https = __nccwpck_require__(5687); var parseUrl = (__nccwpck_require__(7310).parse); var fs = __nccwpck_require__(7147); var Stream = (__nccwpck_require__(2781).Stream); -var mime = __nccwpck_require__(3807); -var asynckit = __nccwpck_require__(2187); -var populate = __nccwpck_require__(202); +var mime = __nccwpck_require__(16); +var asynckit = __nccwpck_require__(8915); +var populate = __nccwpck_require__(7276); // Public API module.exports = FormData; @@ -16167,7 +16167,7 @@ FormData.prototype.toString = function () { /***/ }), -/***/ 202: +/***/ 7276: /***/ ((module) => { // populates missing values @@ -16184,7 +16184,7 @@ module.exports = function(dst, src) { /***/ }), -/***/ 4390: +/***/ 8196: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -16222,12 +16222,12 @@ module.exports = function(dst, src) { const punycode = __nccwpck_require__(5477); const urlParse = (__nccwpck_require__(7310).parse); const util = __nccwpck_require__(3837); -const pubsuffix = __nccwpck_require__(6898); -const Store = (__nccwpck_require__(6994)/* .Store */ .y); -const MemoryCookieStore = (__nccwpck_require__(859)/* .MemoryCookieStore */ .m); -const pathMatch = (__nccwpck_require__(2172)/* .pathMatch */ .U); -const VERSION = __nccwpck_require__(7601); -const { fromCallback } = __nccwpck_require__(5398); +const pubsuffix = __nccwpck_require__(9113); +const Store = (__nccwpck_require__(9794)/* .Store */ .y); +const MemoryCookieStore = (__nccwpck_require__(5957)/* .MemoryCookieStore */ .m); +const pathMatch = (__nccwpck_require__(3722)/* .pathMatch */ .U); +const VERSION = __nccwpck_require__(8498); +const { fromCallback } = __nccwpck_require__(8236); // From RFC6265 S4.1.1 // note that it excludes \x3B ";" @@ -17855,7 +17855,7 @@ exports.defaultPath = defaultPath; exports.pathMatch = pathMatch; exports.getPublicSuffix = pubsuffix.getPublicSuffix; exports.cookieCompare = cookieCompare; -exports.permuteDomain = __nccwpck_require__(223).permuteDomain; +exports.permuteDomain = __nccwpck_require__(2354).permuteDomain; exports.permutePath = permutePath; exports.canonicalDomain = canonicalDomain; exports.PrefixSecurityEnum = PrefixSecurityEnum; @@ -17863,7 +17863,7 @@ exports.PrefixSecurityEnum = PrefixSecurityEnum; /***/ }), -/***/ 859: +/***/ 5957: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -17898,10 +17898,10 @@ exports.PrefixSecurityEnum = PrefixSecurityEnum; * POSSIBILITY OF SUCH DAMAGE. */ -const { fromCallback } = __nccwpck_require__(5398); -const Store = (__nccwpck_require__(6994)/* .Store */ .y); -const permuteDomain = (__nccwpck_require__(223).permuteDomain); -const pathMatch = (__nccwpck_require__(2172)/* .pathMatch */ .U); +const { fromCallback } = __nccwpck_require__(8236); +const Store = (__nccwpck_require__(9794)/* .Store */ .y); +const permuteDomain = (__nccwpck_require__(2354).permuteDomain); +const pathMatch = (__nccwpck_require__(3722)/* .pathMatch */ .U); const util = __nccwpck_require__(3837); class MemoryCookieStore extends Store { @@ -18061,7 +18061,7 @@ exports.m = MemoryCookieStore; /***/ }), -/***/ 2172: +/***/ 3722: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -18130,7 +18130,7 @@ exports.U = pathMatch; /***/ }), -/***/ 223: +/***/ 2354: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -18165,7 +18165,7 @@ exports.U = pathMatch; * POSSIBILITY OF SUCH DAMAGE. */ -const pubsuffix = __nccwpck_require__(6898); +const pubsuffix = __nccwpck_require__(9113); // Gives the permutation of all possible domainMatch()es of a given domain. The // array is in shortest-to-longest order. Handy for indexing. @@ -18208,7 +18208,7 @@ exports.permuteDomain = permuteDomain; /***/ }), -/***/ 6898: +/***/ 9113: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -18243,7 +18243,7 @@ exports.permuteDomain = permuteDomain; * POSSIBILITY OF SUCH DAMAGE. */ -const psl = __nccwpck_require__(6177); +const psl = __nccwpck_require__(5753); function getPublicSuffix(domain) { return psl.get(domain); @@ -18254,7 +18254,7 @@ exports.getPublicSuffix = getPublicSuffix; /***/ }), -/***/ 6994: +/***/ 9794: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -18338,7 +18338,7 @@ exports.y = Store; /***/ }), -/***/ 7601: +/***/ 8498: /***/ ((module) => { // generated by genversion @@ -18347,7 +18347,7 @@ module.exports = '4.0.0' /***/ }), -/***/ 2955: +/***/ 9807: /***/ ((module) => { /****************************************************************************** @@ -18671,7 +18671,7 @@ var __createBinding; /***/ }), -/***/ 7300: +/***/ 4391: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -18735,29 +18735,29 @@ Object.defineProperty(exports, "parse", ({ } })); -var _v = _interopRequireDefault(__nccwpck_require__(2090)); +var _v = _interopRequireDefault(__nccwpck_require__(8153)); -var _v2 = _interopRequireDefault(__nccwpck_require__(9380)); +var _v2 = _interopRequireDefault(__nccwpck_require__(3834)); -var _v3 = _interopRequireDefault(__nccwpck_require__(7485)); +var _v3 = _interopRequireDefault(__nccwpck_require__(6368)); -var _v4 = _interopRequireDefault(__nccwpck_require__(4961)); +var _v4 = _interopRequireDefault(__nccwpck_require__(1988)); -var _nil = _interopRequireDefault(__nccwpck_require__(9664)); +var _nil = _interopRequireDefault(__nccwpck_require__(6765)); -var _version = _interopRequireDefault(__nccwpck_require__(3792)); +var _version = _interopRequireDefault(__nccwpck_require__(3551)); -var _validate = _interopRequireDefault(__nccwpck_require__(1742)); +var _validate = _interopRequireDefault(__nccwpck_require__(2395)); -var _stringify = _interopRequireDefault(__nccwpck_require__(310)); +var _stringify = _interopRequireDefault(__nccwpck_require__(5975)); -var _parse = _interopRequireDefault(__nccwpck_require__(7811)); +var _parse = _interopRequireDefault(__nccwpck_require__(8588)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /***/ }), -/***/ 6974: +/***/ 6285: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -18787,7 +18787,7 @@ exports["default"] = _default; /***/ }), -/***/ 9664: +/***/ 6765: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -18802,7 +18802,7 @@ exports["default"] = _default; /***/ }), -/***/ 7811: +/***/ 8588: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -18813,7 +18813,7 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _validate = _interopRequireDefault(__nccwpck_require__(1742)); +var _validate = _interopRequireDefault(__nccwpck_require__(2395)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -18854,7 +18854,7 @@ exports["default"] = _default; /***/ }), -/***/ 1418: +/***/ 9013: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -18869,7 +18869,7 @@ exports["default"] = _default; /***/ }), -/***/ 1323: +/***/ 6356: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -18900,7 +18900,7 @@ function rng() { /***/ }), -/***/ 2979: +/***/ 6232: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -18930,7 +18930,7 @@ exports["default"] = _default; /***/ }), -/***/ 310: +/***/ 5975: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -18941,7 +18941,7 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _validate = _interopRequireDefault(__nccwpck_require__(1742)); +var _validate = _interopRequireDefault(__nccwpck_require__(2395)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -18976,7 +18976,7 @@ exports["default"] = _default; /***/ }), -/***/ 2090: +/***/ 8153: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -18987,9 +18987,9 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _rng = _interopRequireDefault(__nccwpck_require__(1323)); +var _rng = _interopRequireDefault(__nccwpck_require__(6356)); -var _stringify = _interopRequireDefault(__nccwpck_require__(310)); +var _stringify = _interopRequireDefault(__nccwpck_require__(5975)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -19090,7 +19090,7 @@ exports["default"] = _default; /***/ }), -/***/ 9380: +/***/ 3834: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -19101,9 +19101,9 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _v = _interopRequireDefault(__nccwpck_require__(4109)); +var _v = _interopRequireDefault(__nccwpck_require__(6947)); -var _md = _interopRequireDefault(__nccwpck_require__(6974)); +var _md = _interopRequireDefault(__nccwpck_require__(6285)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -19113,7 +19113,7 @@ exports["default"] = _default; /***/ }), -/***/ 4109: +/***/ 6947: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -19125,9 +19125,9 @@ Object.defineProperty(exports, "__esModule", ({ exports["default"] = _default; exports.URL = exports.DNS = void 0; -var _stringify = _interopRequireDefault(__nccwpck_require__(310)); +var _stringify = _interopRequireDefault(__nccwpck_require__(5975)); -var _parse = _interopRequireDefault(__nccwpck_require__(7811)); +var _parse = _interopRequireDefault(__nccwpck_require__(8588)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -19198,7 +19198,7 @@ function _default(name, version, hashfunc) { /***/ }), -/***/ 7485: +/***/ 6368: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -19209,9 +19209,9 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _rng = _interopRequireDefault(__nccwpck_require__(1323)); +var _rng = _interopRequireDefault(__nccwpck_require__(6356)); -var _stringify = _interopRequireDefault(__nccwpck_require__(310)); +var _stringify = _interopRequireDefault(__nccwpck_require__(5975)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -19242,7 +19242,7 @@ exports["default"] = _default; /***/ }), -/***/ 4961: +/***/ 1988: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -19253,9 +19253,9 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _v = _interopRequireDefault(__nccwpck_require__(4109)); +var _v = _interopRequireDefault(__nccwpck_require__(6947)); -var _sha = _interopRequireDefault(__nccwpck_require__(2979)); +var _sha = _interopRequireDefault(__nccwpck_require__(6232)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -19265,7 +19265,7 @@ exports["default"] = _default; /***/ }), -/***/ 1742: +/***/ 2395: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -19276,7 +19276,7 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _regex = _interopRequireDefault(__nccwpck_require__(1418)); +var _regex = _interopRequireDefault(__nccwpck_require__(9013)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -19289,7 +19289,7 @@ exports["default"] = _default; /***/ }), -/***/ 3792: +/***/ 3551: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -19300,7 +19300,7 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _validate = _interopRequireDefault(__nccwpck_require__(1742)); +var _validate = _interopRequireDefault(__nccwpck_require__(2395)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -19317,7 +19317,7 @@ exports["default"] = _default; /***/ }), -/***/ 9763: +/***/ 7646: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -19325,7 +19325,7 @@ exports["default"] = _default; Object.defineProperty(exports, "__esModule", ({ value: true })); -var logger$1 = __nccwpck_require__(2282); +var logger$1 = __nccwpck_require__(727); // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. @@ -20076,7 +20076,7 @@ exports.PollerStoppedError = PollerStoppedError; /***/ }), -/***/ 2970: +/***/ 1604: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -20084,7 +20084,7 @@ exports.PollerStoppedError = PollerStoppedError; Object.defineProperty(exports, "__esModule", ({ value: true })); -var tslib = __nccwpck_require__(8579); +var tslib = __nccwpck_require__(9769); // Copyright (c) Microsoft Corporation. /** @@ -20162,7 +20162,7 @@ exports.getPagedAsyncIterator = getPagedAsyncIterator; /***/ }), -/***/ 8579: +/***/ 9769: /***/ ((module) => { /****************************************************************************** @@ -20486,7 +20486,7 @@ var __createBinding; /***/ }), -/***/ 1780: +/***/ 9985: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -20494,7 +20494,7 @@ var __createBinding; Object.defineProperty(exports, "__esModule", ({ value: true })); -var api = __nccwpck_require__(2218); +var api = __nccwpck_require__(5192); // Copyright (c) Microsoft Corporation. (function (SpanKind) { @@ -20713,7 +20713,7 @@ exports.setSpanContext = setSpanContext; /***/ }), -/***/ 2282: +/***/ 727: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -20931,7 +20931,7 @@ exports.setLogLevel = setLogLevel; /***/ }), -/***/ 24: +/***/ 3581: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -20939,16 +20939,16 @@ exports.setLogLevel = setLogLevel; Object.defineProperty(exports, "__esModule", ({ value: true })); -var coreHttp = __nccwpck_require__(4050); -var tslib = __nccwpck_require__(6470); -var coreTracing = __nccwpck_require__(1780); -var logger$1 = __nccwpck_require__(2282); -var abortController = __nccwpck_require__(5553); +var coreHttp = __nccwpck_require__(231); +var tslib = __nccwpck_require__(6257); +var coreTracing = __nccwpck_require__(9985); +var logger$1 = __nccwpck_require__(727); +var abortController = __nccwpck_require__(2938); var os = __nccwpck_require__(2037); var crypto = __nccwpck_require__(6113); var stream = __nccwpck_require__(2781); -__nccwpck_require__(2970); -var coreLro = __nccwpck_require__(9763); +__nccwpck_require__(1604); +var coreLro = __nccwpck_require__(7646); var events = __nccwpck_require__(2361); var fs = __nccwpck_require__(7147); var util = __nccwpck_require__(3837); @@ -46278,7 +46278,7 @@ exports.newPipeline = newPipeline; /***/ }), -/***/ 6470: +/***/ 6257: /***/ ((module) => { /****************************************************************************** @@ -46602,7 +46602,7 @@ var __createBinding; /***/ }), -/***/ 156: +/***/ 5600: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -46665,7 +46665,7 @@ exports.createTokenAuth = createTokenAuth; /***/ }), -/***/ 2665: +/***/ 3766: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -46673,11 +46673,11 @@ exports.createTokenAuth = createTokenAuth; Object.defineProperty(exports, "__esModule", ({ value: true })); -var universalUserAgent = __nccwpck_require__(4883); -var beforeAfterHook = __nccwpck_require__(8390); -var request = __nccwpck_require__(1030); -var graphql = __nccwpck_require__(3999); -var authToken = __nccwpck_require__(156); +var universalUserAgent = __nccwpck_require__(7727); +var beforeAfterHook = __nccwpck_require__(8955); +var request = __nccwpck_require__(8043); +var graphql = __nccwpck_require__(222); +var authToken = __nccwpck_require__(5600); function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; @@ -46849,7 +46849,7 @@ exports.Octokit = Octokit; /***/ }), -/***/ 8545: +/***/ 9642: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -46857,8 +46857,8 @@ exports.Octokit = Octokit; Object.defineProperty(exports, "__esModule", ({ value: true })); -var isPlainObject = __nccwpck_require__(1397); -var universalUserAgent = __nccwpck_require__(4883); +var isPlainObject = __nccwpck_require__(2945); +var universalUserAgent = __nccwpck_require__(7727); function lowercaseKeys(object) { if (!object) { @@ -47247,7 +47247,7 @@ exports.endpoint = endpoint; /***/ }), -/***/ 3999: +/***/ 222: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -47255,8 +47255,8 @@ exports.endpoint = endpoint; Object.defineProperty(exports, "__esModule", ({ value: true })); -var request = __nccwpck_require__(1030); -var universalUserAgent = __nccwpck_require__(4883); +var request = __nccwpck_require__(8043); +var universalUserAgent = __nccwpck_require__(7727); const VERSION = "4.8.0"; @@ -47373,7 +47373,7 @@ exports.withCustomRequest = withCustomRequest; /***/ }), -/***/ 3951: +/***/ 2465: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -47598,7 +47598,7 @@ exports.paginatingEndpoints = paginatingEndpoints; /***/ }), -/***/ 7800: +/***/ 8806: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -47636,7 +47636,7 @@ exports.requestLog = requestLog; /***/ }), -/***/ 2624: +/***/ 1155: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -48669,7 +48669,7 @@ exports.restEndpointMethods = restEndpointMethods; /***/ }), -/***/ 1447: +/***/ 6972: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -48679,8 +48679,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } -var deprecation = __nccwpck_require__(7593); -var once = _interopDefault(__nccwpck_require__(2810)); +var deprecation = __nccwpck_require__(9184); +var once = _interopDefault(__nccwpck_require__(966)); const logOnceCode = once(deprecation => console.warn(deprecation)); const logOnceHeaders = once(deprecation => console.warn(deprecation)); @@ -48751,7 +48751,7 @@ exports.RequestError = RequestError; /***/ }), -/***/ 1030: +/***/ 8043: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -48761,11 +48761,11 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } -var endpoint = __nccwpck_require__(8545); -var universalUserAgent = __nccwpck_require__(4883); -var isPlainObject = __nccwpck_require__(1397); -var nodeFetch = _interopDefault(__nccwpck_require__(271)); -var requestError = __nccwpck_require__(1447); +var endpoint = __nccwpck_require__(9642); +var universalUserAgent = __nccwpck_require__(7727); +var isPlainObject = __nccwpck_require__(2945); +var nodeFetch = _interopDefault(__nccwpck_require__(8975)); +var requestError = __nccwpck_require__(6972); const VERSION = "5.6.3"; @@ -48936,7 +48936,7 @@ exports.request = request; /***/ }), -/***/ 1463: +/***/ 7321: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -48944,10 +48944,10 @@ exports.request = request; Object.defineProperty(exports, "__esModule", ({ value: true })); -var core = __nccwpck_require__(2665); -var pluginRequestLog = __nccwpck_require__(7800); -var pluginPaginateRest = __nccwpck_require__(3951); -var pluginRestEndpointMethods = __nccwpck_require__(2624); +var core = __nccwpck_require__(3766); +var pluginRequestLog = __nccwpck_require__(8806); +var pluginPaginateRest = __nccwpck_require__(2465); +var pluginRestEndpointMethods = __nccwpck_require__(1155); const VERSION = "18.12.0"; @@ -48961,7 +48961,7 @@ exports.Octokit = Octokit; /***/ }), -/***/ 4545: +/***/ 2551: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -48988,9 +48988,9 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.ContextAPI = void 0; -var NoopContextManager_1 = __nccwpck_require__(1190); -var global_utils_1 = __nccwpck_require__(2195); -var diag_1 = __nccwpck_require__(4755); +var NoopContextManager_1 = __nccwpck_require__(5585); +var global_utils_1 = __nccwpck_require__(5619); +var diag_1 = __nccwpck_require__(6132); var API_NAME = 'context'; var NOOP_CONTEXT_MANAGER = new NoopContextManager_1.NoopContextManager(); /** @@ -49061,7 +49061,7 @@ exports.ContextAPI = ContextAPI; /***/ }), -/***/ 4755: +/***/ 6132: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -49083,10 +49083,10 @@ exports.ContextAPI = ContextAPI; */ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.DiagAPI = void 0; -var ComponentLogger_1 = __nccwpck_require__(652); -var logLevelLogger_1 = __nccwpck_require__(2722); -var types_1 = __nccwpck_require__(3113); -var global_utils_1 = __nccwpck_require__(2195); +var ComponentLogger_1 = __nccwpck_require__(8454); +var logLevelLogger_1 = __nccwpck_require__(1152); +var types_1 = __nccwpck_require__(6748); +var global_utils_1 = __nccwpck_require__(5619); var API_NAME = 'diag'; /** * Singleton object which represents the entry point to the OpenTelemetry internal @@ -49161,7 +49161,7 @@ exports.DiagAPI = DiagAPI; /***/ }), -/***/ 4197: +/***/ 1796: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -49183,12 +49183,12 @@ exports.DiagAPI = DiagAPI; */ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.PropagationAPI = void 0; -var global_utils_1 = __nccwpck_require__(2195); -var NoopTextMapPropagator_1 = __nccwpck_require__(8040); -var TextMapPropagator_1 = __nccwpck_require__(8358); -var context_helpers_1 = __nccwpck_require__(1722); -var utils_1 = __nccwpck_require__(1800); -var diag_1 = __nccwpck_require__(4755); +var global_utils_1 = __nccwpck_require__(5619); +var NoopTextMapPropagator_1 = __nccwpck_require__(5867); +var TextMapPropagator_1 = __nccwpck_require__(9171); +var context_helpers_1 = __nccwpck_require__(5545); +var utils_1 = __nccwpck_require__(4943); +var diag_1 = __nccwpck_require__(6132); var API_NAME = 'propagation'; var NOOP_TEXT_MAP_PROPAGATOR = new NoopTextMapPropagator_1.NoopTextMapPropagator(); /** @@ -49259,7 +49259,7 @@ exports.PropagationAPI = PropagationAPI; /***/ }), -/***/ 186: +/***/ 9590: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -49281,11 +49281,11 @@ exports.PropagationAPI = PropagationAPI; */ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.TraceAPI = void 0; -var global_utils_1 = __nccwpck_require__(2195); -var ProxyTracerProvider_1 = __nccwpck_require__(5079); -var spancontext_utils_1 = __nccwpck_require__(2201); -var context_utils_1 = __nccwpck_require__(9034); -var diag_1 = __nccwpck_require__(4755); +var global_utils_1 = __nccwpck_require__(5619); +var ProxyTracerProvider_1 = __nccwpck_require__(6703); +var spancontext_utils_1 = __nccwpck_require__(5795); +var context_utils_1 = __nccwpck_require__(3414); +var diag_1 = __nccwpck_require__(6132); var API_NAME = 'trace'; /** * Singleton object which represents the entry point to the OpenTelemetry Tracing API @@ -49345,7 +49345,7 @@ exports.TraceAPI = TraceAPI; /***/ }), -/***/ 1722: +/***/ 5545: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -49367,7 +49367,7 @@ exports.TraceAPI = TraceAPI; */ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.deleteBaggage = exports.setBaggage = exports.getBaggage = void 0; -var context_1 = __nccwpck_require__(5539); +var context_1 = __nccwpck_require__(999); /** * Baggage key */ @@ -49405,7 +49405,7 @@ exports.deleteBaggage = deleteBaggage; /***/ }), -/***/ 7780: +/***/ 2665: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -49476,7 +49476,7 @@ exports.BaggageImpl = BaggageImpl; /***/ }), -/***/ 3938: +/***/ 2139: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -49506,7 +49506,7 @@ exports.baggageEntryMetadataSymbol = Symbol('BaggageEntryMetadata'); /***/ }), -/***/ 3165: +/***/ 5739: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -49531,7 +49531,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); /***/ }), -/***/ 1800: +/***/ 4943: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -49553,9 +49553,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); */ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.baggageEntryMetadataFromString = exports.createBaggage = void 0; -var diag_1 = __nccwpck_require__(4755); -var baggage_impl_1 = __nccwpck_require__(7780); -var symbol_1 = __nccwpck_require__(3938); +var diag_1 = __nccwpck_require__(6132); +var baggage_impl_1 = __nccwpck_require__(2665); +var symbol_1 = __nccwpck_require__(2139); var diag = diag_1.DiagAPI.instance(); /** * Create a new Baggage with optional entries @@ -49590,7 +49590,7 @@ exports.baggageEntryMetadataFromString = baggageEntryMetadataFromString; /***/ }), -/***/ 4661: +/***/ 2602: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -49615,7 +49615,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); /***/ }), -/***/ 9891: +/***/ 8044: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -49640,7 +49640,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); /***/ }), -/***/ 4194: +/***/ 9180: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -49650,7 +49650,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); /***/ }), -/***/ 1190: +/***/ 5585: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -49677,7 +49677,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.NoopContextManager = void 0; -var context_1 = __nccwpck_require__(5539); +var context_1 = __nccwpck_require__(999); var NoopContextManager = /** @class */ (function () { function NoopContextManager() { } @@ -49707,7 +49707,7 @@ exports.NoopContextManager = NoopContextManager; /***/ }), -/***/ 5539: +/***/ 999: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -49770,7 +49770,7 @@ exports.ROOT_CONTEXT = new BaseContext(); /***/ }), -/***/ 2698: +/***/ 4636: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -49795,7 +49795,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); /***/ }), -/***/ 652: +/***/ 8454: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -49817,7 +49817,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); */ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.DiagComponentLogger = void 0; -var global_utils_1 = __nccwpck_require__(2195); +var global_utils_1 = __nccwpck_require__(5619); /** * Component Logger which is meant to be used as part of any component which * will add automatically additional namespace in front of the log message. @@ -49882,7 +49882,7 @@ function logProxy(funcName, namespace, args) { /***/ }), -/***/ 3288: +/***/ 9646: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -49951,7 +49951,7 @@ exports.DiagConsoleLogger = DiagConsoleLogger; /***/ }), -/***/ 5982: +/***/ 4648: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -49982,13 +49982,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; Object.defineProperty(exports, "__esModule", ({ value: true })); -__exportStar(__nccwpck_require__(3288), exports); -__exportStar(__nccwpck_require__(3113), exports); +__exportStar(__nccwpck_require__(9646), exports); +__exportStar(__nccwpck_require__(6748), exports); //# sourceMappingURL=index.js.map /***/ }), -/***/ 2722: +/***/ 1152: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -50010,7 +50010,7 @@ __exportStar(__nccwpck_require__(3113), exports); */ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.createLogLevelDiagLogger = void 0; -var types_1 = __nccwpck_require__(3113); +var types_1 = __nccwpck_require__(6748); function createLogLevelDiagLogger(maxLevel, logger) { if (maxLevel < types_1.DiagLogLevel.NONE) { maxLevel = types_1.DiagLogLevel.NONE; @@ -50040,7 +50040,7 @@ exports.createLogLevelDiagLogger = createLogLevelDiagLogger; /***/ }), -/***/ 3113: +/***/ 6748: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -50091,7 +50091,7 @@ var DiagLogLevel; /***/ }), -/***/ 2218: +/***/ 5192: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -50123,52 +50123,52 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.diag = exports.propagation = exports.trace = exports.context = exports.INVALID_SPAN_CONTEXT = exports.INVALID_TRACEID = exports.INVALID_SPANID = exports.isValidSpanId = exports.isValidTraceId = exports.isSpanContextValid = exports.createTraceState = exports.baggageEntryMetadataFromString = void 0; -__exportStar(__nccwpck_require__(3165), exports); -var utils_1 = __nccwpck_require__(1800); +__exportStar(__nccwpck_require__(5739), exports); +var utils_1 = __nccwpck_require__(4943); Object.defineProperty(exports, "baggageEntryMetadataFromString", ({ enumerable: true, get: function () { return utils_1.baggageEntryMetadataFromString; } })); -__exportStar(__nccwpck_require__(9891), exports); -__exportStar(__nccwpck_require__(4194), exports); -__exportStar(__nccwpck_require__(4661), exports); -__exportStar(__nccwpck_require__(5982), exports); -__exportStar(__nccwpck_require__(8358), exports); -__exportStar(__nccwpck_require__(2009), exports); -__exportStar(__nccwpck_require__(9822), exports); -__exportStar(__nccwpck_require__(2324), exports); -__exportStar(__nccwpck_require__(5079), exports); -__exportStar(__nccwpck_require__(8176), exports); -__exportStar(__nccwpck_require__(5333), exports); -__exportStar(__nccwpck_require__(3241), exports); -__exportStar(__nccwpck_require__(1946), exports); -__exportStar(__nccwpck_require__(696), exports); -__exportStar(__nccwpck_require__(450), exports); -__exportStar(__nccwpck_require__(8194), exports); -__exportStar(__nccwpck_require__(9469), exports); -__exportStar(__nccwpck_require__(6447), exports); -var utils_2 = __nccwpck_require__(2346); +__exportStar(__nccwpck_require__(8044), exports); +__exportStar(__nccwpck_require__(9180), exports); +__exportStar(__nccwpck_require__(2602), exports); +__exportStar(__nccwpck_require__(4648), exports); +__exportStar(__nccwpck_require__(9171), exports); +__exportStar(__nccwpck_require__(8473), exports); +__exportStar(__nccwpck_require__(5786), exports); +__exportStar(__nccwpck_require__(3515), exports); +__exportStar(__nccwpck_require__(6703), exports); +__exportStar(__nccwpck_require__(1198), exports); +__exportStar(__nccwpck_require__(5756), exports); +__exportStar(__nccwpck_require__(9664), exports); +__exportStar(__nccwpck_require__(9244), exports); +__exportStar(__nccwpck_require__(4490), exports); +__exportStar(__nccwpck_require__(2484), exports); +__exportStar(__nccwpck_require__(2981), exports); +__exportStar(__nccwpck_require__(5703), exports); +__exportStar(__nccwpck_require__(7680), exports); +var utils_2 = __nccwpck_require__(6328); Object.defineProperty(exports, "createTraceState", ({ enumerable: true, get: function () { return utils_2.createTraceState; } })); -__exportStar(__nccwpck_require__(4517), exports); -__exportStar(__nccwpck_require__(6376), exports); -__exportStar(__nccwpck_require__(1509), exports); -var spancontext_utils_1 = __nccwpck_require__(2201); +__exportStar(__nccwpck_require__(5373), exports); +__exportStar(__nccwpck_require__(2387), exports); +__exportStar(__nccwpck_require__(4988), exports); +var spancontext_utils_1 = __nccwpck_require__(5795); Object.defineProperty(exports, "isSpanContextValid", ({ enumerable: true, get: function () { return spancontext_utils_1.isSpanContextValid; } })); Object.defineProperty(exports, "isValidTraceId", ({ enumerable: true, get: function () { return spancontext_utils_1.isValidTraceId; } })); Object.defineProperty(exports, "isValidSpanId", ({ enumerable: true, get: function () { return spancontext_utils_1.isValidSpanId; } })); -var invalid_span_constants_1 = __nccwpck_require__(7433); +var invalid_span_constants_1 = __nccwpck_require__(973); Object.defineProperty(exports, "INVALID_SPANID", ({ enumerable: true, get: function () { return invalid_span_constants_1.INVALID_SPANID; } })); Object.defineProperty(exports, "INVALID_TRACEID", ({ enumerable: true, get: function () { return invalid_span_constants_1.INVALID_TRACEID; } })); Object.defineProperty(exports, "INVALID_SPAN_CONTEXT", ({ enumerable: true, get: function () { return invalid_span_constants_1.INVALID_SPAN_CONTEXT; } })); -__exportStar(__nccwpck_require__(5539), exports); -__exportStar(__nccwpck_require__(2698), exports); -var context_1 = __nccwpck_require__(4545); +__exportStar(__nccwpck_require__(999), exports); +__exportStar(__nccwpck_require__(4636), exports); +var context_1 = __nccwpck_require__(2551); /** Entrypoint for context API */ exports.context = context_1.ContextAPI.getInstance(); -var trace_1 = __nccwpck_require__(186); +var trace_1 = __nccwpck_require__(9590); /** Entrypoint for trace API */ exports.trace = trace_1.TraceAPI.getInstance(); -var propagation_1 = __nccwpck_require__(4197); +var propagation_1 = __nccwpck_require__(1796); /** Entrypoint for propagation API */ exports.propagation = propagation_1.PropagationAPI.getInstance(); -var diag_1 = __nccwpck_require__(4755); +var diag_1 = __nccwpck_require__(6132); /** * Entrypoint for Diag API. * Defines Diagnostic handler used for internal diagnostic logging operations. @@ -50186,7 +50186,7 @@ exports["default"] = { /***/ }), -/***/ 2195: +/***/ 5619: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -50208,9 +50208,9 @@ exports["default"] = { */ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.unregisterGlobal = exports.getGlobal = exports.registerGlobal = void 0; -var platform_1 = __nccwpck_require__(78); -var version_1 = __nccwpck_require__(5764); -var semver_1 = __nccwpck_require__(6834); +var platform_1 = __nccwpck_require__(9709); +var version_1 = __nccwpck_require__(6038); +var semver_1 = __nccwpck_require__(7996); var major = version_1.VERSION.split('.')[0]; var GLOBAL_OPENTELEMETRY_API_KEY = Symbol.for("opentelemetry.js.api." + major); var _global = platform_1._globalThis; @@ -50258,7 +50258,7 @@ exports.unregisterGlobal = unregisterGlobal; /***/ }), -/***/ 6834: +/***/ 7996: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -50280,7 +50280,7 @@ exports.unregisterGlobal = unregisterGlobal; */ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.isCompatible = exports._makeCompatibilityCheck = void 0; -var version_1 = __nccwpck_require__(5764); +var version_1 = __nccwpck_require__(6038); var re = /^(\d+)\.(\d+)\.(\d+)(-(.+))?$/; /** * Create a function to test an API version to see if it is compatible with the provided ownVersion. @@ -50387,7 +50387,7 @@ exports.isCompatible = _makeCompatibilityCheck(version_1.VERSION); /***/ }), -/***/ 78: +/***/ 9709: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -50418,12 +50418,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; Object.defineProperty(exports, "__esModule", ({ value: true })); -__exportStar(__nccwpck_require__(1934), exports); +__exportStar(__nccwpck_require__(4932), exports); //# sourceMappingURL=index.js.map /***/ }), -/***/ 432: +/***/ 3299: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -50452,7 +50452,7 @@ exports._globalThis = typeof globalThis === 'object' ? globalThis : global; /***/ }), -/***/ 1934: +/***/ 4932: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -50483,12 +50483,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; Object.defineProperty(exports, "__esModule", ({ value: true })); -__exportStar(__nccwpck_require__(432), exports); +__exportStar(__nccwpck_require__(3299), exports); //# sourceMappingURL=index.js.map /***/ }), -/***/ 8040: +/***/ 5867: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -50532,7 +50532,7 @@ exports.NoopTextMapPropagator = NoopTextMapPropagator; /***/ }), -/***/ 8358: +/***/ 9171: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -50580,7 +50580,7 @@ exports.defaultTextMapSetter = { /***/ }), -/***/ 4573: +/***/ 2583: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -50602,7 +50602,7 @@ exports.defaultTextMapSetter = { */ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.NonRecordingSpan = void 0; -var invalid_span_constants_1 = __nccwpck_require__(7433); +var invalid_span_constants_1 = __nccwpck_require__(973); /** * The NonRecordingSpan is the default {@link Span} that is used when no Span * implementation is available. All operations are no-op including context @@ -50652,7 +50652,7 @@ exports.NonRecordingSpan = NonRecordingSpan; /***/ }), -/***/ 5524: +/***/ 651: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -50674,10 +50674,10 @@ exports.NonRecordingSpan = NonRecordingSpan; */ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.NoopTracer = void 0; -var context_1 = __nccwpck_require__(4545); -var context_utils_1 = __nccwpck_require__(9034); -var NonRecordingSpan_1 = __nccwpck_require__(4573); -var spancontext_utils_1 = __nccwpck_require__(2201); +var context_1 = __nccwpck_require__(2551); +var context_utils_1 = __nccwpck_require__(3414); +var NonRecordingSpan_1 = __nccwpck_require__(2583); +var spancontext_utils_1 = __nccwpck_require__(5795); var context = context_1.ContextAPI.getInstance(); /** * No-op implementations of {@link Tracer}. @@ -50737,7 +50737,7 @@ function isSpanContext(spanContext) { /***/ }), -/***/ 8094: +/***/ 1258: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -50759,7 +50759,7 @@ function isSpanContext(spanContext) { */ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.NoopTracerProvider = void 0; -var NoopTracer_1 = __nccwpck_require__(5524); +var NoopTracer_1 = __nccwpck_require__(651); /** * An implementation of the {@link TracerProvider} which returns an impotent * Tracer for all calls to `getTracer`. @@ -50779,7 +50779,7 @@ exports.NoopTracerProvider = NoopTracerProvider; /***/ }), -/***/ 2324: +/***/ 3515: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -50801,7 +50801,7 @@ exports.NoopTracerProvider = NoopTracerProvider; */ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.ProxyTracer = void 0; -var NoopTracer_1 = __nccwpck_require__(5524); +var NoopTracer_1 = __nccwpck_require__(651); var NOOP_TRACER = new NoopTracer_1.NoopTracer(); /** * Proxy tracer provided by the proxy tracer provider @@ -50842,7 +50842,7 @@ exports.ProxyTracer = ProxyTracer; /***/ }), -/***/ 5079: +/***/ 6703: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -50864,8 +50864,8 @@ exports.ProxyTracer = ProxyTracer; */ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.ProxyTracerProvider = void 0; -var ProxyTracer_1 = __nccwpck_require__(2324); -var NoopTracerProvider_1 = __nccwpck_require__(8094); +var ProxyTracer_1 = __nccwpck_require__(3515); +var NoopTracerProvider_1 = __nccwpck_require__(1258); var NOOP_TRACER_PROVIDER = new NoopTracerProvider_1.NoopTracerProvider(); /** * Tracer provider which provides {@link ProxyTracer}s. @@ -50906,7 +50906,7 @@ exports.ProxyTracerProvider = ProxyTracerProvider; /***/ }), -/***/ 8176: +/***/ 1198: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -50931,7 +50931,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); /***/ }), -/***/ 5333: +/***/ 5756: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -50979,7 +50979,7 @@ var SamplingDecision; /***/ }), -/***/ 450: +/***/ 2484: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -51004,7 +51004,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); /***/ }), -/***/ 2009: +/***/ 8473: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -51029,7 +51029,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); /***/ }), -/***/ 9034: +/***/ 3414: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -51051,8 +51051,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); */ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getSpanContext = exports.setSpanContext = exports.deleteSpan = exports.setSpan = exports.getSpan = void 0; -var context_1 = __nccwpck_require__(5539); -var NonRecordingSpan_1 = __nccwpck_require__(4573); +var context_1 = __nccwpck_require__(999); +var NonRecordingSpan_1 = __nccwpck_require__(2583); /** * span key */ @@ -51110,7 +51110,7 @@ exports.getSpanContext = getSpanContext; /***/ }), -/***/ 380: +/***/ 5651: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -51132,7 +51132,7 @@ exports.getSpanContext = getSpanContext; */ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.TraceStateImpl = void 0; -var tracestate_validators_1 = __nccwpck_require__(5215); +var tracestate_validators_1 = __nccwpck_require__(2953); var MAX_TRACE_STATE_ITEMS = 32; var MAX_TRACE_STATE_LEN = 512; var LIST_MEMBERS_SEPARATOR = ','; @@ -51222,7 +51222,7 @@ exports.TraceStateImpl = TraceStateImpl; /***/ }), -/***/ 5215: +/***/ 2953: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -51275,7 +51275,7 @@ exports.validateValue = validateValue; /***/ }), -/***/ 2346: +/***/ 6328: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -51297,7 +51297,7 @@ exports.validateValue = validateValue; */ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.createTraceState = void 0; -var tracestate_impl_1 = __nccwpck_require__(380); +var tracestate_impl_1 = __nccwpck_require__(5651); function createTraceState(rawTraceState) { return new tracestate_impl_1.TraceStateImpl(rawTraceState); } @@ -51306,7 +51306,7 @@ exports.createTraceState = createTraceState; /***/ }), -/***/ 7433: +/***/ 973: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -51328,7 +51328,7 @@ exports.createTraceState = createTraceState; */ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.INVALID_SPAN_CONTEXT = exports.INVALID_TRACEID = exports.INVALID_SPANID = void 0; -var trace_flags_1 = __nccwpck_require__(9469); +var trace_flags_1 = __nccwpck_require__(5703); exports.INVALID_SPANID = '0000000000000000'; exports.INVALID_TRACEID = '00000000000000000000000000000000'; exports.INVALID_SPAN_CONTEXT = { @@ -51340,7 +51340,7 @@ exports.INVALID_SPAN_CONTEXT = { /***/ }), -/***/ 9822: +/***/ 5786: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -51365,7 +51365,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); /***/ }), -/***/ 696: +/***/ 4490: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -51390,7 +51390,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); /***/ }), -/***/ 3241: +/***/ 9664: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -51415,7 +51415,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); /***/ }), -/***/ 1946: +/***/ 9244: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -51468,7 +51468,7 @@ var SpanKind; /***/ }), -/***/ 2201: +/***/ 5795: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -51490,8 +51490,8 @@ exports.wrapSpanContext = exports.isSpanContextValid = exports.isValidSpanId = e * See the License for the specific language governing permissions and * limitations under the License. */ -var invalid_span_constants_1 = __nccwpck_require__(7433); -var NonRecordingSpan_1 = __nccwpck_require__(4573); +var invalid_span_constants_1 = __nccwpck_require__(973); +var NonRecordingSpan_1 = __nccwpck_require__(2583); var VALID_TRACEID_REGEX = /^([0-9a-f]{32})$/i; var VALID_SPANID_REGEX = /^[0-9a-f]{16}$/i; function isValidTraceId(traceId) { @@ -51524,7 +51524,7 @@ exports.wrapSpanContext = wrapSpanContext; /***/ }), -/***/ 8194: +/***/ 2981: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -51554,7 +51554,7 @@ var SpanStatusCode; /***/ }), -/***/ 9469: +/***/ 5703: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -51587,7 +51587,7 @@ var TraceFlags; /***/ }), -/***/ 6447: +/***/ 7680: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -51612,7 +51612,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); /***/ }), -/***/ 6376: +/***/ 2387: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -51637,7 +51637,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); /***/ }), -/***/ 1509: +/***/ 4988: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -51662,7 +51662,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); /***/ }), -/***/ 4517: +/***/ 5373: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -51687,7 +51687,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); /***/ }), -/***/ 5764: +/***/ 6038: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -51715,20 +51715,20 @@ exports.VERSION = '1.1.0'; /***/ }), -/***/ 2187: +/***/ 8915: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { module.exports = { - parallel : __nccwpck_require__(4363), - serial : __nccwpck_require__(5104), - serialOrdered : __nccwpck_require__(7710) + parallel : __nccwpck_require__(1975), + serial : __nccwpck_require__(4137), + serialOrdered : __nccwpck_require__(5921) }; /***/ }), -/***/ 5505: +/***/ 4596: /***/ ((module) => { // API @@ -51764,10 +51764,10 @@ function clean(key) /***/ }), -/***/ 7756: +/***/ 379: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var defer = __nccwpck_require__(1365); +var defer = __nccwpck_require__(8075); // API module.exports = async; @@ -51805,7 +51805,7 @@ function async(callback) /***/ }), -/***/ 1365: +/***/ 8075: /***/ ((module) => { module.exports = defer; @@ -51838,11 +51838,11 @@ function defer(fn) /***/ }), -/***/ 9876: +/***/ 3630: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var async = __nccwpck_require__(7756) - , abort = __nccwpck_require__(5505) +var async = __nccwpck_require__(379) + , abort = __nccwpck_require__(4596) ; // API @@ -51920,7 +51920,7 @@ function runJob(iterator, key, item, callback) /***/ }), -/***/ 819: +/***/ 3508: /***/ ((module) => { // API @@ -51964,11 +51964,11 @@ function state(list, sortMethod) /***/ }), -/***/ 2476: +/***/ 2180: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var abort = __nccwpck_require__(5505) - , async = __nccwpck_require__(7756) +var abort = __nccwpck_require__(4596) + , async = __nccwpck_require__(379) ; // API @@ -52000,12 +52000,12 @@ function terminator(callback) /***/ }), -/***/ 4363: +/***/ 1975: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var iterate = __nccwpck_require__(9876) - , initState = __nccwpck_require__(819) - , terminator = __nccwpck_require__(2476) +var iterate = __nccwpck_require__(3630) + , initState = __nccwpck_require__(3508) + , terminator = __nccwpck_require__(2180) ; // Public API @@ -52050,10 +52050,10 @@ function parallel(list, iterator, callback) /***/ }), -/***/ 5104: +/***/ 4137: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var serialOrdered = __nccwpck_require__(7710); +var serialOrdered = __nccwpck_require__(5921); // Public API module.exports = serial; @@ -52074,12 +52074,12 @@ function serial(list, iterator, callback) /***/ }), -/***/ 7710: +/***/ 5921: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var iterate = __nccwpck_require__(9876) - , initState = __nccwpck_require__(819) - , terminator = __nccwpck_require__(2476) +var iterate = __nccwpck_require__(3630) + , initState = __nccwpck_require__(3508) + , terminator = __nccwpck_require__(2180) ; // Public API @@ -52156,7 +52156,7 @@ function descending(a, b) /***/ }), -/***/ 6225: +/***/ 6907: /***/ ((module) => { "use strict"; @@ -52226,12 +52226,12 @@ function range(a, b, str) { /***/ }), -/***/ 8390: +/***/ 8955: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var register = __nccwpck_require__(2019) -var addHook = __nccwpck_require__(9201) -var removeHook = __nccwpck_require__(4771) +var register = __nccwpck_require__(7028) +var addHook = __nccwpck_require__(6946) +var removeHook = __nccwpck_require__(1114) // bind with array of arguments: https://stackoverflow.com/a/21792913 var bind = Function.bind @@ -52290,7 +52290,7 @@ module.exports.Collection = Hook.Collection /***/ }), -/***/ 9201: +/***/ 6946: /***/ ((module) => { module.exports = addHook; @@ -52343,7 +52343,7 @@ function addHook(state, kind, name, hook) { /***/ }), -/***/ 2019: +/***/ 7028: /***/ ((module) => { module.exports = register; @@ -52377,7 +52377,7 @@ function register(state, name, method, options) { /***/ }), -/***/ 4771: +/***/ 1114: /***/ ((module) => { module.exports = removeHook; @@ -52403,11 +52403,11 @@ function removeHook(state, name, method) { /***/ }), -/***/ 1398: +/***/ 376: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var concatMap = __nccwpck_require__(9335); -var balanced = __nccwpck_require__(6225); +var concatMap = __nccwpck_require__(3090); +var balanced = __nccwpck_require__(6907); module.exports = expandTop; @@ -52611,12 +52611,12 @@ function expand(str, isTop) { /***/ }), -/***/ 559: +/***/ 1448: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { var util = __nccwpck_require__(3837); var Stream = (__nccwpck_require__(2781).Stream); -var DelayedStream = __nccwpck_require__(9643); +var DelayedStream = __nccwpck_require__(3862); module.exports = CombinedStream; function CombinedStream() { @@ -52826,7 +52826,7 @@ CombinedStream.prototype._emitError = function(err) { /***/ }), -/***/ 9335: +/***/ 3090: /***/ ((module) => { module.exports = function (xs, fn) { @@ -52846,7 +52846,7 @@ var isArray = Array.isArray || function (xs) { /***/ }), -/***/ 9643: +/***/ 3862: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { var Stream = (__nccwpck_require__(2781).Stream); @@ -52960,7 +52960,7 @@ DelayedStream.prototype._checkIfMaxDataSizeExceeded = function() { /***/ }), -/***/ 7593: +/***/ 9184: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -52988,7 +52988,7 @@ exports.Deprecation = Deprecation; /***/ }), -/***/ 1457: +/***/ 3394: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { module.exports = realpath @@ -53004,7 +53004,7 @@ var origRealpathSync = fs.realpathSync var version = process.version var ok = /^v[0-5]\./.test(version) -var old = __nccwpck_require__(154) +var old = __nccwpck_require__(8625) function newError (er) { return er && er.syscall === 'realpath' && ( @@ -53061,7 +53061,7 @@ function unmonkeypatch () { /***/ }), -/***/ 154: +/***/ 8625: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { // Copyright Joyent, Inc. and other Node contributors. @@ -53371,7 +53371,7 @@ exports.realpath = function realpath(p, cache, cb) { /***/ }), -/***/ 7912: +/***/ 8872: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { exports.setopts = setopts @@ -53388,8 +53388,8 @@ function ownProp (obj, field) { var fs = __nccwpck_require__(7147) var path = __nccwpck_require__(1017) -var minimatch = __nccwpck_require__(2784) -var isAbsolute = __nccwpck_require__(5092) +var minimatch = __nccwpck_require__(7935) +var isAbsolute = __nccwpck_require__(6917) var Minimatch = minimatch.Minimatch function alphasort (a, b) { @@ -53616,7 +53616,7 @@ function childrenIgnored (self, path) { /***/ }), -/***/ 8254: +/***/ 869: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { // Approach: @@ -53661,24 +53661,24 @@ function childrenIgnored (self, path) { module.exports = glob -var rp = __nccwpck_require__(1457) -var minimatch = __nccwpck_require__(2784) +var rp = __nccwpck_require__(3394) +var minimatch = __nccwpck_require__(7935) var Minimatch = minimatch.Minimatch -var inherits = __nccwpck_require__(8689) +var inherits = __nccwpck_require__(8939) var EE = (__nccwpck_require__(2361).EventEmitter) var path = __nccwpck_require__(1017) var assert = __nccwpck_require__(9491) -var isAbsolute = __nccwpck_require__(5092) -var globSync = __nccwpck_require__(3655) -var common = __nccwpck_require__(7912) +var isAbsolute = __nccwpck_require__(6917) +var globSync = __nccwpck_require__(2200) +var common = __nccwpck_require__(8872) var setopts = common.setopts var ownProp = common.ownProp -var inflight = __nccwpck_require__(8622) +var inflight = __nccwpck_require__(1618) var util = __nccwpck_require__(3837) var childrenIgnored = common.childrenIgnored var isIgnored = common.isIgnored -var once = __nccwpck_require__(2810) +var once = __nccwpck_require__(966) function glob (pattern, options, cb) { if (typeof options === 'function') cb = options, options = {} @@ -54413,21 +54413,21 @@ Glob.prototype._stat2 = function (f, abs, er, stat, cb) { /***/ }), -/***/ 3655: +/***/ 2200: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { module.exports = globSync globSync.GlobSync = GlobSync -var rp = __nccwpck_require__(1457) -var minimatch = __nccwpck_require__(2784) +var rp = __nccwpck_require__(3394) +var minimatch = __nccwpck_require__(7935) var Minimatch = minimatch.Minimatch -var Glob = (__nccwpck_require__(8254).Glob) +var Glob = (__nccwpck_require__(869).Glob) var util = __nccwpck_require__(3837) var path = __nccwpck_require__(1017) var assert = __nccwpck_require__(9491) -var isAbsolute = __nccwpck_require__(5092) -var common = __nccwpck_require__(7912) +var isAbsolute = __nccwpck_require__(6917) +var common = __nccwpck_require__(8872) var setopts = common.setopts var ownProp = common.ownProp var childrenIgnored = common.childrenIgnored @@ -54906,12 +54906,12 @@ GlobSync.prototype._makeAbs = function (f) { /***/ }), -/***/ 8622: +/***/ 1618: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var wrappy = __nccwpck_require__(8223) +var wrappy = __nccwpck_require__(7297) var reqs = Object.create(null) -var once = __nccwpck_require__(2810) +var once = __nccwpck_require__(966) module.exports = wrappy(inflight) @@ -54967,7 +54967,7 @@ function slice (args) { /***/ }), -/***/ 8689: +/***/ 8939: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { try { @@ -54977,13 +54977,13 @@ try { module.exports = util.inherits; } catch (e) { /* istanbul ignore next */ - module.exports = __nccwpck_require__(5295); + module.exports = __nccwpck_require__(1689); } /***/ }), -/***/ 5295: +/***/ 1689: /***/ ((module) => { if (typeof Object.create === 'function') { @@ -55017,7 +55017,7 @@ if (typeof Object.create === 'function') { /***/ }), -/***/ 1397: +/***/ 2945: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -55063,7 +55063,7 @@ exports.isPlainObject = isPlainObject; /***/ }), -/***/ 4106: +/***/ 1027: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { /*! @@ -55082,7 +55082,7 @@ module.exports = __nccwpck_require__(3765) /***/ }), -/***/ 3807: +/***/ 16: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -55100,7 +55100,7 @@ module.exports = __nccwpck_require__(3765) * @private */ -var db = __nccwpck_require__(4106) +var db = __nccwpck_require__(1027) var extname = (__nccwpck_require__(1017).extname) /** @@ -55278,7 +55278,7 @@ function populateMaps (extensions, types) { /***/ }), -/***/ 2784: +/***/ 7935: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { module.exports = minimatch @@ -55290,7 +55290,7 @@ var path = (function () { try { return __nccwpck_require__(1017) } catch (e) {}} minimatch.sep = path.sep var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {} -var expand = __nccwpck_require__(1398) +var expand = __nccwpck_require__(376) var plTypes = { '!': { open: '(?:(?!(?:', close: '))[^/]*?)'}, @@ -56232,7 +56232,7 @@ function regExpEscape (s) { /***/ }), -/***/ 271: +/***/ 8975: /***/ ((module, exports, __nccwpck_require__) => { "use strict"; @@ -56245,7 +56245,7 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau var Stream = _interopDefault(__nccwpck_require__(2781)); var http = _interopDefault(__nccwpck_require__(3685)); var Url = _interopDefault(__nccwpck_require__(7310)); -var whatwgUrl = _interopDefault(__nccwpck_require__(1088)); +var whatwgUrl = _interopDefault(__nccwpck_require__(4812)); var https = _interopDefault(__nccwpck_require__(5687)); var zlib = _interopDefault(__nccwpck_require__(9796)); @@ -56398,7 +56398,7 @@ FetchError.prototype.name = 'FetchError'; let convert; try { - convert = (__nccwpck_require__(6258).convert); + convert = (__nccwpck_require__(1690).convert); } catch (e) {} const INTERNALS = Symbol('Body internals'); @@ -57937,10 +57937,10 @@ exports.FetchError = FetchError; /***/ }), -/***/ 2810: +/***/ 966: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var wrappy = __nccwpck_require__(8223) +var wrappy = __nccwpck_require__(7297) module.exports = wrappy(once) module.exports.strict = wrappy(onceStrict) @@ -57986,7 +57986,7 @@ function onceStrict (fn) { /***/ }), -/***/ 5092: +/***/ 6917: /***/ ((module) => { "use strict"; @@ -58014,7 +58014,7 @@ module.exports.win32 = win32; /***/ }), -/***/ 6177: +/***/ 5753: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -58291,7 +58291,7 @@ exports.isValid = function (domain) { /***/ }), -/***/ 9275: +/***/ 7413: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { const assert = __nccwpck_require__(9491) @@ -58299,7 +58299,7 @@ const path = __nccwpck_require__(1017) const fs = __nccwpck_require__(7147) let glob = undefined try { - glob = __nccwpck_require__(8254) + glob = __nccwpck_require__(869) } catch (_err) { // treat glob as optional. } @@ -58658,7 +58658,7 @@ rimraf.sync = rimrafSync /***/ }), -/***/ 5633: +/***/ 7969: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { ;(function (sax) { // wrapper for non-node envs @@ -60230,7 +60230,7 @@ rimraf.sync = rimrafSync /***/ }), -/***/ 8602: +/***/ 6033: /***/ ((module, exports) => { exports = module.exports = SemVer @@ -61833,14 +61833,14 @@ function coerce (version, options) { /***/ }), -/***/ 1140: +/***/ 4522: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { "use strict"; const { promisify } = __nccwpck_require__(3837); -const tmp = __nccwpck_require__(4998); +const tmp = __nccwpck_require__(5414); // file module.exports.fileSync = tmp.fileSync; @@ -61891,7 +61891,7 @@ module.exports.setGracefulCleanup = tmp.setGracefulCleanup; /***/ }), -/***/ 4998: +/***/ 5414: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { /*! @@ -61910,7 +61910,7 @@ const os = __nccwpck_require__(2037); const path = __nccwpck_require__(1017); const crypto = __nccwpck_require__(6113); const _c = { fs: fs.constants, os: os.constants }; -const rimraf = __nccwpck_require__(9275); +const rimraf = __nccwpck_require__(7413); /* * The working inner variables. @@ -62678,7 +62678,7 @@ module.exports.setGracefulCleanup = setGracefulCleanup; /***/ }), -/***/ 5047: +/***/ 850: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { "use strict"; @@ -62879,15 +62879,15 @@ module.exports.PROCESSING_OPTIONS = PROCESSING_OPTIONS; /***/ }), -/***/ 2579: +/***/ 4359: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -module.exports = __nccwpck_require__(6425); +module.exports = __nccwpck_require__(6206); /***/ }), -/***/ 6425: +/***/ 6206: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -63159,7 +63159,7 @@ exports.debug = debug; // for test /***/ }), -/***/ 4883: +/***/ 7727: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -63185,7 +63185,7 @@ exports.getUserAgent = getUserAgent; /***/ }), -/***/ 5398: +/***/ 8236: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -63218,11 +63218,11 @@ exports.fromPromise = function (fn) { /***/ }), -/***/ 1991: +/***/ 7123: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var v1 = __nccwpck_require__(1828); -var v4 = __nccwpck_require__(8720); +var v1 = __nccwpck_require__(5524); +var v4 = __nccwpck_require__(6471); var uuid = v4; uuid.v1 = v1; @@ -63233,7 +63233,7 @@ module.exports = uuid; /***/ }), -/***/ 4461: +/***/ 7765: /***/ ((module) => { /** @@ -63266,7 +63266,7 @@ module.exports = bytesToUuid; /***/ }), -/***/ 1743: +/***/ 3411: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { // Unique ID creation requires a high quality random # generator. In node.js @@ -63281,11 +63281,11 @@ module.exports = function nodeRNG() { /***/ }), -/***/ 1828: +/***/ 5524: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var rng = __nccwpck_require__(1743); -var bytesToUuid = __nccwpck_require__(4461); +var rng = __nccwpck_require__(3411); +var bytesToUuid = __nccwpck_require__(7765); // **`v1()` - Generate time-based UUID** // @@ -63397,11 +63397,11 @@ module.exports = v1; /***/ }), -/***/ 8720: +/***/ 6471: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var rng = __nccwpck_require__(1743); -var bytesToUuid = __nccwpck_require__(4461); +var rng = __nccwpck_require__(3411); +var bytesToUuid = __nccwpck_require__(7765); function v4(options, buf, offset) { var i = buf && offset || 0; @@ -63433,7 +63433,7 @@ module.exports = v4; /***/ }), -/***/ 8007: +/***/ 680: /***/ ((module) => { "use strict"; @@ -63630,12 +63630,12 @@ conversions["RegExp"] = function (V, opts) { /***/ }), -/***/ 2442: +/***/ 9089: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; -const usm = __nccwpck_require__(3041); +const usm = __nccwpck_require__(1550); exports.implementation = class URLImpl { constructor(constructorArgs) { @@ -63838,15 +63838,15 @@ exports.implementation = class URLImpl { /***/ }), -/***/ 1926: +/***/ 809: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { "use strict"; -const conversions = __nccwpck_require__(8007); -const utils = __nccwpck_require__(7793); -const Impl = __nccwpck_require__(2442); +const conversions = __nccwpck_require__(680); +const utils = __nccwpck_require__(7511); +const Impl = __nccwpck_require__(9089); const impl = utils.implSymbol; @@ -64042,32 +64042,32 @@ module.exports = { /***/ }), -/***/ 1088: +/***/ 4812: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; -exports.URL = __nccwpck_require__(1926)["interface"]; -exports.serializeURL = __nccwpck_require__(3041).serializeURL; -exports.serializeURLOrigin = __nccwpck_require__(3041).serializeURLOrigin; -exports.basicURLParse = __nccwpck_require__(3041).basicURLParse; -exports.setTheUsername = __nccwpck_require__(3041).setTheUsername; -exports.setThePassword = __nccwpck_require__(3041).setThePassword; -exports.serializeHost = __nccwpck_require__(3041).serializeHost; -exports.serializeInteger = __nccwpck_require__(3041).serializeInteger; -exports.parseURL = __nccwpck_require__(3041).parseURL; +exports.URL = __nccwpck_require__(809)["interface"]; +exports.serializeURL = __nccwpck_require__(1550).serializeURL; +exports.serializeURLOrigin = __nccwpck_require__(1550).serializeURLOrigin; +exports.basicURLParse = __nccwpck_require__(1550).basicURLParse; +exports.setTheUsername = __nccwpck_require__(1550).setTheUsername; +exports.setThePassword = __nccwpck_require__(1550).setThePassword; +exports.serializeHost = __nccwpck_require__(1550).serializeHost; +exports.serializeInteger = __nccwpck_require__(1550).serializeInteger; +exports.parseURL = __nccwpck_require__(1550).parseURL; /***/ }), -/***/ 3041: +/***/ 1550: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { "use strict"; const punycode = __nccwpck_require__(5477); -const tr46 = __nccwpck_require__(5047); +const tr46 = __nccwpck_require__(850); const specialSchemes = { ftp: 21, @@ -65366,7 +65366,7 @@ module.exports.parseURL = function (input, options) { /***/ }), -/***/ 7793: +/***/ 7511: /***/ ((module) => { "use strict"; @@ -65394,7 +65394,7 @@ module.exports.implForWrapper = function (wrapper) { /***/ }), -/***/ 8223: +/***/ 7297: /***/ ((module) => { // Returns a wrapper function that returns a wrapped callback @@ -65434,7 +65434,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 8634: +/***/ 3654: /***/ (function(__unused_webpack_module, exports) { // Generated by CoffeeScript 1.12.7 @@ -65453,7 +65453,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 1515: +/***/ 3150: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 @@ -65462,9 +65462,9 @@ function wrappy (fn, cb) { var builder, defaults, escapeCDATA, requiresCDATA, wrapCDATA, hasProp = {}.hasOwnProperty; - builder = __nccwpck_require__(5413); + builder = __nccwpck_require__(9507); - defaults = (__nccwpck_require__(5285).defaults); + defaults = (__nccwpck_require__(8721).defaults); requiresCDATA = function(entry) { return typeof entry === "string" && (entry.indexOf('&') >= 0 || entry.indexOf('>') >= 0 || entry.indexOf('<') >= 0); @@ -65587,7 +65587,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 5285: +/***/ 8721: /***/ (function(__unused_webpack_module, exports) { // Generated by CoffeeScript 1.12.7 @@ -65666,7 +65666,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 8917: +/***/ 9986: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 @@ -65677,17 +65677,17 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - sax = __nccwpck_require__(5633); + sax = __nccwpck_require__(7969); events = __nccwpck_require__(2361); - bom = __nccwpck_require__(8634); + bom = __nccwpck_require__(3654); - processors = __nccwpck_require__(8477); + processors = __nccwpck_require__(8950); setImmediate = (__nccwpck_require__(9512).setImmediate); - defaults = (__nccwpck_require__(5285).defaults); + defaults = (__nccwpck_require__(8721).defaults); isEmpty = function(thing) { return typeof thing === "object" && (thing != null) && Object.keys(thing).length === 0; @@ -66054,7 +66054,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 8477: +/***/ 8950: /***/ (function(__unused_webpack_module, exports) { // Generated by CoffeeScript 1.12.7 @@ -66095,7 +66095,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 1829: +/***/ 3346: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 @@ -66105,13 +66105,13 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - defaults = __nccwpck_require__(5285); + defaults = __nccwpck_require__(8721); - builder = __nccwpck_require__(1515); + builder = __nccwpck_require__(3150); - parser = __nccwpck_require__(8917); + parser = __nccwpck_require__(9986); - processors = __nccwpck_require__(8477); + processors = __nccwpck_require__(8950); exports.defaults = defaults.defaults; @@ -66141,7 +66141,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 6242: +/***/ 2282: /***/ (function(module) { // Generated by CoffeeScript 1.12.7 @@ -66160,7 +66160,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 6130: +/***/ 1764: /***/ (function(module) { // Generated by CoffeeScript 1.12.7 @@ -66190,7 +66190,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 322: +/***/ 7346: /***/ (function(module) { // Generated by CoffeeScript 1.12.7 @@ -66280,7 +66280,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 5937: +/***/ 7995: /***/ (function(module) { // Generated by CoffeeScript 1.12.7 @@ -66297,16 +66297,16 @@ function wrappy (fn, cb) { /***/ }), -/***/ 9636: +/***/ 1081: /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLAttribute, XMLNode; - NodeType = __nccwpck_require__(6130); + NodeType = __nccwpck_require__(1764); - XMLNode = __nccwpck_require__(8759); + XMLNode = __nccwpck_require__(9473); module.exports = XMLAttribute = (function() { function XMLAttribute(parent, name, value) { @@ -66412,7 +66412,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 9286: +/***/ 6794: /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 @@ -66421,9 +66421,9 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - NodeType = __nccwpck_require__(6130); + NodeType = __nccwpck_require__(1764); - XMLCharacterData = __nccwpck_require__(761); + XMLCharacterData = __nccwpck_require__(5075); module.exports = XMLCData = (function(superClass) { extend(XMLCData, superClass); @@ -66455,7 +66455,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 761: +/***/ 5075: /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 @@ -66464,7 +66464,7 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - XMLNode = __nccwpck_require__(8759); + XMLNode = __nccwpck_require__(9473); module.exports = XMLCharacterData = (function(superClass) { extend(XMLCharacterData, superClass); @@ -66541,7 +66541,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 2169: +/***/ 734: /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 @@ -66550,9 +66550,9 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - NodeType = __nccwpck_require__(6130); + NodeType = __nccwpck_require__(1764); - XMLCharacterData = __nccwpck_require__(761); + XMLCharacterData = __nccwpck_require__(5075); module.exports = XMLComment = (function(superClass) { extend(XMLComment, superClass); @@ -66584,16 +66584,16 @@ function wrappy (fn, cb) { /***/ }), -/***/ 2247: +/***/ 4635: /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { var XMLDOMConfiguration, XMLDOMErrorHandler, XMLDOMStringList; - XMLDOMErrorHandler = __nccwpck_require__(7111); + XMLDOMErrorHandler = __nccwpck_require__(1738); - XMLDOMStringList = __nccwpck_require__(5429); + XMLDOMStringList = __nccwpck_require__(2836); module.exports = XMLDOMConfiguration = (function() { function XMLDOMConfiguration() { @@ -66655,7 +66655,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 7111: +/***/ 1738: /***/ (function(module) { // Generated by CoffeeScript 1.12.7 @@ -66678,7 +66678,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 7832: +/***/ 3269: /***/ (function(module) { // Generated by CoffeeScript 1.12.7 @@ -66717,7 +66717,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 5429: +/***/ 2836: /***/ (function(module) { // Generated by CoffeeScript 1.12.7 @@ -66752,7 +66752,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 4157: +/***/ 469: /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 @@ -66761,9 +66761,9 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - XMLNode = __nccwpck_require__(8759); + XMLNode = __nccwpck_require__(9473); - NodeType = __nccwpck_require__(6130); + NodeType = __nccwpck_require__(1764); module.exports = XMLDTDAttList = (function(superClass) { extend(XMLDTDAttList, superClass); @@ -66814,7 +66814,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 9622: +/***/ 6237: /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 @@ -66823,9 +66823,9 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - XMLNode = __nccwpck_require__(8759); + XMLNode = __nccwpck_require__(9473); - NodeType = __nccwpck_require__(6130); + NodeType = __nccwpck_require__(1764); module.exports = XMLDTDElement = (function(superClass) { extend(XMLDTDElement, superClass); @@ -66859,7 +66859,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 341: +/***/ 8046: /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 @@ -66868,11 +66868,11 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - isObject = (__nccwpck_require__(322).isObject); + isObject = (__nccwpck_require__(7346).isObject); - XMLNode = __nccwpck_require__(8759); + XMLNode = __nccwpck_require__(9473); - NodeType = __nccwpck_require__(6130); + NodeType = __nccwpck_require__(1764); module.exports = XMLDTDEntity = (function(superClass) { extend(XMLDTDEntity, superClass); @@ -66963,7 +66963,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 7770: +/***/ 4909: /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 @@ -66972,9 +66972,9 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - XMLNode = __nccwpck_require__(8759); + XMLNode = __nccwpck_require__(9473); - NodeType = __nccwpck_require__(6130); + NodeType = __nccwpck_require__(1764); module.exports = XMLDTDNotation = (function(superClass) { extend(XMLDTDNotation, superClass); @@ -67022,7 +67022,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 3425: +/***/ 3159: /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 @@ -67031,11 +67031,11 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - isObject = (__nccwpck_require__(322).isObject); + isObject = (__nccwpck_require__(7346).isObject); - XMLNode = __nccwpck_require__(8759); + XMLNode = __nccwpck_require__(9473); - NodeType = __nccwpck_require__(6130); + NodeType = __nccwpck_require__(1764); module.exports = XMLDeclaration = (function(superClass) { extend(XMLDeclaration, superClass); @@ -67072,7 +67072,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 9371: +/***/ 742: /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 @@ -67081,21 +67081,21 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - isObject = (__nccwpck_require__(322).isObject); + isObject = (__nccwpck_require__(7346).isObject); - XMLNode = __nccwpck_require__(8759); + XMLNode = __nccwpck_require__(9473); - NodeType = __nccwpck_require__(6130); + NodeType = __nccwpck_require__(1764); - XMLDTDAttList = __nccwpck_require__(4157); + XMLDTDAttList = __nccwpck_require__(469); - XMLDTDEntity = __nccwpck_require__(341); + XMLDTDEntity = __nccwpck_require__(8046); - XMLDTDElement = __nccwpck_require__(9622); + XMLDTDElement = __nccwpck_require__(6237); - XMLDTDNotation = __nccwpck_require__(7770); + XMLDTDNotation = __nccwpck_require__(4909); - XMLNamedNodeMap = __nccwpck_require__(8827); + XMLNamedNodeMap = __nccwpck_require__(444); module.exports = XMLDocType = (function(superClass) { extend(XMLDocType, superClass); @@ -67265,7 +67265,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 6966: +/***/ 1314: /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 @@ -67274,19 +67274,19 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - isPlainObject = (__nccwpck_require__(322).isPlainObject); + isPlainObject = (__nccwpck_require__(7346).isPlainObject); - XMLDOMImplementation = __nccwpck_require__(7832); + XMLDOMImplementation = __nccwpck_require__(3269); - XMLDOMConfiguration = __nccwpck_require__(2247); + XMLDOMConfiguration = __nccwpck_require__(4635); - XMLNode = __nccwpck_require__(8759); + XMLNode = __nccwpck_require__(9473); - NodeType = __nccwpck_require__(6130); + NodeType = __nccwpck_require__(1764); - XMLStringifier = __nccwpck_require__(2446); + XMLStringifier = __nccwpck_require__(121); - XMLStringWriter = __nccwpck_require__(5854); + XMLStringWriter = __nccwpck_require__(1375); module.exports = XMLDocument = (function(superClass) { extend(XMLDocument, superClass); @@ -67514,7 +67514,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 602: +/***/ 2707: /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 @@ -67522,43 +67522,43 @@ function wrappy (fn, cb) { var NodeType, WriterState, XMLAttribute, XMLCData, XMLComment, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDeclaration, XMLDocType, XMLDocument, XMLDocumentCB, XMLElement, XMLProcessingInstruction, XMLRaw, XMLStringWriter, XMLStringifier, XMLText, getValue, isFunction, isObject, isPlainObject, ref, hasProp = {}.hasOwnProperty; - ref = __nccwpck_require__(322), isObject = ref.isObject, isFunction = ref.isFunction, isPlainObject = ref.isPlainObject, getValue = ref.getValue; + ref = __nccwpck_require__(7346), isObject = ref.isObject, isFunction = ref.isFunction, isPlainObject = ref.isPlainObject, getValue = ref.getValue; - NodeType = __nccwpck_require__(6130); + NodeType = __nccwpck_require__(1764); - XMLDocument = __nccwpck_require__(6966); + XMLDocument = __nccwpck_require__(1314); - XMLElement = __nccwpck_require__(6278); + XMLElement = __nccwpck_require__(7046); - XMLCData = __nccwpck_require__(9286); + XMLCData = __nccwpck_require__(6794); - XMLComment = __nccwpck_require__(2169); + XMLComment = __nccwpck_require__(734); - XMLRaw = __nccwpck_require__(3740); + XMLRaw = __nccwpck_require__(1678); - XMLText = __nccwpck_require__(6025); + XMLText = __nccwpck_require__(6114); - XMLProcessingInstruction = __nccwpck_require__(8699); + XMLProcessingInstruction = __nccwpck_require__(3361); - XMLDeclaration = __nccwpck_require__(3425); + XMLDeclaration = __nccwpck_require__(3159); - XMLDocType = __nccwpck_require__(9371); + XMLDocType = __nccwpck_require__(742); - XMLDTDAttList = __nccwpck_require__(4157); + XMLDTDAttList = __nccwpck_require__(469); - XMLDTDEntity = __nccwpck_require__(341); + XMLDTDEntity = __nccwpck_require__(8046); - XMLDTDElement = __nccwpck_require__(9622); + XMLDTDElement = __nccwpck_require__(6237); - XMLDTDNotation = __nccwpck_require__(7770); + XMLDTDNotation = __nccwpck_require__(4909); - XMLAttribute = __nccwpck_require__(9636); + XMLAttribute = __nccwpck_require__(1081); - XMLStringifier = __nccwpck_require__(2446); + XMLStringifier = __nccwpck_require__(121); - XMLStringWriter = __nccwpck_require__(5854); + XMLStringWriter = __nccwpck_require__(1375); - WriterState = __nccwpck_require__(5937); + WriterState = __nccwpck_require__(7995); module.exports = XMLDocumentCB = (function() { function XMLDocumentCB(options, onData, onEnd) { @@ -68049,7 +68049,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 8245: +/***/ 9777: /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 @@ -68058,9 +68058,9 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - XMLNode = __nccwpck_require__(8759); + XMLNode = __nccwpck_require__(9473); - NodeType = __nccwpck_require__(6130); + NodeType = __nccwpck_require__(1764); module.exports = XMLDummy = (function(superClass) { extend(XMLDummy, superClass); @@ -68087,7 +68087,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 6278: +/***/ 7046: /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 @@ -68096,15 +68096,15 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - ref = __nccwpck_require__(322), isObject = ref.isObject, isFunction = ref.isFunction, getValue = ref.getValue; + ref = __nccwpck_require__(7346), isObject = ref.isObject, isFunction = ref.isFunction, getValue = ref.getValue; - XMLNode = __nccwpck_require__(8759); + XMLNode = __nccwpck_require__(9473); - NodeType = __nccwpck_require__(6130); + NodeType = __nccwpck_require__(1764); - XMLAttribute = __nccwpck_require__(9636); + XMLAttribute = __nccwpck_require__(1081); - XMLNamedNodeMap = __nccwpck_require__(8827); + XMLNamedNodeMap = __nccwpck_require__(444); module.exports = XMLElement = (function(superClass) { extend(XMLElement, superClass); @@ -68392,7 +68392,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 8827: +/***/ 444: /***/ (function(module) { // Generated by CoffeeScript 1.12.7 @@ -68457,7 +68457,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 8759: +/***/ 9473: /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 @@ -68465,7 +68465,7 @@ function wrappy (fn, cb) { var DocumentPosition, NodeType, XMLCData, XMLComment, XMLDeclaration, XMLDocType, XMLDummy, XMLElement, XMLNamedNodeMap, XMLNode, XMLNodeList, XMLProcessingInstruction, XMLRaw, XMLText, getValue, isEmpty, isFunction, isObject, ref1, hasProp = {}.hasOwnProperty; - ref1 = __nccwpck_require__(322), isObject = ref1.isObject, isFunction = ref1.isFunction, isEmpty = ref1.isEmpty, getValue = ref1.getValue; + ref1 = __nccwpck_require__(7346), isObject = ref1.isObject, isFunction = ref1.isFunction, isEmpty = ref1.isEmpty, getValue = ref1.getValue; XMLElement = null; @@ -68504,19 +68504,19 @@ function wrappy (fn, cb) { this.children = []; this.baseURI = null; if (!XMLElement) { - XMLElement = __nccwpck_require__(6278); - XMLCData = __nccwpck_require__(9286); - XMLComment = __nccwpck_require__(2169); - XMLDeclaration = __nccwpck_require__(3425); - XMLDocType = __nccwpck_require__(9371); - XMLRaw = __nccwpck_require__(3740); - XMLText = __nccwpck_require__(6025); - XMLProcessingInstruction = __nccwpck_require__(8699); - XMLDummy = __nccwpck_require__(8245); - NodeType = __nccwpck_require__(6130); - XMLNodeList = __nccwpck_require__(1166); - XMLNamedNodeMap = __nccwpck_require__(8827); - DocumentPosition = __nccwpck_require__(6242); + XMLElement = __nccwpck_require__(7046); + XMLCData = __nccwpck_require__(6794); + XMLComment = __nccwpck_require__(734); + XMLDeclaration = __nccwpck_require__(3159); + XMLDocType = __nccwpck_require__(742); + XMLRaw = __nccwpck_require__(1678); + XMLText = __nccwpck_require__(6114); + XMLProcessingInstruction = __nccwpck_require__(3361); + XMLDummy = __nccwpck_require__(9777); + NodeType = __nccwpck_require__(1764); + XMLNodeList = __nccwpck_require__(7976); + XMLNamedNodeMap = __nccwpck_require__(444); + DocumentPosition = __nccwpck_require__(2282); } } @@ -69249,7 +69249,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 1166: +/***/ 7976: /***/ (function(module) { // Generated by CoffeeScript 1.12.7 @@ -69284,7 +69284,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 8699: +/***/ 3361: /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 @@ -69293,9 +69293,9 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - NodeType = __nccwpck_require__(6130); + NodeType = __nccwpck_require__(1764); - XMLCharacterData = __nccwpck_require__(761); + XMLCharacterData = __nccwpck_require__(5075); module.exports = XMLProcessingInstruction = (function(superClass) { extend(XMLProcessingInstruction, superClass); @@ -69340,7 +69340,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 3740: +/***/ 1678: /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 @@ -69349,9 +69349,9 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - NodeType = __nccwpck_require__(6130); + NodeType = __nccwpck_require__(1764); - XMLNode = __nccwpck_require__(8759); + XMLNode = __nccwpck_require__(9473); module.exports = XMLRaw = (function(superClass) { extend(XMLRaw, superClass); @@ -69382,7 +69382,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 6053: +/***/ 6026: /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 @@ -69391,11 +69391,11 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - NodeType = __nccwpck_require__(6130); + NodeType = __nccwpck_require__(1764); - XMLWriterBase = __nccwpck_require__(4396); + XMLWriterBase = __nccwpck_require__(2973); - WriterState = __nccwpck_require__(5937); + WriterState = __nccwpck_require__(7995); module.exports = XMLStreamWriter = (function(superClass) { extend(XMLStreamWriter, superClass); @@ -69565,7 +69565,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 5854: +/***/ 1375: /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 @@ -69574,7 +69574,7 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - XMLWriterBase = __nccwpck_require__(4396); + XMLWriterBase = __nccwpck_require__(2973); module.exports = XMLStringWriter = (function(superClass) { extend(XMLStringWriter, superClass); @@ -69607,7 +69607,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 2446: +/***/ 121: /***/ (function(module) { // Generated by CoffeeScript 1.12.7 @@ -69854,7 +69854,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 6025: +/***/ 6114: /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 @@ -69863,9 +69863,9 @@ function wrappy (fn, cb) { extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; - NodeType = __nccwpck_require__(6130); + NodeType = __nccwpck_require__(1764); - XMLCharacterData = __nccwpck_require__(761); + XMLCharacterData = __nccwpck_require__(5075); module.exports = XMLText = (function(superClass) { extend(XMLText, superClass); @@ -69930,7 +69930,7 @@ function wrappy (fn, cb) { /***/ }), -/***/ 4396: +/***/ 2973: /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 @@ -69938,37 +69938,37 @@ function wrappy (fn, cb) { var NodeType, WriterState, XMLCData, XMLComment, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDeclaration, XMLDocType, XMLDummy, XMLElement, XMLProcessingInstruction, XMLRaw, XMLText, XMLWriterBase, assign, hasProp = {}.hasOwnProperty; - assign = (__nccwpck_require__(322).assign); + assign = (__nccwpck_require__(7346).assign); - NodeType = __nccwpck_require__(6130); + NodeType = __nccwpck_require__(1764); - XMLDeclaration = __nccwpck_require__(3425); + XMLDeclaration = __nccwpck_require__(3159); - XMLDocType = __nccwpck_require__(9371); + XMLDocType = __nccwpck_require__(742); - XMLCData = __nccwpck_require__(9286); + XMLCData = __nccwpck_require__(6794); - XMLComment = __nccwpck_require__(2169); + XMLComment = __nccwpck_require__(734); - XMLElement = __nccwpck_require__(6278); + XMLElement = __nccwpck_require__(7046); - XMLRaw = __nccwpck_require__(3740); + XMLRaw = __nccwpck_require__(1678); - XMLText = __nccwpck_require__(6025); + XMLText = __nccwpck_require__(6114); - XMLProcessingInstruction = __nccwpck_require__(8699); + XMLProcessingInstruction = __nccwpck_require__(3361); - XMLDummy = __nccwpck_require__(8245); + XMLDummy = __nccwpck_require__(9777); - XMLDTDAttList = __nccwpck_require__(4157); + XMLDTDAttList = __nccwpck_require__(469); - XMLDTDElement = __nccwpck_require__(9622); + XMLDTDElement = __nccwpck_require__(6237); - XMLDTDEntity = __nccwpck_require__(341); + XMLDTDEntity = __nccwpck_require__(8046); - XMLDTDNotation = __nccwpck_require__(7770); + XMLDTDNotation = __nccwpck_require__(4909); - WriterState = __nccwpck_require__(5937); + WriterState = __nccwpck_require__(7995); module.exports = XMLWriterBase = (function() { function XMLWriterBase(options) { @@ -70365,28 +70365,28 @@ function wrappy (fn, cb) { /***/ }), -/***/ 5413: +/***/ 9507: /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { // Generated by CoffeeScript 1.12.7 (function() { var NodeType, WriterState, XMLDOMImplementation, XMLDocument, XMLDocumentCB, XMLStreamWriter, XMLStringWriter, assign, isFunction, ref; - ref = __nccwpck_require__(322), assign = ref.assign, isFunction = ref.isFunction; + ref = __nccwpck_require__(7346), assign = ref.assign, isFunction = ref.isFunction; - XMLDOMImplementation = __nccwpck_require__(7832); + XMLDOMImplementation = __nccwpck_require__(3269); - XMLDocument = __nccwpck_require__(6966); + XMLDocument = __nccwpck_require__(1314); - XMLDocumentCB = __nccwpck_require__(602); + XMLDocumentCB = __nccwpck_require__(2707); - XMLStringWriter = __nccwpck_require__(5854); + XMLStringWriter = __nccwpck_require__(1375); - XMLStreamWriter = __nccwpck_require__(6053); + XMLStreamWriter = __nccwpck_require__(6026); - NodeType = __nccwpck_require__(6130); + NodeType = __nccwpck_require__(1764); - WriterState = __nccwpck_require__(5937); + WriterState = __nccwpck_require__(7995); module.exports.create = function(name, xmldec, doctype, options) { var doc, root; @@ -70437,524 +70437,524 @@ function wrappy (fn, cb) { /***/ }), -/***/ 8742: +/***/ 3123: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -// Copyright © 2022 Gitleaks LLC - All Rights Reserved. -// You may use this code under the terms of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT. -// You should have received a copy of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT with this file. -// If not, please visit https://gitleaks.io/COMMERCIAL-LICENSE.txt. - -const exec = __nccwpck_require__(6379); -const cache = __nccwpck_require__(108); -const core = __nccwpck_require__(8336); -const tc = __nccwpck_require__(3795); -const { readFileSync } = __nccwpck_require__(7147); -const os = __nccwpck_require__(2037); -const path = __nccwpck_require__(1017); -const artifact = __nccwpck_require__(6614); - -const EXIT_CODE_LEAKS_DETECTED = 2; - -// TODO: Make a gitleaks class with an octokit attribute so we don't have to pass in the octokit to every method. - -// Install will download the version of gitleaks specified in GITLEAKS_VERSION -// or use the latest version of gitleaks if GITLEAKS_VERSION is not specified. -// This function will also cache the downloaded gitleaks binary in the tool cache. -async function Install(version) { - const pathToInstall = path.join(os.tmpdir(), `gitleaks-${version}`); - core.info( - `Version to install: ${version} (target directory: ${pathToInstall})` - ); - const cacheKey = `gitleaks-cache-${version}-${process.platform}-${process.arch}`; - let restoredFromCache = undefined; - try { - restoredFromCache = await cache.restoreCache([pathToInstall], cacheKey); - } catch (error) { - core.warning(error); - } - - if (restoredFromCache !== undefined) { - core.info(`Gitleaks restored from cache`); - } else { - const gitleaksReleaseURL = downloadURL( - process.platform, - process.arch, - version - ); - core.info(`Downloading gitleaks from ${gitleaksReleaseURL}`); - let downloadPath = ""; - try { - downloadPath = await tc.downloadTool( - gitleaksReleaseURL, - path.join(os.tmpdir(), `gitleaks.tmp`) - ); - } catch (error) { - core.error( - `could not install gitleaks from ${gitleaksReleaseURL}, error: ${error}` - ); - } - - if (gitleaksReleaseURL.endsWith(".zip")) { - await tc.extractZip(downloadPath, pathToInstall); - } else if (gitleaksReleaseURL.endsWith(".tar.gz")) { - await tc.extractTar(downloadPath, pathToInstall); - } else { - core.error(`Unsupported archive format: ${gitleaksReleaseURL}`); - } - - try { - await cache.saveCache([pathToInstall], cacheKey); - } catch (error) { - core.warning(error); - } - } - - core.addPath(pathToInstall); -} - -function downloadURL(platform, arch, version) { - const baseURL = "https://github.com/zricethezav/gitleaks/releases/download"; - if (platform == "win32") { - platform = "windows"; - } - return `${baseURL}/v${version}/gitleaks_${version}_${platform}_${arch}.tar.gz`; -} - -async function Latest(octokit) { - // docs: https://octokit.github.io/rest.js/v18#repos-get-latest-release - const latest = await octokit.rest.repos.getLatestRelease({ - owner: "zricethezav", - repo: "gitleaks", - }); - - return latest.data.tag_name.replace(/^v/, ""); -} - -async function Scan(gitleaksEnableUploadArtifact, scanInfo, eventType) { - let args = [ - "detect", - "--redact", - "-v", - "--exit-code=2", - "--report-format=sarif", - "--report-path=results.sarif", - "--log-level=debug", - ]; - - if (eventType == "push") { - if (scanInfo.baseRef == scanInfo.headRef) { - // if base and head refs are the same, use `--log-opts=-1` to - // scan only one commit - args.push(`--log-opts=-1`); - } else { - args.push( - `--log-opts=--no-merges --first-parent ${scanInfo.baseRef}^..${scanInfo.headRef}` - ); - } - } else if (eventType == "pull_request") { - args.push( - `--log-opts=--no-merges --first-parent ${scanInfo.baseRef}^..${scanInfo.headRef}` - ); - } - - core.info(`gitleaks cmd: gitleaks ${args.join(" ")}`); - let exitCode = await exec.exec("gitleaks", args, { - ignoreReturnCode: true, - delay: 60 * 1000, - }); - core.setOutput("exit-code", exitCode); - - if (exitCode == EXIT_CODE_LEAKS_DETECTED) { - const artifactClient = artifact.create(); - const artifactName = "gitleaks-results.sarif"; - const options = { - continueOnError: true, - }; - - if (gitleaksEnableUploadArtifact == true) { - await artifactClient.uploadArtifact( - artifactName, - ["results.sarif"], - process.env.HOME, - options - ); - } - } - return exitCode; -} - -async function ScanPullRequest( - gitleaksEnableUploadArtifact, - octokit, - eventJSON, - eventType -) { - const fullName = eventJSON.repository.full_name; - const [owner, repo] = fullName.split("/"); - - if (!process.env.GITHUB_TOKEN) { - core.error( - "🛑 GITHUB_TOKEN is now required to scan pull requests. You can use the automatically created token as shown in the [README](https://github.com/gitleaks/gitleaks-action#usage-example). For more info about the recent breaking update, see [here](https://github.com/gitleaks/gitleaks-action#-announcement)." - ); - process.exit(1); - } - - let commits = await octokit.request( - "GET /repos/{owner}/{repo}/pulls/{pull_number}/commits", - { - owner: owner, - repo: repo, - pull_number: eventJSON.number, - } - ); - - let scanInfo = { - baseRef: commits.data[0].sha, - headRef: commits.data[commits.data.length - 1].sha, - }; - - const exitCode = await Scan( - gitleaksEnableUploadArtifact, - scanInfo, - eventType - ); - - // skip comments if `GITLEAKS_ENABLE_COMMENTS` is set to false - if (process.env.GITLEAKS_ENABLE_COMMENTS == "false") { - core.info("skipping comments"); - return exitCode; - } - - if (exitCode == EXIT_CODE_LEAKS_DETECTED) { - // read results.sarif file - const sarif = JSON.parse(readFileSync("results.sarif", "utf8")); - // iterate through results - for (let i = 0; i < sarif.runs[0].results.length; i++) { - let results = sarif.runs[0].results[i]; - const commit_sha = results.partialFingerprints.commitSha; - const fingerprint = - commit_sha + - ":" + - results.locations[0].physicalLocation.artifactLocation.uri + - ":" + - results.ruleId + - ":" + - results.locations[0].physicalLocation.region.startLine; - - let proposedComment = { - owner: owner, - repo: repo, - pull_number: eventJSON.number, - body: `🛑 **Gitleaks** has detected a secret with rule-id \`${results.ruleId}\` in commit ${commit_sha}. -If this secret is a _true_ positive, please rotate the secret ASAP. - -If this secret is a _false_ positive, you can add the fingerprint below to your \`.gitleaksignore\` file and commit the change to this branch. - -\`\`\` -echo ${fingerprint} >> .gitleaksignore -\`\`\` -`, - commit_id: commit_sha, - path: results.locations[0].physicalLocation.artifactLocation.uri, - side: "RIGHT", - line: results.locations[0].physicalLocation.region.startLine, - }; - - // check if there are any GITLEAKS_NOTIFY_USER_LIST env variable - if (process.env.GITLEAKS_NOTIFY_USER_LIST) { - proposedComment.body += `\n\ncc ${process.env.GITLEAKS_NOTIFY_USER_LIST}`; - } - - // check if there are any review comments on the pull request currently - let comments = await octokit.request( - "GET /repos/{owner}/{repo}/pulls/{pull_number}/comments", - { - owner: owner, - repo: repo, - pull_number: eventJSON.number, - } - ); - - let skip = false; - // iterate through comments, checking if the proposed comment is already present - // TODO: If performance becomes too slow, pull this for loop out of the - // outer for loop and create a dictionary of all the existing comments - comments.data.forEach((comment) => { - if ( - comment.body == proposedComment.body && - comment.path == proposedComment.path && - comment.original_line == proposedComment.line - ) { - // comment already present, skip - skip = true; - return; - } - }); - - if (skip == true) { - continue; - } - - try { - await octokit.rest.pulls.createReviewComment(proposedComment); - } catch (error) { - core.warning(`Error encountered when attempting to write a comment on PR #${eventJSON.number}. -Likely an issue with too large of a diff for the comment to be written. -All secrets that have been leaked will be reported in the summary and job artifact.`); - } - } - } - - // exit code 2 means leaks detected - // exit code 1 means error has occurred in gitleaks - // exit code 0 means no leaks detected - return exitCode; -} - -module.exports.Scan = Scan; -module.exports.Latest = Latest; -module.exports.Install = Install; -module.exports.ScanPullRequest = ScanPullRequest; -module.exports.EXIT_CODE_LEAKS_DETECTED = EXIT_CODE_LEAKS_DETECTED; +// Copyright © 2022 Gitleaks LLC - All Rights Reserved. +// You may use this code under the terms of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT. +// You should have received a copy of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT with this file. +// If not, please visit https://gitleaks.io/COMMERCIAL-LICENSE.txt. + +const exec = __nccwpck_require__(6081); +const cache = __nccwpck_require__(940); +const core = __nccwpck_require__(4550); +const tc = __nccwpck_require__(638); +const { readFileSync } = __nccwpck_require__(7147); +const os = __nccwpck_require__(2037); +const path = __nccwpck_require__(1017); +const artifact = __nccwpck_require__(6725); + +const EXIT_CODE_LEAKS_DETECTED = 2; + +// TODO: Make a gitleaks class with an octokit attribute so we don't have to pass in the octokit to every method. + +// Install will download the version of gitleaks specified in GITLEAKS_VERSION +// or use the latest version of gitleaks if GITLEAKS_VERSION is not specified. +// This function will also cache the downloaded gitleaks binary in the tool cache. +async function Install(version) { + const pathToInstall = path.join(os.tmpdir(), `gitleaks-${version}`); + core.info( + `Version to install: ${version} (target directory: ${pathToInstall})` + ); + const cacheKey = `gitleaks-cache-${version}-${process.platform}-${process.arch}`; + let restoredFromCache = undefined; + try { + restoredFromCache = await cache.restoreCache([pathToInstall], cacheKey); + } catch (error) { + core.warning(error); + } + + if (restoredFromCache !== undefined) { + core.info(`Gitleaks restored from cache`); + } else { + const gitleaksReleaseURL = downloadURL( + process.platform, + process.arch, + version + ); + core.info(`Downloading gitleaks from ${gitleaksReleaseURL}`); + let downloadPath = ""; + try { + downloadPath = await tc.downloadTool( + gitleaksReleaseURL, + path.join(os.tmpdir(), `gitleaks.tmp`) + ); + } catch (error) { + core.error( + `could not install gitleaks from ${gitleaksReleaseURL}, error: ${error}` + ); + } + + if (gitleaksReleaseURL.endsWith(".zip")) { + await tc.extractZip(downloadPath, pathToInstall); + } else if (gitleaksReleaseURL.endsWith(".tar.gz")) { + await tc.extractTar(downloadPath, pathToInstall); + } else { + core.error(`Unsupported archive format: ${gitleaksReleaseURL}`); + } + + try { + await cache.saveCache([pathToInstall], cacheKey); + } catch (error) { + core.warning(error); + } + } + + core.addPath(pathToInstall); +} + +function downloadURL(platform, arch, version) { + const baseURL = "https://github.com/zricethezav/gitleaks/releases/download"; + if (platform == "win32") { + platform = "windows"; + } + return `${baseURL}/v${version}/gitleaks_${version}_${platform}_${arch}.tar.gz`; +} + +async function Latest(octokit) { + // docs: https://octokit.github.io/rest.js/v18#repos-get-latest-release + const latest = await octokit.rest.repos.getLatestRelease({ + owner: "zricethezav", + repo: "gitleaks", + }); + + return latest.data.tag_name.replace(/^v/, ""); +} + +async function Scan(gitleaksEnableUploadArtifact, scanInfo, eventType) { + let args = [ + "detect", + "--redact", + "-v", + "--exit-code=2", + "--report-format=sarif", + "--report-path=results.sarif", + "--log-level=debug", + ]; + + if (eventType == "push") { + if (scanInfo.baseRef == scanInfo.headRef) { + // if base and head refs are the same, use `--log-opts=-1` to + // scan only one commit + args.push(`--log-opts=-1`); + } else { + args.push( + `--log-opts=--no-merges --first-parent ${scanInfo.baseRef}^..${scanInfo.headRef}` + ); + } + } else if (eventType == "pull_request") { + args.push( + `--log-opts=--no-merges --first-parent ${scanInfo.baseRef}^..${scanInfo.headRef}` + ); + } + + core.info(`gitleaks cmd: gitleaks ${args.join(" ")}`); + let exitCode = await exec.exec("gitleaks", args, { + ignoreReturnCode: true, + delay: 60 * 1000, + }); + core.setOutput("exit-code", exitCode); + + if (exitCode == EXIT_CODE_LEAKS_DETECTED) { + const artifactClient = artifact.create(); + const artifactName = "gitleaks-results.sarif"; + const options = { + continueOnError: true, + }; + + if (gitleaksEnableUploadArtifact == true) { + await artifactClient.uploadArtifact( + artifactName, + ["results.sarif"], + process.env.HOME, + options + ); + } + } + return exitCode; +} + +async function ScanPullRequest( + gitleaksEnableUploadArtifact, + octokit, + eventJSON, + eventType +) { + const fullName = eventJSON.repository.full_name; + const [owner, repo] = fullName.split("/"); + + if (!process.env.GITHUB_TOKEN) { + core.error( + "🛑 GITHUB_TOKEN is now required to scan pull requests. You can use the automatically created token as shown in the [README](https://github.com/gitleaks/gitleaks-action#usage-example). For more info about the recent breaking update, see [here](https://github.com/gitleaks/gitleaks-action#-announcement)." + ); + process.exit(1); + } + + let commits = await octokit.request( + "GET /repos/{owner}/{repo}/pulls/{pull_number}/commits", + { + owner: owner, + repo: repo, + pull_number: eventJSON.number, + } + ); + + let scanInfo = { + baseRef: commits.data[0].sha, + headRef: commits.data[commits.data.length - 1].sha, + }; + + const exitCode = await Scan( + gitleaksEnableUploadArtifact, + scanInfo, + eventType + ); + + // skip comments if `GITLEAKS_ENABLE_COMMENTS` is set to false + if (process.env.GITLEAKS_ENABLE_COMMENTS == "false") { + core.info("skipping comments"); + return exitCode; + } + + if (exitCode == EXIT_CODE_LEAKS_DETECTED) { + // read results.sarif file + const sarif = JSON.parse(readFileSync("results.sarif", "utf8")); + // iterate through results + for (let i = 0; i < sarif.runs[0].results.length; i++) { + let results = sarif.runs[0].results[i]; + const commit_sha = results.partialFingerprints.commitSha; + const fingerprint = + commit_sha + + ":" + + results.locations[0].physicalLocation.artifactLocation.uri + + ":" + + results.ruleId + + ":" + + results.locations[0].physicalLocation.region.startLine; + + let proposedComment = { + owner: owner, + repo: repo, + pull_number: eventJSON.number, + body: `🛑 **Gitleaks** has detected a secret with rule-id \`${results.ruleId}\` in commit ${commit_sha}. +If this secret is a _true_ positive, please rotate the secret ASAP. + +If this secret is a _false_ positive, you can add the fingerprint below to your \`.gitleaksignore\` file and commit the change to this branch. + +\`\`\` +echo ${fingerprint} >> .gitleaksignore +\`\`\` +`, + commit_id: commit_sha, + path: results.locations[0].physicalLocation.artifactLocation.uri, + side: "RIGHT", + line: results.locations[0].physicalLocation.region.startLine, + }; + + // check if there are any GITLEAKS_NOTIFY_USER_LIST env variable + if (process.env.GITLEAKS_NOTIFY_USER_LIST) { + proposedComment.body += `\n\ncc ${process.env.GITLEAKS_NOTIFY_USER_LIST}`; + } + + // check if there are any review comments on the pull request currently + let comments = await octokit.request( + "GET /repos/{owner}/{repo}/pulls/{pull_number}/comments", + { + owner: owner, + repo: repo, + pull_number: eventJSON.number, + } + ); + + let skip = false; + // iterate through comments, checking if the proposed comment is already present + // TODO: If performance becomes too slow, pull this for loop out of the + // outer for loop and create a dictionary of all the existing comments + comments.data.forEach((comment) => { + if ( + comment.body == proposedComment.body && + comment.path == proposedComment.path && + comment.original_line == proposedComment.line + ) { + // comment already present, skip + skip = true; + return; + } + }); + + if (skip == true) { + continue; + } + + try { + await octokit.rest.pulls.createReviewComment(proposedComment); + } catch (error) { + core.warning(`Error encountered when attempting to write a comment on PR #${eventJSON.number}: ${error} +Likely an issue with too large of a diff for the comment to be written. +All secrets that have been leaked will be reported in the summary and job artifact.`); + } + } + } + + // exit code 2 means leaks detected + // exit code 1 means error has occurred in gitleaks + // exit code 0 means no leaks detected + return exitCode; +} + +module.exports.Scan = Scan; +module.exports.Latest = Latest; +module.exports.Install = Install; +module.exports.ScanPullRequest = ScanPullRequest; +module.exports.EXIT_CODE_LEAKS_DETECTED = EXIT_CODE_LEAKS_DETECTED; /***/ }), -/***/ 6818: +/***/ 7408: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -// Copyright © 2022 Gitleaks LLC - All Rights Reserved. -// You may use this code under the terms of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT. -// You should have received a copy of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT with this file. -// If not, please visit https://gitleaks.io/COMMERCIAL-LICENSE.txt. -const https = __nccwpck_require__(5687); - -const GITLEAKS_LICENSE = process.env.GITLEAKS_LICENSE; - -// This is publishable, don't worry ;) -const KEYGEN_ACCOUNT = - "64626262306364622d353538332d343662392d613563302d346337653865326634623032"; -const KEYGEN_HOST = "api.keygen.sh"; - -// validateKey handles the validation and/or activation of a GITLEAKS_LICENSE -// key if one is available. -async function ValidateKey(eventJSON) { - const REPO_FINGERPRINT = - eventJSON.repository.owner.node_id + "|" + eventJSON.repository.node_id; - var validateKeyRequestOptions = { - method: "POST", - hostname: KEYGEN_HOST, - path: `/v1/accounts/${Buffer.from( - KEYGEN_ACCOUNT, - "hex" - )}/licenses/actions/validate-key`, - headers: { - "Content-Type": "application/vnd.api+json", - Accept: "application/vnd.api+json", - }, - }; - - // TODO add machines(repo) info to validate - var validateKeyRequestData = JSON.stringify({ - meta: { - key: `${GITLEAKS_LICENSE}`, - scope: { - fingerprint: `${REPO_FINGERPRINT}`, - }, - }, - }); - let validateKeyResponse = await doRequest( - validateKeyRequestOptions, - validateKeyRequestData - ); - switch (validateKeyResponse.meta.constant) { - case "VALID": - console.log("👍 license valid"); - return; - case "TOO_MANY_MACHINES": - console.error( - `🛑 Cannot use gitleaks-action on this repo. Your license key has already reached its limit of [${validateKeyResponse.data.attributes.maxMachines}] repos. Go to gitleaks.io to upgrade your license to enable additional repos.` - ); - process.exit(1); - case "FINGERPRINT_SCOPE_MISMATCH": - case "NO_MACHINES": // Intentional fall-through - case "NO_MACHINE": - // If no machines are associated with the license, but the license exists and is not expired - // then we can try to activate a "machine", or repo, for the license. - var activationRequestOptions = { - method: "POST", - hostname: KEYGEN_HOST, - path: `/v1/accounts/${Buffer.from(KEYGEN_ACCOUNT, "hex")}/machines`, - headers: { - "Content-Type": "application/vnd.api+json", - Accept: "application/vnd.api+json", - Authorization: `License ${GITLEAKS_LICENSE}`, - }, - }; - - var activationRequestData = JSON.stringify({ - data: { - type: "machines", - attributes: { - fingerprint: `${REPO_FINGERPRINT}`, - platform: "github-actions", - name: `${eventJSON.repository.full_name}`, - }, - relationships: { - license: { - data: { - type: "licenses", - id: validateKeyResponse.data.id, - }, - }, - }, - }, - }); - - console.log( - "❗ this repo has not been associated with the license, attempting to activate a repo for the license" - ); - - let activationResponse = await doRequest( - activationRequestOptions, - activationRequestData - ); - - if (activationResponse.hasOwnProperty("errors")) { - console.error( - `🛑 Activation request returned [${activationResponse.errors.length}] errors:` - ); - activationResponse.errors.forEach((error) => { - const errorCode = error.code || ""; - const errorTitle = error.title || ""; - const errorDetail = error.detail || ""; - const errorSourcePointer = error.source.pointer || ""; - const errorSourceParameter = error.source.parameter || ""; - console.error( - `🛑 Error activating repo: ${errorCode} | ${errorTitle} | ${errorDetail} | ${errorSourcePointer} | ${errorSourceParameter}` - ); - }); - - process.exit(1); - } - - console.debug(`Response: ${JSON.stringify(activationResponse)}`); // TODO: Consider removing or moving this log. - - if (activationResponse.status == 201) { - console.log( - `Successfully added repo [${activationResponse.data.attributes.name}] to license.` - ); - return 201; - } else { - console.log( - `Activation response returned status [${activationResponse.status}].` - ); - } - break; - default: - console.error( - `🛑 Error: Validating key returned [${JSON.stringify( - validateKeyResponse - )}]` - ); - process.exit(1); - } -} - -function doRequest(options, data) { - return new Promise((resolve, reject) => { - const req = https.request(options, (res) => { - res.setEncoding("utf8"); - let responseBody = ""; - - res.on("data", (chunk) => { - responseBody += chunk; - }); - - res.on("end", () => { - resolve(JSON.parse(responseBody)); - }); - }); - - req.on("error", (err) => { - reject(err); - }); - - req.write(data); - req.end(); - }); -} - -module.exports.ValidateKey = ValidateKey; +// Copyright © 2022 Gitleaks LLC - All Rights Reserved. +// You may use this code under the terms of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT. +// You should have received a copy of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT with this file. +// If not, please visit https://gitleaks.io/COMMERCIAL-LICENSE.txt. +const https = __nccwpck_require__(5687); + +const GITLEAKS_LICENSE = process.env.GITLEAKS_LICENSE; + +// This is publishable, don't worry ;) +const KEYGEN_ACCOUNT = + "64626262306364622d353538332d343662392d613563302d346337653865326634623032"; +const KEYGEN_HOST = "api.keygen.sh"; + +// validateKey handles the validation and/or activation of a GITLEAKS_LICENSE +// key if one is available. +async function ValidateKey(eventJSON) { + const REPO_FINGERPRINT = + eventJSON.repository.owner.node_id + "|" + eventJSON.repository.node_id; + var validateKeyRequestOptions = { + method: "POST", + hostname: KEYGEN_HOST, + path: `/v1/accounts/${Buffer.from( + KEYGEN_ACCOUNT, + "hex" + )}/licenses/actions/validate-key`, + headers: { + "Content-Type": "application/vnd.api+json", + Accept: "application/vnd.api+json", + }, + }; + + // TODO add machines(repo) info to validate + var validateKeyRequestData = JSON.stringify({ + meta: { + key: `${GITLEAKS_LICENSE}`, + scope: { + fingerprint: `${REPO_FINGERPRINT}`, + }, + }, + }); + let validateKeyResponse = await doRequest( + validateKeyRequestOptions, + validateKeyRequestData + ); + switch (validateKeyResponse.meta.constant) { + case "VALID": + console.log("👍 license valid"); + return; + case "TOO_MANY_MACHINES": + console.error( + `🛑 Cannot use gitleaks-action on this repo. Your license key has already reached its limit of [${validateKeyResponse.data.attributes.maxMachines}] repos. Go to gitleaks.io to upgrade your license to enable additional repos.` + ); + process.exit(1); + case "FINGERPRINT_SCOPE_MISMATCH": + case "NO_MACHINES": // Intentional fall-through + case "NO_MACHINE": + // If no machines are associated with the license, but the license exists and is not expired + // then we can try to activate a "machine", or repo, for the license. + var activationRequestOptions = { + method: "POST", + hostname: KEYGEN_HOST, + path: `/v1/accounts/${Buffer.from(KEYGEN_ACCOUNT, "hex")}/machines`, + headers: { + "Content-Type": "application/vnd.api+json", + Accept: "application/vnd.api+json", + Authorization: `License ${GITLEAKS_LICENSE}`, + }, + }; + + var activationRequestData = JSON.stringify({ + data: { + type: "machines", + attributes: { + fingerprint: `${REPO_FINGERPRINT}`, + platform: "github-actions", + name: `${eventJSON.repository.full_name}`, + }, + relationships: { + license: { + data: { + type: "licenses", + id: validateKeyResponse.data.id, + }, + }, + }, + }, + }); + + console.log( + "❗ this repo has not been associated with the license, attempting to activate a repo for the license" + ); + + let activationResponse = await doRequest( + activationRequestOptions, + activationRequestData + ); + + if (activationResponse.hasOwnProperty("errors")) { + console.error( + `🛑 Activation request returned [${activationResponse.errors.length}] errors:` + ); + activationResponse.errors.forEach((error) => { + const errorCode = error.code || ""; + const errorTitle = error.title || ""; + const errorDetail = error.detail || ""; + const errorSourcePointer = error.source.pointer || ""; + const errorSourceParameter = error.source.parameter || ""; + console.error( + `🛑 Error activating repo: ${errorCode} | ${errorTitle} | ${errorDetail} | ${errorSourcePointer} | ${errorSourceParameter}` + ); + }); + + process.exit(1); + } + + console.debug(`Response: ${JSON.stringify(activationResponse)}`); // TODO: Consider removing or moving this log. + + if (activationResponse.status == 201) { + console.log( + `Successfully added repo [${activationResponse.data.attributes.name}] to license.` + ); + return 201; + } else { + console.log( + `Activation response returned status [${activationResponse.status}].` + ); + } + break; + default: + console.error( + `🛑 Error: Validating key returned [${JSON.stringify( + validateKeyResponse + )}]` + ); + process.exit(1); + } +} + +function doRequest(options, data) { + return new Promise((resolve, reject) => { + const req = https.request(options, (res) => { + res.setEncoding("utf8"); + let responseBody = ""; + + res.on("data", (chunk) => { + responseBody += chunk; + }); + + res.on("end", () => { + resolve(JSON.parse(responseBody)); + }); + }); + + req.on("error", (err) => { + reject(err); + }); + + req.write(data); + req.end(); + }); +} + +module.exports.ValidateKey = ValidateKey; /***/ }), -/***/ 7667: +/***/ 811: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -// Copyright © 2022 Gitleaks LLC - All Rights Reserved. -// You may use this code under the terms of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT. -// You should have received a copy of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT with this file. -// If not, please visit https://gitleaks.io/COMMERCIAL-LICENSE.txt. -const core = __nccwpck_require__(8336); -const { readFileSync } = __nccwpck_require__(7147); - -async function Write(exitCode, eventJSON) { - const repo_url = eventJSON.repository.html_url; - const EXIT_CODE_NO_LEAKS_DETECTED = 0; - const EXIT_CODE_GITLEAKS_ERROR = 1; - const EXIT_CODE_LEAKS_DETECTED = 2; - - if (exitCode == EXIT_CODE_LEAKS_DETECTED) { - let resultsRows = [[]]; - let resultsHeader = [ - { data: "Rule ID", header: true }, - { data: "Commit", header: true }, - { data: "Secret URL", header: true }, - { data: "Start Line", header: true }, - { data: "Author", header: true }, - { data: "Date", header: true }, - { data: "Email", header: true }, - { data: "File", header: true }, - ]; - const sarif = JSON.parse(readFileSync("results.sarif", "utf8")); - sarif.runs[0].results.forEach((result) => { - const commitSha = result.partialFingerprints.commitSha; - const commitURL = `${repo_url}/commit/${commitSha}`; - const secretURL = `${repo_url}/blob/${commitSha}/${result.locations[0].physicalLocation.artifactLocation.uri}#L${result.locations[0].physicalLocation.region.startLine}`; - const fileURL = `${repo_url}/blob/${commitSha}/${result.locations[0].physicalLocation.artifactLocation.uri}`; - resultsRows.push([ - result.ruleId, - `${commitSha.substring(0, 7)}`, - `View Secret`, - result.locations[0].physicalLocation.region.startLine.toString(), - result.partialFingerprints.author, - result.partialFingerprints.date, - result.partialFingerprints.email, - `${result.locations[0].physicalLocation.artifactLocation.uri}`, - ]); - }); - await core.summary - .addHeading("🛑 Gitleaks detected secrets 🛑") - .addTable([resultsHeader, ...resultsRows]) - .write(); - } else if (exitCode == EXIT_CODE_NO_LEAKS_DETECTED) { - await core.summary.addHeading("No leaks detected ✅").write(); - } else if (exitCode == EXIT_CODE_GITLEAKS_ERROR) { - await core.summary.addHeading(`❌ Gitleaks exited with error. Exit code [${exitCode}]`).write(); - } else { - await core.summary.addHeading(`❌ Gitleaks exited with unexpected exit code [${exitCode}]`).write(); - } -} - -module.exports.Write = Write; +// Copyright © 2022 Gitleaks LLC - All Rights Reserved. +// You may use this code under the terms of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT. +// You should have received a copy of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT with this file. +// If not, please visit https://gitleaks.io/COMMERCIAL-LICENSE.txt. +const core = __nccwpck_require__(4550); +const { readFileSync } = __nccwpck_require__(7147); + +async function Write(exitCode, eventJSON) { + const repo_url = eventJSON.repository.html_url; + const EXIT_CODE_NO_LEAKS_DETECTED = 0; + const EXIT_CODE_GITLEAKS_ERROR = 1; + const EXIT_CODE_LEAKS_DETECTED = 2; + + if (exitCode == EXIT_CODE_LEAKS_DETECTED) { + let resultsRows = [[]]; + let resultsHeader = [ + { data: "Rule ID", header: true }, + { data: "Commit", header: true }, + { data: "Secret URL", header: true }, + { data: "Start Line", header: true }, + { data: "Author", header: true }, + { data: "Date", header: true }, + { data: "Email", header: true }, + { data: "File", header: true }, + ]; + const sarif = JSON.parse(readFileSync("results.sarif", "utf8")); + sarif.runs[0].results.forEach((result) => { + const commitSha = result.partialFingerprints.commitSha; + const commitURL = `${repo_url}/commit/${commitSha}`; + const secretURL = `${repo_url}/blob/${commitSha}/${result.locations[0].physicalLocation.artifactLocation.uri}#L${result.locations[0].physicalLocation.region.startLine}`; + const fileURL = `${repo_url}/blob/${commitSha}/${result.locations[0].physicalLocation.artifactLocation.uri}`; + resultsRows.push([ + result.ruleId, + `${commitSha.substring(0, 7)}`, + `View Secret`, + result.locations[0].physicalLocation.region.startLine.toString(), + result.partialFingerprints.author, + result.partialFingerprints.date, + result.partialFingerprints.email, + `${result.locations[0].physicalLocation.artifactLocation.uri}`, + ]); + }); + await core.summary + .addHeading("🛑 Gitleaks detected secrets 🛑") + .addTable([resultsHeader, ...resultsRows]) + .write(); + } else if (exitCode == EXIT_CODE_NO_LEAKS_DETECTED) { + await core.summary.addHeading("No leaks detected ✅").write(); + } else if (exitCode == EXIT_CODE_GITLEAKS_ERROR) { + await core.summary.addHeading(`❌ Gitleaks exited with error. Exit code [${exitCode}]`).write(); + } else { + await core.summary.addHeading(`❌ Gitleaks exited with unexpected exit code [${exitCode}]`).write(); + } +} + +module.exports.Write = Write; /***/ }), -/***/ 6258: +/***/ 1690: /***/ ((module) => { module.exports = eval("require")("encoding"); @@ -71187,221 +71187,221 @@ module.exports = JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"] var __webpack_exports__ = {}; // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. (() => { -// Copyright © 2022 Gitleaks LLC - All Rights Reserved. -// You may use this code under the terms of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT. -// You should have received a copy of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT with this file. -// If not, please visit https://gitleaks.io/COMMERCIAL-LICENSE.txt. - -const { Octokit } = __nccwpck_require__(1463); -const { readFileSync } = __nccwpck_require__(7147); -const core = __nccwpck_require__(8336); -const summary = __nccwpck_require__(7667); -const keygen = __nccwpck_require__(6818); -const gitleaks = __nccwpck_require__(8742); - -let gitleaksEnableSummary = true; -if ( - process.env.GITLEAKS_ENABLE_SUMMARY == "false" || - process.env.GITLEAKS_ENABLE_SUMMARY == 0 -) { - core.debug("Disabling GitHub Actions Summary."); - gitleaksEnableSummary = false; -} - -let gitleaksEnableUploadArtifact = true; -if ( - process.env.GITLEAKS_ENABLE_UPLOAD_ARTIFACT == "false" || - process.env.GITLEAKS_ENABLE_UPLOAD_ARTIFACT == 0 -) { - core.debug("Disabling uploading of results.sarif artifact."); - gitleaksEnableUploadArtifact = false; -} - -// Event JSON example: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#webhook-payload-example-32 -let eventJSON = JSON.parse(readFileSync(process.env.GITHUB_EVENT_PATH, "utf8")); - -// Examples of event types: "workflow_dispatch", "push", "pull_request", etc -const eventType = process.env.GITHUB_EVENT_NAME; -const supportedEvents = [ - "push", - "pull_request", - "workflow_dispatch", - "schedule", -]; - -if (!supportedEvents.includes(eventType)) { - core.error(`ERROR: The [${eventType}] event is not yet supported`); - process.exit(1); -} - -// Determine if the github user is an individual or an organization -let githubUsername = ""; - -// eventJSON.repository is undefined for scheduled events -if (eventType == "schedule") { - githubUsername = process.env.GITHUB_REPOSITORY_OWNER; - eventJSON.repository = { - owner: { - login: process.env.GITHUB_REPOSITORY_OWNER, - }, - }; - let repoName = process.env.GITHUB_REPOSITORY; - repoName = repoName.replace(`${process.env.GITHUB_REPOSITORY_OWNER}/`, ""); - // update repo name - process.env.GITHUB_REPOSITORY = repoName; -} else { - githubUsername = eventJSON.repository.owner.login; -} - -const octokit = new Octokit({ - auth: process.env.GITHUB_TOKEN, - baseUrl: process.env.GITHUB_API_URL, -}); - -var shouldValidate = true; - -// Docs: https://docs.github.com/en/rest/users/users#get-a-user -octokit - .request("GET /users/{username}", { - username: githubUsername, - }) - .then((user) => { - const githubUserType = user.data.type; - if (eventType == "schedule") { - eventJSON.repository.owner.node_id = user.data.node_id; - } - - switch (githubUserType) { - case "Organization": - core.info( - `[${githubUsername}] is an organization. License key is required.` - ); - break; - case "User": - core.info( - `[${githubUsername}] is an individual user. No license key is required.` - ); - shouldValidate = false; - break; - default: - core.warning( - `[${githubUsername}] is an unexpected type [${githubUserType}]. License key validation will be enforced 🤷.` - ); - core.debug(`GitHub GET user API returned [${JSON.stringify(user)}]`); - } - }) - .catch((err) => { - core.warning( - `Get user [${githubUsername}] failed with error [${err}]. License key validation will be enforced 🤷.` - ); - }) - .finally(() => { - // check if a gitleaks license is available, if not log error message - if (shouldValidate && !process.env.GITLEAKS_LICENSE) { - core.error( - "🛑 missing gitleaks license. Go grab one at gitleaks.io and store it as a GitHub Secret named GITLEAKS_LICENSE. For more info about the recent breaking update, see [here](https://github.com/gitleaks/gitleaks-action#-announcement)." - ); - process.exit(1); - } - if (eventType == "schedule") { - octokit - .request("GET /repos/{owner}/{repo}", { - owner: githubUsername, - repo: process.env.GITHUB_REPOSITORY, - }) - .then((repo) => { - eventJSON.repository.full_name = repo.data.full_name; - eventJSON.repository.node_id = repo.data.node_id; - eventJSON.repository.html_url = repo.data.html_url; - }) - .catch((err) => { - core.error( - `Get repo [${githubUsername}/${process.env.GITHUB_REPOSITORY_NAME}] failed with error [${err}].` - ); - }) - .finally(() => { - start(); - }); - } else { - start(); - } - }); - -// start validates the license first and then starts the scan -// if license is valid -async function start() { - // validate key first - if (shouldValidate) { - await keygen.ValidateKey(eventJSON); - } - - // default exit code, this value will be overwritten if gitleaks - // detects leaks or errors - let exitCode = 0; - - // check gitleaks version - - let gitleaksVersion = process.env.GITLEAKS_VERSION || "8.12.0"; - if (gitleaksVersion === "latest") { - gitleaksVersion = await gitleaks.Latest(octokit); - } - core.info("gitleaks version: " + gitleaksVersion); - let gitleaksPath = await gitleaks.Install(gitleaksVersion); - - // default scanInfo - let scanInfo = { - gitleaksPath: gitleaksPath, - }; - - // determine how to run gitleaks based on event type - core.info("event type: " + eventType); - if (eventType === "push") { - // check if eventsJSON.commits is empty, if it is send a info message - // saying we don't have to run gitleaks - if (eventJSON.commits.length === 0) { - core.info("No commits to scan"); - process.exit(0); - } - - scanInfo = { - baseRef: eventJSON.commits[0].id, - headRef: eventJSON.commits[eventJSON.commits.length - 1].id, - }; - exitCode = await gitleaks.Scan( - gitleaksEnableUploadArtifact, - scanInfo, - eventType - ); - } else if (eventType === "workflow_dispatch" || eventType === "schedule") { - exitCode = await gitleaks.Scan( - gitleaksEnableUploadArtifact, - scanInfo, - eventType - ); - } else if (eventType === "pull_request") { - exitCode = await gitleaks.ScanPullRequest( - gitleaksEnableUploadArtifact, - octokit, - eventJSON, - eventType - ); - } - - // after gitleaks scan, update the job summary - if (gitleaksEnableSummary == true) { - await summary.Write(exitCode, eventJSON); - } - - if (exitCode == 0) { - core.info("✅ No leaks detected"); - } else if (exitCode == gitleaks.EXIT_CODE_LEAKS_DETECTED) { - core.warning("🛑 Leaks detected, see job summary for details"); - process.exit(1); - } else { - core.error(`ERROR: Unexpected exit code [${exitCode}]`); - process.exit(exitCode); - } -} +// Copyright © 2022 Gitleaks LLC - All Rights Reserved. +// You may use this code under the terms of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT. +// You should have received a copy of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT with this file. +// If not, please visit https://gitleaks.io/COMMERCIAL-LICENSE.txt. + +const { Octokit } = __nccwpck_require__(7321); +const { readFileSync } = __nccwpck_require__(7147); +const core = __nccwpck_require__(4550); +const summary = __nccwpck_require__(811); +const keygen = __nccwpck_require__(7408); +const gitleaks = __nccwpck_require__(3123); + +let gitleaksEnableSummary = true; +if ( + process.env.GITLEAKS_ENABLE_SUMMARY == "false" || + process.env.GITLEAKS_ENABLE_SUMMARY == 0 +) { + core.debug("Disabling GitHub Actions Summary."); + gitleaksEnableSummary = false; +} + +let gitleaksEnableUploadArtifact = true; +if ( + process.env.GITLEAKS_ENABLE_UPLOAD_ARTIFACT == "false" || + process.env.GITLEAKS_ENABLE_UPLOAD_ARTIFACT == 0 +) { + core.debug("Disabling uploading of results.sarif artifact."); + gitleaksEnableUploadArtifact = false; +} + +// Event JSON example: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#webhook-payload-example-32 +let eventJSON = JSON.parse(readFileSync(process.env.GITHUB_EVENT_PATH, "utf8")); + +// Examples of event types: "workflow_dispatch", "push", "pull_request", etc +const eventType = process.env.GITHUB_EVENT_NAME; +const supportedEvents = [ + "push", + "pull_request", + "workflow_dispatch", + "schedule", +]; + +if (!supportedEvents.includes(eventType)) { + core.error(`ERROR: The [${eventType}] event is not yet supported`); + process.exit(1); +} + +// Determine if the github user is an individual or an organization +let githubUsername = ""; + +// eventJSON.repository is undefined for scheduled events +if (eventType == "schedule") { + githubUsername = process.env.GITHUB_REPOSITORY_OWNER; + eventJSON.repository = { + owner: { + login: process.env.GITHUB_REPOSITORY_OWNER, + }, + }; + let repoName = process.env.GITHUB_REPOSITORY; + repoName = repoName.replace(`${process.env.GITHUB_REPOSITORY_OWNER}/`, ""); + // update repo name + process.env.GITHUB_REPOSITORY = repoName; +} else { + githubUsername = eventJSON.repository.owner.login; +} + +const octokit = new Octokit({ + auth: process.env.GITHUB_TOKEN, + baseUrl: process.env.GITHUB_API_URL, +}); + +var shouldValidate = true; + +// Docs: https://docs.github.com/en/rest/users/users#get-a-user +octokit + .request("GET /users/{username}", { + username: githubUsername, + }) + .then((user) => { + const githubUserType = user.data.type; + if (eventType == "schedule") { + eventJSON.repository.owner.node_id = user.data.node_id; + } + + switch (githubUserType) { + case "Organization": + core.info( + `[${githubUsername}] is an organization. License key is required.` + ); + break; + case "User": + core.info( + `[${githubUsername}] is an individual user. No license key is required.` + ); + shouldValidate = false; + break; + default: + core.warning( + `[${githubUsername}] is an unexpected type [${githubUserType}]. License key validation will be enforced 🤷.` + ); + core.debug(`GitHub GET user API returned [${JSON.stringify(user)}]`); + } + }) + .catch((err) => { + core.warning( + `Get user [${githubUsername}] failed with error [${err}]. License key validation will be enforced 🤷.` + ); + }) + .finally(() => { + // check if a gitleaks license is available, if not log error message + if (shouldValidate && !process.env.GITLEAKS_LICENSE) { + core.error( + "🛑 missing gitleaks license. Go grab one at gitleaks.io and store it as a GitHub Secret named GITLEAKS_LICENSE. For more info about the recent breaking update, see [here](https://github.com/gitleaks/gitleaks-action#-announcement)." + ); + process.exit(1); + } + if (eventType == "schedule") { + octokit + .request("GET /repos/{owner}/{repo}", { + owner: githubUsername, + repo: process.env.GITHUB_REPOSITORY, + }) + .then((repo) => { + eventJSON.repository.full_name = repo.data.full_name; + eventJSON.repository.node_id = repo.data.node_id; + eventJSON.repository.html_url = repo.data.html_url; + }) + .catch((err) => { + core.error( + `Get repo [${githubUsername}/${process.env.GITHUB_REPOSITORY_NAME}] failed with error [${err}].` + ); + }) + .finally(() => { + start(); + }); + } else { + start(); + } + }); + +// start validates the license first and then starts the scan +// if license is valid +async function start() { + // validate key first + if (shouldValidate) { + await keygen.ValidateKey(eventJSON); + } + + // default exit code, this value will be overwritten if gitleaks + // detects leaks or errors + let exitCode = 0; + + // check gitleaks version + + let gitleaksVersion = process.env.GITLEAKS_VERSION || "8.12.0"; + if (gitleaksVersion === "latest") { + gitleaksVersion = await gitleaks.Latest(octokit); + } + core.info("gitleaks version: " + gitleaksVersion); + let gitleaksPath = await gitleaks.Install(gitleaksVersion); + + // default scanInfo + let scanInfo = { + gitleaksPath: gitleaksPath, + }; + + // determine how to run gitleaks based on event type + core.info("event type: " + eventType); + if (eventType === "push") { + // check if eventsJSON.commits is empty, if it is send a info message + // saying we don't have to run gitleaks + if (eventJSON.commits.length === 0) { + core.info("No commits to scan"); + process.exit(0); + } + + scanInfo = { + baseRef: eventJSON.commits[0].id, + headRef: eventJSON.commits[eventJSON.commits.length - 1].id, + }; + exitCode = await gitleaks.Scan( + gitleaksEnableUploadArtifact, + scanInfo, + eventType + ); + } else if (eventType === "workflow_dispatch" || eventType === "schedule") { + exitCode = await gitleaks.Scan( + gitleaksEnableUploadArtifact, + scanInfo, + eventType + ); + } else if (eventType === "pull_request") { + exitCode = await gitleaks.ScanPullRequest( + gitleaksEnableUploadArtifact, + octokit, + eventJSON, + eventType + ); + } + + // after gitleaks scan, update the job summary + if (gitleaksEnableSummary == true) { + await summary.Write(exitCode, eventJSON); + } + + if (exitCode == 0) { + core.info("✅ No leaks detected"); + } else if (exitCode == gitleaks.EXIT_CODE_LEAKS_DETECTED) { + core.warning("🛑 Leaks detected, see job summary for details"); + process.exit(1); + } else { + core.error(`ERROR: Unexpected exit code [${exitCode}]`); + process.exit(exitCode); + } +} })(); diff --git a/src/gitleaks.js b/src/gitleaks.js index 8acdfb2..4046f95 100644 --- a/src/gitleaks.js +++ b/src/gitleaks.js @@ -257,7 +257,7 @@ echo ${fingerprint} >> .gitleaksignore try { await octokit.rest.pulls.createReviewComment(proposedComment); } catch (error) { - core.warning(`Error encountered when attempting to write a comment on PR #${eventJSON.number}. + core.warning(`Error encountered when attempting to write a comment on PR #${eventJSON.number}: ${error} Likely an issue with too large of a diff for the comment to be written. All secrets that have been leaked will be reported in the summary and job artifact.`); }