chore: update generated content

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax committed 2023-10-25 15:39:40 +02:00
1 parent ad9adab519
commit 15f2689f92
2 files changed
+2 -2

No files matched your search

Generated Vendored
+1 -1
View File
@@ -1,4 +1,4 @@
require('./sourcemap-register.js');(()=>{var __webpack_modules__={27799:function(r,a,i){"use strict";var p=this&&this.__createBinding||(Object.create?function(r,a,i,p){if(p===undefined)p=i;var c=Object.getOwnPropertyDescriptor(a,i);if(!c||("get"in c?!a.__esModule:c.writable||c.configurable)){c={enumerable:true,get:function(){return a[i]}}}Object.defineProperty(r,p,c)}:function(r,a,i,p){if(p===undefined)p=i;r[p]=a[i]});var c=this&&this.__setModuleDefault||(Object.create?function(r,a){Object.defineProperty(r,"default",{enumerable:true,value:a})}:function(r,a){r["default"]=a});var d=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var a={};if(r!=null)for(var i in r)if(i!=="default"&&Object.prototype.hasOwnProperty.call(r,i))p(a,r,i);c(a,r);return a};var A=this&&this.__awaiter||function(r,a,i,p){function adopt(r){return r instanceof i?r:new i((function(a){a(r)}))}return new(i||(i=Promise))((function(i,c){function fulfilled(r){try{step(p.next(r))}catch(r){c(r)}}function rejected(r){try{step(p["throw"](r))}catch(r){c(r)}}function step(r){r.done?i(r.value):adopt(r.value).then(fulfilled,rejected)}step((p=p.apply(r,a||[])).next())}))};Object.defineProperty(a,"__esModule",{value:true});a.saveCache=a.restoreCache=a.isFeatureAvailable=a.ReserveCacheError=a.ValidationError=void 0;const l=d(i(42186));const u=d(i(71017));const b=d(i(91518));const M=d(i(98245));const m=i(56490);class ValidationError extends Error{constructor(r){super(r);this.name="ValidationError";Object.setPrototypeOf(this,ValidationError.prototype)}}a.ValidationError=ValidationError;class ReserveCacheError extends Error{constructor(r){super(r);this.name="ReserveCacheError";Object.setPrototypeOf(this,ReserveCacheError.prototype)}}a.ReserveCacheError=ReserveCacheError;function checkPaths(r){if(!r||r.length===0){throw new ValidationError(`Path Validation Error: At least one directory or file path is required`)}}function checkKey(r){if(r.length>512){throw new ValidationError(`Key Validation Error: ${r} cannot be larger than 512 characters.`)}const a=/^[^,]*$/;if(!a.test(r)){throw new ValidationError(`Key Validation Error: ${r} cannot contain commas.`)}}function isFeatureAvailable(){return!!process.env["ACTIONS_CACHE_URL"]}a.isFeatureAvailable=isFeatureAvailable;function restoreCache(r,a,i,p,c=false){return A(this,void 0,void 0,(function*(){checkPaths(r);i=i||[];const d=[a,...i];l.debug("Resolved Keys:");l.debug(JSON.stringify(d));if(d.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const r of d){checkKey(r)}const A=yield b.getCompressionMethod();let z="";try{const a=yield M.getCacheEntry(d,r,{compressionMethod:A,enableCrossOsArchive:c});if(!(a===null||a===void 0?void 0:a.archiveLocation)){return undefined}if(p===null||p===void 0?void 0:p.lookupOnly){l.info("Lookup only - skipping download");return a.cacheKey}z=u.join(yield b.createTempDirectory(),b.getCacheFileName(A));l.debug(`Archive Path: ${z}`);yield M.downloadCache(a.archiveLocation,z,p);if(l.isDebug()){yield(0,m.listTar)(z,A)}const i=b.getArchiveFileSizeInBytes(z);l.info(`Cache Size: ~${Math.round(i/(1024*1024))} MB (${i} B)`);yield(0,m.extractTar)(z,A);l.info("Cache restored successfully");return a.cacheKey}catch(r){const a=r;if(a.name===ValidationError.name){throw r}else{l.warning(`Failed to restore: ${r.message}`)}}finally{try{yield b.unlinkFile(z)}catch(r){l.debug(`Failed to delete archive: ${r}`)}}return undefined}))}a.restoreCache=restoreCache;function saveCache(r,a,i,p=false){var c,d,z,O,h;return A(this,void 0,void 0,(function*(){checkPaths(r);checkKey(a);const A=yield b.getCompressionMethod();let g=-1;const E=yield b.resolvePaths(r);l.debug("Cache Paths:");l.debug(`${JSON.stringify(E)}`);if(E.length===0){throw new Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`)}const q=yield b.createTempDirectory();const y=u.join(q,b.getCacheFileName(A));l.debug(`Archive Path: ${y}`);try{yield(0,m.createTar)(q,E,A);if(l.isDebug()){yield(0,m.listTar)(y,A)}const u=10*1024*1024*1024;const C=b.getArchiveFileSizeInBytes(y);l.debug(`File Size: ${C}`);if(C>u&&!b.isGhes()){throw new Error(`Cache size of ~${Math.round(C/(1024*1024))} MB (${C} B) is over the 10GB limit, not saving cache.`)}l.debug("Reserving Cache");const B=yield M.reserveCache(a,r,{compressionMethod:A,enableCrossOsArchive:p,cacheSize:C});if((c=B===null||B===void 0?void 0:B.result)===null||c===void 0?void 0:c.cacheId){g=(d=B===null||B===void 0?void 0:B.result)===null||d===void 0?void 0:d.cacheId}else if((B===null||B===void 0?void 0:B.statusCode)===400){throw new Error((O=(z=B===null||B===void 0?void 0:B.error)===null||z===void 0?void 0:z.message)!==null&&O!==void 0?O:`Cache size of ~${Math.round(C/(1024*1024))} MB (${C} B) is over the data cap limit, not saving cache.`)}else{throw new ReserveCacheError(`Unable to reserve cache with key ${a}, another job may be creating this cache. More details: ${(h=B===nullLine truncated
require('./sourcemap-register.js');(()=>{var __webpack_modules__={27799:function(r,a,i){"use strict";var p=this&&this.__createBinding||(Object.create?function(r,a,i,p){if(p===undefined)p=i;var c=Object.getOwnPropertyDescriptor(a,i);if(!c||("get"in c?!a.__esModule:c.writable||c.configurable)){c={enumerable:true,get:function(){return a[i]}}}Object.defineProperty(r,p,c)}:function(r,a,i,p){if(p===undefined)p=i;r[p]=a[i]});var c=this&&this.__setModuleDefault||(Object.create?function(r,a){Object.defineProperty(r,"default",{enumerable:true,value:a})}:function(r,a){r["default"]=a});var d=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var a={};if(r!=null)for(var i in r)if(i!=="default"&&Object.prototype.hasOwnProperty.call(r,i))p(a,r,i);c(a,r);return a};var A=this&&this.__awaiter||function(r,a,i,p){function adopt(r){return r instanceof i?r:new i((function(a){a(r)}))}return new(i||(i=Promise))((function(i,c){function fulfilled(r){try{step(p.next(r))}catch(r){c(r)}}function rejected(r){try{step(p["throw"](r))}catch(r){c(r)}}function step(r){r.done?i(r.value):adopt(r.value).then(fulfilled,rejected)}step((p=p.apply(r,a||[])).next())}))};Object.defineProperty(a,"__esModule",{value:true});a.saveCache=a.restoreCache=a.isFeatureAvailable=a.ReserveCacheError=a.ValidationError=void 0;const l=d(i(42186));const u=d(i(71017));const b=d(i(91518));const M=d(i(98245));const m=i(56490);class ValidationError extends Error{constructor(r){super(r);this.name="ValidationError";Object.setPrototypeOf(this,ValidationError.prototype)}}a.ValidationError=ValidationError;class ReserveCacheError extends Error{constructor(r){super(r);this.name="ReserveCacheError";Object.setPrototypeOf(this,ReserveCacheError.prototype)}}a.ReserveCacheError=ReserveCacheError;function checkPaths(r){if(!r||r.length===0){throw new ValidationError(`Path Validation Error: At least one directory or file path is required`)}}function checkKey(r){if(r.length>512){throw new ValidationError(`Key Validation Error: ${r} cannot be larger than 512 characters.`)}const a=/^[^,]*$/;if(!a.test(r)){throw new ValidationError(`Key Validation Error: ${r} cannot contain commas.`)}}function isFeatureAvailable(){return!!process.env["ACTIONS_CACHE_URL"]}a.isFeatureAvailable=isFeatureAvailable;function restoreCache(r,a,i,p,c=false){return A(this,void 0,void 0,(function*(){checkPaths(r);i=i||[];const d=[a,...i];l.debug("Resolved Keys:");l.debug(JSON.stringify(d));if(d.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const r of d){checkKey(r)}const A=yield b.getCompressionMethod();let z="";try{const a=yield M.getCacheEntry(d,r,{compressionMethod:A,enableCrossOsArchive:c});if(!(a===null||a===void 0?void 0:a.archiveLocation)){return undefined}if(p===null||p===void 0?void 0:p.lookupOnly){l.info("Lookup only - skipping download");return a.cacheKey}z=u.join(yield b.createTempDirectory(),b.getCacheFileName(A));l.debug(`Archive Path: ${z}`);yield M.downloadCache(a.archiveLocation,z,p);if(l.isDebug()){yield(0,m.listTar)(z,A)}const i=b.getArchiveFileSizeInBytes(z);l.info(`Cache Size: ~${Math.round(i/(1024*1024))} MB (${i} B)`);yield(0,m.extractTar)(z,A);l.info("Cache restored successfully");return a.cacheKey}catch(r){const a=r;if(a.name===ValidationError.name){throw r}else{l.warning(`Failed to restore: ${r.message}`)}}finally{try{yield b.unlinkFile(z)}catch(r){l.debug(`Failed to delete archive: ${r}`)}}return undefined}))}a.restoreCache=restoreCache;function saveCache(r,a,i,p=false){var c,d,z,O,h;return A(this,void 0,void 0,(function*(){checkPaths(r);checkKey(a);const A=yield b.getCompressionMethod();let g=-1;const E=yield b.resolvePaths(r);l.debug("Cache Paths:");l.debug(`${JSON.stringify(E)}`);if(E.length===0){throw new Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`)}const q=yield b.createTempDirectory();const y=u.join(q,b.getCacheFileName(A));l.debug(`Archive Path: ${y}`);try{yield(0,m.createTar)(q,E,A);if(l.isDebug()){yield(0,m.listTar)(y,A)}const u=10*1024*1024*1024;const C=b.getArchiveFileSizeInBytes(y);l.debug(`File Size: ${C}`);if(C>u&&!b.isGhes()){throw new Error(`Cache size of ~${Math.round(C/(1024*1024))} MB (${C} B) is over the 10GB limit, not saving cache.`)}l.debug("Reserving Cache");const B=yield M.reserveCache(a,r,{compressionMethod:A,enableCrossOsArchive:p,cacheSize:C});if((c=B===null||B===void 0?void 0:B.result)===null||c===void 0?void 0:c.cacheId){g=(d=B===null||B===void 0?void 0:B.result)===null||d===void 0?void 0:d.cacheId}else if((B===null||B===void 0?void 0:B.statusCode)===400){throw new Error((O=(z=B===null||B===void 0?void 0:B.error)===null||z===void 0?void 0:z.message)!==null&&O!==void 0?O:`Cache size of ~${Math.round(C/(1024*1024))} MB (${C} B) is over the data cap limit, not saving cache.`)}else{throw new ReserveCacheError(`Unable to reserve cache with key ${a}, another job may be creating this cache. More details: ${(h=B===nullLine truncated
/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*
Generated Vendored
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"index.js","names":["__createBinding","this","Object","create","o","m","k","k2","undefined","desc","getOwnPropertyDescriptor","__esModule","writable","configurable","enumerable","get","defineProperty","__setModuleDefault","v","value","__importStar","mod","result","prototype","hasOwnProperty","call","__awaiter","thisArg","_arguments","P","generator","adopt","resolve","Promise","reject","fulfilled","step","next","e","rejected","done","then","apply","exports","saveCache","restoreCache","isFeatureAvailable","ReserveCacheError","ValidationError","core","__webpack_require__","path","utils","cacheHttpClient","tar_1","Error","constructor","message","super","name","setPrototypeOf","checkPaths","paths","length","checkKey","key","regex","test","process","env","primaryKey","restoreKeys","options","enableCrossOsArchive","keys","debug","JSON","stringify","compressionMethod","getCompressionMethod","archivePath","cacheEntry","getCacheEntry","archiveLocation","lookupOnly","info","cacheKey","join","createTempDirectory","getCacheFileName","downloadCache","isDebug","listTar","archiveFileSize","getArchiveFileSizeInBytes","Math","round","extractTar","error","typedError","warning","unlinkFile","_a","_b","_c","_d","_e","cacheId","cachePaths","resolvePaths","archiveFolder","createTar","fileSizeLimit","isGhes","reserveCacheResponse","reserveCache","cacheSize","statusCode","getCacheVersion","http_client_1","auth_1","crypto","fs","url_1","downloadUtils_1","options_1","requestUtils_1","versionSalt","getCacheApiUrl","resource","baseUrl","url","createAcceptHeader","type","apiVersion","getRequestOptions","requestOptions","headers","Accept","createHttpClient","token","bearerCredentialHandler","BearerCredentialHandler","HttpClient","components","push","platform","createHash","update","digest","httpClient","version","encodeURIComponent","response","retryTypedResponse","getJson","printCachesListForDiagnostics","isSuccessStatusCode","cacheResult","cacheDownloadUrl","setSecret","cacheListResult","totalCount","artifactCaches","cacheVersion","scope","creationTime","archiveUrl","URL","downloadOptions","getDownloadOptions","hostname","endsWith","useAzureSdk","downloadCacheStorageSDK","concurrentBlobDownloads","downloadCacheHttpClientConcurrent","downloadCacheHttpClient","reserveCacheRequest","postJson","getContentRange","start","end","uploadChunk","resourceUrl","openStream","additionalHeaders","uploadChunkResponse","retryHttpClientResponse","sendStream","uploadFile","fileSize","toString","fd","openSync","uploadOptions","getUploadOptions","concurrency","assertDefined","uploadConcurrency","maxChunkSize","uploadChunkSize","parallelUploads","Array","offset","all","map","chunkSize","min","createReadStream","autoClose","on","closeSync","commitCache","filesize","commitCacheRequest","size","commitCacheResponse","__asyncValues","Symbol","asyncIterator","TypeError","i","__values","iterator","verb","n","settle","d","getGnuTarPathOnWindows","exec","glob","io","semver","util","uuid_1","constants_1","IS_WINDOWS","tempDirectory","baseLocation","dest","v4","mkdirP","filePath","statSync","patterns","e_1","workspace","cwd","globber","implicitDescendants","_f","globGenerator","_g","file","relativeFile","relative","replace","RegExp","sep","e_1_1","return","promisify","unlink","getVersion","app","additionalArgs","versionOutput","ignoreReturnCode","silent","listeners","stdout","data","stderr","err","trim","clean","CompressionMethod","Gzip","ZstdWithoutLong","CacheFilename","Zstd","existsSync","GnuTarPathOnWindows","toLowerCase","includes","which","ghUrl","toUpperCase","ManifestFilename","TarFilename","SystemTarPathOnWindows","SocketTimeout","DefaultRetryDelay","DefaultRetryAttempts","ArchiveToolType","DownloadProgress","storage_blob_1","buffer","stream","abort_controller_1","pipeResponseToStream","output","pipeline","contentLength","segmentIndex","segmentSize","segmentOffset","receivedBytes","displayedComplete","startTime","Date","now","nextSegment","setReceivedBytes","getTransferredBytes","isDone","display","transferredBytes","percentage","toFixed","elapsedTime","downloadSpeed","onProgress","progress","loadedBytes","startDisplayTimer","delayInMs","displayCallback","timeoutHandle","setTimeout","stopDisplayTimer","clearTimeout","writeStream","createWriteStream","downloadResponse","socket","destroy","contentLengthHeader","expectedLength","parseInt","actualLength","archiveDescriptor","promises","open","socketTimeout","timeoutInMs","keepAlive","res","request","lengthHeader","Number","isNaN","downloads","blockSize","count","promiseGetter","downloadSegmentRetry","reverse","actives","bytesDownloaded","progressFn","activeDownloads","nextDownload","waitAndWrite","segment","race","values","write","pop","downloadConcurrency","dispose","close","retries","failures","timeout","promiseWithTimeout","downloadSegment","partRes","Range","readBodyBuffer","client","BlockBlobClient","retryOptions","tryTimeoutInMs","properties","getProperties","maxSegmentSize","constants"Line truncated
{"version":3,"file":"index.js","names":["__createBinding","this","Object","create","o","m","k","k2","undefined","desc","getOwnPropertyDescriptor","__esModule","writable","configurable","enumerable","get","defineProperty","__setModuleDefault","v","value","__importStar","mod","result","prototype","hasOwnProperty","call","__awaiter","thisArg","_arguments","P","generator","adopt","resolve","Promise","reject","fulfilled","step","next","e","rejected","done","then","apply","exports","saveCache","restoreCache","isFeatureAvailable","ReserveCacheError","ValidationError","core","__webpack_require__","path","utils","cacheHttpClient","tar_1","Error","constructor","message","super","name","setPrototypeOf","checkPaths","paths","length","checkKey","key","regex","test","process","env","primaryKey","restoreKeys","options","enableCrossOsArchive","keys","debug","JSON","stringify","compressionMethod","getCompressionMethod","archivePath","cacheEntry","getCacheEntry","archiveLocation","lookupOnly","info","cacheKey","join","createTempDirectory","getCacheFileName","downloadCache","isDebug","listTar","archiveFileSize","getArchiveFileSizeInBytes","Math","round","extractTar","error","typedError","warning","unlinkFile","_a","_b","_c","_d","_e","cacheId","cachePaths","resolvePaths","archiveFolder","createTar","fileSizeLimit","isGhes","reserveCacheResponse","reserveCache","cacheSize","statusCode","getCacheVersion","http_client_1","auth_1","crypto","fs","url_1","downloadUtils_1","options_1","requestUtils_1","versionSalt","getCacheApiUrl","resource","baseUrl","url","createAcceptHeader","type","apiVersion","getRequestOptions","requestOptions","headers","Accept","createHttpClient","token","bearerCredentialHandler","BearerCredentialHandler","HttpClient","components","push","platform","createHash","update","digest","httpClient","version","encodeURIComponent","response","retryTypedResponse","getJson","printCachesListForDiagnostics","isSuccessStatusCode","cacheResult","cacheDownloadUrl","setSecret","cacheListResult","totalCount","artifactCaches","cacheVersion","scope","creationTime","archiveUrl","URL","downloadOptions","getDownloadOptions","hostname","endsWith","useAzureSdk","downloadCacheStorageSDK","concurrentBlobDownloads","downloadCacheHttpClientConcurrent","downloadCacheHttpClient","reserveCacheRequest","postJson","getContentRange","start","end","uploadChunk","resourceUrl","openStream","additionalHeaders","uploadChunkResponse","retryHttpClientResponse","sendStream","uploadFile","fileSize","toString","fd","openSync","uploadOptions","getUploadOptions","concurrency","assertDefined","uploadConcurrency","maxChunkSize","uploadChunkSize","parallelUploads","Array","offset","all","map","chunkSize","min","createReadStream","autoClose","on","closeSync","commitCache","filesize","commitCacheRequest","size","commitCacheResponse","__asyncValues","Symbol","asyncIterator","TypeError","i","__values","iterator","verb","n","settle","d","getGnuTarPathOnWindows","exec","glob","io","semver","util","uuid_1","constants_1","IS_WINDOWS","tempDirectory","baseLocation","dest","v4","mkdirP","filePath","statSync","patterns","e_1","workspace","cwd","globber","implicitDescendants","_f","globGenerator","_g","file","relativeFile","relative","replace","RegExp","sep","e_1_1","return","promisify","unlink","getVersion","app","additionalArgs","versionOutput","ignoreReturnCode","silent","listeners","stdout","data","stderr","err","trim","clean","CompressionMethod","Gzip","ZstdWithoutLong","CacheFilename","Zstd","existsSync","GnuTarPathOnWindows","toLowerCase","includes","which","ghUrl","toUpperCase","ManifestFilename","TarFilename","SystemTarPathOnWindows","SocketTimeout","DefaultRetryDelay","DefaultRetryAttempts","ArchiveToolType","DownloadProgress","storage_blob_1","buffer","stream","abort_controller_1","pipeResponseToStream","output","pipeline","contentLength","segmentIndex","segmentSize","segmentOffset","receivedBytes","displayedComplete","startTime","Date","now","nextSegment","setReceivedBytes","getTransferredBytes","isDone","display","transferredBytes","percentage","toFixed","elapsedTime","downloadSpeed","onProgress","progress","loadedBytes","startDisplayTimer","delayInMs","displayCallback","timeoutHandle","setTimeout","stopDisplayTimer","clearTimeout","writeStream","createWriteStream","downloadResponse","socket","destroy","contentLengthHeader","expectedLength","parseInt","actualLength","archiveDescriptor","promises","open","socketTimeout","timeoutInMs","keepAlive","res","request","lengthHeader","Number","isNaN","downloads","blockSize","count","promiseGetter","downloadSegmentRetry","reverse","actives","bytesDownloaded","progressFn","activeDownloads","nextDownload","waitAndWrite","segment","race","values","write","pop","downloadConcurrency","dispose","close","retries","failures","timeout","promiseWithTimeout","downloadSegment","partRes","Range","readBodyBuffer","client","BlockBlobClient","retryOptions","tryTimeoutInMs","properties","getProperties","maxSegmentSize","constants"Line truncated