Skip to content

Commit

Permalink
chore(release): 40.2.7 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
semantic-release-bot committed Aug 26, 2024
1 parent 3f242d0 commit 630a255
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 10 deletions.
31 changes: 22 additions & 9 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__(6372);
const auth_1 = __nccwpck_require__(8603);
const http_client_1 = __nccwpck_require__(6634);
const auth_1 = __nccwpck_require__(2177);
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 {

/***/ }),

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

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

/***/ }),

/***/ 6372:
/***/ 6634:
/***/ (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__(2067));
const pm = __importStar(__nccwpck_require__(4318));
const tunnel = __importStar(__nccwpck_require__(4225));
const undici_1 = __nccwpck_require__(7181);
var HttpCodes;
Expand Down Expand Up @@ -2384,7 +2384,7 @@ class HttpClient {
}
const usingSsl = parsedUrl.protocol === 'https:';
proxyAgent = new undici_1.ProxyAgent(Object.assign({ uri: proxyUrl.href, pipelining: !this._keepAlive ? 0 : 1 }, ((proxyUrl.username || proxyUrl.password) && {
token: `${proxyUrl.username}:${proxyUrl.password}`
token: `Basic ${Buffer.from(`${proxyUrl.username}:${proxyUrl.password}`).toString('base64')}`
})));
this._proxyAgentDispatcher = proxyAgent;
if (usingSsl && this._ignoreSslError) {
Expand Down Expand Up @@ -2476,7 +2476,7 @@ const lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCa

/***/ }),

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

"use strict";
Expand All @@ -2498,11 +2498,11 @@ function getProxyUrl(reqUrl) {
})();
if (proxyVar) {
try {
return new URL(proxyVar);
return new DecodedURL(proxyVar);
}
catch (_a) {
if (!proxyVar.startsWith('http://') && !proxyVar.startsWith('https://'))
return new URL(`http://${proxyVar}`);
return new DecodedURL(`http://${proxyVar}`);
}
}
else {
Expand Down Expand Up @@ -2561,6 +2561,19 @@ function isLoopbackAddress(host) {
hostLower.startsWith('[::1]') ||
hostLower.startsWith('[0:0:0:0:0:0:0:1]'));
}
class DecodedURL extends URL {
constructor(url, base) {
super(url, base);
this._decodedUsername = decodeURIComponent(super.username);
this._decodedPassword = decodeURIComponent(super.password);
}
get username() {
return this._decodedUsername;
}
get password() {
return this._decodedPassword;
}
}
//# sourceMappingURL=proxy.js.map

/***/ }),
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.2.6",
"version": "40.2.7",
"private": true,
"description": "GitHub Action to run Renovate self-hosted.",
"homepage": "https://github.com/renovatebot/github-action#readme",
Expand Down

0 comments on commit 630a255

Please sign in to comment.