mirror of
				https://github.com/actions/setup-go.git
				synced 2025-10-31 15:43:43 +00:00 
			
		
		
		
	Bump undici from 5.28.5 to 5.29.0 (#594)
* Bump undici from 5.28.5 to 5.29.0 Bumps [undici](https://github.com/nodejs/undici) from 5.28.5 to 5.29.0. - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](https://github.com/nodejs/undici/compare/v5.28.5...v5.29.0) --- updated-dependencies: - dependency-name: undici dependency-version: 5.29.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * Fix CI failures --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									8d4083a006
								
							
						
					
					
						commit
						6f26dcc668
					
				
							
								
								
									
										2
									
								
								.licenses/npm/undici.dep.yml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								.licenses/npm/undici.dep.yml
									
									
									
										generated
									
									
									
								
							| @ -1,6 +1,6 @@ | |||||||
| --- | --- | ||||||
| name: undici | name: undici | ||||||
| version: 5.28.5 | version: 5.29.0 | ||||||
| type: npm | type: npm | ||||||
| summary: An HTTP/1.1 client, written from scratch for Node.js | summary: An HTTP/1.1 client, written from scratch for Node.js | ||||||
| homepage: https://undici.nodejs.org | homepage: https://undici.nodejs.org | ||||||
|  | |||||||
							
								
								
									
										62
									
								
								dist/cache-save/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										62
									
								
								dist/cache-save/index.js
									
									
									
									
										vendored
									
									
								
							| @ -62802,7 +62802,7 @@ module.exports = { | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| const { parseSetCookie } = __nccwpck_require__(4408) | const { parseSetCookie } = __nccwpck_require__(4408) | ||||||
| const { stringify, getHeadersList } = __nccwpck_require__(3121) | const { stringify } = __nccwpck_require__(3121) | ||||||
| const { webidl } = __nccwpck_require__(1744) | const { webidl } = __nccwpck_require__(1744) | ||||||
| const { Headers } = __nccwpck_require__(554) | const { Headers } = __nccwpck_require__(554) | ||||||
| 
 | 
 | ||||||
| @ -62878,14 +62878,13 @@ function getSetCookies (headers) { | |||||||
| 
 | 
 | ||||||
|   webidl.brandCheck(headers, Headers, { strict: false }) |   webidl.brandCheck(headers, Headers, { strict: false }) | ||||||
| 
 | 
 | ||||||
|   const cookies = getHeadersList(headers).cookies |   const cookies = headers.getSetCookie() | ||||||
| 
 | 
 | ||||||
|   if (!cookies) { |   if (!cookies) { | ||||||
|     return [] |     return [] | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   // In older versions of undici, cookies is a list of name:value.
 |   return cookies.map((pair) => parseSetCookie(pair)) | ||||||
|   return cookies.map((pair) => parseSetCookie(Array.isArray(pair) ? pair[1] : pair)) |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /** | /** | ||||||
| @ -63313,14 +63312,15 @@ module.exports = { | |||||||
| /***/ }), | /***/ }), | ||||||
| 
 | 
 | ||||||
| /***/ 3121: | /***/ 3121: | ||||||
| /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { | /***/ ((module) => { | ||||||
| 
 | 
 | ||||||
| "use strict"; | "use strict"; | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| const assert = __nccwpck_require__(9491) | /** | ||||||
| const { kHeadersList } = __nccwpck_require__(2785) |  * @param {string} value | ||||||
| 
 |  * @returns {boolean} | ||||||
|  |  */ | ||||||
| function isCTLExcludingHtab (value) { | function isCTLExcludingHtab (value) { | ||||||
|   if (value.length === 0) { |   if (value.length === 0) { | ||||||
|     return false |     return false | ||||||
| @ -63581,31 +63581,13 @@ function stringify (cookie) { | |||||||
|   return out.join('; ') |   return out.join('; ') | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| let kHeadersListNode |  | ||||||
| 
 |  | ||||||
| function getHeadersList (headers) { |  | ||||||
|   if (headers[kHeadersList]) { |  | ||||||
|     return headers[kHeadersList] |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   if (!kHeadersListNode) { |  | ||||||
|     kHeadersListNode = Object.getOwnPropertySymbols(headers).find( |  | ||||||
|       (symbol) => symbol.description === 'headers list' |  | ||||||
|     ) |  | ||||||
| 
 |  | ||||||
|     assert(kHeadersListNode, 'Headers cannot be parsed') |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   const headersList = headers[kHeadersListNode] |  | ||||||
|   assert(headersList) |  | ||||||
| 
 |  | ||||||
|   return headersList |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| module.exports = { | module.exports = { | ||||||
|   isCTLExcludingHtab, |   isCTLExcludingHtab, | ||||||
|   stringify, |   validateCookieName, | ||||||
|   getHeadersList |   validateCookiePath, | ||||||
|  |   validateCookieValue, | ||||||
|  |   toIMFDate, | ||||||
|  |   stringify | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| @ -67609,6 +67591,7 @@ const { | |||||||
|   isValidHeaderName, |   isValidHeaderName, | ||||||
|   isValidHeaderValue |   isValidHeaderValue | ||||||
| } = __nccwpck_require__(2538) | } = __nccwpck_require__(2538) | ||||||
|  | const util = __nccwpck_require__(3837) | ||||||
| const { webidl } = __nccwpck_require__(1744) | const { webidl } = __nccwpck_require__(1744) | ||||||
| const assert = __nccwpck_require__(9491) | const assert = __nccwpck_require__(9491) | ||||||
| 
 | 
 | ||||||
| @ -68162,6 +68145,9 @@ Object.defineProperties(Headers.prototype, { | |||||||
|   [Symbol.toStringTag]: { |   [Symbol.toStringTag]: { | ||||||
|     value: 'Headers', |     value: 'Headers', | ||||||
|     configurable: true |     configurable: true | ||||||
|  |   }, | ||||||
|  |   [util.inspect.custom]: { | ||||||
|  |     enumerable: false | ||||||
|   } |   } | ||||||
| }) | }) | ||||||
| 
 | 
 | ||||||
| @ -77338,6 +77324,20 @@ class Pool extends PoolBase { | |||||||
|       ? { ...options.interceptors } |       ? { ...options.interceptors } | ||||||
|       : undefined |       : undefined | ||||||
|     this[kFactory] = factory |     this[kFactory] = factory | ||||||
|  | 
 | ||||||
|  |     this.on('connectionError', (origin, targets, error) => { | ||||||
|  |       // If a connection error occurs, we remove the client from the pool,
 | ||||||
|  |       // and emit a connectionError event. They will not be re-used.
 | ||||||
|  |       // Fixes https://github.com/nodejs/undici/issues/3895
 | ||||||
|  |       for (const target of targets) { | ||||||
|  |         // Do not use kRemoveClient here, as it will close the client,
 | ||||||
|  |         // but the client cannot be closed in this state.
 | ||||||
|  |         const idx = this[kClients].indexOf(target) | ||||||
|  |         if (idx !== -1) { | ||||||
|  |           this[kClients].splice(idx, 1) | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }) | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   [kGetDispatcher] () { |   [kGetDispatcher] () { | ||||||
|  | |||||||
							
								
								
									
										62
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										62
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							| @ -69148,7 +69148,7 @@ module.exports = { | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| const { parseSetCookie } = __nccwpck_require__(4408) | const { parseSetCookie } = __nccwpck_require__(4408) | ||||||
| const { stringify, getHeadersList } = __nccwpck_require__(3121) | const { stringify } = __nccwpck_require__(3121) | ||||||
| const { webidl } = __nccwpck_require__(1744) | const { webidl } = __nccwpck_require__(1744) | ||||||
| const { Headers } = __nccwpck_require__(554) | const { Headers } = __nccwpck_require__(554) | ||||||
| 
 | 
 | ||||||
| @ -69224,14 +69224,13 @@ function getSetCookies (headers) { | |||||||
| 
 | 
 | ||||||
|   webidl.brandCheck(headers, Headers, { strict: false }) |   webidl.brandCheck(headers, Headers, { strict: false }) | ||||||
| 
 | 
 | ||||||
|   const cookies = getHeadersList(headers).cookies |   const cookies = headers.getSetCookie() | ||||||
| 
 | 
 | ||||||
|   if (!cookies) { |   if (!cookies) { | ||||||
|     return [] |     return [] | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   // In older versions of undici, cookies is a list of name:value.
 |   return cookies.map((pair) => parseSetCookie(pair)) | ||||||
|   return cookies.map((pair) => parseSetCookie(Array.isArray(pair) ? pair[1] : pair)) |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /** | /** | ||||||
| @ -69659,14 +69658,15 @@ module.exports = { | |||||||
| /***/ }), | /***/ }), | ||||||
| 
 | 
 | ||||||
| /***/ 3121: | /***/ 3121: | ||||||
| /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { | /***/ ((module) => { | ||||||
| 
 | 
 | ||||||
| "use strict"; | "use strict"; | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| const assert = __nccwpck_require__(9491) | /** | ||||||
| const { kHeadersList } = __nccwpck_require__(2785) |  * @param {string} value | ||||||
| 
 |  * @returns {boolean} | ||||||
|  |  */ | ||||||
| function isCTLExcludingHtab (value) { | function isCTLExcludingHtab (value) { | ||||||
|   if (value.length === 0) { |   if (value.length === 0) { | ||||||
|     return false |     return false | ||||||
| @ -69927,31 +69927,13 @@ function stringify (cookie) { | |||||||
|   return out.join('; ') |   return out.join('; ') | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| let kHeadersListNode |  | ||||||
| 
 |  | ||||||
| function getHeadersList (headers) { |  | ||||||
|   if (headers[kHeadersList]) { |  | ||||||
|     return headers[kHeadersList] |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   if (!kHeadersListNode) { |  | ||||||
|     kHeadersListNode = Object.getOwnPropertySymbols(headers).find( |  | ||||||
|       (symbol) => symbol.description === 'headers list' |  | ||||||
|     ) |  | ||||||
| 
 |  | ||||||
|     assert(kHeadersListNode, 'Headers cannot be parsed') |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   const headersList = headers[kHeadersListNode] |  | ||||||
|   assert(headersList) |  | ||||||
| 
 |  | ||||||
|   return headersList |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| module.exports = { | module.exports = { | ||||||
|   isCTLExcludingHtab, |   isCTLExcludingHtab, | ||||||
|   stringify, |   validateCookieName, | ||||||
|   getHeadersList |   validateCookiePath, | ||||||
|  |   validateCookieValue, | ||||||
|  |   toIMFDate, | ||||||
|  |   stringify | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| @ -73955,6 +73937,7 @@ const { | |||||||
|   isValidHeaderName, |   isValidHeaderName, | ||||||
|   isValidHeaderValue |   isValidHeaderValue | ||||||
| } = __nccwpck_require__(2538) | } = __nccwpck_require__(2538) | ||||||
|  | const util = __nccwpck_require__(3837) | ||||||
| const { webidl } = __nccwpck_require__(1744) | const { webidl } = __nccwpck_require__(1744) | ||||||
| const assert = __nccwpck_require__(9491) | const assert = __nccwpck_require__(9491) | ||||||
| 
 | 
 | ||||||
| @ -74508,6 +74491,9 @@ Object.defineProperties(Headers.prototype, { | |||||||
|   [Symbol.toStringTag]: { |   [Symbol.toStringTag]: { | ||||||
|     value: 'Headers', |     value: 'Headers', | ||||||
|     configurable: true |     configurable: true | ||||||
|  |   }, | ||||||
|  |   [util.inspect.custom]: { | ||||||
|  |     enumerable: false | ||||||
|   } |   } | ||||||
| }) | }) | ||||||
| 
 | 
 | ||||||
| @ -83684,6 +83670,20 @@ class Pool extends PoolBase { | |||||||
|       ? { ...options.interceptors } |       ? { ...options.interceptors } | ||||||
|       : undefined |       : undefined | ||||||
|     this[kFactory] = factory |     this[kFactory] = factory | ||||||
|  | 
 | ||||||
|  |     this.on('connectionError', (origin, targets, error) => { | ||||||
|  |       // If a connection error occurs, we remove the client from the pool,
 | ||||||
|  |       // and emit a connectionError event. They will not be re-used.
 | ||||||
|  |       // Fixes https://github.com/nodejs/undici/issues/3895
 | ||||||
|  |       for (const target of targets) { | ||||||
|  |         // Do not use kRemoveClient here, as it will close the client,
 | ||||||
|  |         // but the client cannot be closed in this state.
 | ||||||
|  |         const idx = this[kClients].indexOf(target) | ||||||
|  |         if (idx !== -1) { | ||||||
|  |           this[kClients].splice(idx, 1) | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }) | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   [kGetDispatcher] () { |   [kGetDispatcher] () { | ||||||
|  | |||||||
							
								
								
									
										6
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										6
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @ -5840,9 +5840,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/undici": { |     "node_modules/undici": { | ||||||
|       "version": "5.28.5", |       "version": "5.29.0", | ||||||
|       "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.5.tgz", |       "resolved": "https://registry.npmjs.org/undici/-/undici-5.29.0.tgz", | ||||||
|       "integrity": "sha512-zICwjrDrcrUE0pyyJc1I2QzBkLM8FINsgOrt6WjA+BgajVq9Nxu2PbFFXUrAggLfDXlZGZBVZYw7WNV5KiBiBA==", |       "integrity": "sha512-raqeBD6NQK4SkWhQzeYKd1KmIG6dllBOTt55Rmkt4HtI9mwdWtJljnrXjAFUBLTSN67HWrOIZ3EPF4kjUw80Bg==", | ||||||
|       "license": "MIT", |       "license": "MIT", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "@fastify/busboy": "^2.0.0" |         "@fastify/busboy": "^2.0.0" | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user