mirror of
				https://gitea.com/actions/setup-python.git
				synced 2025-10-31 19:58:55 +08:00 
			
		
		
		
	Bump @actions/http-client from 2.2.1 to 2.2.3 (#1020)
* Bump @actions/http-client from 2.2.1 to 2.2.3 Bumps [@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>
This commit is contained in:
		
							
								
								
									
										19
									
								
								dist/cache-save/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										19
									
								
								dist/cache-save/index.js
									
									
									
									
										vendored
									
									
								
							| @@ -9362,7 +9362,7 @@ class HttpClient { | ||||
|         } | ||||
|         const usingSsl = parsedUrl.protocol === 'https:'; | ||||
|         proxyAgent = new undici_1.ProxyAgent(Object.assign({ uri: proxyUrl.href, pipelining: !this._keepAlive ? 0 : 1 }, ((proxyUrl.username || proxyUrl.password) && { | ||||
|             token: `${proxyUrl.username}:${proxyUrl.password}` | ||||
|             token: `Basic ${Buffer.from(`${proxyUrl.username}:${proxyUrl.password}`).toString('base64')}` | ||||
|         }))); | ||||
|         this._proxyAgentDispatcher = proxyAgent; | ||||
|         if (usingSsl && this._ignoreSslError) { | ||||
| @@ -9476,11 +9476,11 @@ function getProxyUrl(reqUrl) { | ||||
|     })(); | ||||
|     if (proxyVar) { | ||||
|         try { | ||||
|             return new URL(proxyVar); | ||||
|             return new DecodedURL(proxyVar); | ||||
|         } | ||||
|         catch (_a) { | ||||
|             if (!proxyVar.startsWith('http://') && !proxyVar.startsWith('https://')) | ||||
|                 return new URL(`http://${proxyVar}`); | ||||
|                 return new DecodedURL(`http://${proxyVar}`); | ||||
|         } | ||||
|     } | ||||
|     else { | ||||
| @@ -9539,6 +9539,19 @@ function isLoopbackAddress(host) { | ||||
|         hostLower.startsWith('[::1]') || | ||||
|         hostLower.startsWith('[0:0:0:0:0:0:0:1]')); | ||||
| } | ||||
| class DecodedURL extends URL { | ||||
|     constructor(url, base) { | ||||
|         super(url, base); | ||||
|         this._decodedUsername = decodeURIComponent(super.username); | ||||
|         this._decodedPassword = decodeURIComponent(super.password); | ||||
|     } | ||||
|     get username() { | ||||
|         return this._decodedUsername; | ||||
|     } | ||||
|     get password() { | ||||
|         return this._decodedPassword; | ||||
|     } | ||||
| } | ||||
| //# sourceMappingURL=proxy.js.map
 | ||||
| 
 | ||||
| /***/ }), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	![49699333+dependabot[bot]@users.noreply.github.com](/assets/img/avatar_default.png) dependabot[bot]
					dependabot[bot]