diff --git a/dist/index.js b/dist/index.js index dd6ed85..7b32a73 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,7 +1,7 @@ import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module"; /******/ var __webpack_modules__ = ({ -/***/ 31760: +/***/ 73171: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { @@ -54,11 +54,11 @@ exports.restoreCache = restoreCache; exports.saveCache = saveCache; const core = __importStar(__nccwpck_require__(59550)); const path = __importStar(__nccwpck_require__(16928)); -const utils = __importStar(__nccwpck_require__(58375)); -const cacheHttpClient = __importStar(__nccwpck_require__(34271)); -const cacheTwirpClient = __importStar(__nccwpck_require__(77431)); -const config_1 = __nccwpck_require__(26018); -const tar_1 = __nccwpck_require__(47109); +const utils = __importStar(__nccwpck_require__(85096)); +const cacheHttpClient = __importStar(__nccwpck_require__(21566)); +const cacheTwirpClient = __importStar(__nccwpck_require__(76826)); +const config_1 = __nccwpck_require__(21133); +const tar_1 = __nccwpck_require__(84480); const http_client_1 = __nccwpck_require__(80897); class ValidationError extends Error { constructor(message) { @@ -536,7 +536,7 @@ function saveCacheV2(paths_1, key_1, options_1) { /***/ }), -/***/ 17760: +/***/ 21173: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -551,7 +551,7 @@ const runtime_2 = __nccwpck_require__(68140); const runtime_3 = __nccwpck_require__(68140); const runtime_4 = __nccwpck_require__(68140); const runtime_5 = __nccwpck_require__(68140); -const cachemetadata_1 = __nccwpck_require__(1944); +const cachemetadata_1 = __nccwpck_require__(4191); // @generated message type with reflection information, may provide speed optimized methods class CreateCacheEntryRequest$Type extends runtime_5.MessageType { constructor() { @@ -944,13 +944,13 @@ exports.CacheService = new runtime_rpc_1.ServiceType("github.actions.results.api /***/ }), -/***/ 99490: +/***/ 75765: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports.CacheServiceClientProtobuf = exports.CacheServiceClientJSON = void 0; -const cache_1 = __nccwpck_require__(17760); +const cache_1 = __nccwpck_require__(21173); class CacheServiceClientJSON { constructor(rpc) { this.rpc = rpc; @@ -1018,7 +1018,7 @@ exports.CacheServiceClientProtobuf = CacheServiceClientProtobuf; /***/ }), -/***/ 1944: +/***/ 4191: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -1029,7 +1029,7 @@ const runtime_2 = __nccwpck_require__(68140); const runtime_3 = __nccwpck_require__(68140); const runtime_4 = __nccwpck_require__(68140); const runtime_5 = __nccwpck_require__(68140); -const cachescope_1 = __nccwpck_require__(81397); +const cachescope_1 = __nccwpck_require__(44192); // @generated message type with reflection information, may provide speed optimized methods class CacheMetadata$Type extends runtime_5.MessageType { constructor() { @@ -1088,7 +1088,7 @@ exports.CacheMetadata = new CacheMetadata$Type(); /***/ }), -/***/ 81397: +/***/ 44192: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -1157,7 +1157,7 @@ exports.CacheScope = new CacheScope$Type(); /***/ }), -/***/ 34271: +/***/ 21566: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { @@ -1213,13 +1213,13 @@ const http_client_1 = __nccwpck_require__(80897); const auth_1 = __nccwpck_require__(54935); const fs = __importStar(__nccwpck_require__(79896)); const url_1 = __nccwpck_require__(87016); -const utils = __importStar(__nccwpck_require__(58375)); -const uploadUtils_1 = __nccwpck_require__(58432); -const downloadUtils_1 = __nccwpck_require__(53199); -const options_1 = __nccwpck_require__(28368); -const requestUtils_1 = __nccwpck_require__(50082); -const config_1 = __nccwpck_require__(26018); -const user_agent_1 = __nccwpck_require__(78863); +const utils = __importStar(__nccwpck_require__(85096)); +const uploadUtils_1 = __nccwpck_require__(24337); +const downloadUtils_1 = __nccwpck_require__(91298); +const options_1 = __nccwpck_require__(18791); +const requestUtils_1 = __nccwpck_require__(44241); +const config_1 = __nccwpck_require__(21133); +const user_agent_1 = __nccwpck_require__(2234); function getCacheApiUrl(resource) { const baseUrl = (0, config_1.getCacheServiceURL)(); if (!baseUrl) { @@ -1428,7 +1428,7 @@ function saveCache(cacheId, archivePath, signedUploadURL, options) { /***/ }), -/***/ 58375: +/***/ 85096: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { @@ -1501,7 +1501,7 @@ const fs = __importStar(__nccwpck_require__(79896)); const path = __importStar(__nccwpck_require__(16928)); const semver = __importStar(__nccwpck_require__(92131)); const util = __importStar(__nccwpck_require__(39023)); -const constants_1 = __nccwpck_require__(39963); +const constants_1 = __nccwpck_require__(62058); const versionSalt = '1.0'; // From https://github.com/actions/toolkit/blob/main/packages/tool-cache/src/tool-cache.ts#L23 function createTempDirectory() { @@ -1659,7 +1659,7 @@ function getRuntimeToken() { /***/ }), -/***/ 26018: +/***/ 21133: /***/ ((__unused_webpack_module, exports) => { @@ -1701,7 +1701,7 @@ function getCacheServiceURL() { /***/ }), -/***/ 39963: +/***/ 62058: /***/ ((__unused_webpack_module, exports) => { @@ -1744,7 +1744,7 @@ exports.CacheFileSizeLimit = 10 * Math.pow(1024, 3); // 10GiB per repository /***/ }), -/***/ 53199: +/***/ 91298: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { @@ -1797,14 +1797,14 @@ exports.downloadCacheHttpClientConcurrent = downloadCacheHttpClientConcurrent; exports.downloadCacheStorageSDK = downloadCacheStorageSDK; const core = __importStar(__nccwpck_require__(59550)); const http_client_1 = __nccwpck_require__(80897); -const storage_blob_1 = __nccwpck_require__(32917); +const storage_blob_1 = __nccwpck_require__(50506); const buffer = __importStar(__nccwpck_require__(20181)); const fs = __importStar(__nccwpck_require__(79896)); const stream = __importStar(__nccwpck_require__(2203)); const util = __importStar(__nccwpck_require__(39023)); -const utils = __importStar(__nccwpck_require__(58375)); -const constants_1 = __nccwpck_require__(39963); -const requestUtils_1 = __nccwpck_require__(50082); +const utils = __importStar(__nccwpck_require__(85096)); +const constants_1 = __nccwpck_require__(62058); +const requestUtils_1 = __nccwpck_require__(44241); const abort_controller_1 = __nccwpck_require__(4334); /** * Pipes the body of a HTTP response to a stream @@ -2138,7 +2138,7 @@ const promiseWithTimeout = (timeoutMs, promise) => __awaiter(void 0, void 0, voi /***/ }), -/***/ 50082: +/***/ 44241: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { @@ -2193,7 +2193,7 @@ exports.retryTypedResponse = retryTypedResponse; exports.retryHttpClientResponse = retryHttpClientResponse; const core = __importStar(__nccwpck_require__(59550)); const http_client_1 = __nccwpck_require__(80897); -const constants_1 = __nccwpck_require__(39963); +const constants_1 = __nccwpck_require__(62058); function isSuccessStatusCode(statusCode) { if (!statusCode) { return false; @@ -2290,7 +2290,7 @@ function retryHttpClientResponse(name_1, method_1) { /***/ }), -/***/ 77431: +/***/ 76826: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { @@ -2306,14 +2306,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge Object.defineProperty(exports, "__esModule", ({ value: true })); exports.internalCacheTwirpClient = internalCacheTwirpClient; const core_1 = __nccwpck_require__(59550); -const user_agent_1 = __nccwpck_require__(78863); -const errors_1 = __nccwpck_require__(85763); -const config_1 = __nccwpck_require__(26018); -const cacheUtils_1 = __nccwpck_require__(58375); +const user_agent_1 = __nccwpck_require__(2234); +const errors_1 = __nccwpck_require__(64614); +const config_1 = __nccwpck_require__(21133); +const cacheUtils_1 = __nccwpck_require__(85096); const auth_1 = __nccwpck_require__(54935); const http_client_1 = __nccwpck_require__(80897); -const cache_twirp_client_1 = __nccwpck_require__(99490); -const util_1 = __nccwpck_require__(30640); +const cache_twirp_client_1 = __nccwpck_require__(75765); +const util_1 = __nccwpck_require__(65337); /** * This class is a wrapper around the CacheServiceClientJSON class generated by Twirp. * @@ -2386,6 +2386,18 @@ class CacheServiceClient { } errorMessage = `${errorMessage}: ${body.msg}`; } + // Handle rate limiting - don't retry, just warn and exit + // For more info, see https://docs.github.com/en/actions/reference/limits + if (statusCode === http_client_1.HttpCodes.TooManyRequests) { + const retryAfterHeader = response.message.headers['retry-after']; + if (retryAfterHeader) { + const parsedSeconds = parseInt(retryAfterHeader, 10); + if (!isNaN(parsedSeconds) && parsedSeconds > 0) { + (0, core_1.warning)(`You've hit a rate limit, your rate limit will reset in ${parsedSeconds} seconds`); + } + } + throw new errors_1.RateLimitError(`Rate limited: ${errorMessage}`); + } } catch (error) { if (error instanceof SyntaxError) { @@ -2394,6 +2406,9 @@ class CacheServiceClient { if (error instanceof errors_1.UsageError) { throw error; } + if (error instanceof errors_1.RateLimitError) { + throw error; + } if (errors_1.NetworkError.isNetworkErrorCode(error === null || error === void 0 ? void 0 : error.code)) { throw new errors_1.NetworkError(error === null || error === void 0 ? void 0 : error.code); } @@ -2426,8 +2441,7 @@ class CacheServiceClient { http_client_1.HttpCodes.BadGateway, http_client_1.HttpCodes.GatewayTimeout, http_client_1.HttpCodes.InternalServerError, - http_client_1.HttpCodes.ServiceUnavailable, - http_client_1.HttpCodes.TooManyRequests + http_client_1.HttpCodes.ServiceUnavailable ]; return retryableStatusCodes.includes(statusCode); } @@ -2457,12 +2471,12 @@ function internalCacheTwirpClient(options) { /***/ }), -/***/ 85763: +/***/ 64614: /***/ ((__unused_webpack_module, exports) => { Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.UsageError = exports.NetworkError = exports.GHESNotSupportedError = exports.CacheNotFoundError = exports.InvalidResponseError = exports.FilesNotFoundError = void 0; +exports.RateLimitError = exports.UsageError = exports.NetworkError = exports.GHESNotSupportedError = exports.CacheNotFoundError = exports.InvalidResponseError = exports.FilesNotFoundError = void 0; class FilesNotFoundError extends Error { constructor(files = []) { let message = 'No files were found to upload'; @@ -2529,18 +2543,25 @@ UsageError.isUsageErrorMessage = (msg) => { return false; return msg.includes('insufficient usage'); }; +class RateLimitError extends Error { + constructor(message) { + super(message); + this.name = 'RateLimitError'; + } +} +exports.RateLimitError = RateLimitError; //# sourceMappingURL=errors.js.map /***/ }), -/***/ 78863: +/***/ 2234: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getUserAgentString = getUserAgentString; // eslint-disable-next-line @typescript-eslint/no-var-requires, @typescript-eslint/no-require-imports -const packageJson = __nccwpck_require__(22947); +const packageJson = __nccwpck_require__(87720); /** * Ensure that this User Agent String is used in all HTTP calls so that we can monitor telemetry between different versions of this package */ @@ -2551,7 +2572,7 @@ function getUserAgentString() { /***/ }), -/***/ 30640: +/***/ 65337: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -2630,7 +2651,7 @@ function maskSecretUrls(body) { /***/ }), -/***/ 47109: +/***/ 84480: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { @@ -2684,8 +2705,8 @@ const exec_1 = __nccwpck_require__(24154); const io = __importStar(__nccwpck_require__(46893)); const fs_1 = __nccwpck_require__(79896); const path = __importStar(__nccwpck_require__(16928)); -const utils = __importStar(__nccwpck_require__(58375)); -const constants_1 = __nccwpck_require__(39963); +const utils = __importStar(__nccwpck_require__(85096)); +const constants_1 = __nccwpck_require__(62058); const IS_WINDOWS = process.platform === 'win32'; // Returns tar path and type: BSD or GNU function getTarPath() { @@ -2917,7 +2938,7 @@ function createTar(archiveFolder, sourceDirectories, compressionMethod) { /***/ }), -/***/ 58432: +/***/ 24337: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { @@ -2967,8 +2988,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.UploadProgress = void 0; exports.uploadCacheArchiveSDK = uploadCacheArchiveSDK; const core = __importStar(__nccwpck_require__(59550)); -const storage_blob_1 = __nccwpck_require__(32917); -const errors_1 = __nccwpck_require__(85763); +const storage_blob_1 = __nccwpck_require__(50506); +const errors_1 = __nccwpck_require__(64614); /** * Class for tracking the upload state and displaying stats. */ @@ -3100,7 +3121,7 @@ function uploadCacheArchiveSDK(signedUploadURL, archivePath, options) { /***/ }), -/***/ 28368: +/***/ 18791: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { @@ -59078,7 +59099,7 @@ function createClientLogger(namespace) { /***/ }), -/***/ 4766: +/***/ 14753: /***/ ((__unused_webpack_module, exports) => { @@ -59089,7 +59110,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); /***/ }), -/***/ 20285: +/***/ 10226: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -59099,9 +59120,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.BatchResponseParser = void 0; const core_rest_pipeline_1 = __nccwpck_require__(81591); const core_http_compat_1 = __nccwpck_require__(80976); -const constants_js_1 = __nccwpck_require__(9386); -const BatchUtils_js_1 = __nccwpck_require__(66948); -const log_js_1 = __nccwpck_require__(32763); +const constants_js_1 = __nccwpck_require__(25097); +const BatchUtils_js_1 = __nccwpck_require__(43985); +const log_js_1 = __nccwpck_require__(11872); const HTTP_HEADER_DELIMITER = ": "; const SPACE_DELIMITER = " "; const NOT_FOUND = -1; @@ -59241,7 +59262,7 @@ exports.BatchResponseParser = BatchResponseParser; /***/ }), -/***/ 66948: +/***/ 43985: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -59250,8 +59271,8 @@ exports.BatchResponseParser = BatchResponseParser; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getBodyAsText = getBodyAsText; exports.utf8ByteLength = utf8ByteLength; -const utils_js_1 = __nccwpck_require__(73170); -const constants_js_1 = __nccwpck_require__(9386); +const utils_js_1 = __nccwpck_require__(63725); +const constants_js_1 = __nccwpck_require__(25097); async function getBodyAsText(batchResponse) { let buffer = Buffer.alloc(constants_js_1.BATCH_MAX_PAYLOAD_IN_BYTES); const responseLength = await (0, utils_js_1.streamToBuffer2)(batchResponse.readableStreamBody, buffer); @@ -59266,7 +59287,7 @@ function utf8ByteLength(str) { /***/ }), -/***/ 27776: +/***/ 17107: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -59278,17 +59299,15 @@ const core_util_1 = __nccwpck_require__(33000); const core_auth_1 = __nccwpck_require__(38401); const core_rest_pipeline_1 = __nccwpck_require__(81591); const core_util_2 = __nccwpck_require__(33000); -const AnonymousCredential_js_1 = __nccwpck_require__(13360); -const Clients_js_1 = __nccwpck_require__(59813); -const Mutex_js_1 = __nccwpck_require__(39948); -const Pipeline_js_1 = __nccwpck_require__(33543); -const utils_common_js_1 = __nccwpck_require__(98915); +const storage_common_1 = __nccwpck_require__(55637); +const Clients_js_1 = __nccwpck_require__(86198); +const Mutex_js_1 = __nccwpck_require__(91903); +const Pipeline_js_1 = __nccwpck_require__(55830); +const utils_common_js_1 = __nccwpck_require__(43542); const core_xml_1 = __nccwpck_require__(64928); -const constants_js_1 = __nccwpck_require__(9386); -const StorageSharedKeyCredential_js_1 = __nccwpck_require__(64220); -const tracing_js_1 = __nccwpck_require__(67985); +const constants_js_1 = __nccwpck_require__(25097); +const tracing_js_1 = __nccwpck_require__(74342); const core_client_1 = __nccwpck_require__(99307); -const StorageSharedKeyCredentialPolicyV2_js_1 = __nccwpck_require__(61154); /** * A BlobBatch represents an aggregated set of operations on blobs. * Currently, only `delete` and `setAccessTier` are supported. @@ -59343,8 +59362,8 @@ class BlobBatch { let url; let credential; if (typeof urlOrBlobClient === "string" && - ((core_util_2.isNodeLike && credentialOrOptions instanceof StorageSharedKeyCredential_js_1.StorageSharedKeyCredential) || - credentialOrOptions instanceof AnonymousCredential_js_1.AnonymousCredential || + ((core_util_2.isNodeLike && credentialOrOptions instanceof storage_common_1.StorageSharedKeyCredential) || + credentialOrOptions instanceof storage_common_1.AnonymousCredential || (0, core_auth_1.isTokenCredential)(credentialOrOptions))) { // First overload url = urlOrBlobClient; @@ -59377,8 +59396,8 @@ class BlobBatch { let credential; let tier; if (typeof urlOrBlobClient === "string" && - ((core_util_2.isNodeLike && credentialOrTier instanceof StorageSharedKeyCredential_js_1.StorageSharedKeyCredential) || - credentialOrTier instanceof AnonymousCredential_js_1.AnonymousCredential || + ((core_util_2.isNodeLike && credentialOrTier instanceof storage_common_1.StorageSharedKeyCredential) || + credentialOrTier instanceof storage_common_1.AnonymousCredential || (0, core_auth_1.isTokenCredential)(credentialOrTier))) { // First overload url = urlOrBlobClient; @@ -59466,8 +59485,8 @@ class InnerBatchRequest { challengeCallbacks: { authorizeRequestOnChallenge: core_client_1.authorizeRequestOnTenantChallenge }, }), { phase: "Sign" }); } - else if (credential instanceof StorageSharedKeyCredential_js_1.StorageSharedKeyCredential) { - corePipeline.addPolicy((0, StorageSharedKeyCredentialPolicyV2_js_1.storageSharedKeyCredentialPolicy)({ + else if (credential instanceof storage_common_1.StorageSharedKeyCredential) { + corePipeline.addPolicy((0, storage_common_1.storageSharedKeyCredentialPolicy)({ accountName: credential.accountName, accountKey: credential.accountKey, }), { phase: "Sign" }); @@ -59552,7 +59571,7 @@ function batchHeaderFilterPolicy() { /***/ }), -/***/ 37683: +/***/ 99808: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -59560,14 +59579,14 @@ function batchHeaderFilterPolicy() { // Licensed under the MIT License. Object.defineProperty(exports, "__esModule", ({ value: true })); exports.BlobBatchClient = void 0; -const BatchResponseParser_js_1 = __nccwpck_require__(20285); -const BatchUtils_js_1 = __nccwpck_require__(66948); -const BlobBatch_js_1 = __nccwpck_require__(27776); -const tracing_js_1 = __nccwpck_require__(67985); -const AnonymousCredential_js_1 = __nccwpck_require__(13360); -const StorageContextClient_js_1 = __nccwpck_require__(64754); -const Pipeline_js_1 = __nccwpck_require__(33543); -const utils_common_js_1 = __nccwpck_require__(98915); +const BatchResponseParser_js_1 = __nccwpck_require__(10226); +const BatchUtils_js_1 = __nccwpck_require__(43985); +const BlobBatch_js_1 = __nccwpck_require__(17107); +const tracing_js_1 = __nccwpck_require__(74342); +const storage_common_1 = __nccwpck_require__(55637); +const StorageContextClient_js_1 = __nccwpck_require__(93275); +const Pipeline_js_1 = __nccwpck_require__(55830); +const utils_common_js_1 = __nccwpck_require__(43542); /** * A BlobBatchClient allows you to make batched requests to the Azure Storage Blob service. * @@ -59585,7 +59604,7 @@ class BlobBatchClient { } else if (!credentialOrPipeline) { // no credential provided - pipeline = (0, Pipeline_js_1.newPipeline)(new AnonymousCredential_js_1.AnonymousCredential(), options); + pipeline = (0, Pipeline_js_1.newPipeline)(new storage_common_1.AnonymousCredential(), options); } else { pipeline = (0, Pipeline_js_1.newPipeline)(credentialOrPipeline, options); @@ -59734,7 +59753,7 @@ exports.BlobBatchClient = BlobBatchClient; /***/ }), -/***/ 83341: +/***/ 42808: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -59743,7 +59762,7 @@ exports.BlobDownloadResponse = void 0; // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. const core_util_1 = __nccwpck_require__(33000); -const RetriableReadableStream_js_1 = __nccwpck_require__(81473); +const RetriableReadableStream_js_1 = __nccwpck_require__(62910); /** * ONLY AVAILABLE IN NODE.JS RUNTIME. * @@ -60209,7 +60228,7 @@ exports.BlobDownloadResponse = BlobDownloadResponse; /***/ }), -/***/ 51029: +/***/ 45050: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -60218,9 +60237,9 @@ exports.BlobDownloadResponse = BlobDownloadResponse; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.BlobLeaseClient = void 0; const core_util_1 = __nccwpck_require__(33000); -const constants_js_1 = __nccwpck_require__(9386); -const tracing_js_1 = __nccwpck_require__(67985); -const utils_common_js_1 = __nccwpck_require__(98915); +const constants_js_1 = __nccwpck_require__(25097); +const tracing_js_1 = __nccwpck_require__(74342); +const utils_common_js_1 = __nccwpck_require__(43542); /** * A client that manages leases for a {@link ContainerClient} or a {@link BlobClient}. */ @@ -60420,7 +60439,7 @@ exports.BlobLeaseClient = BlobLeaseClient; /***/ }), -/***/ 54183: +/***/ 31940: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -60429,7 +60448,7 @@ exports.BlobLeaseClient = BlobLeaseClient; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.BlobQueryResponse = void 0; const core_util_1 = __nccwpck_require__(33000); -const BlobQuickQueryStream_js_1 = __nccwpck_require__(17097); +const BlobQuickQueryStream_js_1 = __nccwpck_require__(55980); /** * ONLY AVAILABLE IN NODE.JS RUNTIME. * @@ -60799,7 +60818,7 @@ exports.BlobQueryResponse = BlobQueryResponse; /***/ }), -/***/ 91352: +/***/ 19671: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -60808,18 +60827,17 @@ exports.BlobServiceClient = void 0; const core_auth_1 = __nccwpck_require__(38401); const core_rest_pipeline_1 = __nccwpck_require__(81591); const core_util_1 = __nccwpck_require__(33000); -const Pipeline_js_1 = __nccwpck_require__(33543); -const ContainerClient_js_1 = __nccwpck_require__(83745); -const utils_common_js_1 = __nccwpck_require__(98915); -const StorageSharedKeyCredential_js_1 = __nccwpck_require__(64220); -const AnonymousCredential_js_1 = __nccwpck_require__(13360); -const utils_common_js_2 = __nccwpck_require__(98915); -const tracing_js_1 = __nccwpck_require__(67985); -const BlobBatchClient_js_1 = __nccwpck_require__(37683); -const StorageClient_js_1 = __nccwpck_require__(84827); -const AccountSASPermissions_js_1 = __nccwpck_require__(56139); -const AccountSASSignatureValues_js_1 = __nccwpck_require__(10319); -const AccountSASServices_js_1 = __nccwpck_require__(89159); +const Pipeline_js_1 = __nccwpck_require__(55830); +const ContainerClient_js_1 = __nccwpck_require__(11798); +const utils_common_js_1 = __nccwpck_require__(43542); +const storage_common_1 = __nccwpck_require__(55637); +const utils_common_js_2 = __nccwpck_require__(43542); +const tracing_js_1 = __nccwpck_require__(74342); +const BlobBatchClient_js_1 = __nccwpck_require__(99808); +const StorageClient_js_1 = __nccwpck_require__(17676); +const AccountSASPermissions_js_1 = __nccwpck_require__(78008); +const AccountSASSignatureValues_js_1 = __nccwpck_require__(10928); +const AccountSASServices_js_1 = __nccwpck_require__(63638); /** * A BlobServiceClient represents a Client to the Azure Storage Blob service allowing you * to manipulate blob containers. @@ -60849,7 +60867,7 @@ class BlobServiceClient extends StorageClient_js_1.StorageClient { const extractedCreds = (0, utils_common_js_1.extractConnectionStringParts)(connectionString); if (extractedCreds.kind === "AccountConnString") { if (core_util_1.isNodeLike) { - const sharedKeyCredential = new StorageSharedKeyCredential_js_1.StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey); + const sharedKeyCredential = new storage_common_1.StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey); if (!options.proxyOptions) { options.proxyOptions = (0, core_rest_pipeline_1.getDefaultProxySettings)(extractedCreds.proxyUri); } @@ -60861,7 +60879,7 @@ class BlobServiceClient extends StorageClient_js_1.StorageClient { } } else if (extractedCreds.kind === "SASConnString") { - const pipeline = (0, Pipeline_js_1.newPipeline)(new AnonymousCredential_js_1.AnonymousCredential(), options); + const pipeline = (0, Pipeline_js_1.newPipeline)(new storage_common_1.AnonymousCredential(), options); return new BlobServiceClient(extractedCreds.url + "?" + extractedCreds.accountSas, pipeline); } else { @@ -60876,14 +60894,14 @@ class BlobServiceClient extends StorageClient_js_1.StorageClient { if ((0, Pipeline_js_1.isPipelineLike)(credentialOrPipeline)) { pipeline = credentialOrPipeline; } - else if ((core_util_1.isNodeLike && credentialOrPipeline instanceof StorageSharedKeyCredential_js_1.StorageSharedKeyCredential) || - credentialOrPipeline instanceof AnonymousCredential_js_1.AnonymousCredential || + else if ((core_util_1.isNodeLike && credentialOrPipeline instanceof storage_common_1.StorageSharedKeyCredential) || + credentialOrPipeline instanceof storage_common_1.AnonymousCredential || (0, core_auth_1.isTokenCredential)(credentialOrPipeline)) { pipeline = (0, Pipeline_js_1.newPipeline)(credentialOrPipeline, options); } else { // The second parameter is undefined. Use anonymous credential - pipeline = (0, Pipeline_js_1.newPipeline)(new AnonymousCredential_js_1.AnonymousCredential(), options); + pipeline = (0, Pipeline_js_1.newPipeline)(new storage_common_1.AnonymousCredential(), options); } super(url, pipeline); this.serviceContext = this.storageClientContext.service; @@ -61460,7 +61478,7 @@ class BlobServiceClient extends StorageClient_js_1.StorageClient { * @returns An account SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token. */ generateAccountSasUrl(expiresOn, permissions = AccountSASPermissions_js_1.AccountSASPermissions.parse("r"), resourceTypes = "sco", options = {}) { - if (!(this.credential instanceof StorageSharedKeyCredential_js_1.StorageSharedKeyCredential)) { + if (!(this.credential instanceof storage_common_1.StorageSharedKeyCredential)) { throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential"); } if (expiresOn === undefined) { @@ -61491,7 +61509,7 @@ class BlobServiceClient extends StorageClient_js_1.StorageClient { * @returns An account SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token. */ generateSasStringToSign(expiresOn, permissions = AccountSASPermissions_js_1.AccountSASPermissions.parse("r"), resourceTypes = "sco", options = {}) { - if (!(this.credential instanceof StorageSharedKeyCredential_js_1.StorageSharedKeyCredential)) { + if (!(this.credential instanceof storage_common_1.StorageSharedKeyCredential)) { throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential"); } if (expiresOn === undefined) { @@ -61512,7 +61530,7 @@ exports.BlobServiceClient = BlobServiceClient; /***/ }), -/***/ 59813: +/***/ 86198: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -61524,24 +61542,23 @@ const core_rest_pipeline_1 = __nccwpck_require__(81591); const core_auth_1 = __nccwpck_require__(38401); const core_util_1 = __nccwpck_require__(33000); const core_util_2 = __nccwpck_require__(33000); -const BlobDownloadResponse_js_1 = __nccwpck_require__(83341); -const BlobQueryResponse_js_1 = __nccwpck_require__(54183); -const AnonymousCredential_js_1 = __nccwpck_require__(13360); -const StorageSharedKeyCredential_js_1 = __nccwpck_require__(64220); -const models_js_1 = __nccwpck_require__(37647); -const PageBlobRangeResponse_js_1 = __nccwpck_require__(50507); -const Pipeline_js_1 = __nccwpck_require__(33543); -const BlobStartCopyFromUrlPoller_js_1 = __nccwpck_require__(22958); -const Range_js_1 = __nccwpck_require__(19456); -const StorageClient_js_1 = __nccwpck_require__(84827); -const Batch_js_1 = __nccwpck_require__(14539); -const storage_common_1 = __nccwpck_require__(13507); -const constants_js_1 = __nccwpck_require__(9386); -const tracing_js_1 = __nccwpck_require__(67985); -const utils_common_js_1 = __nccwpck_require__(98915); -const utils_js_1 = __nccwpck_require__(73170); -const BlobSASSignatureValues_js_1 = __nccwpck_require__(38147); -const BlobLeaseClient_js_1 = __nccwpck_require__(51029); +const BlobDownloadResponse_js_1 = __nccwpck_require__(42808); +const BlobQueryResponse_js_1 = __nccwpck_require__(31940); +const storage_common_1 = __nccwpck_require__(55637); +const models_js_1 = __nccwpck_require__(82834); +const PageBlobRangeResponse_js_1 = __nccwpck_require__(19652); +const Pipeline_js_1 = __nccwpck_require__(55830); +const BlobStartCopyFromUrlPoller_js_1 = __nccwpck_require__(28159); +const Range_js_1 = __nccwpck_require__(62495); +const StorageClient_js_1 = __nccwpck_require__(17676); +const Batch_js_1 = __nccwpck_require__(19988); +const storage_common_2 = __nccwpck_require__(55637); +const constants_js_1 = __nccwpck_require__(25097); +const tracing_js_1 = __nccwpck_require__(74342); +const utils_common_js_1 = __nccwpck_require__(43542); +const utils_js_1 = __nccwpck_require__(63725); +const BlobSASSignatureValues_js_1 = __nccwpck_require__(22794); +const BlobLeaseClient_js_1 = __nccwpck_require__(45050); /** * A BlobClient represents a URL to an Azure Storage blob; the blob may be a block blob, * append blob, or page blob. @@ -61579,8 +61596,8 @@ class BlobClient extends StorageClient_js_1.StorageClient { url = urlOrConnectionString; pipeline = credentialOrPipelineOrContainerName; } - else if ((core_util_1.isNodeLike && credentialOrPipelineOrContainerName instanceof StorageSharedKeyCredential_js_1.StorageSharedKeyCredential) || - credentialOrPipelineOrContainerName instanceof AnonymousCredential_js_1.AnonymousCredential || + else if ((core_util_1.isNodeLike && credentialOrPipelineOrContainerName instanceof storage_common_1.StorageSharedKeyCredential) || + credentialOrPipelineOrContainerName instanceof storage_common_1.AnonymousCredential || (0, core_auth_1.isTokenCredential)(credentialOrPipelineOrContainerName)) { // (url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions) url = urlOrConnectionString; @@ -61595,7 +61612,7 @@ class BlobClient extends StorageClient_js_1.StorageClient { if (blobNameOrOptions && typeof blobNameOrOptions !== "string") { options = blobNameOrOptions; } - pipeline = (0, Pipeline_js_1.newPipeline)(new AnonymousCredential_js_1.AnonymousCredential(), options); + pipeline = (0, Pipeline_js_1.newPipeline)(new storage_common_1.AnonymousCredential(), options); } else if (credentialOrPipelineOrContainerName && typeof credentialOrPipelineOrContainerName === "string" && @@ -61607,7 +61624,7 @@ class BlobClient extends StorageClient_js_1.StorageClient { const extractedCreds = (0, utils_common_js_1.extractConnectionStringParts)(urlOrConnectionString); if (extractedCreds.kind === "AccountConnString") { if (core_util_1.isNodeLike) { - const sharedKeyCredential = new StorageSharedKeyCredential_js_1.StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey); + const sharedKeyCredential = new storage_common_1.StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey); url = (0, utils_common_js_1.appendToURLPath)((0, utils_common_js_1.appendToURLPath)(extractedCreds.url, encodeURIComponent(containerName)), encodeURIComponent(blobName)); if (!options.proxyOptions) { options.proxyOptions = (0, core_rest_pipeline_1.getDefaultProxySettings)(extractedCreds.proxyUri); @@ -61623,7 +61640,7 @@ class BlobClient extends StorageClient_js_1.StorageClient { (0, utils_common_js_1.appendToURLPath)((0, utils_common_js_1.appendToURLPath)(extractedCreds.url, encodeURIComponent(containerName)), encodeURIComponent(blobName)) + "?" + extractedCreds.accountSas; - pipeline = (0, Pipeline_js_1.newPipeline)(new AnonymousCredential_js_1.AnonymousCredential(), options); + pipeline = (0, Pipeline_js_1.newPipeline)(new storage_common_1.AnonymousCredential(), options); } else { throw new Error("Connection string must be either an Account connection string or a SAS connection string"); @@ -62063,6 +62080,7 @@ class BlobClient extends StorageClient_js_1.StorageClient { ...options.conditions, ifTags: options.conditions?.tagConditions, }, + blobModifiedAccessConditions: options.conditions, tracingOptions: updatedOptions.tracingOptions, tags: (0, utils_common_js_1.toBlobTags)(tags), })); @@ -62082,6 +62100,7 @@ class BlobClient extends StorageClient_js_1.StorageClient { ...options.conditions, ifTags: options.conditions?.tagConditions, }, + blobModifiedAccessConditions: options.conditions, tracingOptions: updatedOptions.tracingOptions, })); const wrappedResponse = { @@ -62520,7 +62539,7 @@ class BlobClient extends StorageClient_js_1.StorageClient { */ generateSasUrl(options) { return new Promise((resolve) => { - if (!(this.credential instanceof StorageSharedKeyCredential_js_1.StorageSharedKeyCredential)) { + if (!(this.credential instanceof storage_common_1.StorageSharedKeyCredential)) { throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential"); } const sas = (0, BlobSASSignatureValues_js_1.generateBlobSASQueryParameters)({ @@ -62546,7 +62565,7 @@ class BlobClient extends StorageClient_js_1.StorageClient { */ /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/ generateSasStringToSign(options) { - if (!(this.credential instanceof StorageSharedKeyCredential_js_1.StorageSharedKeyCredential)) { + if (!(this.credential instanceof storage_common_1.StorageSharedKeyCredential)) { throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential"); } return (0, BlobSASSignatureValues_js_1.generateBlobSASQueryParametersInternal)({ @@ -62681,8 +62700,8 @@ class AppendBlobClient extends BlobClient { url = urlOrConnectionString; pipeline = credentialOrPipelineOrContainerName; } - else if ((core_util_1.isNodeLike && credentialOrPipelineOrContainerName instanceof StorageSharedKeyCredential_js_1.StorageSharedKeyCredential) || - credentialOrPipelineOrContainerName instanceof AnonymousCredential_js_1.AnonymousCredential || + else if ((core_util_1.isNodeLike && credentialOrPipelineOrContainerName instanceof storage_common_1.StorageSharedKeyCredential) || + credentialOrPipelineOrContainerName instanceof storage_common_1.AnonymousCredential || (0, core_auth_1.isTokenCredential)(credentialOrPipelineOrContainerName)) { // (url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions) url = urlOrConnectionString; url = urlOrConnectionString; @@ -62694,7 +62713,7 @@ class AppendBlobClient extends BlobClient { // (url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions) url = urlOrConnectionString; // The second parameter is undefined. Use anonymous credential. - pipeline = (0, Pipeline_js_1.newPipeline)(new AnonymousCredential_js_1.AnonymousCredential(), options); + pipeline = (0, Pipeline_js_1.newPipeline)(new storage_common_1.AnonymousCredential(), options); } else if (credentialOrPipelineOrContainerName && typeof credentialOrPipelineOrContainerName === "string" && @@ -62706,7 +62725,7 @@ class AppendBlobClient extends BlobClient { const extractedCreds = (0, utils_common_js_1.extractConnectionStringParts)(urlOrConnectionString); if (extractedCreds.kind === "AccountConnString") { if (core_util_1.isNodeLike) { - const sharedKeyCredential = new StorageSharedKeyCredential_js_1.StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey); + const sharedKeyCredential = new storage_common_1.StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey); url = (0, utils_common_js_1.appendToURLPath)((0, utils_common_js_1.appendToURLPath)(extractedCreds.url, encodeURIComponent(containerName)), encodeURIComponent(blobName)); if (!options.proxyOptions) { options.proxyOptions = (0, core_rest_pipeline_1.getDefaultProxySettings)(extractedCreds.proxyUri); @@ -62722,7 +62741,7 @@ class AppendBlobClient extends BlobClient { (0, utils_common_js_1.appendToURLPath)((0, utils_common_js_1.appendToURLPath)(extractedCreds.url, encodeURIComponent(containerName)), encodeURIComponent(blobName)) + "?" + extractedCreds.accountSas; - pipeline = (0, Pipeline_js_1.newPipeline)(new AnonymousCredential_js_1.AnonymousCredential(), options); + pipeline = (0, Pipeline_js_1.newPipeline)(new storage_common_1.AnonymousCredential(), options); } else { throw new Error("Connection string must be either an Account connection string or a SAS connection string"); @@ -62983,8 +63002,8 @@ class BlockBlobClient extends BlobClient { url = urlOrConnectionString; pipeline = credentialOrPipelineOrContainerName; } - else if ((core_util_1.isNodeLike && credentialOrPipelineOrContainerName instanceof StorageSharedKeyCredential_js_1.StorageSharedKeyCredential) || - credentialOrPipelineOrContainerName instanceof AnonymousCredential_js_1.AnonymousCredential || + else if ((core_util_1.isNodeLike && credentialOrPipelineOrContainerName instanceof storage_common_1.StorageSharedKeyCredential) || + credentialOrPipelineOrContainerName instanceof storage_common_1.AnonymousCredential || (0, core_auth_1.isTokenCredential)(credentialOrPipelineOrContainerName)) { // (url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions) url = urlOrConnectionString; @@ -62999,7 +63018,7 @@ class BlockBlobClient extends BlobClient { if (blobNameOrOptions && typeof blobNameOrOptions !== "string") { options = blobNameOrOptions; } - pipeline = (0, Pipeline_js_1.newPipeline)(new AnonymousCredential_js_1.AnonymousCredential(), options); + pipeline = (0, Pipeline_js_1.newPipeline)(new storage_common_1.AnonymousCredential(), options); } else if (credentialOrPipelineOrContainerName && typeof credentialOrPipelineOrContainerName === "string" && @@ -63011,7 +63030,7 @@ class BlockBlobClient extends BlobClient { const extractedCreds = (0, utils_common_js_1.extractConnectionStringParts)(urlOrConnectionString); if (extractedCreds.kind === "AccountConnString") { if (core_util_1.isNodeLike) { - const sharedKeyCredential = new StorageSharedKeyCredential_js_1.StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey); + const sharedKeyCredential = new storage_common_1.StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey); url = (0, utils_common_js_1.appendToURLPath)((0, utils_common_js_1.appendToURLPath)(extractedCreds.url, encodeURIComponent(containerName)), encodeURIComponent(blobName)); if (!options.proxyOptions) { options.proxyOptions = (0, core_rest_pipeline_1.getDefaultProxySettings)(extractedCreds.proxyUri); @@ -63027,7 +63046,7 @@ class BlockBlobClient extends BlobClient { (0, utils_common_js_1.appendToURLPath)((0, utils_common_js_1.appendToURLPath)(extractedCreds.url, encodeURIComponent(containerName)), encodeURIComponent(blobName)) + "?" + extractedCreds.accountSas; - pipeline = (0, Pipeline_js_1.newPipeline)(new AnonymousCredential_js_1.AnonymousCredential(), options); + pipeline = (0, Pipeline_js_1.newPipeline)(new storage_common_1.AnonymousCredential(), options); } else { throw new Error("Connection string must be either an Account connection string or a SAS connection string"); @@ -63574,7 +63593,7 @@ class BlockBlobClient extends BlobClient { const blockIDPrefix = (0, core_util_2.randomUUID)(); let transferProgress = 0; const blockList = []; - const scheduler = new storage_common_1.BufferScheduler(stream, bufferSize, maxConcurrency, async (body, length) => { + const scheduler = new storage_common_2.BufferScheduler(stream, bufferSize, maxConcurrency, async (body, length) => { const blockID = (0, utils_common_js_1.generateBlockID)(blockIDPrefix, blockNum); blockList.push(blockID); blockNum++; @@ -63626,8 +63645,8 @@ class PageBlobClient extends BlobClient { url = urlOrConnectionString; pipeline = credentialOrPipelineOrContainerName; } - else if ((core_util_1.isNodeLike && credentialOrPipelineOrContainerName instanceof StorageSharedKeyCredential_js_1.StorageSharedKeyCredential) || - credentialOrPipelineOrContainerName instanceof AnonymousCredential_js_1.AnonymousCredential || + else if ((core_util_1.isNodeLike && credentialOrPipelineOrContainerName instanceof storage_common_1.StorageSharedKeyCredential) || + credentialOrPipelineOrContainerName instanceof storage_common_1.AnonymousCredential || (0, core_auth_1.isTokenCredential)(credentialOrPipelineOrContainerName)) { // (url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions) url = urlOrConnectionString; @@ -63639,7 +63658,7 @@ class PageBlobClient extends BlobClient { // (url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions) // The second parameter is undefined. Use anonymous credential. url = urlOrConnectionString; - pipeline = (0, Pipeline_js_1.newPipeline)(new AnonymousCredential_js_1.AnonymousCredential(), options); + pipeline = (0, Pipeline_js_1.newPipeline)(new storage_common_1.AnonymousCredential(), options); } else if (credentialOrPipelineOrContainerName && typeof credentialOrPipelineOrContainerName === "string" && @@ -63651,7 +63670,7 @@ class PageBlobClient extends BlobClient { const extractedCreds = (0, utils_common_js_1.extractConnectionStringParts)(urlOrConnectionString); if (extractedCreds.kind === "AccountConnString") { if (core_util_1.isNodeLike) { - const sharedKeyCredential = new StorageSharedKeyCredential_js_1.StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey); + const sharedKeyCredential = new storage_common_1.StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey); url = (0, utils_common_js_1.appendToURLPath)((0, utils_common_js_1.appendToURLPath)(extractedCreds.url, encodeURIComponent(containerName)), encodeURIComponent(blobName)); if (!options.proxyOptions) { options.proxyOptions = (0, core_rest_pipeline_1.getDefaultProxySettings)(extractedCreds.proxyUri); @@ -63667,7 +63686,7 @@ class PageBlobClient extends BlobClient { (0, utils_common_js_1.appendToURLPath)((0, utils_common_js_1.appendToURLPath)(extractedCreds.url, encodeURIComponent(containerName)), encodeURIComponent(blobName)) + "?" + extractedCreds.accountSas; - pipeline = (0, Pipeline_js_1.newPipeline)(new AnonymousCredential_js_1.AnonymousCredential(), options); + pipeline = (0, Pipeline_js_1.newPipeline)(new storage_common_1.AnonymousCredential(), options); } else { throw new Error("Connection string must be either an Account connection string or a SAS connection string"); @@ -64369,7 +64388,7 @@ exports.PageBlobClient = PageBlobClient; /***/ }), -/***/ 83745: +/***/ 11798: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -64378,16 +64397,15 @@ exports.ContainerClient = void 0; const core_rest_pipeline_1 = __nccwpck_require__(81591); const core_util_1 = __nccwpck_require__(33000); const core_auth_1 = __nccwpck_require__(38401); -const AnonymousCredential_js_1 = __nccwpck_require__(13360); -const StorageSharedKeyCredential_js_1 = __nccwpck_require__(64220); -const Pipeline_js_1 = __nccwpck_require__(33543); -const StorageClient_js_1 = __nccwpck_require__(84827); -const tracing_js_1 = __nccwpck_require__(67985); -const utils_common_js_1 = __nccwpck_require__(98915); -const BlobSASSignatureValues_js_1 = __nccwpck_require__(38147); -const BlobLeaseClient_js_1 = __nccwpck_require__(51029); -const Clients_js_1 = __nccwpck_require__(59813); -const BlobBatchClient_js_1 = __nccwpck_require__(37683); +const storage_common_1 = __nccwpck_require__(55637); +const Pipeline_js_1 = __nccwpck_require__(55830); +const StorageClient_js_1 = __nccwpck_require__(17676); +const tracing_js_1 = __nccwpck_require__(74342); +const utils_common_js_1 = __nccwpck_require__(43542); +const BlobSASSignatureValues_js_1 = __nccwpck_require__(22794); +const BlobLeaseClient_js_1 = __nccwpck_require__(45050); +const Clients_js_1 = __nccwpck_require__(86198); +const BlobBatchClient_js_1 = __nccwpck_require__(99808); /** * A ContainerClient represents a URL to the Azure Storage container allowing you to manipulate its blobs. */ @@ -64415,8 +64433,8 @@ class ContainerClient extends StorageClient_js_1.StorageClient { url = urlOrConnectionString; pipeline = credentialOrPipelineOrContainerName; } - else if ((core_util_1.isNodeLike && credentialOrPipelineOrContainerName instanceof StorageSharedKeyCredential_js_1.StorageSharedKeyCredential) || - credentialOrPipelineOrContainerName instanceof AnonymousCredential_js_1.AnonymousCredential || + else if ((core_util_1.isNodeLike && credentialOrPipelineOrContainerName instanceof storage_common_1.StorageSharedKeyCredential) || + credentialOrPipelineOrContainerName instanceof storage_common_1.AnonymousCredential || (0, core_auth_1.isTokenCredential)(credentialOrPipelineOrContainerName)) { // (url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions) url = urlOrConnectionString; @@ -64427,7 +64445,7 @@ class ContainerClient extends StorageClient_js_1.StorageClient { // (url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions) // The second parameter is undefined. Use anonymous credential. url = urlOrConnectionString; - pipeline = (0, Pipeline_js_1.newPipeline)(new AnonymousCredential_js_1.AnonymousCredential(), options); + pipeline = (0, Pipeline_js_1.newPipeline)(new storage_common_1.AnonymousCredential(), options); } else if (credentialOrPipelineOrContainerName && typeof credentialOrPipelineOrContainerName === "string") { @@ -64436,7 +64454,7 @@ class ContainerClient extends StorageClient_js_1.StorageClient { const extractedCreds = (0, utils_common_js_1.extractConnectionStringParts)(urlOrConnectionString); if (extractedCreds.kind === "AccountConnString") { if (core_util_1.isNodeLike) { - const sharedKeyCredential = new StorageSharedKeyCredential_js_1.StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey); + const sharedKeyCredential = new storage_common_1.StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey); url = (0, utils_common_js_1.appendToURLPath)(extractedCreds.url, encodeURIComponent(containerName)); if (!options.proxyOptions) { options.proxyOptions = (0, core_rest_pipeline_1.getDefaultProxySettings)(extractedCreds.proxyUri); @@ -64452,7 +64470,7 @@ class ContainerClient extends StorageClient_js_1.StorageClient { (0, utils_common_js_1.appendToURLPath)(extractedCreds.url, encodeURIComponent(containerName)) + "?" + extractedCreds.accountSas; - pipeline = (0, Pipeline_js_1.newPipeline)(new AnonymousCredential_js_1.AnonymousCredential(), options); + pipeline = (0, Pipeline_js_1.newPipeline)(new storage_common_1.AnonymousCredential(), options); } else { throw new Error("Connection string must be either an Account connection string or a SAS connection string"); @@ -65591,7 +65609,7 @@ class ContainerClient extends StorageClient_js_1.StorageClient { */ generateSasUrl(options) { return new Promise((resolve) => { - if (!(this.credential instanceof StorageSharedKeyCredential_js_1.StorageSharedKeyCredential)) { + if (!(this.credential instanceof storage_common_1.StorageSharedKeyCredential)) { throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential"); } const sas = (0, BlobSASSignatureValues_js_1.generateBlobSASQueryParameters)({ @@ -65614,7 +65632,7 @@ class ContainerClient extends StorageClient_js_1.StorageClient { */ /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/ generateSasStringToSign(options) { - if (!(this.credential instanceof StorageSharedKeyCredential_js_1.StorageSharedKeyCredential)) { + if (!(this.credential instanceof storage_common_1.StorageSharedKeyCredential)) { throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential"); } return (0, BlobSASSignatureValues_js_1.generateBlobSASQueryParametersInternal)({ @@ -65673,7 +65691,7 @@ exports.ContainerClient = ContainerClient; /***/ }), -/***/ 50507: +/***/ 19652: /***/ ((__unused_webpack_module, exports) => { @@ -65713,7 +65731,7 @@ function rangeResponseFromModel(response) { /***/ }), -/***/ 33543: +/***/ 55830: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -65730,18 +65748,10 @@ const core_rest_pipeline_1 = __nccwpck_require__(81591); const core_client_1 = __nccwpck_require__(99307); const core_xml_1 = __nccwpck_require__(64928); const core_auth_1 = __nccwpck_require__(38401); -const log_js_1 = __nccwpck_require__(32763); -const StorageRetryPolicyFactory_js_1 = __nccwpck_require__(64574); -const StorageSharedKeyCredential_js_1 = __nccwpck_require__(64220); -const AnonymousCredential_js_1 = __nccwpck_require__(13360); -const constants_js_1 = __nccwpck_require__(9386); +const log_js_1 = __nccwpck_require__(11872); +const storage_common_1 = __nccwpck_require__(55637); +const constants_js_1 = __nccwpck_require__(25097); Object.defineProperty(exports, "StorageOAuthScopes", ({ enumerable: true, get: function () { return constants_js_1.StorageOAuthScopes; } })); -const storage_common_1 = __nccwpck_require__(13507); -const StorageBrowserPolicyV2_js_1 = __nccwpck_require__(12391); -const StorageRetryPolicyV2_js_1 = __nccwpck_require__(46221); -const StorageSharedKeyCredentialPolicyV2_js_1 = __nccwpck_require__(61154); -const StorageBrowserPolicyFactory_js_1 = __nccwpck_require__(92156); -const StorageCorrectContentLengthPolicy_js_1 = __nccwpck_require__(77348); /** * A helper to decide if a given argument satisfies the Pipeline contract * @param pipeline - An argument that may be a Pipeline @@ -65806,7 +65816,7 @@ exports.Pipeline = Pipeline; */ function newPipeline(credential, pipelineOptions = {}) { if (!credential) { - credential = new AnonymousCredential_js_1.AnonymousCredential(); + credential = new storage_common_1.AnonymousCredential(); } const pipeline = new Pipeline([], pipelineOptions); pipeline._credential = credential; @@ -65883,10 +65893,10 @@ function getCoreClientOptions(pipeline) { }); corePipeline.removePolicy({ phase: "Retry" }); corePipeline.removePolicy({ name: core_rest_pipeline_1.decompressResponsePolicyName }); - corePipeline.addPolicy((0, StorageCorrectContentLengthPolicy_js_1.storageCorrectContentLengthPolicy)()); - corePipeline.addPolicy((0, StorageRetryPolicyV2_js_1.storageRetryPolicy)(restOptions.retryOptions), { phase: "Retry" }); + corePipeline.addPolicy((0, storage_common_1.storageCorrectContentLengthPolicy)()); + corePipeline.addPolicy((0, storage_common_1.storageRetryPolicy)(restOptions.retryOptions), { phase: "Retry" }); corePipeline.addPolicy((0, storage_common_1.storageRequestFailureDetailsParserPolicy)()); - corePipeline.addPolicy((0, StorageBrowserPolicyV2_js_1.storageBrowserPolicy)()); + corePipeline.addPolicy((0, storage_common_1.storageBrowserPolicy)()); const downlevelResults = processDownlevelPipeline(pipeline); if (downlevelResults) { corePipeline.addPolicy(downlevelResults.wrappedPolicies, downlevelResults.afterRetry ? { afterPhase: "Retry" } : undefined); @@ -65899,8 +65909,8 @@ function getCoreClientOptions(pipeline) { challengeCallbacks: { authorizeRequestOnChallenge: core_client_1.authorizeRequestOnTenantChallenge }, }), { phase: "Sign" }); } - else if (credential instanceof StorageSharedKeyCredential_js_1.StorageSharedKeyCredential) { - corePipeline.addPolicy((0, StorageSharedKeyCredentialPolicyV2_js_1.storageSharedKeyCredentialPolicy)({ + else if (credential instanceof storage_common_1.StorageSharedKeyCredential) { + corePipeline.addPolicy((0, storage_common_1.storageSharedKeyCredentialPolicy)({ accountName: credential.accountName, accountKey: credential.accountKey, }), { phase: "Sign" }); @@ -65920,7 +65930,7 @@ function getCredentialFromPipeline(pipeline) { return pipeline._credential; } // if it came from another package, loop over the factories and look for one like before - let credential = new AnonymousCredential_js_1.AnonymousCredential(); + let credential = new storage_common_1.AnonymousCredential(); for (const factory of pipeline.factories) { if ((0, core_auth_1.isTokenCredential)(factory.credential)) { // Only works if the factory has been attached a "credential" property. @@ -65934,13 +65944,13 @@ function getCredentialFromPipeline(pipeline) { return credential; } function isStorageSharedKeyCredential(factory) { - if (factory instanceof StorageSharedKeyCredential_js_1.StorageSharedKeyCredential) { + if (factory instanceof storage_common_1.StorageSharedKeyCredential) { return true; } return factory.constructor.name === "StorageSharedKeyCredential"; } function isAnonymousCredential(factory) { - if (factory instanceof AnonymousCredential_js_1.AnonymousCredential) { + if (factory instanceof storage_common_1.AnonymousCredential) { return true; } return factory.constructor.name === "AnonymousCredential"; @@ -65949,13 +65959,13 @@ function isCoreHttpBearerTokenFactory(factory) { return (0, core_auth_1.isTokenCredential)(factory.credential); } function isStorageBrowserPolicyFactory(factory) { - if (factory instanceof StorageBrowserPolicyFactory_js_1.StorageBrowserPolicyFactory) { + if (factory instanceof storage_common_1.StorageBrowserPolicyFactory) { return true; } return factory.constructor.name === "StorageBrowserPolicyFactory"; } function isStorageRetryPolicyFactory(factory) { - if (factory instanceof StorageRetryPolicyFactory_js_1.StorageRetryPolicyFactory) { + if (factory instanceof storage_common_1.StorageRetryPolicyFactory) { return true; } return factory.constructor.name === "StorageRetryPolicyFactory"; @@ -66004,7 +66014,7 @@ function isCoreHttpPolicyFactory(factory) { /***/ }), -/***/ 19456: +/***/ 62495: /***/ ((__unused_webpack_module, exports) => { @@ -66034,36 +66044,7 @@ function rangeToString(iRange) { /***/ }), -/***/ 92156: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.StorageBrowserPolicyFactory = exports.StorageBrowserPolicy = void 0; -const StorageBrowserPolicy_js_1 = __nccwpck_require__(66687); -Object.defineProperty(exports, "StorageBrowserPolicy", ({ enumerable: true, get: function () { return StorageBrowserPolicy_js_1.StorageBrowserPolicy; } })); -/** - * StorageBrowserPolicyFactory is a factory class helping generating StorageBrowserPolicy objects. - */ -class StorageBrowserPolicyFactory { - /** - * Creates a StorageBrowserPolicyFactory object. - * - * @param nextPolicy - - * @param options - - */ - create(nextPolicy, options) { - return new StorageBrowserPolicy_js_1.StorageBrowserPolicy(nextPolicy, options); - } -} -exports.StorageBrowserPolicyFactory = StorageBrowserPolicyFactory; -//# sourceMappingURL=StorageBrowserPolicyFactory.js.map - -/***/ }), - -/***/ 84827: +/***/ 17676: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -66071,9 +66052,9 @@ exports.StorageBrowserPolicyFactory = StorageBrowserPolicyFactory; // Licensed under the MIT License. Object.defineProperty(exports, "__esModule", ({ value: true })); exports.StorageClient = void 0; -const StorageContextClient_js_1 = __nccwpck_require__(64754); -const Pipeline_js_1 = __nccwpck_require__(33543); -const utils_common_js_1 = __nccwpck_require__(98915); +const StorageContextClient_js_1 = __nccwpck_require__(93275); +const Pipeline_js_1 = __nccwpck_require__(55830); +const utils_common_js_1 = __nccwpck_require__(43542); /** * A StorageClient represents a based URL class for {@link BlobServiceClient}, {@link ContainerClient} * and etc. @@ -66125,7 +66106,7 @@ exports.StorageClient = StorageClient; /***/ }), -/***/ 64754: +/***/ 93275: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -66133,7 +66114,7 @@ exports.StorageClient = StorageClient; // Licensed under the MIT License. Object.defineProperty(exports, "__esModule", ({ value: true })); exports.StorageContextClient = void 0; -const index_js_1 = __nccwpck_require__(76546); +const index_js_1 = __nccwpck_require__(42785); /** * @internal */ @@ -66152,217 +66133,7 @@ exports.StorageContextClient = StorageContextClient; /***/ }), -/***/ 64574: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.StorageRetryPolicyFactory = exports.StorageRetryPolicy = exports.StorageRetryPolicyType = void 0; -const StorageRetryPolicy_js_1 = __nccwpck_require__(21613); -Object.defineProperty(exports, "StorageRetryPolicy", ({ enumerable: true, get: function () { return StorageRetryPolicy_js_1.StorageRetryPolicy; } })); -const StorageRetryPolicyType_js_1 = __nccwpck_require__(26941); -Object.defineProperty(exports, "StorageRetryPolicyType", ({ enumerable: true, get: function () { return StorageRetryPolicyType_js_1.StorageRetryPolicyType; } })); -/** - * StorageRetryPolicyFactory is a factory class helping generating {@link StorageRetryPolicy} objects. - */ -class StorageRetryPolicyFactory { - retryOptions; - /** - * Creates an instance of StorageRetryPolicyFactory. - * @param retryOptions - - */ - constructor(retryOptions) { - this.retryOptions = retryOptions; - } - /** - * Creates a StorageRetryPolicy object. - * - * @param nextPolicy - - * @param options - - */ - create(nextPolicy, options) { - return new StorageRetryPolicy_js_1.StorageRetryPolicy(nextPolicy, options, this.retryOptions); - } -} -exports.StorageRetryPolicyFactory = StorageRetryPolicyFactory; -//# sourceMappingURL=StorageRetryPolicyFactory.js.map - -/***/ }), - -/***/ 13360: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.AnonymousCredential = void 0; -const AnonymousCredentialPolicy_js_1 = __nccwpck_require__(74090); -const Credential_js_1 = __nccwpck_require__(44175); -/** - * AnonymousCredential provides a credentialPolicyCreator member used to create - * AnonymousCredentialPolicy objects. AnonymousCredentialPolicy is used with - * HTTP(S) requests that read public resources or for use with Shared Access - * Signatures (SAS). - */ -class AnonymousCredential extends Credential_js_1.Credential { - /** - * Creates an {@link AnonymousCredentialPolicy} object. - * - * @param nextPolicy - - * @param options - - */ - create(nextPolicy, options) { - return new AnonymousCredentialPolicy_js_1.AnonymousCredentialPolicy(nextPolicy, options); - } -} -exports.AnonymousCredential = AnonymousCredential; -//# sourceMappingURL=AnonymousCredential.js.map - -/***/ }), - -/***/ 44175: -/***/ ((__unused_webpack_module, exports) => { - - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.Credential = void 0; -/** - * Credential is an abstract class for Azure Storage HTTP requests signing. This - * class will host an credentialPolicyCreator factory which generates CredentialPolicy. - */ -class Credential { - /** - * Creates a RequestPolicy object. - * - * @param _nextPolicy - - * @param _options - - */ - create(_nextPolicy, _options) { - throw new Error("Method should be implemented in children classes."); - } -} -exports.Credential = Credential; -//# sourceMappingURL=Credential.js.map - -/***/ }), - -/***/ 64220: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.StorageSharedKeyCredential = void 0; -const node_crypto_1 = __nccwpck_require__(77598); -const StorageSharedKeyCredentialPolicy_js_1 = __nccwpck_require__(47318); -const Credential_js_1 = __nccwpck_require__(44175); -/** - * ONLY AVAILABLE IN NODE.JS RUNTIME. - * - * StorageSharedKeyCredential for account key authorization of Azure Storage service. - */ -class StorageSharedKeyCredential extends Credential_js_1.Credential { - /** - * Azure Storage account name; readonly. - */ - accountName; - /** - * Azure Storage account key; readonly. - */ - accountKey; - /** - * Creates an instance of StorageSharedKeyCredential. - * @param accountName - - * @param accountKey - - */ - constructor(accountName, accountKey) { - super(); - this.accountName = accountName; - this.accountKey = Buffer.from(accountKey, "base64"); - } - /** - * Creates a StorageSharedKeyCredentialPolicy object. - * - * @param nextPolicy - - * @param options - - */ - create(nextPolicy, options) { - return new StorageSharedKeyCredentialPolicy_js_1.StorageSharedKeyCredentialPolicy(nextPolicy, options, this); - } - /** - * Generates a hash signature for an HTTP request or for a SAS. - * - * @param stringToSign - - */ - computeHMACSHA256(stringToSign) { - return (0, node_crypto_1.createHmac)("sha256", this.accountKey).update(stringToSign, "utf8").digest("base64"); - } -} -exports.StorageSharedKeyCredential = StorageSharedKeyCredential; -//# sourceMappingURL=StorageSharedKeyCredential.js.map - -/***/ }), - -/***/ 20061: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.UserDelegationKeyCredential = void 0; -const node_crypto_1 = __nccwpck_require__(77598); -/** - * ONLY AVAILABLE IN NODE.JS RUNTIME. - * - * UserDelegationKeyCredential is only used for generation of user delegation SAS. - * @see https://learn.microsoft.com/rest/api/storageservices/create-user-delegation-sas - */ -class UserDelegationKeyCredential { - /** - * Azure Storage account name; readonly. - */ - accountName; - /** - * Azure Storage user delegation key; readonly. - */ - userDelegationKey; - /** - * Key value in Buffer type. - */ - key; - /** - * Creates an instance of UserDelegationKeyCredential. - * @param accountName - - * @param userDelegationKey - - */ - constructor(accountName, userDelegationKey) { - this.accountName = accountName; - this.userDelegationKey = userDelegationKey; - this.key = Buffer.from(userDelegationKey.value, "base64"); - } - /** - * Generates a hash signature for an HTTP request or for a SAS. - * - * @param stringToSign - - */ - computeHMACSHA256(stringToSign) { - // console.log(`stringToSign: ${JSON.stringify(stringToSign)}`); - return (0, node_crypto_1.createHmac)("sha256", this.key).update(stringToSign, "utf8").digest("base64"); - } -} -exports.UserDelegationKeyCredential = UserDelegationKeyCredential; -//# sourceMappingURL=UserDelegationKeyCredential.js.map - -/***/ }), - -/***/ 76546: +/***/ 42785: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -66376,15 +66147,15 @@ exports.UserDelegationKeyCredential = UserDelegationKeyCredential; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.StorageClient = void 0; const tslib_1 = __nccwpck_require__(67892); -tslib_1.__exportStar(__nccwpck_require__(93433), exports); -var storageClient_js_1 = __nccwpck_require__(36244); +tslib_1.__exportStar(__nccwpck_require__(82716), exports); +var storageClient_js_1 = __nccwpck_require__(54447); Object.defineProperty(exports, "StorageClient", ({ enumerable: true, get: function () { return storageClient_js_1.StorageClient; } })); -tslib_1.__exportStar(__nccwpck_require__(52597), exports); +tslib_1.__exportStar(__nccwpck_require__(71396), exports); //# sourceMappingURL=index.js.map /***/ }), -/***/ 93433: +/***/ 82716: /***/ ((__unused_webpack_module, exports) => { @@ -66657,7 +66428,7 @@ var KnownStorageErrorCode; /***/ }), -/***/ 41423: +/***/ 76462: /***/ ((__unused_webpack_module, exports) => { @@ -74999,7 +74770,7 @@ exports.BlockBlobGetBlockListExceptionHeaders = { /***/ }), -/***/ 23469: +/***/ 17902: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -75012,9 +74783,9 @@ exports.BlockBlobGetBlockListExceptionHeaders = { */ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.action3 = exports.action2 = exports.leaseId1 = exports.action1 = exports.proposedLeaseId = exports.duration = exports.action = exports.comp10 = exports.sourceLeaseId = exports.sourceContainerName = exports.comp9 = exports.deletedContainerVersion = exports.deletedContainerName = exports.comp8 = exports.containerAcl = exports.comp7 = exports.comp6 = exports.ifUnmodifiedSince = exports.ifModifiedSince = exports.leaseId = exports.preventEncryptionScopeOverride = exports.defaultEncryptionScope = exports.access = exports.metadata = exports.restype2 = exports.where = exports.comp5 = exports.multipartContentType = exports.contentLength = exports.comp4 = exports.body = exports.restype1 = exports.comp3 = exports.keyInfo = exports.include = exports.maxPageSize = exports.marker = exports.prefix = exports.comp2 = exports.comp1 = exports.accept1 = exports.requestId = exports.version = exports.timeoutInSeconds = exports.comp = exports.restype = exports.url = exports.accept = exports.blobServiceProperties = exports.contentType = void 0; -exports.fileRequestIntent = exports.copySourceTags = exports.copySourceAuthorization = exports.sourceContentMD5 = exports.xMsRequiresSync = exports.legalHold1 = exports.sealBlob = exports.blobTagsString = exports.copySource = exports.sourceIfTags = exports.sourceIfNoneMatch = exports.sourceIfMatch = exports.sourceIfUnmodifiedSince = exports.sourceIfModifiedSince = exports.rehydratePriority = exports.tier = exports.comp14 = exports.encryptionScope = exports.legalHold = exports.comp13 = exports.immutabilityPolicyMode = exports.immutabilityPolicyExpiry = exports.comp12 = exports.blobContentDisposition = exports.blobContentLanguage = exports.blobContentEncoding = exports.blobContentMD5 = exports.blobContentType = exports.blobCacheControl = exports.expiresOn = exports.expiryOptions = exports.comp11 = exports.blobDeleteType = exports.deleteSnapshots = exports.ifTags = exports.ifNoneMatch = exports.ifMatch = exports.encryptionAlgorithm = exports.encryptionKeySha256 = exports.encryptionKey = exports.rangeGetContentCRC64 = exports.rangeGetContentMD5 = exports.range = exports.versionId = exports.snapshot = exports.delimiter = exports.include1 = exports.proposedLeaseId1 = exports.action4 = exports.breakPeriod = void 0; -exports.listType = exports.comp25 = exports.blocks = exports.blockId = exports.comp24 = exports.copySourceBlobProperties = exports.blobType2 = exports.comp23 = exports.sourceRange1 = exports.appendPosition = exports.maxSize = exports.comp22 = exports.blobType1 = exports.comp21 = exports.sequenceNumberAction = exports.prevSnapshotUrl = exports.prevsnapshot = exports.comp20 = exports.range1 = exports.sourceContentCrc64 = exports.sourceRange = exports.sourceUrl = exports.pageWrite1 = exports.ifSequenceNumberEqualTo = exports.ifSequenceNumberLessThan = exports.ifSequenceNumberLessThanOrEqualTo = exports.pageWrite = exports.comp19 = exports.accept2 = exports.body1 = exports.contentType1 = exports.blobSequenceNumber = exports.blobContentLength = exports.blobType = exports.transactionalContentCrc64 = exports.transactionalContentMD5 = exports.tags = exports.comp18 = exports.comp17 = exports.queryRequest = exports.tier1 = exports.comp16 = exports.copyId = exports.copyActionAbortConstant = exports.comp15 = void 0; -const mappers_js_1 = __nccwpck_require__(41423); +exports.copySourceTags = exports.copySourceAuthorization = exports.sourceContentMD5 = exports.xMsRequiresSync = exports.legalHold1 = exports.sealBlob = exports.blobTagsString = exports.copySource = exports.sourceIfTags = exports.sourceIfNoneMatch = exports.sourceIfMatch = exports.sourceIfUnmodifiedSince = exports.sourceIfModifiedSince = exports.rehydratePriority = exports.tier = exports.comp14 = exports.encryptionScope = exports.legalHold = exports.comp13 = exports.immutabilityPolicyMode = exports.immutabilityPolicyExpiry = exports.comp12 = exports.blobContentDisposition = exports.blobContentLanguage = exports.blobContentEncoding = exports.blobContentMD5 = exports.blobContentType = exports.blobCacheControl = exports.expiresOn = exports.expiryOptions = exports.comp11 = exports.blobDeleteType = exports.deleteSnapshots = exports.ifTags = exports.ifNoneMatch = exports.ifMatch = exports.encryptionAlgorithm = exports.encryptionKeySha256 = exports.encryptionKey = exports.rangeGetContentCRC64 = exports.rangeGetContentMD5 = exports.range = exports.versionId = exports.snapshot = exports.delimiter = exports.startFrom = exports.include1 = exports.proposedLeaseId1 = exports.action4 = exports.breakPeriod = void 0; +exports.listType = exports.comp25 = exports.blocks = exports.blockId = exports.comp24 = exports.copySourceBlobProperties = exports.blobType2 = exports.comp23 = exports.sourceRange1 = exports.appendPosition = exports.maxSize = exports.comp22 = exports.blobType1 = exports.comp21 = exports.sequenceNumberAction = exports.prevSnapshotUrl = exports.prevsnapshot = exports.comp20 = exports.range1 = exports.sourceContentCrc64 = exports.sourceRange = exports.sourceUrl = exports.pageWrite1 = exports.ifSequenceNumberEqualTo = exports.ifSequenceNumberLessThan = exports.ifSequenceNumberLessThanOrEqualTo = exports.pageWrite = exports.comp19 = exports.accept2 = exports.body1 = exports.contentType1 = exports.blobSequenceNumber = exports.blobContentLength = exports.blobType = exports.transactionalContentCrc64 = exports.transactionalContentMD5 = exports.tags = exports.ifNoneMatch1 = exports.ifMatch1 = exports.ifUnmodifiedSince1 = exports.ifModifiedSince1 = exports.comp18 = exports.comp17 = exports.queryRequest = exports.tier1 = exports.comp16 = exports.copyId = exports.copyActionAbortConstant = exports.comp15 = exports.fileRequestIntent = void 0; +const mappers_js_1 = __nccwpck_require__(76462); exports.contentType = { parameterPath: ["options", "contentType"], mapper: { @@ -75091,7 +74862,7 @@ exports.timeoutInSeconds = { exports.version = { parameterPath: "version", mapper: { - defaultValue: "2025-11-05", + defaultValue: "2026-02-06", isConstant: true, serializedName: "x-ms-version", type: { @@ -75626,6 +75397,16 @@ exports.include1 = { }, collectionFormat: "CSV", }; +exports.startFrom = { + parameterPath: ["options", "startFrom"], + mapper: { + serializedName: "startFrom", + xmlName: "startFrom", + type: { + name: "String", + }, + }, +}; exports.delimiter = { parameterPath: "delimiter", mapper: { @@ -76226,6 +76007,50 @@ exports.comp18 = { }, }, }; +exports.ifModifiedSince1 = { + parameterPath: ["options", "blobModifiedAccessConditions", "ifModifiedSince"], + mapper: { + serializedName: "x-ms-blob-if-modified-since", + xmlName: "x-ms-blob-if-modified-since", + type: { + name: "DateTimeRfc1123", + }, + }, +}; +exports.ifUnmodifiedSince1 = { + parameterPath: [ + "options", + "blobModifiedAccessConditions", + "ifUnmodifiedSince", + ], + mapper: { + serializedName: "x-ms-blob-if-unmodified-since", + xmlName: "x-ms-blob-if-unmodified-since", + type: { + name: "DateTimeRfc1123", + }, + }, +}; +exports.ifMatch1 = { + parameterPath: ["options", "blobModifiedAccessConditions", "ifMatch"], + mapper: { + serializedName: "x-ms-blob-if-match", + xmlName: "x-ms-blob-if-match", + type: { + name: "String", + }, + }, +}; +exports.ifNoneMatch1 = { + parameterPath: ["options", "blobModifiedAccessConditions", "ifNoneMatch"], + mapper: { + serializedName: "x-ms-blob-if-none-match", + xmlName: "x-ms-blob-if-none-match", + type: { + name: "String", + }, + }, +}; exports.tags = { parameterPath: ["options", "tags"], mapper: mappers_js_1.BlobTags, @@ -76630,7 +76455,7 @@ exports.listType = { /***/ }), -/***/ 74910: +/***/ 44789: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -76645,8 +76470,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.AppendBlobImpl = void 0; const tslib_1 = __nccwpck_require__(67892); const coreClient = tslib_1.__importStar(__nccwpck_require__(99307)); -const Mappers = tslib_1.__importStar(__nccwpck_require__(41423)); -const Parameters = tslib_1.__importStar(__nccwpck_require__(23469)); +const Mappers = tslib_1.__importStar(__nccwpck_require__(76462)); +const Parameters = tslib_1.__importStar(__nccwpck_require__(17902)); /** Class containing AppendBlob operations. */ class AppendBlobImpl { client; @@ -76864,7 +76689,7 @@ const sealOperationSpec = { /***/ }), -/***/ 83354: +/***/ 24289: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -76879,8 +76704,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.BlobImpl = void 0; const tslib_1 = __nccwpck_require__(67892); const coreClient = tslib_1.__importStar(__nccwpck_require__(99307)); -const Mappers = tslib_1.__importStar(__nccwpck_require__(41423)); -const Parameters = tslib_1.__importStar(__nccwpck_require__(23469)); +const Mappers = tslib_1.__importStar(__nccwpck_require__(76462)); +const Parameters = tslib_1.__importStar(__nccwpck_require__(17902)); /** Class containing Blob operations. */ class BlobImpl { client; @@ -77855,6 +77680,10 @@ const getTagsOperationSpec = { Parameters.accept1, Parameters.leaseId, Parameters.ifTags, + Parameters.ifModifiedSince1, + Parameters.ifUnmodifiedSince1, + Parameters.ifMatch1, + Parameters.ifNoneMatch1, ], isXML: true, serializer: xmlSerializer, @@ -77885,6 +77714,10 @@ const setTagsOperationSpec = { Parameters.requestId, Parameters.leaseId, Parameters.ifTags, + Parameters.ifModifiedSince1, + Parameters.ifUnmodifiedSince1, + Parameters.ifMatch1, + Parameters.ifNoneMatch1, Parameters.transactionalContentMD5, Parameters.transactionalContentCrc64, ], @@ -77897,7 +77730,7 @@ const setTagsOperationSpec = { /***/ }), -/***/ 99231: +/***/ 84118: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -77912,8 +77745,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.BlockBlobImpl = void 0; const tslib_1 = __nccwpck_require__(67892); const coreClient = tslib_1.__importStar(__nccwpck_require__(99307)); -const Mappers = tslib_1.__importStar(__nccwpck_require__(41423)); -const Parameters = tslib_1.__importStar(__nccwpck_require__(23469)); +const Mappers = tslib_1.__importStar(__nccwpck_require__(76462)); +const Parameters = tslib_1.__importStar(__nccwpck_require__(17902)); /** Class containing BlockBlob operations. */ class BlockBlobImpl { client; @@ -78276,7 +78109,7 @@ const getBlockListOperationSpec = { /***/ }), -/***/ 80402: +/***/ 35819: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -78291,8 +78124,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.ContainerImpl = void 0; const tslib_1 = __nccwpck_require__(67892); const coreClient = tslib_1.__importStar(__nccwpck_require__(99307)); -const Mappers = tslib_1.__importStar(__nccwpck_require__(41423)); -const Parameters = tslib_1.__importStar(__nccwpck_require__(23469)); +const Mappers = tslib_1.__importStar(__nccwpck_require__(76462)); +const Parameters = tslib_1.__importStar(__nccwpck_require__(17902)); /** Class containing Container operations. */ class ContainerImpl { client; @@ -78929,6 +78762,7 @@ const listBlobFlatSegmentOperationSpec = { Parameters.maxPageSize, Parameters.restype2, Parameters.include1, + Parameters.startFrom, ], urlParameters: [Parameters.url], headerParameters: [ @@ -78960,6 +78794,7 @@ const listBlobHierarchySegmentOperationSpec = { Parameters.maxPageSize, Parameters.restype2, Parameters.include1, + Parameters.startFrom, Parameters.delimiter, ], urlParameters: [Parameters.url], @@ -79001,7 +78836,7 @@ const getAccountInfoOperationSpec = { /***/ }), -/***/ 21305: +/***/ 45716: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -79014,17 +78849,17 @@ const getAccountInfoOperationSpec = { */ Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(67892); -tslib_1.__exportStar(__nccwpck_require__(94570), exports); -tslib_1.__exportStar(__nccwpck_require__(80402), exports); -tslib_1.__exportStar(__nccwpck_require__(83354), exports); -tslib_1.__exportStar(__nccwpck_require__(2721), exports); -tslib_1.__exportStar(__nccwpck_require__(74910), exports); -tslib_1.__exportStar(__nccwpck_require__(99231), exports); +tslib_1.__exportStar(__nccwpck_require__(83167), exports); +tslib_1.__exportStar(__nccwpck_require__(35819), exports); +tslib_1.__exportStar(__nccwpck_require__(24289), exports); +tslib_1.__exportStar(__nccwpck_require__(73074), exports); +tslib_1.__exportStar(__nccwpck_require__(44789), exports); +tslib_1.__exportStar(__nccwpck_require__(84118), exports); //# sourceMappingURL=index.js.map /***/ }), -/***/ 2721: +/***/ 73074: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -79039,8 +78874,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.PageBlobImpl = void 0; const tslib_1 = __nccwpck_require__(67892); const coreClient = tslib_1.__importStar(__nccwpck_require__(99307)); -const Mappers = tslib_1.__importStar(__nccwpck_require__(41423)); -const Parameters = tslib_1.__importStar(__nccwpck_require__(23469)); +const Mappers = tslib_1.__importStar(__nccwpck_require__(76462)); +const Parameters = tslib_1.__importStar(__nccwpck_require__(17902)); /** Class containing PageBlob operations. */ class PageBlobImpl { client; @@ -79493,7 +79328,7 @@ const copyIncrementalOperationSpec = { /***/ }), -/***/ 94570: +/***/ 83167: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -79508,8 +79343,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.ServiceImpl = void 0; const tslib_1 = __nccwpck_require__(67892); const coreClient = tslib_1.__importStar(__nccwpck_require__(99307)); -const Mappers = tslib_1.__importStar(__nccwpck_require__(41423)); -const Parameters = tslib_1.__importStar(__nccwpck_require__(23469)); +const Mappers = tslib_1.__importStar(__nccwpck_require__(76462)); +const Parameters = tslib_1.__importStar(__nccwpck_require__(17902)); /** Class containing Service operations. */ class ServiceImpl { client; @@ -79828,7 +79663,7 @@ const filterBlobsOperationSpec = { /***/ }), -/***/ 36242: +/***/ 62757: /***/ ((__unused_webpack_module, exports) => { @@ -79844,7 +79679,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); /***/ }), -/***/ 42294: +/***/ 81617: /***/ ((__unused_webpack_module, exports) => { @@ -79860,7 +79695,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); /***/ }), -/***/ 26003: +/***/ 48262: /***/ ((__unused_webpack_module, exports) => { @@ -79876,7 +79711,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); /***/ }), -/***/ 2718: +/***/ 69307: /***/ ((__unused_webpack_module, exports) => { @@ -79892,7 +79727,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); /***/ }), -/***/ 52597: +/***/ 71396: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -79905,17 +79740,17 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); */ Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(67892); -tslib_1.__exportStar(__nccwpck_require__(87126), exports); -tslib_1.__exportStar(__nccwpck_require__(2718), exports); -tslib_1.__exportStar(__nccwpck_require__(42294), exports); -tslib_1.__exportStar(__nccwpck_require__(85517), exports); -tslib_1.__exportStar(__nccwpck_require__(36242), exports); -tslib_1.__exportStar(__nccwpck_require__(26003), exports); +tslib_1.__exportStar(__nccwpck_require__(78031), exports); +tslib_1.__exportStar(__nccwpck_require__(69307), exports); +tslib_1.__exportStar(__nccwpck_require__(81617), exports); +tslib_1.__exportStar(__nccwpck_require__(80546), exports); +tslib_1.__exportStar(__nccwpck_require__(62757), exports); +tslib_1.__exportStar(__nccwpck_require__(48262), exports); //# sourceMappingURL=index.js.map /***/ }), -/***/ 85517: +/***/ 80546: /***/ ((__unused_webpack_module, exports) => { @@ -79931,7 +79766,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); /***/ }), -/***/ 87126: +/***/ 78031: /***/ ((__unused_webpack_module, exports) => { @@ -79947,7 +79782,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); /***/ }), -/***/ 36244: +/***/ 54447: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -79962,7 +79797,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.StorageClient = void 0; const tslib_1 = __nccwpck_require__(67892); const coreHttpCompat = tslib_1.__importStar(__nccwpck_require__(80976)); -const index_js_1 = __nccwpck_require__(21305); +const index_js_1 = __nccwpck_require__(45716); class StorageClient extends coreHttpCompat.ExtendedServiceClient { url; version; @@ -79983,7 +79818,7 @@ class StorageClient extends coreHttpCompat.ExtendedServiceClient { const defaults = { requestContentType: "application/json; charset=utf-8", }; - const packageDetails = `azsdk-js-azure-storage-blob/12.29.1`; + const packageDetails = `azsdk-js-azure-storage-blob/12.30.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` : `${packageDetails}`; @@ -79999,7 +79834,7 @@ class StorageClient extends coreHttpCompat.ExtendedServiceClient { // Parameter assignments this.url = url; // Assigning values to Constant parameters - this.version = options.version || "2025-11-05"; + this.version = options.version || "2026-02-06"; this.service = new index_js_1.ServiceImpl(this); this.container = new index_js_1.ContainerImpl(this); this.blob = new index_js_1.BlobImpl(this); @@ -80019,7 +79854,7 @@ exports.StorageClient = StorageClient; /***/ }), -/***/ 13430: +/***/ 91365: /***/ ((__unused_webpack_module, exports) => { @@ -80036,63 +79871,65 @@ var KnownEncryptionAlgorithmType; /***/ }), -/***/ 32917: +/***/ 50506: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.logger = exports.RestError = exports.BaseRequestPolicy = exports.StorageOAuthScopes = exports.newPipeline = exports.isPipelineLike = exports.Pipeline = exports.getBlobServiceAccountAudience = exports.StorageBlobAudience = exports.PremiumPageBlobTier = exports.BlockBlobTier = exports.generateBlobSASQueryParameters = exports.generateAccountSASQueryParameters = void 0; +exports.logger = exports.RestError = exports.StorageBrowserPolicyFactory = exports.StorageBrowserPolicy = exports.StorageSharedKeyCredentialPolicy = exports.StorageSharedKeyCredential = exports.StorageRetryPolicyFactory = exports.StorageRetryPolicy = exports.StorageRetryPolicyType = exports.Credential = exports.CredentialPolicy = exports.BaseRequestPolicy = exports.AnonymousCredentialPolicy = exports.AnonymousCredential = exports.StorageOAuthScopes = exports.newPipeline = exports.isPipelineLike = exports.Pipeline = exports.getBlobServiceAccountAudience = exports.StorageBlobAudience = exports.PremiumPageBlobTier = exports.BlockBlobTier = exports.generateBlobSASQueryParameters = exports.generateAccountSASQueryParameters = void 0; const tslib_1 = __nccwpck_require__(67892); const core_rest_pipeline_1 = __nccwpck_require__(81591); Object.defineProperty(exports, "RestError", ({ enumerable: true, get: function () { return core_rest_pipeline_1.RestError; } })); -tslib_1.__exportStar(__nccwpck_require__(91352), exports); -tslib_1.__exportStar(__nccwpck_require__(59813), exports); -tslib_1.__exportStar(__nccwpck_require__(83745), exports); -tslib_1.__exportStar(__nccwpck_require__(51029), exports); -tslib_1.__exportStar(__nccwpck_require__(56139), exports); -tslib_1.__exportStar(__nccwpck_require__(49286), exports); -tslib_1.__exportStar(__nccwpck_require__(89159), exports); -var AccountSASSignatureValues_js_1 = __nccwpck_require__(10319); +tslib_1.__exportStar(__nccwpck_require__(19671), exports); +tslib_1.__exportStar(__nccwpck_require__(86198), exports); +tslib_1.__exportStar(__nccwpck_require__(11798), exports); +tslib_1.__exportStar(__nccwpck_require__(45050), exports); +tslib_1.__exportStar(__nccwpck_require__(78008), exports); +tslib_1.__exportStar(__nccwpck_require__(29757), exports); +tslib_1.__exportStar(__nccwpck_require__(63638), exports); +var AccountSASSignatureValues_js_1 = __nccwpck_require__(10928); Object.defineProperty(exports, "generateAccountSASQueryParameters", ({ enumerable: true, get: function () { return AccountSASSignatureValues_js_1.generateAccountSASQueryParameters; } })); -tslib_1.__exportStar(__nccwpck_require__(27776), exports); -tslib_1.__exportStar(__nccwpck_require__(37683), exports); -tslib_1.__exportStar(__nccwpck_require__(4766), exports); -tslib_1.__exportStar(__nccwpck_require__(7831), exports); -var BlobSASSignatureValues_js_1 = __nccwpck_require__(38147); +tslib_1.__exportStar(__nccwpck_require__(17107), exports); +tslib_1.__exportStar(__nccwpck_require__(99808), exports); +tslib_1.__exportStar(__nccwpck_require__(14753), exports); +tslib_1.__exportStar(__nccwpck_require__(75490), exports); +var BlobSASSignatureValues_js_1 = __nccwpck_require__(22794); Object.defineProperty(exports, "generateBlobSASQueryParameters", ({ enumerable: true, get: function () { return BlobSASSignatureValues_js_1.generateBlobSASQueryParameters; } })); -tslib_1.__exportStar(__nccwpck_require__(92156), exports); -tslib_1.__exportStar(__nccwpck_require__(32739), exports); -tslib_1.__exportStar(__nccwpck_require__(13360), exports); -tslib_1.__exportStar(__nccwpck_require__(44175), exports); -tslib_1.__exportStar(__nccwpck_require__(64220), exports); -var models_js_1 = __nccwpck_require__(37647); +tslib_1.__exportStar(__nccwpck_require__(94068), exports); +var models_js_1 = __nccwpck_require__(82834); Object.defineProperty(exports, "BlockBlobTier", ({ enumerable: true, get: function () { return models_js_1.BlockBlobTier; } })); Object.defineProperty(exports, "PremiumPageBlobTier", ({ enumerable: true, get: function () { return models_js_1.PremiumPageBlobTier; } })); Object.defineProperty(exports, "StorageBlobAudience", ({ enumerable: true, get: function () { return models_js_1.StorageBlobAudience; } })); Object.defineProperty(exports, "getBlobServiceAccountAudience", ({ enumerable: true, get: function () { return models_js_1.getBlobServiceAccountAudience; } })); -var Pipeline_js_1 = __nccwpck_require__(33543); +var Pipeline_js_1 = __nccwpck_require__(55830); Object.defineProperty(exports, "Pipeline", ({ enumerable: true, get: function () { return Pipeline_js_1.Pipeline; } })); Object.defineProperty(exports, "isPipelineLike", ({ enumerable: true, get: function () { return Pipeline_js_1.isPipelineLike; } })); Object.defineProperty(exports, "newPipeline", ({ enumerable: true, get: function () { return Pipeline_js_1.newPipeline; } })); Object.defineProperty(exports, "StorageOAuthScopes", ({ enumerable: true, get: function () { return Pipeline_js_1.StorageOAuthScopes; } })); -tslib_1.__exportStar(__nccwpck_require__(64574), exports); -var RequestPolicy_js_1 = __nccwpck_require__(30679); -Object.defineProperty(exports, "BaseRequestPolicy", ({ enumerable: true, get: function () { return RequestPolicy_js_1.BaseRequestPolicy; } })); -tslib_1.__exportStar(__nccwpck_require__(74090), exports); -tslib_1.__exportStar(__nccwpck_require__(39809), exports); -tslib_1.__exportStar(__nccwpck_require__(64574), exports); -tslib_1.__exportStar(__nccwpck_require__(47318), exports); -tslib_1.__exportStar(__nccwpck_require__(65424), exports); -tslib_1.__exportStar(__nccwpck_require__(13430), exports); -var log_js_1 = __nccwpck_require__(32763); +var storage_common_1 = __nccwpck_require__(55637); +Object.defineProperty(exports, "AnonymousCredential", ({ enumerable: true, get: function () { return storage_common_1.AnonymousCredential; } })); +Object.defineProperty(exports, "AnonymousCredentialPolicy", ({ enumerable: true, get: function () { return storage_common_1.AnonymousCredentialPolicy; } })); +Object.defineProperty(exports, "BaseRequestPolicy", ({ enumerable: true, get: function () { return storage_common_1.BaseRequestPolicy; } })); +Object.defineProperty(exports, "CredentialPolicy", ({ enumerable: true, get: function () { return storage_common_1.CredentialPolicy; } })); +Object.defineProperty(exports, "Credential", ({ enumerable: true, get: function () { return storage_common_1.Credential; } })); +Object.defineProperty(exports, "StorageRetryPolicyType", ({ enumerable: true, get: function () { return storage_common_1.StorageRetryPolicyType; } })); +Object.defineProperty(exports, "StorageRetryPolicy", ({ enumerable: true, get: function () { return storage_common_1.StorageRetryPolicy; } })); +Object.defineProperty(exports, "StorageRetryPolicyFactory", ({ enumerable: true, get: function () { return storage_common_1.StorageRetryPolicyFactory; } })); +Object.defineProperty(exports, "StorageSharedKeyCredential", ({ enumerable: true, get: function () { return storage_common_1.StorageSharedKeyCredential; } })); +Object.defineProperty(exports, "StorageSharedKeyCredentialPolicy", ({ enumerable: true, get: function () { return storage_common_1.StorageSharedKeyCredentialPolicy; } })); +Object.defineProperty(exports, "StorageBrowserPolicy", ({ enumerable: true, get: function () { return storage_common_1.StorageBrowserPolicy; } })); +Object.defineProperty(exports, "StorageBrowserPolicyFactory", ({ enumerable: true, get: function () { return storage_common_1.StorageBrowserPolicyFactory; } })); +tslib_1.__exportStar(__nccwpck_require__(78285), exports); +tslib_1.__exportStar(__nccwpck_require__(91365), exports); +var log_js_1 = __nccwpck_require__(11872); Object.defineProperty(exports, "logger", ({ enumerable: true, get: function () { return log_js_1.logger; } })); //# sourceMappingURL=index.js.map /***/ }), -/***/ 58691: +/***/ 74916: /***/ ((__unused_webpack_module, exports) => { @@ -80108,7 +79945,7 @@ exports.AVRO_SCHEMA_KEY = "avro.schema"; /***/ }), -/***/ 53355: +/***/ 898: /***/ ((__unused_webpack_module, exports) => { @@ -80442,7 +80279,7 @@ class AvroRecordType extends AvroType { /***/ }), -/***/ 92616: +/***/ 20293: /***/ ((__unused_webpack_module, exports) => { @@ -80457,7 +80294,7 @@ exports.AvroReadable = AvroReadable; /***/ }), -/***/ 40092: +/***/ 17537: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -80465,7 +80302,7 @@ exports.AvroReadable = AvroReadable; // Licensed under the MIT License. Object.defineProperty(exports, "__esModule", ({ value: true })); exports.AvroReadableFromStream = void 0; -const AvroReadable_js_1 = __nccwpck_require__(92616); +const AvroReadable_js_1 = __nccwpck_require__(20293); const abort_controller_1 = __nccwpck_require__(49797); const buffer_1 = __nccwpck_require__(20181); const ABORT_ERROR = new abort_controller_1.AbortError("Reading from the avro stream was aborted."); @@ -80553,7 +80390,7 @@ exports.AvroReadableFromStream = AvroReadableFromStream; /***/ }), -/***/ 94875: +/***/ 44778: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -80563,9 +80400,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.AvroReader = void 0; // TODO: Do a review of non-interfaces /* eslint-disable @azure/azure-sdk/ts-use-interface-parameters */ -const AvroConstants_js_1 = __nccwpck_require__(58691); -const AvroParser_js_1 = __nccwpck_require__(53355); -const utils_common_js_1 = __nccwpck_require__(1142); +const AvroConstants_js_1 = __nccwpck_require__(74916); +const AvroParser_js_1 = __nccwpck_require__(898); +const utils_common_js_1 = __nccwpck_require__(74135); class AvroReader { _dataStream; _headerStream; @@ -80679,7 +80516,7 @@ exports.AvroReader = AvroReader; /***/ }), -/***/ 71338: +/***/ 51777: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -80687,17 +80524,17 @@ exports.AvroReader = AvroReader; // Licensed under the MIT License. Object.defineProperty(exports, "__esModule", ({ value: true })); exports.AvroReadableFromStream = exports.AvroReadable = exports.AvroReader = void 0; -var AvroReader_js_1 = __nccwpck_require__(94875); +var AvroReader_js_1 = __nccwpck_require__(44778); Object.defineProperty(exports, "AvroReader", ({ enumerable: true, get: function () { return AvroReader_js_1.AvroReader; } })); -var AvroReadable_js_1 = __nccwpck_require__(92616); +var AvroReadable_js_1 = __nccwpck_require__(20293); Object.defineProperty(exports, "AvroReadable", ({ enumerable: true, get: function () { return AvroReadable_js_1.AvroReadable; } })); -var AvroReadableFromStream_js_1 = __nccwpck_require__(40092); +var AvroReadableFromStream_js_1 = __nccwpck_require__(17537); Object.defineProperty(exports, "AvroReadableFromStream", ({ enumerable: true, get: function () { return AvroReadableFromStream_js_1.AvroReadableFromStream; } })); //# sourceMappingURL=index.js.map /***/ }), -/***/ 1142: +/***/ 74135: /***/ ((__unused_webpack_module, exports) => { @@ -80722,1134 +80559,151 @@ function arraysEqual(a, b) { /***/ }), -/***/ 32763: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.logger = void 0; -const logger_1 = __nccwpck_require__(2764); -/** - * The `@azure/logger` configuration for this package. - */ -exports.logger = (0, logger_1.createClientLogger)("storage-blob"); -//# sourceMappingURL=log.js.map - -/***/ }), - -/***/ 37647: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.StorageBlobAudience = exports.PremiumPageBlobTier = exports.BlockBlobTier = void 0; -exports.toAccessTier = toAccessTier; -exports.ensureCpkIfSpecified = ensureCpkIfSpecified; -exports.getBlobServiceAccountAudience = getBlobServiceAccountAudience; -const constants_js_1 = __nccwpck_require__(9386); -/** - * Represents the access tier on a blob. - * For detailed information about block blob level tiering see {@link https://learn.microsoft.com/azure/storage/blobs/storage-blob-storage-tiers|Hot, cool and archive storage tiers.} - */ -var BlockBlobTier; -(function (BlockBlobTier) { - /** - * Optimized for storing data that is accessed frequently. - */ - BlockBlobTier["Hot"] = "Hot"; - /** - * Optimized for storing data that is infrequently accessed and stored for at least 30 days. - */ - BlockBlobTier["Cool"] = "Cool"; - /** - * Optimized for storing data that is rarely accessed. - */ - BlockBlobTier["Cold"] = "Cold"; - /** - * Optimized for storing data that is rarely accessed and stored for at least 180 days - * with flexible latency requirements (on the order of hours). - */ - BlockBlobTier["Archive"] = "Archive"; -})(BlockBlobTier || (exports.BlockBlobTier = BlockBlobTier = {})); -/** - * Specifies the page blob tier to set the blob to. This is only applicable to page blobs on premium storage accounts. - * Please see {@link https://learn.microsoft.com/azure/storage/storage-premium-storage#scalability-and-performance-targets|here} - * for detailed information on the corresponding IOPS and throughput per PageBlobTier. - */ -var PremiumPageBlobTier; -(function (PremiumPageBlobTier) { - /** - * P4 Tier. - */ - PremiumPageBlobTier["P4"] = "P4"; - /** - * P6 Tier. - */ - PremiumPageBlobTier["P6"] = "P6"; - /** - * P10 Tier. - */ - PremiumPageBlobTier["P10"] = "P10"; - /** - * P15 Tier. - */ - PremiumPageBlobTier["P15"] = "P15"; - /** - * P20 Tier. - */ - PremiumPageBlobTier["P20"] = "P20"; - /** - * P30 Tier. - */ - PremiumPageBlobTier["P30"] = "P30"; - /** - * P40 Tier. - */ - PremiumPageBlobTier["P40"] = "P40"; - /** - * P50 Tier. - */ - PremiumPageBlobTier["P50"] = "P50"; - /** - * P60 Tier. - */ - PremiumPageBlobTier["P60"] = "P60"; - /** - * P70 Tier. - */ - PremiumPageBlobTier["P70"] = "P70"; - /** - * P80 Tier. - */ - PremiumPageBlobTier["P80"] = "P80"; -})(PremiumPageBlobTier || (exports.PremiumPageBlobTier = PremiumPageBlobTier = {})); -function toAccessTier(tier) { - if (tier === undefined) { - return undefined; - } - return tier; // No more check if string is a valid AccessTier, and left this to underlay logic to decide(service). -} -function ensureCpkIfSpecified(cpk, isHttps) { - if (cpk && !isHttps) { - throw new RangeError("Customer-provided encryption key must be used over HTTPS."); - } - if (cpk && !cpk.encryptionAlgorithm) { - cpk.encryptionAlgorithm = constants_js_1.EncryptionAlgorithmAES25; - } -} -/** - * Defines the known cloud audiences for Storage. - */ -var StorageBlobAudience; -(function (StorageBlobAudience) { - /** - * The OAuth scope to use to retrieve an AAD token for Azure Storage. - */ - StorageBlobAudience["StorageOAuthScopes"] = "https://storage.azure.com/.default"; - /** - * The OAuth scope to use to retrieve an AAD token for Azure Disk. - */ - StorageBlobAudience["DiskComputeOAuthScopes"] = "https://disk.compute.azure.com/.default"; -})(StorageBlobAudience || (exports.StorageBlobAudience = StorageBlobAudience = {})); -/** - * - * To get OAuth audience for a storage account for blob service. - */ -function getBlobServiceAccountAudience(storageAccountName) { - return `https://${storageAccountName}.blob.core.windows.net/.default`; -} -//# sourceMappingURL=models.js.map - -/***/ }), - -/***/ 74090: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.AnonymousCredentialPolicy = void 0; -const CredentialPolicy_js_1 = __nccwpck_require__(39809); -/** - * AnonymousCredentialPolicy is used with HTTP(S) requests that read public resources - * or for use with Shared Access Signatures (SAS). - */ -class AnonymousCredentialPolicy extends CredentialPolicy_js_1.CredentialPolicy { - /** - * Creates an instance of AnonymousCredentialPolicy. - * @param nextPolicy - - * @param options - - */ - // The base class has a protected constructor. Adding a public one to enable constructing of this class. - /* eslint-disable-next-line @typescript-eslint/no-useless-constructor*/ - constructor(nextPolicy, options) { - super(nextPolicy, options); - } -} -exports.AnonymousCredentialPolicy = AnonymousCredentialPolicy; -//# sourceMappingURL=AnonymousCredentialPolicy.js.map - -/***/ }), - -/***/ 39809: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.CredentialPolicy = void 0; -const RequestPolicy_js_1 = __nccwpck_require__(30679); -/** - * Credential policy used to sign HTTP(S) requests before sending. This is an - * abstract class. - */ -class CredentialPolicy extends RequestPolicy_js_1.BaseRequestPolicy { - /** - * Sends out request. - * - * @param request - - */ - sendRequest(request) { - return this._nextPolicy.sendRequest(this.signRequest(request)); - } - /** - * Child classes must implement this method with request signing. This method - * will be executed in {@link sendRequest}. - * - * @param request - - */ - signRequest(request) { - // Child classes must override this method with request signing. This method - // will be executed in sendRequest(). - return request; - } -} -exports.CredentialPolicy = CredentialPolicy; -//# sourceMappingURL=CredentialPolicy.js.map - -/***/ }), - -/***/ 30679: -/***/ ((__unused_webpack_module, exports) => { - - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.BaseRequestPolicy = void 0; -/** - * The base class from which all request policies derive. - */ -class BaseRequestPolicy { - _nextPolicy; - _options; - /** - * The main method to implement that manipulates a request/response. - */ - constructor( - /** - * The next policy in the pipeline. Each policy is responsible for executing the next one if the request is to continue through the pipeline. - */ - _nextPolicy, - /** - * The options that can be passed to a given request policy. - */ - _options) { - this._nextPolicy = _nextPolicy; - this._options = _options; - } - /** - * Get whether or not a log with the provided log level should be logged. - * @param logLevel - The log level of the log that will be logged. - * @returns Whether or not a log with the provided log level should be logged. - */ - shouldLog(logLevel) { - return this._options.shouldLog(logLevel); - } - /** - * Attempt to log the provided message to the provided logger. If no logger was provided or if - * the log level does not meat the logger's threshold, then nothing will be logged. - * @param logLevel - The log level of this log. - * @param message - The message of this log. - */ - log(logLevel, message) { - this._options.log(logLevel, message); - } -} -exports.BaseRequestPolicy = BaseRequestPolicy; -//# sourceMappingURL=RequestPolicy.js.map - -/***/ }), - -/***/ 66687: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.StorageBrowserPolicy = void 0; -const RequestPolicy_js_1 = __nccwpck_require__(30679); -const core_util_1 = __nccwpck_require__(33000); -const constants_js_1 = __nccwpck_require__(9386); -const utils_common_js_1 = __nccwpck_require__(98915); -/** - * StorageBrowserPolicy will handle differences between Node.js and browser runtime, including: - * - * 1. Browsers cache GET/HEAD requests by adding conditional headers such as 'IF_MODIFIED_SINCE'. - * StorageBrowserPolicy is a policy used to add a timestamp query to GET/HEAD request URL - * thus avoid the browser cache. - * - * 2. Remove cookie header for security - * - * 3. Remove content-length header to avoid browsers warning - */ -class StorageBrowserPolicy extends RequestPolicy_js_1.BaseRequestPolicy { - /** - * Creates an instance of StorageBrowserPolicy. - * @param nextPolicy - - * @param options - - */ - // The base class has a protected constructor. Adding a public one to enable constructing of this class. - /* eslint-disable-next-line @typescript-eslint/no-useless-constructor*/ - constructor(nextPolicy, options) { - super(nextPolicy, options); - } - /** - * Sends out request. - * - * @param request - - */ - async sendRequest(request) { - if (core_util_1.isNodeLike) { - return this._nextPolicy.sendRequest(request); - } - if (request.method.toUpperCase() === "GET" || request.method.toUpperCase() === "HEAD") { - request.url = (0, utils_common_js_1.setURLParameter)(request.url, constants_js_1.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE, new Date().getTime().toString()); - } - request.headers.remove(constants_js_1.HeaderConstants.COOKIE); - // According to XHR standards, content-length should be fully controlled by browsers - request.headers.remove(constants_js_1.HeaderConstants.CONTENT_LENGTH); - return this._nextPolicy.sendRequest(request); - } -} -exports.StorageBrowserPolicy = StorageBrowserPolicy; -//# sourceMappingURL=StorageBrowserPolicy.js.map - -/***/ }), - -/***/ 12391: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.storageBrowserPolicyName = void 0; -exports.storageBrowserPolicy = storageBrowserPolicy; -const core_util_1 = __nccwpck_require__(33000); -const constants_js_1 = __nccwpck_require__(9386); -const utils_common_js_1 = __nccwpck_require__(98915); -/** - * The programmatic identifier of the StorageBrowserPolicy. - */ -exports.storageBrowserPolicyName = "storageBrowserPolicy"; -/** - * storageBrowserPolicy is a policy used to prevent browsers from caching requests - * and to remove cookies and explicit content-length headers. - */ -function storageBrowserPolicy() { - return { - name: exports.storageBrowserPolicyName, - async sendRequest(request, next) { - if (core_util_1.isNodeLike) { - return next(request); - } - if (request.method === "GET" || request.method === "HEAD") { - request.url = (0, utils_common_js_1.setURLParameter)(request.url, constants_js_1.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE, new Date().getTime().toString()); - } - request.headers.delete(constants_js_1.HeaderConstants.COOKIE); - // According to XHR standards, content-length should be fully controlled by browsers - request.headers.delete(constants_js_1.HeaderConstants.CONTENT_LENGTH); - return next(request); - }, - }; -} -//# sourceMappingURL=StorageBrowserPolicyV2.js.map - -/***/ }), - -/***/ 77348: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.storageCorrectContentLengthPolicyName = void 0; -exports.storageCorrectContentLengthPolicy = storageCorrectContentLengthPolicy; -const constants_js_1 = __nccwpck_require__(9386); -/** - * The programmatic identifier of the storageCorrectContentLengthPolicy. - */ -exports.storageCorrectContentLengthPolicyName = "StorageCorrectContentLengthPolicy"; -/** - * storageCorrectContentLengthPolicy to correctly set Content-Length header with request body length. - */ -function storageCorrectContentLengthPolicy() { - function correctContentLength(request) { - if (request.body && - (typeof request.body === "string" || Buffer.isBuffer(request.body)) && - request.body.length > 0) { - request.headers.set(constants_js_1.HeaderConstants.CONTENT_LENGTH, Buffer.byteLength(request.body)); - } - } - return { - name: exports.storageCorrectContentLengthPolicyName, - async sendRequest(request, next) { - correctContentLength(request); - return next(request); - }, - }; -} -//# sourceMappingURL=StorageCorrectContentLengthPolicy.js.map - -/***/ }), - -/***/ 21613: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.StorageRetryPolicy = void 0; -exports.NewRetryPolicyFactory = NewRetryPolicyFactory; -const abort_controller_1 = __nccwpck_require__(49797); -const RequestPolicy_js_1 = __nccwpck_require__(30679); -const constants_js_1 = __nccwpck_require__(9386); -const utils_common_js_1 = __nccwpck_require__(98915); -const log_js_1 = __nccwpck_require__(32763); -const StorageRetryPolicyType_js_1 = __nccwpck_require__(26941); -/** - * A factory method used to generated a RetryPolicy factory. - * - * @param retryOptions - - */ -function NewRetryPolicyFactory(retryOptions) { - return { - create: (nextPolicy, options) => { - return new StorageRetryPolicy(nextPolicy, options, retryOptions); - }, - }; -} -// Default values of StorageRetryOptions -const DEFAULT_RETRY_OPTIONS = { - maxRetryDelayInMs: 120 * 1000, - maxTries: 4, - retryDelayInMs: 4 * 1000, - retryPolicyType: StorageRetryPolicyType_js_1.StorageRetryPolicyType.EXPONENTIAL, - secondaryHost: "", - tryTimeoutInMs: undefined, // Use server side default timeout strategy -}; -const RETRY_ABORT_ERROR = new abort_controller_1.AbortError("The operation was aborted."); -/** - * Retry policy with exponential retry and linear retry implemented. - */ -class StorageRetryPolicy extends RequestPolicy_js_1.BaseRequestPolicy { - /** - * RetryOptions. - */ - retryOptions; - /** - * Creates an instance of RetryPolicy. - * - * @param nextPolicy - - * @param options - - * @param retryOptions - - */ - constructor(nextPolicy, options, retryOptions = DEFAULT_RETRY_OPTIONS) { - super(nextPolicy, options); - // Initialize retry options - this.retryOptions = { - retryPolicyType: retryOptions.retryPolicyType - ? retryOptions.retryPolicyType - : DEFAULT_RETRY_OPTIONS.retryPolicyType, - maxTries: retryOptions.maxTries && retryOptions.maxTries >= 1 - ? Math.floor(retryOptions.maxTries) - : DEFAULT_RETRY_OPTIONS.maxTries, - tryTimeoutInMs: retryOptions.tryTimeoutInMs && retryOptions.tryTimeoutInMs >= 0 - ? retryOptions.tryTimeoutInMs - : DEFAULT_RETRY_OPTIONS.tryTimeoutInMs, - retryDelayInMs: retryOptions.retryDelayInMs && retryOptions.retryDelayInMs >= 0 - ? Math.min(retryOptions.retryDelayInMs, retryOptions.maxRetryDelayInMs - ? retryOptions.maxRetryDelayInMs - : DEFAULT_RETRY_OPTIONS.maxRetryDelayInMs) - : DEFAULT_RETRY_OPTIONS.retryDelayInMs, - maxRetryDelayInMs: retryOptions.maxRetryDelayInMs && retryOptions.maxRetryDelayInMs >= 0 - ? retryOptions.maxRetryDelayInMs - : DEFAULT_RETRY_OPTIONS.maxRetryDelayInMs, - secondaryHost: retryOptions.secondaryHost - ? retryOptions.secondaryHost - : DEFAULT_RETRY_OPTIONS.secondaryHost, - }; - } - /** - * Sends request. - * - * @param request - - */ - async sendRequest(request) { - return this.attemptSendRequest(request, false, 1); - } - /** - * Decide and perform next retry. Won't mutate request parameter. - * - * @param request - - * @param secondaryHas404 - If attempt was against the secondary & it returned a StatusNotFound (404), then - * the resource was not found. This may be due to replication delay. So, in this - * case, we'll never try the secondary again for this operation. - * @param attempt - How many retries has been attempted to performed, starting from 1, which includes - * the attempt will be performed by this method call. - */ - async attemptSendRequest(request, secondaryHas404, attempt) { - const newRequest = request.clone(); - const isPrimaryRetry = secondaryHas404 || - !this.retryOptions.secondaryHost || - !(request.method === "GET" || request.method === "HEAD" || request.method === "OPTIONS") || - attempt % 2 === 1; - if (!isPrimaryRetry) { - newRequest.url = (0, utils_common_js_1.setURLHost)(newRequest.url, this.retryOptions.secondaryHost); - } - // Set the server-side timeout query parameter "timeout=[seconds]" - if (this.retryOptions.tryTimeoutInMs) { - newRequest.url = (0, utils_common_js_1.setURLParameter)(newRequest.url, constants_js_1.URLConstants.Parameters.TIMEOUT, Math.floor(this.retryOptions.tryTimeoutInMs / 1000).toString()); - } - let response; - try { - log_js_1.logger.info(`RetryPolicy: =====> Try=${attempt} ${isPrimaryRetry ? "Primary" : "Secondary"}`); - response = await this._nextPolicy.sendRequest(newRequest); - if (!this.shouldRetry(isPrimaryRetry, attempt, response)) { - return response; - } - secondaryHas404 = secondaryHas404 || (!isPrimaryRetry && response.status === 404); - } - catch (err) { - log_js_1.logger.error(`RetryPolicy: Caught error, message: ${err.message}, code: ${err.code}`); - if (!this.shouldRetry(isPrimaryRetry, attempt, response, err)) { - throw err; - } - } - await this.delay(isPrimaryRetry, attempt, request.abortSignal); - return this.attemptSendRequest(request, secondaryHas404, ++attempt); - } - /** - * Decide whether to retry according to last HTTP response and retry counters. - * - * @param isPrimaryRetry - - * @param attempt - - * @param response - - * @param err - - */ - shouldRetry(isPrimaryRetry, attempt, response, err) { - if (attempt >= this.retryOptions.maxTries) { - log_js_1.logger.info(`RetryPolicy: Attempt(s) ${attempt} >= maxTries ${this.retryOptions - .maxTries}, no further try.`); - return false; - } - // Handle network failures, you may need to customize the list when you implement - // your own http client - const retriableErrors = [ - "ETIMEDOUT", - "ESOCKETTIMEDOUT", - "ECONNREFUSED", - "ECONNRESET", - "ENOENT", - "ENOTFOUND", - "TIMEOUT", - "EPIPE", - "REQUEST_SEND_ERROR", // For default xhr based http client provided in ms-rest-js - ]; - if (err) { - for (const retriableError of retriableErrors) { - if (err.name.toUpperCase().includes(retriableError) || - err.message.toUpperCase().includes(retriableError) || - (err.code && err.code.toString().toUpperCase() === retriableError)) { - log_js_1.logger.info(`RetryPolicy: Network error ${retriableError} found, will retry.`); - return true; - } - } - } - // If attempt was against the secondary & it returned a StatusNotFound (404), then - // the resource was not found. This may be due to replication delay. So, in this - // case, we'll never try the secondary again for this operation. - if (response || err) { - const statusCode = response ? response.status : err ? err.statusCode : 0; - if (!isPrimaryRetry && statusCode === 404) { - log_js_1.logger.info(`RetryPolicy: Secondary access with 404, will retry.`); - return true; - } - // Server internal error or server timeout - if (statusCode === 503 || statusCode === 500) { - log_js_1.logger.info(`RetryPolicy: Will retry for status code ${statusCode}.`); - return true; - } - } - if (response) { - // Retry select Copy Source Error Codes. - if (response?.status >= 400) { - const copySourceError = response.headers.get(constants_js_1.HeaderConstants.X_MS_CopySourceErrorCode); - if (copySourceError !== undefined) { - switch (copySourceError) { - case "InternalError": - case "OperationTimedOut": - case "ServerBusy": - return true; - } - } - } - } - if (err?.code === "PARSE_ERROR" && err?.message.startsWith(`Error "Error: Unclosed root tag`)) { - log_js_1.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."); - return true; - } - return false; - } - /** - * Delay a calculated time between retries. - * - * @param isPrimaryRetry - - * @param attempt - - * @param abortSignal - - */ - async delay(isPrimaryRetry, attempt, abortSignal) { - let delayTimeInMs = 0; - if (isPrimaryRetry) { - switch (this.retryOptions.retryPolicyType) { - case StorageRetryPolicyType_js_1.StorageRetryPolicyType.EXPONENTIAL: - delayTimeInMs = Math.min((Math.pow(2, attempt - 1) - 1) * this.retryOptions.retryDelayInMs, this.retryOptions.maxRetryDelayInMs); - break; - case StorageRetryPolicyType_js_1.StorageRetryPolicyType.FIXED: - delayTimeInMs = this.retryOptions.retryDelayInMs; - break; - } - } - else { - delayTimeInMs = Math.random() * 1000; - } - log_js_1.logger.info(`RetryPolicy: Delay for ${delayTimeInMs}ms`); - return (0, utils_common_js_1.delay)(delayTimeInMs, abortSignal, RETRY_ABORT_ERROR); - } -} -exports.StorageRetryPolicy = StorageRetryPolicy; -//# sourceMappingURL=StorageRetryPolicy.js.map - -/***/ }), - -/***/ 26941: -/***/ ((__unused_webpack_module, exports) => { - - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.StorageRetryPolicyType = void 0; -/** - * RetryPolicy types. - */ -var StorageRetryPolicyType; -(function (StorageRetryPolicyType) { - /** - * Exponential retry. Retry time delay grows exponentially. - */ - StorageRetryPolicyType[StorageRetryPolicyType["EXPONENTIAL"] = 0] = "EXPONENTIAL"; - /** - * Linear retry. Retry time delay grows linearly. - */ - StorageRetryPolicyType[StorageRetryPolicyType["FIXED"] = 1] = "FIXED"; -})(StorageRetryPolicyType || (exports.StorageRetryPolicyType = StorageRetryPolicyType = {})); -//# sourceMappingURL=StorageRetryPolicyType.js.map - -/***/ }), - -/***/ 46221: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.storageRetryPolicyName = void 0; -exports.storageRetryPolicy = storageRetryPolicy; -const abort_controller_1 = __nccwpck_require__(49797); -const core_rest_pipeline_1 = __nccwpck_require__(81591); -const core_util_1 = __nccwpck_require__(33000); -const StorageRetryPolicyFactory_js_1 = __nccwpck_require__(64574); -const constants_js_1 = __nccwpck_require__(9386); -const utils_common_js_1 = __nccwpck_require__(98915); -const log_js_1 = __nccwpck_require__(32763); -/** - * Name of the {@link storageRetryPolicy} - */ -exports.storageRetryPolicyName = "storageRetryPolicy"; -// Default values of StorageRetryOptions -const DEFAULT_RETRY_OPTIONS = { - maxRetryDelayInMs: 120 * 1000, - maxTries: 4, - retryDelayInMs: 4 * 1000, - retryPolicyType: StorageRetryPolicyFactory_js_1.StorageRetryPolicyType.EXPONENTIAL, - secondaryHost: "", - tryTimeoutInMs: undefined, // Use server side default timeout strategy -}; -const retriableErrors = [ - "ETIMEDOUT", - "ESOCKETTIMEDOUT", - "ECONNREFUSED", - "ECONNRESET", - "ENOENT", - "ENOTFOUND", - "TIMEOUT", - "EPIPE", - "REQUEST_SEND_ERROR", -]; -const RETRY_ABORT_ERROR = new abort_controller_1.AbortError("The operation was aborted."); -/** - * Retry policy with exponential retry and linear retry implemented. - */ -function storageRetryPolicy(options = {}) { - const retryPolicyType = options.retryPolicyType ?? DEFAULT_RETRY_OPTIONS.retryPolicyType; - const maxTries = options.maxTries ?? DEFAULT_RETRY_OPTIONS.maxTries; - const retryDelayInMs = options.retryDelayInMs ?? DEFAULT_RETRY_OPTIONS.retryDelayInMs; - const maxRetryDelayInMs = options.maxRetryDelayInMs ?? DEFAULT_RETRY_OPTIONS.maxRetryDelayInMs; - const secondaryHost = options.secondaryHost ?? DEFAULT_RETRY_OPTIONS.secondaryHost; - const tryTimeoutInMs = options.tryTimeoutInMs ?? DEFAULT_RETRY_OPTIONS.tryTimeoutInMs; - function shouldRetry({ isPrimaryRetry, attempt, response, error, }) { - if (attempt >= maxTries) { - log_js_1.logger.info(`RetryPolicy: Attempt(s) ${attempt} >= maxTries ${maxTries}, no further try.`); - return false; - } - if (error) { - for (const retriableError of retriableErrors) { - if (error.name.toUpperCase().includes(retriableError) || - error.message.toUpperCase().includes(retriableError) || - (error.code && error.code.toString().toUpperCase() === retriableError)) { - log_js_1.logger.info(`RetryPolicy: Network error ${retriableError} found, will retry.`); - return true; - } - } - if (error?.code === "PARSE_ERROR" && - error?.message.startsWith(`Error "Error: Unclosed root tag`)) { - log_js_1.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."); - return true; - } - } - // If attempt was against the secondary & it returned a StatusNotFound (404), then - // the resource was not found. This may be due to replication delay. So, in this - // case, we'll never try the secondary again for this operation. - if (response || error) { - const statusCode = response?.status ?? error?.statusCode ?? 0; - if (!isPrimaryRetry && statusCode === 404) { - log_js_1.logger.info(`RetryPolicy: Secondary access with 404, will retry.`); - return true; - } - // Server internal error or server timeout - if (statusCode === 503 || statusCode === 500) { - log_js_1.logger.info(`RetryPolicy: Will retry for status code ${statusCode}.`); - return true; - } - } - if (response) { - // Retry select Copy Source Error Codes. - if (response?.status >= 400) { - const copySourceError = response.headers.get(constants_js_1.HeaderConstants.X_MS_CopySourceErrorCode); - if (copySourceError !== undefined) { - switch (copySourceError) { - case "InternalError": - case "OperationTimedOut": - case "ServerBusy": - return true; - } - } - } - } - return false; - } - function calculateDelay(isPrimaryRetry, attempt) { - let delayTimeInMs = 0; - if (isPrimaryRetry) { - switch (retryPolicyType) { - case StorageRetryPolicyFactory_js_1.StorageRetryPolicyType.EXPONENTIAL: - delayTimeInMs = Math.min((Math.pow(2, attempt - 1) - 1) * retryDelayInMs, maxRetryDelayInMs); - break; - case StorageRetryPolicyFactory_js_1.StorageRetryPolicyType.FIXED: - delayTimeInMs = retryDelayInMs; - break; - } - } - else { - delayTimeInMs = Math.random() * 1000; - } - log_js_1.logger.info(`RetryPolicy: Delay for ${delayTimeInMs}ms`); - return delayTimeInMs; - } - return { - name: exports.storageRetryPolicyName, - async sendRequest(request, next) { - // Set the server-side timeout query parameter "timeout=[seconds]" - if (tryTimeoutInMs) { - request.url = (0, utils_common_js_1.setURLParameter)(request.url, constants_js_1.URLConstants.Parameters.TIMEOUT, String(Math.floor(tryTimeoutInMs / 1000))); - } - const primaryUrl = request.url; - const secondaryUrl = secondaryHost ? (0, utils_common_js_1.setURLHost)(request.url, secondaryHost) : undefined; - let secondaryHas404 = false; - let attempt = 1; - let retryAgain = true; - let response; - let error; - while (retryAgain) { - const isPrimaryRetry = secondaryHas404 || - !secondaryUrl || - !["GET", "HEAD", "OPTIONS"].includes(request.method) || - attempt % 2 === 1; - request.url = isPrimaryRetry ? primaryUrl : secondaryUrl; - response = undefined; - error = undefined; - try { - log_js_1.logger.info(`RetryPolicy: =====> Try=${attempt} ${isPrimaryRetry ? "Primary" : "Secondary"}`); - response = await next(request); - secondaryHas404 = secondaryHas404 || (!isPrimaryRetry && response.status === 404); - } - catch (e) { - if ((0, core_rest_pipeline_1.isRestError)(e)) { - log_js_1.logger.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`); - error = e; - } - else { - log_js_1.logger.error(`RetryPolicy: Caught error, message: ${(0, core_util_1.getErrorMessage)(e)}`); - throw e; - } - } - retryAgain = shouldRetry({ isPrimaryRetry, attempt, response, error }); - if (retryAgain) { - await (0, utils_common_js_1.delay)(calculateDelay(isPrimaryRetry, attempt), request.abortSignal, RETRY_ABORT_ERROR); - } - attempt++; - } - if (response) { - return response; - } - throw error ?? new core_rest_pipeline_1.RestError("RetryPolicy failed without known error."); - }, - }; -} -//# sourceMappingURL=StorageRetryPolicyV2.js.map - -/***/ }), - -/***/ 47318: +/***/ 11872: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.StorageSharedKeyCredentialPolicy = void 0; -const constants_js_1 = __nccwpck_require__(9386); -const utils_common_js_1 = __nccwpck_require__(98915); -const CredentialPolicy_js_1 = __nccwpck_require__(39809); -const SharedKeyComparator_js_1 = __nccwpck_require__(81179); +exports.logger = void 0; +const logger_1 = __nccwpck_require__(2764); /** - * StorageSharedKeyCredentialPolicy is a policy used to sign HTTP request with a shared key. + * The `@azure/logger` configuration for this package. */ -class StorageSharedKeyCredentialPolicy extends CredentialPolicy_js_1.CredentialPolicy { +exports.logger = (0, logger_1.createClientLogger)("storage-blob"); +//# sourceMappingURL=log.js.map + +/***/ }), + +/***/ 82834: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.StorageBlobAudience = exports.PremiumPageBlobTier = exports.BlockBlobTier = void 0; +exports.toAccessTier = toAccessTier; +exports.ensureCpkIfSpecified = ensureCpkIfSpecified; +exports.getBlobServiceAccountAudience = getBlobServiceAccountAudience; +const constants_js_1 = __nccwpck_require__(25097); +/** + * Represents the access tier on a blob. + * For detailed information about block blob level tiering see {@link https://learn.microsoft.com/azure/storage/blobs/storage-blob-storage-tiers|Hot, cool and archive storage tiers.} + */ +var BlockBlobTier; +(function (BlockBlobTier) { /** - * Reference to StorageSharedKeyCredential which generates StorageSharedKeyCredentialPolicy + * Optimized for storing data that is accessed frequently. */ - factory; + BlockBlobTier["Hot"] = "Hot"; /** - * Creates an instance of StorageSharedKeyCredentialPolicy. - * @param nextPolicy - - * @param options - - * @param factory - + * Optimized for storing data that is infrequently accessed and stored for at least 30 days. */ - constructor(nextPolicy, options, factory) { - super(nextPolicy, options); - this.factory = factory; - } + BlockBlobTier["Cool"] = "Cool"; /** - * Signs request. - * - * @param request - + * Optimized for storing data that is rarely accessed. */ - signRequest(request) { - request.headers.set(constants_js_1.HeaderConstants.X_MS_DATE, new Date().toUTCString()); - if (request.body && - (typeof request.body === "string" || request.body !== undefined) && - request.body.length > 0) { - request.headers.set(constants_js_1.HeaderConstants.CONTENT_LENGTH, Buffer.byteLength(request.body)); - } - const stringToSign = [ - request.method.toUpperCase(), - this.getHeaderValueToSign(request, constants_js_1.HeaderConstants.CONTENT_LANGUAGE), - this.getHeaderValueToSign(request, constants_js_1.HeaderConstants.CONTENT_ENCODING), - this.getHeaderValueToSign(request, constants_js_1.HeaderConstants.CONTENT_LENGTH), - this.getHeaderValueToSign(request, constants_js_1.HeaderConstants.CONTENT_MD5), - this.getHeaderValueToSign(request, constants_js_1.HeaderConstants.CONTENT_TYPE), - this.getHeaderValueToSign(request, constants_js_1.HeaderConstants.DATE), - this.getHeaderValueToSign(request, constants_js_1.HeaderConstants.IF_MODIFIED_SINCE), - this.getHeaderValueToSign(request, constants_js_1.HeaderConstants.IF_MATCH), - this.getHeaderValueToSign(request, constants_js_1.HeaderConstants.IF_NONE_MATCH), - this.getHeaderValueToSign(request, constants_js_1.HeaderConstants.IF_UNMODIFIED_SINCE), - this.getHeaderValueToSign(request, constants_js_1.HeaderConstants.RANGE), - ].join("\n") + - "\n" + - this.getCanonicalizedHeadersString(request) + - this.getCanonicalizedResourceString(request); - const signature = this.factory.computeHMACSHA256(stringToSign); - request.headers.set(constants_js_1.HeaderConstants.AUTHORIZATION, `SharedKey ${this.factory.accountName}:${signature}`); - // console.log(`[URL]:${request.url}`); - // console.log(`[HEADERS]:${request.headers.toString()}`); - // console.log(`[STRING TO SIGN]:${JSON.stringify(stringToSign)}`); - // console.log(`[KEY]: ${request.headers.get(HeaderConstants.AUTHORIZATION)}`); - return request; - } + BlockBlobTier["Cold"] = "Cold"; /** - * Retrieve header value according to shared key sign rules. - * @see https://learn.microsoft.com/rest/api/storageservices/authenticate-with-shared-key - * - * @param request - - * @param headerName - + * Optimized for storing data that is rarely accessed and stored for at least 180 days + * with flexible latency requirements (on the order of hours). */ - getHeaderValueToSign(request, headerName) { - const value = request.headers.get(headerName); - if (!value) { - return ""; - } - // When using version 2015-02-21 or later, if Content-Length is zero, then - // set the Content-Length part of the StringToSign to an empty string. - // https://learn.microsoft.com/rest/api/storageservices/authenticate-with-shared-key - if (headerName === constants_js_1.HeaderConstants.CONTENT_LENGTH && value === "0") { - return ""; - } - return value; - } + BlockBlobTier["Archive"] = "Archive"; +})(BlockBlobTier || (exports.BlockBlobTier = BlockBlobTier = {})); +/** + * Specifies the page blob tier to set the blob to. This is only applicable to page blobs on premium storage accounts. + * Please see {@link https://learn.microsoft.com/azure/storage/storage-premium-storage#scalability-and-performance-targets|here} + * for detailed information on the corresponding IOPS and throughput per PageBlobTier. + */ +var PremiumPageBlobTier; +(function (PremiumPageBlobTier) { /** - * To construct the CanonicalizedHeaders portion of the signature string, follow these steps: - * 1. Retrieve all headers for the resource that begin with x-ms-, including the x-ms-date header. - * 2. Convert each HTTP header name to lowercase. - * 3. Sort the headers lexicographically by header name, in ascending order. - * Each header may appear only once in the string. - * 4. Replace any linear whitespace in the header value with a single space. - * 5. Trim any whitespace around the colon in the header. - * 6. Finally, append a new-line character to each canonicalized header in the resulting list. - * Construct the CanonicalizedHeaders string by concatenating all headers in this list into a single string. - * - * @param request - + * P4 Tier. */ - getCanonicalizedHeadersString(request) { - let headersArray = request.headers.headersArray().filter((value) => { - return value.name.toLowerCase().startsWith(constants_js_1.HeaderConstants.PREFIX_FOR_STORAGE); - }); - headersArray.sort((a, b) => { - return (0, SharedKeyComparator_js_1.compareHeader)(a.name.toLowerCase(), b.name.toLowerCase()); - }); - // Remove duplicate headers - headersArray = headersArray.filter((value, index, array) => { - if (index > 0 && value.name.toLowerCase() === array[index - 1].name.toLowerCase()) { - return false; - } - return true; - }); - let canonicalizedHeadersStringToSign = ""; - headersArray.forEach((header) => { - canonicalizedHeadersStringToSign += `${header.name - .toLowerCase() - .trimRight()}:${header.value.trimLeft()}\n`; - }); - return canonicalizedHeadersStringToSign; - } + PremiumPageBlobTier["P4"] = "P4"; /** - * Retrieves the webResource canonicalized resource string. - * - * @param request - + * P6 Tier. */ - getCanonicalizedResourceString(request) { - const path = (0, utils_common_js_1.getURLPath)(request.url) || "/"; - let canonicalizedResourceString = ""; - canonicalizedResourceString += `/${this.factory.accountName}${path}`; - const queries = (0, utils_common_js_1.getURLQueries)(request.url); - const lowercaseQueries = {}; - if (queries) { - const queryKeys = []; - for (const key in queries) { - if (Object.prototype.hasOwnProperty.call(queries, key)) { - const lowercaseKey = key.toLowerCase(); - lowercaseQueries[lowercaseKey] = queries[key]; - queryKeys.push(lowercaseKey); - } - } - queryKeys.sort(); - for (const key of queryKeys) { - canonicalizedResourceString += `\n${key}:${decodeURIComponent(lowercaseQueries[key])}`; - } - } - return canonicalizedResourceString; + PremiumPageBlobTier["P6"] = "P6"; + /** + * P10 Tier. + */ + PremiumPageBlobTier["P10"] = "P10"; + /** + * P15 Tier. + */ + PremiumPageBlobTier["P15"] = "P15"; + /** + * P20 Tier. + */ + PremiumPageBlobTier["P20"] = "P20"; + /** + * P30 Tier. + */ + PremiumPageBlobTier["P30"] = "P30"; + /** + * P40 Tier. + */ + PremiumPageBlobTier["P40"] = "P40"; + /** + * P50 Tier. + */ + PremiumPageBlobTier["P50"] = "P50"; + /** + * P60 Tier. + */ + PremiumPageBlobTier["P60"] = "P60"; + /** + * P70 Tier. + */ + PremiumPageBlobTier["P70"] = "P70"; + /** + * P80 Tier. + */ + PremiumPageBlobTier["P80"] = "P80"; +})(PremiumPageBlobTier || (exports.PremiumPageBlobTier = PremiumPageBlobTier = {})); +function toAccessTier(tier) { + if (tier === undefined) { + return undefined; + } + return tier; // No more check if string is a valid AccessTier, and left this to underlay logic to decide(service). +} +function ensureCpkIfSpecified(cpk, isHttps) { + if (cpk && !isHttps) { + throw new RangeError("Customer-provided encryption key must be used over HTTPS."); + } + if (cpk && !cpk.encryptionAlgorithm) { + cpk.encryptionAlgorithm = constants_js_1.EncryptionAlgorithmAES25; } } -exports.StorageSharedKeyCredentialPolicy = StorageSharedKeyCredentialPolicy; -//# sourceMappingURL=StorageSharedKeyCredentialPolicy.js.map - -/***/ }), - -/***/ 61154: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.storageSharedKeyCredentialPolicyName = void 0; -exports.storageSharedKeyCredentialPolicy = storageSharedKeyCredentialPolicy; -const node_crypto_1 = __nccwpck_require__(77598); -const constants_js_1 = __nccwpck_require__(9386); -const utils_common_js_1 = __nccwpck_require__(98915); -const SharedKeyComparator_js_1 = __nccwpck_require__(81179); -/** - * The programmatic identifier of the storageSharedKeyCredentialPolicy. - */ -exports.storageSharedKeyCredentialPolicyName = "storageSharedKeyCredentialPolicy"; /** - * storageSharedKeyCredentialPolicy handles signing requests using storage account keys. + * Defines the known cloud audiences for Storage. */ -function storageSharedKeyCredentialPolicy(options) { - function signRequest(request) { - request.headers.set(constants_js_1.HeaderConstants.X_MS_DATE, new Date().toUTCString()); - if (request.body && - (typeof request.body === "string" || Buffer.isBuffer(request.body)) && - request.body.length > 0) { - request.headers.set(constants_js_1.HeaderConstants.CONTENT_LENGTH, Buffer.byteLength(request.body)); - } - const stringToSign = [ - request.method.toUpperCase(), - getHeaderValueToSign(request, constants_js_1.HeaderConstants.CONTENT_LANGUAGE), - getHeaderValueToSign(request, constants_js_1.HeaderConstants.CONTENT_ENCODING), - getHeaderValueToSign(request, constants_js_1.HeaderConstants.CONTENT_LENGTH), - getHeaderValueToSign(request, constants_js_1.HeaderConstants.CONTENT_MD5), - getHeaderValueToSign(request, constants_js_1.HeaderConstants.CONTENT_TYPE), - getHeaderValueToSign(request, constants_js_1.HeaderConstants.DATE), - getHeaderValueToSign(request, constants_js_1.HeaderConstants.IF_MODIFIED_SINCE), - getHeaderValueToSign(request, constants_js_1.HeaderConstants.IF_MATCH), - getHeaderValueToSign(request, constants_js_1.HeaderConstants.IF_NONE_MATCH), - getHeaderValueToSign(request, constants_js_1.HeaderConstants.IF_UNMODIFIED_SINCE), - getHeaderValueToSign(request, constants_js_1.HeaderConstants.RANGE), - ].join("\n") + - "\n" + - getCanonicalizedHeadersString(request) + - getCanonicalizedResourceString(request); - const signature = (0, node_crypto_1.createHmac)("sha256", options.accountKey) - .update(stringToSign, "utf8") - .digest("base64"); - request.headers.set(constants_js_1.HeaderConstants.AUTHORIZATION, `SharedKey ${options.accountName}:${signature}`); - // console.log(`[URL]:${request.url}`); - // console.log(`[HEADERS]:${request.headers.toString()}`); - // console.log(`[STRING TO SIGN]:${JSON.stringify(stringToSign)}`); - // console.log(`[KEY]: ${request.headers.get(HeaderConstants.AUTHORIZATION)}`); - } +var StorageBlobAudience; +(function (StorageBlobAudience) { /** - * Retrieve header value according to shared key sign rules. - * @see https://learn.microsoft.com/rest/api/storageservices/authenticate-with-shared-key + * The OAuth scope to use to retrieve an AAD token for Azure Storage. */ - function getHeaderValueToSign(request, headerName) { - const value = request.headers.get(headerName); - if (!value) { - return ""; - } - // When using version 2015-02-21 or later, if Content-Length is zero, then - // set the Content-Length part of the StringToSign to an empty string. - // https://learn.microsoft.com/rest/api/storageservices/authenticate-with-shared-key - if (headerName === constants_js_1.HeaderConstants.CONTENT_LENGTH && value === "0") { - return ""; - } - return value; - } + StorageBlobAudience["StorageOAuthScopes"] = "https://storage.azure.com/.default"; /** - * To construct the CanonicalizedHeaders portion of the signature string, follow these steps: - * 1. Retrieve all headers for the resource that begin with x-ms-, including the x-ms-date header. - * 2. Convert each HTTP header name to lowercase. - * 3. Sort the headers lexicographically by header name, in ascending order. - * Each header may appear only once in the string. - * 4. Replace any linear whitespace in the header value with a single space. - * 5. Trim any whitespace around the colon in the header. - * 6. Finally, append a new-line character to each canonicalized header in the resulting list. - * Construct the CanonicalizedHeaders string by concatenating all headers in this list into a single string. - * + * The OAuth scope to use to retrieve an AAD token for Azure Disk. */ - function getCanonicalizedHeadersString(request) { - let headersArray = []; - for (const [name, value] of request.headers) { - if (name.toLowerCase().startsWith(constants_js_1.HeaderConstants.PREFIX_FOR_STORAGE)) { - headersArray.push({ name, value }); - } - } - headersArray.sort((a, b) => { - return (0, SharedKeyComparator_js_1.compareHeader)(a.name.toLowerCase(), b.name.toLowerCase()); - }); - // Remove duplicate headers - headersArray = headersArray.filter((value, index, array) => { - if (index > 0 && value.name.toLowerCase() === array[index - 1].name.toLowerCase()) { - return false; - } - return true; - }); - let canonicalizedHeadersStringToSign = ""; - headersArray.forEach((header) => { - canonicalizedHeadersStringToSign += `${header.name - .toLowerCase() - .trimRight()}:${header.value.trimLeft()}\n`; - }); - return canonicalizedHeadersStringToSign; - } - function getCanonicalizedResourceString(request) { - const path = (0, utils_common_js_1.getURLPath)(request.url) || "/"; - let canonicalizedResourceString = ""; - canonicalizedResourceString += `/${options.accountName}${path}`; - const queries = (0, utils_common_js_1.getURLQueries)(request.url); - const lowercaseQueries = {}; - if (queries) { - const queryKeys = []; - for (const key in queries) { - if (Object.prototype.hasOwnProperty.call(queries, key)) { - const lowercaseKey = key.toLowerCase(); - lowercaseQueries[lowercaseKey] = queries[key]; - queryKeys.push(lowercaseKey); - } - } - queryKeys.sort(); - for (const key of queryKeys) { - canonicalizedResourceString += `\n${key}:${decodeURIComponent(lowercaseQueries[key])}`; - } - } - return canonicalizedResourceString; - } - return { - name: exports.storageSharedKeyCredentialPolicyName, - async sendRequest(request, next) { - signRequest(request); - return next(request); - }, - }; + StorageBlobAudience["DiskComputeOAuthScopes"] = "https://disk.compute.azure.com/.default"; +})(StorageBlobAudience || (exports.StorageBlobAudience = StorageBlobAudience = {})); +/** + * + * To get OAuth audience for a storage account for blob service. + */ +function getBlobServiceAccountAudience(storageAccountName) { + return `https://${storageAccountName}.blob.core.windows.net/.default`; } -//# sourceMappingURL=StorageSharedKeyCredentialPolicyV2.js.map +//# sourceMappingURL=models.js.map /***/ }), -/***/ 22958: +/***/ 28159: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -81993,7 +80847,7 @@ function makeBlobBeginCopyFromURLPollOperation(state) { /***/ }), -/***/ 56139: +/***/ 78008: /***/ ((__unused_webpack_module, exports) => { @@ -82228,7 +81082,7 @@ exports.AccountSASPermissions = AccountSASPermissions; /***/ }), -/***/ 49286: +/***/ 29757: /***/ ((__unused_webpack_module, exports) => { @@ -82308,7 +81162,7 @@ exports.AccountSASResourceTypes = AccountSASResourceTypes; /***/ }), -/***/ 89159: +/***/ 63638: /***/ ((__unused_webpack_module, exports) => { @@ -82396,7 +81250,7 @@ exports.AccountSASServices = AccountSASServices; /***/ }), -/***/ 10319: +/***/ 10928: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -82405,13 +81259,13 @@ exports.AccountSASServices = AccountSASServices; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.generateAccountSASQueryParameters = generateAccountSASQueryParameters; exports.generateAccountSASQueryParametersInternal = generateAccountSASQueryParametersInternal; -const AccountSASPermissions_js_1 = __nccwpck_require__(56139); -const AccountSASResourceTypes_js_1 = __nccwpck_require__(49286); -const AccountSASServices_js_1 = __nccwpck_require__(89159); -const SasIPRange_js_1 = __nccwpck_require__(98562); -const SASQueryParameters_js_1 = __nccwpck_require__(65424); -const constants_js_1 = __nccwpck_require__(9386); -const utils_common_js_1 = __nccwpck_require__(98915); +const AccountSASPermissions_js_1 = __nccwpck_require__(78008); +const AccountSASResourceTypes_js_1 = __nccwpck_require__(29757); +const AccountSASServices_js_1 = __nccwpck_require__(63638); +const SasIPRange_js_1 = __nccwpck_require__(58667); +const SASQueryParameters_js_1 = __nccwpck_require__(78285); +const constants_js_1 = __nccwpck_require__(25097); +const utils_common_js_1 = __nccwpck_require__(43542); /** * ONLY AVAILABLE IN NODE.JS RUNTIME. * @@ -82506,7 +81360,7 @@ function generateAccountSASQueryParametersInternal(accountSASSignatureValues, sh /***/ }), -/***/ 7831: +/***/ 75490: /***/ ((__unused_webpack_module, exports) => { @@ -82709,7 +81563,7 @@ exports.BlobSASPermissions = BlobSASPermissions; /***/ }), -/***/ 38147: +/***/ 22794: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -82718,25 +81572,25 @@ exports.generateBlobSASQueryParameters = generateBlobSASQueryParameters; exports.generateBlobSASQueryParametersInternal = generateBlobSASQueryParametersInternal; // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -const BlobSASPermissions_js_1 = __nccwpck_require__(7831); -const ContainerSASPermissions_js_1 = __nccwpck_require__(32739); -const StorageSharedKeyCredential_js_1 = __nccwpck_require__(64220); -const UserDelegationKeyCredential_js_1 = __nccwpck_require__(20061); -const SasIPRange_js_1 = __nccwpck_require__(98562); -const SASQueryParameters_js_1 = __nccwpck_require__(65424); -const constants_js_1 = __nccwpck_require__(9386); -const utils_common_js_1 = __nccwpck_require__(98915); +const BlobSASPermissions_js_1 = __nccwpck_require__(75490); +const ContainerSASPermissions_js_1 = __nccwpck_require__(94068); +const storage_common_1 = __nccwpck_require__(55637); +const SasIPRange_js_1 = __nccwpck_require__(58667); +const SASQueryParameters_js_1 = __nccwpck_require__(78285); +const constants_js_1 = __nccwpck_require__(25097); +const utils_common_js_1 = __nccwpck_require__(43542); +const storage_common_2 = __nccwpck_require__(55637); function generateBlobSASQueryParameters(blobSASSignatureValues, sharedKeyCredentialOrUserDelegationKey, accountName) { return generateBlobSASQueryParametersInternal(blobSASSignatureValues, sharedKeyCredentialOrUserDelegationKey, accountName).sasQueryParameters; } function generateBlobSASQueryParametersInternal(blobSASSignatureValues, sharedKeyCredentialOrUserDelegationKey, accountName) { const version = blobSASSignatureValues.version ? blobSASSignatureValues.version : constants_js_1.SERVICE_VERSION; - const sharedKeyCredential = sharedKeyCredentialOrUserDelegationKey instanceof StorageSharedKeyCredential_js_1.StorageSharedKeyCredential + const sharedKeyCredential = sharedKeyCredentialOrUserDelegationKey instanceof storage_common_1.StorageSharedKeyCredential ? sharedKeyCredentialOrUserDelegationKey : undefined; let userDelegationKeyCredential; if (sharedKeyCredential === undefined && accountName !== undefined) { - userDelegationKeyCredential = new UserDelegationKeyCredential_js_1.UserDelegationKeyCredential(accountName, sharedKeyCredentialOrUserDelegationKey); + userDelegationKeyCredential = new storage_common_2.UserDelegationKeyCredential(accountName, sharedKeyCredentialOrUserDelegationKey); } if (sharedKeyCredential === undefined && userDelegationKeyCredential === undefined) { throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName."); @@ -83299,7 +82153,7 @@ function generateBlobSASQueryParametersUDK20250705(blobSASSignatureValues, userD undefined, // agentObjectId blobSASSignatureValues.correlationId, undefined, // SignedKeyDelegatedUserTenantId, will be added in a future release. - undefined, // SignedDelegatedUserObjectId, will be added in future release. + blobSASSignatureValues.delegatedUserObjectId, blobSASSignatureValues.ipRange ? (0, SasIPRange_js_1.ipRangeToString)(blobSASSignatureValues.ipRange) : "", blobSASSignatureValues.protocol ? blobSASSignatureValues.protocol : "", blobSASSignatureValues.version, @@ -83314,7 +82168,7 @@ function generateBlobSASQueryParametersUDK20250705(blobSASSignatureValues, userD ].join("\n"); const signature = userDelegationKeyCredential.computeHMACSHA256(stringToSign); return { - sasQueryParameters: new SASQueryParameters_js_1.SASQueryParameters(blobSASSignatureValues.version, signature, verifiedPermissions, undefined, undefined, blobSASSignatureValues.protocol, blobSASSignatureValues.startsOn, blobSASSignatureValues.expiresOn, blobSASSignatureValues.ipRange, blobSASSignatureValues.identifier, resource, blobSASSignatureValues.cacheControl, blobSASSignatureValues.contentDisposition, blobSASSignatureValues.contentEncoding, blobSASSignatureValues.contentLanguage, blobSASSignatureValues.contentType, userDelegationKeyCredential.userDelegationKey, blobSASSignatureValues.preauthorizedAgentObjectId, blobSASSignatureValues.correlationId, blobSASSignatureValues.encryptionScope), + sasQueryParameters: new SASQueryParameters_js_1.SASQueryParameters(blobSASSignatureValues.version, signature, verifiedPermissions, undefined, undefined, blobSASSignatureValues.protocol, blobSASSignatureValues.startsOn, blobSASSignatureValues.expiresOn, blobSASSignatureValues.ipRange, blobSASSignatureValues.identifier, resource, blobSASSignatureValues.cacheControl, blobSASSignatureValues.contentDisposition, blobSASSignatureValues.contentEncoding, blobSASSignatureValues.contentLanguage, blobSASSignatureValues.contentType, userDelegationKeyCredential.userDelegationKey, blobSASSignatureValues.preauthorizedAgentObjectId, blobSASSignatureValues.correlationId, blobSASSignatureValues.encryptionScope, blobSASSignatureValues.delegatedUserObjectId), stringToSign: stringToSign, }; } @@ -83385,7 +82239,7 @@ function SASSignatureValuesSanityCheckAndAutofill(blobSASSignatureValues) { /***/ }), -/***/ 32739: +/***/ 94068: /***/ ((__unused_webpack_module, exports) => { @@ -83614,7 +82468,7 @@ exports.ContainerSASPermissions = ContainerSASPermissions; /***/ }), -/***/ 65424: +/***/ 78285: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -83622,8 +82476,8 @@ exports.ContainerSASPermissions = ContainerSASPermissions; // Licensed under the MIT License. Object.defineProperty(exports, "__esModule", ({ value: true })); exports.SASQueryParameters = exports.SASProtocol = void 0; -const SasIPRange_js_1 = __nccwpck_require__(98562); -const utils_common_js_1 = __nccwpck_require__(98915); +const SasIPRange_js_1 = __nccwpck_require__(58667); +const utils_common_js_1 = __nccwpck_require__(43542); /** * Protocols for generated SAS. */ @@ -83686,6 +82540,12 @@ class SASQueryParameters { * @see https://learn.microsoft.com/rest/api/storageservices/establishing-a-stored-access-policy */ identifier; + /** + * Optional. Beginning in version 2025-07-05, this value specifies the Entra ID of the user would is authorized to + * use the resulting SAS URL. The resulting SAS URL must be used in conjunction with an Entra ID token that has been + * issued to the user specified in this value. + */ + delegatedUserObjectId; /** * Optional. Encryption scope to use when sending requests authorized with this SAS URI. */ @@ -83779,7 +82639,7 @@ class SASQueryParameters { } return undefined; } - constructor(version, signature, permissionsOrOptions, services, resourceTypes, protocol, startsOn, expiresOn, ipRange, identifier, resource, cacheControl, contentDisposition, contentEncoding, contentLanguage, contentType, userDelegationKey, preauthorizedAgentObjectId, correlationId, encryptionScope) { + constructor(version, signature, permissionsOrOptions, services, resourceTypes, protocol, startsOn, expiresOn, ipRange, identifier, resource, cacheControl, contentDisposition, contentEncoding, contentLanguage, contentType, userDelegationKey, preauthorizedAgentObjectId, correlationId, encryptionScope, delegatedUserObjectId) { this.version = version; this.signature = signature; if (permissionsOrOptions !== undefined && typeof permissionsOrOptions !== "string") { @@ -83792,6 +82652,7 @@ class SASQueryParameters { this.expiresOn = permissionsOrOptions.expiresOn; this.ipRangeInner = permissionsOrOptions.ipRange; this.identifier = permissionsOrOptions.identifier; + this.delegatedUserObjectId = permissionsOrOptions.delegatedUserObjectId; this.encryptionScope = permissionsOrOptions.encryptionScope; this.resource = permissionsOrOptions.resource; this.cacheControl = permissionsOrOptions.cacheControl; @@ -83818,6 +82679,7 @@ class SASQueryParameters { this.protocol = protocol; this.startsOn = startsOn; this.ipRangeInner = ipRange; + this.delegatedUserObjectId = delegatedUserObjectId; this.encryptionScope = encryptionScope; this.identifier = identifier; this.resource = resource; @@ -83869,6 +82731,7 @@ class SASQueryParameters { "rsct", "saoid", "scid", + "sduoid", // Signed key user delegation object ID ]; const queries = []; for (const param of params) { @@ -83948,6 +82811,9 @@ class SASQueryParameters { case "scid": this.tryAppendQueryParameter(queries, param, this.correlationId); break; + case "sduoid": + this.tryAppendQueryParameter(queries, param, this.delegatedUserObjectId); + break; } } return queries.join("&"); @@ -83975,7 +82841,7 @@ exports.SASQueryParameters = SASQueryParameters; /***/ }), -/***/ 98562: +/***/ 58667: /***/ ((__unused_webpack_module, exports) => { @@ -83997,7 +82863,7 @@ function ipRangeToString(ipRange) { /***/ }), -/***/ 14539: +/***/ 19988: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -84137,7 +83003,7 @@ exports.Batch = Batch; /***/ }), -/***/ 17097: +/***/ 55980: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -84146,7 +83012,7 @@ exports.Batch = Batch; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.BlobQuickQueryStream = void 0; const node_stream_1 = __nccwpck_require__(57075); -const index_js_1 = __nccwpck_require__(71338); +const index_js_1 = __nccwpck_require__(51777); /** * ONLY AVAILABLE IN NODE.JS RUNTIME. * @@ -84263,7 +83129,7 @@ exports.BlobQuickQueryStream = BlobQuickQueryStream; /***/ }), -/***/ 39948: +/***/ 91903: /***/ ((__unused_webpack_module, exports) => { @@ -84338,7 +83204,7 @@ exports.Mutex = Mutex; /***/ }), -/***/ 81473: +/***/ 62910: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -84475,89 +83341,7 @@ exports.RetriableReadableStream = RetriableReadableStream; /***/ }), -/***/ 81179: -/***/ ((__unused_webpack_module, exports) => { - - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.compareHeader = compareHeader; -/* - * We need to imitate .Net culture-aware sorting, which is used in storage service. - * Below tables contain sort-keys for en-US culture. - */ -const table_lv0 = new Uint32Array([ - 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, - 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x71c, 0x0, 0x71f, 0x721, - 0x723, 0x725, 0x0, 0x0, 0x0, 0x72d, 0x803, 0x0, 0x0, 0x733, 0x0, 0xd03, 0xd1a, 0xd1c, 0xd1e, - 0xd20, 0xd22, 0xd24, 0xd26, 0xd28, 0xd2a, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe02, 0xe09, 0xe0a, - 0xe1a, 0xe21, 0xe23, 0xe25, 0xe2c, 0xe32, 0xe35, 0xe36, 0xe48, 0xe51, 0xe70, 0xe7c, 0xe7e, 0xe89, - 0xe8a, 0xe91, 0xe99, 0xe9f, 0xea2, 0xea4, 0xea6, 0xea7, 0xea9, 0x0, 0x0, 0x0, 0x743, 0x744, 0x748, - 0xe02, 0xe09, 0xe0a, 0xe1a, 0xe21, 0xe23, 0xe25, 0xe2c, 0xe32, 0xe35, 0xe36, 0xe48, 0xe51, 0xe70, - 0xe7c, 0xe7e, 0xe89, 0xe8a, 0xe91, 0xe99, 0xe9f, 0xea2, 0xea4, 0xea6, 0xea7, 0xea9, 0x0, 0x74c, - 0x0, 0x750, 0x0, -]); -const table_lv2 = new Uint32Array([ - 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, - 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, - 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, - 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, - 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, - 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, - 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, -]); -const table_lv4 = new Uint32Array([ - 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, - 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, - 0x0, 0x8012, 0x0, 0x0, 0x0, 0x0, 0x0, 0x8212, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, - 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, - 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, - 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, - 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, -]); -function compareHeader(lhs, rhs) { - if (isLessThan(lhs, rhs)) - return -1; - return 1; -} -function isLessThan(lhs, rhs) { - const tables = [table_lv0, table_lv2, table_lv4]; - let curr_level = 0; - let i = 0; - let j = 0; - while (curr_level < tables.length) { - if (curr_level === tables.length - 1 && i !== j) { - return i > j; - } - const weight1 = i < lhs.length ? tables[curr_level][lhs[i].charCodeAt(0)] : 0x1; - const weight2 = j < rhs.length ? tables[curr_level][rhs[j].charCodeAt(0)] : 0x1; - if (weight1 === 0x1 && weight2 === 0x1) { - i = 0; - j = 0; - ++curr_level; - } - else if (weight1 === weight2) { - ++i; - ++j; - } - else if (weight1 === 0) { - ++i; - } - else if (weight2 === 0) { - ++j; - } - else { - return weight1 < weight2; - } - } - return false; -} -//# sourceMappingURL=SharedKeyComparator.js.map - -/***/ }), - -/***/ 9386: +/***/ 25097: /***/ ((__unused_webpack_module, exports) => { @@ -84565,8 +83349,8 @@ function isLessThan(lhs, rhs) { // Licensed under the MIT License. Object.defineProperty(exports, "__esModule", ({ value: true })); exports.PathStylePorts = exports.BlobDoesNotUseCustomerSpecifiedEncryption = exports.BlobUsesCustomerSpecifiedEncryptionMsg = exports.StorageBlobLoggingAllowedQueryParameters = exports.StorageBlobLoggingAllowedHeaderNames = exports.DevelopmentConnectionString = exports.EncryptionAlgorithmAES25 = exports.HTTP_VERSION_1_1 = exports.HTTP_LINE_ENDING = exports.BATCH_MAX_PAYLOAD_IN_BYTES = exports.BATCH_MAX_REQUEST = exports.SIZE_1_MB = exports.ETagAny = exports.ETagNone = exports.HeaderConstants = exports.HTTPURLConnection = exports.URLConstants = exports.StorageOAuthScopes = exports.REQUEST_TIMEOUT = exports.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS = exports.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES = exports.DEFAULT_BLOCK_BUFFER_SIZE_BYTES = exports.BLOCK_BLOB_MAX_BLOCKS = exports.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES = exports.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES = exports.SERVICE_VERSION = exports.SDK_VERSION = void 0; -exports.SDK_VERSION = "12.29.1"; -exports.SERVICE_VERSION = "2025-11-05"; +exports.SDK_VERSION = "12.30.0"; +exports.SERVICE_VERSION = "2026-02-06"; exports.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES = 256 * 1024 * 1024; // 256MB exports.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES = 4000 * 1024 * 1024; // 4000MB exports.BLOCK_BLOB_MAX_BLOCKS = 50000; @@ -84792,7 +83576,7 @@ exports.PathStylePorts = [ /***/ }), -/***/ 67985: +/***/ 74342: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -84801,7 +83585,7 @@ exports.PathStylePorts = [ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.tracingClient = void 0; const core_tracing_1 = __nccwpck_require__(26637); -const constants_js_1 = __nccwpck_require__(9386); +const constants_js_1 = __nccwpck_require__(25097); /** * Creates a span using the global tracer. * @internal @@ -84815,7 +83599,7 @@ exports.tracingClient = (0, core_tracing_1.createTracingClient)({ /***/ }), -/***/ 98915: +/***/ 43542: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -84860,7 +83644,7 @@ exports.EscapePath = EscapePath; exports.assertResponse = assertResponse; const core_rest_pipeline_1 = __nccwpck_require__(81591); const core_util_1 = __nccwpck_require__(33000); -const constants_js_1 = __nccwpck_require__(9386); +const constants_js_1 = __nccwpck_require__(25097); /** * Reserved URL characters must be properly escaped for Storage services like Blob or File. * @@ -85628,7 +84412,7 @@ function assertResponse(response) { /***/ }), -/***/ 73170: +/***/ 63725: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -85643,7 +84427,7 @@ exports.readStreamToLocalFile = readStreamToLocalFile; const tslib_1 = __nccwpck_require__(67892); const node_fs_1 = tslib_1.__importDefault(__nccwpck_require__(73024)); const node_util_1 = tslib_1.__importDefault(__nccwpck_require__(57975)); -const constants_js_1 = __nccwpck_require__(9386); +const constants_js_1 = __nccwpck_require__(25097); /** * Reads a readable stream into buffer. Fill the buffer from offset to end. * @@ -85774,7 +84558,7 @@ exports.fsCreateReadStream = node_fs_1.default.createReadStream; /***/ }), -/***/ 3092: +/***/ 94102: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -85783,7 +84567,7 @@ exports.fsCreateReadStream = node_fs_1.default.createReadStream; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.BufferScheduler = void 0; const events_1 = __nccwpck_require__(24434); -const PooledBuffer_js_1 = __nccwpck_require__(88126); +const PooledBuffer_js_1 = __nccwpck_require__(59016); /** * This class accepts a Node.js Readable stream as input, and keeps reading data * from the stream into the internal buffer structure, until it reaches maxBuffers. @@ -86062,7 +84846,7 @@ exports.BufferScheduler = BufferScheduler; /***/ }), -/***/ 14712: +/***/ 57682: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -86169,7 +84953,7 @@ exports.BuffersStream = BuffersStream; /***/ }), -/***/ 88126: +/***/ 59016: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -86178,7 +84962,7 @@ exports.BuffersStream = BuffersStream; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.PooledBuffer = void 0; const tslib_1 = __nccwpck_require__(67892); -const BuffersStream_js_1 = __nccwpck_require__(14712); +const BuffersStream_js_1 = __nccwpck_require__(57682); const node_buffer_1 = tslib_1.__importDefault(__nccwpck_require__(4573)); /** * maxBufferLength is max size of each buffer in the pooled buffers. @@ -86275,7 +85059,7 @@ exports.PooledBuffer = PooledBuffer; /***/ }), -/***/ 30782: +/***/ 14236: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -86283,7 +85067,7 @@ exports.PooledBuffer = PooledBuffer; // Licensed under the MIT License. Object.defineProperty(exports, "__esModule", ({ value: true })); exports.StorageBrowserPolicyFactory = exports.StorageBrowserPolicy = void 0; -const StorageBrowserPolicy_js_1 = __nccwpck_require__(65473); +const StorageBrowserPolicy_js_1 = __nccwpck_require__(86847); Object.defineProperty(exports, "StorageBrowserPolicy", ({ enumerable: true, get: function () { return StorageBrowserPolicy_js_1.StorageBrowserPolicy; } })); /** * StorageBrowserPolicyFactory is a factory class helping generating StorageBrowserPolicy objects. @@ -86304,7 +85088,7 @@ exports.StorageBrowserPolicyFactory = StorageBrowserPolicyFactory; /***/ }), -/***/ 87848: +/***/ 63870: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -86312,9 +85096,9 @@ exports.StorageBrowserPolicyFactory = StorageBrowserPolicyFactory; // Licensed under the MIT License. Object.defineProperty(exports, "__esModule", ({ value: true })); exports.StorageRetryPolicyFactory = exports.StorageRetryPolicy = exports.StorageRetryPolicyType = void 0; -const StorageRetryPolicy_js_1 = __nccwpck_require__(65975); +const StorageRetryPolicy_js_1 = __nccwpck_require__(43693); Object.defineProperty(exports, "StorageRetryPolicy", ({ enumerable: true, get: function () { return StorageRetryPolicy_js_1.StorageRetryPolicy; } })); -const StorageRetryPolicyType_js_1 = __nccwpck_require__(73087); +const StorageRetryPolicyType_js_1 = __nccwpck_require__(66141); Object.defineProperty(exports, "StorageRetryPolicyType", ({ enumerable: true, get: function () { return StorageRetryPolicyType_js_1.StorageRetryPolicyType; } })); /** * StorageRetryPolicyFactory is a factory class helping generating {@link StorageRetryPolicy} objects. @@ -86343,7 +85127,7 @@ exports.StorageRetryPolicyFactory = StorageRetryPolicyFactory; /***/ }), -/***/ 16125: +/***/ 38307: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -86363,7 +85147,7 @@ function getCachedDefaultHttpClient() { /***/ }), -/***/ 3422: +/***/ 52560: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -86371,8 +85155,8 @@ function getCachedDefaultHttpClient() { // Licensed under the MIT License. Object.defineProperty(exports, "__esModule", ({ value: true })); exports.AnonymousCredential = void 0; -const AnonymousCredentialPolicy_js_1 = __nccwpck_require__(36936); -const Credential_js_1 = __nccwpck_require__(7069); +const AnonymousCredentialPolicy_js_1 = __nccwpck_require__(77578); +const Credential_js_1 = __nccwpck_require__(71919); /** * AnonymousCredential provides a credentialPolicyCreator member used to create * AnonymousCredentialPolicy objects. AnonymousCredentialPolicy is used with @@ -86395,7 +85179,7 @@ exports.AnonymousCredential = AnonymousCredential; /***/ }), -/***/ 7069: +/***/ 71919: /***/ ((__unused_webpack_module, exports) => { @@ -86423,7 +85207,7 @@ exports.Credential = Credential; /***/ }), -/***/ 76590: +/***/ 97500: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -86432,8 +85216,8 @@ exports.Credential = Credential; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.StorageSharedKeyCredential = void 0; const node_crypto_1 = __nccwpck_require__(77598); -const StorageSharedKeyCredentialPolicy_js_1 = __nccwpck_require__(9640); -const Credential_js_1 = __nccwpck_require__(7069); +const StorageSharedKeyCredentialPolicy_js_1 = __nccwpck_require__(77430); +const Credential_js_1 = __nccwpck_require__(71919); /** * ONLY AVAILABLE IN NODE.JS RUNTIME. * @@ -86481,7 +85265,60 @@ exports.StorageSharedKeyCredential = StorageSharedKeyCredential; /***/ }), -/***/ 13507: +/***/ 18141: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UserDelegationKeyCredential = void 0; +const node_crypto_1 = __nccwpck_require__(77598); +/** + * ONLY AVAILABLE IN NODE.JS RUNTIME. + * + * UserDelegationKeyCredential is only used for generation of user delegation SAS. + * @see https://learn.microsoft.com/rest/api/storageservices/create-user-delegation-sas + */ +class UserDelegationKeyCredential { + /** + * Azure Storage account name; readonly. + */ + accountName; + /** + * Azure Storage user delegation key; readonly. + */ + userDelegationKey; + /** + * Key value in Buffer type. + */ + key; + /** + * Creates an instance of UserDelegationKeyCredential. + * @param accountName - + * @param userDelegationKey - + */ + constructor(accountName, userDelegationKey) { + this.accountName = accountName; + this.userDelegationKey = userDelegationKey; + this.key = Buffer.from(userDelegationKey.value, "base64"); + } + /** + * Generates a hash signature for an HTTP request or for a SAS. + * + * @param stringToSign - + */ + computeHMACSHA256(stringToSign) { + // console.log(`stringToSign: ${JSON.stringify(stringToSign)}`); + return (0, node_crypto_1.createHmac)("sha256", this.key).update(stringToSign, "utf8").digest("base64"); + } +} +exports.UserDelegationKeyCredential = UserDelegationKeyCredential; +//# sourceMappingURL=UserDelegationKeyCredential.js.map + +/***/ }), + +/***/ 55637: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -86490,33 +85327,34 @@ exports.StorageSharedKeyCredential = StorageSharedKeyCredential; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.BaseRequestPolicy = exports.getCachedDefaultHttpClient = void 0; const tslib_1 = __nccwpck_require__(67892); -tslib_1.__exportStar(__nccwpck_require__(3092), exports); -var cache_js_1 = __nccwpck_require__(16125); +tslib_1.__exportStar(__nccwpck_require__(94102), exports); +var cache_js_1 = __nccwpck_require__(38307); Object.defineProperty(exports, "getCachedDefaultHttpClient", ({ enumerable: true, get: function () { return cache_js_1.getCachedDefaultHttpClient; } })); -tslib_1.__exportStar(__nccwpck_require__(30782), exports); -tslib_1.__exportStar(__nccwpck_require__(3422), exports); -tslib_1.__exportStar(__nccwpck_require__(7069), exports); -tslib_1.__exportStar(__nccwpck_require__(76590), exports); -tslib_1.__exportStar(__nccwpck_require__(87848), exports); -var RequestPolicy_js_1 = __nccwpck_require__(3165); +tslib_1.__exportStar(__nccwpck_require__(14236), exports); +tslib_1.__exportStar(__nccwpck_require__(52560), exports); +tslib_1.__exportStar(__nccwpck_require__(71919), exports); +tslib_1.__exportStar(__nccwpck_require__(97500), exports); +tslib_1.__exportStar(__nccwpck_require__(63870), exports); +var RequestPolicy_js_1 = __nccwpck_require__(58423); Object.defineProperty(exports, "BaseRequestPolicy", ({ enumerable: true, get: function () { return RequestPolicy_js_1.BaseRequestPolicy; } })); -tslib_1.__exportStar(__nccwpck_require__(36936), exports); -tslib_1.__exportStar(__nccwpck_require__(21503), exports); -tslib_1.__exportStar(__nccwpck_require__(65473), exports); -tslib_1.__exportStar(__nccwpck_require__(57641), exports); -tslib_1.__exportStar(__nccwpck_require__(30134), exports); -tslib_1.__exportStar(__nccwpck_require__(73087), exports); -tslib_1.__exportStar(__nccwpck_require__(65975), exports); -tslib_1.__exportStar(__nccwpck_require__(67135), exports); -tslib_1.__exportStar(__nccwpck_require__(9640), exports); -tslib_1.__exportStar(__nccwpck_require__(30332), exports); -tslib_1.__exportStar(__nccwpck_require__(87848), exports); -tslib_1.__exportStar(__nccwpck_require__(14047), exports); +tslib_1.__exportStar(__nccwpck_require__(77578), exports); +tslib_1.__exportStar(__nccwpck_require__(39105), exports); +tslib_1.__exportStar(__nccwpck_require__(86847), exports); +tslib_1.__exportStar(__nccwpck_require__(90324), exports); +tslib_1.__exportStar(__nccwpck_require__(62148), exports); +tslib_1.__exportStar(__nccwpck_require__(66141), exports); +tslib_1.__exportStar(__nccwpck_require__(43693), exports); +tslib_1.__exportStar(__nccwpck_require__(82733), exports); +tslib_1.__exportStar(__nccwpck_require__(77430), exports); +tslib_1.__exportStar(__nccwpck_require__(10370), exports); +tslib_1.__exportStar(__nccwpck_require__(63870), exports); +tslib_1.__exportStar(__nccwpck_require__(93781), exports); +tslib_1.__exportStar(__nccwpck_require__(18141), exports); //# sourceMappingURL=index.js.map /***/ }), -/***/ 85541: +/***/ 68731: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -86533,7 +85371,7 @@ exports.logger = (0, logger_1.createClientLogger)("storage-common"); /***/ }), -/***/ 36936: +/***/ 77578: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -86541,7 +85379,7 @@ exports.logger = (0, logger_1.createClientLogger)("storage-common"); // Licensed under the MIT License. Object.defineProperty(exports, "__esModule", ({ value: true })); exports.AnonymousCredentialPolicy = void 0; -const CredentialPolicy_js_1 = __nccwpck_require__(21503); +const CredentialPolicy_js_1 = __nccwpck_require__(39105); /** * AnonymousCredentialPolicy is used with HTTP(S) requests that read public resources * or for use with Shared Access Signatures (SAS). @@ -86563,7 +85401,7 @@ exports.AnonymousCredentialPolicy = AnonymousCredentialPolicy; /***/ }), -/***/ 21503: +/***/ 39105: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -86571,7 +85409,7 @@ exports.AnonymousCredentialPolicy = AnonymousCredentialPolicy; // Licensed under the MIT License. Object.defineProperty(exports, "__esModule", ({ value: true })); exports.CredentialPolicy = void 0; -const RequestPolicy_js_1 = __nccwpck_require__(3165); +const RequestPolicy_js_1 = __nccwpck_require__(58423); /** * Credential policy used to sign HTTP(S) requests before sending. This is an * abstract class. @@ -86602,7 +85440,7 @@ exports.CredentialPolicy = CredentialPolicy; /***/ }), -/***/ 3165: +/***/ 58423: /***/ ((__unused_webpack_module, exports) => { @@ -86654,7 +85492,7 @@ exports.BaseRequestPolicy = BaseRequestPolicy; /***/ }), -/***/ 65473: +/***/ 86847: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -86662,10 +85500,10 @@ exports.BaseRequestPolicy = BaseRequestPolicy; // Licensed under the MIT License. Object.defineProperty(exports, "__esModule", ({ value: true })); exports.StorageBrowserPolicy = void 0; -const RequestPolicy_js_1 = __nccwpck_require__(3165); +const RequestPolicy_js_1 = __nccwpck_require__(58423); const core_util_1 = __nccwpck_require__(33000); -const constants_js_1 = __nccwpck_require__(8484); -const utils_common_js_1 = __nccwpck_require__(60481); +const constants_js_1 = __nccwpck_require__(65866); +const utils_common_js_1 = __nccwpck_require__(48323); /** * StorageBrowserPolicy will handle differences between Node.js and browser runtime, including: * @@ -86711,7 +85549,7 @@ exports.StorageBrowserPolicy = StorageBrowserPolicy; /***/ }), -/***/ 57641: +/***/ 90324: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -86721,8 +85559,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.storageBrowserPolicyName = void 0; exports.storageBrowserPolicy = storageBrowserPolicy; const core_util_1 = __nccwpck_require__(33000); -const constants_js_1 = __nccwpck_require__(8484); -const utils_common_js_1 = __nccwpck_require__(60481); +const constants_js_1 = __nccwpck_require__(65866); +const utils_common_js_1 = __nccwpck_require__(48323); /** * The programmatic identifier of the StorageBrowserPolicy. */ @@ -86752,7 +85590,7 @@ function storageBrowserPolicy() { /***/ }), -/***/ 30134: +/***/ 62148: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -86761,7 +85599,7 @@ function storageBrowserPolicy() { Object.defineProperty(exports, "__esModule", ({ value: true })); exports.storageCorrectContentLengthPolicyName = void 0; exports.storageCorrectContentLengthPolicy = storageCorrectContentLengthPolicy; -const constants_js_1 = __nccwpck_require__(8484); +const constants_js_1 = __nccwpck_require__(65866); /** * The programmatic identifier of the storageCorrectContentLengthPolicy. */ @@ -86789,7 +85627,7 @@ function storageCorrectContentLengthPolicy() { /***/ }), -/***/ 14047: +/***/ 93781: /***/ ((__unused_webpack_module, exports) => { @@ -86833,7 +85671,7 @@ function storageRequestFailureDetailsParserPolicy() { /***/ }), -/***/ 65975: +/***/ 43693: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -86843,11 +85681,11 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.StorageRetryPolicy = void 0; exports.NewRetryPolicyFactory = NewRetryPolicyFactory; const abort_controller_1 = __nccwpck_require__(49797); -const RequestPolicy_js_1 = __nccwpck_require__(3165); -const constants_js_1 = __nccwpck_require__(8484); -const utils_common_js_1 = __nccwpck_require__(60481); -const log_js_1 = __nccwpck_require__(85541); -const StorageRetryPolicyType_js_1 = __nccwpck_require__(73087); +const RequestPolicy_js_1 = __nccwpck_require__(58423); +const constants_js_1 = __nccwpck_require__(65866); +const utils_common_js_1 = __nccwpck_require__(48323); +const log_js_1 = __nccwpck_require__(68731); +const StorageRetryPolicyType_js_1 = __nccwpck_require__(66141); /** * A factory method used to generated a RetryPolicy factory. * @@ -87063,7 +85901,7 @@ exports.StorageRetryPolicy = StorageRetryPolicy; /***/ }), -/***/ 73087: +/***/ 66141: /***/ ((__unused_webpack_module, exports) => { @@ -87089,7 +85927,7 @@ var StorageRetryPolicyType; /***/ }), -/***/ 67135: +/***/ 82733: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -87101,10 +85939,10 @@ exports.storageRetryPolicy = storageRetryPolicy; const abort_controller_1 = __nccwpck_require__(49797); const core_rest_pipeline_1 = __nccwpck_require__(81591); const core_util_1 = __nccwpck_require__(33000); -const StorageRetryPolicyFactory_js_1 = __nccwpck_require__(87848); -const constants_js_1 = __nccwpck_require__(8484); -const utils_common_js_1 = __nccwpck_require__(60481); -const log_js_1 = __nccwpck_require__(85541); +const StorageRetryPolicyFactory_js_1 = __nccwpck_require__(63870); +const constants_js_1 = __nccwpck_require__(65866); +const utils_common_js_1 = __nccwpck_require__(48323); +const log_js_1 = __nccwpck_require__(68731); /** * Name of the {@link storageRetryPolicy} */ @@ -87263,7 +86101,7 @@ function storageRetryPolicy(options = {}) { /***/ }), -/***/ 9640: +/***/ 77430: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -87271,10 +86109,10 @@ function storageRetryPolicy(options = {}) { // Licensed under the MIT License. Object.defineProperty(exports, "__esModule", ({ value: true })); exports.StorageSharedKeyCredentialPolicy = void 0; -const constants_js_1 = __nccwpck_require__(8484); -const utils_common_js_1 = __nccwpck_require__(60481); -const CredentialPolicy_js_1 = __nccwpck_require__(21503); -const SharedKeyComparator_js_1 = __nccwpck_require__(41349); +const constants_js_1 = __nccwpck_require__(65866); +const utils_common_js_1 = __nccwpck_require__(48323); +const CredentialPolicy_js_1 = __nccwpck_require__(39105); +const SharedKeyComparator_js_1 = __nccwpck_require__(2856); /** * StorageSharedKeyCredentialPolicy is a policy used to sign HTTP request with a shared key. */ @@ -87332,7 +86170,7 @@ class StorageSharedKeyCredentialPolicy extends CredentialPolicy_js_1.CredentialP } /** * Retrieve header value according to shared key sign rules. - * @see https://learn.microsoft.com/en-us/rest/api/storageservices/authenticate-with-shared-key + * @see https://learn.microsoft.com/rest/api/storageservices/authenticate-with-shared-key * * @param request - * @param headerName - @@ -87344,7 +86182,7 @@ class StorageSharedKeyCredentialPolicy extends CredentialPolicy_js_1.CredentialP } // When using version 2015-02-21 or later, if Content-Length is zero, then // set the Content-Length part of the StringToSign to an empty string. - // https://learn.microsoft.com/en-us/rest/api/storageservices/authenticate-with-shared-key + // https://learn.microsoft.com/rest/api/storageservices/authenticate-with-shared-key if (headerName === constants_js_1.HeaderConstants.CONTENT_LENGTH && value === "0") { return ""; } @@ -87418,7 +86256,7 @@ exports.StorageSharedKeyCredentialPolicy = StorageSharedKeyCredentialPolicy; /***/ }), -/***/ 30332: +/***/ 10370: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -87428,9 +86266,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.storageSharedKeyCredentialPolicyName = void 0; exports.storageSharedKeyCredentialPolicy = storageSharedKeyCredentialPolicy; const node_crypto_1 = __nccwpck_require__(77598); -const constants_js_1 = __nccwpck_require__(8484); -const utils_common_js_1 = __nccwpck_require__(60481); -const SharedKeyComparator_js_1 = __nccwpck_require__(41349); +const constants_js_1 = __nccwpck_require__(65866); +const utils_common_js_1 = __nccwpck_require__(48323); +const SharedKeyComparator_js_1 = __nccwpck_require__(2856); /** * The programmatic identifier of the storageSharedKeyCredentialPolicy. */ @@ -87474,7 +86312,7 @@ function storageSharedKeyCredentialPolicy(options) { } /** * Retrieve header value according to shared key sign rules. - * @see https://learn.microsoft.com/en-us/rest/api/storageservices/authenticate-with-shared-key + * @see https://learn.microsoft.com/rest/api/storageservices/authenticate-with-shared-key */ function getHeaderValueToSign(request, headerName) { const value = request.headers.get(headerName); @@ -87483,7 +86321,7 @@ function storageSharedKeyCredentialPolicy(options) { } // When using version 2015-02-21 or later, if Content-Length is zero, then // set the Content-Length part of the StringToSign to an empty string. - // https://learn.microsoft.com/en-us/rest/api/storageservices/authenticate-with-shared-key + // https://learn.microsoft.com/rest/api/storageservices/authenticate-with-shared-key if (headerName === constants_js_1.HeaderConstants.CONTENT_LENGTH && value === "0") { return ""; } @@ -87560,7 +86398,7 @@ function storageSharedKeyCredentialPolicy(options) { /***/ }), -/***/ 41349: +/***/ 2856: /***/ ((__unused_webpack_module, exports) => { @@ -87642,7 +86480,7 @@ function isLessThan(lhs, rhs) { /***/ }), -/***/ 8484: +/***/ 65866: /***/ ((__unused_webpack_module, exports) => { @@ -87715,7 +86553,7 @@ exports.PathStylePorts = [ /***/ }), -/***/ 60481: +/***/ 48323: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { @@ -87751,7 +86589,7 @@ exports.EscapePath = EscapePath; exports.assertResponse = assertResponse; const core_rest_pipeline_1 = __nccwpck_require__(81591); const core_util_1 = __nccwpck_require__(33000); -const constants_js_1 = __nccwpck_require__(8484); +const constants_js_1 = __nccwpck_require__(65866); /** * Reserved URL characters must be properly escaped for Storage services like Blob or File. * @@ -87799,8 +86637,8 @@ const constants_js_1 = __nccwpck_require__(8484); * * We will apply strategy one, and call encodeURIComponent for these parameters like blobName. Because what customers passes in is a plain name instead of a URL. * - * @see https://learn.microsoft.com/en-us/rest/api/storageservices/naming-and-referencing-containers--blobs--and-metadata - * @see https://learn.microsoft.com/en-us/rest/api/storageservices/naming-and-referencing-shares--directories--files--and-metadata + * @see https://learn.microsoft.com/rest/api/storageservices/naming-and-referencing-containers--blobs--and-metadata + * @see https://learn.microsoft.com/rest/api/storageservices/naming-and-referencing-shares--directories--files--and-metadata * * @param url - */ @@ -87814,7 +86652,7 @@ function escapeURLPath(url) { } function getProxyUriFromDevConnString(connectionString) { // Development Connection String - // https://learn.microsoft.com/en-us/azure/storage/common/storage-configure-connection-string#connect-to-the-emulator-account-using-the-well-known-account-name-and-key + // https://learn.microsoft.com/azure/storage/common/storage-configure-connection-string#connect-to-the-emulator-account-using-the-well-known-account-name-and-key let proxyUri = ""; if (connectionString.search("DevelopmentStorageProxyUri=") !== -1) { // CONNECTION_STRING=UseDevelopmentStorage=true;DevelopmentStorageProxyUri=http://myProxyUri @@ -94224,10 +93062,10 @@ function randomUUID() { /***/ }), -/***/ 22947: +/***/ 87720: /***/ ((module) => { -module.exports = /*#__PURE__*/JSON.parse('{"name":"@actions/cache","version":"5.0.2","preview":true,"description":"Actions cache lib","keywords":["github","actions","cache"],"homepage":"https://github.com/actions/toolkit/tree/main/packages/cache","license":"MIT","main":"lib/cache.js","types":"lib/cache.d.ts","directories":{"lib":"lib","test":"__tests__"},"files":["lib","!.DS_Store"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/actions/toolkit.git","directory":"packages/cache"},"scripts":{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json","test":"echo \\"Error: run tests from root\\" && exit 1","tsc":"tsc"},"bugs":{"url":"https://github.com/actions/toolkit/issues"},"dependencies":{"@actions/core":"^2.0.0","@actions/exec":"^2.0.0","@actions/glob":"^0.5.0","@protobuf-ts/runtime-rpc":"^2.11.1","@actions/http-client":"^3.0.1","@actions/io":"^2.0.0","@azure/abort-controller":"^1.1.0","@azure/core-rest-pipeline":"^1.22.0","@azure/storage-blob":"^12.29.1","semver":"^6.3.1"},"devDependencies":{"@types/node":"^24.1.0","@types/semver":"^6.0.0","@protobuf-ts/plugin":"^2.9.4","typescript":"^5.2.2"},"overrides":{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}'); +module.exports = /*#__PURE__*/JSON.parse('{"name":"@actions/cache","version":"5.0.3","preview":true,"description":"Actions cache lib","keywords":["github","actions","cache"],"homepage":"https://github.com/actions/toolkit/tree/main/packages/cache","license":"MIT","main":"lib/cache.js","types":"lib/cache.d.ts","directories":{"lib":"lib","test":"__tests__"},"files":["lib","!.DS_Store"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/actions/toolkit.git","directory":"packages/cache"},"scripts":{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json","test":"echo \\"Error: run tests from root\\" && exit 1","tsc":"tsc"},"bugs":{"url":"https://github.com/actions/toolkit/issues"},"dependencies":{"@actions/core":"^2.0.0","@actions/exec":"^2.0.0","@actions/glob":"^0.5.0","@protobuf-ts/runtime-rpc":"^2.11.1","@actions/http-client":"^3.0.1","@actions/io":"^2.0.0","@azure/abort-controller":"^1.1.0","@azure/core-rest-pipeline":"^1.22.0","@azure/storage-blob":"^12.29.1","semver":"^6.3.1"},"devDependencies":{"@types/node":"^24.1.0","@types/semver":"^6.0.0","@protobuf-ts/plugin":"^2.9.4","typescript":"^5.2.2"},"overrides":{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}'); /***/ }) @@ -94328,7 +93166,7 @@ function firstString() { } } -;// CONCATENATED MODULE: ./node_modules/.pnpm/github.com+DeterminateSystems+detsys-ts@157fae9c23160158d80bff4260243a2f117febd4_zgvqckiaikh6cqaxwfr3gyksvi/node_modules/detsys-ts/dist/chunk-15K8U1wQ.mjs +;// CONCATENATED MODULE: ./node_modules/.pnpm/github.com+DeterminateSystems+detsys-ts@9c9f0b9d483ddc61fd4ff1f8d269b7006aa469d4_i4bvpum3pnjl2tw7ehqmsfcxsy/node_modules/detsys-ts/dist/chunk-15K8U1wQ.mjs //#region rolldown:runtime var __defProp = Object.defineProperty; var __exportAll = (all, symbols) => { @@ -96527,7 +95365,7 @@ var defaultDeserialize = (data) => JSON.parse(data, (_, value) => { }); -;// CONCATENATED MODULE: ./node_modules/.pnpm/keyv@5.5.5/node_modules/keyv/dist/index.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/keyv@5.6.0/node_modules/keyv/dist/index.js // src/index.ts @@ -96980,7 +95818,7 @@ var Keyv = class extends event_manager_default { continue; } if (typeof data.expires === "number" && Date.now() > data.expires) { - this.delete(key); + await this.delete(key); continue; } yield [this._getKeyUnprefix(key), data.value]; @@ -97000,6 +95838,9 @@ var Keyv = class extends event_manager_default { if (!this._namespace) { return key; } + if (key.startsWith(`${this._namespace}:`)) { + return key; + } return `${this._namespace}:${key}`; } _getKeyPrefixArray(keys) { @@ -103492,13 +102333,13 @@ const got = source_create(defaults); ;// CONCATENATED MODULE: external "node:dns/promises" const external_node_dns_promises_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:dns/promises"); -// EXTERNAL MODULE: ./node_modules/.pnpm/@actions+cache@5.0.2/node_modules/@actions/cache/lib/cache.js -var cache = __nccwpck_require__(31760); +// EXTERNAL MODULE: ./node_modules/.pnpm/@actions+cache@5.0.3/node_modules/@actions/cache/lib/cache.js +var cache = __nccwpck_require__(73171); ;// CONCATENATED MODULE: external "node:child_process" const external_node_child_process_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:child_process"); ;// CONCATENATED MODULE: external "node:path" const external_node_path_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:path"); -;// CONCATENATED MODULE: ./node_modules/.pnpm/github.com+DeterminateSystems+detsys-ts@157fae9c23160158d80bff4260243a2f117febd4_zgvqckiaikh6cqaxwfr3gyksvi/node_modules/detsys-ts/dist/index.mjs +;// CONCATENATED MODULE: ./node_modules/.pnpm/github.com+DeterminateSystems+detsys-ts@9c9f0b9d483ddc61fd4ff1f8d269b7006aa469d4_i4bvpum3pnjl2tw7ehqmsfcxsy/node_modules/detsys-ts/dist/index.mjs diff --git a/package.json b/package.json index c392373..4637bdb 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ }, "devDependencies": { "@trivago/prettier-plugin-sort-imports": "^4.3.0", - "@types/node": "^20.19.29", + "@types/node": "^20.19.30", "@types/uuid": "^9.0.8", "@typescript-eslint/eslint-plugin": "^7.18.0", "@vercel/ncc": "^0.38.4", @@ -45,7 +45,7 @@ "eslint-plugin-github": "^4.10.2", "eslint-plugin-import": "^2.32.0", "eslint-plugin-prettier": "^5.5.5", - "prettier": "^3.7.4", + "prettier": "^3.8.1", "tsup": "^8.5.1", "typescript": "^5.9.3" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 84516a2..9e94c34 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,7 +16,7 @@ dependencies: version: 6.0.1 detsys-ts: specifier: github:DeterminateSystems/detsys-ts - version: github.com/DeterminateSystems/detsys-ts/157fae9c23160158d80bff4260243a2f117febd4 + version: github.com/DeterminateSystems/detsys-ts/9c9f0b9d483ddc61fd4ff1f8d269b7006aa469d4 got: specifier: ^14.6.6 version: 14.6.6 @@ -25,15 +25,15 @@ dependencies: version: 0.3.2 vitest: specifier: ^3.2.4 - version: 3.2.4(@types/node@20.19.29) + version: 3.2.4(@types/node@20.19.30) devDependencies: "@trivago/prettier-plugin-sort-imports": specifier: ^4.3.0 - version: 4.3.0(prettier@3.7.4) + version: 4.3.0(prettier@3.8.1) "@types/node": - specifier: ^20.19.29 - version: 20.19.29 + specifier: ^20.19.30 + version: 20.19.30 "@types/uuid": specifier: ^9.0.8 version: 9.0.8 @@ -57,10 +57,10 @@ devDependencies: version: 2.32.0(@typescript-eslint/parser@7.18.0)(eslint-import-resolver-typescript@3.10.1)(eslint@8.57.1) eslint-plugin-prettier: specifier: ^5.5.5 - version: 5.5.5(eslint-config-prettier@10.1.8)(eslint@8.57.1)(prettier@3.7.4) + version: 5.5.5(eslint-config-prettier@10.1.8)(eslint@8.57.1)(prettier@3.8.1) prettier: - specifier: ^3.7.4 - version: 3.7.4 + specifier: ^3.8.1 + version: 3.8.1 tsup: specifier: ^8.5.1 version: 8.5.1(typescript@5.9.3) @@ -69,10 +69,10 @@ devDependencies: version: 5.9.3 packages: - /@actions/cache@5.0.2: + /@actions/cache@5.0.3: resolution: { - integrity: sha512-6w3i9n12eWJyut6TOnh7SIxGmeIepB5wbXMvlPv9+6CjvTD4OYKi1Wjh7TQrjEf8xLb6hxsVCpPsL/1gxnlTtw==, + integrity: sha512-9joY8Oup+nIpksSBlkuf9/mltnhWx3lydk1tA2PVnXaxFLIIrKqrWDN2CZXlJ+PEErcBARKYn4mHiUCTyMh4Vg==, } dependencies: "@actions/core": 2.0.2 @@ -82,7 +82,7 @@ packages: "@actions/io": 2.0.0 "@azure/abort-controller": 1.1.0 "@azure/core-rest-pipeline": 1.22.2 - "@azure/storage-blob": 12.29.1 + "@azure/storage-blob": 12.30.0 "@protobuf-ts/runtime-rpc": 2.11.1 semver: 6.3.1 transitivePeerDependencies: @@ -343,10 +343,10 @@ packages: - supports-color dev: false - /@azure/storage-blob@12.29.1: + /@azure/storage-blob@12.30.0: resolution: { - integrity: sha512-7ktyY0rfTM0vo7HvtK6E3UvYnI9qfd6Oz6z/+92VhGRveWng3kJwMKeUpqmW/NmwcDNbxHpSlldG+vsUnRFnBg==, + integrity: sha512-peDCR8blSqhsAKDbpSP/o55S4sheNwSrblvCaHUZ5xUI73XA7ieUGGwrONgD/Fng0EoDe1VOa3fAQ7+WGB3Ocg==, } engines: { node: ">=20.0.0" } dependencies: @@ -361,17 +361,17 @@ packages: "@azure/core-util": 1.13.1 "@azure/core-xml": 1.5.0 "@azure/logger": 1.3.0 - "@azure/storage-common": 12.1.1 + "@azure/storage-common": 12.2.0 events: 3.3.0 tslib: 2.8.1 transitivePeerDependencies: - supports-color dev: false - /@azure/storage-common@12.1.1: + /@azure/storage-common@12.2.0: resolution: { - integrity: sha512-eIOH1pqFwI6UmVNnDQvmFeSg0XppuzDLFeUNO/Xht7ODAzRLgGDh7h550pSxoA+lPDxBl1+D2m/KG3jWzCUjTg==, + integrity: sha512-YZLxiJ3vBAAnFbG3TFuAMUlxZRexjQX5JDQxOkFGb6e2TpoxH3xyHI6idsMe/QrWtj41U/KoqBxlayzhS+LlwA==, } engines: { node: ">=20.0.0" } dependencies: @@ -1210,250 +1210,250 @@ packages: } dev: false - /@rollup/rollup-android-arm-eabi@4.55.1: + /@rollup/rollup-android-arm-eabi@4.55.3: resolution: { - integrity: sha512-9R0DM/ykwfGIlNu6+2U09ga0WXeZ9MRC2Ter8jnz8415VbuIykVuc6bhdrbORFZANDmTDvq26mJrEVTl8TdnDg==, + integrity: sha512-qyX8+93kK/7R5BEXPC2PjUt0+fS/VO2BVHjEHyIEWiYn88rcRBHmdLgoJjktBltgAf+NY7RfCGB1SoyKS/p9kg==, } cpu: [arm] os: [android] requiresBuild: true optional: true - /@rollup/rollup-android-arm64@4.55.1: + /@rollup/rollup-android-arm64@4.55.3: resolution: { - integrity: sha512-eFZCb1YUqhTysgW3sj/55du5cG57S7UTNtdMjCW7LwVcj3dTTcowCsC8p7uBdzKsZYa8J7IDE8lhMI+HX1vQvg==, + integrity: sha512-6sHrL42bjt5dHQzJ12Q4vMKfN+kUnZ0atHHnv4V0Wd9JMTk7FDzSY35+7qbz3ypQYMBPANbpGK7JpnWNnhGt8g==, } cpu: [arm64] os: [android] requiresBuild: true optional: true - /@rollup/rollup-darwin-arm64@4.55.1: + /@rollup/rollup-darwin-arm64@4.55.3: resolution: { - integrity: sha512-p3grE2PHcQm2e8PSGZdzIhCKbMCw/xi9XvMPErPhwO17vxtvCN5FEA2mSLgmKlCjHGMQTP6phuQTYWUnKewwGg==, + integrity: sha512-1ht2SpGIjEl2igJ9AbNpPIKzb1B5goXOcmtD0RFxnwNuMxqkR6AUaaErZz+4o+FKmzxcSNBOLrzsICZVNYa1Rw==, } cpu: [arm64] os: [darwin] requiresBuild: true optional: true - /@rollup/rollup-darwin-x64@4.55.1: + /@rollup/rollup-darwin-x64@4.55.3: resolution: { - integrity: sha512-rDUjG25C9qoTm+e02Esi+aqTKSBYwVTaoS1wxcN47/Luqef57Vgp96xNANwt5npq9GDxsH7kXxNkJVEsWEOEaQ==, + integrity: sha512-FYZ4iVunXxtT+CZqQoPVwPhH7549e/Gy7PIRRtq4t5f/vt54pX6eG9ebttRH6QSH7r/zxAFA4EZGlQ0h0FvXiA==, } cpu: [x64] os: [darwin] requiresBuild: true optional: true - /@rollup/rollup-freebsd-arm64@4.55.1: + /@rollup/rollup-freebsd-arm64@4.55.3: resolution: { - integrity: sha512-+JiU7Jbp5cdxekIgdte0jfcu5oqw4GCKr6i3PJTlXTCU5H5Fvtkpbs4XJHRmWNXF+hKmn4v7ogI5OQPaupJgOg==, + integrity: sha512-M/mwDCJ4wLsIgyxv2Lj7Len+UMHd4zAXu4GQ2UaCdksStglWhP61U3uowkaYBQBhVoNpwx5Hputo8eSqM7K82Q==, } cpu: [arm64] os: [freebsd] requiresBuild: true optional: true - /@rollup/rollup-freebsd-x64@4.55.1: + /@rollup/rollup-freebsd-x64@4.55.3: resolution: { - integrity: sha512-V5xC1tOVWtLLmr3YUk2f6EJK4qksksOYiz/TCsFHu/R+woubcLWdC9nZQmwjOAbmExBIVKsm1/wKmEy4z4u4Bw==, + integrity: sha512-5jZT2c7jBCrMegKYTYTpni8mg8y3uY8gzeq2ndFOANwNuC/xJbVAoGKR9LhMDA0H3nIhvaqUoBEuJoICBudFrA==, } cpu: [x64] os: [freebsd] requiresBuild: true optional: true - /@rollup/rollup-linux-arm-gnueabihf@4.55.1: + /@rollup/rollup-linux-arm-gnueabihf@4.55.3: resolution: { - integrity: sha512-Rn3n+FUk2J5VWx+ywrG/HGPTD9jXNbicRtTM11e/uorplArnXZYsVifnPPqNNP5BsO3roI4n8332ukpY/zN7rQ==, + integrity: sha512-YeGUhkN1oA+iSPzzhEjVPS29YbViOr8s4lSsFaZKLHswgqP911xx25fPOyE9+khmN6W4VeM0aevbDp4kkEoHiA==, } cpu: [arm] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-arm-musleabihf@4.55.1: + /@rollup/rollup-linux-arm-musleabihf@4.55.3: resolution: { - integrity: sha512-grPNWydeKtc1aEdrJDWk4opD7nFtQbMmV7769hiAaYyUKCT1faPRm2av8CX1YJsZ4TLAZcg9gTR1KvEzoLjXkg==, + integrity: sha512-eo0iOIOvcAlWB3Z3eh8pVM8hZ0oVkK3AjEM9nSrkSug2l15qHzF3TOwT0747omI6+CJJvl7drwZepT+re6Fy/w==, } cpu: [arm] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-arm64-gnu@4.55.1: + /@rollup/rollup-linux-arm64-gnu@4.55.3: resolution: { - integrity: sha512-a59mwd1k6x8tXKcUxSyISiquLwB5pX+fJW9TkWU46lCqD/GRDe9uDN31jrMmVP3feI3mhAdvcCClhV8V5MhJFQ==, + integrity: sha512-DJay3ep76bKUDImmn//W5SvpjRN5LmK/ntWyeJs/dcnwiiHESd3N4uteK9FDLf0S0W8E6Y0sVRXpOCoQclQqNg==, } cpu: [arm64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-arm64-musl@4.55.1: + /@rollup/rollup-linux-arm64-musl@4.55.3: resolution: { - integrity: sha512-puS1MEgWX5GsHSoiAsF0TYrpomdvkaXm0CofIMG5uVkP6IBV+ZO9xhC5YEN49nsgYo1DuuMquF9+7EDBVYu4uA==, + integrity: sha512-BKKWQkY2WgJ5MC/ayvIJTHjy0JUGb5efaHCUiG/39sSUvAYRBaO3+/EK0AZT1RF3pSj86O24GLLik9mAYu0IJg==, } cpu: [arm64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-loong64-gnu@4.55.1: + /@rollup/rollup-linux-loong64-gnu@4.55.3: resolution: { - integrity: sha512-r3Wv40in+lTsULSb6nnoudVbARdOwb2u5fpeoOAZjFLznp6tDU8kd+GTHmJoqZ9lt6/Sys33KdIHUaQihFcu7g==, + integrity: sha512-Q9nVlWtKAG7ISW80OiZGxTr6rYtyDSkauHUtvkQI6TNOJjFvpj4gcH+KaJihqYInnAzEEUetPQubRwHef4exVg==, } cpu: [loong64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-loong64-musl@4.55.1: + /@rollup/rollup-linux-loong64-musl@4.55.3: resolution: { - integrity: sha512-MR8c0+UxAlB22Fq4R+aQSPBayvYa3+9DrwG/i1TKQXFYEaoW3B5b/rkSRIypcZDdWjWnpcvxbNaAJDcSbJU3Lw==, + integrity: sha512-2H5LmhzrpC4fFRNwknzmmTvvyJPHwESoJgyReXeFoYYuIDfBhP29TEXOkCJE/KxHi27mj7wDUClNq78ue3QEBQ==, } cpu: [loong64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-ppc64-gnu@4.55.1: + /@rollup/rollup-linux-ppc64-gnu@4.55.3: resolution: { - integrity: sha512-3KhoECe1BRlSYpMTeVrD4sh2Pw2xgt4jzNSZIIPLFEsnQn9gAnZagW9+VqDqAHgm1Xc77LzJOo2LdigS5qZ+gw==, + integrity: sha512-9S542V0ie9LCTznPYlvaeySwBeIEa7rDBgLHKZ5S9DBgcqdJYburabm8TqiqG6mrdTzfV5uttQRHcbKff9lWtA==, } cpu: [ppc64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-ppc64-musl@4.55.1: + /@rollup/rollup-linux-ppc64-musl@4.55.3: resolution: { - integrity: sha512-ziR1OuZx0vdYZZ30vueNZTg73alF59DicYrPViG0NEgDVN8/Jl87zkAPu4u6VjZST2llgEUjaiNl9JM6HH1Vdw==, + integrity: sha512-ukxw+YH3XXpcezLgbJeasgxyTbdpnNAkrIlFGDl7t+pgCxZ89/6n1a+MxlY7CegU+nDgrgdqDelPRNQ/47zs0g==, } cpu: [ppc64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-riscv64-gnu@4.55.1: + /@rollup/rollup-linux-riscv64-gnu@4.55.3: resolution: { - integrity: sha512-uW0Y12ih2XJRERZ4jAfKamTyIHVMPQnTZcQjme2HMVDAHY4amf5u414OqNYC+x+LzRdRcnIG1YodLrrtA8xsxw==, + integrity: sha512-Iauw9UsTTvlF++FhghFJjqYxyXdggXsOqGpFBylaRopVpcbfyIIsNvkf9oGwfgIcf57z3m8+/oSYTo6HutBFNw==, } cpu: [riscv64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-riscv64-musl@4.55.1: + /@rollup/rollup-linux-riscv64-musl@4.55.3: resolution: { - integrity: sha512-u9yZ0jUkOED1BFrqu3BwMQoixvGHGZ+JhJNkNKY/hyoEgOwlqKb62qu+7UjbPSHYjiVy8kKJHvXKv5coH4wDeg==, + integrity: sha512-3OqKAHSEQXKdq9mQ4eajqUgNIK27VZPW3I26EP8miIzuKzCJ3aW3oEn2pzF+4/Hj/Moc0YDsOtBgT5bZ56/vcA==, } cpu: [riscv64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-s390x-gnu@4.55.1: + /@rollup/rollup-linux-s390x-gnu@4.55.3: resolution: { - integrity: sha512-/0PenBCmqM4ZUd0190j7J0UsQ/1nsi735iPRakO8iPciE7BQ495Y6msPzaOmvx0/pn+eJVVlZrNrSh4WSYLxNg==, + integrity: sha512-0CM8dSVzVIaqMcXIFej8zZrSFLnGrAE8qlNbbHfTw1EEPnFTg1U1ekI0JdzjPyzSfUsHWtodilQQG/RA55berA==, } cpu: [s390x] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-x64-gnu@4.55.1: + /@rollup/rollup-linux-x64-gnu@4.55.3: resolution: { - integrity: sha512-a8G4wiQxQG2BAvo+gU6XrReRRqj+pLS2NGXKm8io19goR+K8lw269eTrPkSdDTALwMmJp4th2Uh0D8J9bEV1vg==, + integrity: sha512-+fgJE12FZMIgBaKIAGd45rxf+5ftcycANJRWk8Vz0NnMTM5rADPGuRFTYar+Mqs560xuART7XsX2lSACa1iOmQ==, } cpu: [x64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-x64-musl@4.55.1: + /@rollup/rollup-linux-x64-musl@4.55.3: resolution: { - integrity: sha512-bD+zjpFrMpP/hqkfEcnjXWHMw5BIghGisOKPj+2NaNDuVT+8Ds4mPf3XcPHuat1tz89WRL+1wbcxKY3WSbiT7w==, + integrity: sha512-tMD7NnbAolWPzQlJQJjVFh/fNH3K/KnA7K8gv2dJWCwwnaK6DFCYST1QXYWfu5V0cDwarWC8Sf/cfMHniNq21A==, } cpu: [x64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-openbsd-x64@4.55.1: + /@rollup/rollup-openbsd-x64@4.55.3: resolution: { - integrity: sha512-eLXw0dOiqE4QmvikfQ6yjgkg/xDM+MdU9YJuP4ySTibXU0oAvnEWXt7UDJmD4UkYialMfOGFPJnIHSe/kdzPxg==, + integrity: sha512-u5KsqxOxjEeIbn7bUK1MPM34jrnPwjeqgyin4/N6e/KzXKfpE9Mi0nCxcQjaM9lLmPcHmn/xx1yOjgTMtu1jWQ==, } cpu: [x64] os: [openbsd] requiresBuild: true optional: true - /@rollup/rollup-openharmony-arm64@4.55.1: + /@rollup/rollup-openharmony-arm64@4.55.3: resolution: { - integrity: sha512-xzm44KgEP11te3S2HCSyYf5zIzWmx3n8HDCc7EE59+lTcswEWNpvMLfd9uJvVX8LCg9QWG67Xt75AuHn4vgsXw==, + integrity: sha512-vo54aXwjpTtsAnb3ca7Yxs9t2INZg7QdXN/7yaoG7nPGbOBXYXQY41Km+S1Ov26vzOAzLcAjmMdjyEqS1JkVhw==, } cpu: [arm64] os: [openharmony] requiresBuild: true optional: true - /@rollup/rollup-win32-arm64-msvc@4.55.1: + /@rollup/rollup-win32-arm64-msvc@4.55.3: resolution: { - integrity: sha512-yR6Bl3tMC/gBok5cz/Qi0xYnVbIxGx5Fcf/ca0eB6/6JwOY+SRUcJfI0OpeTpPls7f194as62thCt/2BjxYN8g==, + integrity: sha512-HI+PIVZ+m+9AgpnY3pt6rinUdRYrGHvmVdsNQ4odNqQ/eRF78DVpMR7mOq7nW06QxpczibwBmeQzB68wJ+4W4A==, } cpu: [arm64] os: [win32] requiresBuild: true optional: true - /@rollup/rollup-win32-ia32-msvc@4.55.1: + /@rollup/rollup-win32-ia32-msvc@4.55.3: resolution: { - integrity: sha512-3fZBidchE0eY0oFZBnekYCfg+5wAB0mbpCBuofh5mZuzIU/4jIVkbESmd2dOsFNS78b53CYv3OAtwqkZZmU5nA==, + integrity: sha512-vRByotbdMo3Wdi+8oC2nVxtc3RkkFKrGaok+a62AT8lz/YBuQjaVYAS5Zcs3tPzW43Vsf9J0wehJbUY5xRSekA==, } cpu: [ia32] os: [win32] requiresBuild: true optional: true - /@rollup/rollup-win32-x64-gnu@4.55.1: + /@rollup/rollup-win32-x64-gnu@4.55.3: resolution: { - integrity: sha512-xGGY5pXj69IxKb4yv/POoocPy/qmEGhimy/FoTpTSVju3FYXUQQMFCaZZXJVidsmGxRioZAwpThl/4zX41gRKg==, + integrity: sha512-POZHq7UeuzMJljC5NjKi8vKMFN6/5EOqcX1yGntNLp7rUTpBAXQ1hW8kWPFxYLv07QMcNM75xqVLGPWQq6TKFA==, } cpu: [x64] os: [win32] requiresBuild: true optional: true - /@rollup/rollup-win32-x64-msvc@4.55.1: + /@rollup/rollup-win32-x64-msvc@4.55.3: resolution: { - integrity: sha512-SPEpaL6DX4rmcXtnhdrQYgzQ5W2uW3SCJch88lB2zImhJRhIIK44fkUrgIV/Q8yUNfw5oyZ5vkeQsZLhCb06lw==, + integrity: sha512-aPFONczE4fUFKNXszdvnd2GqKEYQdV5oEsIbKPujJmWlCI9zEsv1Otig8RKK+X9bed9gFUN6LAeN4ZcNuu4zjg==, } cpu: [x64] os: [win32] @@ -1482,7 +1482,7 @@ packages: engines: { node: ">=18" } dev: false - /@trivago/prettier-plugin-sort-imports@4.3.0(prettier@3.7.4): + /@trivago/prettier-plugin-sort-imports@4.3.0(prettier@3.8.1): resolution: { integrity: sha512-r3n0onD3BTOVUNPhR4lhVK4/pABGpbA7bW3eumZnYdKaHkf1qEC+Mag6DPbGNuuh0eG8AaYj+YqmVHSiGslaTQ==, @@ -1499,8 +1499,8 @@ packages: "@babel/traverse": 7.23.2 "@babel/types": 7.17.0 javascript-natural-sort: 0.7.1 - lodash: 4.17.21 - prettier: 3.7.4 + lodash: 4.17.23 + prettier: 3.8.1 transitivePeerDependencies: - supports-color dev: true @@ -1553,10 +1553,10 @@ packages: } dev: true - /@types/node@20.19.29: + /@types/node@20.19.30: resolution: { - integrity: sha512-YrT9ArrGaHForBaCNwFjoqJWmn8G1Pr7+BH/vwyLHciA9qT/wSiuOhxGCT50JA5xLvFBd6PIiGkE3afxcPE1nw==, + integrity: sha512-WJtwWJu7UdlvzEAUm484QNg5eAoq5QR08KDNx7g45Usrs2NtOPiX8ugDqmKdXkyL03rBqU5dYNYVQetEpBHq2g==, } dependencies: undici-types: 6.21.0 @@ -1989,7 +1989,7 @@ packages: "@vitest/spy": 3.2.4 estree-walker: 3.0.3 magic-string: 0.30.21 - vite: 7.3.1(@types/node@20.19.29) + vite: 7.3.1(@types/node@20.19.30) dev: false /@vitest/pretty-format@3.2.4: @@ -2272,10 +2272,10 @@ packages: integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==, } - /baseline-browser-mapping@2.9.14: + /baseline-browser-mapping@2.9.17: resolution: { - integrity: sha512-B0xUquLkiGLgHhpPBqvl7GWegWBUNuujQ6kXd/r1U38ElPT6Ok8KZ8e+FpUGEc2ZoRQUzq/aUnaKFc/svWUGSg==, + integrity: sha512-agD0MgJFUP/4nvjqzIB29zRPUuCF7Ge6mEv9s8dHrtYD7QWXRcx75rOADE/d5ah1NI+0vkDl0yorDd5U852IQQ==, } hasBin: true dev: true @@ -2323,8 +2323,8 @@ packages: engines: { node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7 } hasBin: true dependencies: - baseline-browser-mapping: 2.9.14 - caniuse-lite: 1.0.30001764 + baseline-browser-mapping: 2.9.17 + caniuse-lite: 1.0.30001765 electron-to-chromium: 1.5.267 node-releases: 2.0.27 update-browserslist-db: 1.2.3(browserslist@4.28.1) @@ -2376,7 +2376,7 @@ packages: "@types/http-cache-semantics": 4.0.4 get-stream: 9.0.1 http-cache-semantics: 4.2.0 - keyv: 5.5.5 + keyv: 5.6.0 mimic-response: 4.0.0 normalize-url: 8.1.1 responselike: 4.0.2 @@ -2425,10 +2425,10 @@ packages: engines: { node: ">=6" } dev: true - /caniuse-lite@1.0.30001764: + /caniuse-lite@1.0.30001765: resolution: { - integrity: sha512-9JGuzl2M+vPL+pz70gtMF9sHdMFbY9FJaQBi186cHKH3pSzDvzoUJUPV6fqiKIMyXbud9ZLg4F3Yza1vJ1+93g==, + integrity: sha512-LWcNtSyZrakjECqmpP4qdg0MMGdN368D7X8XvvAqOcqMv0RxnlqVKZl2V6/mBR68oYMxOZPLw/gO7DuisMHUvQ==, } dev: true @@ -2776,7 +2776,7 @@ packages: typed-array-byte-offset: 1.0.4 typed-array-length: 1.0.7 unbox-primitive: 1.1.0 - which-typed-array: 1.1.19 + which-typed-array: 1.1.20 dev: true /es-define-property@1.0.1: @@ -3057,10 +3057,10 @@ packages: eslint-plugin-import: 2.32.0(@typescript-eslint/parser@7.18.0)(eslint-import-resolver-typescript@3.10.1)(eslint@8.57.1) eslint-plugin-jsx-a11y: 6.10.2(eslint@8.57.1) eslint-plugin-no-only-tests: 3.3.0 - eslint-plugin-prettier: 5.5.5(eslint-config-prettier@10.1.8)(eslint@8.57.1)(prettier@3.7.4) + eslint-plugin-prettier: 5.5.5(eslint-config-prettier@10.1.8)(eslint@8.57.1)(prettier@3.8.1) eslint-rule-documentation: 1.0.23 jsx-ast-utils: 3.3.5 - prettier: 3.7.4 + prettier: 3.8.1 svg-element-attributes: 1.3.1 transitivePeerDependencies: - "@types/eslint" @@ -3156,7 +3156,7 @@ packages: engines: { node: ">=5.0.0" } dev: true - /eslint-plugin-prettier@5.5.5(eslint-config-prettier@10.1.8)(eslint@8.57.1)(prettier@3.7.4): + /eslint-plugin-prettier@5.5.5(eslint-config-prettier@10.1.8)(eslint@8.57.1)(prettier@3.8.1): resolution: { integrity: sha512-hscXkbqUZ2sPithAuLm5MXL+Wph+U7wHngPBv9OMWwlP8iaflyxpjTYZkmdgB4/vPIhemRlBEoLrH7UC1n7aUw==, @@ -3175,7 +3175,7 @@ packages: dependencies: eslint: 8.57.1 eslint-config-prettier: 10.1.8(eslint@8.57.1) - prettier: 3.7.4 + prettier: 3.8.1 prettier-linter-helpers: 1.0.1 synckit: 0.11.12 dev: true @@ -3445,7 +3445,7 @@ packages: dependencies: magic-string: 0.30.21 mlly: 1.8.0 - rollup: 4.55.1 + rollup: 4.55.3 dev: true /flat-cache@3.2.0: @@ -3702,7 +3702,7 @@ packages: decompress-response: 10.0.0 form-data-encoder: 4.1.0 http2-wrapper: 2.2.1 - keyv: 5.5.5 + keyv: 5.6.0 lowercase-keys: 3.0.0 p-cancelable: 4.0.1 responselike: 4.0.2 @@ -4131,7 +4131,7 @@ packages: } engines: { node: ">= 0.4" } dependencies: - which-typed-array: 1.1.19 + which-typed-array: 1.1.20 dev: true /is-weakmap@2.0.2: @@ -4287,10 +4287,10 @@ packages: json-buffer: 3.0.1 dev: true - /keyv@5.5.5: + /keyv@5.6.0: resolution: { - integrity: sha512-FA5LmZVF1VziNc0bIdCSA1IoSVnDCqE8HJIZZv2/W8YmoAM50+tnUgJR/gQZwEeIMleuIOnRnHA/UaZRNeV4iQ==, + integrity: sha512-CYDD3SOtsHtyXeEORYRx2qBtpDJFjRTGXUtmNEMGyzYOKj1TE3tycdlho7kA1Ufx9OYWZzg52QFBGALTirzDSw==, } dependencies: "@keyv/serialize": 1.1.1 @@ -4392,10 +4392,10 @@ packages: } dev: true - /lodash@4.17.21: + /lodash@4.17.23: resolution: { - integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==, + integrity: sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==, } dev: true @@ -4491,7 +4491,7 @@ packages: acorn: 8.15.0 pathe: 2.0.3 pkg-types: 1.3.1 - ufo: 1.6.2 + ufo: 1.6.3 dev: true /ms@2.1.3: @@ -4856,10 +4856,10 @@ packages: fast-diff: 1.3.0 dev: true - /prettier@3.7.4: + /prettier@3.8.1: resolution: { - integrity: sha512-v6UNi1+3hSlVvv8fSaoUbggEM5VErKmmpGA7Pl3HF8V6uKY7rvClBOJlH6yNwQtfTueNkGVpOv/mtWL9L4bgRA==, + integrity: sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg==, } engines: { node: ">=14" } hasBin: true @@ -5000,41 +5000,41 @@ packages: glob: 7.2.3 dev: true - /rollup@4.55.1: + /rollup@4.55.3: resolution: { - integrity: sha512-wDv/Ht1BNHB4upNbK74s9usvl7hObDnvVzknxqY/E/O3X6rW1U1rV1aENEfJ54eFZDTNo7zv1f5N4edCluH7+A==, + integrity: sha512-y9yUpfQvetAjiDLtNMf1hL9NXchIJgWt6zIKeoB+tCd3npX08Eqfzg60V9DhIGVMtQ0AlMkFw5xa+AQ37zxnAA==, } engines: { node: ">=18.0.0", npm: ">=8.0.0" } hasBin: true dependencies: "@types/estree": 1.0.8 optionalDependencies: - "@rollup/rollup-android-arm-eabi": 4.55.1 - "@rollup/rollup-android-arm64": 4.55.1 - "@rollup/rollup-darwin-arm64": 4.55.1 - "@rollup/rollup-darwin-x64": 4.55.1 - "@rollup/rollup-freebsd-arm64": 4.55.1 - "@rollup/rollup-freebsd-x64": 4.55.1 - "@rollup/rollup-linux-arm-gnueabihf": 4.55.1 - "@rollup/rollup-linux-arm-musleabihf": 4.55.1 - "@rollup/rollup-linux-arm64-gnu": 4.55.1 - "@rollup/rollup-linux-arm64-musl": 4.55.1 - "@rollup/rollup-linux-loong64-gnu": 4.55.1 - "@rollup/rollup-linux-loong64-musl": 4.55.1 - "@rollup/rollup-linux-ppc64-gnu": 4.55.1 - "@rollup/rollup-linux-ppc64-musl": 4.55.1 - "@rollup/rollup-linux-riscv64-gnu": 4.55.1 - "@rollup/rollup-linux-riscv64-musl": 4.55.1 - "@rollup/rollup-linux-s390x-gnu": 4.55.1 - "@rollup/rollup-linux-x64-gnu": 4.55.1 - "@rollup/rollup-linux-x64-musl": 4.55.1 - "@rollup/rollup-openbsd-x64": 4.55.1 - "@rollup/rollup-openharmony-arm64": 4.55.1 - "@rollup/rollup-win32-arm64-msvc": 4.55.1 - "@rollup/rollup-win32-ia32-msvc": 4.55.1 - "@rollup/rollup-win32-x64-gnu": 4.55.1 - "@rollup/rollup-win32-x64-msvc": 4.55.1 + "@rollup/rollup-android-arm-eabi": 4.55.3 + "@rollup/rollup-android-arm64": 4.55.3 + "@rollup/rollup-darwin-arm64": 4.55.3 + "@rollup/rollup-darwin-x64": 4.55.3 + "@rollup/rollup-freebsd-arm64": 4.55.3 + "@rollup/rollup-freebsd-x64": 4.55.3 + "@rollup/rollup-linux-arm-gnueabihf": 4.55.3 + "@rollup/rollup-linux-arm-musleabihf": 4.55.3 + "@rollup/rollup-linux-arm64-gnu": 4.55.3 + "@rollup/rollup-linux-arm64-musl": 4.55.3 + "@rollup/rollup-linux-loong64-gnu": 4.55.3 + "@rollup/rollup-linux-loong64-musl": 4.55.3 + "@rollup/rollup-linux-ppc64-gnu": 4.55.3 + "@rollup/rollup-linux-ppc64-musl": 4.55.3 + "@rollup/rollup-linux-riscv64-gnu": 4.55.3 + "@rollup/rollup-linux-riscv64-musl": 4.55.3 + "@rollup/rollup-linux-s390x-gnu": 4.55.3 + "@rollup/rollup-linux-x64-gnu": 4.55.3 + "@rollup/rollup-linux-x64-musl": 4.55.3 + "@rollup/rollup-openbsd-x64": 4.55.3 + "@rollup/rollup-openharmony-arm64": 4.55.3 + "@rollup/rollup-win32-arm64-msvc": 4.55.3 + "@rollup/rollup-win32-ia32-msvc": 4.55.3 + "@rollup/rollup-win32-x64-gnu": 4.55.3 + "@rollup/rollup-win32-x64-msvc": 4.55.3 fsevents: 2.3.3 /run-parallel@1.2.0: @@ -5612,7 +5612,7 @@ packages: picocolors: 1.1.1 postcss-load-config: 6.0.1 resolve-from: 5.0.0 - rollup: 4.55.1 + rollup: 4.55.3 source-map: 0.7.6 sucrase: 3.35.1 tinyexec: 0.3.2 @@ -5736,10 +5736,10 @@ packages: hasBin: true dev: true - /ufo@1.6.2: + /ufo@1.6.3: resolution: { - integrity: sha512-heMioaxBcG9+Znsda5Q8sQbWnLJSl98AFDXTO80wELWEzX3hordXsTdxrIfMQoO9IY1MEnoGoPjpoKpMj+Yx0Q==, + integrity: sha512-yDJTmhydvl5lJzBmy/hyOAA0d+aqCBuwl818haVdYCRrWV84o7YyeVm4QlVHStqNrrJSTb6jKuFAVqAFsr+K3Q==, } dev: true @@ -5832,7 +5832,7 @@ packages: punycode: 2.3.1 dev: true - /vite-node@3.2.4(@types/node@20.19.29): + /vite-node@3.2.4(@types/node@20.19.30): resolution: { integrity: sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==, @@ -5844,7 +5844,7 @@ packages: debug: 4.4.3 es-module-lexer: 1.7.0 pathe: 2.0.3 - vite: 7.3.1(@types/node@20.19.29) + vite: 7.3.1(@types/node@20.19.30) transitivePeerDependencies: - "@types/node" - jiti @@ -5860,7 +5860,7 @@ packages: - yaml dev: false - /vite@7.3.1(@types/node@20.19.29): + /vite@7.3.1(@types/node@20.19.30): resolution: { integrity: sha512-w+N7Hifpc3gRjZ63vYBXA56dvvRlNWRczTdmCBBa+CotUzAPf5b7YMdMR/8CQoeYE5LX3W4wj6RYTgonm1b9DA==, @@ -5903,18 +5903,18 @@ packages: yaml: optional: true dependencies: - "@types/node": 20.19.29 + "@types/node": 20.19.30 esbuild: 0.27.2 fdir: 6.5.0(picomatch@4.0.3) picomatch: 4.0.3 postcss: 8.5.6 - rollup: 4.55.1 + rollup: 4.55.3 tinyglobby: 0.2.15 optionalDependencies: fsevents: 2.3.3 dev: false - /vitest@3.2.4(@types/node@20.19.29): + /vitest@3.2.4(@types/node@20.19.30): resolution: { integrity: sha512-LUCP5ev3GURDysTWiP47wRRUpLKMOfPh+yKTx3kVIEiu5KOMeqzpnYNsKyOoVrULivR8tLcks4+lga33Whn90A==, @@ -5946,7 +5946,7 @@ packages: optional: true dependencies: "@types/chai": 5.2.3 - "@types/node": 20.19.29 + "@types/node": 20.19.30 "@vitest/expect": 3.2.4 "@vitest/mocker": 3.2.4(vite@7.3.1) "@vitest/pretty-format": 3.2.4 @@ -5966,8 +5966,8 @@ packages: tinyglobby: 0.2.15 tinypool: 1.1.1 tinyrainbow: 2.0.0 - vite: 7.3.1(@types/node@20.19.29) - vite-node: 3.2.4(@types/node@20.19.29) + vite: 7.3.1(@types/node@20.19.30) + vite-node: 3.2.4(@types/node@20.19.30) why-is-node-running: 2.3.0 transitivePeerDependencies: - jiti @@ -6017,7 +6017,7 @@ packages: isarray: 2.0.5 which-boxed-primitive: 1.1.1 which-collection: 1.0.2 - which-typed-array: 1.1.19 + which-typed-array: 1.1.20 dev: true /which-collection@1.0.2: @@ -6033,10 +6033,10 @@ packages: is-weakset: 2.0.4 dev: true - /which-typed-array@1.1.19: + /which-typed-array@1.1.20: resolution: { - integrity: sha512-rEvr90Bck4WZt9HHFC4DJMsjvu7x+r6bImz0/BrbWb7A2djJ8hnZMrWnHo9F8ssv0OMErasDhftrfROTyqSDrw==, + integrity: sha512-LYfpUkmqwl0h9A2HL09Mms427Q1RZWuOHsukfVcKRq9q95iQxdw0ix1JQrqbcDR9PH1QDwf5Qo8OZb5lksZ8Xg==, } engines: { node: ">= 0.4" } dependencies: @@ -6094,15 +6094,15 @@ packages: engines: { node: ">=10" } dev: true - github.com/DeterminateSystems/detsys-ts/157fae9c23160158d80bff4260243a2f117febd4: + github.com/DeterminateSystems/detsys-ts/9c9f0b9d483ddc61fd4ff1f8d269b7006aa469d4: resolution: { - tarball: https://codeload.github.com/DeterminateSystems/detsys-ts/tar.gz/157fae9c23160158d80bff4260243a2f117febd4, + tarball: https://codeload.github.com/DeterminateSystems/detsys-ts/tar.gz/9c9f0b9d483ddc61fd4ff1f8d269b7006aa469d4, } name: detsys-ts version: 1.0.0 dependencies: - "@actions/cache": 5.0.2 + "@actions/cache": 5.0.3 "@actions/core": 2.0.2 "@actions/exec": 2.0.0 got: 14.6.6