Update checked-in dependencies
This commit is contained in:
parent
4867598089
commit
80916e968c
33 changed files with 43 additions and 2418 deletions
3
node_modules/@actions/http-client/proxy.js
generated
vendored
3
node_modules/@actions/http-client/proxy.js
generated
vendored
|
|
@ -1,6 +1,5 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const url = require("url");
|
||||
function getProxyUrl(reqUrl) {
|
||||
let usingSsl = reqUrl.protocol === 'https:';
|
||||
let proxyUrl;
|
||||
|
|
@ -15,7 +14,7 @@ function getProxyUrl(reqUrl) {
|
|||
proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY'];
|
||||
}
|
||||
if (proxyVar) {
|
||||
proxyUrl = url.parse(proxyVar);
|
||||
proxyUrl = new URL(proxyVar);
|
||||
}
|
||||
return proxyUrl;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue