mirror of
				https://github.com/actions/setup-java.git
				synced 2025-10-31 14:30:53 +00:00 
			
		
		
		
	test
This commit is contained in:
		
					parent
					
						
							
								16ef37f8dd
							
						
					
				
			
			
				commit
				
					
						901d4575d8
					
				
			
		
					 4 changed files with 164 additions and 149 deletions
				
			
		
							
								
								
									
										80
									
								
								dist/cleanup/index.js
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										80
									
								
								dist/cleanup/index.js
									
										
									
									
										vendored
									
									
								
							|  | @ -319,7 +319,8 @@ function createHttpClient() { | ||||||
|     return new http_client_1.HttpClient('actions/cache', [bearerCredentialHandler], getRequestOptions()); |     return new http_client_1.HttpClient('actions/cache', [bearerCredentialHandler], getRequestOptions()); | ||||||
| } | } | ||||||
| function getCacheVersion(paths, compressionMethod, enableCrossOsArchive = false) { | function getCacheVersion(paths, compressionMethod, enableCrossOsArchive = false) { | ||||||
|     const components = paths; |     // don't pass changes upstream
 | ||||||
|  |     const components = paths.slice(); | ||||||
|     // Add compression method to cache version to restore
 |     // Add compression method to cache version to restore
 | ||||||
|     // compressed cache as per compression method
 |     // compressed cache as per compression method
 | ||||||
|     if (compressionMethod) { |     if (compressionMethod) { | ||||||
|  | @ -608,26 +609,21 @@ function resolvePaths(patterns) { | ||||||
|             implicitDescendants: false |             implicitDescendants: false | ||||||
|         }); |         }); | ||||||
|         try { |         try { | ||||||
|             for (var _e = true, _f = __asyncValues(globber.globGenerator()), _g; _g = yield _f.next(), _a = _g.done, !_a;) { |             for (var _e = true, _f = __asyncValues(globber.globGenerator()), _g; _g = yield _f.next(), _a = _g.done, !_a; _e = true) { | ||||||
|                 _c = _g.value; |                 _c = _g.value; | ||||||
|                 _e = false; |                 _e = false; | ||||||
|                 try { |                 const file = _c; | ||||||
|                     const file = _c; |                 const relativeFile = path | ||||||
|                     const relativeFile = path |                     .relative(workspace, file) | ||||||
|                         .relative(workspace, file) |                     .replace(new RegExp(`\\${path.sep}`, 'g'), '/'); | ||||||
|                         .replace(new RegExp(`\\${path.sep}`, 'g'), '/'); |                 core.debug(`Matched: ${relativeFile}`); | ||||||
|                     core.debug(`Matched: ${relativeFile}`); |                 // Paths are made relative so the tar entries are all relative to the root of the workspace.
 | ||||||
|                     // Paths are made relative so the tar entries are all relative to the root of the workspace.
 |                 if (relativeFile === '') { | ||||||
|                     if (relativeFile === '') { |                     // path.relative returns empty string if workspace and file are equal
 | ||||||
|                         // path.relative returns empty string if workspace and file are equal
 |                     paths.push('.'); | ||||||
|                         paths.push('.'); |  | ||||||
|                     } |  | ||||||
|                     else { |  | ||||||
|                         paths.push(`${relativeFile}`); |  | ||||||
|                     } |  | ||||||
|                 } |                 } | ||||||
|                 finally { |                 else { | ||||||
|                     _e = true; |                     paths.push(`${relativeFile}`); | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|  | @ -711,7 +707,10 @@ function assertDefined(name, value) { | ||||||
| exports.assertDefined = assertDefined; | exports.assertDefined = assertDefined; | ||||||
| function isGhes() { | function isGhes() { | ||||||
|     const ghUrl = new URL(process.env['GITHUB_SERVER_URL'] || 'https://github.com'); |     const ghUrl = new URL(process.env['GITHUB_SERVER_URL'] || 'https://github.com'); | ||||||
|     return ghUrl.hostname.toUpperCase() !== 'GITHUB.COM'; |     const hostname = ghUrl.hostname.trimEnd().toUpperCase(); | ||||||
|  |     const isGitHubHost = hostname === 'GITHUB.COM'; | ||||||
|  |     const isGheHost = hostname.endsWith('.GHE.COM') || hostname.endsWith('.GHE.LOCALHOST'); | ||||||
|  |     return !isGitHubHost && !isGheHost; | ||||||
| } | } | ||||||
| exports.isGhes = isGhes; | exports.isGhes = isGhes; | ||||||
| //# sourceMappingURL=cacheUtils.js.map
 | //# sourceMappingURL=cacheUtils.js.map
 | ||||||
|  | @ -729,7 +728,7 @@ var CacheFilename; | ||||||
| (function (CacheFilename) { | (function (CacheFilename) { | ||||||
|     CacheFilename["Gzip"] = "cache.tgz"; |     CacheFilename["Gzip"] = "cache.tgz"; | ||||||
|     CacheFilename["Zstd"] = "cache.tzst"; |     CacheFilename["Zstd"] = "cache.tzst"; | ||||||
| })(CacheFilename = exports.CacheFilename || (exports.CacheFilename = {})); | })(CacheFilename || (exports.CacheFilename = CacheFilename = {})); | ||||||
| var CompressionMethod; | var CompressionMethod; | ||||||
| (function (CompressionMethod) { | (function (CompressionMethod) { | ||||||
|     CompressionMethod["Gzip"] = "gzip"; |     CompressionMethod["Gzip"] = "gzip"; | ||||||
|  | @ -737,12 +736,12 @@ var CompressionMethod; | ||||||
|     // This enum is for earlier version of zstd that does not have --long support
 |     // This enum is for earlier version of zstd that does not have --long support
 | ||||||
|     CompressionMethod["ZstdWithoutLong"] = "zstd-without-long"; |     CompressionMethod["ZstdWithoutLong"] = "zstd-without-long"; | ||||||
|     CompressionMethod["Zstd"] = "zstd"; |     CompressionMethod["Zstd"] = "zstd"; | ||||||
| })(CompressionMethod = exports.CompressionMethod || (exports.CompressionMethod = {})); | })(CompressionMethod || (exports.CompressionMethod = CompressionMethod = {})); | ||||||
| var ArchiveToolType; | var ArchiveToolType; | ||||||
| (function (ArchiveToolType) { | (function (ArchiveToolType) { | ||||||
|     ArchiveToolType["GNU"] = "gnu"; |     ArchiveToolType["GNU"] = "gnu"; | ||||||
|     ArchiveToolType["BSD"] = "bsd"; |     ArchiveToolType["BSD"] = "bsd"; | ||||||
| })(ArchiveToolType = exports.ArchiveToolType || (exports.ArchiveToolType = {})); | })(ArchiveToolType || (exports.ArchiveToolType = ArchiveToolType = {})); | ||||||
| // The default number of retry attempts.
 | // The default number of retry attempts.
 | ||||||
| exports.DefaultRetryAttempts = 2; | exports.DefaultRetryAttempts = 2; | ||||||
| // The default delay in milliseconds between retry attempts.
 | // The default delay in milliseconds between retry attempts.
 | ||||||
|  | @ -8551,7 +8550,7 @@ class HttpClient { | ||||||
|         if (this._keepAlive && useProxy) { |         if (this._keepAlive && useProxy) { | ||||||
|             agent = this._proxyAgent; |             agent = this._proxyAgent; | ||||||
|         } |         } | ||||||
|         if (this._keepAlive && !useProxy) { |         if (!useProxy) { | ||||||
|             agent = this._agent; |             agent = this._agent; | ||||||
|         } |         } | ||||||
|         // if agent is already assigned use that agent.
 |         // if agent is already assigned use that agent.
 | ||||||
|  | @ -8583,16 +8582,12 @@ class HttpClient { | ||||||
|             agent = tunnelAgent(agentOptions); |             agent = tunnelAgent(agentOptions); | ||||||
|             this._proxyAgent = agent; |             this._proxyAgent = agent; | ||||||
|         } |         } | ||||||
|         // if reusing agent across request and tunneling agent isn't assigned create a new agent
 |         // if tunneling agent isn't assigned create a new agent
 | ||||||
|         if (this._keepAlive && !agent) { |         if (!agent) { | ||||||
|             const options = { keepAlive: this._keepAlive, maxSockets }; |             const options = { keepAlive: this._keepAlive, maxSockets }; | ||||||
|             agent = usingSsl ? new https.Agent(options) : new http.Agent(options); |             agent = usingSsl ? new https.Agent(options) : new http.Agent(options); | ||||||
|             this._agent = agent; |             this._agent = agent; | ||||||
|         } |         } | ||||||
|         // if not using private agent and tunnel agent isn't setup then use global agent
 |  | ||||||
|         if (!agent) { |  | ||||||
|             agent = usingSsl ? https.globalAgent : http.globalAgent; |  | ||||||
|         } |  | ||||||
|         if (usingSsl && this._ignoreSslError) { |         if (usingSsl && this._ignoreSslError) { | ||||||
|             // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process
 |             // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process
 | ||||||
|             // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options
 |             // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options
 | ||||||
|  | @ -57728,35 +57723,43 @@ const coerce = (version, options) => { | ||||||
| 
 | 
 | ||||||
|   let match = null |   let match = null | ||||||
|   if (!options.rtl) { |   if (!options.rtl) { | ||||||
|     match = version.match(re[t.COERCE]) |     match = version.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE]) | ||||||
|   } else { |   } else { | ||||||
|     // Find the right-most coercible string that does not share
 |     // Find the right-most coercible string that does not share
 | ||||||
|     // a terminus with a more left-ward coercible string.
 |     // a terminus with a more left-ward coercible string.
 | ||||||
|     // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'
 |     // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'
 | ||||||
|  |     // With includePrerelease option set, '1.2.3.4-rc' wants to coerce '2.3.4-rc', not '2.3.4'
 | ||||||
|     //
 |     //
 | ||||||
|     // Walk through the string checking with a /g regexp
 |     // Walk through the string checking with a /g regexp
 | ||||||
|     // Manually set the index so as to pick up overlapping matches.
 |     // Manually set the index so as to pick up overlapping matches.
 | ||||||
|     // Stop when we get a match that ends at the string end, since no
 |     // Stop when we get a match that ends at the string end, since no
 | ||||||
|     // coercible string can be more right-ward without the same terminus.
 |     // coercible string can be more right-ward without the same terminus.
 | ||||||
|  |     const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL] | ||||||
|     let next |     let next | ||||||
|     while ((next = re[t.COERCERTL].exec(version)) && |     while ((next = coerceRtlRegex.exec(version)) && | ||||||
|         (!match || match.index + match[0].length !== version.length) |         (!match || match.index + match[0].length !== version.length) | ||||||
|     ) { |     ) { | ||||||
|       if (!match || |       if (!match || | ||||||
|             next.index + next[0].length !== match.index + match[0].length) { |             next.index + next[0].length !== match.index + match[0].length) { | ||||||
|         match = next |         match = next | ||||||
|       } |       } | ||||||
|       re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length |       coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length | ||||||
|     } |     } | ||||||
|     // leave it in a clean state
 |     // leave it in a clean state
 | ||||||
|     re[t.COERCERTL].lastIndex = -1 |     coerceRtlRegex.lastIndex = -1 | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   if (match === null) { |   if (match === null) { | ||||||
|     return null |     return null | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   return parse(`${match[2]}.${match[3] || '0'}.${match[4] || '0'}`, options) |   const major = match[2] | ||||||
|  |   const minor = match[3] || '0' | ||||||
|  |   const patch = match[4] || '0' | ||||||
|  |   const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : '' | ||||||
|  |   const build = options.includePrerelease && match[6] ? `+${match[6]}` : '' | ||||||
|  | 
 | ||||||
|  |   return parse(`${major}.${minor}.${patch}${prerelease}${build}`, options) | ||||||
| } | } | ||||||
| module.exports = coerce | module.exports = coerce | ||||||
| 
 | 
 | ||||||
|  | @ -58448,12 +58451,17 @@ createToken('XRANGELOOSE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`) | ||||||
| 
 | 
 | ||||||
| // Coercion.
 | // Coercion.
 | ||||||
| // Extract anything that could conceivably be a part of a valid semver
 | // Extract anything that could conceivably be a part of a valid semver
 | ||||||
| createToken('COERCE', `${'(^|[^\\d])' + | createToken('COERCEPLAIN', `${'(^|[^\\d])' + | ||||||
|               '(\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +
 |               '(\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +
 | ||||||
|               `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` + |               `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` + | ||||||
|               `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` + |               `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`) | ||||||
|  | createToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\d])`) | ||||||
|  | createToken('COERCEFULL', src[t.COERCEPLAIN] + | ||||||
|  |               `(?:${src[t.PRERELEASE]})?` + | ||||||
|  |               `(?:${src[t.BUILD]})?` + | ||||||
|               `(?:$|[^\\d])`) |               `(?:$|[^\\d])`) | ||||||
| createToken('COERCERTL', src[t.COERCE], true) | createToken('COERCERTL', src[t.COERCE], true) | ||||||
|  | createToken('COERCERTLFULL', src[t.COERCEFULL], true) | ||||||
| 
 | 
 | ||||||
| // Tilde ranges.
 | // Tilde ranges.
 | ||||||
| // Meaning is "reasonably at or greater than"
 | // Meaning is "reasonably at or greater than"
 | ||||||
|  |  | ||||||
							
								
								
									
										80
									
								
								dist/setup/index.js
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										80
									
								
								dist/setup/index.js
									
										
									
									
										vendored
									
									
								
							|  | @ -319,7 +319,8 @@ function createHttpClient() { | ||||||
|     return new http_client_1.HttpClient('actions/cache', [bearerCredentialHandler], getRequestOptions()); |     return new http_client_1.HttpClient('actions/cache', [bearerCredentialHandler], getRequestOptions()); | ||||||
| } | } | ||||||
| function getCacheVersion(paths, compressionMethod, enableCrossOsArchive = false) { | function getCacheVersion(paths, compressionMethod, enableCrossOsArchive = false) { | ||||||
|     const components = paths; |     // don't pass changes upstream
 | ||||||
|  |     const components = paths.slice(); | ||||||
|     // Add compression method to cache version to restore
 |     // Add compression method to cache version to restore
 | ||||||
|     // compressed cache as per compression method
 |     // compressed cache as per compression method
 | ||||||
|     if (compressionMethod) { |     if (compressionMethod) { | ||||||
|  | @ -608,26 +609,21 @@ function resolvePaths(patterns) { | ||||||
|             implicitDescendants: false |             implicitDescendants: false | ||||||
|         }); |         }); | ||||||
|         try { |         try { | ||||||
|             for (var _e = true, _f = __asyncValues(globber.globGenerator()), _g; _g = yield _f.next(), _a = _g.done, !_a;) { |             for (var _e = true, _f = __asyncValues(globber.globGenerator()), _g; _g = yield _f.next(), _a = _g.done, !_a; _e = true) { | ||||||
|                 _c = _g.value; |                 _c = _g.value; | ||||||
|                 _e = false; |                 _e = false; | ||||||
|                 try { |                 const file = _c; | ||||||
|                     const file = _c; |                 const relativeFile = path | ||||||
|                     const relativeFile = path |                     .relative(workspace, file) | ||||||
|                         .relative(workspace, file) |                     .replace(new RegExp(`\\${path.sep}`, 'g'), '/'); | ||||||
|                         .replace(new RegExp(`\\${path.sep}`, 'g'), '/'); |                 core.debug(`Matched: ${relativeFile}`); | ||||||
|                     core.debug(`Matched: ${relativeFile}`); |                 // Paths are made relative so the tar entries are all relative to the root of the workspace.
 | ||||||
|                     // Paths are made relative so the tar entries are all relative to the root of the workspace.
 |                 if (relativeFile === '') { | ||||||
|                     if (relativeFile === '') { |                     // path.relative returns empty string if workspace and file are equal
 | ||||||
|                         // path.relative returns empty string if workspace and file are equal
 |                     paths.push('.'); | ||||||
|                         paths.push('.'); |  | ||||||
|                     } |  | ||||||
|                     else { |  | ||||||
|                         paths.push(`${relativeFile}`); |  | ||||||
|                     } |  | ||||||
|                 } |                 } | ||||||
|                 finally { |                 else { | ||||||
|                     _e = true; |                     paths.push(`${relativeFile}`); | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|  | @ -711,7 +707,10 @@ function assertDefined(name, value) { | ||||||
| exports.assertDefined = assertDefined; | exports.assertDefined = assertDefined; | ||||||
| function isGhes() { | function isGhes() { | ||||||
|     const ghUrl = new URL(process.env['GITHUB_SERVER_URL'] || 'https://github.com'); |     const ghUrl = new URL(process.env['GITHUB_SERVER_URL'] || 'https://github.com'); | ||||||
|     return ghUrl.hostname.toUpperCase() !== 'GITHUB.COM'; |     const hostname = ghUrl.hostname.trimEnd().toUpperCase(); | ||||||
|  |     const isGitHubHost = hostname === 'GITHUB.COM'; | ||||||
|  |     const isGheHost = hostname.endsWith('.GHE.COM') || hostname.endsWith('.GHE.LOCALHOST'); | ||||||
|  |     return !isGitHubHost && !isGheHost; | ||||||
| } | } | ||||||
| exports.isGhes = isGhes; | exports.isGhes = isGhes; | ||||||
| //# sourceMappingURL=cacheUtils.js.map
 | //# sourceMappingURL=cacheUtils.js.map
 | ||||||
|  | @ -729,7 +728,7 @@ var CacheFilename; | ||||||
| (function (CacheFilename) { | (function (CacheFilename) { | ||||||
|     CacheFilename["Gzip"] = "cache.tgz"; |     CacheFilename["Gzip"] = "cache.tgz"; | ||||||
|     CacheFilename["Zstd"] = "cache.tzst"; |     CacheFilename["Zstd"] = "cache.tzst"; | ||||||
| })(CacheFilename = exports.CacheFilename || (exports.CacheFilename = {})); | })(CacheFilename || (exports.CacheFilename = CacheFilename = {})); | ||||||
| var CompressionMethod; | var CompressionMethod; | ||||||
| (function (CompressionMethod) { | (function (CompressionMethod) { | ||||||
|     CompressionMethod["Gzip"] = "gzip"; |     CompressionMethod["Gzip"] = "gzip"; | ||||||
|  | @ -737,12 +736,12 @@ var CompressionMethod; | ||||||
|     // This enum is for earlier version of zstd that does not have --long support
 |     // This enum is for earlier version of zstd that does not have --long support
 | ||||||
|     CompressionMethod["ZstdWithoutLong"] = "zstd-without-long"; |     CompressionMethod["ZstdWithoutLong"] = "zstd-without-long"; | ||||||
|     CompressionMethod["Zstd"] = "zstd"; |     CompressionMethod["Zstd"] = "zstd"; | ||||||
| })(CompressionMethod = exports.CompressionMethod || (exports.CompressionMethod = {})); | })(CompressionMethod || (exports.CompressionMethod = CompressionMethod = {})); | ||||||
| var ArchiveToolType; | var ArchiveToolType; | ||||||
| (function (ArchiveToolType) { | (function (ArchiveToolType) { | ||||||
|     ArchiveToolType["GNU"] = "gnu"; |     ArchiveToolType["GNU"] = "gnu"; | ||||||
|     ArchiveToolType["BSD"] = "bsd"; |     ArchiveToolType["BSD"] = "bsd"; | ||||||
| })(ArchiveToolType = exports.ArchiveToolType || (exports.ArchiveToolType = {})); | })(ArchiveToolType || (exports.ArchiveToolType = ArchiveToolType = {})); | ||||||
| // The default number of retry attempts.
 | // The default number of retry attempts.
 | ||||||
| exports.DefaultRetryAttempts = 2; | exports.DefaultRetryAttempts = 2; | ||||||
| // The default delay in milliseconds between retry attempts.
 | // The default delay in milliseconds between retry attempts.
 | ||||||
|  | @ -8551,7 +8550,7 @@ class HttpClient { | ||||||
|         if (this._keepAlive && useProxy) { |         if (this._keepAlive && useProxy) { | ||||||
|             agent = this._proxyAgent; |             agent = this._proxyAgent; | ||||||
|         } |         } | ||||||
|         if (this._keepAlive && !useProxy) { |         if (!useProxy) { | ||||||
|             agent = this._agent; |             agent = this._agent; | ||||||
|         } |         } | ||||||
|         // if agent is already assigned use that agent.
 |         // if agent is already assigned use that agent.
 | ||||||
|  | @ -8583,16 +8582,12 @@ class HttpClient { | ||||||
|             agent = tunnelAgent(agentOptions); |             agent = tunnelAgent(agentOptions); | ||||||
|             this._proxyAgent = agent; |             this._proxyAgent = agent; | ||||||
|         } |         } | ||||||
|         // if reusing agent across request and tunneling agent isn't assigned create a new agent
 |         // if tunneling agent isn't assigned create a new agent
 | ||||||
|         if (this._keepAlive && !agent) { |         if (!agent) { | ||||||
|             const options = { keepAlive: this._keepAlive, maxSockets }; |             const options = { keepAlive: this._keepAlive, maxSockets }; | ||||||
|             agent = usingSsl ? new https.Agent(options) : new http.Agent(options); |             agent = usingSsl ? new https.Agent(options) : new http.Agent(options); | ||||||
|             this._agent = agent; |             this._agent = agent; | ||||||
|         } |         } | ||||||
|         // if not using private agent and tunnel agent isn't setup then use global agent
 |  | ||||||
|         if (!agent) { |  | ||||||
|             agent = usingSsl ? https.globalAgent : http.globalAgent; |  | ||||||
|         } |  | ||||||
|         if (usingSsl && this._ignoreSslError) { |         if (usingSsl && this._ignoreSslError) { | ||||||
|             // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process
 |             // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process
 | ||||||
|             // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options
 |             // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options
 | ||||||
|  | @ -82582,35 +82577,43 @@ const coerce = (version, options) => { | ||||||
| 
 | 
 | ||||||
|   let match = null |   let match = null | ||||||
|   if (!options.rtl) { |   if (!options.rtl) { | ||||||
|     match = version.match(re[t.COERCE]) |     match = version.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE]) | ||||||
|   } else { |   } else { | ||||||
|     // Find the right-most coercible string that does not share
 |     // Find the right-most coercible string that does not share
 | ||||||
|     // a terminus with a more left-ward coercible string.
 |     // a terminus with a more left-ward coercible string.
 | ||||||
|     // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'
 |     // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'
 | ||||||
|  |     // With includePrerelease option set, '1.2.3.4-rc' wants to coerce '2.3.4-rc', not '2.3.4'
 | ||||||
|     //
 |     //
 | ||||||
|     // Walk through the string checking with a /g regexp
 |     // Walk through the string checking with a /g regexp
 | ||||||
|     // Manually set the index so as to pick up overlapping matches.
 |     // Manually set the index so as to pick up overlapping matches.
 | ||||||
|     // Stop when we get a match that ends at the string end, since no
 |     // Stop when we get a match that ends at the string end, since no
 | ||||||
|     // coercible string can be more right-ward without the same terminus.
 |     // coercible string can be more right-ward without the same terminus.
 | ||||||
|  |     const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL] | ||||||
|     let next |     let next | ||||||
|     while ((next = re[t.COERCERTL].exec(version)) && |     while ((next = coerceRtlRegex.exec(version)) && | ||||||
|         (!match || match.index + match[0].length !== version.length) |         (!match || match.index + match[0].length !== version.length) | ||||||
|     ) { |     ) { | ||||||
|       if (!match || |       if (!match || | ||||||
|             next.index + next[0].length !== match.index + match[0].length) { |             next.index + next[0].length !== match.index + match[0].length) { | ||||||
|         match = next |         match = next | ||||||
|       } |       } | ||||||
|       re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length |       coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length | ||||||
|     } |     } | ||||||
|     // leave it in a clean state
 |     // leave it in a clean state
 | ||||||
|     re[t.COERCERTL].lastIndex = -1 |     coerceRtlRegex.lastIndex = -1 | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   if (match === null) { |   if (match === null) { | ||||||
|     return null |     return null | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   return parse(`${match[2]}.${match[3] || '0'}.${match[4] || '0'}`, options) |   const major = match[2] | ||||||
|  |   const minor = match[3] || '0' | ||||||
|  |   const patch = match[4] || '0' | ||||||
|  |   const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : '' | ||||||
|  |   const build = options.includePrerelease && match[6] ? `+${match[6]}` : '' | ||||||
|  | 
 | ||||||
|  |   return parse(`${major}.${minor}.${patch}${prerelease}${build}`, options) | ||||||
| } | } | ||||||
| module.exports = coerce | module.exports = coerce | ||||||
| 
 | 
 | ||||||
|  | @ -83302,12 +83305,17 @@ createToken('XRANGELOOSE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`) | ||||||
| 
 | 
 | ||||||
| // Coercion.
 | // Coercion.
 | ||||||
| // Extract anything that could conceivably be a part of a valid semver
 | // Extract anything that could conceivably be a part of a valid semver
 | ||||||
| createToken('COERCE', `${'(^|[^\\d])' + | createToken('COERCEPLAIN', `${'(^|[^\\d])' + | ||||||
|               '(\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +
 |               '(\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +
 | ||||||
|               `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` + |               `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` + | ||||||
|               `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` + |               `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`) | ||||||
|  | createToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\d])`) | ||||||
|  | createToken('COERCEFULL', src[t.COERCEPLAIN] + | ||||||
|  |               `(?:${src[t.PRERELEASE]})?` + | ||||||
|  |               `(?:${src[t.BUILD]})?` + | ||||||
|               `(?:$|[^\\d])`) |               `(?:$|[^\\d])`) | ||||||
| createToken('COERCERTL', src[t.COERCE], true) | createToken('COERCERTL', src[t.COERCE], true) | ||||||
|  | createToken('COERCERTLFULL', src[t.COERCEFULL], true) | ||||||
| 
 | 
 | ||||||
| // Tilde ranges.
 | // Tilde ranges.
 | ||||||
| // Meaning is "reasonably at or greater than"
 | // Meaning is "reasonably at or greater than"
 | ||||||
|  |  | ||||||
							
								
								
									
										132
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										132
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							|  | @ -9,32 +9,32 @@ | ||||||
|       "version": "4.0.0", |       "version": "4.0.0", | ||||||
|       "license": "MIT", |       "license": "MIT", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "@actions/cache": "^3.0.4", |         "@actions/cache": "^3.2.4", | ||||||
|         "@actions/core": "^1.10.0", |         "@actions/core": "^1.10.0", | ||||||
|         "@actions/exec": "^1.0.4", |         "@actions/exec": "^1.0.4", | ||||||
|         "@actions/glob": "^0.4.0", |         "@actions/glob": "^0.4.0", | ||||||
|         "@actions/http-client": "^2.2.0", |         "@actions/http-client": "^2.2.1", | ||||||
|         "@actions/io": "^1.0.2", |         "@actions/io": "^1.0.2", | ||||||
|         "@actions/tool-cache": "^2.0.1", |         "@actions/tool-cache": "^2.0.1", | ||||||
|         "semver": "^7.3.4", |         "semver": "^7.6.0", | ||||||
|         "xmlbuilder2": "^2.4.0" |         "xmlbuilder2": "^2.4.0" | ||||||
|       }, |       }, | ||||||
|       "devDependencies": { |       "devDependencies": { | ||||||
|         "@types/jest": "^29.5.9", |         "@types/jest": "^29.5.12", | ||||||
|         "@types/node": "^20.9.3", |         "@types/node": "^20.11.24", | ||||||
|         "@types/semver": "^7.3.4", |         "@types/semver": "^7.5.8", | ||||||
|         "@typescript-eslint/eslint-plugin": "^5.54.0", |         "@typescript-eslint/eslint-plugin": "^5.54.0", | ||||||
|         "@typescript-eslint/parser": "^5.54.0", |         "@typescript-eslint/parser": "^5.54.0", | ||||||
|         "@vercel/ncc": "^0.38.1", |         "@vercel/ncc": "^0.38.1", | ||||||
|         "eslint": "^8.35.0", |         "eslint": "^8.57.0", | ||||||
|         "eslint-config-prettier": "^8.6.0", |         "eslint-config-prettier": "^8.6.0", | ||||||
|         "eslint-plugin-jest": "^27.2.1", |         "eslint-plugin-jest": "^27.9.0", | ||||||
|         "eslint-plugin-node": "^11.1.0", |         "eslint-plugin-node": "^11.1.0", | ||||||
|         "jest": "^29.7.0", |         "jest": "^29.7.0", | ||||||
|         "jest-circus": "^29.7.0", |         "jest-circus": "^29.7.0", | ||||||
|         "prettier": "^2.8.4", |         "prettier": "^2.8.4", | ||||||
|         "ts-jest": "^29.1.1", |         "ts-jest": "^29.1.2", | ||||||
|         "typescript": "^5.3.2" |         "typescript": "^5.3.3" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/@aashutoshrathi/word-wrap": { |     "node_modules/@aashutoshrathi/word-wrap": { | ||||||
|  | @ -47,9 +47,9 @@ | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/@actions/cache": { |     "node_modules/@actions/cache": { | ||||||
|       "version": "3.2.2", |       "version": "3.2.4", | ||||||
|       "resolved": "https://registry.npmjs.org/@actions/cache/-/cache-3.2.2.tgz", |       "resolved": "https://registry.npmjs.org/@actions/cache/-/cache-3.2.4.tgz", | ||||||
|       "integrity": "sha512-6D0Jq5JrLZRQ3VApeQwQkkV20ZZXjXsHNYXd9VjNUdi9E0h93wESpxfMJ2JWLCUCgHNLcfY0v3GjNM+2FdRMlg==", |       "integrity": "sha512-RuHnwfcDagtX+37s0ZWy7clbOfnZ7AlDJQ7k/9rzt2W4Gnwde3fa/qjSjVuz4vLcLIpc7fUob27CMrqiWZytYA==", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "@actions/core": "^1.10.0", |         "@actions/core": "^1.10.0", | ||||||
|         "@actions/exec": "^1.0.1", |         "@actions/exec": "^1.0.1", | ||||||
|  | @ -59,7 +59,7 @@ | ||||||
|         "@azure/abort-controller": "^1.1.0", |         "@azure/abort-controller": "^1.1.0", | ||||||
|         "@azure/ms-rest-js": "^2.6.0", |         "@azure/ms-rest-js": "^2.6.0", | ||||||
|         "@azure/storage-blob": "^12.13.0", |         "@azure/storage-blob": "^12.13.0", | ||||||
|         "semver": "^6.1.0", |         "semver": "^6.3.1", | ||||||
|         "uuid": "^3.3.3" |         "uuid": "^3.3.3" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  | @ -115,9 +115,9 @@ | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/@actions/http-client": { |     "node_modules/@actions/http-client": { | ||||||
|       "version": "2.2.0", |       "version": "2.2.1", | ||||||
|       "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.2.0.tgz", |       "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.2.1.tgz", | ||||||
|       "integrity": "sha512-q+epW0trjVUUHboliPb4UF9g2msf+w61b32tAkFEwL/IwP0DQWgbCMM0Hbe3e3WXSKz5VcUXbzJQgy8Hkra/Lg==", |       "integrity": "sha512-KhC/cZsq7f8I4LfZSJKgCvEwfkE8o1538VoBeoGzokVLLnbFDEAdFD3UhoMklxo2un9NJVBdANOresx7vTHlHw==", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "tunnel": "^0.0.6", |         "tunnel": "^0.0.6", | ||||||
|         "undici": "^5.25.4" |         "undici": "^5.25.4" | ||||||
|  | @ -1011,9 +1011,9 @@ | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/@eslint/eslintrc": { |     "node_modules/@eslint/eslintrc": { | ||||||
|       "version": "2.1.3", |       "version": "2.1.4", | ||||||
|       "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.3.tgz", |       "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", | ||||||
|       "integrity": "sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA==", |       "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "ajv": "^6.12.4", |         "ajv": "^6.12.4", | ||||||
|  | @ -1034,9 +1034,9 @@ | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/@eslint/js": { |     "node_modules/@eslint/js": { | ||||||
|       "version": "8.54.0", |       "version": "8.57.0", | ||||||
|       "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.54.0.tgz", |       "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", | ||||||
|       "integrity": "sha512-ut5V+D+fOoWPgGGNj83GGjnntO39xDy6DWxO0wb7Jp3DcMX0TfIqdzHF85VTQkerdyGmuuMD9AKAo5KiNlf/AQ==", |       "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|       "engines": { |       "engines": { | ||||||
|         "node": "^12.22.0 || ^14.17.0 || >=16.0.0" |         "node": "^12.22.0 || ^14.17.0 || >=16.0.0" | ||||||
|  | @ -1051,13 +1051,13 @@ | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/@humanwhocodes/config-array": { |     "node_modules/@humanwhocodes/config-array": { | ||||||
|       "version": "0.11.13", |       "version": "0.11.14", | ||||||
|       "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz", |       "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", | ||||||
|       "integrity": "sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==", |       "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "@humanwhocodes/object-schema": "^2.0.1", |         "@humanwhocodes/object-schema": "^2.0.2", | ||||||
|         "debug": "^4.1.1", |         "debug": "^4.3.1", | ||||||
|         "minimatch": "^3.0.5" |         "minimatch": "^3.0.5" | ||||||
|       }, |       }, | ||||||
|       "engines": { |       "engines": { | ||||||
|  | @ -1078,9 +1078,9 @@ | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/@humanwhocodes/object-schema": { |     "node_modules/@humanwhocodes/object-schema": { | ||||||
|       "version": "2.0.1", |       "version": "2.0.2", | ||||||
|       "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz", |       "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz", | ||||||
|       "integrity": "sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==", |       "integrity": "sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==", | ||||||
|       "dev": true |       "dev": true | ||||||
|     }, |     }, | ||||||
|     "node_modules/@istanbuljs/load-nyc-config": { |     "node_modules/@istanbuljs/load-nyc-config": { | ||||||
|  | @ -1703,9 +1703,9 @@ | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/@types/jest": { |     "node_modules/@types/jest": { | ||||||
|       "version": "29.5.9", |       "version": "29.5.12", | ||||||
|       "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.9.tgz", |       "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.12.tgz", | ||||||
|       "integrity": "sha512-zJeWhqBwVoPm83sP8h1/SVntwWTu5lZbKQGCvBjxQOyEWnKnsaomt2y7SlV4KfwlrHAHHAn00Sh4IAWaIsGOgQ==", |       "integrity": "sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "expect": "^29.0.0", |         "expect": "^29.0.0", | ||||||
|  | @ -1719,9 +1719,9 @@ | ||||||
|       "dev": true |       "dev": true | ||||||
|     }, |     }, | ||||||
|     "node_modules/@types/node": { |     "node_modules/@types/node": { | ||||||
|       "version": "20.9.3", |       "version": "20.11.24", | ||||||
|       "resolved": "https://registry.npmjs.org/@types/node/-/node-20.9.3.tgz", |       "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.24.tgz", | ||||||
|       "integrity": "sha512-nk5wXLAXGBKfrhLB0cyHGbSqopS+nz0BUgZkUQqSHSSgdee0kssp1IAqlQOu333bW+gMNs2QREx7iynm19Abxw==", |       "integrity": "sha512-Kza43ewS3xoLgCEpQrsT+xRo/EJej1y0kVYGiLFE1NEODXGzTfwiC6tXTLMQskn1X4/Rjlh0MQUvx9W+L9long==", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "undici-types": "~5.26.4" |         "undici-types": "~5.26.4" | ||||||
|       } |       } | ||||||
|  | @ -1749,9 +1749,9 @@ | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/@types/semver": { |     "node_modules/@types/semver": { | ||||||
|       "version": "7.5.6", |       "version": "7.5.8", | ||||||
|       "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.6.tgz", |       "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", | ||||||
|       "integrity": "sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A==", |       "integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==", | ||||||
|       "dev": true |       "dev": true | ||||||
|     }, |     }, | ||||||
|     "node_modules/@types/stack-utils": { |     "node_modules/@types/stack-utils": { | ||||||
|  | @ -1998,9 +1998,9 @@ | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/acorn": { |     "node_modules/acorn": { | ||||||
|       "version": "8.11.2", |       "version": "8.11.3", | ||||||
|       "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz", |       "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", | ||||||
|       "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==", |       "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|       "bin": { |       "bin": { | ||||||
|         "acorn": "bin/acorn" |         "acorn": "bin/acorn" | ||||||
|  | @ -2659,16 +2659,16 @@ | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/eslint": { |     "node_modules/eslint": { | ||||||
|       "version": "8.54.0", |       "version": "8.57.0", | ||||||
|       "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.54.0.tgz", |       "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", | ||||||
|       "integrity": "sha512-NY0DfAkM8BIZDVl6PgSa1ttZbx3xHgJzSNJKYcQglem6CppHyMhRIQkBVSSMaSRnLhig3jsDbEzOjwCVt4AmmA==", |       "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "@eslint-community/eslint-utils": "^4.2.0", |         "@eslint-community/eslint-utils": "^4.2.0", | ||||||
|         "@eslint-community/regexpp": "^4.6.1", |         "@eslint-community/regexpp": "^4.6.1", | ||||||
|         "@eslint/eslintrc": "^2.1.3", |         "@eslint/eslintrc": "^2.1.4", | ||||||
|         "@eslint/js": "8.54.0", |         "@eslint/js": "8.57.0", | ||||||
|         "@humanwhocodes/config-array": "^0.11.13", |         "@humanwhocodes/config-array": "^0.11.14", | ||||||
|         "@humanwhocodes/module-importer": "^1.0.1", |         "@humanwhocodes/module-importer": "^1.0.1", | ||||||
|         "@nodelib/fs.walk": "^1.2.8", |         "@nodelib/fs.walk": "^1.2.8", | ||||||
|         "@ungap/structured-clone": "^1.2.0", |         "@ungap/structured-clone": "^1.2.0", | ||||||
|  | @ -2745,9 +2745,9 @@ | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/eslint-plugin-jest": { |     "node_modules/eslint-plugin-jest": { | ||||||
|       "version": "27.6.0", |       "version": "27.9.0", | ||||||
|       "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-27.6.0.tgz", |       "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-27.9.0.tgz", | ||||||
|       "integrity": "sha512-MTlusnnDMChbElsszJvrwD1dN3x6nZl//s4JD23BxB6MgR66TZlL064su24xEIS3VACfAoHV1vgyMgPw8nkdng==", |       "integrity": "sha512-QIT7FH7fNmd9n4se7FFKHbsLKGQiw885Ds6Y/sxKgCZ6natwCsXdgPOADnYVxN2QrRweF0FZWbJ6S7Rsn7llug==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "@typescript-eslint/utils": "^5.10.0" |         "@typescript-eslint/utils": "^5.10.0" | ||||||
|  | @ -2756,7 +2756,7 @@ | ||||||
|         "node": "^14.15.0 || ^16.10.0 || >=18.0.0" |         "node": "^14.15.0 || ^16.10.0 || >=18.0.0" | ||||||
|       }, |       }, | ||||||
|       "peerDependencies": { |       "peerDependencies": { | ||||||
|         "@typescript-eslint/eslint-plugin": "^5.0.0 || ^6.0.0", |         "@typescript-eslint/eslint-plugin": "^5.0.0 || ^6.0.0 || ^7.0.0", | ||||||
|         "eslint": "^7.0.0 || ^8.0.0", |         "eslint": "^7.0.0 || ^8.0.0", | ||||||
|         "jest": "*" |         "jest": "*" | ||||||
|       }, |       }, | ||||||
|  | @ -3263,9 +3263,9 @@ | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/globals": { |     "node_modules/globals": { | ||||||
|       "version": "13.23.0", |       "version": "13.24.0", | ||||||
|       "resolved": "https://registry.npmjs.org/globals/-/globals-13.23.0.tgz", |       "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", | ||||||
|       "integrity": "sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==", |       "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "type-fest": "^0.20.2" |         "type-fest": "^0.20.2" | ||||||
|  | @ -4958,9 +4958,9 @@ | ||||||
|       "integrity": "sha512-0s+oAmw9zLl1V1cS9BtZN7JAd0cW5e0QH4W3LWEK6a4LaLEA2OTpGYWDY+6XasBLtz6wkm3u1xRw95mRuJ59WA==" |       "integrity": "sha512-0s+oAmw9zLl1V1cS9BtZN7JAd0cW5e0QH4W3LWEK6a4LaLEA2OTpGYWDY+6XasBLtz6wkm3u1xRw95mRuJ59WA==" | ||||||
|     }, |     }, | ||||||
|     "node_modules/semver": { |     "node_modules/semver": { | ||||||
|       "version": "7.5.4", |       "version": "7.6.0", | ||||||
|       "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", |       "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", | ||||||
|       "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", |       "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "lru-cache": "^6.0.0" |         "lru-cache": "^6.0.0" | ||||||
|       }, |       }, | ||||||
|  | @ -5215,9 +5215,9 @@ | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/ts-jest": { |     "node_modules/ts-jest": { | ||||||
|       "version": "29.1.1", |       "version": "29.1.2", | ||||||
|       "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.1.1.tgz", |       "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.1.2.tgz", | ||||||
|       "integrity": "sha512-D6xjnnbP17cC85nliwGiL+tpoKN0StpgE0TeOjXQTU6MVCfsB4v7aW05CgQ/1OywGb0x/oy9hHFnN+sczTiRaA==", |       "integrity": "sha512-br6GJoH/WUX4pu7FbZXuWGKGNDuU7b8Uj77g/Sp7puZV6EXzuByl6JrECvm0MzVzSTkSHWTihsXt+5XYER5b+g==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "bs-logger": "0.x", |         "bs-logger": "0.x", | ||||||
|  | @ -5233,7 +5233,7 @@ | ||||||
|         "ts-jest": "cli.js" |         "ts-jest": "cli.js" | ||||||
|       }, |       }, | ||||||
|       "engines": { |       "engines": { | ||||||
|         "node": "^14.15.0 || ^16.10.0 || >=18.0.0" |         "node": "^16.10.0 || ^18.0.0 || >=20.0.0" | ||||||
|       }, |       }, | ||||||
|       "peerDependencies": { |       "peerDependencies": { | ||||||
|         "@babel/core": ">=7.0.0-beta.0 <8", |         "@babel/core": ">=7.0.0-beta.0 <8", | ||||||
|  | @ -5325,9 +5325,9 @@ | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/typescript": { |     "node_modules/typescript": { | ||||||
|       "version": "5.3.2", |       "version": "5.3.3", | ||||||
|       "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.2.tgz", |       "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", | ||||||
|       "integrity": "sha512-6l+RyNy7oAHDfxC4FzSJcz9vnjTKxrLpDG5M2Vu4SHRVNg6xzqZp6LYSR9zjqQTu8DU/f5xwxUdADOkbrIX2gQ==", |       "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|       "bin": { |       "bin": { | ||||||
|         "tsc": "bin/tsc", |         "tsc": "bin/tsc", | ||||||
|  |  | ||||||
							
								
								
									
										21
									
								
								package.json
									
										
									
									
									
								
							
							
						
						
									
										21
									
								
								package.json
									
										
									
									
									
								
							|  | @ -26,36 +26,35 @@ | ||||||
|   "author": "GitHub", |   "author": "GitHub", | ||||||
|   "license": "MIT", |   "license": "MIT", | ||||||
|   "dependencies": { |   "dependencies": { | ||||||
|     "@actions/cache": "^3.0.4", |     "@actions/cache": "^3.2.4", | ||||||
|     "@actions/core": "^1.10.0", |     "@actions/core": "^1.10.0", | ||||||
|     "@actions/exec": "^1.0.4", |     "@actions/exec": "^1.0.4", | ||||||
|     "@actions/glob": "^0.4.0", |     "@actions/glob": "^0.4.0", | ||||||
|     "@actions/http-client": "^2.2.0", |     "@actions/http-client": "^2.2.1", | ||||||
|     "@actions/io": "^1.0.2", |     "@actions/io": "^1.0.2", | ||||||
|     "@actions/tool-cache": "^2.0.1", |     "@actions/tool-cache": "^2.0.1", | ||||||
|     "semver": "^7.3.4", |     "semver": "^7.6.0", | ||||||
|     "xmlbuilder2": "^2.4.0" |     "xmlbuilder2": "^2.4.0" | ||||||
|   }, |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|     "@types/jest": "^29.5.9", |     "@types/jest": "^29.5.12", | ||||||
|     "@types/node": "^20.9.3", |     "@types/node": "^20.11.24", | ||||||
|     "@types/semver": "^7.3.4", |     "@types/semver": "^7.5.8", | ||||||
|     "@typescript-eslint/eslint-plugin": "^5.54.0", |     "@typescript-eslint/eslint-plugin": "^5.54.0", | ||||||
|     "@typescript-eslint/parser": "^5.54.0", |     "@typescript-eslint/parser": "^5.54.0", | ||||||
|     "@vercel/ncc": "^0.38.1", |     "@vercel/ncc": "^0.38.1", | ||||||
|     "eslint": "^8.35.0", |     "eslint": "^8.57.0", | ||||||
|     "eslint-config-prettier": "^8.6.0", |     "eslint-config-prettier": "^8.6.0", | ||||||
|     "eslint-plugin-jest": "^27.2.1", |     "eslint-plugin-jest": "^27.9.0", | ||||||
|     "eslint-plugin-node": "^11.1.0", |     "eslint-plugin-node": "^11.1.0", | ||||||
|     "jest": "^29.7.0", |     "jest": "^29.7.0", | ||||||
|     "jest-circus": "^29.7.0", |     "jest-circus": "^29.7.0", | ||||||
|     "prettier": "^2.8.4", |     "prettier": "^2.8.4", | ||||||
|     "ts-jest": "^29.1.1", |     "ts-jest": "^29.1.2", | ||||||
|     "typescript": "^5.3.2" |     "typescript": "^5.3.3" | ||||||
|   }, |   }, | ||||||
|   "bugs": { |   "bugs": { | ||||||
|     "url": "https://github.com/actions/setup-java/issues" |     "url": "https://github.com/actions/setup-java/issues" | ||||||
|   }, |   }, | ||||||
|   "homepage": "https://github.com/actions/setup-java#readme" |   "homepage": "https://github.com/actions/setup-java#readme" | ||||||
|    |  | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue