From 2851182eba31d7bd41256d74e4f9836e074c8000 Mon Sep 17 00:00:00 2001 From: Alan Johnson Date: Wed, 1 Feb 2023 09:14:37 -0500 Subject: [PATCH] Update build --- build/__tests__/action.test.js | 2 +- build/__tests__/action.test.js.map | 2 +- build/action.js | 2 +- build/action.js.map | 2 +- build/index.js | 384 +++++++++++++++++++++-------- 5 files changed, 280 insertions(+), 112 deletions(-) diff --git a/build/__tests__/action.test.js b/build/__tests__/action.test.js index d0e818c..54fbc63 100644 --- a/build/__tests__/action.test.js +++ b/build/__tests__/action.test.js @@ -101,7 +101,7 @@ function mockDiffAll(token, from, error = false) { else { jest.mocked(exec.exec).mockResolvedValueOnce(0); } - return () => expect(jest.mocked(exec.exec)).toHaveBeenCalledWith("optic", ["diff-all", "--compare-from", from, "--check"], expect.objectContaining({ + return () => expect(jest.mocked(exec.exec)).toHaveBeenCalledWith("optic", ["diff-all", "--compare-from", from, "--check", "--upload"], expect.objectContaining({ env: expect.objectContaining({ OPTIC_TOKEN: "optic-token" }), })); } diff --git a/build/__tests__/action.test.js.map b/build/__tests__/action.test.js.map index 05592aa..4ab3636 100644 --- a/build/__tests__/action.test.js.map +++ b/build/__tests__/action.test.js.map @@ -1 +1 @@ -{"version":3,"file":"action.test.js","sourceRoot":"","sources":["../../src/__tests__/action.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sCAAsC;AACtC,oDAAsC;AAEtC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;AAE3B,IAAI,CAAC,eAAe,EAAE,KAAK,IAAI,EAAE;IAC/B,MAAM,QAAQ,GAAG,MAAM,IAAA,kBAAS,EAC9B,aAAa,EACb,cAAc,EACd,MAAM,EACN,EAAE,EACF,EAAE,EACF,SAAS,EACT,OAAO,EACP,MAAM,EACN,QAAQ,CACT,CAAC;IACF,MAAM,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC3B,CAAC,CAAC,CAAC;A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AAY;YACZ,QAAQ;YACR,SAAS;YACT,OAAO;YACP,QAAQ;YACR,MAAM;YACN,gBAAgB;YAChB,GAAG;YACH,OAAO;YACP,QAAQ;SACT,EACD,MAAM,CAAC,gBAAgB,CAAC;YACtB,GAAG,EAAE,MAAM,CAAC,gBAAgB,CAAC,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC;SAC/D,CAAC,CACH,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"action.test.js","sourceRoot":"","sources":["../../src/__tests__/action.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sCAAsC;AACtC,oDAAsC;AAEtC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;AAE3B,IAAI,CAAC,eAAe,EAAE,KAAK,IAAI,EAAE;IAC/B,MAAM,QAAQ,GAAG,MAAM,IAAA,kBAAS,EAC9B,aAAa,EACb,cAAc,EACd,MAAM,EACN,EAAE,EACF,EAAE,EACF,SAAS,EACT,OAAO,EACP,MAAM,EACN,QAAQ,CACT,CAAC;IACF,MAAM,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC3B,CAAC,CAAC,CAAC;AAEH,IAAI,CAAC,gBAAgB,EAAE,KAAK,IAAI,EAAE;IAChC,MAAM,mBAAmB,GAAG,iBAAiB,EAAE,CAAC;IAEhD,MAAM,QAAQ,GAAG,MAAM,IAAA,kBAAS,EAC9B,aAAa,EACb,cAAc,EACd,MAAM,EACN,MAAM,EACN,iBAAiB,EACjB,SAAS,EACT,OAAO,EACP,MAAM,EACN,QAAQ,CACT,CAAC;IACF,MAAM,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACzB,mBAAmB,EAAE,CAAC;AACxB,CAAC,CAAC,CAAC;AAEH,IAAI,CAAC,oBAAoB,EAAE,KAAK,IAAI,EAAE;IACpC,MAAM,aAAa,GAAG,WAAW,EAAE,C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AAI,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC;KACjD;IAED,OAAO,GAAG,EAAE,CACV,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,oBAAoB,CACjD,OAAO,EACP,CAAC,UAAU,EAAE,gBAAgB,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,CAAC,EAC3D,MAAM,CAAC,gBAAgB,CAAC;QACtB,GAAG,EAAE,MAAM,CAAC,gBAAgB,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC;KAC7D,CAAC,CACH,CAAC;AACN,CAAC;AAED,SAAS,iBAAiB;IACxB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC;IAEhD,OAAO,GAAG,EAAE;QACV,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAClD,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,oBAAoB,CACjD,OAAO,EACP;YACE,IAAI;YACJ,SAAS;YACT,YAAY;YACZ,QAAQ;YACR,SAAS;YACT,OAAO;YACP,QAAQ;YACR,MAAM;YACN,gBAAgB;YAChB,GAAG;YACH,OAAO;YACP,QAAQ;SACT,EACD,MAAM,CAAC,gBAAgB,CAAC;YACtB,GAAG,EAAE,MAAM,CAAC,gBAAgB,CAAC,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC;SAC/D,CAAC,CACH,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/build/action.js b/build/action.js index 299860a..ead7090 100644 --- a/build/action.js +++ b/build/action.js @@ -137,7 +137,7 @@ async function deepen() { } async function diffAll(token, from) { core.info("Running Optic diff-all"); - return execCommand("optic", ["diff-all", "--compare-from", from, "--check"], { + return execCommand("optic", ["diff-all", "--compare-from", from, "--check", "--upload"], { env: Object.assign(Object.assign({}, process.env), { OPTIC_TOKEN: token }), }, false); } diff --git a/build/action.js.map b/build/action.js.map index 6528c88..9f4031f 100644 --- a/build/action.js.map +++ b/build/action.js.map @@ -1 +1 @@ -{"version":3,"file":"action.js","sourceRoot":"","sources":["../src/action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAsC;AACtC,oDAAsC;AAEtC,KAAK,UAAU,WAAW,CACxB,OAAe,EACf,IAAc,EACd,UAA4B,EAAE,EAC9B,QAAQ,GAAG,IAAI;IAEf,IAAI;QACF,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QACxC,OAAO,IAAI,CAAC;KACb;IAAC,OAAO,CAAC,EAAE;QACV,IAAI,CAAC,YAAY,KAAK,IAAI,QAAQ,EAAE;YAClC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;SACf;QAED,OAAO,KAAK,CAAC;KACd;AACH,CAAC;AAEM,KAAK,UAAU,SAAS,CAC7B,UAAkB,EAClB,WAAmB,EACnB,aAAqB,EACrB,SAA6B,EAC7B,OAA2B,EAC3B,OAA2B,EAC3B,KAAyB,EACzB,IAAwB,EACxB,GAAuB;IAEvB,MAAM,gBAAgB,GAAG,aAAa,KAAK,MAAM,CAAC;IAElD,MAAM,KAAK,GAAG,WAAW,CAAC,UAAU,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC;IAC9D,IAAI,CAAC,KAAK,EAAE;QACV,OAAO,CAAC,CAAC;KACV;IAED,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,IAAI,SAAS,KAAK,cAAc,EAAE;QAChC,MAAM,SAAS,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;QACzC,IAAI,CAAC,SAAS,EAAE;Y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IAED,OAAO,IAAI,CAAC;AACd,CAAC;AAED,KAAK,UAAU,OAAO,CAAC,KAAa,EAAE,IAAY;IAChD,IAAI,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;IAEpC,OAAO,WAAW,CAChB,OAAO,EACP,CAAC,UAAU,EAAE,gBAAgB,EAAE,IAAI,EAAE,SAAS,CAAC,EAC/C;QACE,GAAG,kCACE,OAAO,CAAC,GAAG,KACd,WAAW,EAAE,KAAK,GACnB;KACF,EACD,KAAK,CACN,CAAC;AACJ,CAAC;AAED,KAAK,UAAU,SAAS,CACtB,WAAmB,EACnB,KAAa,EACb,IAAY,EACZ,EAAU,EACV,GAAW;IAEX,IAAI,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;IAE9B,OAAO,WAAW,CAChB,OAAO,EACP;QACE,IAAI;QACJ,SAAS;QACT,YAAY;QACZ,QAAQ;QACR,SAAS;QACT,KAAK;QACL,QAAQ;QACR,IAAI;QACJ,gBAAgB;QAChB,EAAE;QACF,OAAO;QACP,GAAG;KACJ,EACD;QACE,GAAG,kCACE,OAAO,CAAC,GAAG,KACd,YAAY,EAAE,WAAW,GAC1B;KACF,CACF,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"action.js","sourceRoot":"","sources":["../src/action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAsC;AACtC,oDAAsC;AAEtC,KAAK,UAAU,WAAW,CACxB,OAAe,EACf,IAAc,EACd,UAA4B,EAAE,EAC9B,QAAQ,GAAG,IAAI;IAEf,IAAI;QACF,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QACxC,OAAO,IAAI,CAAC;KACb;IAAC,OAAO,CAAC,EAAE;QACV,IAAI,CAAC,YAAY,KAAK,IAAI,QAAQ,EAAE;YAClC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;SACf;QAED,OAAO,KAAK,CAAC;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D;QACE,GAAG,kCACE,OAAO,CAAC,GAAG,KACd,YAAY,EAAE,WAAW,GAC1B;KACF,CACF,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/build/index.js b/build/index.js index 5518a1f..080b7ea 100644 --- a/build/index.js +++ b/build/index.js @@ -1,8 +1,14 @@ /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ +/***/ 667: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + /***/ 834: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +/***/ (function(__unused_webpack_module, exports, __nccwpck_require2_) { "use strict"; @@ -31,8 +37,8 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.runAction = void 0; -const core = __importStar(__nccwpck_require__(186)); -const exec = __importStar(__nccwpck_require__(514)); +const core = __importStar(__nccwpck_require2_(186)); +const exec = __importStar(__nccwpck_require2_(514)); async function execCommand(command, args, options = {}, logError = true) { try { await exec.exec(command, args, options); @@ -172,7 +178,7 @@ async function prComment(githubToken, owner, repo, pr, sha) { /***/ }), /***/ 667: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +/***/ (function(__unused_webpack_module, exports, __nccwpck_require2_) { "use strict"; @@ -201,8 +207,8 @@ var __importStar = (this && this.__importStar) || function (mod) { }; var _a; Object.defineProperty(exports, "__esModule", ({ value: true })); -const core = __importStar(__nccwpck_require__(186)); -const action_1 = __nccwpck_require__(834); +const core = __importStar(__nccwpck_require2_(186)); +const action_1 = __nccwpck_require2_(834); const opticToken = core.getInput("optic_token"); const githubToken = core.getInput("github_token"); const standardsFail = core.getInput("standards_fail"); @@ -224,7 +230,7 @@ const sha = process.env.GITHUB_SHA; /***/ }), /***/ 351: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +/***/ (function(__unused_webpack_module, exports, __nccwpck_require2_) { "use strict"; @@ -249,8 +255,8 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.issue = exports.issueCommand = void 0; -const os = __importStar(__nccwpck_require__(37)); -const utils_1 = __nccwpck_require__(278); +const os = __importStar(__nccwpck_require2_(37)); +const utils_1 = __nccwpck_require2_(278); /** * Commands * @@ -323,7 +329,7 @@ function escapeProperty(s) { /***/ }), /***/ 186: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +/***/ (function(__unused_webpack_module, exports, __nccwpck_require2_) { "use strict"; @@ -357,12 +363,12 @@ 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__(351); -const file_command_1 = __nccwpck_require__(717); -const utils_1 = __nccwpck_require__(278); -const os = __importStar(__nccwpck_require__(37)); -const path = __importStar(__nccwpck_require__(17)); -const oidc_utils_1 = __nccwpck_require__(41); +const command_1 = __nccwpck_require2_(351); +const file_command_1 = __nccwpck_require2_(717); +const utils_1 = __nccwpck_require2_(278); +const os = __importStar(__nccwpck_require2_(37)); +const path = __importStar(__nccwpck_require2_(17)); +const oidc_utils_1 = __nccwpck_require2_(41); /** * The code to exit an action */ @@ -647,17 +653,17 @@ exports.getIDToken = getIDToken; /** * Summary exports */ -var summary_1 = __nccwpck_require__(327); +var summary_1 = __nccwpck_require2_(327); Object.defineProperty(exports, "summary", ({ enumerable: true, get: function () { return summary_1.summary; } })); /** * @deprecated use core.summary */ -var summary_2 = __nccwpck_require__(327); +var summary_2 = __nccwpck_require2_(327); Object.defineProperty(exports, "markdownSummary", ({ enumerable: true, get: function () { return summary_2.markdownSummary; } })); /** * Path exports */ -var path_utils_1 = __nccwpck_require__(981); +var path_utils_1 = __nccwpck_require2_(981); 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; } })); @@ -666,7 +672,7 @@ Object.defineProperty(exports, "toPlatformPath", ({ enumerable: true, get: funct /***/ }), /***/ 717: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +/***/ (function(__unused_webpack_module, exports, __nccwpck_require2_) { "use strict"; @@ -694,10 +700,10 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.prepareKeyValueMessage = exports.issueFileCommand = void 0; // We use any as a valid input type /* eslint-disable @typescript-eslint/no-explicit-any */ -const fs = __importStar(__nccwpck_require__(147)); -const os = __importStar(__nccwpck_require__(37)); -const uuid_1 = __nccwpck_require__(840); -const utils_1 = __nccwpck_require__(278); +const fs = __importStar(__nccwpck_require2_(147)); +const os = __importStar(__nccwpck_require2_(37)); +const uuid_1 = __nccwpck_require2_(840); +const utils_1 = __nccwpck_require2_(278); function issueFileCommand(command, message) { const filePath = process.env[`GITHUB_${command}`]; if (!filePath) { @@ -731,7 +737,7 @@ exports.prepareKeyValueMessage = prepareKeyValueMessage; /***/ }), /***/ 41: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +/***/ (function(__unused_webpack_module, exports, __nccwpck_require2_) { "use strict"; @@ -746,9 +752,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__(255); -const auth_1 = __nccwpck_require__(526); -const core_1 = __nccwpck_require__(186); +const http_client_1 = __nccwpck_require2_(255); +const auth_1 = __nccwpck_require2_(526); +const core_1 = __nccwpck_require2_(186); class OidcClient { static createHttpClient(allowRetry = true, maxRetry = 10) { const requestOptions = { @@ -815,7 +821,7 @@ exports.OidcClient = OidcClient; /***/ }), /***/ 981: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +/***/ (function(__unused_webpack_module, exports, __nccwpck_require2_) { "use strict"; @@ -840,7 +846,7 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = void 0; -const path = __importStar(__nccwpck_require__(17)); +const path = __importStar(__nccwpck_require2_(17)); /** * toPosixPath converts the given path to the posix form. On Windows, \\ will be * replaced with /. @@ -880,7 +886,7 @@ exports.toPlatformPath = toPlatformPath; /***/ }), /***/ 327: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +/***/ (function(__unused_webpack_module, exports, __nccwpck_require2_) { "use strict"; @@ -895,8 +901,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0; -const os_1 = __nccwpck_require__(37); -const fs_1 = __nccwpck_require__(147); +const os_1 = __nccwpck_require2_(37); +const fs_1 = __nccwpck_require2_(147); const { access, appendFile, writeFile } = fs_1.promises; exports.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY'; exports.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary'; @@ -1217,7 +1223,7 @@ exports.toCommandProperties = toCommandProperties; /***/ }), /***/ 514: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +/***/ (function(__unused_webpack_module, exports, __nccwpck_require2_) { "use strict"; @@ -1251,8 +1257,8 @@ 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__(576); -const tr = __importStar(__nccwpck_require__(159)); +const string_decoder_1 = __nccwpck_require2_(576); +const tr = __importStar(__nccwpck_require2_(159)); /** * Exec a command. * Output will be streamed to the live console. @@ -1327,7 +1333,7 @@ exports.getExecOutput = getExecOutput; /***/ }), /***/ 159: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +/***/ (function(__unused_webpack_module, exports, __nccwpck_require2_) { "use strict"; @@ -1361,13 +1367,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.argStringToArray = exports.ToolRunner = void 0; -const os = __importStar(__nccwpck_require__(37)); -const events = __importStar(__nccwpck_require__(361)); -const child = __importStar(__nccwpck_require__(81)); -const path = __importStar(__nccwpck_require__(17)); -const io = __importStar(__nccwpck_require__(436)); -const ioUtil = __importStar(__nccwpck_require__(962)); -const timers_1 = __nccwpck_require__(512); +const os = __importStar(__nccwpck_require2_(37)); +const events = __importStar(__nccwpck_require2_(361)); +const child = __importStar(__nccwpck_require2_(81)); +const path = __importStar(__nccwpck_require2_(17)); +const io = __importStar(__nccwpck_require2_(436)); +const ioUtil = __importStar(__nccwpck_require2_(962)); +const timers_1 = __nccwpck_require2_(512); /* eslint-disable @typescript-eslint/unbound-method */ const IS_WINDOWS = process.platform === 'win32'; /* @@ -2040,7 +2046,7 @@ exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHand /***/ }), /***/ 255: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +/***/ (function(__unused_webpack_module, exports, __nccwpck_require2_) { "use strict"; @@ -2075,10 +2081,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; 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__(685)); -const https = __importStar(__nccwpck_require__(687)); -const pm = __importStar(__nccwpck_require__(835)); -const tunnel = __importStar(__nccwpck_require__(294)); +const http = __importStar(__nccwpck_require2_(685)); +const https = __importStar(__nccwpck_require2_(687)); +const pm = __importStar(__nccwpck_require2_(835)); +const tunnel = __importStar(__nccwpck_require2_(294)); var HttpCodes; (function (HttpCodes) { HttpCodes[HttpCodes["OK"] = 200] = "OK"; @@ -2720,7 +2726,7 @@ exports.checkBypass = checkBypass; /***/ }), /***/ 962: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +/***/ (function(__unused_webpack_module, exports, __nccwpck_require2_) { "use strict"; @@ -2755,8 +2761,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge var _a; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getCmdPath = exports.tryGetExecutablePath = exports.isRooted = exports.isDirectory = exports.exists = exports.IS_WINDOWS = exports.unlink = exports.symlink = exports.stat = exports.rmdir = exports.rename = exports.readlink = exports.readdir = exports.mkdir = exports.lstat = exports.copyFile = exports.chmod = void 0; -const fs = __importStar(__nccwpck_require__(147)); -const path = __importStar(__nccwpck_require__(17)); +const fs = __importStar(__nccwpck_require2_(147)); +const path = __importStar(__nccwpck_require2_(17)); _a = fs.promises, exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.readdir = _a.readdir, exports.readlink = _a.readlink, exports.rename = _a.rename, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink; exports.IS_WINDOWS = process.platform === 'win32'; function exists(fsPath) { @@ -2904,7 +2910,7 @@ exports.getCmdPath = getCmdPath; /***/ }), /***/ 436: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +/***/ (function(__unused_webpack_module, exports, __nccwpck_require2_) { "use strict"; @@ -2938,11 +2944,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.findInPath = exports.which = exports.mkdirP = exports.rmRF = exports.mv = exports.cp = void 0; -const assert_1 = __nccwpck_require__(491); -const childProcess = __importStar(__nccwpck_require__(81)); -const path = __importStar(__nccwpck_require__(17)); -const util_1 = __nccwpck_require__(837); -const ioUtil = __importStar(__nccwpck_require__(962)); +const assert_1 = __nccwpck_require2_(491); +const childProcess = __importStar(__nccwpck_require2_(81)); +const path = __importStar(__nccwpck_require2_(17)); +const util_1 = __nccwpck_require2_(837); +const ioUtil = __importStar(__nccwpck_require2_(962)); const exec = util_1.promisify(childProcess.exec); const execFile = util_1.promisify(childProcess.execFile); /** @@ -3252,26 +3258,26 @@ function copyFile(srcFile, destFile, force) { /***/ }), /***/ 294: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +/***/ ((module, __unused_webpack_exports, __nccwpck_require2_) => { -module.exports = __nccwpck_require__(219); +module.exports = __nccwpck_require2_(219); /***/ }), /***/ 219: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ ((__unused_webpack_module, exports, __nccwpck_require2_) => { "use strict"; -var net = __nccwpck_require__(808); -var tls = __nccwpck_require__(404); -var http = __nccwpck_require__(685); -var https = __nccwpck_require__(687); -var events = __nccwpck_require__(361); -var assert = __nccwpck_require__(491); -var util = __nccwpck_require__(837); +var net = __nccwpck_require2_(808); +var tls = __nccwpck_require2_(404); +var http = __nccwpck_require2_(685); +var https = __nccwpck_require2_(687); +var events = __nccwpck_require2_(361); +var assert = __nccwpck_require2_(491); +var util = __nccwpck_require2_(837); exports.httpOverHttp = httpOverHttp; @@ -3532,7 +3538,7 @@ exports.debug = debug; // for test /***/ }), /***/ 840: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ ((__unused_webpack_module, exports, __nccwpck_require2_) => { "use strict"; @@ -3595,30 +3601,30 @@ Object.defineProperty(exports, "parse", ({ } })); -var _v = _interopRequireDefault(__nccwpck_require__(628)); +var _v = _interopRequireDefault(__nccwpck_require2_(628)); -var _v2 = _interopRequireDefault(__nccwpck_require__(409)); +var _v2 = _interopRequireDefault(__nccwpck_require2_(409)); -var _v3 = _interopRequireDefault(__nccwpck_require__(122)); +var _v3 = _interopRequireDefault(__nccwpck_require2_(122)); -var _v4 = _interopRequireDefault(__nccwpck_require__(120)); +var _v4 = _interopRequireDefault(__nccwpck_require2_(120)); -var _nil = _interopRequireDefault(__nccwpck_require__(332)); +var _nil = _interopRequireDefault(__nccwpck_require2_(332)); -var _version = _interopRequireDefault(__nccwpck_require__(595)); +var _version = _interopRequireDefault(__nccwpck_require2_(595)); -var _validate = _interopRequireDefault(__nccwpck_require__(900)); +var _validate = _interopRequireDefault(__nccwpck_require2_(900)); -var _stringify = _interopRequireDefault(__nccwpck_require__(950)); +var _stringify = _interopRequireDefault(__nccwpck_require2_(950)); -var _parse = _interopRequireDefault(__nccwpck_require__(746)); +var _parse = _interopRequireDefault(__nccwpck_require2_(746)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /***/ }), /***/ 569: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ ((__unused_webpack_module, exports, __nccwpck_require2_) => { "use strict"; @@ -3628,7 +3634,7 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _crypto = _interopRequireDefault(__nccwpck_require__(113)); +var _crypto = _interopRequireDefault(__nccwpck_require2_(113)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -3663,7 +3669,7 @@ exports["default"] = _default; /***/ }), /***/ 746: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ ((__unused_webpack_module, exports, __nccwpck_require2_) => { "use strict"; @@ -3673,7 +3679,7 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _validate = _interopRequireDefault(__nccwpck_require__(900)); +var _validate = _interopRequireDefault(__nccwpck_require2_(900)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -3730,7 +3736,7 @@ exports["default"] = _default; /***/ }), /***/ 807: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ ((__unused_webpack_module, exports, __nccwpck_require2_) => { "use strict"; @@ -3740,7 +3746,7 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = rng; -var _crypto = _interopRequireDefault(__nccwpck_require__(113)); +var _crypto = _interopRequireDefault(__nccwpck_require2_(113)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -3761,7 +3767,7 @@ function rng() { /***/ }), /***/ 274: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ ((__unused_webpack_module, exports, __nccwpck_require2_) => { "use strict"; @@ -3771,7 +3777,7 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _crypto = _interopRequireDefault(__nccwpck_require__(113)); +var _crypto = _interopRequireDefault(__nccwpck_require2_(113)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -3791,7 +3797,7 @@ exports["default"] = _default; /***/ }), /***/ 950: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ ((__unused_webpack_module, exports, __nccwpck_require2_) => { "use strict"; @@ -3801,7 +3807,7 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _validate = _interopRequireDefault(__nccwpck_require__(900)); +var _validate = _interopRequireDefault(__nccwpck_require2_(900)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -3837,7 +3843,7 @@ exports["default"] = _default; /***/ }), /***/ 628: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ ((__unused_webpack_module, exports, __nccwpck_require2_) => { "use strict"; @@ -3847,9 +3853,9 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _rng = _interopRequireDefault(__nccwpck_require__(807)); +var _rng = _interopRequireDefault(__nccwpck_require2_(807)); -var _stringify = _interopRequireDefault(__nccwpck_require__(950)); +var _stringify = _interopRequireDefault(__nccwpck_require2_(950)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -3951,7 +3957,7 @@ exports["default"] = _default; /***/ }), /***/ 409: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ ((__unused_webpack_module, exports, __nccwpck_require2_) => { "use strict"; @@ -3961,9 +3967,9 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _v = _interopRequireDefault(__nccwpck_require__(998)); +var _v = _interopRequireDefault(__nccwpck_require2_(998)); -var _md = _interopRequireDefault(__nccwpck_require__(569)); +var _md = _interopRequireDefault(__nccwpck_require2_(569)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -3974,7 +3980,7 @@ exports["default"] = _default; /***/ }), /***/ 998: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ ((__unused_webpack_module, exports, __nccwpck_require2_) => { "use strict"; @@ -3985,9 +3991,9 @@ Object.defineProperty(exports, "__esModule", ({ exports["default"] = _default; exports.URL = exports.DNS = void 0; -var _stringify = _interopRequireDefault(__nccwpck_require__(950)); +var _stringify = _interopRequireDefault(__nccwpck_require2_(950)); -var _parse = _interopRequireDefault(__nccwpck_require__(746)); +var _parse = _interopRequireDefault(__nccwpck_require2_(746)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -4059,7 +4065,7 @@ function _default(name, version, hashfunc) { /***/ }), /***/ 122: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ ((__unused_webpack_module, exports, __nccwpck_require2_) => { "use strict"; @@ -4069,9 +4075,9 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _rng = _interopRequireDefault(__nccwpck_require__(807)); +var _rng = _interopRequireDefault(__nccwpck_require2_(807)); -var _stringify = _interopRequireDefault(__nccwpck_require__(950)); +var _stringify = _interopRequireDefault(__nccwpck_require2_(950)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -4103,7 +4109,7 @@ exports["default"] = _default; /***/ }), /***/ 120: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ ((__unused_webpack_module, exports, __nccwpck_require2_) => { "use strict"; @@ -4113,9 +4119,9 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _v = _interopRequireDefault(__nccwpck_require__(998)); +var _v = _interopRequireDefault(__nccwpck_require2_(998)); -var _sha = _interopRequireDefault(__nccwpck_require__(274)); +var _sha = _interopRequireDefault(__nccwpck_require2_(274)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -4126,7 +4132,7 @@ exports["default"] = _default; /***/ }), /***/ 900: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ ((__unused_webpack_module, exports, __nccwpck_require2_) => { "use strict"; @@ -4136,7 +4142,7 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _regex = _interopRequireDefault(__nccwpck_require__(814)); +var _regex = _interopRequireDefault(__nccwpck_require2_(814)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -4150,7 +4156,7 @@ exports["default"] = _default; /***/ }), /***/ 595: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ ((__unused_webpack_module, exports, __nccwpck_require2_) => { "use strict"; @@ -4160,7 +4166,7 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _validate = _interopRequireDefault(__nccwpck_require__(900)); +var _validate = _interopRequireDefault(__nccwpck_require2_(900)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -4180,6 +4186,168 @@ exports["default"] = _default; /***/ 491: /***/ ((module) => { +"use strict"; +module.exports = __nccwpck_require__(491); + +/***/ }), + +/***/ 81: +/***/ ((module) => { + +"use strict"; +module.exports = __nccwpck_require__(81); + +/***/ }), + +/***/ 113: +/***/ ((module) => { + +"use strict"; +module.exports = __nccwpck_require__(113); + +/***/ }), + +/***/ 361: +/***/ ((module) => { + +"use strict"; +module.exports = __nccwpck_require__(361); + +/***/ }), + +/***/ 147: +/***/ ((module) => { + +"use strict"; +module.exports = __nccwpck_require__(147); + +/***/ }), + +/***/ 685: +/***/ ((module) => { + +"use strict"; +module.exports = __nccwpck_require__(685); + +/***/ }), + +/***/ 687: +/***/ ((module) => { + +"use strict"; +module.exports = __nccwpck_require__(687); + +/***/ }), + +/***/ 808: +/***/ ((module) => { + +"use strict"; +module.exports = __nccwpck_require__(808); + +/***/ }), + +/***/ 37: +/***/ ((module) => { + +"use strict"; +module.exports = __nccwpck_require__(37); + +/***/ }), + +/***/ 17: +/***/ ((module) => { + +"use strict"; +module.exports = __nccwpck_require__(17); + +/***/ }), + +/***/ 576: +/***/ ((module) => { + +"use strict"; +module.exports = __nccwpck_require__(576); + +/***/ }), + +/***/ 512: +/***/ ((module) => { + +"use strict"; +module.exports = __nccwpck_require__(512); + +/***/ }), + +/***/ 404: +/***/ ((module) => { + +"use strict"; +module.exports = __nccwpck_require__(404); + +/***/ }), + +/***/ 837: +/***/ ((module) => { + +"use strict"; +module.exports = __nccwpck_require__(837); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __nccwpck_require2_(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ var threw = true; +/******/ try { +/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nccwpck_require2_); +/******/ threw = false; +/******/ } finally { +/******/ if(threw) delete __webpack_module_cache__[moduleId]; +/******/ } +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/compat */ +/******/ +/******/ if (typeof __nccwpck_require2_ !== 'undefined') __nccwpck_require2_.ab = __dirname + "/"; +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module is referenced by other modules so it can't be inlined +/******/ var __webpack_exports__ = __nccwpck_require2_(667); +/******/ module.exports = __webpack_exports__; +/******/ +/******/ })() +; + +/***/ }), + +/***/ 491: +/***/ ((module) => { + "use strict"; module.exports = require("assert"); @@ -4311,7 +4479,7 @@ module.exports = require("util"); /******/ // Execute the module function /******/ var threw = true; /******/ try { -/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nccwpck_require__); +/******/ __webpack_modules__[moduleId](module, module.exports, __nccwpck_require__); /******/ threw = false; /******/ } finally { /******/ if(threw) delete __webpack_module_cache__[moduleId];