mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 10:08:37 +08:00 
			
		
		
		
	Merge 8fab2a5e10 into cd7d8d697e
				
					
				
			This commit is contained in:
		
						commit
						2922b60917
					
				
							
								
								
									
										20
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										20
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							|  | @ -3261,7 +3261,7 @@ class Summary { | ||||||
|     /** |     /** | ||||||
|      * If the summary buffer is empty |      * If the summary buffer is empty | ||||||
|      * |      * | ||||||
|      * @returns {boolen} true if the buffer is empty |      * @returns {boolean} true if the buffer is empty | ||||||
|      */ |      */ | ||||||
|     isEmptyBuffer() { |     isEmptyBuffer() { | ||||||
|         return this._buffer.length === 0; |         return this._buffer.length === 0; | ||||||
|  | @ -3350,10 +3350,10 @@ class Summary { | ||||||
|         return this.addRaw(element).addEOL(); |         return this.addRaw(element).addEOL(); | ||||||
|     } |     } | ||||||
|     /** |     /** | ||||||
|      * Adds a collapsable HTML details element to the summary buffer |      * Adds a collapsible HTML details element to the summary buffer | ||||||
|      * |      * | ||||||
|      * @param {string} label text for the closed state |      * @param {string} label text for the closed state | ||||||
|      * @param {string} content collapsable content |      * @param {string} content collapsible content | ||||||
|      * |      * | ||||||
|      * @returns {Summary} summary instance |      * @returns {Summary} summary instance | ||||||
|      */ |      */ | ||||||
|  | @ -4961,7 +4961,7 @@ exports.defaults = { | ||||||
| }; | }; | ||||||
| exports.GitHub = core_1.Octokit.plugin(plugin_rest_endpoint_methods_1.restEndpointMethods, plugin_paginate_rest_1.paginateRest).defaults(exports.defaults); | exports.GitHub = core_1.Octokit.plugin(plugin_rest_endpoint_methods_1.restEndpointMethods, plugin_paginate_rest_1.paginateRest).defaults(exports.defaults); | ||||||
| /** | /** | ||||||
|  * Convience function to correctly format Octokit Options to pass into the constructor. |  * Convenience function to correctly format Octokit Options to pass into the constructor. | ||||||
|  * |  * | ||||||
|  * @param     token    the repo PAT or GITHUB_TOKEN |  * @param     token    the repo PAT or GITHUB_TOKEN | ||||||
|  * @param     options  other options to set |  * @param     options  other options to set | ||||||
|  | @ -6845,7 +6845,7 @@ tok('GTLT') | ||||||
| src[t.GTLT] = '((?:<|>)?=?)' | src[t.GTLT] = '((?:<|>)?=?)' | ||||||
| 
 | 
 | ||||||
| // Something like "2.*" or "1.2.x".
 | // Something like "2.*" or "1.2.x".
 | ||||||
| // Note that "x.x" is a valid xRange identifer, meaning "any version"
 | // Note that "x.x" is a valid xRange identifier, meaning "any version"
 | ||||||
| // Only the first item is strictly required.
 | // Only the first item is strictly required.
 | ||||||
| tok('XRANGEIDENTIFIERLOOSE') | tok('XRANGEIDENTIFIERLOOSE') | ||||||
| src[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + '|x|X|\\*' | src[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + '|x|X|\\*' | ||||||
|  | @ -8195,7 +8195,7 @@ function outside (version, range, hilo, options) { | ||||||
|       throw new TypeError('Must provide a hilo val of "<" or ">"') |       throw new TypeError('Must provide a hilo val of "<" or ">"') | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   // If it satisifes the range it is not outside
 |   // If it satisfies the range it is not outside
 | ||||||
|   if (satisfies(version, range, options)) { |   if (satisfies(version, range, options)) { | ||||||
|     return false |     return false | ||||||
|   } |   } | ||||||
|  | @ -9138,7 +9138,7 @@ function _defineProperty(obj, key, value) { | ||||||
|  * |  * | ||||||
|  * Octokit normalizes these responses so that paginated results are always returned following |  * Octokit normalizes these responses so that paginated results are always returned following | ||||||
|  * the same structure. One challenge is that if the list response has only one page, no Link |  * the same structure. One challenge is that if the list response has only one page, no Link | ||||||
|  * header is provided, so this header alone is not sufficient to check wether a response is |  * header is provided, so this header alone is not sufficient to check whether a response is | ||||||
|  * paginated or not. |  * paginated or not. | ||||||
|  * |  * | ||||||
|  * We check if a "total_count" key is present in the response data, but also make sure that |  * We check if a "total_count" key is present in the response data, but also make sure that | ||||||
|  | @ -13064,7 +13064,7 @@ function fetch(url, opts) { | ||||||
| 				} catch (err) { | 				} catch (err) { | ||||||
| 					// error here can only be invalid URL in Location: header
 | 					// error here can only be invalid URL in Location: header
 | ||||||
| 					// do not throw when options.redirect == manual
 | 					// do not throw when options.redirect == manual
 | ||||||
| 					// let the user extract the errorneous redirect URL
 | 					// let the user extract the erroneous redirect URL
 | ||||||
| 					if (request.redirect !== 'manual') { | 					if (request.redirect !== 'manual') { | ||||||
| 						reject(new FetchError(`uri requested responds with an invalid redirect URL: ${location}`, 'invalid-redirect')); | 						reject(new FetchError(`uri requested responds with an invalid redirect URL: ${location}`, 'invalid-redirect')); | ||||||
| 						finalize(); | 						finalize(); | ||||||
|  | @ -17930,7 +17930,7 @@ function decompressGzippedContent(buffer, charset) { | ||||||
| exports.decompressGzippedContent = decompressGzippedContent; | exports.decompressGzippedContent = decompressGzippedContent; | ||||||
| /** | /** | ||||||
|  * Builds a RegExp to test urls against for deciding |  * Builds a RegExp to test urls against for deciding | ||||||
|  * wether to bypass proxy from an entry of the |  * whether to bypass proxy from an entry of the | ||||||
|  * environment variable setting NO_PROXY |  * environment variable setting NO_PROXY | ||||||
|  * |  * | ||||||
|  * @param {string} bypass |  * @param {string} bypass | ||||||
|  | @ -18313,4 +18313,4 @@ module.exports = JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"] | ||||||
| /******/ 	module.exports = __webpack_exports__; | /******/ 	module.exports = __webpack_exports__; | ||||||
| /******/ 	 | /******/ 	 | ||||||
| /******/ })() | /******/ })() | ||||||
| ; | ; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Dimitri Papadopoulos Orfanos
						Dimitri Papadopoulos Orfanos