diff --git a/.github/workflows/setup-stackql.yml b/.github/workflows/setup-stackql-test.yml similarity index 98% rename from .github/workflows/setup-stackql.yml rename to .github/workflows/setup-stackql-test.yml index 888d515..b9e2935 100644 --- a/.github/workflows/setup-stackql.yml +++ b/.github/workflows/setup-stackql-test.yml @@ -1,4 +1,4 @@ -name: 'setup stackql' +name: 'setup stackql test' on: push: diff --git a/README.md b/README.md index 8f86b53..07b1932 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Check the "Use GitHub Provider" step in [setup-stackql.yml](.github/workflows/se ```yaml - name: setup StackQL - uses: stackql/setup-stackql@v2.1.0 + uses: stackql/setup-stackql@v2.2.0 with: use_wrapper: true @@ -34,7 +34,7 @@ Check the "Use Google Provider" step in [setup-stackql.yml](.github/workflows/se ```yaml - name: setup StackQL - uses: stackql/setup-stackql@v2.1.0 + uses: stackql/setup-stackql@v2.2.0 with: use_wrapper: true diff --git a/dist/index.js b/dist/index.js index 8713439..700642e 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,7 +1,7 @@ /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ -/***/ 9526: +/***/ 8911: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -28,7 +28,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__(1375); +const utils_1 = __nccwpck_require__(5822); /** * Commands * @@ -100,7 +100,7 @@ function escapeProperty(s) { /***/ }), -/***/ 70: +/***/ 8379: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -135,12 +135,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__(9526); -const file_command_1 = __nccwpck_require__(9868); -const utils_1 = __nccwpck_require__(1375); +const command_1 = __nccwpck_require__(8911); +const file_command_1 = __nccwpck_require__(4567); +const utils_1 = __nccwpck_require__(5822); const os = __importStar(__nccwpck_require__(2037)); const path = __importStar(__nccwpck_require__(1017)); -const oidc_utils_1 = __nccwpck_require__(138); +const oidc_utils_1 = __nccwpck_require__(3643); /** * The code to exit an action */ @@ -425,17 +425,17 @@ exports.getIDToken = getIDToken; /** * Summary exports */ -var summary_1 = __nccwpck_require__(264); +var summary_1 = __nccwpck_require__(845); Object.defineProperty(exports, "summary", ({ enumerable: true, get: function () { return summary_1.summary; } })); /** * @deprecated use core.summary */ -var summary_2 = __nccwpck_require__(264); +var summary_2 = __nccwpck_require__(845); Object.defineProperty(exports, "markdownSummary", ({ enumerable: true, get: function () { return summary_2.markdownSummary; } })); /** * Path exports */ -var path_utils_1 = __nccwpck_require__(3448); +var path_utils_1 = __nccwpck_require__(7426); 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; } })); @@ -443,7 +443,7 @@ Object.defineProperty(exports, "toPlatformPath", ({ enumerable: true, get: funct /***/ }), -/***/ 9868: +/***/ 4567: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -474,8 +474,8 @@ exports.prepareKeyValueMessage = exports.issueFileCommand = void 0; /* eslint-disable @typescript-eslint/no-explicit-any */ const fs = __importStar(__nccwpck_require__(7147)); const os = __importStar(__nccwpck_require__(2037)); -const uuid_1 = __nccwpck_require__(2077); -const utils_1 = __nccwpck_require__(1375); +const uuid_1 = __nccwpck_require__(842); +const utils_1 = __nccwpck_require__(5822); function issueFileCommand(command, message) { const filePath = process.env[`GITHUB_${command}`]; if (!filePath) { @@ -508,7 +508,7 @@ exports.prepareKeyValueMessage = prepareKeyValueMessage; /***/ }), -/***/ 138: +/***/ 3643: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -524,9 +524,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__(8468); -const auth_1 = __nccwpck_require__(8512); -const core_1 = __nccwpck_require__(70); +const http_client_1 = __nccwpck_require__(2385); +const auth_1 = __nccwpck_require__(9137); +const core_1 = __nccwpck_require__(8379); class OidcClient { static createHttpClient(allowRetry = true, maxRetry = 10) { const requestOptions = { @@ -592,7 +592,7 @@ exports.OidcClient = OidcClient; /***/ }), -/***/ 3448: +/***/ 7426: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -657,7 +657,7 @@ exports.toPlatformPath = toPlatformPath; /***/ }), -/***/ 264: +/***/ 845: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -947,7 +947,7 @@ exports.summary = _summary; /***/ }), -/***/ 1375: +/***/ 5822: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -994,7 +994,7 @@ exports.toCommandProperties = toCommandProperties; /***/ }), -/***/ 2077: +/***/ 842: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1058,29 +1058,29 @@ Object.defineProperty(exports, "parse", ({ } })); -var _v = _interopRequireDefault(__nccwpck_require__(3830)); +var _v = _interopRequireDefault(__nccwpck_require__(4732)); -var _v2 = _interopRequireDefault(__nccwpck_require__(3143)); +var _v2 = _interopRequireDefault(__nccwpck_require__(686)); -var _v3 = _interopRequireDefault(__nccwpck_require__(7217)); +var _v3 = _interopRequireDefault(__nccwpck_require__(5870)); -var _v4 = _interopRequireDefault(__nccwpck_require__(6577)); +var _v4 = _interopRequireDefault(__nccwpck_require__(8489)); -var _nil = _interopRequireDefault(__nccwpck_require__(6907)); +var _nil = _interopRequireDefault(__nccwpck_require__(7359)); -var _version = _interopRequireDefault(__nccwpck_require__(6525)); +var _version = _interopRequireDefault(__nccwpck_require__(5177)); -var _validate = _interopRequireDefault(__nccwpck_require__(3542)); +var _validate = _interopRequireDefault(__nccwpck_require__(4513)); -var _stringify = _interopRequireDefault(__nccwpck_require__(9022)); +var _stringify = _interopRequireDefault(__nccwpck_require__(9917)); -var _parse = _interopRequireDefault(__nccwpck_require__(1354)); +var _parse = _interopRequireDefault(__nccwpck_require__(4806)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /***/ }), -/***/ 1099: +/***/ 2644: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1110,7 +1110,7 @@ exports["default"] = _default; /***/ }), -/***/ 6907: +/***/ 7359: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -1125,7 +1125,7 @@ exports["default"] = _default; /***/ }), -/***/ 1354: +/***/ 4806: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1136,7 +1136,7 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _validate = _interopRequireDefault(__nccwpck_require__(3542)); +var _validate = _interopRequireDefault(__nccwpck_require__(4513)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -1177,7 +1177,7 @@ exports["default"] = _default; /***/ }), -/***/ 5719: +/***/ 9313: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -1192,7 +1192,7 @@ exports["default"] = _default; /***/ }), -/***/ 9344: +/***/ 8920: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1223,7 +1223,7 @@ function rng() { /***/ }), -/***/ 2237: +/***/ 2389: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1253,7 +1253,7 @@ exports["default"] = _default; /***/ }), -/***/ 9022: +/***/ 9917: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1264,7 +1264,7 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _validate = _interopRequireDefault(__nccwpck_require__(3542)); +var _validate = _interopRequireDefault(__nccwpck_require__(4513)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -1299,7 +1299,7 @@ exports["default"] = _default; /***/ }), -/***/ 3830: +/***/ 4732: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1310,9 +1310,9 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _rng = _interopRequireDefault(__nccwpck_require__(9344)); +var _rng = _interopRequireDefault(__nccwpck_require__(8920)); -var _stringify = _interopRequireDefault(__nccwpck_require__(9022)); +var _stringify = _interopRequireDefault(__nccwpck_require__(9917)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -1413,7 +1413,7 @@ exports["default"] = _default; /***/ }), -/***/ 3143: +/***/ 686: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1424,9 +1424,9 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _v = _interopRequireDefault(__nccwpck_require__(7617)); +var _v = _interopRequireDefault(__nccwpck_require__(2858)); -var _md = _interopRequireDefault(__nccwpck_require__(1099)); +var _md = _interopRequireDefault(__nccwpck_require__(2644)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -1436,7 +1436,7 @@ exports["default"] = _default; /***/ }), -/***/ 7617: +/***/ 2858: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1448,9 +1448,9 @@ Object.defineProperty(exports, "__esModule", ({ exports["default"] = _default; exports.URL = exports.DNS = void 0; -var _stringify = _interopRequireDefault(__nccwpck_require__(9022)); +var _stringify = _interopRequireDefault(__nccwpck_require__(9917)); -var _parse = _interopRequireDefault(__nccwpck_require__(1354)); +var _parse = _interopRequireDefault(__nccwpck_require__(4806)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -1521,7 +1521,7 @@ function _default(name, version, hashfunc) { /***/ }), -/***/ 7217: +/***/ 5870: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1532,9 +1532,9 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _rng = _interopRequireDefault(__nccwpck_require__(9344)); +var _rng = _interopRequireDefault(__nccwpck_require__(8920)); -var _stringify = _interopRequireDefault(__nccwpck_require__(9022)); +var _stringify = _interopRequireDefault(__nccwpck_require__(9917)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -1565,7 +1565,7 @@ exports["default"] = _default; /***/ }), -/***/ 6577: +/***/ 8489: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1576,9 +1576,9 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _v = _interopRequireDefault(__nccwpck_require__(7617)); +var _v = _interopRequireDefault(__nccwpck_require__(2858)); -var _sha = _interopRequireDefault(__nccwpck_require__(2237)); +var _sha = _interopRequireDefault(__nccwpck_require__(2389)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -1588,7 +1588,7 @@ exports["default"] = _default; /***/ }), -/***/ 3542: +/***/ 4513: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1599,7 +1599,7 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _regex = _interopRequireDefault(__nccwpck_require__(5719)); +var _regex = _interopRequireDefault(__nccwpck_require__(9313)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -1612,7 +1612,7 @@ exports["default"] = _default; /***/ }), -/***/ 6525: +/***/ 5177: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1623,7 +1623,7 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _validate = _interopRequireDefault(__nccwpck_require__(3542)); +var _validate = _interopRequireDefault(__nccwpck_require__(4513)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -1640,7 +1640,7 @@ exports["default"] = _default; /***/ }), -/***/ 5589: +/***/ 8069: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -1676,7 +1676,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__(5601)); +const tr = __importStar(__nccwpck_require__(4619)); /** * Exec a command. * Output will be streamed to the live console. @@ -1750,7 +1750,7 @@ exports.getExecOutput = getExecOutput; /***/ }), -/***/ 5601: +/***/ 4619: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -1789,8 +1789,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__(9234)); -const ioUtil = __importStar(__nccwpck_require__(1764)); +const io = __importStar(__nccwpck_require__(1144)); +const ioUtil = __importStar(__nccwpck_require__(1459)); const timers_1 = __nccwpck_require__(9512); /* eslint-disable @typescript-eslint/unbound-method */ const IS_WINDOWS = process.platform === 'win32'; @@ -2375,7 +2375,7 @@ class ExecState extends events.EventEmitter { /***/ }), -/***/ 8512: +/***/ 9137: /***/ (function(__unused_webpack_module, exports) { "use strict"; @@ -2463,7 +2463,7 @@ exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHand /***/ }), -/***/ 8468: +/***/ 2385: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -2501,8 +2501,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__(7338)); -const tunnel = __importStar(__nccwpck_require__(5318)); +const pm = __importStar(__nccwpck_require__(5286)); +const tunnel = __importStar(__nccwpck_require__(6206)); var HttpCodes; (function (HttpCodes) { HttpCodes[HttpCodes["OK"] = 200] = "OK"; @@ -3075,7 +3075,7 @@ const lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCa /***/ }), -/***/ 7338: +/***/ 5286: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -3143,7 +3143,7 @@ exports.checkBypass = checkBypass; /***/ }), -/***/ 1764: +/***/ 1459: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -3327,7 +3327,7 @@ exports.getCmdPath = getCmdPath; /***/ }), -/***/ 9234: +/***/ 1144: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -3366,7 +3366,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__(1764)); +const ioUtil = __importStar(__nccwpck_require__(1459)); const exec = util_1.promisify(childProcess.exec); const execFile = util_1.promisify(childProcess.execFile); /** @@ -3675,7 +3675,7 @@ function copyFile(srcFile, destFile, force) { /***/ }), -/***/ 1176: +/***/ 2789: /***/ (function(module, exports, __nccwpck_require__) { "use strict"; @@ -3710,8 +3710,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__(8109)); -const core_1 = __nccwpck_require__(70); +const semver = __importStar(__nccwpck_require__(8192)); +const core_1 = __nccwpck_require__(8379); // needs to be require for core node modules to be mocked /* eslint @typescript-eslint/no-require-imports: 0 */ const os = __nccwpck_require__(2037); @@ -3810,7 +3810,7 @@ exports._readLinuxVersionFile = _readLinuxVersionFile; /***/ }), -/***/ 9328: +/***/ 9896: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -3845,7 +3845,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__(70)); +const core = __importStar(__nccwpck_require__(8379)); /** * Internal class for retries */ @@ -3900,7 +3900,7 @@ exports.RetryHelper = RetryHelper; /***/ }), -/***/ 5492: +/***/ 8060: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -3938,20 +3938,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__(70)); -const io = __importStar(__nccwpck_require__(9234)); +const core = __importStar(__nccwpck_require__(8379)); +const io = __importStar(__nccwpck_require__(1144)); const fs = __importStar(__nccwpck_require__(7147)); -const mm = __importStar(__nccwpck_require__(1176)); +const mm = __importStar(__nccwpck_require__(2789)); const os = __importStar(__nccwpck_require__(2037)); const path = __importStar(__nccwpck_require__(1017)); -const httpm = __importStar(__nccwpck_require__(8468)); -const semver = __importStar(__nccwpck_require__(8109)); +const httpm = __importStar(__nccwpck_require__(2385)); +const semver = __importStar(__nccwpck_require__(8192)); const stream = __importStar(__nccwpck_require__(2781)); const util = __importStar(__nccwpck_require__(3837)); const assert_1 = __nccwpck_require__(9491); -const v4_1 = __importDefault(__nccwpck_require__(548)); -const exec_1 = __nccwpck_require__(5589); -const retry_helper_1 = __nccwpck_require__(9328); +const v4_1 = __importDefault(__nccwpck_require__(2623)); +const exec_1 = __nccwpck_require__(8069); +const retry_helper_1 = __nccwpck_require__(9896); class HTTPError extends Error { constructor(httpStatusCode) { super(`Unexpected HTTP response: ${httpStatusCode}`); @@ -4572,7 +4572,7 @@ function _unique(values) { /***/ }), -/***/ 8109: +/***/ 8192: /***/ ((module, exports) => { exports = module.exports = SemVer @@ -6222,15 +6222,15 @@ function coerce (version, options) { /***/ }), -/***/ 5318: +/***/ 6206: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -module.exports = __nccwpck_require__(1209); +module.exports = __nccwpck_require__(5238); /***/ }), -/***/ 1209: +/***/ 5238: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -6502,7 +6502,7 @@ exports.debug = debug; // for test /***/ }), -/***/ 8206: +/***/ 1103: /***/ ((module) => { /** @@ -6535,7 +6535,7 @@ module.exports = bytesToUuid; /***/ }), -/***/ 8845: +/***/ 28: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { // Unique ID creation requires a high quality random # generator. In node.js @@ -6550,11 +6550,11 @@ module.exports = function nodeRNG() { /***/ }), -/***/ 548: +/***/ 2623: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var rng = __nccwpck_require__(8845); -var bytesToUuid = __nccwpck_require__(8206); +var rng = __nccwpck_require__(28); +var bytesToUuid = __nccwpck_require__(1103); function v4(options, buf, offset) { var i = buf && offset || 0; @@ -6751,9 +6751,9 @@ const path = __nccwpck_require__(1017); const fs = __nccwpck_require__(7147); const os = __nccwpck_require__(2037); const { execSync } = __nccwpck_require__(2081); -const core = __nccwpck_require__(70); -const tc = __nccwpck_require__(5492); -const io = __nccwpck_require__(9234); +const core = __nccwpck_require__(8379); +const tc = __nccwpck_require__(8060); +const io = __nccwpck_require__(1144); const urls = { 'linux': 'https://releases.stackql.io/stackql/latest/stackql_linux_amd64.zip', @@ -6762,25 +6762,39 @@ const urls = { async function downloadCLI(osPlatform) { try { - core.info(`Preparing to download/install stackql for ${osPlatform}`); + core.info(`preparing to download/install stackql for ${osPlatform}`); switch (osPlatform) { case 'win32': return await tc.extractZip(await tc.downloadTool(urls[osPlatform])); - case 'darwin': - core.info(`Installing stackql using Homebrew`); - execSync('brew install stackql', { stdio: 'inherit' }); - // Find the installation path using which - const stackqlPath = execSync('which stackql', { encoding: 'utf-8' }).trim(); - core.debug(`Stackql installed at: ${stackqlPath}`); - return path.dirname(stackqlPath); // Return the directory of the binary + case 'darwin': + // Check if stackql is already installed using brew list --formula + core.info(`checking if stackql is already installed...`); + try { + const installedFormulas = execSync('brew list --formula', { encoding: 'utf-8' }); + if (installedFormulas.includes('stackql')) { + core.info(`stackql is already installed.`); + const stackqlPath = execSync('which stackql', { encoding: 'utf-8' }).trim(); + core.debug(`stackql is located at: ${stackqlPath}`); + return path.dirname(stackqlPath); // Return the directory of the binary + } else { + core.info(`installing stackql using Homebrew...`); + execSync('brew install stackql', { stdio: 'inherit' }); + } + } catch (error) { + core.info(`error checking/installing stackql: ${error}`); + throw new Error(`error checking/installing stackql: ${error}`); + } + const installedPath = execSync('which stackql', { encoding: 'utf-8' }).trim(); + core.debug(`stackql installed at: ${installedPath}`); + return path.dirname(installedPath); // Return the directory of the binary case 'linux': return await tc.extractZip(await tc.downloadTool(urls[osPlatform])); default: - throw new Error(`Unsupported platform: ${osPlatform}`); + throw new Error(`unsupported platform: ${osPlatform}`); } } catch (error) { - core.error(`Failed to install Stackql: ${error}`); + core.error(`failed to install stackql: ${error}`); throw error; } } @@ -6809,10 +6823,10 @@ async function installWrapper (pathToCLI) { try { source = [pathToCLI, `stackql${exeSuffix}`].join(path.sep); target = [pathToCLI, `stackql-bin${exeSuffix}`].join(path.sep); - core.debug(`Moving ${source} to ${target}.`); + core.debug(`moving ${source} to ${target}...`); await io.mv(source, target); } catch (e) { - core.debug(`Unable to move ${source} to ${target}.`); + core.debug(`unable to move ${source} to ${target}.`); throw e; } @@ -6820,10 +6834,10 @@ async function installWrapper (pathToCLI) { try { source = path.resolve([__dirname, '..', 'wrapper', 'dist', 'index.js'].join(path.sep)); target = [pathToCLI, 'stackql'].join(path.sep); - core.debug(`Copying ${source} to ${target}.`); + core.debug(`copying ${source} to ${target}...`); await io.cp(source, target); } catch (e) { - core.error(`Unable to copy ${source} to ${target}.`); + core.error(`unable to copy ${source} to ${target}.`); throw e; } @@ -6848,9 +6862,9 @@ async function setup() { // set perms and make executable if(osPlatform != 'darwin'){ - core.debug(`updating permissions for ${cliPath}`); + core.debug(`updating permissions for ${cliPath}...`); fs.chmodSync(cliPath, '777'); - core.debug(`adding ${cliPath} to the path`); + core.debug(`adding ${cliPath} to the path...`); core.addPath(cliPath) await makeExecutable(cliPath, osPlatform) } @@ -6858,7 +6872,7 @@ async function setup() { const wrapper = core.getInput('use_wrapper') === 'true'; if(wrapper){ - core.info('installing wrapper') + core.info('installing wrapper...') await installWrapper(cliPath) } core.info(`successfully setup stackql at ${cliPath}`); diff --git a/index.js b/index.js index 6a1d920..09dd51d 100644 --- a/index.js +++ b/index.js @@ -13,25 +13,39 @@ const urls = { async function downloadCLI(osPlatform) { try { - core.info(`Preparing to download/install stackql for ${osPlatform}`); + core.info(`preparing to download/install stackql for ${osPlatform}`); switch (osPlatform) { case 'win32': return await tc.extractZip(await tc.downloadTool(urls[osPlatform])); - case 'darwin': - core.info(`Installing stackql using Homebrew`); - execSync('brew install stackql', { stdio: 'inherit' }); - // Find the installation path using which - const stackqlPath = execSync('which stackql', { encoding: 'utf-8' }).trim(); - core.debug(`Stackql installed at: ${stackqlPath}`); - return path.dirname(stackqlPath); // Return the directory of the binary + case 'darwin': + // Check if stackql is already installed using brew list --formula + core.info(`checking if stackql is already installed...`); + try { + const installedFormulas = execSync('brew list --formula', { encoding: 'utf-8' }); + if (installedFormulas.includes('stackql')) { + core.info(`stackql is already installed.`); + const stackqlPath = execSync('which stackql', { encoding: 'utf-8' }).trim(); + core.debug(`stackql is located at: ${stackqlPath}`); + return path.dirname(stackqlPath); // Return the directory of the binary + } else { + core.info(`installing stackql using Homebrew...`); + execSync('brew install stackql', { stdio: 'inherit' }); + } + } catch (error) { + core.info(`error checking/installing stackql: ${error}`); + throw new Error(`error checking/installing stackql: ${error}`); + } + const installedPath = execSync('which stackql', { encoding: 'utf-8' }).trim(); + core.debug(`stackql installed at: ${installedPath}`); + return path.dirname(installedPath); // Return the directory of the binary case 'linux': return await tc.extractZip(await tc.downloadTool(urls[osPlatform])); default: - throw new Error(`Unsupported platform: ${osPlatform}`); + throw new Error(`unsupported platform: ${osPlatform}`); } } catch (error) { - core.error(`Failed to install Stackql: ${error}`); + core.error(`failed to install stackql: ${error}`); throw error; } } @@ -60,10 +74,10 @@ async function installWrapper (pathToCLI) { try { source = [pathToCLI, `stackql${exeSuffix}`].join(path.sep); target = [pathToCLI, `stackql-bin${exeSuffix}`].join(path.sep); - core.debug(`Moving ${source} to ${target}.`); + core.debug(`moving ${source} to ${target}...`); await io.mv(source, target); } catch (e) { - core.debug(`Unable to move ${source} to ${target}.`); + core.debug(`unable to move ${source} to ${target}.`); throw e; } @@ -71,10 +85,10 @@ async function installWrapper (pathToCLI) { try { source = path.resolve([__dirname, '..', 'wrapper', 'dist', 'index.js'].join(path.sep)); target = [pathToCLI, 'stackql'].join(path.sep); - core.debug(`Copying ${source} to ${target}.`); + core.debug(`copying ${source} to ${target}...`); await io.cp(source, target); } catch (e) { - core.error(`Unable to copy ${source} to ${target}.`); + core.error(`unable to copy ${source} to ${target}.`); throw e; } @@ -99,9 +113,9 @@ async function setup() { // set perms and make executable if(osPlatform != 'darwin'){ - core.debug(`updating permissions for ${cliPath}`); + core.debug(`updating permissions for ${cliPath}...`); fs.chmodSync(cliPath, '777'); - core.debug(`adding ${cliPath} to the path`); + core.debug(`adding ${cliPath} to the path...`); core.addPath(cliPath) await makeExecutable(cliPath, osPlatform) } @@ -109,7 +123,7 @@ async function setup() { const wrapper = core.getInput('use_wrapper') === 'true'; if(wrapper){ - core.info('installing wrapper') + core.info('installing wrapper...') await installWrapper(cliPath) } core.info(`successfully setup stackql at ${cliPath}`); diff --git a/package.json b/package.json index e6a014a..0b22afd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "setup-stackql", - "version": "2.1.0", + "version": "2.2.0", "description": "", "main": "index.js", "scripts": { diff --git a/wrapper/dist/index.js b/wrapper/dist/index.js index d427e9a..a46f5f2 100755 --- a/wrapper/dist/index.js +++ b/wrapper/dist/index.js @@ -2,7 +2,7 @@ /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ -/***/ 795: +/***/ 650: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -29,7 +29,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__(37)); -const utils_1 = __nccwpck_require__(732); +const utils_1 = __nccwpck_require__(326); /** * Commands * @@ -101,7 +101,7 @@ function escapeProperty(s) { /***/ }), -/***/ 100: +/***/ 58: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -136,12 +136,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__(795); -const file_command_1 = __nccwpck_require__(833); -const utils_1 = __nccwpck_require__(732); +const command_1 = __nccwpck_require__(650); +const file_command_1 = __nccwpck_require__(370); +const utils_1 = __nccwpck_require__(326); const os = __importStar(__nccwpck_require__(37)); const path = __importStar(__nccwpck_require__(17)); -const oidc_utils_1 = __nccwpck_require__(295); +const oidc_utils_1 = __nccwpck_require__(461); /** * The code to exit an action */ @@ -426,17 +426,17 @@ exports.getIDToken = getIDToken; /** * Summary exports */ -var summary_1 = __nccwpck_require__(882); +var summary_1 = __nccwpck_require__(597); Object.defineProperty(exports, "summary", ({ enumerable: true, get: function () { return summary_1.summary; } })); /** * @deprecated use core.summary */ -var summary_2 = __nccwpck_require__(882); +var summary_2 = __nccwpck_require__(597); Object.defineProperty(exports, "markdownSummary", ({ enumerable: true, get: function () { return summary_2.markdownSummary; } })); /** * Path exports */ -var path_utils_1 = __nccwpck_require__(552); +var path_utils_1 = __nccwpck_require__(584); 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; } })); @@ -444,7 +444,7 @@ Object.defineProperty(exports, "toPlatformPath", ({ enumerable: true, get: funct /***/ }), -/***/ 833: +/***/ 370: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -475,8 +475,8 @@ exports.prepareKeyValueMessage = exports.issueFileCommand = void 0; /* eslint-disable @typescript-eslint/no-explicit-any */ const fs = __importStar(__nccwpck_require__(147)); const os = __importStar(__nccwpck_require__(37)); -const uuid_1 = __nccwpck_require__(562); -const utils_1 = __nccwpck_require__(732); +const uuid_1 = __nccwpck_require__(944); +const utils_1 = __nccwpck_require__(326); function issueFileCommand(command, message) { const filePath = process.env[`GITHUB_${command}`]; if (!filePath) { @@ -509,7 +509,7 @@ exports.prepareKeyValueMessage = prepareKeyValueMessage; /***/ }), -/***/ 295: +/***/ 461: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -525,9 +525,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__(26); -const auth_1 = __nccwpck_require__(749); -const core_1 = __nccwpck_require__(100); +const http_client_1 = __nccwpck_require__(445); +const auth_1 = __nccwpck_require__(576); +const core_1 = __nccwpck_require__(58); class OidcClient { static createHttpClient(allowRetry = true, maxRetry = 10) { const requestOptions = { @@ -593,7 +593,7 @@ exports.OidcClient = OidcClient; /***/ }), -/***/ 552: +/***/ 584: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -658,7 +658,7 @@ exports.toPlatformPath = toPlatformPath; /***/ }), -/***/ 882: +/***/ 597: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -948,7 +948,7 @@ exports.summary = _summary; /***/ }), -/***/ 732: +/***/ 326: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -995,7 +995,7 @@ exports.toCommandProperties = toCommandProperties; /***/ }), -/***/ 562: +/***/ 944: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1059,29 +1059,29 @@ Object.defineProperty(exports, "parse", ({ } })); -var _v = _interopRequireDefault(__nccwpck_require__(512)); +var _v = _interopRequireDefault(__nccwpck_require__(912)); -var _v2 = _interopRequireDefault(__nccwpck_require__(674)); +var _v2 = _interopRequireDefault(__nccwpck_require__(660)); -var _v3 = _interopRequireDefault(__nccwpck_require__(777)); +var _v3 = _interopRequireDefault(__nccwpck_require__(67)); -var _v4 = _interopRequireDefault(__nccwpck_require__(411)); +var _v4 = _interopRequireDefault(__nccwpck_require__(705)); -var _nil = _interopRequireDefault(__nccwpck_require__(663)); +var _nil = _interopRequireDefault(__nccwpck_require__(483)); -var _version = _interopRequireDefault(__nccwpck_require__(656)); +var _version = _interopRequireDefault(__nccwpck_require__(716)); -var _validate = _interopRequireDefault(__nccwpck_require__(42)); +var _validate = _interopRequireDefault(__nccwpck_require__(264)); -var _stringify = _interopRequireDefault(__nccwpck_require__(444)); +var _stringify = _interopRequireDefault(__nccwpck_require__(779)); -var _parse = _interopRequireDefault(__nccwpck_require__(270)); +var _parse = _interopRequireDefault(__nccwpck_require__(197)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /***/ }), -/***/ 649: +/***/ 446: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1111,7 +1111,7 @@ exports["default"] = _default; /***/ }), -/***/ 663: +/***/ 483: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -1126,7 +1126,7 @@ exports["default"] = _default; /***/ }), -/***/ 270: +/***/ 197: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1137,7 +1137,7 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _validate = _interopRequireDefault(__nccwpck_require__(42)); +var _validate = _interopRequireDefault(__nccwpck_require__(264)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -1178,7 +1178,7 @@ exports["default"] = _default; /***/ }), -/***/ 501: +/***/ 913: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -1193,7 +1193,7 @@ exports["default"] = _default; /***/ }), -/***/ 825: +/***/ 376: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1224,7 +1224,7 @@ function rng() { /***/ }), -/***/ 723: +/***/ 13: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1254,7 +1254,7 @@ exports["default"] = _default; /***/ }), -/***/ 444: +/***/ 779: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1265,7 +1265,7 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _validate = _interopRequireDefault(__nccwpck_require__(42)); +var _validate = _interopRequireDefault(__nccwpck_require__(264)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -1300,7 +1300,7 @@ exports["default"] = _default; /***/ }), -/***/ 512: +/***/ 912: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1311,9 +1311,9 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _rng = _interopRequireDefault(__nccwpck_require__(825)); +var _rng = _interopRequireDefault(__nccwpck_require__(376)); -var _stringify = _interopRequireDefault(__nccwpck_require__(444)); +var _stringify = _interopRequireDefault(__nccwpck_require__(779)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -1414,7 +1414,7 @@ exports["default"] = _default; /***/ }), -/***/ 674: +/***/ 660: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1425,9 +1425,9 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _v = _interopRequireDefault(__nccwpck_require__(910)); +var _v = _interopRequireDefault(__nccwpck_require__(751)); -var _md = _interopRequireDefault(__nccwpck_require__(649)); +var _md = _interopRequireDefault(__nccwpck_require__(446)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -1437,7 +1437,7 @@ exports["default"] = _default; /***/ }), -/***/ 910: +/***/ 751: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1449,9 +1449,9 @@ Object.defineProperty(exports, "__esModule", ({ exports["default"] = _default; exports.URL = exports.DNS = void 0; -var _stringify = _interopRequireDefault(__nccwpck_require__(444)); +var _stringify = _interopRequireDefault(__nccwpck_require__(779)); -var _parse = _interopRequireDefault(__nccwpck_require__(270)); +var _parse = _interopRequireDefault(__nccwpck_require__(197)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -1522,7 +1522,7 @@ function _default(name, version, hashfunc) { /***/ }), -/***/ 777: +/***/ 67: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1533,9 +1533,9 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _rng = _interopRequireDefault(__nccwpck_require__(825)); +var _rng = _interopRequireDefault(__nccwpck_require__(376)); -var _stringify = _interopRequireDefault(__nccwpck_require__(444)); +var _stringify = _interopRequireDefault(__nccwpck_require__(779)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -1566,7 +1566,7 @@ exports["default"] = _default; /***/ }), -/***/ 411: +/***/ 705: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1577,9 +1577,9 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _v = _interopRequireDefault(__nccwpck_require__(910)); +var _v = _interopRequireDefault(__nccwpck_require__(751)); -var _sha = _interopRequireDefault(__nccwpck_require__(723)); +var _sha = _interopRequireDefault(__nccwpck_require__(13)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -1589,7 +1589,7 @@ exports["default"] = _default; /***/ }), -/***/ 42: +/***/ 264: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1600,7 +1600,7 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _regex = _interopRequireDefault(__nccwpck_require__(501)); +var _regex = _interopRequireDefault(__nccwpck_require__(913)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -1613,7 +1613,7 @@ exports["default"] = _default; /***/ }), -/***/ 656: +/***/ 716: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1624,7 +1624,7 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _validate = _interopRequireDefault(__nccwpck_require__(42)); +var _validate = _interopRequireDefault(__nccwpck_require__(264)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -1641,7 +1641,7 @@ exports["default"] = _default; /***/ }), -/***/ 413: +/***/ 323: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -1676,8 +1676,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__(670)); +const string_decoder_1 = __nccwpck_require__(117); +const tr = __importStar(__nccwpck_require__(633)); /** * Exec a command. * Output will be streamed to the live console. @@ -1751,7 +1751,7 @@ exports.getExecOutput = getExecOutput; /***/ }), -/***/ 670: +/***/ 633: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -1790,9 +1790,9 @@ 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__(96)); -const ioUtil = __importStar(__nccwpck_require__(205)); -const timers_1 = __nccwpck_require__(784); +const io = __importStar(__nccwpck_require__(75)); +const ioUtil = __importStar(__nccwpck_require__(749)); +const timers_1 = __nccwpck_require__(512); /* eslint-disable @typescript-eslint/unbound-method */ const IS_WINDOWS = process.platform === 'win32'; /* @@ -2376,7 +2376,7 @@ class ExecState extends events.EventEmitter { /***/ }), -/***/ 749: +/***/ 576: /***/ (function(__unused_webpack_module, exports) { "use strict"; @@ -2464,7 +2464,7 @@ exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHand /***/ }), -/***/ 26: +/***/ 445: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -2502,8 +2502,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__(685)); const https = __importStar(__nccwpck_require__(687)); -const pm = __importStar(__nccwpck_require__(923)); -const tunnel = __importStar(__nccwpck_require__(812)); +const pm = __importStar(__nccwpck_require__(247)); +const tunnel = __importStar(__nccwpck_require__(752)); var HttpCodes; (function (HttpCodes) { HttpCodes[HttpCodes["OK"] = 200] = "OK"; @@ -3076,7 +3076,7 @@ const lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCa /***/ }), -/***/ 923: +/***/ 247: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -3144,7 +3144,7 @@ exports.checkBypass = checkBypass; /***/ }), -/***/ 205: +/***/ 749: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -3328,7 +3328,7 @@ exports.getCmdPath = getCmdPath; /***/ }), -/***/ 96: +/***/ 75: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -3367,7 +3367,7 @@ 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__(205)); +const ioUtil = __importStar(__nccwpck_require__(749)); const exec = util_1.promisify(childProcess.exec); const execFile = util_1.promisify(childProcess.execFile); /** @@ -3676,15 +3676,15 @@ function copyFile(srcFile, destFile, force) { /***/ }), -/***/ 812: +/***/ 752: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -module.exports = __nccwpck_require__(196); +module.exports = __nccwpck_require__(77); /***/ }), -/***/ 196: +/***/ 77: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -3956,7 +3956,7 @@ exports.debug = debug; // for test /***/ }), -/***/ 514: +/***/ 748: /***/ ((module) => { /** @@ -3999,7 +3999,7 @@ class OutputListener { /***/ }), -/***/ 529: +/***/ 392: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { const os = __nccwpck_require__(37); @@ -4094,7 +4094,7 @@ module.exports = require("path"); /***/ }), -/***/ 576: +/***/ 117: /***/ ((module) => { "use strict"; @@ -4102,7 +4102,7 @@ module.exports = require("string_decoder"); /***/ }), -/***/ 784: +/***/ 512: /***/ ((module) => { "use strict"; @@ -4167,12 +4167,12 @@ module.exports = require("util"); var __webpack_exports__ = {}; // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. (() => { -const io = __nccwpck_require__(96); -const core = __nccwpck_require__(100); -const { exec } = __nccwpck_require__(413); +const io = __nccwpck_require__(75); +const core = __nccwpck_require__(58); +const { exec } = __nccwpck_require__(323); -const OutputListener = __nccwpck_require__(514); -const pathToCLI = __nccwpck_require__(529); +const OutputListener = __nccwpck_require__(748); +const pathToCLI = __nccwpck_require__(392); async function checkStackQL () { // Setting check to `true` will cause `which` to throw if stackql isn't found