Skip to content

Commit c9426f4

Browse files
authored
Merge pull request #401 from arduino/dependabot/npm_and_yarn/actions/http-client-2.2.3
Bump @actions/http-client from 2.2.2 to 2.2.3
2 parents 83ad32f + 549730e commit c9426f4

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3359,7 +3359,7 @@ class HttpClient {
33593359
}
33603360
const usingSsl = parsedUrl.protocol === 'https:';
33613361
proxyAgent = new undici_1.ProxyAgent(Object.assign({ uri: proxyUrl.href, pipelining: !this._keepAlive ? 0 : 1 }, ((proxyUrl.username || proxyUrl.password) && {
3362-
token: `${proxyUrl.username}:${proxyUrl.password}`
3362+
token: `Basic ${Buffer.from(`${proxyUrl.username}:${proxyUrl.password}`).toString('base64')}`
33633363
})));
33643364
this._proxyAgentDispatcher = proxyAgent;
33653365
if (usingSsl && this._ignoreSslError) {

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"license": "MIT",
2424
"dependencies": {
2525
"@actions/core": "^1.10.1",
26-
"@actions/http-client": "^2.2.2",
26+
"@actions/http-client": "^2.2.3",
2727
"@actions/tool-cache": "^2.0.1",
2828
"semver": "^7.6.3"
2929
},

0 commit comments

Comments
 (0)