mirror of
				https://github.com/actions/setup-java.git
				synced 2025-10-31 06:20: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()); | ||||
| } | ||||
| 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
 | ||||
|     // compressed cache as per compression method
 | ||||
|     if (compressionMethod) { | ||||
|  | @ -608,26 +609,21 @@ function resolvePaths(patterns) { | |||
|             implicitDescendants: false | ||||
|         }); | ||||
|         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; | ||||
|                 _e = false; | ||||
|                 try { | ||||
|                     const file = _c; | ||||
|                     const relativeFile = path | ||||
|                         .relative(workspace, file) | ||||
|                         .replace(new RegExp(`\\${path.sep}`, 'g'), '/'); | ||||
|                     core.debug(`Matched: ${relativeFile}`); | ||||
|                     // Paths are made relative so the tar entries are all relative to the root of the workspace.
 | ||||
|                     if (relativeFile === '') { | ||||
|                         // path.relative returns empty string if workspace and file are equal
 | ||||
|                         paths.push('.'); | ||||
|                     } | ||||
|                     else { | ||||
|                         paths.push(`${relativeFile}`); | ||||
|                     } | ||||
|                 const file = _c; | ||||
|                 const relativeFile = path | ||||
|                     .relative(workspace, file) | ||||
|                     .replace(new RegExp(`\\${path.sep}`, 'g'), '/'); | ||||
|                 core.debug(`Matched: ${relativeFile}`); | ||||
|                 // Paths are made relative so the tar entries are all relative to the root of the workspace.
 | ||||
|                 if (relativeFile === '') { | ||||
|                     // path.relative returns empty string if workspace and file are equal
 | ||||
|                     paths.push('.'); | ||||
|                 } | ||||
|                 finally { | ||||
|                     _e = true; | ||||
|                 else { | ||||
|                     paths.push(`${relativeFile}`); | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|  | @ -711,7 +707,10 @@ function assertDefined(name, value) { | |||
| exports.assertDefined = assertDefined; | ||||
| function isGhes() { | ||||
|     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; | ||||
| //# sourceMappingURL=cacheUtils.js.map
 | ||||
|  | @ -729,7 +728,7 @@ var CacheFilename; | |||
| (function (CacheFilename) { | ||||
|     CacheFilename["Gzip"] = "cache.tgz"; | ||||
|     CacheFilename["Zstd"] = "cache.tzst"; | ||||
| })(CacheFilename = exports.CacheFilename || (exports.CacheFilename = {})); | ||||
| })(CacheFilename || (exports.CacheFilename = CacheFilename = {})); | ||||
| var CompressionMethod; | ||||
| (function (CompressionMethod) { | ||||
|     CompressionMethod["Gzip"] = "gzip"; | ||||
|  | @ -737,12 +736,12 @@ var CompressionMethod; | |||
|     // This enum is for earlier version of zstd that does not have --long support
 | ||||
|     CompressionMethod["ZstdWithoutLong"] = "zstd-without-long"; | ||||
|     CompressionMethod["Zstd"] = "zstd"; | ||||
| })(CompressionMethod = exports.CompressionMethod || (exports.CompressionMethod = {})); | ||||
| })(CompressionMethod || (exports.CompressionMethod = CompressionMethod = {})); | ||||
| var ArchiveToolType; | ||||
| (function (ArchiveToolType) { | ||||
|     ArchiveToolType["GNU"] = "gnu"; | ||||
|     ArchiveToolType["BSD"] = "bsd"; | ||||
| })(ArchiveToolType = exports.ArchiveToolType || (exports.ArchiveToolType = {})); | ||||
| })(ArchiveToolType || (exports.ArchiveToolType = ArchiveToolType = {})); | ||||
| // The default number of retry attempts.
 | ||||
| exports.DefaultRetryAttempts = 2; | ||||
| // The default delay in milliseconds between retry attempts.
 | ||||
|  | @ -8551,7 +8550,7 @@ class HttpClient { | |||
|         if (this._keepAlive && useProxy) { | ||||
|             agent = this._proxyAgent; | ||||
|         } | ||||
|         if (this._keepAlive && !useProxy) { | ||||
|         if (!useProxy) { | ||||
|             agent = this._agent; | ||||
|         } | ||||
|         // if agent is already assigned use that agent.
 | ||||
|  | @ -8583,16 +8582,12 @@ class HttpClient { | |||
|             agent = tunnelAgent(agentOptions); | ||||
|             this._proxyAgent = agent; | ||||
|         } | ||||
|         // if reusing agent across request and tunneling agent isn't assigned create a new agent
 | ||||
|         if (this._keepAlive && !agent) { | ||||
|         // if tunneling agent isn't assigned create a new agent
 | ||||
|         if (!agent) { | ||||
|             const options = { keepAlive: this._keepAlive, maxSockets }; | ||||
|             agent = usingSsl ? new https.Agent(options) : new http.Agent(options); | ||||
|             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) { | ||||
|             // 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
 | ||||
|  | @ -57728,35 +57723,43 @@ const coerce = (version, options) => { | |||
| 
 | ||||
|   let match = null | ||||
|   if (!options.rtl) { | ||||
|     match = version.match(re[t.COERCE]) | ||||
|     match = version.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE]) | ||||
|   } else { | ||||
|     // Find the right-most coercible string that does not share
 | ||||
|     // 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'
 | ||||
|     // 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
 | ||||
|     // 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
 | ||||
|     // coercible string can be more right-ward without the same terminus.
 | ||||
|     const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL] | ||||
|     let next | ||||
|     while ((next = re[t.COERCERTL].exec(version)) && | ||||
|     while ((next = coerceRtlRegex.exec(version)) && | ||||
|         (!match || match.index + match[0].length !== version.length) | ||||
|     ) { | ||||
|       if (!match || | ||||
|             next.index + next[0].length !== match.index + match[0].length) { | ||||
|         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
 | ||||
|     re[t.COERCERTL].lastIndex = -1 | ||||
|     coerceRtlRegex.lastIndex = -1 | ||||
|   } | ||||
| 
 | ||||
|   if (match === 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 | ||||
| 
 | ||||
|  | @ -58448,12 +58451,17 @@ createToken('XRANGELOOSE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`) | |||
| 
 | ||||
| // Coercion.
 | ||||
| // 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}}))?`) | ||||
| createToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\d])`) | ||||
| createToken('COERCEFULL', src[t.COERCEPLAIN] + | ||||
|               `(?:${src[t.PRERELEASE]})?` + | ||||
|               `(?:${src[t.BUILD]})?` + | ||||
|               `(?:$|[^\\d])`) | ||||
| createToken('COERCERTL', src[t.COERCE], true) | ||||
| createToken('COERCERTLFULL', src[t.COERCEFULL], true) | ||||
| 
 | ||||
| // Tilde ranges.
 | ||||
| // 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()); | ||||
| } | ||||
| 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
 | ||||
|     // compressed cache as per compression method
 | ||||
|     if (compressionMethod) { | ||||
|  | @ -608,26 +609,21 @@ function resolvePaths(patterns) { | |||
|             implicitDescendants: false | ||||
|         }); | ||||
|         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; | ||||
|                 _e = false; | ||||
|                 try { | ||||
|                     const file = _c; | ||||
|                     const relativeFile = path | ||||
|                         .relative(workspace, file) | ||||
|                         .replace(new RegExp(`\\${path.sep}`, 'g'), '/'); | ||||
|                     core.debug(`Matched: ${relativeFile}`); | ||||
|                     // Paths are made relative so the tar entries are all relative to the root of the workspace.
 | ||||
|                     if (relativeFile === '') { | ||||
|                         // path.relative returns empty string if workspace and file are equal
 | ||||
|                         paths.push('.'); | ||||
|                     } | ||||
|                     else { | ||||
|                         paths.push(`${relativeFile}`); | ||||
|                     } | ||||
|                 const file = _c; | ||||
|                 const relativeFile = path | ||||
|                     .relative(workspace, file) | ||||
|                     .replace(new RegExp(`\\${path.sep}`, 'g'), '/'); | ||||
|                 core.debug(`Matched: ${relativeFile}`); | ||||
|                 // Paths are made relative so the tar entries are all relative to the root of the workspace.
 | ||||
|                 if (relativeFile === '') { | ||||
|                     // path.relative returns empty string if workspace and file are equal
 | ||||
|                     paths.push('.'); | ||||
|                 } | ||||
|                 finally { | ||||
|                     _e = true; | ||||
|                 else { | ||||
|                     paths.push(`${relativeFile}`); | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|  | @ -711,7 +707,10 @@ function assertDefined(name, value) { | |||
| exports.assertDefined = assertDefined; | ||||
| function isGhes() { | ||||
|     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; | ||||
| //# sourceMappingURL=cacheUtils.js.map
 | ||||
|  | @ -729,7 +728,7 @@ var CacheFilename; | |||
| (function (CacheFilename) { | ||||
|     CacheFilename["Gzip"] = "cache.tgz"; | ||||
|     CacheFilename["Zstd"] = "cache.tzst"; | ||||
| })(CacheFilename = exports.CacheFilename || (exports.CacheFilename = {})); | ||||
| })(CacheFilename || (exports.CacheFilename = CacheFilename = {})); | ||||
| var CompressionMethod; | ||||
| (function (CompressionMethod) { | ||||
|     CompressionMethod["Gzip"] = "gzip"; | ||||
|  | @ -737,12 +736,12 @@ var CompressionMethod; | |||
|     // This enum is for earlier version of zstd that does not have --long support
 | ||||
|     CompressionMethod["ZstdWithoutLong"] = "zstd-without-long"; | ||||
|     CompressionMethod["Zstd"] = "zstd"; | ||||
| })(CompressionMethod = exports.CompressionMethod || (exports.CompressionMethod = {})); | ||||
| })(CompressionMethod || (exports.CompressionMethod = CompressionMethod = {})); | ||||
| var ArchiveToolType; | ||||
| (function (ArchiveToolType) { | ||||
|     ArchiveToolType["GNU"] = "gnu"; | ||||
|     ArchiveToolType["BSD"] = "bsd"; | ||||
| })(ArchiveToolType = exports.ArchiveToolType || (exports.ArchiveToolType = {})); | ||||
| })(ArchiveToolType || (exports.ArchiveToolType = ArchiveToolType = {})); | ||||
| // The default number of retry attempts.
 | ||||
| exports.DefaultRetryAttempts = 2; | ||||
| // The default delay in milliseconds between retry attempts.
 | ||||
|  | @ -8551,7 +8550,7 @@ class HttpClient { | |||
|         if (this._keepAlive && useProxy) { | ||||
|             agent = this._proxyAgent; | ||||
|         } | ||||
|         if (this._keepAlive && !useProxy) { | ||||
|         if (!useProxy) { | ||||
|             agent = this._agent; | ||||
|         } | ||||
|         // if agent is already assigned use that agent.
 | ||||
|  | @ -8583,16 +8582,12 @@ class HttpClient { | |||
|             agent = tunnelAgent(agentOptions); | ||||
|             this._proxyAgent = agent; | ||||
|         } | ||||
|         // if reusing agent across request and tunneling agent isn't assigned create a new agent
 | ||||
|         if (this._keepAlive && !agent) { | ||||
|         // if tunneling agent isn't assigned create a new agent
 | ||||
|         if (!agent) { | ||||
|             const options = { keepAlive: this._keepAlive, maxSockets }; | ||||
|             agent = usingSsl ? new https.Agent(options) : new http.Agent(options); | ||||
|             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) { | ||||
|             // 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
 | ||||
|  | @ -82582,35 +82577,43 @@ const coerce = (version, options) => { | |||
| 
 | ||||
|   let match = null | ||||
|   if (!options.rtl) { | ||||
|     match = version.match(re[t.COERCE]) | ||||
|     match = version.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE]) | ||||
|   } else { | ||||
|     // Find the right-most coercible string that does not share
 | ||||
|     // 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'
 | ||||
|     // 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
 | ||||
|     // 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
 | ||||
|     // coercible string can be more right-ward without the same terminus.
 | ||||
|     const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL] | ||||
|     let next | ||||
|     while ((next = re[t.COERCERTL].exec(version)) && | ||||
|     while ((next = coerceRtlRegex.exec(version)) && | ||||
|         (!match || match.index + match[0].length !== version.length) | ||||
|     ) { | ||||
|       if (!match || | ||||
|             next.index + next[0].length !== match.index + match[0].length) { | ||||
|         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
 | ||||
|     re[t.COERCERTL].lastIndex = -1 | ||||
|     coerceRtlRegex.lastIndex = -1 | ||||
|   } | ||||
| 
 | ||||
|   if (match === 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 | ||||
| 
 | ||||
|  | @ -83302,12 +83305,17 @@ createToken('XRANGELOOSE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`) | |||
| 
 | ||||
| // Coercion.
 | ||||
| // 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}}))?`) | ||||
| createToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\d])`) | ||||
| createToken('COERCEFULL', src[t.COERCEPLAIN] + | ||||
|               `(?:${src[t.PRERELEASE]})?` + | ||||
|               `(?:${src[t.BUILD]})?` + | ||||
|               `(?:$|[^\\d])`) | ||||
| createToken('COERCERTL', src[t.COERCE], true) | ||||
| createToken('COERCERTLFULL', src[t.COERCEFULL], true) | ||||
| 
 | ||||
| // Tilde ranges.
 | ||||
| // 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", | ||||
|       "license": "MIT", | ||||
|       "dependencies": { | ||||
|         "@actions/cache": "^3.0.4", | ||||
|         "@actions/cache": "^3.2.4", | ||||
|         "@actions/core": "^1.10.0", | ||||
|         "@actions/exec": "^1.0.4", | ||||
|         "@actions/glob": "^0.4.0", | ||||
|         "@actions/http-client": "^2.2.0", | ||||
|         "@actions/http-client": "^2.2.1", | ||||
|         "@actions/io": "^1.0.2", | ||||
|         "@actions/tool-cache": "^2.0.1", | ||||
|         "semver": "^7.3.4", | ||||
|         "semver": "^7.6.0", | ||||
|         "xmlbuilder2": "^2.4.0" | ||||
|       }, | ||||
|       "devDependencies": { | ||||
|         "@types/jest": "^29.5.9", | ||||
|         "@types/node": "^20.9.3", | ||||
|         "@types/semver": "^7.3.4", | ||||
|         "@types/jest": "^29.5.12", | ||||
|         "@types/node": "^20.11.24", | ||||
|         "@types/semver": "^7.5.8", | ||||
|         "@typescript-eslint/eslint-plugin": "^5.54.0", | ||||
|         "@typescript-eslint/parser": "^5.54.0", | ||||
|         "@vercel/ncc": "^0.38.1", | ||||
|         "eslint": "^8.35.0", | ||||
|         "eslint": "^8.57.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", | ||||
|         "jest": "^29.7.0", | ||||
|         "jest-circus": "^29.7.0", | ||||
|         "prettier": "^2.8.4", | ||||
|         "ts-jest": "^29.1.1", | ||||
|         "typescript": "^5.3.2" | ||||
|         "ts-jest": "^29.1.2", | ||||
|         "typescript": "^5.3.3" | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@aashutoshrathi/word-wrap": { | ||||
|  | @ -47,9 +47,9 @@ | |||
|       } | ||||
|     }, | ||||
|     "node_modules/@actions/cache": { | ||||
|       "version": "3.2.2", | ||||
|       "resolved": "https://registry.npmjs.org/@actions/cache/-/cache-3.2.2.tgz", | ||||
|       "integrity": "sha512-6D0Jq5JrLZRQ3VApeQwQkkV20ZZXjXsHNYXd9VjNUdi9E0h93wESpxfMJ2JWLCUCgHNLcfY0v3GjNM+2FdRMlg==", | ||||
|       "version": "3.2.4", | ||||
|       "resolved": "https://registry.npmjs.org/@actions/cache/-/cache-3.2.4.tgz", | ||||
|       "integrity": "sha512-RuHnwfcDagtX+37s0ZWy7clbOfnZ7AlDJQ7k/9rzt2W4Gnwde3fa/qjSjVuz4vLcLIpc7fUob27CMrqiWZytYA==", | ||||
|       "dependencies": { | ||||
|         "@actions/core": "^1.10.0", | ||||
|         "@actions/exec": "^1.0.1", | ||||
|  | @ -59,7 +59,7 @@ | |||
|         "@azure/abort-controller": "^1.1.0", | ||||
|         "@azure/ms-rest-js": "^2.6.0", | ||||
|         "@azure/storage-blob": "^12.13.0", | ||||
|         "semver": "^6.1.0", | ||||
|         "semver": "^6.3.1", | ||||
|         "uuid": "^3.3.3" | ||||
|       } | ||||
|     }, | ||||
|  | @ -115,9 +115,9 @@ | |||
|       } | ||||
|     }, | ||||
|     "node_modules/@actions/http-client": { | ||||
|       "version": "2.2.0", | ||||
|       "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.2.0.tgz", | ||||
|       "integrity": "sha512-q+epW0trjVUUHboliPb4UF9g2msf+w61b32tAkFEwL/IwP0DQWgbCMM0Hbe3e3WXSKz5VcUXbzJQgy8Hkra/Lg==", | ||||
|       "version": "2.2.1", | ||||
|       "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.2.1.tgz", | ||||
|       "integrity": "sha512-KhC/cZsq7f8I4LfZSJKgCvEwfkE8o1538VoBeoGzokVLLnbFDEAdFD3UhoMklxo2un9NJVBdANOresx7vTHlHw==", | ||||
|       "dependencies": { | ||||
|         "tunnel": "^0.0.6", | ||||
|         "undici": "^5.25.4" | ||||
|  | @ -1011,9 +1011,9 @@ | |||
|       } | ||||
|     }, | ||||
|     "node_modules/@eslint/eslintrc": { | ||||
|       "version": "2.1.3", | ||||
|       "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.3.tgz", | ||||
|       "integrity": "sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA==", | ||||
|       "version": "2.1.4", | ||||
|       "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", | ||||
|       "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", | ||||
|       "dev": true, | ||||
|       "dependencies": { | ||||
|         "ajv": "^6.12.4", | ||||
|  | @ -1034,9 +1034,9 @@ | |||
|       } | ||||
|     }, | ||||
|     "node_modules/@eslint/js": { | ||||
|       "version": "8.54.0", | ||||
|       "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.54.0.tgz", | ||||
|       "integrity": "sha512-ut5V+D+fOoWPgGGNj83GGjnntO39xDy6DWxO0wb7Jp3DcMX0TfIqdzHF85VTQkerdyGmuuMD9AKAo5KiNlf/AQ==", | ||||
|       "version": "8.57.0", | ||||
|       "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", | ||||
|       "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", | ||||
|       "dev": true, | ||||
|       "engines": { | ||||
|         "node": "^12.22.0 || ^14.17.0 || >=16.0.0" | ||||
|  | @ -1051,13 +1051,13 @@ | |||
|       } | ||||
|     }, | ||||
|     "node_modules/@humanwhocodes/config-array": { | ||||
|       "version": "0.11.13", | ||||
|       "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz", | ||||
|       "integrity": "sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==", | ||||
|       "version": "0.11.14", | ||||
|       "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", | ||||
|       "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", | ||||
|       "dev": true, | ||||
|       "dependencies": { | ||||
|         "@humanwhocodes/object-schema": "^2.0.1", | ||||
|         "debug": "^4.1.1", | ||||
|         "@humanwhocodes/object-schema": "^2.0.2", | ||||
|         "debug": "^4.3.1", | ||||
|         "minimatch": "^3.0.5" | ||||
|       }, | ||||
|       "engines": { | ||||
|  | @ -1078,9 +1078,9 @@ | |||
|       } | ||||
|     }, | ||||
|     "node_modules/@humanwhocodes/object-schema": { | ||||
|       "version": "2.0.1", | ||||
|       "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz", | ||||
|       "integrity": "sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==", | ||||
|       "version": "2.0.2", | ||||
|       "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz", | ||||
|       "integrity": "sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==", | ||||
|       "dev": true | ||||
|     }, | ||||
|     "node_modules/@istanbuljs/load-nyc-config": { | ||||
|  | @ -1703,9 +1703,9 @@ | |||
|       } | ||||
|     }, | ||||
|     "node_modules/@types/jest": { | ||||
|       "version": "29.5.9", | ||||
|       "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.9.tgz", | ||||
|       "integrity": "sha512-zJeWhqBwVoPm83sP8h1/SVntwWTu5lZbKQGCvBjxQOyEWnKnsaomt2y7SlV4KfwlrHAHHAn00Sh4IAWaIsGOgQ==", | ||||
|       "version": "29.5.12", | ||||
|       "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.12.tgz", | ||||
|       "integrity": "sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw==", | ||||
|       "dev": true, | ||||
|       "dependencies": { | ||||
|         "expect": "^29.0.0", | ||||
|  | @ -1719,9 +1719,9 @@ | |||
|       "dev": true | ||||
|     }, | ||||
|     "node_modules/@types/node": { | ||||
|       "version": "20.9.3", | ||||
|       "resolved": "https://registry.npmjs.org/@types/node/-/node-20.9.3.tgz", | ||||
|       "integrity": "sha512-nk5wXLAXGBKfrhLB0cyHGbSqopS+nz0BUgZkUQqSHSSgdee0kssp1IAqlQOu333bW+gMNs2QREx7iynm19Abxw==", | ||||
|       "version": "20.11.24", | ||||
|       "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.24.tgz", | ||||
|       "integrity": "sha512-Kza43ewS3xoLgCEpQrsT+xRo/EJej1y0kVYGiLFE1NEODXGzTfwiC6tXTLMQskn1X4/Rjlh0MQUvx9W+L9long==", | ||||
|       "dependencies": { | ||||
|         "undici-types": "~5.26.4" | ||||
|       } | ||||
|  | @ -1749,9 +1749,9 @@ | |||
|       } | ||||
|     }, | ||||
|     "node_modules/@types/semver": { | ||||
|       "version": "7.5.6", | ||||
|       "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.6.tgz", | ||||
|       "integrity": "sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A==", | ||||
|       "version": "7.5.8", | ||||
|       "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", | ||||
|       "integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==", | ||||
|       "dev": true | ||||
|     }, | ||||
|     "node_modules/@types/stack-utils": { | ||||
|  | @ -1998,9 +1998,9 @@ | |||
|       } | ||||
|     }, | ||||
|     "node_modules/acorn": { | ||||
|       "version": "8.11.2", | ||||
|       "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz", | ||||
|       "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==", | ||||
|       "version": "8.11.3", | ||||
|       "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", | ||||
|       "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", | ||||
|       "dev": true, | ||||
|       "bin": { | ||||
|         "acorn": "bin/acorn" | ||||
|  | @ -2659,16 +2659,16 @@ | |||
|       } | ||||
|     }, | ||||
|     "node_modules/eslint": { | ||||
|       "version": "8.54.0", | ||||
|       "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.54.0.tgz", | ||||
|       "integrity": "sha512-NY0DfAkM8BIZDVl6PgSa1ttZbx3xHgJzSNJKYcQglem6CppHyMhRIQkBVSSMaSRnLhig3jsDbEzOjwCVt4AmmA==", | ||||
|       "version": "8.57.0", | ||||
|       "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", | ||||
|       "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", | ||||
|       "dev": true, | ||||
|       "dependencies": { | ||||
|         "@eslint-community/eslint-utils": "^4.2.0", | ||||
|         "@eslint-community/regexpp": "^4.6.1", | ||||
|         "@eslint/eslintrc": "^2.1.3", | ||||
|         "@eslint/js": "8.54.0", | ||||
|         "@humanwhocodes/config-array": "^0.11.13", | ||||
|         "@eslint/eslintrc": "^2.1.4", | ||||
|         "@eslint/js": "8.57.0", | ||||
|         "@humanwhocodes/config-array": "^0.11.14", | ||||
|         "@humanwhocodes/module-importer": "^1.0.1", | ||||
|         "@nodelib/fs.walk": "^1.2.8", | ||||
|         "@ungap/structured-clone": "^1.2.0", | ||||
|  | @ -2745,9 +2745,9 @@ | |||
|       } | ||||
|     }, | ||||
|     "node_modules/eslint-plugin-jest": { | ||||
|       "version": "27.6.0", | ||||
|       "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-27.6.0.tgz", | ||||
|       "integrity": "sha512-MTlusnnDMChbElsszJvrwD1dN3x6nZl//s4JD23BxB6MgR66TZlL064su24xEIS3VACfAoHV1vgyMgPw8nkdng==", | ||||
|       "version": "27.9.0", | ||||
|       "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-27.9.0.tgz", | ||||
|       "integrity": "sha512-QIT7FH7fNmd9n4se7FFKHbsLKGQiw885Ds6Y/sxKgCZ6natwCsXdgPOADnYVxN2QrRweF0FZWbJ6S7Rsn7llug==", | ||||
|       "dev": true, | ||||
|       "dependencies": { | ||||
|         "@typescript-eslint/utils": "^5.10.0" | ||||
|  | @ -2756,7 +2756,7 @@ | |||
|         "node": "^14.15.0 || ^16.10.0 || >=18.0.0" | ||||
|       }, | ||||
|       "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", | ||||
|         "jest": "*" | ||||
|       }, | ||||
|  | @ -3263,9 +3263,9 @@ | |||
|       } | ||||
|     }, | ||||
|     "node_modules/globals": { | ||||
|       "version": "13.23.0", | ||||
|       "resolved": "https://registry.npmjs.org/globals/-/globals-13.23.0.tgz", | ||||
|       "integrity": "sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==", | ||||
|       "version": "13.24.0", | ||||
|       "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", | ||||
|       "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", | ||||
|       "dev": true, | ||||
|       "dependencies": { | ||||
|         "type-fest": "^0.20.2" | ||||
|  | @ -4958,9 +4958,9 @@ | |||
|       "integrity": "sha512-0s+oAmw9zLl1V1cS9BtZN7JAd0cW5e0QH4W3LWEK6a4LaLEA2OTpGYWDY+6XasBLtz6wkm3u1xRw95mRuJ59WA==" | ||||
|     }, | ||||
|     "node_modules/semver": { | ||||
|       "version": "7.5.4", | ||||
|       "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", | ||||
|       "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", | ||||
|       "version": "7.6.0", | ||||
|       "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", | ||||
|       "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", | ||||
|       "dependencies": { | ||||
|         "lru-cache": "^6.0.0" | ||||
|       }, | ||||
|  | @ -5215,9 +5215,9 @@ | |||
|       } | ||||
|     }, | ||||
|     "node_modules/ts-jest": { | ||||
|       "version": "29.1.1", | ||||
|       "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.1.1.tgz", | ||||
|       "integrity": "sha512-D6xjnnbP17cC85nliwGiL+tpoKN0StpgE0TeOjXQTU6MVCfsB4v7aW05CgQ/1OywGb0x/oy9hHFnN+sczTiRaA==", | ||||
|       "version": "29.1.2", | ||||
|       "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.1.2.tgz", | ||||
|       "integrity": "sha512-br6GJoH/WUX4pu7FbZXuWGKGNDuU7b8Uj77g/Sp7puZV6EXzuByl6JrECvm0MzVzSTkSHWTihsXt+5XYER5b+g==", | ||||
|       "dev": true, | ||||
|       "dependencies": { | ||||
|         "bs-logger": "0.x", | ||||
|  | @ -5233,7 +5233,7 @@ | |||
|         "ts-jest": "cli.js" | ||||
|       }, | ||||
|       "engines": { | ||||
|         "node": "^14.15.0 || ^16.10.0 || >=18.0.0" | ||||
|         "node": "^16.10.0 || ^18.0.0 || >=20.0.0" | ||||
|       }, | ||||
|       "peerDependencies": { | ||||
|         "@babel/core": ">=7.0.0-beta.0 <8", | ||||
|  | @ -5325,9 +5325,9 @@ | |||
|       } | ||||
|     }, | ||||
|     "node_modules/typescript": { | ||||
|       "version": "5.3.2", | ||||
|       "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.2.tgz", | ||||
|       "integrity": "sha512-6l+RyNy7oAHDfxC4FzSJcz9vnjTKxrLpDG5M2Vu4SHRVNg6xzqZp6LYSR9zjqQTu8DU/f5xwxUdADOkbrIX2gQ==", | ||||
|       "version": "5.3.3", | ||||
|       "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", | ||||
|       "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", | ||||
|       "dev": true, | ||||
|       "bin": { | ||||
|         "tsc": "bin/tsc", | ||||
|  |  | |||
							
								
								
									
										21
									
								
								package.json
									
										
									
									
									
								
							
							
						
						
									
										21
									
								
								package.json
									
										
									
									
									
								
							|  | @ -26,36 +26,35 @@ | |||
|   "author": "GitHub", | ||||
|   "license": "MIT", | ||||
|   "dependencies": { | ||||
|     "@actions/cache": "^3.0.4", | ||||
|     "@actions/cache": "^3.2.4", | ||||
|     "@actions/core": "^1.10.0", | ||||
|     "@actions/exec": "^1.0.4", | ||||
|     "@actions/glob": "^0.4.0", | ||||
|     "@actions/http-client": "^2.2.0", | ||||
|     "@actions/http-client": "^2.2.1", | ||||
|     "@actions/io": "^1.0.2", | ||||
|     "@actions/tool-cache": "^2.0.1", | ||||
|     "semver": "^7.3.4", | ||||
|     "semver": "^7.6.0", | ||||
|     "xmlbuilder2": "^2.4.0" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|     "@types/jest": "^29.5.9", | ||||
|     "@types/node": "^20.9.3", | ||||
|     "@types/semver": "^7.3.4", | ||||
|     "@types/jest": "^29.5.12", | ||||
|     "@types/node": "^20.11.24", | ||||
|     "@types/semver": "^7.5.8", | ||||
|     "@typescript-eslint/eslint-plugin": "^5.54.0", | ||||
|     "@typescript-eslint/parser": "^5.54.0", | ||||
|     "@vercel/ncc": "^0.38.1", | ||||
|     "eslint": "^8.35.0", | ||||
|     "eslint": "^8.57.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", | ||||
|     "jest": "^29.7.0", | ||||
|     "jest-circus": "^29.7.0", | ||||
|     "prettier": "^2.8.4", | ||||
|     "ts-jest": "^29.1.1", | ||||
|     "typescript": "^5.3.2" | ||||
|     "ts-jest": "^29.1.2", | ||||
|     "typescript": "^5.3.3" | ||||
|   }, | ||||
|   "bugs": { | ||||
|     "url": "https://github.com/actions/setup-java/issues" | ||||
|   }, | ||||
|   "homepage": "https://github.com/actions/setup-java#readme" | ||||
|    | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue