mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-16 08:52:35 +00:00
chore(release): 40.2.7 [skip ci]
This commit is contained in:
parent
3f242d0118
commit
630a255a1f
2 changed files with 23 additions and 10 deletions
31
dist/index.js
vendored
31
dist/index.js
vendored
|
|
@ -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) {
|
||||
|
|
@ -1729,7 +1729,7 @@ class ExecState extends events.EventEmitter {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 8603:
|
||||
/***/ 2177:
|
||||
/***/ (function(__unused_webpack_module, exports) {
|
||||
|
||||
"use strict";
|
||||
|
|
@ -1817,7 +1817,7 @@ exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHand
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 6372:
|
||||
/***/ 6634:
|
||||
/***/ (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__(2067));
|
||||
const pm = __importStar(__nccwpck_require__(4318));
|
||||
const tunnel = __importStar(__nccwpck_require__(4225));
|
||||
const undici_1 = __nccwpck_require__(7181);
|
||||
var HttpCodes;
|
||||
|
|
@ -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) {
|
||||
|
|
@ -2476,7 +2476,7 @@ const lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCa
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 2067:
|
||||
/***/ 4318:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
"use strict";
|
||||
|
|
@ -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 {
|
||||
|
|
@ -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
|
||||
|
||||
/***/ }),
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue