- recompile, newer typescript dev container

This commit is contained in:
Mike Penz
2023-08-18 17:20:39 +00:00
committed by GitHub
parent ce66235291
commit d9daf249eb
5 changed files with 264 additions and 183 deletions
Generated Vendored
+20 -1
View File
@@ -4909,6 +4909,19 @@ class HttpClientResponse {
}));
});
}
readBodyBuffer() {
return __awaiter(this, void 0, void 0, function* () {
return new Promise((resolve) => __awaiter(this, void 0, void 0, function* () {
const chunks = [];
this.message.on('data', (chunk) => {
chunks.push(chunk);
});
this.message.on('end', () => {
resolve(Buffer.concat(chunks));
});
}));
});
}
}
exports.HttpClientResponse = HttpClientResponse;
function isHttps(requestUrl) {
@@ -5413,7 +5426,13 @@ function getProxyUrl(reqUrl) {
}
})();
if (proxyVar) {
return new URL(proxyVar);
try {
return new URL(proxyVar);
}
catch (_a) {
if (!proxyVar.startsWith('http://') && !proxyVar.startsWith('https://'))
return new URL(`http://${proxyVar}`);
}
}
else {
return undefined;
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long