chore: update generated content

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax committed 2023-12-04 10:49:19 +01:00
1 parent ee4c9054ec
commit 394bbab10c
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(t,r,o){"use strict";var a=this&&this.__createBinding||(Object.create?function(t,r,o,a){if(a===undefined)a=o;var i=Object.getOwnPropertyDescriptor(r,o);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[o]}}}Object.defineProperty(t,a,i)}:function(t,r,o,a){if(a===undefined)a=o;t[a]=r[o]});var i=this&&this.__setModuleDefault||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:true,value:r})}:function(t,r){t["default"]=r});var p=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o))a(r,t,o);i(r,t);return r};var c=this&&this.__awaiter||function(t,r,o,a){function adopt(t){return t instanceof o?t:new o((function(r){r(t)}))}return new(o||(o=Promise))((function(o,i){function fulfilled(t){try{step(a.next(t))}catch(t){i(t)}}function rejected(t){try{step(a["throw"](t))}catch(t){i(t)}}function step(t){t.done?o(t.value):adopt(t.value).then(fulfilled,rejected)}step((a=a.apply(t,r||[])).next())}))};Object.defineProperty(r,"__esModule",{value:true});r.saveCache=r.restoreCache=r.isFeatureAvailable=r.ReserveCacheError=r.ValidationError=void 0;const d=p(o(42186));const A=p(o(71017));const l=p(o(91518));const u=p(o(98245));const b=o(56490);class ValidationError extends Error{constructor(t){super(t);this.name="ValidationError";Object.setPrototypeOf(this,ValidationError.prototype)}}r.ValidationError=ValidationError;class ReserveCacheError extends Error{constructor(t){super(t);this.name="ReserveCacheError";Object.setPrototypeOf(this,ReserveCacheError.prototype)}}r.ReserveCacheError=ReserveCacheError;function checkPaths(t){if(!t||t.length===0){throw new ValidationError(`Path Validation Error: At least one directory or file path is required`)}}function checkKey(t){if(t.length>512){throw new ValidationError(`Key Validation Error: ${t} cannot be larger than 512 characters.`)}const r=/^[^,]*$/;if(!r.test(t)){throw new ValidationError(`Key Validation Error: ${t} cannot contain commas.`)}}function isFeatureAvailable(){return!!process.env["ACTIONS_CACHE_URL"]}r.isFeatureAvailable=isFeatureAvailable;function restoreCache(t,r,o,a,i=false){return c(this,void 0,void 0,(function*(){checkPaths(t);o=o||[];const p=[r,...o];d.debug("Resolved Keys:");d.debug(JSON.stringify(p));if(p.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const t of p){checkKey(t)}const c=yield l.getCompressionMethod();let M="";try{const r=yield u.getCacheEntry(p,t,{compressionMethod:c,enableCrossOsArchive:i});if(!(r===null||r===void 0?void 0:r.archiveLocation)){return undefined}if(a===null||a===void 0?void 0:a.lookupOnly){d.info("Lookup only - skipping download");return r.cacheKey}M=A.join(yield l.createTempDirectory(),l.getCacheFileName(c));d.debug(`Archive Path: ${M}`);yield u.downloadCache(r.archiveLocation,M,a);if(d.isDebug()){yield(0,b.listTar)(M,c)}const o=l.getArchiveFileSizeInBytes(M);d.info(`Cache Size: ~${Math.round(o/(1024*1024))} MB (${o} B)`);yield(0,b.extractTar)(M,c);d.info("Cache restored successfully");return r.cacheKey}catch(t){const r=t;if(r.name===ValidationError.name){throw t}else{d.warning(`Failed to restore: ${t.message}`)}}finally{try{yield l.unlinkFile(M)}catch(t){d.debug(`Failed to delete archive: ${t}`)}}return undefined}))}r.restoreCache=restoreCache;function saveCache(t,r,o,a=false){var i,p,M,m,z;return c(this,void 0,void 0,(function*(){checkPaths(t);checkKey(r);const c=yield l.getCompressionMethod();let O=-1;const h=yield l.resolvePaths(t);d.debug("Cache Paths:");d.debug(`${JSON.stringify(h)}`);if(h.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 g=yield l.createTempDirectory();const E=A.join(g,l.getCacheFileName(c));d.debug(`Archive Path: ${E}`);try{yield(0,b.createTar)(g,h,c);if(d.isDebug()){yield(0,b.listTar)(E,c)}const A=10*1024*1024*1024;const q=l.getArchiveFileSizeInBytes(E);d.debug(`File Size: ${q}`);if(q>A&&!l.isGhes()){throw new Error(`Cache size of ~${Math.round(q/(1024*1024))} MB (${q} B) is over the 10GB limit, not saving cache.`)}d.debug("Reserving Cache");const y=yield u.reserveCache(r,t,{compressionMethod:c,enableCrossOsArchive:a,cacheSize:q});if((i=y===null||y===void 0?void 0:y.result)===null||i===void 0?void 0:i.cacheId){O=(p=y===null||y===void 0?void 0:y.result)===null||p===void 0?void 0:p.cacheId}else if((y===null||y===void 0?void 0:y.statusCode)===400){throw new Error((m=(M=y===null||y===void 0?void 0:y.error)===null||M===void 0?void 0:M.message)!==null&&m!==void 0?m:`Cache size of ~${Math.round(q/(1024*1024))} MB (${q} B) is over the data cap limit, not saving cache.`)}else{throw new ReserveCacheError(`Unable to reserve cache with key ${r}, another job may be creating this cache. More details: ${(z=y===nullLine truncated
require('./sourcemap-register.js');(()=>{var __webpack_modules__={27799:function(t,r,o){"use strict";var a=this&&this.__createBinding||(Object.create?function(t,r,o,a){if(a===undefined)a=o;var i=Object.getOwnPropertyDescriptor(r,o);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[o]}}}Object.defineProperty(t,a,i)}:function(t,r,o,a){if(a===undefined)a=o;t[a]=r[o]});var i=this&&this.__setModuleDefault||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:true,value:r})}:function(t,r){t["default"]=r});var p=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o))a(r,t,o);i(r,t);return r};var c=this&&this.__awaiter||function(t,r,o,a){function adopt(t){return t instanceof o?t:new o((function(r){r(t)}))}return new(o||(o=Promise))((function(o,i){function fulfilled(t){try{step(a.next(t))}catch(t){i(t)}}function rejected(t){try{step(a["throw"](t))}catch(t){i(t)}}function step(t){t.done?o(t.value):adopt(t.value).then(fulfilled,rejected)}step((a=a.apply(t,r||[])).next())}))};Object.defineProperty(r,"__esModule",{value:true});r.saveCache=r.restoreCache=r.isFeatureAvailable=r.ReserveCacheError=r.ValidationError=void 0;const d=p(o(42186));const A=p(o(71017));const l=p(o(91518));const u=p(o(98245));const b=o(56490);class ValidationError extends Error{constructor(t){super(t);this.name="ValidationError";Object.setPrototypeOf(this,ValidationError.prototype)}}r.ValidationError=ValidationError;class ReserveCacheError extends Error{constructor(t){super(t);this.name="ReserveCacheError";Object.setPrototypeOf(this,ReserveCacheError.prototype)}}r.ReserveCacheError=ReserveCacheError;function checkPaths(t){if(!t||t.length===0){throw new ValidationError(`Path Validation Error: At least one directory or file path is required`)}}function checkKey(t){if(t.length>512){throw new ValidationError(`Key Validation Error: ${t} cannot be larger than 512 characters.`)}const r=/^[^,]*$/;if(!r.test(t)){throw new ValidationError(`Key Validation Error: ${t} cannot contain commas.`)}}function isFeatureAvailable(){return!!process.env["ACTIONS_CACHE_URL"]}r.isFeatureAvailable=isFeatureAvailable;function restoreCache(t,r,o,a,i=false){return c(this,void 0,void 0,(function*(){checkPaths(t);o=o||[];const p=[r,...o];d.debug("Resolved Keys:");d.debug(JSON.stringify(p));if(p.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const t of p){checkKey(t)}const c=yield l.getCompressionMethod();let M="";try{const r=yield u.getCacheEntry(p,t,{compressionMethod:c,enableCrossOsArchive:i});if(!(r===null||r===void 0?void 0:r.archiveLocation)){return undefined}if(a===null||a===void 0?void 0:a.lookupOnly){d.info("Lookup only - skipping download");return r.cacheKey}M=A.join(yield l.createTempDirectory(),l.getCacheFileName(c));d.debug(`Archive Path: ${M}`);yield u.downloadCache(r.archiveLocation,M,a);if(d.isDebug()){yield(0,b.listTar)(M,c)}const o=l.getArchiveFileSizeInBytes(M);d.info(`Cache Size: ~${Math.round(o/(1024*1024))} MB (${o} B)`);yield(0,b.extractTar)(M,c);d.info("Cache restored successfully");return r.cacheKey}catch(t){const r=t;if(r.name===ValidationError.name){throw t}else{d.warning(`Failed to restore: ${t.message}`)}}finally{try{yield l.unlinkFile(M)}catch(t){d.debug(`Failed to delete archive: ${t}`)}}return undefined}))}r.restoreCache=restoreCache;function saveCache(t,r,o,a=false){var i,p,M,m,z;return c(this,void 0,void 0,(function*(){checkPaths(t);checkKey(r);const c=yield l.getCompressionMethod();let O=-1;const h=yield l.resolvePaths(t);d.debug("Cache Paths:");d.debug(`${JSON.stringify(h)}`);if(h.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 g=yield l.createTempDirectory();const E=A.join(g,l.getCacheFileName(c));d.debug(`Archive Path: ${E}`);try{yield(0,b.createTar)(g,h,c);if(d.isDebug()){yield(0,b.listTar)(E,c)}const A=10*1024*1024*1024;const q=l.getArchiveFileSizeInBytes(E);d.debug(`File Size: ${q}`);if(q>A&&!l.isGhes()){throw new Error(`Cache size of ~${Math.round(q/(1024*1024))} MB (${q} B) is over the 10GB limit, not saving cache.`)}d.debug("Reserving Cache");const y=yield u.reserveCache(r,t,{compressionMethod:c,enableCrossOsArchive:a,cacheSize:q});if((i=y===null||y===void 0?void 0:y.result)===null||i===void 0?void 0:i.cacheId){O=(p=y===null||y===void 0?void 0:y.result)===null||p===void 0?void 0:p.cacheId}else if((y===null||y===void 0?void 0:y.statusCode)===400){throw new Error((m=(M=y===null||y===void 0?void 0:y.error)===null||M===void 0?void 0:M.message)!==null&&m!==void 0?m:`Cache size of ~${Math.round(q/(1024*1024))} MB (${q} B) is over the data cap limit, not saving cache.`)}else{throw new ReserveCacheError(`Unable to reserve cache with key ${r}, another job may be creating this cache. More details: ${(z=y===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