Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitceb20b2

Browse files
Bump @actions/http-client from 2.2.1 to 2.2.3 (#1020)
* Bump @actions/http-client from 2.2.1 to 2.2.3Bumps [@actions/http-client](https://github.com/actions/toolkit/tree/HEAD/packages/http-client) from 2.2.1 to 2.2.3.- [Changelog](https://github.com/actions/toolkit/blob/main/packages/http-client/RELEASES.md)- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/http-client)---updated-dependencies:- dependency-name: "@actions/http-client" dependency-type: direct:production update-type: version-update:semver-patch...Signed-off-by: dependabot[bot] <support@github.com>* fix for licensed and check-dist checks failures---------Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com>
1 parent0dc2d2c commitceb20b2

File tree

5 files changed

+39
-12
lines changed

5 files changed

+39
-12
lines changed

‎.licenses/npm/@actions/http-client.dep.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎dist/cache-save/index.js

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9362,7 +9362,7 @@ class HttpClient {
93629362
}
93639363
const usingSsl = parsedUrl.protocol === 'https:';
93649364
proxyAgent = new undici_1.ProxyAgent(Object.assign({ uri: proxyUrl.href, pipelining: !this._keepAlive ? 0 : 1 }, ((proxyUrl.username || proxyUrl.password) && {
9365-
token: `${proxyUrl.username}:${proxyUrl.password}`
9365+
token: `Basic ${Buffer.from(`${proxyUrl.username}:${proxyUrl.password}`).toString('base64')}`
93669366
})));
93679367
this._proxyAgentDispatcher = proxyAgent;
93689368
if (usingSsl && this._ignoreSslError) {
@@ -9476,11 +9476,11 @@ function getProxyUrl(reqUrl) {
94769476
})();
94779477
if (proxyVar) {
94789478
try {
9479-
return newURL(proxyVar);
9479+
return newDecodedURL(proxyVar);
94809480
}
94819481
catch (_a) {
94829482
if (!proxyVar.startsWith('http://') && !proxyVar.startsWith('https://'))
9483-
return newURL(`http://${proxyVar}`);
9483+
return newDecodedURL(`http://${proxyVar}`);
94849484
}
94859485
}
94869486
else {
@@ -9539,6 +9539,19 @@ function isLoopbackAddress(host) {
95399539
hostLower.startsWith('[::1]') ||
95409540
hostLower.startsWith('[0:0:0:0:0:0:0:1]'));
95419541
}
9542+
class DecodedURL extends URL {
9543+
constructor(url, base) {
9544+
super(url, base);
9545+
this._decodedUsername = decodeURIComponent(super.username);
9546+
this._decodedPassword = decodeURIComponent(super.password);
9547+
}
9548+
get username() {
9549+
return this._decodedUsername;
9550+
}
9551+
get password() {
9552+
return this._decodedPassword;
9553+
}
9554+
}
95429555
//# sourceMappingURL=proxy.js.map
95439556

95449557
/***/ }),

‎dist/setup/index.js

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10554,7 +10554,7 @@ class HttpClient {
1055410554
}
1055510555
const usingSsl = parsedUrl.protocol === 'https:';
1055610556
proxyAgent = new undici_1.ProxyAgent(Object.assign({ uri: proxyUrl.href, pipelining: !this._keepAlive ? 0 : 1 }, ((proxyUrl.username || proxyUrl.password) && {
10557-
token: `${proxyUrl.username}:${proxyUrl.password}`
10557+
token: `Basic ${Buffer.from(`${proxyUrl.username}:${proxyUrl.password}`).toString('base64')}`
1055810558
})));
1055910559
this._proxyAgentDispatcher = proxyAgent;
1056010560
if (usingSsl && this._ignoreSslError) {
@@ -10668,11 +10668,11 @@ function getProxyUrl(reqUrl) {
1066810668
})();
1066910669
if (proxyVar) {
1067010670
try {
10671-
return newURL(proxyVar);
10671+
return newDecodedURL(proxyVar);
1067210672
}
1067310673
catch (_a) {
1067410674
if (!proxyVar.startsWith('http://') && !proxyVar.startsWith('https://'))
10675-
return newURL(`http://${proxyVar}`);
10675+
return newDecodedURL(`http://${proxyVar}`);
1067610676
}
1067710677
}
1067810678
else {
@@ -10731,6 +10731,19 @@ function isLoopbackAddress(host) {
1073110731
hostLower.startsWith('[::1]') ||
1073210732
hostLower.startsWith('[0:0:0:0:0:0:0:1]'));
1073310733
}
10734+
class DecodedURL extends URL {
10735+
constructor(url, base) {
10736+
super(url, base);
10737+
this._decodedUsername = decodeURIComponent(super.username);
10738+
this._decodedPassword = decodeURIComponent(super.password);
10739+
}
10740+
get username() {
10741+
return this._decodedUsername;
10742+
}
10743+
get password() {
10744+
return this._decodedPassword;
10745+
}
10746+
}
1073410747
//# sourceMappingURL=proxy.js.map
1073510748

1073610749
/***/ }),

‎package-lock.json

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@actions/core":"^1.10.0",
3030
"@actions/exec":"^1.1.0",
3131
"@actions/glob":"^0.4.0",
32-
"@actions/http-client":"^2.2.1",
32+
"@actions/http-client":"^2.2.3",
3333
"@actions/io":"^1.0.2",
3434
"@actions/tool-cache":"^2.0.1",
3535
"@iarna/toml":"^3.0.0",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp