From c134f38c01867794a23c35e86660bd9609caf30c Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Mon, 11 Mar 2024 06:27:32 +0000 Subject: [PATCH] chore(release): 40.1.4 [skip ci] --- dist/index.js | 22 +++++++++------------- package.json | 2 +- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/dist/index.js b/dist/index.js index 1b988f1fc55..ca72e641f26 100644 --- a/dist/index.js +++ b/dist/index.js @@ -524,8 +524,8 @@ 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__(1759); -const auth_1 = __nccwpck_require__(1366); +const http_client_1 = __nccwpck_require__(6372); +const auth_1 = __nccwpck_require__(8603); const core_1 = __nccwpck_require__(9093); class OidcClient { static createHttpClient(allowRetry = true, maxRetry = 10) { @@ -1729,7 +1729,7 @@ class ExecState extends events.EventEmitter { /***/ }), -/***/ 1366: +/***/ 8603: /***/ (function(__unused_webpack_module, exports) { "use strict"; @@ -1817,7 +1817,7 @@ exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHand /***/ }), -/***/ 1759: +/***/ 6372: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -1859,7 +1859,7 @@ 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__(9379)); +const pm = __importStar(__nccwpck_require__(2067)); const tunnel = __importStar(__nccwpck_require__(4225)); const undici_1 = __nccwpck_require__(2988); var HttpCodes; @@ -2325,7 +2325,7 @@ class HttpClient { if (this._keepAlive && useProxy) { agent = this._proxyAgent; } - if (this._keepAlive && !useProxy) { + if (!useProxy) { agent = this._agent; } // if agent is already assigned use that agent. @@ -2357,16 +2357,12 @@ class HttpClient { agent = tunnelAgent(agentOptions); this._proxyAgent = agent; } - // if reusing agent across request and tunneling agent isn't assigned create a new agent - if (this._keepAlive && !agent) { + // if tunneling agent isn't assigned create a new agent + if (!agent) { const options = { keepAlive: this._keepAlive, maxSockets }; agent = usingSsl ? new https.Agent(options) : new http.Agent(options); this._agent = agent; } - // if not using private agent and tunnel agent isn't setup then use global agent - if (!agent) { - agent = usingSsl ? https.globalAgent : http.globalAgent; - } if (usingSsl && this._ignoreSslError) { // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options @@ -2480,7 +2476,7 @@ const lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCa /***/ }), -/***/ 9379: +/***/ 2067: /***/ ((__unused_webpack_module, exports) => { "use strict"; diff --git a/package.json b/package.json index 6a459ea379e..0ab7c9c6d1b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "github-action", - "version": "40.1.3", + "version": "40.1.4", "private": true, "description": "GitHub Action to run Renovate self-hosted.", "homepage": "https://github.com/renovatebot/github-action#readme",