@@ -1403,7 +1403,7 @@ const util_1 = __nccwpck_require__(3837);
14031403const url_1 = __nccwpck_require__(7310);
14041404const perf_hooks_1 = __nccwpck_require__(4074);
14051405const status_reporter_1 = __nccwpck_require__(80);
1406- const http_client_1 = __nccwpck_require__(3569 );
1406+ const http_client_1 = __nccwpck_require__(7794 );
14071407const http_manager_1 = __nccwpck_require__(1760);
14081408const upload_gzip_1 = __nccwpck_require__(8921);
14091409const requestUtils_1 = __nccwpck_require__(4580);
@@ -1902,8 +1902,8 @@ exports.digestForStream = exports.sleep = exports.getProperRetention = exports.r
19021902const crypto_1 = __importDefault(__nccwpck_require__(6113));
19031903const fs_1 = __nccwpck_require__(7147);
19041904const core_1 = __nccwpck_require__(7733);
1905- const http_client_1 = __nccwpck_require__(3569 );
1906- const auth_1 = __nccwpck_require__(6931 );
1905+ const http_client_1 = __nccwpck_require__(7794 );
1906+ const auth_1 = __nccwpck_require__(4610 );
19071907const config_variables_1 = __nccwpck_require__(4233);
19081908const crc64_1 = __importDefault(__nccwpck_require__(3477));
19091909/**
@@ -2421,8 +2421,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
24212421};
24222422Object.defineProperty(exports, "__esModule", ({ value: true }));
24232423const core = __importStar(__nccwpck_require__(7733));
2424- const http_client_1 = __nccwpck_require__(3569 );
2425- const auth_1 = __nccwpck_require__(6931 );
2424+ const http_client_1 = __nccwpck_require__(7794 );
2425+ const auth_1 = __nccwpck_require__(4610 );
24262426const crypto = __importStar(__nccwpck_require__(6113));
24272427const fs = __importStar(__nccwpck_require__(7147));
24282428const url_1 = __nccwpck_require__(7310);
@@ -2891,7 +2891,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
28912891};
28922892Object.defineProperty(exports, "__esModule", ({ value: true }));
28932893const core = __importStar(__nccwpck_require__(7733));
2894- const http_client_1 = __nccwpck_require__(3569 );
2894+ const http_client_1 = __nccwpck_require__(7794 );
28952895const storage_blob_1 = __nccwpck_require__(3929);
28962896const buffer = __importStar(__nccwpck_require__(4300));
28972897const fs = __importStar(__nccwpck_require__(7147));
@@ -3148,7 +3148,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
31483148};
31493149Object.defineProperty(exports, "__esModule", ({ value: true }));
31503150const core = __importStar(__nccwpck_require__(7733));
3151- const http_client_1 = __nccwpck_require__(3569 );
3151+ const http_client_1 = __nccwpck_require__(7794 );
31523152const constants_1 = __nccwpck_require__(2114);
31533153function isSuccessStatusCode(statusCode) {
31543154 if (!statusCode) {
@@ -4112,8 +4112,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
41124112};
41134113Object.defineProperty(exports, "__esModule", ({ value: true }));
41144114exports.OidcClient = void 0;
4115- const http_client_1 = __nccwpck_require__(3569 );
4116- const auth_1 = __nccwpck_require__(6931 );
4115+ const http_client_1 = __nccwpck_require__(7794 );
4116+ const auth_1 = __nccwpck_require__(4610 );
41174117const core_1 = __nccwpck_require__(7733);
41184118class OidcClient {
41194119 static createHttpClient(allowRetry = true, maxRetry = 10) {
@@ -6366,7 +6366,7 @@ exports.SearchState = SearchState;
63666366
63676367/***/ }),
63686368
6369- /***/ 6931 :
6369+ /***/ 4610 :
63706370/***/ (function(__unused_webpack_module, exports) {
63716371
63726372
@@ -6453,7 +6453,7 @@ exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHand
64536453
64546454/***/ }),
64556455
6456- /***/ 3569 :
6456+ /***/ 7794 :
64576457/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
64586458
64596459
@@ -6490,7 +6490,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
64906490exports.HttpClient = exports.isHttps = exports.HttpClientResponse = exports.HttpClientError = exports.getProxyUrl = exports.MediaTypes = exports.Headers = exports.HttpCodes = void 0;
64916491const http = __importStar(__nccwpck_require__(3685));
64926492const https = __importStar(__nccwpck_require__(5687));
6493- const pm = __importStar(__nccwpck_require__(2242 ));
6493+ const pm = __importStar(__nccwpck_require__(1116 ));
64946494const tunnel = __importStar(__nccwpck_require__(4249));
64956495var HttpCodes;
64966496(function (HttpCodes) {
@@ -7064,7 +7064,7 @@ const lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCa
70647064
70657065/***/ }),
70667066
7067- /***/ 2242 :
7067+ /***/ 1116 :
70687068/***/ ((__unused_webpack_module, exports) => {
70697069
70707070
@@ -7095,6 +7095,10 @@ function checkBypass(reqUrl) {
70957095 if (!reqUrl.hostname) {
70967096 return false;
70977097 }
7098+ const reqHost = reqUrl.hostname;
7099+ if (isLoopbackAddress(reqHost)) {
7100+ return true;
7101+ }
70987102 const noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '';
70997103 if (!noProxy) {
71007104 return false;
@@ -7120,13 +7124,24 @@ function checkBypass(reqUrl) {
71207124 .split(',')
71217125 .map(x => x.trim().toUpperCase())
71227126 .filter(x => x)) {
7123- if (upperReqHosts.some(x => x === upperNoProxyItem)) {
7127+ if (upperNoProxyItem === '*' ||
7128+ upperReqHosts.some(x => x === upperNoProxyItem ||
7129+ x.endsWith(`.${upperNoProxyItem}`) ||
7130+ (upperNoProxyItem.startsWith('.') &&
7131+ x.endsWith(`${upperNoProxyItem}`)))) {
71247132 return true;
71257133 }
71267134 }
71277135 return false;
71287136}
71297137exports.checkBypass = checkBypass;
7138+ function isLoopbackAddress(host) {
7139+ const hostLower = host.toLowerCase();
7140+ return (hostLower === 'localhost' ||
7141+ hostLower.startsWith('127.') ||
7142+ hostLower.startsWith('[::1]') ||
7143+ hostLower.startsWith('[0:0:0:0:0:0:0:1]'));
7144+ }
71307145//# sourceMappingURL=proxy.js.map
71317146
71327147/***/ }),
@@ -7927,7 +7942,7 @@ const fs = __importStar(__nccwpck_require__(7147));
79277942const mm = __importStar(__nccwpck_require__(2842));
79287943const os = __importStar(__nccwpck_require__(2037));
79297944const path = __importStar(__nccwpck_require__(1017));
7930- const httpm = __importStar(__nccwpck_require__(3569 ));
7945+ const httpm = __importStar(__nccwpck_require__(7794 ));
79317946const semver = __importStar(__nccwpck_require__(3496));
79327947const stream = __importStar(__nccwpck_require__(2781));
79337948const util = __importStar(__nccwpck_require__(3837));
0 commit comments