mirror of
				https://github.com/actions/setup-dotnet.git
				synced 2025-10-31 23:23:46 +00:00 
			
		
		
		
	Bump @actions/http-client from 2.2.1 to 2.2.3 (#592)
* 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 the check 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:
		
							parent
							
								
									3e76c4dc41
								
							
						
					
					
						commit
						4849e736f1
					
				
							
								
								
									
										2
									
								
								.licenses/npm/@actions/http-client.dep.yml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								.licenses/npm/@actions/http-client.dep.yml
									
									
									
										generated
									
									
									
								
							| @ -1,6 +1,6 @@ | |||||||
| --- | --- | ||||||
| name: "@actions/http-client" | name: "@actions/http-client" | ||||||
| version: 2.2.1 | version: 2.2.3 | ||||||
| type: npm | type: npm | ||||||
| summary: Actions Http Client | summary: Actions Http Client | ||||||
| homepage: https://github.com/actions/toolkit/tree/main/packages/http-client | homepage: https://github.com/actions/toolkit/tree/main/packages/http-client | ||||||
|  | |||||||
							
								
								
									
										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:'; |         const usingSsl = parsedUrl.protocol === 'https:'; | ||||||
|         proxyAgent = new undici_1.ProxyAgent(Object.assign({ uri: proxyUrl.href, pipelining: !this._keepAlive ? 0 : 1 }, ((proxyUrl.username || proxyUrl.password) && { |         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; |         this._proxyAgentDispatcher = proxyAgent; | ||||||
|         if (usingSsl && this._ignoreSslError) { |         if (usingSsl && this._ignoreSslError) { | ||||||
| @ -9476,11 +9476,11 @@ function getProxyUrl(reqUrl) { | |||||||
|     })(); |     })(); | ||||||
|     if (proxyVar) { |     if (proxyVar) { | ||||||
|         try { |         try { | ||||||
|             return new URL(proxyVar); |             return new DecodedURL(proxyVar); | ||||||
|         } |         } | ||||||
|         catch (_a) { |         catch (_a) { | ||||||
|             if (!proxyVar.startsWith('http://') && !proxyVar.startsWith('https://')) |             if (!proxyVar.startsWith('http://') && !proxyVar.startsWith('https://')) | ||||||
|                 return new URL(`http://${proxyVar}`); |                 return new DecodedURL(`http://${proxyVar}`); | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|     else { |     else { | ||||||
| @ -9539,6 +9539,19 @@ function isLoopbackAddress(host) { | |||||||
|         hostLower.startsWith('[::1]') || |         hostLower.startsWith('[::1]') || | ||||||
|         hostLower.startsWith('[0:0:0:0:0:0:0: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
 | //# sourceMappingURL=proxy.js.map
 | ||||||
| 
 | 
 | ||||||
| /***/ }), | /***/ }), | ||||||
|  | |||||||
							
								
								
									
										19
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										19
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							| @ -10807,7 +10807,7 @@ class HttpClient { | |||||||
|         } |         } | ||||||
|         const usingSsl = parsedUrl.protocol === 'https:'; |         const usingSsl = parsedUrl.protocol === 'https:'; | ||||||
|         proxyAgent = new undici_1.ProxyAgent(Object.assign({ uri: proxyUrl.href, pipelining: !this._keepAlive ? 0 : 1 }, ((proxyUrl.username || proxyUrl.password) && { |         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; |         this._proxyAgentDispatcher = proxyAgent; | ||||||
|         if (usingSsl && this._ignoreSslError) { |         if (usingSsl && this._ignoreSslError) { | ||||||
| @ -10921,11 +10921,11 @@ function getProxyUrl(reqUrl) { | |||||||
|     })(); |     })(); | ||||||
|     if (proxyVar) { |     if (proxyVar) { | ||||||
|         try { |         try { | ||||||
|             return new URL(proxyVar); |             return new DecodedURL(proxyVar); | ||||||
|         } |         } | ||||||
|         catch (_a) { |         catch (_a) { | ||||||
|             if (!proxyVar.startsWith('http://') && !proxyVar.startsWith('https://')) |             if (!proxyVar.startsWith('http://') && !proxyVar.startsWith('https://')) | ||||||
|                 return new URL(`http://${proxyVar}`); |                 return new DecodedURL(`http://${proxyVar}`); | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|     else { |     else { | ||||||
| @ -10984,6 +10984,19 @@ function isLoopbackAddress(host) { | |||||||
|         hostLower.startsWith('[::1]') || |         hostLower.startsWith('[::1]') || | ||||||
|         hostLower.startsWith('[0:0:0:0:0:0:0: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
 | //# sourceMappingURL=proxy.js.map
 | ||||||
| 
 | 
 | ||||||
| /***/ }), | /***/ }), | ||||||
|  | |||||||
							
								
								
									
										9
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										9
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @ -14,7 +14,7 @@ | |||||||
|         "@actions/exec": "^1.1.1", |         "@actions/exec": "^1.1.1", | ||||||
|         "@actions/github": "^6.0.0", |         "@actions/github": "^6.0.0", | ||||||
|         "@actions/glob": "^0.4.0", |         "@actions/glob": "^0.4.0", | ||||||
|         "@actions/http-client": "^2.2.1", |         "@actions/http-client": "^2.2.3", | ||||||
|         "@actions/io": "^1.0.2", |         "@actions/io": "^1.0.2", | ||||||
|         "fast-xml-parser": "^4.4.1", |         "fast-xml-parser": "^4.4.1", | ||||||
|         "json5": "^2.2.3", |         "json5": "^2.2.3", | ||||||
| @ -125,9 +125,10 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/@actions/http-client": { |     "node_modules/@actions/http-client": { | ||||||
|       "version": "2.2.1", |       "version": "2.2.3", | ||||||
|       "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.2.1.tgz", |       "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.2.3.tgz", | ||||||
|       "integrity": "sha512-KhC/cZsq7f8I4LfZSJKgCvEwfkE8o1538VoBeoGzokVLLnbFDEAdFD3UhoMklxo2un9NJVBdANOresx7vTHlHw==", |       "integrity": "sha512-mx8hyJi/hjFvbPokCg4uRd4ZX78t+YyRPtnKWwIl+RzNaVuFpQHfmlGVfsKEJN8LwTCvL+DfVgAM04XaHkm6bA==", | ||||||
|  |       "license": "MIT", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "tunnel": "^0.0.6", |         "tunnel": "^0.0.6", | ||||||
|         "undici": "^5.25.4" |         "undici": "^5.25.4" | ||||||
|  | |||||||
| @ -31,7 +31,7 @@ | |||||||
|     "@actions/exec": "^1.1.1", |     "@actions/exec": "^1.1.1", | ||||||
|     "@actions/github": "^6.0.0", |     "@actions/github": "^6.0.0", | ||||||
|     "@actions/glob": "^0.4.0", |     "@actions/glob": "^0.4.0", | ||||||
|     "@actions/http-client": "^2.2.1", |     "@actions/http-client": "^2.2.3", | ||||||
|     "@actions/io": "^1.0.2", |     "@actions/io": "^1.0.2", | ||||||
|     "fast-xml-parser": "^4.4.1", |     "fast-xml-parser": "^4.4.1", | ||||||
|     "json5": "^2.2.3", |     "json5": "^2.2.3", | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user