chore: adjust cleanup build and some imports

This commit is contained in:
peterwoodworth
2023-03-22 16:37:58 -07:00
parent 3088522ce8
commit fc80f28dba
6 changed files with 19 additions and 117 deletions
Generated Vendored
+6 -32
View File
@@ -2,42 +2,16 @@
/******/ var __webpack_modules__ = ({
/***/ 3301:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.CredentialsClient = void 0;
const core = __importStar(__nccwpck_require__(2186));
const core_1 = __nccwpck_require__(2186);
const client_sts_1 = __nccwpck_require__(2209);
const node_http_handler_1 = __nccwpck_require__(8805);
const https_proxy_agent_1 = __importDefault(__nccwpck_require__(7219));
const https_proxy_agent_1 = __nccwpck_require__(7219);
const helpers_1 = __nccwpck_require__(9787);
const USER_AGENT = 'configure-aws-credentials-for-github-actions';
class CredentialsClient {
@@ -46,11 +20,11 @@ class CredentialsClient {
this.region = props.region;
}
else {
core.info('No region provided, using global STS endpoint');
(0, core_1.info)('No region provided, using global STS endpoint');
}
if (props.proxyServer) {
core.info('Configurint proxy handler for STS client');
const handler = (0, https_proxy_agent_1.default)(props.proxyServer);
(0, core_1.info)('Configurint proxy handler for STS client');
const handler = new https_proxy_agent_1.HttpsProxyAgent(props.proxyServer);
this.requestHandler = new node_http_handler_1.NodeHttpHandler({
httpAgent: handler,
httpsAgent: handler,