Skip to content

Commit

Permalink
chore(release): 40.1.4 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
semantic-release-bot committed Mar 11, 2024
1 parent da7ca4d commit c134f38
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
22 changes: 9 additions & 13 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -1729,7 +1729,7 @@ class ExecState extends events.EventEmitter {

/***/ }),

/***/ 1366:
/***/ 8603:
/***/ (function(__unused_webpack_module, exports) {

"use strict";
Expand Down Expand Up @@ -1817,7 +1817,7 @@ exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHand

/***/ }),

/***/ 1759:
/***/ 6372:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {

"use strict";
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -2480,7 +2476,7 @@ const lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCa

/***/ }),

/***/ 9379:
/***/ 2067:
/***/ ((__unused_webpack_module, exports) => {

"use strict";
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit c134f38

Please sign in to comment.