@rharkor/caching-for-turbo 2.2.2 → 2.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -0
- package/dist/cli/index.js +1933 -335
- package/package.json +2 -2
package/dist/cli/index.js
CHANGED
|
@@ -10904,6 +10904,7 @@ __export(index_exports, {
|
|
|
10904
10904
|
CopyObjectOutputFilterSensitiveLog: () => CopyObjectOutputFilterSensitiveLog,
|
|
10905
10905
|
CopyObjectRequestFilterSensitiveLog: () => CopyObjectRequestFilterSensitiveLog,
|
|
10906
10906
|
CreateBucketCommand: () => CreateBucketCommand,
|
|
10907
|
+
CreateBucketMetadataConfigurationCommand: () => CreateBucketMetadataConfigurationCommand,
|
|
10907
10908
|
CreateBucketMetadataTableConfigurationCommand: () => CreateBucketMetadataTableConfigurationCommand,
|
|
10908
10909
|
CreateMultipartUploadCommand: () => CreateMultipartUploadCommand,
|
|
10909
10910
|
CreateMultipartUploadOutputFilterSensitiveLog: () => CreateMultipartUploadOutputFilterSensitiveLog,
|
|
@@ -10919,6 +10920,7 @@ __export(index_exports, {
|
|
|
10919
10920
|
DeleteBucketIntelligentTieringConfigurationCommand: () => DeleteBucketIntelligentTieringConfigurationCommand,
|
|
10920
10921
|
DeleteBucketInventoryConfigurationCommand: () => DeleteBucketInventoryConfigurationCommand,
|
|
10921
10922
|
DeleteBucketLifecycleCommand: () => DeleteBucketLifecycleCommand,
|
|
10923
|
+
DeleteBucketMetadataConfigurationCommand: () => DeleteBucketMetadataConfigurationCommand,
|
|
10922
10924
|
DeleteBucketMetadataTableConfigurationCommand: () => DeleteBucketMetadataTableConfigurationCommand,
|
|
10923
10925
|
DeleteBucketMetricsConfigurationCommand: () => DeleteBucketMetricsConfigurationCommand,
|
|
10924
10926
|
DeleteBucketOwnershipControlsCommand: () => DeleteBucketOwnershipControlsCommand,
|
|
@@ -10936,6 +10938,7 @@ __export(index_exports, {
|
|
|
10936
10938
|
EncryptionTypeMismatch: () => EncryptionTypeMismatch,
|
|
10937
10939
|
Event: () => Event,
|
|
10938
10940
|
ExistingObjectReplicationStatus: () => ExistingObjectReplicationStatus,
|
|
10941
|
+
ExpirationState: () => ExpirationState,
|
|
10939
10942
|
ExpirationStatus: () => ExpirationStatus,
|
|
10940
10943
|
ExpressionType: () => ExpressionType,
|
|
10941
10944
|
FileHeaderInfo: () => FileHeaderInfo,
|
|
@@ -10952,6 +10955,7 @@ __export(index_exports, {
|
|
|
10952
10955
|
GetBucketLifecycleConfigurationCommand: () => GetBucketLifecycleConfigurationCommand,
|
|
10953
10956
|
GetBucketLocationCommand: () => GetBucketLocationCommand,
|
|
10954
10957
|
GetBucketLoggingCommand: () => GetBucketLoggingCommand,
|
|
10958
|
+
GetBucketMetadataConfigurationCommand: () => GetBucketMetadataConfigurationCommand,
|
|
10955
10959
|
GetBucketMetadataTableConfigurationCommand: () => GetBucketMetadataTableConfigurationCommand,
|
|
10956
10960
|
GetBucketMetricsConfigurationCommand: () => GetBucketMetricsConfigurationCommand,
|
|
10957
10961
|
GetBucketNotificationConfigurationCommand: () => GetBucketNotificationConfigurationCommand,
|
|
@@ -10987,6 +10991,7 @@ __export(index_exports, {
|
|
|
10987
10991
|
InvalidRequest: () => InvalidRequest,
|
|
10988
10992
|
InvalidWriteOffset: () => InvalidWriteOffset,
|
|
10989
10993
|
InventoryConfigurationFilterSensitiveLog: () => InventoryConfigurationFilterSensitiveLog,
|
|
10994
|
+
InventoryConfigurationState: () => InventoryConfigurationState,
|
|
10990
10995
|
InventoryDestinationFilterSensitiveLog: () => InventoryDestinationFilterSensitiveLog,
|
|
10991
10996
|
InventoryEncryptionFilterSensitiveLog: () => InventoryEncryptionFilterSensitiveLog,
|
|
10992
10997
|
InventoryFormat: () => InventoryFormat,
|
|
@@ -11081,6 +11086,7 @@ __export(index_exports, {
|
|
|
11081
11086
|
S3Client: () => S3Client,
|
|
11082
11087
|
S3LocationFilterSensitiveLog: () => S3LocationFilterSensitiveLog,
|
|
11083
11088
|
S3ServiceException: () => S3ServiceException,
|
|
11089
|
+
S3TablesBucketType: () => S3TablesBucketType,
|
|
11084
11090
|
SSEKMSFilterSensitiveLog: () => SSEKMSFilterSensitiveLog,
|
|
11085
11091
|
SelectObjectContentCommand: () => SelectObjectContentCommand,
|
|
11086
11092
|
SelectObjectContentEventStream: () => SelectObjectContentEventStream,
|
|
@@ -11096,12 +11102,15 @@ __export(index_exports, {
|
|
|
11096
11102
|
SseKmsEncryptedObjectsStatus: () => SseKmsEncryptedObjectsStatus,
|
|
11097
11103
|
StorageClass: () => StorageClass,
|
|
11098
11104
|
StorageClassAnalysisSchemaVersion: () => StorageClassAnalysisSchemaVersion,
|
|
11105
|
+
TableSseAlgorithm: () => TableSseAlgorithm,
|
|
11099
11106
|
TaggingDirective: () => TaggingDirective,
|
|
11100
11107
|
Tier: () => Tier,
|
|
11101
11108
|
TooManyParts: () => TooManyParts,
|
|
11102
11109
|
TransitionDefaultMinimumObjectSize: () => TransitionDefaultMinimumObjectSize,
|
|
11103
11110
|
TransitionStorageClass: () => TransitionStorageClass,
|
|
11104
11111
|
Type: () => Type,
|
|
11112
|
+
UpdateBucketMetadataInventoryTableConfigurationCommand: () => UpdateBucketMetadataInventoryTableConfigurationCommand,
|
|
11113
|
+
UpdateBucketMetadataJournalTableConfigurationCommand: () => UpdateBucketMetadataJournalTableConfigurationCommand,
|
|
11105
11114
|
UploadPartCommand: () => UploadPartCommand,
|
|
11106
11115
|
UploadPartCopyCommand: () => UploadPartCopyCommand,
|
|
11107
11116
|
UploadPartCopyOutputFilterSensitiveLog: () => UploadPartCopyOutputFilterSensitiveLog,
|
|
@@ -11403,6 +11412,18 @@ var ObjectOwnership = {
|
|
|
11403
11412
|
BucketOwnerPreferred: "BucketOwnerPreferred",
|
|
11404
11413
|
ObjectWriter: "ObjectWriter"
|
|
11405
11414
|
};
|
|
11415
|
+
var InventoryConfigurationState = {
|
|
11416
|
+
DISABLED: "DISABLED",
|
|
11417
|
+
ENABLED: "ENABLED"
|
|
11418
|
+
};
|
|
11419
|
+
var TableSseAlgorithm = {
|
|
11420
|
+
AES256: "AES256",
|
|
11421
|
+
aws_kms: "aws:kms"
|
|
11422
|
+
};
|
|
11423
|
+
var ExpirationState = {
|
|
11424
|
+
DISABLED: "DISABLED",
|
|
11425
|
+
ENABLED: "ENABLED"
|
|
11426
|
+
};
|
|
11406
11427
|
var SessionMode = {
|
|
11407
11428
|
ReadOnly: "ReadOnly",
|
|
11408
11429
|
ReadWrite: "ReadWrite"
|
|
@@ -11503,6 +11524,10 @@ var PartitionDateSource = {
|
|
|
11503
11524
|
DeliveryTime: "DeliveryTime",
|
|
11504
11525
|
EventTime: "EventTime"
|
|
11505
11526
|
};
|
|
11527
|
+
var S3TablesBucketType = {
|
|
11528
|
+
aws: "aws",
|
|
11529
|
+
customer: "customer"
|
|
11530
|
+
};
|
|
11506
11531
|
var MetricsFilter;
|
|
11507
11532
|
((MetricsFilter2) => {
|
|
11508
11533
|
MetricsFilter2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
@@ -11679,26 +11704,6 @@ var ArchiveStatus = {
|
|
|
11679
11704
|
var EncodingType = {
|
|
11680
11705
|
url: "url"
|
|
11681
11706
|
};
|
|
11682
|
-
var ObjectStorageClass = {
|
|
11683
|
-
DEEP_ARCHIVE: "DEEP_ARCHIVE",
|
|
11684
|
-
EXPRESS_ONEZONE: "EXPRESS_ONEZONE",
|
|
11685
|
-
FSX_OPENZFS: "FSX_OPENZFS",
|
|
11686
|
-
GLACIER: "GLACIER",
|
|
11687
|
-
GLACIER_IR: "GLACIER_IR",
|
|
11688
|
-
INTELLIGENT_TIERING: "INTELLIGENT_TIERING",
|
|
11689
|
-
ONEZONE_IA: "ONEZONE_IA",
|
|
11690
|
-
OUTPOSTS: "OUTPOSTS",
|
|
11691
|
-
REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY",
|
|
11692
|
-
SNOW: "SNOW",
|
|
11693
|
-
STANDARD: "STANDARD",
|
|
11694
|
-
STANDARD_IA: "STANDARD_IA"
|
|
11695
|
-
};
|
|
11696
|
-
var OptionalObjectAttributes = {
|
|
11697
|
-
RESTORE_STATUS: "RestoreStatus"
|
|
11698
|
-
};
|
|
11699
|
-
var ObjectVersionStorageClass = {
|
|
11700
|
-
STANDARD: "STANDARD"
|
|
11701
|
-
};
|
|
11702
11707
|
var CompleteMultipartUploadOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
11703
11708
|
...obj,
|
|
11704
11709
|
...obj.SSEKMSKeyId && { SSEKMSKeyId: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -11829,10 +11834,6 @@ var ListBucketInventoryConfigurationsOutputFilterSensitiveLog = /* @__PURE__ */
|
|
|
11829
11834
|
)
|
|
11830
11835
|
}
|
|
11831
11836
|
}), "ListBucketInventoryConfigurationsOutputFilterSensitiveLog");
|
|
11832
|
-
var ListPartsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
11833
|
-
...obj,
|
|
11834
|
-
...obj.SSECustomerKey && { SSECustomerKey: import_smithy_client.SENSITIVE_STRING }
|
|
11835
|
-
}), "ListPartsRequestFilterSensitiveLog");
|
|
11836
11837
|
|
|
11837
11838
|
// src/protocols/Aws_restXml.ts
|
|
11838
11839
|
var import_core = __nccwpck_require__(8704);
|
|
@@ -11844,6 +11845,26 @@ var import_uuid = __nccwpck_require__(57977);
|
|
|
11844
11845
|
|
|
11845
11846
|
// src/models/models_1.ts
|
|
11846
11847
|
|
|
11848
|
+
var ObjectStorageClass = {
|
|
11849
|
+
DEEP_ARCHIVE: "DEEP_ARCHIVE",
|
|
11850
|
+
EXPRESS_ONEZONE: "EXPRESS_ONEZONE",
|
|
11851
|
+
FSX_OPENZFS: "FSX_OPENZFS",
|
|
11852
|
+
GLACIER: "GLACIER",
|
|
11853
|
+
GLACIER_IR: "GLACIER_IR",
|
|
11854
|
+
INTELLIGENT_TIERING: "INTELLIGENT_TIERING",
|
|
11855
|
+
ONEZONE_IA: "ONEZONE_IA",
|
|
11856
|
+
OUTPOSTS: "OUTPOSTS",
|
|
11857
|
+
REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY",
|
|
11858
|
+
SNOW: "SNOW",
|
|
11859
|
+
STANDARD: "STANDARD",
|
|
11860
|
+
STANDARD_IA: "STANDARD_IA"
|
|
11861
|
+
};
|
|
11862
|
+
var OptionalObjectAttributes = {
|
|
11863
|
+
RESTORE_STATUS: "RestoreStatus"
|
|
11864
|
+
};
|
|
11865
|
+
var ObjectVersionStorageClass = {
|
|
11866
|
+
STANDARD: "STANDARD"
|
|
11867
|
+
};
|
|
11847
11868
|
var MFADelete = {
|
|
11848
11869
|
Disabled: "Disabled",
|
|
11849
11870
|
Enabled: "Enabled"
|
|
@@ -11996,6 +12017,10 @@ var SelectObjectContentEventStream;
|
|
|
11996
12017
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
11997
12018
|
}, "visit");
|
|
11998
12019
|
})(SelectObjectContentEventStream || (SelectObjectContentEventStream = {}));
|
|
12020
|
+
var ListPartsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
12021
|
+
...obj,
|
|
12022
|
+
...obj.SSECustomerKey && { SSECustomerKey: import_smithy_client.SENSITIVE_STRING }
|
|
12023
|
+
}), "ListPartsRequestFilterSensitiveLog");
|
|
11999
12024
|
var PutBucketEncryptionRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
12000
12025
|
...obj,
|
|
12001
12026
|
...obj.ServerSideEncryptionConfiguration && {
|
|
@@ -12217,6 +12242,30 @@ var se_CreateBucketCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
12217
12242
|
b.m("PUT").h(headers).b(body);
|
|
12218
12243
|
return b.build();
|
|
12219
12244
|
}, "se_CreateBucketCommand");
|
|
12245
|
+
var se_CreateBucketMetadataConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
12246
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
12247
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
12248
|
+
"content-type": "application/xml",
|
|
12249
|
+
[_cm]: input[_CMD],
|
|
12250
|
+
[_xasca]: input[_CA],
|
|
12251
|
+
[_xaebo]: input[_EBO]
|
|
12252
|
+
});
|
|
12253
|
+
b.bp("/");
|
|
12254
|
+
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
12255
|
+
const query = (0, import_smithy_client.map)({
|
|
12256
|
+
[_mC]: [, ""]
|
|
12257
|
+
});
|
|
12258
|
+
let body;
|
|
12259
|
+
let contents;
|
|
12260
|
+
if (input.MetadataConfiguration !== void 0) {
|
|
12261
|
+
contents = se_MetadataConfiguration(input.MetadataConfiguration, context);
|
|
12262
|
+
body = _ve;
|
|
12263
|
+
contents.a("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/");
|
|
12264
|
+
body += contents.toString();
|
|
12265
|
+
}
|
|
12266
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
12267
|
+
return b.build();
|
|
12268
|
+
}, "se_CreateBucketMetadataConfigurationCommand");
|
|
12220
12269
|
var se_CreateBucketMetadataTableConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
12221
12270
|
const b = (0, import_core2.requestBuilder)(input, context);
|
|
12222
12271
|
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
@@ -12403,6 +12452,20 @@ var se_DeleteBucketLifecycleCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
12403
12452
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
12404
12453
|
return b.build();
|
|
12405
12454
|
}, "se_DeleteBucketLifecycleCommand");
|
|
12455
|
+
var se_DeleteBucketMetadataConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
12456
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
12457
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
12458
|
+
[_xaebo]: input[_EBO]
|
|
12459
|
+
});
|
|
12460
|
+
b.bp("/");
|
|
12461
|
+
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
12462
|
+
const query = (0, import_smithy_client.map)({
|
|
12463
|
+
[_mC]: [, ""]
|
|
12464
|
+
});
|
|
12465
|
+
let body;
|
|
12466
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
12467
|
+
return b.build();
|
|
12468
|
+
}, "se_DeleteBucketMetadataConfigurationCommand");
|
|
12406
12469
|
var se_DeleteBucketMetadataTableConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
12407
12470
|
const b = (0, import_core2.requestBuilder)(input, context);
|
|
12408
12471
|
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
@@ -12727,6 +12790,20 @@ var se_GetBucketLoggingCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
12727
12790
|
b.m("GET").h(headers).q(query).b(body);
|
|
12728
12791
|
return b.build();
|
|
12729
12792
|
}, "se_GetBucketLoggingCommand");
|
|
12793
|
+
var se_GetBucketMetadataConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
12794
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
12795
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
12796
|
+
[_xaebo]: input[_EBO]
|
|
12797
|
+
});
|
|
12798
|
+
b.bp("/");
|
|
12799
|
+
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
12800
|
+
const query = (0, import_smithy_client.map)({
|
|
12801
|
+
[_mC]: [, ""]
|
|
12802
|
+
});
|
|
12803
|
+
let body;
|
|
12804
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
12805
|
+
return b.build();
|
|
12806
|
+
}, "se_GetBucketMetadataConfigurationCommand");
|
|
12730
12807
|
var se_GetBucketMetadataTableConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
12731
12808
|
const b = (0, import_core2.requestBuilder)(input, context);
|
|
12732
12809
|
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
@@ -14043,6 +14120,56 @@ var se_SelectObjectContentCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
14043
14120
|
b.m("POST").h(headers).q(query).b(body);
|
|
14044
14121
|
return b.build();
|
|
14045
14122
|
}, "se_SelectObjectContentCommand");
|
|
14123
|
+
var se_UpdateBucketMetadataInventoryTableConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
14124
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
14125
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
14126
|
+
"content-type": "application/xml",
|
|
14127
|
+
[_cm]: input[_CMD],
|
|
14128
|
+
[_xasca]: input[_CA],
|
|
14129
|
+
[_xaebo]: input[_EBO]
|
|
14130
|
+
});
|
|
14131
|
+
b.bp("/");
|
|
14132
|
+
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
14133
|
+
const query = (0, import_smithy_client.map)({
|
|
14134
|
+
[_mIT]: [, ""]
|
|
14135
|
+
});
|
|
14136
|
+
let body;
|
|
14137
|
+
let contents;
|
|
14138
|
+
if (input.InventoryTableConfiguration !== void 0) {
|
|
14139
|
+
contents = se_InventoryTableConfigurationUpdates(input.InventoryTableConfiguration, context);
|
|
14140
|
+
contents = contents.n("InventoryTableConfiguration");
|
|
14141
|
+
body = _ve;
|
|
14142
|
+
contents.a("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/");
|
|
14143
|
+
body += contents.toString();
|
|
14144
|
+
}
|
|
14145
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
14146
|
+
return b.build();
|
|
14147
|
+
}, "se_UpdateBucketMetadataInventoryTableConfigurationCommand");
|
|
14148
|
+
var se_UpdateBucketMetadataJournalTableConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
14149
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
14150
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
14151
|
+
"content-type": "application/xml",
|
|
14152
|
+
[_cm]: input[_CMD],
|
|
14153
|
+
[_xasca]: input[_CA],
|
|
14154
|
+
[_xaebo]: input[_EBO]
|
|
14155
|
+
});
|
|
14156
|
+
b.bp("/");
|
|
14157
|
+
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
14158
|
+
const query = (0, import_smithy_client.map)({
|
|
14159
|
+
[_mJT]: [, ""]
|
|
14160
|
+
});
|
|
14161
|
+
let body;
|
|
14162
|
+
let contents;
|
|
14163
|
+
if (input.JournalTableConfiguration !== void 0) {
|
|
14164
|
+
contents = se_JournalTableConfigurationUpdates(input.JournalTableConfiguration, context);
|
|
14165
|
+
contents = contents.n("JournalTableConfiguration");
|
|
14166
|
+
body = _ve;
|
|
14167
|
+
contents.a("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/");
|
|
14168
|
+
body += contents.toString();
|
|
14169
|
+
}
|
|
14170
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
14171
|
+
return b.build();
|
|
14172
|
+
}, "se_UpdateBucketMetadataJournalTableConfigurationCommand");
|
|
14046
14173
|
var se_UploadPartCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
14047
14174
|
const b = (0, import_core2.requestBuilder)(input, context);
|
|
14048
14175
|
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
@@ -14273,6 +14400,16 @@ var de_CreateBucketCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
14273
14400
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
14274
14401
|
return contents;
|
|
14275
14402
|
}, "de_CreateBucketCommand");
|
|
14403
|
+
var de_CreateBucketMetadataConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
14404
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
14405
|
+
return de_CommandError(output, context);
|
|
14406
|
+
}
|
|
14407
|
+
const contents = (0, import_smithy_client.map)({
|
|
14408
|
+
$metadata: deserializeMetadata(output)
|
|
14409
|
+
});
|
|
14410
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
14411
|
+
return contents;
|
|
14412
|
+
}, "de_CreateBucketMetadataConfigurationCommand");
|
|
14276
14413
|
var de_CreateBucketMetadataTableConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
14277
14414
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
14278
14415
|
return de_CommandError(output, context);
|
|
@@ -14403,6 +14540,16 @@ var de_DeleteBucketLifecycleCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
14403
14540
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
14404
14541
|
return contents;
|
|
14405
14542
|
}, "de_DeleteBucketLifecycleCommand");
|
|
14543
|
+
var de_DeleteBucketMetadataConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
14544
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
14545
|
+
return de_CommandError(output, context);
|
|
14546
|
+
}
|
|
14547
|
+
const contents = (0, import_smithy_client.map)({
|
|
14548
|
+
$metadata: deserializeMetadata(output)
|
|
14549
|
+
});
|
|
14550
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
14551
|
+
return contents;
|
|
14552
|
+
}, "de_DeleteBucketMetadataConfigurationCommand");
|
|
14406
14553
|
var de_DeleteBucketMetadataTableConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
14407
14554
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
14408
14555
|
return de_CommandError(output, context);
|
|
@@ -14661,6 +14808,17 @@ var de_GetBucketLoggingCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
14661
14808
|
}
|
|
14662
14809
|
return contents;
|
|
14663
14810
|
}, "de_GetBucketLoggingCommand");
|
|
14811
|
+
var de_GetBucketMetadataConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
14812
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
14813
|
+
return de_CommandError(output, context);
|
|
14814
|
+
}
|
|
14815
|
+
const contents = (0, import_smithy_client.map)({
|
|
14816
|
+
$metadata: deserializeMetadata(output)
|
|
14817
|
+
});
|
|
14818
|
+
const data = (0, import_smithy_client.expectObject)(await (0, import_core.parseXmlBody)(output.body, context));
|
|
14819
|
+
contents.GetBucketMetadataConfigurationResult = de_GetBucketMetadataConfigurationResult(data, context);
|
|
14820
|
+
return contents;
|
|
14821
|
+
}, "de_GetBucketMetadataConfigurationCommand");
|
|
14664
14822
|
var de_GetBucketMetadataTableConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
14665
14823
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
14666
14824
|
return de_CommandError(output, context);
|
|
@@ -15780,6 +15938,26 @@ var de_SelectObjectContentCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
15780
15938
|
contents.Payload = de_SelectObjectContentEventStream(data, context);
|
|
15781
15939
|
return contents;
|
|
15782
15940
|
}, "de_SelectObjectContentCommand");
|
|
15941
|
+
var de_UpdateBucketMetadataInventoryTableConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
15942
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
15943
|
+
return de_CommandError(output, context);
|
|
15944
|
+
}
|
|
15945
|
+
const contents = (0, import_smithy_client.map)({
|
|
15946
|
+
$metadata: deserializeMetadata(output)
|
|
15947
|
+
});
|
|
15948
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
15949
|
+
return contents;
|
|
15950
|
+
}, "de_UpdateBucketMetadataInventoryTableConfigurationCommand");
|
|
15951
|
+
var de_UpdateBucketMetadataJournalTableConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
15952
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
15953
|
+
return de_CommandError(output, context);
|
|
15954
|
+
}
|
|
15955
|
+
const contents = (0, import_smithy_client.map)({
|
|
15956
|
+
$metadata: deserializeMetadata(output)
|
|
15957
|
+
});
|
|
15958
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
15959
|
+
return contents;
|
|
15960
|
+
}, "de_UpdateBucketMetadataJournalTableConfigurationCommand");
|
|
15783
15961
|
var de_UploadPartCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
15784
15962
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
15785
15963
|
return de_CommandError(output, context);
|
|
@@ -16569,6 +16747,43 @@ var se_InventorySchedule = /* @__PURE__ */ __name((input, context) => {
|
|
|
16569
16747
|
}
|
|
16570
16748
|
return bn;
|
|
16571
16749
|
}, "se_InventorySchedule");
|
|
16750
|
+
var se_InventoryTableConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
16751
|
+
const bn = new import_xml_builder.XmlNode(_ITCn);
|
|
16752
|
+
if (input[_CSo] != null) {
|
|
16753
|
+
bn.c(import_xml_builder.XmlNode.of(_ICS, input[_CSo]).n(_CSo));
|
|
16754
|
+
}
|
|
16755
|
+
if (input[_ECn] != null) {
|
|
16756
|
+
bn.c(se_MetadataTableEncryptionConfiguration(input[_ECn], context).n(_ECn));
|
|
16757
|
+
}
|
|
16758
|
+
return bn;
|
|
16759
|
+
}, "se_InventoryTableConfiguration");
|
|
16760
|
+
var se_InventoryTableConfigurationUpdates = /* @__PURE__ */ __name((input, context) => {
|
|
16761
|
+
const bn = new import_xml_builder.XmlNode(_ITCU);
|
|
16762
|
+
if (input[_CSo] != null) {
|
|
16763
|
+
bn.c(import_xml_builder.XmlNode.of(_ICS, input[_CSo]).n(_CSo));
|
|
16764
|
+
}
|
|
16765
|
+
if (input[_ECn] != null) {
|
|
16766
|
+
bn.c(se_MetadataTableEncryptionConfiguration(input[_ECn], context).n(_ECn));
|
|
16767
|
+
}
|
|
16768
|
+
return bn;
|
|
16769
|
+
}, "se_InventoryTableConfigurationUpdates");
|
|
16770
|
+
var se_JournalTableConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
16771
|
+
const bn = new import_xml_builder.XmlNode(_JTC);
|
|
16772
|
+
if (input[_REe] != null) {
|
|
16773
|
+
bn.c(se_RecordExpiration(input[_REe], context).n(_REe));
|
|
16774
|
+
}
|
|
16775
|
+
if (input[_ECn] != null) {
|
|
16776
|
+
bn.c(se_MetadataTableEncryptionConfiguration(input[_ECn], context).n(_ECn));
|
|
16777
|
+
}
|
|
16778
|
+
return bn;
|
|
16779
|
+
}, "se_JournalTableConfiguration");
|
|
16780
|
+
var se_JournalTableConfigurationUpdates = /* @__PURE__ */ __name((input, context) => {
|
|
16781
|
+
const bn = new import_xml_builder.XmlNode(_JTCU);
|
|
16782
|
+
if (input[_REe] != null) {
|
|
16783
|
+
bn.c(se_RecordExpiration(input[_REe], context).n(_REe));
|
|
16784
|
+
}
|
|
16785
|
+
return bn;
|
|
16786
|
+
}, "se_JournalTableConfigurationUpdates");
|
|
16572
16787
|
var se_JSONInput = /* @__PURE__ */ __name((input, context) => {
|
|
16573
16788
|
const bn = new import_xml_builder.XmlNode(_JSONI);
|
|
16574
16789
|
if (input[_Ty] != null) {
|
|
@@ -16697,6 +16912,16 @@ var se_LoggingEnabled = /* @__PURE__ */ __name((input, context) => {
|
|
|
16697
16912
|
}
|
|
16698
16913
|
return bn;
|
|
16699
16914
|
}, "se_LoggingEnabled");
|
|
16915
|
+
var se_MetadataConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
16916
|
+
const bn = new import_xml_builder.XmlNode(_MCe);
|
|
16917
|
+
if (input[_JTC] != null) {
|
|
16918
|
+
bn.c(se_JournalTableConfiguration(input[_JTC], context).n(_JTC));
|
|
16919
|
+
}
|
|
16920
|
+
if (input[_ITCn] != null) {
|
|
16921
|
+
bn.c(se_InventoryTableConfiguration(input[_ITCn], context).n(_ITCn));
|
|
16922
|
+
}
|
|
16923
|
+
return bn;
|
|
16924
|
+
}, "se_MetadataConfiguration");
|
|
16700
16925
|
var se_MetadataEntry = /* @__PURE__ */ __name((input, context) => {
|
|
16701
16926
|
const bn = new import_xml_builder.XmlNode(_ME);
|
|
16702
16927
|
if (input[_N] != null) {
|
|
@@ -16714,6 +16939,14 @@ var se_MetadataTableConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
|
16714
16939
|
}
|
|
16715
16940
|
return bn;
|
|
16716
16941
|
}, "se_MetadataTableConfiguration");
|
|
16942
|
+
var se_MetadataTableEncryptionConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
16943
|
+
const bn = new import_xml_builder.XmlNode(_MTEC);
|
|
16944
|
+
if (input[_SAs] != null) {
|
|
16945
|
+
bn.c(import_xml_builder.XmlNode.of(_TSA, input[_SAs]).n(_SAs));
|
|
16946
|
+
}
|
|
16947
|
+
bn.cc(input, _KKA);
|
|
16948
|
+
return bn;
|
|
16949
|
+
}, "se_MetadataTableEncryptionConfiguration");
|
|
16717
16950
|
var se_Metrics = /* @__PURE__ */ __name((input, context) => {
|
|
16718
16951
|
const bn = new import_xml_builder.XmlNode(_Me);
|
|
16719
16952
|
if (input[_S] != null) {
|
|
@@ -16963,6 +17196,16 @@ var se_QueueConfigurationList = /* @__PURE__ */ __name((input, context) => {
|
|
|
16963
17196
|
return n.n(_me);
|
|
16964
17197
|
});
|
|
16965
17198
|
}, "se_QueueConfigurationList");
|
|
17199
|
+
var se_RecordExpiration = /* @__PURE__ */ __name((input, context) => {
|
|
17200
|
+
const bn = new import_xml_builder.XmlNode(_REe);
|
|
17201
|
+
if (input[_Exp] != null) {
|
|
17202
|
+
bn.c(import_xml_builder.XmlNode.of(_ESxp, input[_Exp]).n(_Exp));
|
|
17203
|
+
}
|
|
17204
|
+
if (input[_Da] != null) {
|
|
17205
|
+
bn.c(import_xml_builder.XmlNode.of(_RED, String(input[_Da])).n(_Da));
|
|
17206
|
+
}
|
|
17207
|
+
return bn;
|
|
17208
|
+
}, "se_RecordExpiration");
|
|
16966
17209
|
var se_Redirect = /* @__PURE__ */ __name((input, context) => {
|
|
16967
17210
|
const bn = new import_xml_builder.XmlNode(_Red);
|
|
16968
17211
|
bn.cc(input, _HN);
|
|
@@ -17729,6 +17972,19 @@ var de_Destination = /* @__PURE__ */ __name((output, context) => {
|
|
|
17729
17972
|
}
|
|
17730
17973
|
return contents;
|
|
17731
17974
|
}, "de_Destination");
|
|
17975
|
+
var de_DestinationResult = /* @__PURE__ */ __name((output, context) => {
|
|
17976
|
+
const contents = {};
|
|
17977
|
+
if (output[_TBT] != null) {
|
|
17978
|
+
contents[_TBT] = (0, import_smithy_client.expectString)(output[_TBT]);
|
|
17979
|
+
}
|
|
17980
|
+
if (output[_TBA] != null) {
|
|
17981
|
+
contents[_TBA] = (0, import_smithy_client.expectString)(output[_TBA]);
|
|
17982
|
+
}
|
|
17983
|
+
if (output[_TNa] != null) {
|
|
17984
|
+
contents[_TNa] = (0, import_smithy_client.expectString)(output[_TNa]);
|
|
17985
|
+
}
|
|
17986
|
+
return contents;
|
|
17987
|
+
}, "de_DestinationResult");
|
|
17732
17988
|
var de_EncryptionConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
17733
17989
|
const contents = {};
|
|
17734
17990
|
if (output[_RKKID] != null) {
|
|
@@ -17814,6 +18070,13 @@ var de_FilterRuleList = /* @__PURE__ */ __name((output, context) => {
|
|
|
17814
18070
|
return de_FilterRule(entry, context);
|
|
17815
18071
|
});
|
|
17816
18072
|
}, "de_FilterRuleList");
|
|
18073
|
+
var de_GetBucketMetadataConfigurationResult = /* @__PURE__ */ __name((output, context) => {
|
|
18074
|
+
const contents = {};
|
|
18075
|
+
if (output[_MCR] != null) {
|
|
18076
|
+
contents[_MCR] = de_MetadataConfigurationResult(output[_MCR], context);
|
|
18077
|
+
}
|
|
18078
|
+
return contents;
|
|
18079
|
+
}, "de_GetBucketMetadataConfigurationResult");
|
|
17817
18080
|
var de_GetBucketMetadataTableConfigurationResult = /* @__PURE__ */ __name((output, context) => {
|
|
17818
18081
|
const contents = {};
|
|
17819
18082
|
if (output[_MTCR] != null) {
|
|
@@ -18037,6 +18300,44 @@ var de_InventorySchedule = /* @__PURE__ */ __name((output, context) => {
|
|
|
18037
18300
|
}
|
|
18038
18301
|
return contents;
|
|
18039
18302
|
}, "de_InventorySchedule");
|
|
18303
|
+
var de_InventoryTableConfigurationResult = /* @__PURE__ */ __name((output, context) => {
|
|
18304
|
+
const contents = {};
|
|
18305
|
+
if (output[_CSo] != null) {
|
|
18306
|
+
contents[_CSo] = (0, import_smithy_client.expectString)(output[_CSo]);
|
|
18307
|
+
}
|
|
18308
|
+
if (output[_TSa] != null) {
|
|
18309
|
+
contents[_TSa] = (0, import_smithy_client.expectString)(output[_TSa]);
|
|
18310
|
+
}
|
|
18311
|
+
if (output[_Er] != null) {
|
|
18312
|
+
contents[_Er] = de_ErrorDetails(output[_Er], context);
|
|
18313
|
+
}
|
|
18314
|
+
if (output[_TN] != null) {
|
|
18315
|
+
contents[_TN] = (0, import_smithy_client.expectString)(output[_TN]);
|
|
18316
|
+
}
|
|
18317
|
+
if (output[_TAa] != null) {
|
|
18318
|
+
contents[_TAa] = (0, import_smithy_client.expectString)(output[_TAa]);
|
|
18319
|
+
}
|
|
18320
|
+
return contents;
|
|
18321
|
+
}, "de_InventoryTableConfigurationResult");
|
|
18322
|
+
var de_JournalTableConfigurationResult = /* @__PURE__ */ __name((output, context) => {
|
|
18323
|
+
const contents = {};
|
|
18324
|
+
if (output[_TSa] != null) {
|
|
18325
|
+
contents[_TSa] = (0, import_smithy_client.expectString)(output[_TSa]);
|
|
18326
|
+
}
|
|
18327
|
+
if (output[_Er] != null) {
|
|
18328
|
+
contents[_Er] = de_ErrorDetails(output[_Er], context);
|
|
18329
|
+
}
|
|
18330
|
+
if (output[_TN] != null) {
|
|
18331
|
+
contents[_TN] = (0, import_smithy_client.expectString)(output[_TN]);
|
|
18332
|
+
}
|
|
18333
|
+
if (output[_TAa] != null) {
|
|
18334
|
+
contents[_TAa] = (0, import_smithy_client.expectString)(output[_TAa]);
|
|
18335
|
+
}
|
|
18336
|
+
if (output[_REe] != null) {
|
|
18337
|
+
contents[_REe] = de_RecordExpiration(output[_REe], context);
|
|
18338
|
+
}
|
|
18339
|
+
return contents;
|
|
18340
|
+
}, "de_JournalTableConfigurationResult");
|
|
18040
18341
|
var de_LambdaFunctionConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
18041
18342
|
const contents = {};
|
|
18042
18343
|
if (output[_I] != null) {
|
|
@@ -18168,6 +18469,19 @@ var de_LoggingEnabled = /* @__PURE__ */ __name((output, context) => {
|
|
|
18168
18469
|
}
|
|
18169
18470
|
return contents;
|
|
18170
18471
|
}, "de_LoggingEnabled");
|
|
18472
|
+
var de_MetadataConfigurationResult = /* @__PURE__ */ __name((output, context) => {
|
|
18473
|
+
const contents = {};
|
|
18474
|
+
if (output[_DRes] != null) {
|
|
18475
|
+
contents[_DRes] = de_DestinationResult(output[_DRes], context);
|
|
18476
|
+
}
|
|
18477
|
+
if (output[_JTCR] != null) {
|
|
18478
|
+
contents[_JTCR] = de_JournalTableConfigurationResult(output[_JTCR], context);
|
|
18479
|
+
}
|
|
18480
|
+
if (output[_ITCR] != null) {
|
|
18481
|
+
contents[_ITCR] = de_InventoryTableConfigurationResult(output[_ITCR], context);
|
|
18482
|
+
}
|
|
18483
|
+
return contents;
|
|
18484
|
+
}, "de_MetadataConfigurationResult");
|
|
18171
18485
|
var de_MetadataTableConfigurationResult = /* @__PURE__ */ __name((output, context) => {
|
|
18172
18486
|
const contents = {};
|
|
18173
18487
|
if (output[_STDR] != null) {
|
|
@@ -18586,6 +18900,16 @@ var de_QueueConfigurationList = /* @__PURE__ */ __name((output, context) => {
|
|
|
18586
18900
|
return de_QueueConfiguration(entry, context);
|
|
18587
18901
|
});
|
|
18588
18902
|
}, "de_QueueConfigurationList");
|
|
18903
|
+
var de_RecordExpiration = /* @__PURE__ */ __name((output, context) => {
|
|
18904
|
+
const contents = {};
|
|
18905
|
+
if (output[_Exp] != null) {
|
|
18906
|
+
contents[_Exp] = (0, import_smithy_client.expectString)(output[_Exp]);
|
|
18907
|
+
}
|
|
18908
|
+
if (output[_Da] != null) {
|
|
18909
|
+
contents[_Da] = (0, import_smithy_client.strictParseInt32)(output[_Da]);
|
|
18910
|
+
}
|
|
18911
|
+
return contents;
|
|
18912
|
+
}, "de_RecordExpiration");
|
|
18589
18913
|
var de_Redirect = /* @__PURE__ */ __name((output, context) => {
|
|
18590
18914
|
const contents = {};
|
|
18591
18915
|
if (output[_HN] != null) {
|
|
@@ -18717,8 +19041,8 @@ var de_RestoreStatus = /* @__PURE__ */ __name((output, context) => {
|
|
|
18717
19041
|
if (output[_IRIP] != null) {
|
|
18718
19042
|
contents[_IRIP] = (0, import_smithy_client.parseBoolean)(output[_IRIP]);
|
|
18719
19043
|
}
|
|
18720
|
-
if (output[
|
|
18721
|
-
contents[
|
|
19044
|
+
if (output[_REDe] != null) {
|
|
19045
|
+
contents[_REDe] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_REDe]));
|
|
18722
19046
|
}
|
|
18723
19047
|
return contents;
|
|
18724
19048
|
}, "de_RestoreStatus");
|
|
@@ -19073,6 +19397,7 @@ var _CSV = "CSV";
|
|
|
19073
19397
|
var _CSVI = "CopySourceVersionId";
|
|
19074
19398
|
var _CSVIn = "CSVInput";
|
|
19075
19399
|
var _CSVO = "CSVOutput";
|
|
19400
|
+
var _CSo = "ConfigurationState";
|
|
19076
19401
|
var _CT = "ChecksumType";
|
|
19077
19402
|
var _CTl = "ClientToken";
|
|
19078
19403
|
var _CTo = "ContentType";
|
|
@@ -19098,6 +19423,7 @@ var _DMe = "DeleteMarkers";
|
|
|
19098
19423
|
var _DN = "DisplayName";
|
|
19099
19424
|
var _DR = "DataRedundancy";
|
|
19100
19425
|
var _DRe = "DefaultRetention";
|
|
19426
|
+
var _DRes = "DestinationResult";
|
|
19101
19427
|
var _Da = "Days";
|
|
19102
19428
|
var _Dat = "Date";
|
|
19103
19429
|
var _De = "Deleted";
|
|
@@ -19121,6 +19447,7 @@ var _ERP = "EnableRequestProgress";
|
|
|
19121
19447
|
var _ES = "ExpiresString";
|
|
19122
19448
|
var _ESBO = "ExpectedSourceBucketOwner";
|
|
19123
19449
|
var _ESx = "ExpirationStatus";
|
|
19450
|
+
var _ESxp = "ExpirationState";
|
|
19124
19451
|
var _ET = "EncodingType";
|
|
19125
19452
|
var _ETa = "ETag";
|
|
19126
19453
|
var _ETn = "EncryptionType";
|
|
@@ -19161,6 +19488,7 @@ var _HRC = "HttpRedirectCode";
|
|
|
19161
19488
|
var _I = "Id";
|
|
19162
19489
|
var _IC = "InventoryConfiguration";
|
|
19163
19490
|
var _ICL = "InventoryConfigurationList";
|
|
19491
|
+
var _ICS = "InventoryConfigurationState";
|
|
19164
19492
|
var _ID = "IndexDocument";
|
|
19165
19493
|
var _ID_ = "ID";
|
|
19166
19494
|
var _IDn = "InventoryDestination";
|
|
@@ -19191,6 +19519,9 @@ var _ITAO = "IntelligentTieringAndOperator";
|
|
|
19191
19519
|
var _ITAT = "IntelligentTieringAccessTier";
|
|
19192
19520
|
var _ITC = "IntelligentTieringConfiguration";
|
|
19193
19521
|
var _ITCL = "IntelligentTieringConfigurationList";
|
|
19522
|
+
var _ITCR = "InventoryTableConfigurationResult";
|
|
19523
|
+
var _ITCU = "InventoryTableConfigurationUpdates";
|
|
19524
|
+
var _ITCn = "InventoryTableConfiguration";
|
|
19194
19525
|
var _ITD = "IntelligentTieringDays";
|
|
19195
19526
|
var _ITF = "IntelligentTieringFilter";
|
|
19196
19527
|
var _ITI = "IntelligentTieringId";
|
|
@@ -19202,9 +19533,13 @@ var _JSON = "JSON";
|
|
|
19202
19533
|
var _JSONI = "JSONInput";
|
|
19203
19534
|
var _JSONO = "JSONOutput";
|
|
19204
19535
|
var _JSONT = "JSONType";
|
|
19536
|
+
var _JTC = "JournalTableConfiguration";
|
|
19537
|
+
var _JTCR = "JournalTableConfigurationResult";
|
|
19538
|
+
var _JTCU = "JournalTableConfigurationUpdates";
|
|
19205
19539
|
var _K = "Key";
|
|
19206
19540
|
var _KC = "KeyCount";
|
|
19207
19541
|
var _KI = "KeyId";
|
|
19542
|
+
var _KKA = "KmsKeyArn";
|
|
19208
19543
|
var _KM = "KeyMarker";
|
|
19209
19544
|
var _KMSC = "KMSContext";
|
|
19210
19545
|
var _KMSKI = "KMSKeyId";
|
|
@@ -19232,6 +19567,8 @@ var _MAS = "MaxAgeSeconds";
|
|
|
19232
19567
|
var _MB = "MaxBuckets";
|
|
19233
19568
|
var _MC = "MetricsConfiguration";
|
|
19234
19569
|
var _MCL = "MetricsConfigurationList";
|
|
19570
|
+
var _MCR = "MetadataConfigurationResult";
|
|
19571
|
+
var _MCe = "MetadataConfiguration";
|
|
19235
19572
|
var _MD = "MetadataDirective";
|
|
19236
19573
|
var _MDB = "MaxDirectoryBuckets";
|
|
19237
19574
|
var _MDf = "MfaDelete";
|
|
@@ -19248,6 +19585,7 @@ var _MP = "MaxParts";
|
|
|
19248
19585
|
var _MS = "MetricsStatus";
|
|
19249
19586
|
var _MTC = "MetadataTableConfiguration";
|
|
19250
19587
|
var _MTCR = "MetadataTableConfigurationResult";
|
|
19588
|
+
var _MTEC = "MetadataTableEncryptionConfiguration";
|
|
19251
19589
|
var _MU = "MaxUploads";
|
|
19252
19590
|
var _MV = "MetadataValue";
|
|
19253
19591
|
var _Me = "Metrics";
|
|
@@ -19335,7 +19673,9 @@ var _RCT = "ResponseContentType";
|
|
|
19335
19673
|
var _RCe = "ReplicationConfiguration";
|
|
19336
19674
|
var _RD = "RecordDelimiter";
|
|
19337
19675
|
var _RE = "ResponseExpires";
|
|
19338
|
-
var _RED = "
|
|
19676
|
+
var _RED = "RecordExpirationDays";
|
|
19677
|
+
var _REDe = "RestoreExpiryDate";
|
|
19678
|
+
var _REe = "RecordExpiration";
|
|
19339
19679
|
var _RKKID = "ReplicaKmsKeyID";
|
|
19340
19680
|
var _RKPW = "ReplaceKeyPrefixWith";
|
|
19341
19681
|
var _RKW = "ReplaceKeyWith";
|
|
@@ -19371,6 +19711,7 @@ var _Rul = "Rules";
|
|
|
19371
19711
|
var _S = "Status";
|
|
19372
19712
|
var _SA = "StartAfter";
|
|
19373
19713
|
var _SAK = "SecretAccessKey";
|
|
19714
|
+
var _SAs = "SseAlgorithm";
|
|
19374
19715
|
var _SBD = "S3BucketDestination";
|
|
19375
19716
|
var _SC = "StorageClass";
|
|
19376
19717
|
var _SCA = "StorageClassAnalysis";
|
|
@@ -19423,6 +19764,7 @@ var _TA = "TopicArn";
|
|
|
19423
19764
|
var _TAa = "TableArn";
|
|
19424
19765
|
var _TB = "TargetBucket";
|
|
19425
19766
|
var _TBA = "TableBucketArn";
|
|
19767
|
+
var _TBT = "TableBucketType";
|
|
19426
19768
|
var _TC = "TagCount";
|
|
19427
19769
|
var _TCo = "TopicConfiguration";
|
|
19428
19770
|
var _TCop = "TopicConfigurations";
|
|
@@ -19436,7 +19778,9 @@ var _TOKF = "TargetObjectKeyFormat";
|
|
|
19436
19778
|
var _TP = "TargetPrefix";
|
|
19437
19779
|
var _TPC = "TotalPartsCount";
|
|
19438
19780
|
var _TS = "TagSet";
|
|
19781
|
+
var _TSA = "TableSseAlgorithm";
|
|
19439
19782
|
var _TSC = "TransitionStorageClass";
|
|
19783
|
+
var _TSa = "TableStatus";
|
|
19440
19784
|
var _Ta = "Tag";
|
|
19441
19785
|
var _Tag = "Tags";
|
|
19442
19786
|
var _Ti = "Tier";
|
|
@@ -19504,6 +19848,9 @@ var _lo = "location";
|
|
|
19504
19848
|
var _log = "logging";
|
|
19505
19849
|
var _lt = "list-type";
|
|
19506
19850
|
var _m = "metrics";
|
|
19851
|
+
var _mC = "metadataConfiguration";
|
|
19852
|
+
var _mIT = "metadataInventoryTable";
|
|
19853
|
+
var _mJT = "metadataJournalTable";
|
|
19507
19854
|
var _mT = "metadataTable";
|
|
19508
19855
|
var _ma = "marker";
|
|
19509
19856
|
var _mb = "max-buckets";
|
|
@@ -19910,6 +20257,30 @@ var CreateBucketCommand = class extends import_smithy_client.Command.classBuilde
|
|
|
19910
20257
|
}
|
|
19911
20258
|
};
|
|
19912
20259
|
|
|
20260
|
+
// src/commands/CreateBucketMetadataConfigurationCommand.ts
|
|
20261
|
+
|
|
20262
|
+
|
|
20263
|
+
|
|
20264
|
+
|
|
20265
|
+
var CreateBucketMetadataConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep({
|
|
20266
|
+
...commonParams,
|
|
20267
|
+
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
|
|
20268
|
+
Bucket: { type: "contextParams", name: "Bucket" }
|
|
20269
|
+
}).m(function(Command, cs, config, o) {
|
|
20270
|
+
return [
|
|
20271
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20272
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20273
|
+
(0, import_middleware_flexible_checksums.getFlexibleChecksumsPlugin)(config, {
|
|
20274
|
+
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
20275
|
+
requestChecksumRequired: true
|
|
20276
|
+
})
|
|
20277
|
+
];
|
|
20278
|
+
}).s("AmazonS3", "CreateBucketMetadataConfiguration", {}).n("S3Client", "CreateBucketMetadataConfigurationCommand").f(void 0, void 0).ser(se_CreateBucketMetadataConfigurationCommand).de(de_CreateBucketMetadataConfigurationCommand).build() {
|
|
20279
|
+
static {
|
|
20280
|
+
__name(this, "CreateBucketMetadataConfigurationCommand");
|
|
20281
|
+
}
|
|
20282
|
+
};
|
|
20283
|
+
|
|
19913
20284
|
// src/commands/CreateBucketMetadataTableConfigurationCommand.ts
|
|
19914
20285
|
|
|
19915
20286
|
|
|
@@ -20090,6 +20461,25 @@ var DeleteBucketLifecycleCommand = class extends import_smithy_client.Command.cl
|
|
|
20090
20461
|
}
|
|
20091
20462
|
};
|
|
20092
20463
|
|
|
20464
|
+
// src/commands/DeleteBucketMetadataConfigurationCommand.ts
|
|
20465
|
+
|
|
20466
|
+
|
|
20467
|
+
|
|
20468
|
+
var DeleteBucketMetadataConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep({
|
|
20469
|
+
...commonParams,
|
|
20470
|
+
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
|
|
20471
|
+
Bucket: { type: "contextParams", name: "Bucket" }
|
|
20472
|
+
}).m(function(Command, cs, config, o) {
|
|
20473
|
+
return [
|
|
20474
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20475
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
20476
|
+
];
|
|
20477
|
+
}).s("AmazonS3", "DeleteBucketMetadataConfiguration", {}).n("S3Client", "DeleteBucketMetadataConfigurationCommand").f(void 0, void 0).ser(se_DeleteBucketMetadataConfigurationCommand).de(de_DeleteBucketMetadataConfigurationCommand).build() {
|
|
20478
|
+
static {
|
|
20479
|
+
__name(this, "DeleteBucketMetadataConfigurationCommand");
|
|
20480
|
+
}
|
|
20481
|
+
};
|
|
20482
|
+
|
|
20093
20483
|
// src/commands/DeleteBucketMetadataTableConfigurationCommand.ts
|
|
20094
20484
|
|
|
20095
20485
|
|
|
@@ -20518,12 +20908,12 @@ var GetBucketLoggingCommand = class extends import_smithy_client.Command.classBu
|
|
|
20518
20908
|
}
|
|
20519
20909
|
};
|
|
20520
20910
|
|
|
20521
|
-
// src/commands/
|
|
20911
|
+
// src/commands/GetBucketMetadataConfigurationCommand.ts
|
|
20522
20912
|
var import_middleware_sdk_s321 = __nccwpck_require__(77445);
|
|
20523
20913
|
|
|
20524
20914
|
|
|
20525
20915
|
|
|
20526
|
-
var
|
|
20916
|
+
var GetBucketMetadataConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep({
|
|
20527
20917
|
...commonParams,
|
|
20528
20918
|
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
|
|
20529
20919
|
Bucket: { type: "contextParams", name: "Bucket" }
|
|
@@ -20533,6 +20923,27 @@ var GetBucketMetadataTableConfigurationCommand = class extends import_smithy_cli
|
|
|
20533
20923
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20534
20924
|
(0, import_middleware_sdk_s321.getThrow200ExceptionsPlugin)(config)
|
|
20535
20925
|
];
|
|
20926
|
+
}).s("AmazonS3", "GetBucketMetadataConfiguration", {}).n("S3Client", "GetBucketMetadataConfigurationCommand").f(void 0, void 0).ser(se_GetBucketMetadataConfigurationCommand).de(de_GetBucketMetadataConfigurationCommand).build() {
|
|
20927
|
+
static {
|
|
20928
|
+
__name(this, "GetBucketMetadataConfigurationCommand");
|
|
20929
|
+
}
|
|
20930
|
+
};
|
|
20931
|
+
|
|
20932
|
+
// src/commands/GetBucketMetadataTableConfigurationCommand.ts
|
|
20933
|
+
var import_middleware_sdk_s322 = __nccwpck_require__(77445);
|
|
20934
|
+
|
|
20935
|
+
|
|
20936
|
+
|
|
20937
|
+
var GetBucketMetadataTableConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep({
|
|
20938
|
+
...commonParams,
|
|
20939
|
+
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
|
|
20940
|
+
Bucket: { type: "contextParams", name: "Bucket" }
|
|
20941
|
+
}).m(function(Command, cs, config, o) {
|
|
20942
|
+
return [
|
|
20943
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20944
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20945
|
+
(0, import_middleware_sdk_s322.getThrow200ExceptionsPlugin)(config)
|
|
20946
|
+
];
|
|
20536
20947
|
}).s("AmazonS3", "GetBucketMetadataTableConfiguration", {}).n("S3Client", "GetBucketMetadataTableConfigurationCommand").f(void 0, void 0).ser(se_GetBucketMetadataTableConfigurationCommand).de(de_GetBucketMetadataTableConfigurationCommand).build() {
|
|
20537
20948
|
static {
|
|
20538
20949
|
__name(this, "GetBucketMetadataTableConfigurationCommand");
|
|
@@ -20540,7 +20951,7 @@ var GetBucketMetadataTableConfigurationCommand = class extends import_smithy_cli
|
|
|
20540
20951
|
};
|
|
20541
20952
|
|
|
20542
20953
|
// src/commands/GetBucketMetricsConfigurationCommand.ts
|
|
20543
|
-
var
|
|
20954
|
+
var import_middleware_sdk_s323 = __nccwpck_require__(77445);
|
|
20544
20955
|
|
|
20545
20956
|
|
|
20546
20957
|
|
|
@@ -20552,7 +20963,7 @@ var GetBucketMetricsConfigurationCommand = class extends import_smithy_client.Co
|
|
|
20552
20963
|
return [
|
|
20553
20964
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20554
20965
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20555
|
-
(0,
|
|
20966
|
+
(0, import_middleware_sdk_s323.getThrow200ExceptionsPlugin)(config)
|
|
20556
20967
|
];
|
|
20557
20968
|
}).s("AmazonS3", "GetBucketMetricsConfiguration", {}).n("S3Client", "GetBucketMetricsConfigurationCommand").f(void 0, void 0).ser(se_GetBucketMetricsConfigurationCommand).de(de_GetBucketMetricsConfigurationCommand).build() {
|
|
20558
20969
|
static {
|
|
@@ -20561,7 +20972,7 @@ var GetBucketMetricsConfigurationCommand = class extends import_smithy_client.Co
|
|
|
20561
20972
|
};
|
|
20562
20973
|
|
|
20563
20974
|
// src/commands/GetBucketNotificationConfigurationCommand.ts
|
|
20564
|
-
var
|
|
20975
|
+
var import_middleware_sdk_s324 = __nccwpck_require__(77445);
|
|
20565
20976
|
|
|
20566
20977
|
|
|
20567
20978
|
|
|
@@ -20573,7 +20984,7 @@ var GetBucketNotificationConfigurationCommand = class extends import_smithy_clie
|
|
|
20573
20984
|
return [
|
|
20574
20985
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20575
20986
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20576
|
-
(0,
|
|
20987
|
+
(0, import_middleware_sdk_s324.getThrow200ExceptionsPlugin)(config)
|
|
20577
20988
|
];
|
|
20578
20989
|
}).s("AmazonS3", "GetBucketNotificationConfiguration", {}).n("S3Client", "GetBucketNotificationConfigurationCommand").f(void 0, void 0).ser(se_GetBucketNotificationConfigurationCommand).de(de_GetBucketNotificationConfigurationCommand).build() {
|
|
20579
20990
|
static {
|
|
@@ -20582,7 +20993,7 @@ var GetBucketNotificationConfigurationCommand = class extends import_smithy_clie
|
|
|
20582
20993
|
};
|
|
20583
20994
|
|
|
20584
20995
|
// src/commands/GetBucketOwnershipControlsCommand.ts
|
|
20585
|
-
var
|
|
20996
|
+
var import_middleware_sdk_s325 = __nccwpck_require__(77445);
|
|
20586
20997
|
|
|
20587
20998
|
|
|
20588
20999
|
|
|
@@ -20594,7 +21005,7 @@ var GetBucketOwnershipControlsCommand = class extends import_smithy_client.Comma
|
|
|
20594
21005
|
return [
|
|
20595
21006
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20596
21007
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20597
|
-
(0,
|
|
21008
|
+
(0, import_middleware_sdk_s325.getThrow200ExceptionsPlugin)(config)
|
|
20598
21009
|
];
|
|
20599
21010
|
}).s("AmazonS3", "GetBucketOwnershipControls", {}).n("S3Client", "GetBucketOwnershipControlsCommand").f(void 0, void 0).ser(se_GetBucketOwnershipControlsCommand).de(de_GetBucketOwnershipControlsCommand).build() {
|
|
20600
21011
|
static {
|
|
@@ -20603,7 +21014,7 @@ var GetBucketOwnershipControlsCommand = class extends import_smithy_client.Comma
|
|
|
20603
21014
|
};
|
|
20604
21015
|
|
|
20605
21016
|
// src/commands/GetBucketPolicyCommand.ts
|
|
20606
|
-
var
|
|
21017
|
+
var import_middleware_sdk_s326 = __nccwpck_require__(77445);
|
|
20607
21018
|
|
|
20608
21019
|
|
|
20609
21020
|
|
|
@@ -20615,7 +21026,7 @@ var GetBucketPolicyCommand = class extends import_smithy_client.Command.classBui
|
|
|
20615
21026
|
return [
|
|
20616
21027
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20617
21028
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20618
|
-
(0,
|
|
21029
|
+
(0, import_middleware_sdk_s326.getThrow200ExceptionsPlugin)(config)
|
|
20619
21030
|
];
|
|
20620
21031
|
}).s("AmazonS3", "GetBucketPolicy", {}).n("S3Client", "GetBucketPolicyCommand").f(void 0, void 0).ser(se_GetBucketPolicyCommand).de(de_GetBucketPolicyCommand).build() {
|
|
20621
21032
|
static {
|
|
@@ -20624,7 +21035,7 @@ var GetBucketPolicyCommand = class extends import_smithy_client.Command.classBui
|
|
|
20624
21035
|
};
|
|
20625
21036
|
|
|
20626
21037
|
// src/commands/GetBucketPolicyStatusCommand.ts
|
|
20627
|
-
var
|
|
21038
|
+
var import_middleware_sdk_s327 = __nccwpck_require__(77445);
|
|
20628
21039
|
|
|
20629
21040
|
|
|
20630
21041
|
|
|
@@ -20636,7 +21047,7 @@ var GetBucketPolicyStatusCommand = class extends import_smithy_client.Command.cl
|
|
|
20636
21047
|
return [
|
|
20637
21048
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20638
21049
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20639
|
-
(0,
|
|
21050
|
+
(0, import_middleware_sdk_s327.getThrow200ExceptionsPlugin)(config)
|
|
20640
21051
|
];
|
|
20641
21052
|
}).s("AmazonS3", "GetBucketPolicyStatus", {}).n("S3Client", "GetBucketPolicyStatusCommand").f(void 0, void 0).ser(se_GetBucketPolicyStatusCommand).de(de_GetBucketPolicyStatusCommand).build() {
|
|
20642
21053
|
static {
|
|
@@ -20645,7 +21056,7 @@ var GetBucketPolicyStatusCommand = class extends import_smithy_client.Command.cl
|
|
|
20645
21056
|
};
|
|
20646
21057
|
|
|
20647
21058
|
// src/commands/GetBucketReplicationCommand.ts
|
|
20648
|
-
var
|
|
21059
|
+
var import_middleware_sdk_s328 = __nccwpck_require__(77445);
|
|
20649
21060
|
|
|
20650
21061
|
|
|
20651
21062
|
|
|
@@ -20657,7 +21068,7 @@ var GetBucketReplicationCommand = class extends import_smithy_client.Command.cla
|
|
|
20657
21068
|
return [
|
|
20658
21069
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20659
21070
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20660
|
-
(0,
|
|
21071
|
+
(0, import_middleware_sdk_s328.getThrow200ExceptionsPlugin)(config)
|
|
20661
21072
|
];
|
|
20662
21073
|
}).s("AmazonS3", "GetBucketReplication", {}).n("S3Client", "GetBucketReplicationCommand").f(void 0, void 0).ser(se_GetBucketReplicationCommand).de(de_GetBucketReplicationCommand).build() {
|
|
20663
21074
|
static {
|
|
@@ -20666,7 +21077,7 @@ var GetBucketReplicationCommand = class extends import_smithy_client.Command.cla
|
|
|
20666
21077
|
};
|
|
20667
21078
|
|
|
20668
21079
|
// src/commands/GetBucketRequestPaymentCommand.ts
|
|
20669
|
-
var
|
|
21080
|
+
var import_middleware_sdk_s329 = __nccwpck_require__(77445);
|
|
20670
21081
|
|
|
20671
21082
|
|
|
20672
21083
|
|
|
@@ -20678,7 +21089,7 @@ var GetBucketRequestPaymentCommand = class extends import_smithy_client.Command.
|
|
|
20678
21089
|
return [
|
|
20679
21090
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20680
21091
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20681
|
-
(0,
|
|
21092
|
+
(0, import_middleware_sdk_s329.getThrow200ExceptionsPlugin)(config)
|
|
20682
21093
|
];
|
|
20683
21094
|
}).s("AmazonS3", "GetBucketRequestPayment", {}).n("S3Client", "GetBucketRequestPaymentCommand").f(void 0, void 0).ser(se_GetBucketRequestPaymentCommand).de(de_GetBucketRequestPaymentCommand).build() {
|
|
20684
21095
|
static {
|
|
@@ -20687,7 +21098,7 @@ var GetBucketRequestPaymentCommand = class extends import_smithy_client.Command.
|
|
|
20687
21098
|
};
|
|
20688
21099
|
|
|
20689
21100
|
// src/commands/GetBucketTaggingCommand.ts
|
|
20690
|
-
var
|
|
21101
|
+
var import_middleware_sdk_s330 = __nccwpck_require__(77445);
|
|
20691
21102
|
|
|
20692
21103
|
|
|
20693
21104
|
|
|
@@ -20699,7 +21110,7 @@ var GetBucketTaggingCommand = class extends import_smithy_client.Command.classBu
|
|
|
20699
21110
|
return [
|
|
20700
21111
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20701
21112
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20702
|
-
(0,
|
|
21113
|
+
(0, import_middleware_sdk_s330.getThrow200ExceptionsPlugin)(config)
|
|
20703
21114
|
];
|
|
20704
21115
|
}).s("AmazonS3", "GetBucketTagging", {}).n("S3Client", "GetBucketTaggingCommand").f(void 0, void 0).ser(se_GetBucketTaggingCommand).de(de_GetBucketTaggingCommand).build() {
|
|
20705
21116
|
static {
|
|
@@ -20708,7 +21119,7 @@ var GetBucketTaggingCommand = class extends import_smithy_client.Command.classBu
|
|
|
20708
21119
|
};
|
|
20709
21120
|
|
|
20710
21121
|
// src/commands/GetBucketVersioningCommand.ts
|
|
20711
|
-
var
|
|
21122
|
+
var import_middleware_sdk_s331 = __nccwpck_require__(77445);
|
|
20712
21123
|
|
|
20713
21124
|
|
|
20714
21125
|
|
|
@@ -20720,7 +21131,7 @@ var GetBucketVersioningCommand = class extends import_smithy_client.Command.clas
|
|
|
20720
21131
|
return [
|
|
20721
21132
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20722
21133
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20723
|
-
(0,
|
|
21134
|
+
(0, import_middleware_sdk_s331.getThrow200ExceptionsPlugin)(config)
|
|
20724
21135
|
];
|
|
20725
21136
|
}).s("AmazonS3", "GetBucketVersioning", {}).n("S3Client", "GetBucketVersioningCommand").f(void 0, void 0).ser(se_GetBucketVersioningCommand).de(de_GetBucketVersioningCommand).build() {
|
|
20726
21137
|
static {
|
|
@@ -20729,7 +21140,7 @@ var GetBucketVersioningCommand = class extends import_smithy_client.Command.clas
|
|
|
20729
21140
|
};
|
|
20730
21141
|
|
|
20731
21142
|
// src/commands/GetBucketWebsiteCommand.ts
|
|
20732
|
-
var
|
|
21143
|
+
var import_middleware_sdk_s332 = __nccwpck_require__(77445);
|
|
20733
21144
|
|
|
20734
21145
|
|
|
20735
21146
|
|
|
@@ -20741,7 +21152,7 @@ var GetBucketWebsiteCommand = class extends import_smithy_client.Command.classBu
|
|
|
20741
21152
|
return [
|
|
20742
21153
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20743
21154
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20744
|
-
(0,
|
|
21155
|
+
(0, import_middleware_sdk_s332.getThrow200ExceptionsPlugin)(config)
|
|
20745
21156
|
];
|
|
20746
21157
|
}).s("AmazonS3", "GetBucketWebsite", {}).n("S3Client", "GetBucketWebsiteCommand").f(void 0, void 0).ser(se_GetBucketWebsiteCommand).de(de_GetBucketWebsiteCommand).build() {
|
|
20747
21158
|
static {
|
|
@@ -20750,7 +21161,7 @@ var GetBucketWebsiteCommand = class extends import_smithy_client.Command.classBu
|
|
|
20750
21161
|
};
|
|
20751
21162
|
|
|
20752
21163
|
// src/commands/GetObjectAclCommand.ts
|
|
20753
|
-
var
|
|
21164
|
+
var import_middleware_sdk_s333 = __nccwpck_require__(77445);
|
|
20754
21165
|
|
|
20755
21166
|
|
|
20756
21167
|
|
|
@@ -20762,7 +21173,7 @@ var GetObjectAclCommand = class extends import_smithy_client.Command.classBuilde
|
|
|
20762
21173
|
return [
|
|
20763
21174
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20764
21175
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20765
|
-
(0,
|
|
21176
|
+
(0, import_middleware_sdk_s333.getThrow200ExceptionsPlugin)(config)
|
|
20766
21177
|
];
|
|
20767
21178
|
}).s("AmazonS3", "GetObjectAcl", {}).n("S3Client", "GetObjectAclCommand").f(void 0, void 0).ser(se_GetObjectAclCommand).de(de_GetObjectAclCommand).build() {
|
|
20768
21179
|
static {
|
|
@@ -20771,7 +21182,7 @@ var GetObjectAclCommand = class extends import_smithy_client.Command.classBuilde
|
|
|
20771
21182
|
};
|
|
20772
21183
|
|
|
20773
21184
|
// src/commands/GetObjectAttributesCommand.ts
|
|
20774
|
-
var
|
|
21185
|
+
var import_middleware_sdk_s334 = __nccwpck_require__(77445);
|
|
20775
21186
|
|
|
20776
21187
|
|
|
20777
21188
|
|
|
@@ -20783,7 +21194,7 @@ var GetObjectAttributesCommand = class extends import_smithy_client.Command.clas
|
|
|
20783
21194
|
return [
|
|
20784
21195
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20785
21196
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20786
|
-
(0,
|
|
21197
|
+
(0, import_middleware_sdk_s334.getThrow200ExceptionsPlugin)(config),
|
|
20787
21198
|
(0, import_middleware_ssec.getSsecPlugin)(config)
|
|
20788
21199
|
];
|
|
20789
21200
|
}).s("AmazonS3", "GetObjectAttributes", {}).n("S3Client", "GetObjectAttributesCommand").f(GetObjectAttributesRequestFilterSensitiveLog, void 0).ser(se_GetObjectAttributesCommand).de(de_GetObjectAttributesCommand).build() {
|
|
@@ -20794,7 +21205,7 @@ var GetObjectAttributesCommand = class extends import_smithy_client.Command.clas
|
|
|
20794
21205
|
|
|
20795
21206
|
// src/commands/GetObjectCommand.ts
|
|
20796
21207
|
|
|
20797
|
-
var
|
|
21208
|
+
var import_middleware_sdk_s335 = __nccwpck_require__(77445);
|
|
20798
21209
|
|
|
20799
21210
|
|
|
20800
21211
|
|
|
@@ -20813,7 +21224,7 @@ var GetObjectCommand = class extends import_smithy_client.Command.classBuilder()
|
|
|
20813
21224
|
responseAlgorithms: ["CRC64NVME", "CRC32", "CRC32C", "SHA256", "SHA1"]
|
|
20814
21225
|
}),
|
|
20815
21226
|
(0, import_middleware_ssec.getSsecPlugin)(config),
|
|
20816
|
-
(0,
|
|
21227
|
+
(0, import_middleware_sdk_s335.getS3ExpiresMiddlewarePlugin)(config)
|
|
20817
21228
|
];
|
|
20818
21229
|
}).s("AmazonS3", "GetObject", {}).n("S3Client", "GetObjectCommand").f(GetObjectRequestFilterSensitiveLog, GetObjectOutputFilterSensitiveLog).ser(se_GetObjectCommand).de(de_GetObjectCommand).build() {
|
|
20819
21230
|
static {
|
|
@@ -20822,7 +21233,7 @@ var GetObjectCommand = class extends import_smithy_client.Command.classBuilder()
|
|
|
20822
21233
|
};
|
|
20823
21234
|
|
|
20824
21235
|
// src/commands/GetObjectLegalHoldCommand.ts
|
|
20825
|
-
var
|
|
21236
|
+
var import_middleware_sdk_s336 = __nccwpck_require__(77445);
|
|
20826
21237
|
|
|
20827
21238
|
|
|
20828
21239
|
|
|
@@ -20833,7 +21244,7 @@ var GetObjectLegalHoldCommand = class extends import_smithy_client.Command.class
|
|
|
20833
21244
|
return [
|
|
20834
21245
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20835
21246
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20836
|
-
(0,
|
|
21247
|
+
(0, import_middleware_sdk_s336.getThrow200ExceptionsPlugin)(config)
|
|
20837
21248
|
];
|
|
20838
21249
|
}).s("AmazonS3", "GetObjectLegalHold", {}).n("S3Client", "GetObjectLegalHoldCommand").f(void 0, void 0).ser(se_GetObjectLegalHoldCommand).de(de_GetObjectLegalHoldCommand).build() {
|
|
20839
21250
|
static {
|
|
@@ -20842,7 +21253,7 @@ var GetObjectLegalHoldCommand = class extends import_smithy_client.Command.class
|
|
|
20842
21253
|
};
|
|
20843
21254
|
|
|
20844
21255
|
// src/commands/GetObjectLockConfigurationCommand.ts
|
|
20845
|
-
var
|
|
21256
|
+
var import_middleware_sdk_s337 = __nccwpck_require__(77445);
|
|
20846
21257
|
|
|
20847
21258
|
|
|
20848
21259
|
|
|
@@ -20853,7 +21264,7 @@ var GetObjectLockConfigurationCommand = class extends import_smithy_client.Comma
|
|
|
20853
21264
|
return [
|
|
20854
21265
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20855
21266
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20856
|
-
(0,
|
|
21267
|
+
(0, import_middleware_sdk_s337.getThrow200ExceptionsPlugin)(config)
|
|
20857
21268
|
];
|
|
20858
21269
|
}).s("AmazonS3", "GetObjectLockConfiguration", {}).n("S3Client", "GetObjectLockConfigurationCommand").f(void 0, void 0).ser(se_GetObjectLockConfigurationCommand).de(de_GetObjectLockConfigurationCommand).build() {
|
|
20859
21270
|
static {
|
|
@@ -20862,7 +21273,7 @@ var GetObjectLockConfigurationCommand = class extends import_smithy_client.Comma
|
|
|
20862
21273
|
};
|
|
20863
21274
|
|
|
20864
21275
|
// src/commands/GetObjectRetentionCommand.ts
|
|
20865
|
-
var
|
|
21276
|
+
var import_middleware_sdk_s338 = __nccwpck_require__(77445);
|
|
20866
21277
|
|
|
20867
21278
|
|
|
20868
21279
|
|
|
@@ -20873,7 +21284,7 @@ var GetObjectRetentionCommand = class extends import_smithy_client.Command.class
|
|
|
20873
21284
|
return [
|
|
20874
21285
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20875
21286
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20876
|
-
(0,
|
|
21287
|
+
(0, import_middleware_sdk_s338.getThrow200ExceptionsPlugin)(config)
|
|
20877
21288
|
];
|
|
20878
21289
|
}).s("AmazonS3", "GetObjectRetention", {}).n("S3Client", "GetObjectRetentionCommand").f(void 0, void 0).ser(se_GetObjectRetentionCommand).de(de_GetObjectRetentionCommand).build() {
|
|
20879
21290
|
static {
|
|
@@ -20882,7 +21293,7 @@ var GetObjectRetentionCommand = class extends import_smithy_client.Command.class
|
|
|
20882
21293
|
};
|
|
20883
21294
|
|
|
20884
21295
|
// src/commands/GetObjectTaggingCommand.ts
|
|
20885
|
-
var
|
|
21296
|
+
var import_middleware_sdk_s339 = __nccwpck_require__(77445);
|
|
20886
21297
|
|
|
20887
21298
|
|
|
20888
21299
|
|
|
@@ -20893,7 +21304,7 @@ var GetObjectTaggingCommand = class extends import_smithy_client.Command.classBu
|
|
|
20893
21304
|
return [
|
|
20894
21305
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20895
21306
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20896
|
-
(0,
|
|
21307
|
+
(0, import_middleware_sdk_s339.getThrow200ExceptionsPlugin)(config)
|
|
20897
21308
|
];
|
|
20898
21309
|
}).s("AmazonS3", "GetObjectTagging", {}).n("S3Client", "GetObjectTaggingCommand").f(void 0, void 0).ser(se_GetObjectTaggingCommand).de(de_GetObjectTaggingCommand).build() {
|
|
20899
21310
|
static {
|
|
@@ -20920,7 +21331,7 @@ var GetObjectTorrentCommand = class extends import_smithy_client.Command.classBu
|
|
|
20920
21331
|
};
|
|
20921
21332
|
|
|
20922
21333
|
// src/commands/GetPublicAccessBlockCommand.ts
|
|
20923
|
-
var
|
|
21334
|
+
var import_middleware_sdk_s340 = __nccwpck_require__(77445);
|
|
20924
21335
|
|
|
20925
21336
|
|
|
20926
21337
|
|
|
@@ -20932,7 +21343,7 @@ var GetPublicAccessBlockCommand = class extends import_smithy_client.Command.cla
|
|
|
20932
21343
|
return [
|
|
20933
21344
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20934
21345
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20935
|
-
(0,
|
|
21346
|
+
(0, import_middleware_sdk_s340.getThrow200ExceptionsPlugin)(config)
|
|
20936
21347
|
];
|
|
20937
21348
|
}).s("AmazonS3", "GetPublicAccessBlock", {}).n("S3Client", "GetPublicAccessBlockCommand").f(void 0, void 0).ser(se_GetPublicAccessBlockCommand).de(de_GetPublicAccessBlockCommand).build() {
|
|
20938
21349
|
static {
|
|
@@ -20941,7 +21352,7 @@ var GetPublicAccessBlockCommand = class extends import_smithy_client.Command.cla
|
|
|
20941
21352
|
};
|
|
20942
21353
|
|
|
20943
21354
|
// src/commands/HeadBucketCommand.ts
|
|
20944
|
-
var
|
|
21355
|
+
var import_middleware_sdk_s341 = __nccwpck_require__(77445);
|
|
20945
21356
|
|
|
20946
21357
|
|
|
20947
21358
|
|
|
@@ -20952,7 +21363,7 @@ var HeadBucketCommand = class extends import_smithy_client.Command.classBuilder(
|
|
|
20952
21363
|
return [
|
|
20953
21364
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20954
21365
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20955
|
-
(0,
|
|
21366
|
+
(0, import_middleware_sdk_s341.getThrow200ExceptionsPlugin)(config)
|
|
20956
21367
|
];
|
|
20957
21368
|
}).s("AmazonS3", "HeadBucket", {}).n("S3Client", "HeadBucketCommand").f(void 0, void 0).ser(se_HeadBucketCommand).de(de_HeadBucketCommand).build() {
|
|
20958
21369
|
static {
|
|
@@ -20961,7 +21372,7 @@ var HeadBucketCommand = class extends import_smithy_client.Command.classBuilder(
|
|
|
20961
21372
|
};
|
|
20962
21373
|
|
|
20963
21374
|
// src/commands/HeadObjectCommand.ts
|
|
20964
|
-
var
|
|
21375
|
+
var import_middleware_sdk_s342 = __nccwpck_require__(77445);
|
|
20965
21376
|
|
|
20966
21377
|
|
|
20967
21378
|
|
|
@@ -20974,9 +21385,9 @@ var HeadObjectCommand = class extends import_smithy_client.Command.classBuilder(
|
|
|
20974
21385
|
return [
|
|
20975
21386
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20976
21387
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20977
|
-
(0,
|
|
21388
|
+
(0, import_middleware_sdk_s342.getThrow200ExceptionsPlugin)(config),
|
|
20978
21389
|
(0, import_middleware_ssec.getSsecPlugin)(config),
|
|
20979
|
-
(0,
|
|
21390
|
+
(0, import_middleware_sdk_s342.getS3ExpiresMiddlewarePlugin)(config)
|
|
20980
21391
|
];
|
|
20981
21392
|
}).s("AmazonS3", "HeadObject", {}).n("S3Client", "HeadObjectCommand").f(HeadObjectRequestFilterSensitiveLog, HeadObjectOutputFilterSensitiveLog).ser(se_HeadObjectCommand).de(de_HeadObjectCommand).build() {
|
|
20982
21393
|
static {
|
|
@@ -20985,7 +21396,7 @@ var HeadObjectCommand = class extends import_smithy_client.Command.classBuilder(
|
|
|
20985
21396
|
};
|
|
20986
21397
|
|
|
20987
21398
|
// src/commands/ListBucketAnalyticsConfigurationsCommand.ts
|
|
20988
|
-
var
|
|
21399
|
+
var import_middleware_sdk_s343 = __nccwpck_require__(77445);
|
|
20989
21400
|
|
|
20990
21401
|
|
|
20991
21402
|
|
|
@@ -20997,7 +21408,7 @@ var ListBucketAnalyticsConfigurationsCommand = class extends import_smithy_clien
|
|
|
20997
21408
|
return [
|
|
20998
21409
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20999
21410
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
21000
|
-
(0,
|
|
21411
|
+
(0, import_middleware_sdk_s343.getThrow200ExceptionsPlugin)(config)
|
|
21001
21412
|
];
|
|
21002
21413
|
}).s("AmazonS3", "ListBucketAnalyticsConfigurations", {}).n("S3Client", "ListBucketAnalyticsConfigurationsCommand").f(void 0, void 0).ser(se_ListBucketAnalyticsConfigurationsCommand).de(de_ListBucketAnalyticsConfigurationsCommand).build() {
|
|
21003
21414
|
static {
|
|
@@ -21006,7 +21417,7 @@ var ListBucketAnalyticsConfigurationsCommand = class extends import_smithy_clien
|
|
|
21006
21417
|
};
|
|
21007
21418
|
|
|
21008
21419
|
// src/commands/ListBucketIntelligentTieringConfigurationsCommand.ts
|
|
21009
|
-
var
|
|
21420
|
+
var import_middleware_sdk_s344 = __nccwpck_require__(77445);
|
|
21010
21421
|
|
|
21011
21422
|
|
|
21012
21423
|
|
|
@@ -21018,7 +21429,7 @@ var ListBucketIntelligentTieringConfigurationsCommand = class extends import_smi
|
|
|
21018
21429
|
return [
|
|
21019
21430
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
21020
21431
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
21021
|
-
(0,
|
|
21432
|
+
(0, import_middleware_sdk_s344.getThrow200ExceptionsPlugin)(config)
|
|
21022
21433
|
];
|
|
21023
21434
|
}).s("AmazonS3", "ListBucketIntelligentTieringConfigurations", {}).n("S3Client", "ListBucketIntelligentTieringConfigurationsCommand").f(void 0, void 0).ser(se_ListBucketIntelligentTieringConfigurationsCommand).de(de_ListBucketIntelligentTieringConfigurationsCommand).build() {
|
|
21024
21435
|
static {
|
|
@@ -21027,7 +21438,7 @@ var ListBucketIntelligentTieringConfigurationsCommand = class extends import_smi
|
|
|
21027
21438
|
};
|
|
21028
21439
|
|
|
21029
21440
|
// src/commands/ListBucketInventoryConfigurationsCommand.ts
|
|
21030
|
-
var
|
|
21441
|
+
var import_middleware_sdk_s345 = __nccwpck_require__(77445);
|
|
21031
21442
|
|
|
21032
21443
|
|
|
21033
21444
|
|
|
@@ -21039,7 +21450,7 @@ var ListBucketInventoryConfigurationsCommand = class extends import_smithy_clien
|
|
|
21039
21450
|
return [
|
|
21040
21451
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
21041
21452
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
21042
|
-
(0,
|
|
21453
|
+
(0, import_middleware_sdk_s345.getThrow200ExceptionsPlugin)(config)
|
|
21043
21454
|
];
|
|
21044
21455
|
}).s("AmazonS3", "ListBucketInventoryConfigurations", {}).n("S3Client", "ListBucketInventoryConfigurationsCommand").f(void 0, ListBucketInventoryConfigurationsOutputFilterSensitiveLog).ser(se_ListBucketInventoryConfigurationsCommand).de(de_ListBucketInventoryConfigurationsCommand).build() {
|
|
21045
21456
|
static {
|
|
@@ -21048,7 +21459,7 @@ var ListBucketInventoryConfigurationsCommand = class extends import_smithy_clien
|
|
|
21048
21459
|
};
|
|
21049
21460
|
|
|
21050
21461
|
// src/commands/ListBucketMetricsConfigurationsCommand.ts
|
|
21051
|
-
var
|
|
21462
|
+
var import_middleware_sdk_s346 = __nccwpck_require__(77445);
|
|
21052
21463
|
|
|
21053
21464
|
|
|
21054
21465
|
|
|
@@ -21059,7 +21470,7 @@ var ListBucketMetricsConfigurationsCommand = class extends import_smithy_client.
|
|
|
21059
21470
|
return [
|
|
21060
21471
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
21061
21472
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
21062
|
-
(0,
|
|
21473
|
+
(0, import_middleware_sdk_s346.getThrow200ExceptionsPlugin)(config)
|
|
21063
21474
|
];
|
|
21064
21475
|
}).s("AmazonS3", "ListBucketMetricsConfigurations", {}).n("S3Client", "ListBucketMetricsConfigurationsCommand").f(void 0, void 0).ser(se_ListBucketMetricsConfigurationsCommand).de(de_ListBucketMetricsConfigurationsCommand).build() {
|
|
21065
21476
|
static {
|
|
@@ -21068,7 +21479,7 @@ var ListBucketMetricsConfigurationsCommand = class extends import_smithy_client.
|
|
|
21068
21479
|
};
|
|
21069
21480
|
|
|
21070
21481
|
// src/commands/ListBucketsCommand.ts
|
|
21071
|
-
var
|
|
21482
|
+
var import_middleware_sdk_s347 = __nccwpck_require__(77445);
|
|
21072
21483
|
|
|
21073
21484
|
|
|
21074
21485
|
|
|
@@ -21076,7 +21487,7 @@ var ListBucketsCommand = class extends import_smithy_client.Command.classBuilder
|
|
|
21076
21487
|
return [
|
|
21077
21488
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
21078
21489
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
21079
|
-
(0,
|
|
21490
|
+
(0, import_middleware_sdk_s347.getThrow200ExceptionsPlugin)(config)
|
|
21080
21491
|
];
|
|
21081
21492
|
}).s("AmazonS3", "ListBuckets", {}).n("S3Client", "ListBucketsCommand").f(void 0, void 0).ser(se_ListBucketsCommand).de(de_ListBucketsCommand).build() {
|
|
21082
21493
|
static {
|
|
@@ -21085,7 +21496,7 @@ var ListBucketsCommand = class extends import_smithy_client.Command.classBuilder
|
|
|
21085
21496
|
};
|
|
21086
21497
|
|
|
21087
21498
|
// src/commands/ListDirectoryBucketsCommand.ts
|
|
21088
|
-
var
|
|
21499
|
+
var import_middleware_sdk_s348 = __nccwpck_require__(77445);
|
|
21089
21500
|
|
|
21090
21501
|
|
|
21091
21502
|
|
|
@@ -21096,7 +21507,7 @@ var ListDirectoryBucketsCommand = class extends import_smithy_client.Command.cla
|
|
|
21096
21507
|
return [
|
|
21097
21508
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
21098
21509
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
21099
|
-
(0,
|
|
21510
|
+
(0, import_middleware_sdk_s348.getThrow200ExceptionsPlugin)(config)
|
|
21100
21511
|
];
|
|
21101
21512
|
}).s("AmazonS3", "ListDirectoryBuckets", {}).n("S3Client", "ListDirectoryBucketsCommand").f(void 0, void 0).ser(se_ListDirectoryBucketsCommand).de(de_ListDirectoryBucketsCommand).build() {
|
|
21102
21513
|
static {
|
|
@@ -21105,7 +21516,7 @@ var ListDirectoryBucketsCommand = class extends import_smithy_client.Command.cla
|
|
|
21105
21516
|
};
|
|
21106
21517
|
|
|
21107
21518
|
// src/commands/ListMultipartUploadsCommand.ts
|
|
21108
|
-
var
|
|
21519
|
+
var import_middleware_sdk_s349 = __nccwpck_require__(77445);
|
|
21109
21520
|
|
|
21110
21521
|
|
|
21111
21522
|
|
|
@@ -21117,7 +21528,7 @@ var ListMultipartUploadsCommand = class extends import_smithy_client.Command.cla
|
|
|
21117
21528
|
return [
|
|
21118
21529
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
21119
21530
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
21120
|
-
(0,
|
|
21531
|
+
(0, import_middleware_sdk_s349.getThrow200ExceptionsPlugin)(config)
|
|
21121
21532
|
];
|
|
21122
21533
|
}).s("AmazonS3", "ListMultipartUploads", {}).n("S3Client", "ListMultipartUploadsCommand").f(void 0, void 0).ser(se_ListMultipartUploadsCommand).de(de_ListMultipartUploadsCommand).build() {
|
|
21123
21534
|
static {
|
|
@@ -21126,7 +21537,7 @@ var ListMultipartUploadsCommand = class extends import_smithy_client.Command.cla
|
|
|
21126
21537
|
};
|
|
21127
21538
|
|
|
21128
21539
|
// src/commands/ListObjectsCommand.ts
|
|
21129
|
-
var
|
|
21540
|
+
var import_middleware_sdk_s350 = __nccwpck_require__(77445);
|
|
21130
21541
|
|
|
21131
21542
|
|
|
21132
21543
|
|
|
@@ -21138,7 +21549,7 @@ var ListObjectsCommand = class extends import_smithy_client.Command.classBuilder
|
|
|
21138
21549
|
return [
|
|
21139
21550
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
21140
21551
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
21141
|
-
(0,
|
|
21552
|
+
(0, import_middleware_sdk_s350.getThrow200ExceptionsPlugin)(config)
|
|
21142
21553
|
];
|
|
21143
21554
|
}).s("AmazonS3", "ListObjects", {}).n("S3Client", "ListObjectsCommand").f(void 0, void 0).ser(se_ListObjectsCommand).de(de_ListObjectsCommand).build() {
|
|
21144
21555
|
static {
|
|
@@ -21147,7 +21558,7 @@ var ListObjectsCommand = class extends import_smithy_client.Command.classBuilder
|
|
|
21147
21558
|
};
|
|
21148
21559
|
|
|
21149
21560
|
// src/commands/ListObjectsV2Command.ts
|
|
21150
|
-
var
|
|
21561
|
+
var import_middleware_sdk_s351 = __nccwpck_require__(77445);
|
|
21151
21562
|
|
|
21152
21563
|
|
|
21153
21564
|
|
|
@@ -21159,7 +21570,7 @@ var ListObjectsV2Command = class extends import_smithy_client.Command.classBuild
|
|
|
21159
21570
|
return [
|
|
21160
21571
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
21161
21572
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
21162
|
-
(0,
|
|
21573
|
+
(0, import_middleware_sdk_s351.getThrow200ExceptionsPlugin)(config)
|
|
21163
21574
|
];
|
|
21164
21575
|
}).s("AmazonS3", "ListObjectsV2", {}).n("S3Client", "ListObjectsV2Command").f(void 0, void 0).ser(se_ListObjectsV2Command).de(de_ListObjectsV2Command).build() {
|
|
21165
21576
|
static {
|
|
@@ -21168,7 +21579,7 @@ var ListObjectsV2Command = class extends import_smithy_client.Command.classBuild
|
|
|
21168
21579
|
};
|
|
21169
21580
|
|
|
21170
21581
|
// src/commands/ListObjectVersionsCommand.ts
|
|
21171
|
-
var
|
|
21582
|
+
var import_middleware_sdk_s352 = __nccwpck_require__(77445);
|
|
21172
21583
|
|
|
21173
21584
|
|
|
21174
21585
|
|
|
@@ -21180,7 +21591,7 @@ var ListObjectVersionsCommand = class extends import_smithy_client.Command.class
|
|
|
21180
21591
|
return [
|
|
21181
21592
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
21182
21593
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
21183
|
-
(0,
|
|
21594
|
+
(0, import_middleware_sdk_s352.getThrow200ExceptionsPlugin)(config)
|
|
21184
21595
|
];
|
|
21185
21596
|
}).s("AmazonS3", "ListObjectVersions", {}).n("S3Client", "ListObjectVersionsCommand").f(void 0, void 0).ser(se_ListObjectVersionsCommand).de(de_ListObjectVersionsCommand).build() {
|
|
21186
21597
|
static {
|
|
@@ -21189,7 +21600,7 @@ var ListObjectVersionsCommand = class extends import_smithy_client.Command.class
|
|
|
21189
21600
|
};
|
|
21190
21601
|
|
|
21191
21602
|
// src/commands/ListPartsCommand.ts
|
|
21192
|
-
var
|
|
21603
|
+
var import_middleware_sdk_s353 = __nccwpck_require__(77445);
|
|
21193
21604
|
|
|
21194
21605
|
|
|
21195
21606
|
|
|
@@ -21202,7 +21613,7 @@ var ListPartsCommand = class extends import_smithy_client.Command.classBuilder()
|
|
|
21202
21613
|
return [
|
|
21203
21614
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
21204
21615
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
21205
|
-
(0,
|
|
21616
|
+
(0, import_middleware_sdk_s353.getThrow200ExceptionsPlugin)(config),
|
|
21206
21617
|
(0, import_middleware_ssec.getSsecPlugin)(config)
|
|
21207
21618
|
];
|
|
21208
21619
|
}).s("AmazonS3", "ListParts", {}).n("S3Client", "ListPartsCommand").f(ListPartsRequestFilterSensitiveLog, void 0).ser(se_ListPartsCommand).de(de_ListPartsCommand).build() {
|
|
@@ -21366,7 +21777,7 @@ var PutBucketInventoryConfigurationCommand = class extends import_smithy_client.
|
|
|
21366
21777
|
|
|
21367
21778
|
// src/commands/PutBucketLifecycleConfigurationCommand.ts
|
|
21368
21779
|
|
|
21369
|
-
var
|
|
21780
|
+
var import_middleware_sdk_s354 = __nccwpck_require__(77445);
|
|
21370
21781
|
|
|
21371
21782
|
|
|
21372
21783
|
|
|
@@ -21382,7 +21793,7 @@ var PutBucketLifecycleConfigurationCommand = class extends import_smithy_client.
|
|
|
21382
21793
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
21383
21794
|
requestChecksumRequired: true
|
|
21384
21795
|
}),
|
|
21385
|
-
(0,
|
|
21796
|
+
(0, import_middleware_sdk_s354.getThrow200ExceptionsPlugin)(config)
|
|
21386
21797
|
];
|
|
21387
21798
|
}).s("AmazonS3", "PutBucketLifecycleConfiguration", {}).n("S3Client", "PutBucketLifecycleConfigurationCommand").f(void 0, void 0).ser(se_PutBucketLifecycleConfigurationCommand).de(de_PutBucketLifecycleConfigurationCommand).build() {
|
|
21388
21799
|
static {
|
|
@@ -21622,7 +22033,7 @@ var PutBucketWebsiteCommand = class extends import_smithy_client.Command.classBu
|
|
|
21622
22033
|
|
|
21623
22034
|
// src/commands/PutObjectAclCommand.ts
|
|
21624
22035
|
|
|
21625
|
-
var
|
|
22036
|
+
var import_middleware_sdk_s355 = __nccwpck_require__(77445);
|
|
21626
22037
|
|
|
21627
22038
|
|
|
21628
22039
|
|
|
@@ -21638,7 +22049,7 @@ var PutObjectAclCommand = class extends import_smithy_client.Command.classBuilde
|
|
|
21638
22049
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
21639
22050
|
requestChecksumRequired: true
|
|
21640
22051
|
}),
|
|
21641
|
-
(0,
|
|
22052
|
+
(0, import_middleware_sdk_s355.getThrow200ExceptionsPlugin)(config)
|
|
21642
22053
|
];
|
|
21643
22054
|
}).s("AmazonS3", "PutObjectAcl", {}).n("S3Client", "PutObjectAclCommand").f(void 0, void 0).ser(se_PutObjectAclCommand).de(de_PutObjectAclCommand).build() {
|
|
21644
22055
|
static {
|
|
@@ -21648,7 +22059,7 @@ var PutObjectAclCommand = class extends import_smithy_client.Command.classBuilde
|
|
|
21648
22059
|
|
|
21649
22060
|
// src/commands/PutObjectCommand.ts
|
|
21650
22061
|
|
|
21651
|
-
var
|
|
22062
|
+
var import_middleware_sdk_s356 = __nccwpck_require__(77445);
|
|
21652
22063
|
|
|
21653
22064
|
|
|
21654
22065
|
|
|
@@ -21665,8 +22076,8 @@ var PutObjectCommand = class extends import_smithy_client.Command.classBuilder()
|
|
|
21665
22076
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
21666
22077
|
requestChecksumRequired: false
|
|
21667
22078
|
}),
|
|
21668
|
-
(0,
|
|
21669
|
-
(0,
|
|
22079
|
+
(0, import_middleware_sdk_s356.getCheckContentLengthHeaderPlugin)(config),
|
|
22080
|
+
(0, import_middleware_sdk_s356.getThrow200ExceptionsPlugin)(config),
|
|
21670
22081
|
(0, import_middleware_ssec.getSsecPlugin)(config)
|
|
21671
22082
|
];
|
|
21672
22083
|
}).s("AmazonS3", "PutObject", {}).n("S3Client", "PutObjectCommand").f(PutObjectRequestFilterSensitiveLog, PutObjectOutputFilterSensitiveLog).ser(se_PutObjectCommand).de(de_PutObjectCommand).build() {
|
|
@@ -21677,7 +22088,7 @@ var PutObjectCommand = class extends import_smithy_client.Command.classBuilder()
|
|
|
21677
22088
|
|
|
21678
22089
|
// src/commands/PutObjectLegalHoldCommand.ts
|
|
21679
22090
|
|
|
21680
|
-
var
|
|
22091
|
+
var import_middleware_sdk_s357 = __nccwpck_require__(77445);
|
|
21681
22092
|
|
|
21682
22093
|
|
|
21683
22094
|
|
|
@@ -21692,7 +22103,7 @@ var PutObjectLegalHoldCommand = class extends import_smithy_client.Command.class
|
|
|
21692
22103
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
21693
22104
|
requestChecksumRequired: true
|
|
21694
22105
|
}),
|
|
21695
|
-
(0,
|
|
22106
|
+
(0, import_middleware_sdk_s357.getThrow200ExceptionsPlugin)(config)
|
|
21696
22107
|
];
|
|
21697
22108
|
}).s("AmazonS3", "PutObjectLegalHold", {}).n("S3Client", "PutObjectLegalHoldCommand").f(void 0, void 0).ser(se_PutObjectLegalHoldCommand).de(de_PutObjectLegalHoldCommand).build() {
|
|
21698
22109
|
static {
|
|
@@ -21702,7 +22113,7 @@ var PutObjectLegalHoldCommand = class extends import_smithy_client.Command.class
|
|
|
21702
22113
|
|
|
21703
22114
|
// src/commands/PutObjectLockConfigurationCommand.ts
|
|
21704
22115
|
|
|
21705
|
-
var
|
|
22116
|
+
var import_middleware_sdk_s358 = __nccwpck_require__(77445);
|
|
21706
22117
|
|
|
21707
22118
|
|
|
21708
22119
|
|
|
@@ -21717,7 +22128,7 @@ var PutObjectLockConfigurationCommand = class extends import_smithy_client.Comma
|
|
|
21717
22128
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
21718
22129
|
requestChecksumRequired: true
|
|
21719
22130
|
}),
|
|
21720
|
-
(0,
|
|
22131
|
+
(0, import_middleware_sdk_s358.getThrow200ExceptionsPlugin)(config)
|
|
21721
22132
|
];
|
|
21722
22133
|
}).s("AmazonS3", "PutObjectLockConfiguration", {}).n("S3Client", "PutObjectLockConfigurationCommand").f(void 0, void 0).ser(se_PutObjectLockConfigurationCommand).de(de_PutObjectLockConfigurationCommand).build() {
|
|
21723
22134
|
static {
|
|
@@ -21727,7 +22138,7 @@ var PutObjectLockConfigurationCommand = class extends import_smithy_client.Comma
|
|
|
21727
22138
|
|
|
21728
22139
|
// src/commands/PutObjectRetentionCommand.ts
|
|
21729
22140
|
|
|
21730
|
-
var
|
|
22141
|
+
var import_middleware_sdk_s359 = __nccwpck_require__(77445);
|
|
21731
22142
|
|
|
21732
22143
|
|
|
21733
22144
|
|
|
@@ -21742,7 +22153,7 @@ var PutObjectRetentionCommand = class extends import_smithy_client.Command.class
|
|
|
21742
22153
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
21743
22154
|
requestChecksumRequired: true
|
|
21744
22155
|
}),
|
|
21745
|
-
(0,
|
|
22156
|
+
(0, import_middleware_sdk_s359.getThrow200ExceptionsPlugin)(config)
|
|
21746
22157
|
];
|
|
21747
22158
|
}).s("AmazonS3", "PutObjectRetention", {}).n("S3Client", "PutObjectRetentionCommand").f(void 0, void 0).ser(se_PutObjectRetentionCommand).de(de_PutObjectRetentionCommand).build() {
|
|
21748
22159
|
static {
|
|
@@ -21752,7 +22163,7 @@ var PutObjectRetentionCommand = class extends import_smithy_client.Command.class
|
|
|
21752
22163
|
|
|
21753
22164
|
// src/commands/PutObjectTaggingCommand.ts
|
|
21754
22165
|
|
|
21755
|
-
var
|
|
22166
|
+
var import_middleware_sdk_s360 = __nccwpck_require__(77445);
|
|
21756
22167
|
|
|
21757
22168
|
|
|
21758
22169
|
|
|
@@ -21767,7 +22178,7 @@ var PutObjectTaggingCommand = class extends import_smithy_client.Command.classBu
|
|
|
21767
22178
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
21768
22179
|
requestChecksumRequired: true
|
|
21769
22180
|
}),
|
|
21770
|
-
(0,
|
|
22181
|
+
(0, import_middleware_sdk_s360.getThrow200ExceptionsPlugin)(config)
|
|
21771
22182
|
];
|
|
21772
22183
|
}).s("AmazonS3", "PutObjectTagging", {}).n("S3Client", "PutObjectTaggingCommand").f(void 0, void 0).ser(se_PutObjectTaggingCommand).de(de_PutObjectTaggingCommand).build() {
|
|
21773
22184
|
static {
|
|
@@ -21800,7 +22211,7 @@ var PutPublicAccessBlockCommand = class extends import_smithy_client.Command.cla
|
|
|
21800
22211
|
};
|
|
21801
22212
|
|
|
21802
22213
|
// src/commands/RenameObjectCommand.ts
|
|
21803
|
-
var
|
|
22214
|
+
var import_middleware_sdk_s361 = __nccwpck_require__(77445);
|
|
21804
22215
|
|
|
21805
22216
|
|
|
21806
22217
|
|
|
@@ -21812,7 +22223,7 @@ var RenameObjectCommand = class extends import_smithy_client.Command.classBuilde
|
|
|
21812
22223
|
return [
|
|
21813
22224
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
21814
22225
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
21815
|
-
(0,
|
|
22226
|
+
(0, import_middleware_sdk_s361.getThrow200ExceptionsPlugin)(config)
|
|
21816
22227
|
];
|
|
21817
22228
|
}).s("AmazonS3", "RenameObject", {}).n("S3Client", "RenameObjectCommand").f(void 0, void 0).ser(se_RenameObjectCommand).de(de_RenameObjectCommand).build() {
|
|
21818
22229
|
static {
|
|
@@ -21822,7 +22233,7 @@ var RenameObjectCommand = class extends import_smithy_client.Command.classBuilde
|
|
|
21822
22233
|
|
|
21823
22234
|
// src/commands/RestoreObjectCommand.ts
|
|
21824
22235
|
|
|
21825
|
-
var
|
|
22236
|
+
var import_middleware_sdk_s362 = __nccwpck_require__(77445);
|
|
21826
22237
|
|
|
21827
22238
|
|
|
21828
22239
|
|
|
@@ -21837,7 +22248,7 @@ var RestoreObjectCommand = class extends import_smithy_client.Command.classBuild
|
|
|
21837
22248
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
21838
22249
|
requestChecksumRequired: false
|
|
21839
22250
|
}),
|
|
21840
|
-
(0,
|
|
22251
|
+
(0, import_middleware_sdk_s362.getThrow200ExceptionsPlugin)(config)
|
|
21841
22252
|
];
|
|
21842
22253
|
}).s("AmazonS3", "RestoreObject", {}).n("S3Client", "RestoreObjectCommand").f(RestoreObjectRequestFilterSensitiveLog, void 0).ser(se_RestoreObjectCommand).de(de_RestoreObjectCommand).build() {
|
|
21843
22254
|
static {
|
|
@@ -21846,7 +22257,7 @@ var RestoreObjectCommand = class extends import_smithy_client.Command.classBuild
|
|
|
21846
22257
|
};
|
|
21847
22258
|
|
|
21848
22259
|
// src/commands/SelectObjectContentCommand.ts
|
|
21849
|
-
var
|
|
22260
|
+
var import_middleware_sdk_s363 = __nccwpck_require__(77445);
|
|
21850
22261
|
|
|
21851
22262
|
|
|
21852
22263
|
|
|
@@ -21858,7 +22269,7 @@ var SelectObjectContentCommand = class extends import_smithy_client.Command.clas
|
|
|
21858
22269
|
return [
|
|
21859
22270
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
21860
22271
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
21861
|
-
(0,
|
|
22272
|
+
(0, import_middleware_sdk_s363.getThrow200ExceptionsPlugin)(config),
|
|
21862
22273
|
(0, import_middleware_ssec.getSsecPlugin)(config)
|
|
21863
22274
|
];
|
|
21864
22275
|
}).s("AmazonS3", "SelectObjectContent", {
|
|
@@ -21874,9 +22285,57 @@ var SelectObjectContentCommand = class extends import_smithy_client.Command.clas
|
|
|
21874
22285
|
}
|
|
21875
22286
|
};
|
|
21876
22287
|
|
|
22288
|
+
// src/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.ts
|
|
22289
|
+
|
|
22290
|
+
|
|
22291
|
+
|
|
22292
|
+
|
|
22293
|
+
var UpdateBucketMetadataInventoryTableConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep({
|
|
22294
|
+
...commonParams,
|
|
22295
|
+
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
|
|
22296
|
+
Bucket: { type: "contextParams", name: "Bucket" }
|
|
22297
|
+
}).m(function(Command, cs, config, o) {
|
|
22298
|
+
return [
|
|
22299
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
22300
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
22301
|
+
(0, import_middleware_flexible_checksums.getFlexibleChecksumsPlugin)(config, {
|
|
22302
|
+
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
22303
|
+
requestChecksumRequired: true
|
|
22304
|
+
})
|
|
22305
|
+
];
|
|
22306
|
+
}).s("AmazonS3", "UpdateBucketMetadataInventoryTableConfiguration", {}).n("S3Client", "UpdateBucketMetadataInventoryTableConfigurationCommand").f(void 0, void 0).ser(se_UpdateBucketMetadataInventoryTableConfigurationCommand).de(de_UpdateBucketMetadataInventoryTableConfigurationCommand).build() {
|
|
22307
|
+
static {
|
|
22308
|
+
__name(this, "UpdateBucketMetadataInventoryTableConfigurationCommand");
|
|
22309
|
+
}
|
|
22310
|
+
};
|
|
22311
|
+
|
|
22312
|
+
// src/commands/UpdateBucketMetadataJournalTableConfigurationCommand.ts
|
|
22313
|
+
|
|
22314
|
+
|
|
22315
|
+
|
|
22316
|
+
|
|
22317
|
+
var UpdateBucketMetadataJournalTableConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep({
|
|
22318
|
+
...commonParams,
|
|
22319
|
+
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
|
|
22320
|
+
Bucket: { type: "contextParams", name: "Bucket" }
|
|
22321
|
+
}).m(function(Command, cs, config, o) {
|
|
22322
|
+
return [
|
|
22323
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
22324
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
22325
|
+
(0, import_middleware_flexible_checksums.getFlexibleChecksumsPlugin)(config, {
|
|
22326
|
+
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
22327
|
+
requestChecksumRequired: true
|
|
22328
|
+
})
|
|
22329
|
+
];
|
|
22330
|
+
}).s("AmazonS3", "UpdateBucketMetadataJournalTableConfiguration", {}).n("S3Client", "UpdateBucketMetadataJournalTableConfigurationCommand").f(void 0, void 0).ser(se_UpdateBucketMetadataJournalTableConfigurationCommand).de(de_UpdateBucketMetadataJournalTableConfigurationCommand).build() {
|
|
22331
|
+
static {
|
|
22332
|
+
__name(this, "UpdateBucketMetadataJournalTableConfigurationCommand");
|
|
22333
|
+
}
|
|
22334
|
+
};
|
|
22335
|
+
|
|
21877
22336
|
// src/commands/UploadPartCommand.ts
|
|
21878
22337
|
|
|
21879
|
-
var
|
|
22338
|
+
var import_middleware_sdk_s364 = __nccwpck_require__(77445);
|
|
21880
22339
|
|
|
21881
22340
|
|
|
21882
22341
|
|
|
@@ -21893,7 +22352,7 @@ var UploadPartCommand = class extends import_smithy_client.Command.classBuilder(
|
|
|
21893
22352
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
21894
22353
|
requestChecksumRequired: false
|
|
21895
22354
|
}),
|
|
21896
|
-
(0,
|
|
22355
|
+
(0, import_middleware_sdk_s364.getThrow200ExceptionsPlugin)(config),
|
|
21897
22356
|
(0, import_middleware_ssec.getSsecPlugin)(config)
|
|
21898
22357
|
];
|
|
21899
22358
|
}).s("AmazonS3", "UploadPart", {}).n("S3Client", "UploadPartCommand").f(UploadPartRequestFilterSensitiveLog, UploadPartOutputFilterSensitiveLog).ser(se_UploadPartCommand).de(de_UploadPartCommand).build() {
|
|
@@ -21903,7 +22362,7 @@ var UploadPartCommand = class extends import_smithy_client.Command.classBuilder(
|
|
|
21903
22362
|
};
|
|
21904
22363
|
|
|
21905
22364
|
// src/commands/UploadPartCopyCommand.ts
|
|
21906
|
-
var
|
|
22365
|
+
var import_middleware_sdk_s365 = __nccwpck_require__(77445);
|
|
21907
22366
|
|
|
21908
22367
|
|
|
21909
22368
|
|
|
@@ -21916,7 +22375,7 @@ var UploadPartCopyCommand = class extends import_smithy_client.Command.classBuil
|
|
|
21916
22375
|
return [
|
|
21917
22376
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
21918
22377
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
21919
|
-
(0,
|
|
22378
|
+
(0, import_middleware_sdk_s365.getThrow200ExceptionsPlugin)(config),
|
|
21920
22379
|
(0, import_middleware_ssec.getSsecPlugin)(config)
|
|
21921
22380
|
];
|
|
21922
22381
|
}).s("AmazonS3", "UploadPartCopy", {}).n("S3Client", "UploadPartCopyCommand").f(UploadPartCopyRequestFilterSensitiveLog, UploadPartCopyOutputFilterSensitiveLog).ser(se_UploadPartCopyCommand).de(de_UploadPartCopyCommand).build() {
|
|
@@ -21949,6 +22408,7 @@ var commands = {
|
|
|
21949
22408
|
CompleteMultipartUploadCommand,
|
|
21950
22409
|
CopyObjectCommand,
|
|
21951
22410
|
CreateBucketCommand,
|
|
22411
|
+
CreateBucketMetadataConfigurationCommand,
|
|
21952
22412
|
CreateBucketMetadataTableConfigurationCommand,
|
|
21953
22413
|
CreateMultipartUploadCommand,
|
|
21954
22414
|
CreateSessionCommand,
|
|
@@ -21959,6 +22419,7 @@ var commands = {
|
|
|
21959
22419
|
DeleteBucketIntelligentTieringConfigurationCommand,
|
|
21960
22420
|
DeleteBucketInventoryConfigurationCommand,
|
|
21961
22421
|
DeleteBucketLifecycleCommand,
|
|
22422
|
+
DeleteBucketMetadataConfigurationCommand,
|
|
21962
22423
|
DeleteBucketMetadataTableConfigurationCommand,
|
|
21963
22424
|
DeleteBucketMetricsConfigurationCommand,
|
|
21964
22425
|
DeleteBucketOwnershipControlsCommand,
|
|
@@ -21980,6 +22441,7 @@ var commands = {
|
|
|
21980
22441
|
GetBucketLifecycleConfigurationCommand,
|
|
21981
22442
|
GetBucketLocationCommand,
|
|
21982
22443
|
GetBucketLoggingCommand,
|
|
22444
|
+
GetBucketMetadataConfigurationCommand,
|
|
21983
22445
|
GetBucketMetadataTableConfigurationCommand,
|
|
21984
22446
|
GetBucketMetricsConfigurationCommand,
|
|
21985
22447
|
GetBucketNotificationConfigurationCommand,
|
|
@@ -22041,6 +22503,8 @@ var commands = {
|
|
|
22041
22503
|
RenameObjectCommand,
|
|
22042
22504
|
RestoreObjectCommand,
|
|
22043
22505
|
SelectObjectContentCommand,
|
|
22506
|
+
UpdateBucketMetadataInventoryTableConfigurationCommand,
|
|
22507
|
+
UpdateBucketMetadataJournalTableConfigurationCommand,
|
|
22044
22508
|
UploadPartCommand,
|
|
22045
22509
|
UploadPartCopyCommand,
|
|
22046
22510
|
WriteGetObjectResponseCommand
|
|
@@ -25089,9 +25553,8 @@ var XmlShapeDeserializer = class extends SerdeContextConfig {
|
|
|
25089
25553
|
readSchema(_schema, value) {
|
|
25090
25554
|
const ns = import_schema5.NormalizedSchema.of(_schema);
|
|
25091
25555
|
const traits = ns.getMergedTraits();
|
|
25092
|
-
const schema = ns.getSchema();
|
|
25093
25556
|
if (ns.isListSchema() && !Array.isArray(value)) {
|
|
25094
|
-
return this.readSchema(
|
|
25557
|
+
return this.readSchema(ns, [value]);
|
|
25095
25558
|
}
|
|
25096
25559
|
if (value == null) {
|
|
25097
25560
|
return value;
|
|
@@ -25147,14 +25610,14 @@ var XmlShapeDeserializer = class extends SerdeContextConfig {
|
|
|
25147
25610
|
return value;
|
|
25148
25611
|
}
|
|
25149
25612
|
throw new Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${ns.getName(true)}`);
|
|
25150
|
-
} else {
|
|
25151
|
-
if (ns.isListSchema()) {
|
|
25152
|
-
return [];
|
|
25153
|
-
} else if (ns.isMapSchema() || ns.isStructSchema()) {
|
|
25154
|
-
return {};
|
|
25155
|
-
}
|
|
25156
|
-
return this.stringDeserializer.read(ns, value);
|
|
25157
25613
|
}
|
|
25614
|
+
if (ns.isListSchema()) {
|
|
25615
|
+
return [];
|
|
25616
|
+
}
|
|
25617
|
+
if (ns.isMapSchema() || ns.isStructSchema()) {
|
|
25618
|
+
return {};
|
|
25619
|
+
}
|
|
25620
|
+
return this.stringDeserializer.read(ns, value);
|
|
25158
25621
|
}
|
|
25159
25622
|
parseXml(xml) {
|
|
25160
25623
|
if (xml.length) {
|
|
@@ -79240,7 +79703,7 @@ var splitHeader = (value) => {
|
|
|
79240
79703
|
};
|
|
79241
79704
|
|
|
79242
79705
|
// src/submodules/serde/value/NumericValue.ts
|
|
79243
|
-
var NumericValue = class {
|
|
79706
|
+
var NumericValue = class _NumericValue {
|
|
79244
79707
|
constructor(string, type) {
|
|
79245
79708
|
this.string = string;
|
|
79246
79709
|
this.type = type;
|
|
@@ -79267,15 +79730,19 @@ var NumericValue = class {
|
|
|
79267
79730
|
toString() {
|
|
79268
79731
|
return this.string;
|
|
79269
79732
|
}
|
|
79270
|
-
[Symbol.hasInstance](object) {
|
|
79733
|
+
static [Symbol.hasInstance](object) {
|
|
79271
79734
|
if (!object || typeof object !== "object") {
|
|
79272
79735
|
return false;
|
|
79273
79736
|
}
|
|
79274
79737
|
const _nv = object;
|
|
79738
|
+
const prototypeMatch = _NumericValue.prototype.isPrototypeOf(object.constructor?.prototype);
|
|
79739
|
+
if (prototypeMatch) {
|
|
79740
|
+
return prototypeMatch;
|
|
79741
|
+
}
|
|
79275
79742
|
if (typeof _nv.string === "string" && typeof _nv.type === "string" && _nv.constructor?.name === "NumericValue") {
|
|
79276
79743
|
return true;
|
|
79277
79744
|
}
|
|
79278
|
-
return
|
|
79745
|
+
return prototypeMatch;
|
|
79279
79746
|
}
|
|
79280
79747
|
};
|
|
79281
79748
|
function nv(input) {
|
|
@@ -81272,6 +81739,7 @@ var getEndpointFromInstructions = /* @__PURE__ */ __name(async (commandInput, in
|
|
|
81272
81739
|
}
|
|
81273
81740
|
if (endpointFromConfig) {
|
|
81274
81741
|
clientConfig.endpoint = () => Promise.resolve(toEndpointV1(endpointFromConfig));
|
|
81742
|
+
clientConfig.isCustomEndpoint = true;
|
|
81275
81743
|
}
|
|
81276
81744
|
}
|
|
81277
81745
|
const endpointParams = await resolveParams(commandInput, instructionsSupplier, clientConfig);
|
|
@@ -96030,6 +96498,78 @@ function range(a, b, str) {
|
|
|
96030
96498
|
}
|
|
96031
96499
|
|
|
96032
96500
|
|
|
96501
|
+
/***/ }),
|
|
96502
|
+
|
|
96503
|
+
/***/ 22639:
|
|
96504
|
+
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
96505
|
+
|
|
96506
|
+
|
|
96507
|
+
|
|
96508
|
+
var bind = __nccwpck_require__(37564);
|
|
96509
|
+
|
|
96510
|
+
var $apply = __nccwpck_require__(33945);
|
|
96511
|
+
var $call = __nccwpck_require__(88093);
|
|
96512
|
+
var $reflectApply = __nccwpck_require__(31330);
|
|
96513
|
+
|
|
96514
|
+
/** @type {import('./actualApply')} */
|
|
96515
|
+
module.exports = $reflectApply || bind.call($call, $apply);
|
|
96516
|
+
|
|
96517
|
+
|
|
96518
|
+
/***/ }),
|
|
96519
|
+
|
|
96520
|
+
/***/ 33945:
|
|
96521
|
+
/***/ ((module) => {
|
|
96522
|
+
|
|
96523
|
+
|
|
96524
|
+
|
|
96525
|
+
/** @type {import('./functionApply')} */
|
|
96526
|
+
module.exports = Function.prototype.apply;
|
|
96527
|
+
|
|
96528
|
+
|
|
96529
|
+
/***/ }),
|
|
96530
|
+
|
|
96531
|
+
/***/ 88093:
|
|
96532
|
+
/***/ ((module) => {
|
|
96533
|
+
|
|
96534
|
+
|
|
96535
|
+
|
|
96536
|
+
/** @type {import('./functionCall')} */
|
|
96537
|
+
module.exports = Function.prototype.call;
|
|
96538
|
+
|
|
96539
|
+
|
|
96540
|
+
/***/ }),
|
|
96541
|
+
|
|
96542
|
+
/***/ 88705:
|
|
96543
|
+
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
96544
|
+
|
|
96545
|
+
|
|
96546
|
+
|
|
96547
|
+
var bind = __nccwpck_require__(37564);
|
|
96548
|
+
var $TypeError = __nccwpck_require__(73314);
|
|
96549
|
+
|
|
96550
|
+
var $call = __nccwpck_require__(88093);
|
|
96551
|
+
var $actualApply = __nccwpck_require__(22639);
|
|
96552
|
+
|
|
96553
|
+
/** @type {import('.')} */
|
|
96554
|
+
module.exports = function callBindBasic(args) {
|
|
96555
|
+
if (args.length < 1 || typeof args[0] !== 'function') {
|
|
96556
|
+
throw new $TypeError('a function is required');
|
|
96557
|
+
}
|
|
96558
|
+
return $actualApply(bind, $call, args);
|
|
96559
|
+
};
|
|
96560
|
+
|
|
96561
|
+
|
|
96562
|
+
/***/ }),
|
|
96563
|
+
|
|
96564
|
+
/***/ 31330:
|
|
96565
|
+
/***/ ((module) => {
|
|
96566
|
+
|
|
96567
|
+
|
|
96568
|
+
|
|
96569
|
+
/** @type {import('./reflectApply')} */
|
|
96570
|
+
module.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;
|
|
96571
|
+
|
|
96572
|
+
|
|
96033
96573
|
/***/ }),
|
|
96034
96574
|
|
|
96035
96575
|
/***/ 35630:
|
|
@@ -97540,9 +98080,12 @@ const version = packageJson.version
|
|
|
97540
98080
|
|
|
97541
98081
|
// Array of tips to display randomly
|
|
97542
98082
|
const TIPS = [
|
|
97543
|
-
'🔐 encrypt with
|
|
98083
|
+
'🔐 encrypt with Dotenvx: https://dotenvx.com',
|
|
97544
98084
|
'🔐 prevent committing .env to code: https://dotenvx.com/precommit',
|
|
97545
98085
|
'🔐 prevent building .env in docker: https://dotenvx.com/prebuild',
|
|
98086
|
+
'📡 observe env with Radar: https://dotenvx.com/radar',
|
|
98087
|
+
'📡 auto-backup env with Radar: https://dotenvx.com/radar',
|
|
98088
|
+
'📡 version env with Radar: https://dotenvx.com/radar',
|
|
97546
98089
|
'🛠️ run anywhere with `dotenvx run -- yourcommand`',
|
|
97547
98090
|
'⚙️ specify custom .env file path with { path: \'/custom/path/.env\' }',
|
|
97548
98091
|
'⚙️ enable debug logging with { debug: true }',
|
|
@@ -97843,7 +98386,7 @@ function configDotenv (options) {
|
|
|
97843
98386
|
}
|
|
97844
98387
|
}
|
|
97845
98388
|
|
|
97846
|
-
_log(`injecting env (${keysCount}) from ${shortPaths.join(',')} ${dim(
|
|
98389
|
+
_log(`injecting env (${keysCount}) from ${shortPaths.join(',')} ${dim(`-- tip: ${_getRandomTip()}`)}`)
|
|
97847
98390
|
}
|
|
97848
98391
|
|
|
97849
98392
|
if (lastError) {
|
|
@@ -97960,6 +98503,43 @@ module.exports.populate = DotenvModule.populate
|
|
|
97960
98503
|
module.exports = DotenvModule
|
|
97961
98504
|
|
|
97962
98505
|
|
|
98506
|
+
/***/ }),
|
|
98507
|
+
|
|
98508
|
+
/***/ 26669:
|
|
98509
|
+
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
98510
|
+
|
|
98511
|
+
|
|
98512
|
+
|
|
98513
|
+
var callBind = __nccwpck_require__(88705);
|
|
98514
|
+
var gOPD = __nccwpck_require__(33170);
|
|
98515
|
+
|
|
98516
|
+
var hasProtoAccessor;
|
|
98517
|
+
try {
|
|
98518
|
+
// eslint-disable-next-line no-extra-parens, no-proto
|
|
98519
|
+
hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;
|
|
98520
|
+
} catch (e) {
|
|
98521
|
+
if (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') {
|
|
98522
|
+
throw e;
|
|
98523
|
+
}
|
|
98524
|
+
}
|
|
98525
|
+
|
|
98526
|
+
// eslint-disable-next-line no-extra-parens
|
|
98527
|
+
var desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));
|
|
98528
|
+
|
|
98529
|
+
var $Object = Object;
|
|
98530
|
+
var $getPrototypeOf = $Object.getPrototypeOf;
|
|
98531
|
+
|
|
98532
|
+
/** @type {import('./get')} */
|
|
98533
|
+
module.exports = desc && typeof desc.get === 'function'
|
|
98534
|
+
? callBind([desc.get])
|
|
98535
|
+
: typeof $getPrototypeOf === 'function'
|
|
98536
|
+
? /** @type {import('./get')} */ function getDunder(value) {
|
|
98537
|
+
// eslint-disable-next-line eqeqeq
|
|
98538
|
+
return $getPrototypeOf(value == null ? value : $Object(value));
|
|
98539
|
+
}
|
|
98540
|
+
: false;
|
|
98541
|
+
|
|
98542
|
+
|
|
97963
98543
|
/***/ }),
|
|
97964
98544
|
|
|
97965
98545
|
/***/ 31424:
|
|
@@ -98061,6 +98641,157 @@ var eos = function(stream, opts, callback) {
|
|
|
98061
98641
|
module.exports = eos;
|
|
98062
98642
|
|
|
98063
98643
|
|
|
98644
|
+
/***/ }),
|
|
98645
|
+
|
|
98646
|
+
/***/ 79094:
|
|
98647
|
+
/***/ ((module) => {
|
|
98648
|
+
|
|
98649
|
+
|
|
98650
|
+
|
|
98651
|
+
/** @type {import('.')} */
|
|
98652
|
+
var $defineProperty = Object.defineProperty || false;
|
|
98653
|
+
if ($defineProperty) {
|
|
98654
|
+
try {
|
|
98655
|
+
$defineProperty({}, 'a', { value: 1 });
|
|
98656
|
+
} catch (e) {
|
|
98657
|
+
// IE 8 has a broken defineProperty
|
|
98658
|
+
$defineProperty = false;
|
|
98659
|
+
}
|
|
98660
|
+
}
|
|
98661
|
+
|
|
98662
|
+
module.exports = $defineProperty;
|
|
98663
|
+
|
|
98664
|
+
|
|
98665
|
+
/***/ }),
|
|
98666
|
+
|
|
98667
|
+
/***/ 33056:
|
|
98668
|
+
/***/ ((module) => {
|
|
98669
|
+
|
|
98670
|
+
|
|
98671
|
+
|
|
98672
|
+
/** @type {import('./eval')} */
|
|
98673
|
+
module.exports = EvalError;
|
|
98674
|
+
|
|
98675
|
+
|
|
98676
|
+
/***/ }),
|
|
98677
|
+
|
|
98678
|
+
/***/ 31620:
|
|
98679
|
+
/***/ ((module) => {
|
|
98680
|
+
|
|
98681
|
+
|
|
98682
|
+
|
|
98683
|
+
/** @type {import('.')} */
|
|
98684
|
+
module.exports = Error;
|
|
98685
|
+
|
|
98686
|
+
|
|
98687
|
+
/***/ }),
|
|
98688
|
+
|
|
98689
|
+
/***/ 14585:
|
|
98690
|
+
/***/ ((module) => {
|
|
98691
|
+
|
|
98692
|
+
|
|
98693
|
+
|
|
98694
|
+
/** @type {import('./range')} */
|
|
98695
|
+
module.exports = RangeError;
|
|
98696
|
+
|
|
98697
|
+
|
|
98698
|
+
/***/ }),
|
|
98699
|
+
|
|
98700
|
+
/***/ 46905:
|
|
98701
|
+
/***/ ((module) => {
|
|
98702
|
+
|
|
98703
|
+
|
|
98704
|
+
|
|
98705
|
+
/** @type {import('./ref')} */
|
|
98706
|
+
module.exports = ReferenceError;
|
|
98707
|
+
|
|
98708
|
+
|
|
98709
|
+
/***/ }),
|
|
98710
|
+
|
|
98711
|
+
/***/ 80105:
|
|
98712
|
+
/***/ ((module) => {
|
|
98713
|
+
|
|
98714
|
+
|
|
98715
|
+
|
|
98716
|
+
/** @type {import('./syntax')} */
|
|
98717
|
+
module.exports = SyntaxError;
|
|
98718
|
+
|
|
98719
|
+
|
|
98720
|
+
/***/ }),
|
|
98721
|
+
|
|
98722
|
+
/***/ 73314:
|
|
98723
|
+
/***/ ((module) => {
|
|
98724
|
+
|
|
98725
|
+
|
|
98726
|
+
|
|
98727
|
+
/** @type {import('./type')} */
|
|
98728
|
+
module.exports = TypeError;
|
|
98729
|
+
|
|
98730
|
+
|
|
98731
|
+
/***/ }),
|
|
98732
|
+
|
|
98733
|
+
/***/ 32578:
|
|
98734
|
+
/***/ ((module) => {
|
|
98735
|
+
|
|
98736
|
+
|
|
98737
|
+
|
|
98738
|
+
/** @type {import('./uri')} */
|
|
98739
|
+
module.exports = URIError;
|
|
98740
|
+
|
|
98741
|
+
|
|
98742
|
+
/***/ }),
|
|
98743
|
+
|
|
98744
|
+
/***/ 95399:
|
|
98745
|
+
/***/ ((module) => {
|
|
98746
|
+
|
|
98747
|
+
|
|
98748
|
+
|
|
98749
|
+
/** @type {import('.')} */
|
|
98750
|
+
module.exports = Object;
|
|
98751
|
+
|
|
98752
|
+
|
|
98753
|
+
/***/ }),
|
|
98754
|
+
|
|
98755
|
+
/***/ 88700:
|
|
98756
|
+
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
98757
|
+
|
|
98758
|
+
|
|
98759
|
+
|
|
98760
|
+
var GetIntrinsic = __nccwpck_require__(60470);
|
|
98761
|
+
|
|
98762
|
+
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
|
|
98763
|
+
|
|
98764
|
+
var hasToStringTag = __nccwpck_require__(85479)();
|
|
98765
|
+
var hasOwn = __nccwpck_require__(54076);
|
|
98766
|
+
var $TypeError = __nccwpck_require__(73314);
|
|
98767
|
+
|
|
98768
|
+
var toStringTag = hasToStringTag ? Symbol.toStringTag : null;
|
|
98769
|
+
|
|
98770
|
+
/** @type {import('.')} */
|
|
98771
|
+
module.exports = function setToStringTag(object, value) {
|
|
98772
|
+
var overrideIfSet = arguments.length > 2 && !!arguments[2] && arguments[2].force;
|
|
98773
|
+
var nonConfigurable = arguments.length > 2 && !!arguments[2] && arguments[2].nonConfigurable;
|
|
98774
|
+
if (
|
|
98775
|
+
(typeof overrideIfSet !== 'undefined' && typeof overrideIfSet !== 'boolean')
|
|
98776
|
+
|| (typeof nonConfigurable !== 'undefined' && typeof nonConfigurable !== 'boolean')
|
|
98777
|
+
) {
|
|
98778
|
+
throw new $TypeError('if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans');
|
|
98779
|
+
}
|
|
98780
|
+
if (toStringTag && (overrideIfSet || !hasOwn(object, toStringTag))) {
|
|
98781
|
+
if ($defineProperty) {
|
|
98782
|
+
$defineProperty(object, toStringTag, {
|
|
98783
|
+
configurable: !nonConfigurable,
|
|
98784
|
+
enumerable: false,
|
|
98785
|
+
value: value,
|
|
98786
|
+
writable: false
|
|
98787
|
+
});
|
|
98788
|
+
} else {
|
|
98789
|
+
object[toStringTag] = value; // eslint-disable-line no-param-reassign
|
|
98790
|
+
}
|
|
98791
|
+
}
|
|
98792
|
+
};
|
|
98793
|
+
|
|
98794
|
+
|
|
98064
98795
|
/***/ }),
|
|
98065
98796
|
|
|
98066
98797
|
/***/ 28998:
|
|
@@ -109917,6 +110648,8 @@ module.exports.wrap = wrap;
|
|
|
109917
110648
|
/***/ 96454:
|
|
109918
110649
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
109919
110650
|
|
|
110651
|
+
|
|
110652
|
+
|
|
109920
110653
|
var CombinedStream = __nccwpck_require__(35630);
|
|
109921
110654
|
var util = __nccwpck_require__(39023);
|
|
109922
110655
|
var path = __nccwpck_require__(16928);
|
|
@@ -109925,23 +110658,20 @@ var https = __nccwpck_require__(65692);
|
|
|
109925
110658
|
var parseUrl = (__nccwpck_require__(87016).parse);
|
|
109926
110659
|
var fs = __nccwpck_require__(79896);
|
|
109927
110660
|
var Stream = (__nccwpck_require__(2203).Stream);
|
|
110661
|
+
var crypto = __nccwpck_require__(76982);
|
|
109928
110662
|
var mime = __nccwpck_require__(14096);
|
|
109929
110663
|
var asynckit = __nccwpck_require__(31324);
|
|
110664
|
+
var setToStringTag = __nccwpck_require__(88700);
|
|
110665
|
+
var hasOwn = __nccwpck_require__(54076);
|
|
109930
110666
|
var populate = __nccwpck_require__(11835);
|
|
109931
110667
|
|
|
109932
|
-
// Public API
|
|
109933
|
-
module.exports = FormData;
|
|
109934
|
-
|
|
109935
|
-
// make it a Stream
|
|
109936
|
-
util.inherits(FormData, CombinedStream);
|
|
109937
|
-
|
|
109938
110668
|
/**
|
|
109939
110669
|
* Create readable "multipart/form-data" streams.
|
|
109940
110670
|
* Can be used to submit forms
|
|
109941
110671
|
* and file uploads to other web applications.
|
|
109942
110672
|
*
|
|
109943
110673
|
* @constructor
|
|
109944
|
-
* @param {
|
|
110674
|
+
* @param {object} options - Properties to be added/overriden for FormData and CombinedStream
|
|
109945
110675
|
*/
|
|
109946
110676
|
function FormData(options) {
|
|
109947
110677
|
if (!(this instanceof FormData)) {
|
|
@@ -109954,35 +110684,39 @@ function FormData(options) {
|
|
|
109954
110684
|
|
|
109955
110685
|
CombinedStream.call(this);
|
|
109956
110686
|
|
|
109957
|
-
options = options || {};
|
|
109958
|
-
for (var option in options) {
|
|
110687
|
+
options = options || {}; // eslint-disable-line no-param-reassign
|
|
110688
|
+
for (var option in options) { // eslint-disable-line no-restricted-syntax
|
|
109959
110689
|
this[option] = options[option];
|
|
109960
110690
|
}
|
|
109961
110691
|
}
|
|
109962
110692
|
|
|
110693
|
+
// make it a Stream
|
|
110694
|
+
util.inherits(FormData, CombinedStream);
|
|
110695
|
+
|
|
109963
110696
|
FormData.LINE_BREAK = '\r\n';
|
|
109964
110697
|
FormData.DEFAULT_CONTENT_TYPE = 'application/octet-stream';
|
|
109965
110698
|
|
|
109966
|
-
FormData.prototype.append = function(field, value, options) {
|
|
109967
|
-
|
|
109968
|
-
options = options || {};
|
|
110699
|
+
FormData.prototype.append = function (field, value, options) {
|
|
110700
|
+
options = options || {}; // eslint-disable-line no-param-reassign
|
|
109969
110701
|
|
|
109970
110702
|
// allow filename as single option
|
|
109971
|
-
if (typeof options
|
|
109972
|
-
options = {filename: options};
|
|
110703
|
+
if (typeof options === 'string') {
|
|
110704
|
+
options = { filename: options }; // eslint-disable-line no-param-reassign
|
|
109973
110705
|
}
|
|
109974
110706
|
|
|
109975
110707
|
var append = CombinedStream.prototype.append.bind(this);
|
|
109976
110708
|
|
|
109977
110709
|
// all that streamy business can't handle numbers
|
|
109978
|
-
if (typeof value
|
|
109979
|
-
value =
|
|
110710
|
+
if (typeof value === 'number' || value == null) {
|
|
110711
|
+
value = String(value); // eslint-disable-line no-param-reassign
|
|
109980
110712
|
}
|
|
109981
110713
|
|
|
109982
110714
|
// https://github.com/felixge/node-form-data/issues/38
|
|
109983
|
-
if (
|
|
109984
|
-
|
|
109985
|
-
|
|
110715
|
+
if (Array.isArray(value)) {
|
|
110716
|
+
/*
|
|
110717
|
+
* Please convert your array into string
|
|
110718
|
+
* the way web server expects it
|
|
110719
|
+
*/
|
|
109986
110720
|
this._error(new Error('Arrays are not supported.'));
|
|
109987
110721
|
return;
|
|
109988
110722
|
}
|
|
@@ -109998,15 +110732,17 @@ FormData.prototype.append = function(field, value, options) {
|
|
|
109998
110732
|
this._trackLength(header, value, options);
|
|
109999
110733
|
};
|
|
110000
110734
|
|
|
110001
|
-
FormData.prototype._trackLength = function(header, value, options) {
|
|
110735
|
+
FormData.prototype._trackLength = function (header, value, options) {
|
|
110002
110736
|
var valueLength = 0;
|
|
110003
110737
|
|
|
110004
|
-
|
|
110005
|
-
|
|
110006
|
-
|
|
110007
|
-
|
|
110738
|
+
/*
|
|
110739
|
+
* used w/ getLengthSync(), when length is known.
|
|
110740
|
+
* e.g. for streaming directly from a remote server,
|
|
110741
|
+
* w/ a known file a size, and not wanting to wait for
|
|
110742
|
+
* incoming file to finish to get its size.
|
|
110743
|
+
*/
|
|
110008
110744
|
if (options.knownLength != null) {
|
|
110009
|
-
valueLength +=
|
|
110745
|
+
valueLength += Number(options.knownLength);
|
|
110010
110746
|
} else if (Buffer.isBuffer(value)) {
|
|
110011
110747
|
valueLength = value.length;
|
|
110012
110748
|
} else if (typeof value === 'string') {
|
|
@@ -110016,12 +110752,10 @@ FormData.prototype._trackLength = function(header, value, options) {
|
|
|
110016
110752
|
this._valueLength += valueLength;
|
|
110017
110753
|
|
|
110018
110754
|
// @check why add CRLF? does this account for custom/multiple CRLFs?
|
|
110019
|
-
this._overheadLength +=
|
|
110020
|
-
Buffer.byteLength(header) +
|
|
110021
|
-
FormData.LINE_BREAK.length;
|
|
110755
|
+
this._overheadLength += Buffer.byteLength(header) + FormData.LINE_BREAK.length;
|
|
110022
110756
|
|
|
110023
110757
|
// empty or either doesn't have path or not an http response or not a stream
|
|
110024
|
-
if (!value || (
|
|
110758
|
+
if (!value || (!value.path && !(value.readable && hasOwn(value, 'httpVersion')) && !(value instanceof Stream))) {
|
|
110025
110759
|
return;
|
|
110026
110760
|
}
|
|
110027
110761
|
|
|
@@ -110031,10 +110765,8 @@ FormData.prototype._trackLength = function(header, value, options) {
|
|
|
110031
110765
|
}
|
|
110032
110766
|
};
|
|
110033
110767
|
|
|
110034
|
-
FormData.prototype._lengthRetriever = function(value, callback) {
|
|
110035
|
-
|
|
110036
|
-
if (value.hasOwnProperty('fd')) {
|
|
110037
|
-
|
|
110768
|
+
FormData.prototype._lengthRetriever = function (value, callback) {
|
|
110769
|
+
if (hasOwn(value, 'fd')) {
|
|
110038
110770
|
// take read range into a account
|
|
110039
110771
|
// `end` = Infinity –> read file till the end
|
|
110040
110772
|
//
|
|
@@ -110043,54 +110775,52 @@ FormData.prototype._lengthRetriever = function(value, callback) {
|
|
|
110043
110775
|
// Fix it when node fixes it.
|
|
110044
110776
|
// https://github.com/joyent/node/issues/7819
|
|
110045
110777
|
if (value.end != undefined && value.end != Infinity && value.start != undefined) {
|
|
110046
|
-
|
|
110047
110778
|
// when end specified
|
|
110048
110779
|
// no need to calculate range
|
|
110049
110780
|
// inclusive, starts with 0
|
|
110050
|
-
callback(null, value.end + 1 - (value.start ? value.start : 0));
|
|
110781
|
+
callback(null, value.end + 1 - (value.start ? value.start : 0)); // eslint-disable-line callback-return
|
|
110051
110782
|
|
|
110052
|
-
|
|
110783
|
+
// not that fast snoopy
|
|
110053
110784
|
} else {
|
|
110054
110785
|
// still need to fetch file size from fs
|
|
110055
|
-
fs.stat(value.path, function(err, stat) {
|
|
110056
|
-
|
|
110057
|
-
var fileSize;
|
|
110058
|
-
|
|
110786
|
+
fs.stat(value.path, function (err, stat) {
|
|
110059
110787
|
if (err) {
|
|
110060
110788
|
callback(err);
|
|
110061
110789
|
return;
|
|
110062
110790
|
}
|
|
110063
110791
|
|
|
110064
110792
|
// update final size based on the range options
|
|
110065
|
-
fileSize = stat.size - (value.start ? value.start : 0);
|
|
110793
|
+
var fileSize = stat.size - (value.start ? value.start : 0);
|
|
110066
110794
|
callback(null, fileSize);
|
|
110067
110795
|
});
|
|
110068
110796
|
}
|
|
110069
110797
|
|
|
110070
|
-
|
|
110071
|
-
} else if (value
|
|
110072
|
-
callback(null,
|
|
110798
|
+
// or http response
|
|
110799
|
+
} else if (hasOwn(value, 'httpVersion')) {
|
|
110800
|
+
callback(null, Number(value.headers['content-length'])); // eslint-disable-line callback-return
|
|
110073
110801
|
|
|
110074
|
-
|
|
110075
|
-
} else if (value
|
|
110802
|
+
// or request stream http://github.com/mikeal/request
|
|
110803
|
+
} else if (hasOwn(value, 'httpModule')) {
|
|
110076
110804
|
// wait till response come back
|
|
110077
|
-
value.on('response', function(response) {
|
|
110805
|
+
value.on('response', function (response) {
|
|
110078
110806
|
value.pause();
|
|
110079
|
-
callback(null,
|
|
110807
|
+
callback(null, Number(response.headers['content-length']));
|
|
110080
110808
|
});
|
|
110081
110809
|
value.resume();
|
|
110082
110810
|
|
|
110083
|
-
|
|
110811
|
+
// something else
|
|
110084
110812
|
} else {
|
|
110085
|
-
callback('Unknown stream');
|
|
110813
|
+
callback('Unknown stream'); // eslint-disable-line callback-return
|
|
110086
110814
|
}
|
|
110087
110815
|
};
|
|
110088
110816
|
|
|
110089
|
-
FormData.prototype._multiPartHeader = function(field, value, options) {
|
|
110090
|
-
|
|
110091
|
-
|
|
110092
|
-
|
|
110093
|
-
|
|
110817
|
+
FormData.prototype._multiPartHeader = function (field, value, options) {
|
|
110818
|
+
/*
|
|
110819
|
+
* custom header specified (as string)?
|
|
110820
|
+
* it becomes responsible for boundary
|
|
110821
|
+
* (e.g. to handle extra CRLFs on .NET servers)
|
|
110822
|
+
*/
|
|
110823
|
+
if (typeof options.header === 'string') {
|
|
110094
110824
|
return options.header;
|
|
110095
110825
|
}
|
|
110096
110826
|
|
|
@@ -110098,7 +110828,7 @@ FormData.prototype._multiPartHeader = function(field, value, options) {
|
|
|
110098
110828
|
var contentType = this._getContentType(value, options);
|
|
110099
110829
|
|
|
110100
110830
|
var contents = '';
|
|
110101
|
-
var headers
|
|
110831
|
+
var headers = {
|
|
110102
110832
|
// add custom disposition as third element or keep it two elements if not
|
|
110103
110833
|
'Content-Disposition': ['form-data', 'name="' + field + '"'].concat(contentDisposition || []),
|
|
110104
110834
|
// if no content type. allow it to be empty array
|
|
@@ -110106,77 +110836,74 @@ FormData.prototype._multiPartHeader = function(field, value, options) {
|
|
|
110106
110836
|
};
|
|
110107
110837
|
|
|
110108
110838
|
// allow custom headers.
|
|
110109
|
-
if (typeof options.header
|
|
110839
|
+
if (typeof options.header === 'object') {
|
|
110110
110840
|
populate(headers, options.header);
|
|
110111
110841
|
}
|
|
110112
110842
|
|
|
110113
110843
|
var header;
|
|
110114
|
-
for (var prop in headers) {
|
|
110115
|
-
if (
|
|
110116
|
-
|
|
110844
|
+
for (var prop in headers) { // eslint-disable-line no-restricted-syntax
|
|
110845
|
+
if (hasOwn(headers, prop)) {
|
|
110846
|
+
header = headers[prop];
|
|
110117
110847
|
|
|
110118
|
-
|
|
110119
|
-
|
|
110120
|
-
|
|
110121
|
-
|
|
110848
|
+
// skip nullish headers.
|
|
110849
|
+
if (header == null) {
|
|
110850
|
+
continue; // eslint-disable-line no-restricted-syntax, no-continue
|
|
110851
|
+
}
|
|
110122
110852
|
|
|
110123
|
-
|
|
110124
|
-
|
|
110125
|
-
|
|
110126
|
-
|
|
110853
|
+
// convert all headers to arrays.
|
|
110854
|
+
if (!Array.isArray(header)) {
|
|
110855
|
+
header = [header];
|
|
110856
|
+
}
|
|
110127
110857
|
|
|
110128
|
-
|
|
110129
|
-
|
|
110130
|
-
|
|
110858
|
+
// add non-empty headers.
|
|
110859
|
+
if (header.length) {
|
|
110860
|
+
contents += prop + ': ' + header.join('; ') + FormData.LINE_BREAK;
|
|
110861
|
+
}
|
|
110131
110862
|
}
|
|
110132
110863
|
}
|
|
110133
110864
|
|
|
110134
110865
|
return '--' + this.getBoundary() + FormData.LINE_BREAK + contents + FormData.LINE_BREAK;
|
|
110135
110866
|
};
|
|
110136
110867
|
|
|
110137
|
-
FormData.prototype._getContentDisposition = function(value, options) {
|
|
110138
|
-
|
|
110139
|
-
var filename
|
|
110140
|
-
, contentDisposition
|
|
110141
|
-
;
|
|
110868
|
+
FormData.prototype._getContentDisposition = function (value, options) { // eslint-disable-line consistent-return
|
|
110869
|
+
var filename;
|
|
110142
110870
|
|
|
110143
110871
|
if (typeof options.filepath === 'string') {
|
|
110144
110872
|
// custom filepath for relative paths
|
|
110145
110873
|
filename = path.normalize(options.filepath).replace(/\\/g, '/');
|
|
110146
|
-
} else if (options.filename || value.name || value.path) {
|
|
110147
|
-
|
|
110148
|
-
|
|
110149
|
-
|
|
110150
|
-
|
|
110151
|
-
|
|
110874
|
+
} else if (options.filename || (value && (value.name || value.path))) {
|
|
110875
|
+
/*
|
|
110876
|
+
* custom filename take precedence
|
|
110877
|
+
* formidable and the browser add a name property
|
|
110878
|
+
* fs- and request- streams have path property
|
|
110879
|
+
*/
|
|
110880
|
+
filename = path.basename(options.filename || (value && (value.name || value.path)));
|
|
110881
|
+
} else if (value && value.readable && hasOwn(value, 'httpVersion')) {
|
|
110152
110882
|
// or try http response
|
|
110153
110883
|
filename = path.basename(value.client._httpMessage.path || '');
|
|
110154
110884
|
}
|
|
110155
110885
|
|
|
110156
110886
|
if (filename) {
|
|
110157
|
-
|
|
110887
|
+
return 'filename="' + filename + '"';
|
|
110158
110888
|
}
|
|
110159
|
-
|
|
110160
|
-
return contentDisposition;
|
|
110161
110889
|
};
|
|
110162
110890
|
|
|
110163
|
-
FormData.prototype._getContentType = function(value, options) {
|
|
110164
|
-
|
|
110891
|
+
FormData.prototype._getContentType = function (value, options) {
|
|
110165
110892
|
// use custom content-type above all
|
|
110166
110893
|
var contentType = options.contentType;
|
|
110167
110894
|
|
|
110168
110895
|
// or try `name` from formidable, browser
|
|
110169
|
-
if (!contentType && value.name) {
|
|
110896
|
+
if (!contentType && value && value.name) {
|
|
110170
110897
|
contentType = mime.lookup(value.name);
|
|
110171
110898
|
}
|
|
110172
110899
|
|
|
110173
110900
|
// or try `path` from fs-, request- streams
|
|
110174
|
-
if (!contentType && value.path) {
|
|
110901
|
+
if (!contentType && value && value.path) {
|
|
110175
110902
|
contentType = mime.lookup(value.path);
|
|
110176
110903
|
}
|
|
110177
110904
|
|
|
110178
110905
|
// or if it's http-reponse
|
|
110179
|
-
if (!contentType && value.readable && value
|
|
110906
|
+
if (!contentType && value && value.readable && hasOwn(value, 'httpVersion')) {
|
|
110180
110907
|
contentType = value.headers['content-type'];
|
|
110181
110908
|
}
|
|
110182
110909
|
|
|
@@ -110186,18 +110913,18 @@ FormData.prototype._getContentType = function(value, options) {
|
|
|
110186
110913
|
}
|
|
110187
110914
|
|
|
110188
110915
|
// fallback to the default content type if `value` is not simple value
|
|
110189
|
-
if (!contentType && typeof value
|
|
110916
|
+
if (!contentType && value && typeof value === 'object') {
|
|
110190
110917
|
contentType = FormData.DEFAULT_CONTENT_TYPE;
|
|
110191
110918
|
}
|
|
110192
110919
|
|
|
110193
110920
|
return contentType;
|
|
110194
110921
|
};
|
|
110195
110922
|
|
|
110196
|
-
FormData.prototype._multiPartFooter = function() {
|
|
110197
|
-
return function(next) {
|
|
110923
|
+
FormData.prototype._multiPartFooter = function () {
|
|
110924
|
+
return function (next) {
|
|
110198
110925
|
var footer = FormData.LINE_BREAK;
|
|
110199
110926
|
|
|
110200
|
-
var lastPart =
|
|
110927
|
+
var lastPart = this._streams.length === 0;
|
|
110201
110928
|
if (lastPart) {
|
|
110202
110929
|
footer += this._lastBoundary();
|
|
110203
110930
|
}
|
|
@@ -110206,18 +110933,18 @@ FormData.prototype._multiPartFooter = function() {
|
|
|
110206
110933
|
}.bind(this);
|
|
110207
110934
|
};
|
|
110208
110935
|
|
|
110209
|
-
FormData.prototype._lastBoundary = function() {
|
|
110936
|
+
FormData.prototype._lastBoundary = function () {
|
|
110210
110937
|
return '--' + this.getBoundary() + '--' + FormData.LINE_BREAK;
|
|
110211
110938
|
};
|
|
110212
110939
|
|
|
110213
|
-
FormData.prototype.getHeaders = function(userHeaders) {
|
|
110940
|
+
FormData.prototype.getHeaders = function (userHeaders) {
|
|
110214
110941
|
var header;
|
|
110215
110942
|
var formHeaders = {
|
|
110216
110943
|
'content-type': 'multipart/form-data; boundary=' + this.getBoundary()
|
|
110217
110944
|
};
|
|
110218
110945
|
|
|
110219
|
-
for (header in userHeaders) {
|
|
110220
|
-
if (userHeaders
|
|
110946
|
+
for (header in userHeaders) { // eslint-disable-line no-restricted-syntax
|
|
110947
|
+
if (hasOwn(userHeaders, header)) {
|
|
110221
110948
|
formHeaders[header.toLowerCase()] = userHeaders[header];
|
|
110222
110949
|
}
|
|
110223
110950
|
}
|
|
@@ -110225,11 +110952,14 @@ FormData.prototype.getHeaders = function(userHeaders) {
|
|
|
110225
110952
|
return formHeaders;
|
|
110226
110953
|
};
|
|
110227
110954
|
|
|
110228
|
-
FormData.prototype.setBoundary = function(boundary) {
|
|
110955
|
+
FormData.prototype.setBoundary = function (boundary) {
|
|
110956
|
+
if (typeof boundary !== 'string') {
|
|
110957
|
+
throw new TypeError('FormData boundary must be a string');
|
|
110958
|
+
}
|
|
110229
110959
|
this._boundary = boundary;
|
|
110230
110960
|
};
|
|
110231
110961
|
|
|
110232
|
-
FormData.prototype.getBoundary = function() {
|
|
110962
|
+
FormData.prototype.getBoundary = function () {
|
|
110233
110963
|
if (!this._boundary) {
|
|
110234
110964
|
this._generateBoundary();
|
|
110235
110965
|
}
|
|
@@ -110237,60 +110967,55 @@ FormData.prototype.getBoundary = function() {
|
|
|
110237
110967
|
return this._boundary;
|
|
110238
110968
|
};
|
|
110239
110969
|
|
|
110240
|
-
FormData.prototype.getBuffer = function() {
|
|
110241
|
-
var dataBuffer = new Buffer.alloc(
|
|
110970
|
+
FormData.prototype.getBuffer = function () {
|
|
110971
|
+
var dataBuffer = new Buffer.alloc(0); // eslint-disable-line new-cap
|
|
110242
110972
|
var boundary = this.getBoundary();
|
|
110243
110973
|
|
|
110244
110974
|
// Create the form content. Add Line breaks to the end of data.
|
|
110245
110975
|
for (var i = 0, len = this._streams.length; i < len; i++) {
|
|
110246
110976
|
if (typeof this._streams[i] !== 'function') {
|
|
110247
|
-
|
|
110248
110977
|
// Add content to the buffer.
|
|
110249
|
-
if(Buffer.isBuffer(this._streams[i])) {
|
|
110250
|
-
dataBuffer = Buffer.concat(
|
|
110251
|
-
}else {
|
|
110252
|
-
dataBuffer = Buffer.concat(
|
|
110978
|
+
if (Buffer.isBuffer(this._streams[i])) {
|
|
110979
|
+
dataBuffer = Buffer.concat([dataBuffer, this._streams[i]]);
|
|
110980
|
+
} else {
|
|
110981
|
+
dataBuffer = Buffer.concat([dataBuffer, Buffer.from(this._streams[i])]);
|
|
110253
110982
|
}
|
|
110254
110983
|
|
|
110255
110984
|
// Add break after content.
|
|
110256
|
-
if (typeof this._streams[i] !== 'string' || this._streams[i].substring(
|
|
110257
|
-
dataBuffer = Buffer.concat(
|
|
110985
|
+
if (typeof this._streams[i] !== 'string' || this._streams[i].substring(2, boundary.length + 2) !== boundary) {
|
|
110986
|
+
dataBuffer = Buffer.concat([dataBuffer, Buffer.from(FormData.LINE_BREAK)]);
|
|
110258
110987
|
}
|
|
110259
110988
|
}
|
|
110260
110989
|
}
|
|
110261
110990
|
|
|
110262
110991
|
// Add the footer and return the Buffer object.
|
|
110263
|
-
return Buffer.concat(
|
|
110992
|
+
return Buffer.concat([dataBuffer, Buffer.from(this._lastBoundary())]);
|
|
110264
110993
|
};
|
|
110265
110994
|
|
|
110266
|
-
FormData.prototype._generateBoundary = function() {
|
|
110995
|
+
FormData.prototype._generateBoundary = function () {
|
|
110267
110996
|
// This generates a 50 character boundary similar to those used by Firefox.
|
|
110268
|
-
// They are optimized for boyer-moore parsing.
|
|
110269
|
-
var boundary = '--------------------------';
|
|
110270
|
-
for (var i = 0; i < 24; i++) {
|
|
110271
|
-
boundary += Math.floor(Math.random() * 10).toString(16);
|
|
110272
|
-
}
|
|
110273
110997
|
|
|
110274
|
-
|
|
110998
|
+
// They are optimized for boyer-moore parsing.
|
|
110999
|
+
this._boundary = '--------------------------' + crypto.randomBytes(12).toString('hex');
|
|
110275
111000
|
};
|
|
110276
111001
|
|
|
110277
111002
|
// Note: getLengthSync DOESN'T calculate streams length
|
|
110278
|
-
// As workaround one can calculate file size manually
|
|
110279
|
-
|
|
110280
|
-
FormData.prototype.getLengthSync = function() {
|
|
111003
|
+
// As workaround one can calculate file size manually and add it as knownLength option
|
|
111004
|
+
FormData.prototype.getLengthSync = function () {
|
|
110281
111005
|
var knownLength = this._overheadLength + this._valueLength;
|
|
110282
111006
|
|
|
110283
|
-
// Don't get confused, there are 3 "internal" streams for each keyval pair
|
|
110284
|
-
// so it basically checks if there is any value added to the form
|
|
111007
|
+
// Don't get confused, there are 3 "internal" streams for each keyval pair so it basically checks if there is any value added to the form
|
|
110285
111008
|
if (this._streams.length) {
|
|
110286
111009
|
knownLength += this._lastBoundary().length;
|
|
110287
111010
|
}
|
|
110288
111011
|
|
|
110289
111012
|
// https://github.com/form-data/form-data/issues/40
|
|
110290
111013
|
if (!this.hasKnownLength()) {
|
|
110291
|
-
|
|
110292
|
-
|
|
110293
|
-
|
|
111014
|
+
/*
|
|
111015
|
+
* Some async length retrievers are present
|
|
111016
|
+
* therefore synchronous length calculation is false.
|
|
111017
|
+
* Please use getLength(callback) to get proper length
|
|
111018
|
+
*/
|
|
110294
111019
|
this._error(new Error('Cannot calculate proper length in synchronous way.'));
|
|
110295
111020
|
}
|
|
110296
111021
|
|
|
@@ -110300,7 +111025,7 @@ FormData.prototype.getLengthSync = function() {
|
|
|
110300
111025
|
// Public API to check if length of added values is known
|
|
110301
111026
|
// https://github.com/form-data/form-data/issues/196
|
|
110302
111027
|
// https://github.com/form-data/form-data/issues/262
|
|
110303
|
-
FormData.prototype.hasKnownLength = function() {
|
|
111028
|
+
FormData.prototype.hasKnownLength = function () {
|
|
110304
111029
|
var hasKnownLength = true;
|
|
110305
111030
|
|
|
110306
111031
|
if (this._valuesToMeasure.length) {
|
|
@@ -110310,7 +111035,7 @@ FormData.prototype.hasKnownLength = function() {
|
|
|
110310
111035
|
return hasKnownLength;
|
|
110311
111036
|
};
|
|
110312
111037
|
|
|
110313
|
-
FormData.prototype.getLength = function(cb) {
|
|
111038
|
+
FormData.prototype.getLength = function (cb) {
|
|
110314
111039
|
var knownLength = this._overheadLength + this._valueLength;
|
|
110315
111040
|
|
|
110316
111041
|
if (this._streams.length) {
|
|
@@ -110322,13 +111047,13 @@ FormData.prototype.getLength = function(cb) {
|
|
|
110322
111047
|
return;
|
|
110323
111048
|
}
|
|
110324
111049
|
|
|
110325
|
-
asynckit.parallel(this._valuesToMeasure, this._lengthRetriever, function(err, values) {
|
|
111050
|
+
asynckit.parallel(this._valuesToMeasure, this._lengthRetriever, function (err, values) {
|
|
110326
111051
|
if (err) {
|
|
110327
111052
|
cb(err);
|
|
110328
111053
|
return;
|
|
110329
111054
|
}
|
|
110330
111055
|
|
|
110331
|
-
values.forEach(function(length) {
|
|
111056
|
+
values.forEach(function (length) {
|
|
110332
111057
|
knownLength += length;
|
|
110333
111058
|
});
|
|
110334
111059
|
|
|
@@ -110336,31 +111061,26 @@ FormData.prototype.getLength = function(cb) {
|
|
|
110336
111061
|
});
|
|
110337
111062
|
};
|
|
110338
111063
|
|
|
110339
|
-
FormData.prototype.submit = function(params, cb) {
|
|
110340
|
-
var request
|
|
110341
|
-
|
|
110342
|
-
|
|
110343
|
-
;
|
|
110344
|
-
|
|
110345
|
-
// parse provided url if it's string
|
|
110346
|
-
// or treat it as options object
|
|
110347
|
-
if (typeof params == 'string') {
|
|
111064
|
+
FormData.prototype.submit = function (params, cb) {
|
|
111065
|
+
var request;
|
|
111066
|
+
var options;
|
|
111067
|
+
var defaults = { method: 'post' };
|
|
110348
111068
|
|
|
110349
|
-
|
|
111069
|
+
// parse provided url if it's string or treat it as options object
|
|
111070
|
+
if (typeof params === 'string') {
|
|
111071
|
+
params = parseUrl(params); // eslint-disable-line no-param-reassign
|
|
111072
|
+
/* eslint sort-keys: 0 */
|
|
110350
111073
|
options = populate({
|
|
110351
111074
|
port: params.port,
|
|
110352
111075
|
path: params.pathname,
|
|
110353
111076
|
host: params.hostname,
|
|
110354
111077
|
protocol: params.protocol
|
|
110355
111078
|
}, defaults);
|
|
110356
|
-
|
|
110357
|
-
// use custom params
|
|
110358
|
-
} else {
|
|
110359
|
-
|
|
111079
|
+
} else { // use custom params
|
|
110360
111080
|
options = populate(params, defaults);
|
|
110361
111081
|
// if no port provided use default one
|
|
110362
111082
|
if (!options.port) {
|
|
110363
|
-
options.port = options.protocol
|
|
111083
|
+
options.port = options.protocol === 'https:' ? 443 : 80;
|
|
110364
111084
|
}
|
|
110365
111085
|
}
|
|
110366
111086
|
|
|
@@ -110368,14 +111088,14 @@ FormData.prototype.submit = function(params, cb) {
|
|
|
110368
111088
|
options.headers = this.getHeaders(params.headers);
|
|
110369
111089
|
|
|
110370
111090
|
// https if specified, fallback to http in any other case
|
|
110371
|
-
if (options.protocol
|
|
111091
|
+
if (options.protocol === 'https:') {
|
|
110372
111092
|
request = https.request(options);
|
|
110373
111093
|
} else {
|
|
110374
111094
|
request = http.request(options);
|
|
110375
111095
|
}
|
|
110376
111096
|
|
|
110377
111097
|
// get content length and fire away
|
|
110378
|
-
this.getLength(function(err, length) {
|
|
111098
|
+
this.getLength(function (err, length) {
|
|
110379
111099
|
if (err && err !== 'Unknown stream') {
|
|
110380
111100
|
this._error(err);
|
|
110381
111101
|
return;
|
|
@@ -110394,7 +111114,7 @@ FormData.prototype.submit = function(params, cb) {
|
|
|
110394
111114
|
request.removeListener('error', callback);
|
|
110395
111115
|
request.removeListener('response', onResponse);
|
|
110396
111116
|
|
|
110397
|
-
return cb.call(this, error, responce);
|
|
111117
|
+
return cb.call(this, error, responce); // eslint-disable-line no-invalid-this
|
|
110398
111118
|
};
|
|
110399
111119
|
|
|
110400
111120
|
onResponse = callback.bind(this, null);
|
|
@@ -110407,7 +111127,7 @@ FormData.prototype.submit = function(params, cb) {
|
|
|
110407
111127
|
return request;
|
|
110408
111128
|
};
|
|
110409
111129
|
|
|
110410
|
-
FormData.prototype._error = function(err) {
|
|
111130
|
+
FormData.prototype._error = function (err) {
|
|
110411
111131
|
if (!this.error) {
|
|
110412
111132
|
this.error = err;
|
|
110413
111133
|
this.pause();
|
|
@@ -110418,6 +111138,10 @@ FormData.prototype._error = function(err) {
|
|
|
110418
111138
|
FormData.prototype.toString = function () {
|
|
110419
111139
|
return '[object FormData]';
|
|
110420
111140
|
};
|
|
111141
|
+
setToStringTag(FormData, 'FormData');
|
|
111142
|
+
|
|
111143
|
+
// Public API
|
|
111144
|
+
module.exports = FormData;
|
|
110421
111145
|
|
|
110422
111146
|
|
|
110423
111147
|
/***/ }),
|
|
@@ -110425,18 +111149,596 @@ FormData.prototype.toString = function () {
|
|
|
110425
111149
|
/***/ 11835:
|
|
110426
111150
|
/***/ ((module) => {
|
|
110427
111151
|
|
|
110428
|
-
// populates missing values
|
|
110429
|
-
module.exports = function(dst, src) {
|
|
110430
111152
|
|
|
110431
|
-
|
|
110432
|
-
|
|
110433
|
-
|
|
111153
|
+
|
|
111154
|
+
// populates missing values
|
|
111155
|
+
module.exports = function (dst, src) {
|
|
111156
|
+
Object.keys(src).forEach(function (prop) {
|
|
111157
|
+
dst[prop] = dst[prop] || src[prop]; // eslint-disable-line no-param-reassign
|
|
110434
111158
|
});
|
|
110435
111159
|
|
|
110436
111160
|
return dst;
|
|
110437
111161
|
};
|
|
110438
111162
|
|
|
110439
111163
|
|
|
111164
|
+
/***/ }),
|
|
111165
|
+
|
|
111166
|
+
/***/ 99808:
|
|
111167
|
+
/***/ ((module) => {
|
|
111168
|
+
|
|
111169
|
+
|
|
111170
|
+
|
|
111171
|
+
/* eslint no-invalid-this: 1 */
|
|
111172
|
+
|
|
111173
|
+
var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
|
|
111174
|
+
var toStr = Object.prototype.toString;
|
|
111175
|
+
var max = Math.max;
|
|
111176
|
+
var funcType = '[object Function]';
|
|
111177
|
+
|
|
111178
|
+
var concatty = function concatty(a, b) {
|
|
111179
|
+
var arr = [];
|
|
111180
|
+
|
|
111181
|
+
for (var i = 0; i < a.length; i += 1) {
|
|
111182
|
+
arr[i] = a[i];
|
|
111183
|
+
}
|
|
111184
|
+
for (var j = 0; j < b.length; j += 1) {
|
|
111185
|
+
arr[j + a.length] = b[j];
|
|
111186
|
+
}
|
|
111187
|
+
|
|
111188
|
+
return arr;
|
|
111189
|
+
};
|
|
111190
|
+
|
|
111191
|
+
var slicy = function slicy(arrLike, offset) {
|
|
111192
|
+
var arr = [];
|
|
111193
|
+
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
111194
|
+
arr[j] = arrLike[i];
|
|
111195
|
+
}
|
|
111196
|
+
return arr;
|
|
111197
|
+
};
|
|
111198
|
+
|
|
111199
|
+
var joiny = function (arr, joiner) {
|
|
111200
|
+
var str = '';
|
|
111201
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
111202
|
+
str += arr[i];
|
|
111203
|
+
if (i + 1 < arr.length) {
|
|
111204
|
+
str += joiner;
|
|
111205
|
+
}
|
|
111206
|
+
}
|
|
111207
|
+
return str;
|
|
111208
|
+
};
|
|
111209
|
+
|
|
111210
|
+
module.exports = function bind(that) {
|
|
111211
|
+
var target = this;
|
|
111212
|
+
if (typeof target !== 'function' || toStr.apply(target) !== funcType) {
|
|
111213
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
111214
|
+
}
|
|
111215
|
+
var args = slicy(arguments, 1);
|
|
111216
|
+
|
|
111217
|
+
var bound;
|
|
111218
|
+
var binder = function () {
|
|
111219
|
+
if (this instanceof bound) {
|
|
111220
|
+
var result = target.apply(
|
|
111221
|
+
this,
|
|
111222
|
+
concatty(args, arguments)
|
|
111223
|
+
);
|
|
111224
|
+
if (Object(result) === result) {
|
|
111225
|
+
return result;
|
|
111226
|
+
}
|
|
111227
|
+
return this;
|
|
111228
|
+
}
|
|
111229
|
+
return target.apply(
|
|
111230
|
+
that,
|
|
111231
|
+
concatty(args, arguments)
|
|
111232
|
+
);
|
|
111233
|
+
|
|
111234
|
+
};
|
|
111235
|
+
|
|
111236
|
+
var boundLength = max(0, target.length - args.length);
|
|
111237
|
+
var boundArgs = [];
|
|
111238
|
+
for (var i = 0; i < boundLength; i++) {
|
|
111239
|
+
boundArgs[i] = '$' + i;
|
|
111240
|
+
}
|
|
111241
|
+
|
|
111242
|
+
bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);
|
|
111243
|
+
|
|
111244
|
+
if (target.prototype) {
|
|
111245
|
+
var Empty = function Empty() {};
|
|
111246
|
+
Empty.prototype = target.prototype;
|
|
111247
|
+
bound.prototype = new Empty();
|
|
111248
|
+
Empty.prototype = null;
|
|
111249
|
+
}
|
|
111250
|
+
|
|
111251
|
+
return bound;
|
|
111252
|
+
};
|
|
111253
|
+
|
|
111254
|
+
|
|
111255
|
+
/***/ }),
|
|
111256
|
+
|
|
111257
|
+
/***/ 37564:
|
|
111258
|
+
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
111259
|
+
|
|
111260
|
+
|
|
111261
|
+
|
|
111262
|
+
var implementation = __nccwpck_require__(99808);
|
|
111263
|
+
|
|
111264
|
+
module.exports = Function.prototype.bind || implementation;
|
|
111265
|
+
|
|
111266
|
+
|
|
111267
|
+
/***/ }),
|
|
111268
|
+
|
|
111269
|
+
/***/ 60470:
|
|
111270
|
+
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
111271
|
+
|
|
111272
|
+
|
|
111273
|
+
|
|
111274
|
+
var undefined;
|
|
111275
|
+
|
|
111276
|
+
var $Object = __nccwpck_require__(95399);
|
|
111277
|
+
|
|
111278
|
+
var $Error = __nccwpck_require__(31620);
|
|
111279
|
+
var $EvalError = __nccwpck_require__(33056);
|
|
111280
|
+
var $RangeError = __nccwpck_require__(14585);
|
|
111281
|
+
var $ReferenceError = __nccwpck_require__(46905);
|
|
111282
|
+
var $SyntaxError = __nccwpck_require__(80105);
|
|
111283
|
+
var $TypeError = __nccwpck_require__(73314);
|
|
111284
|
+
var $URIError = __nccwpck_require__(32578);
|
|
111285
|
+
|
|
111286
|
+
var abs = __nccwpck_require__(55641);
|
|
111287
|
+
var floor = __nccwpck_require__(96171);
|
|
111288
|
+
var max = __nccwpck_require__(57147);
|
|
111289
|
+
var min = __nccwpck_require__(41017);
|
|
111290
|
+
var pow = __nccwpck_require__(56947);
|
|
111291
|
+
var round = __nccwpck_require__(42621);
|
|
111292
|
+
var sign = __nccwpck_require__(30156);
|
|
111293
|
+
|
|
111294
|
+
var $Function = Function;
|
|
111295
|
+
|
|
111296
|
+
// eslint-disable-next-line consistent-return
|
|
111297
|
+
var getEvalledConstructor = function (expressionSyntax) {
|
|
111298
|
+
try {
|
|
111299
|
+
return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
|
|
111300
|
+
} catch (e) {}
|
|
111301
|
+
};
|
|
111302
|
+
|
|
111303
|
+
var $gOPD = __nccwpck_require__(33170);
|
|
111304
|
+
var $defineProperty = __nccwpck_require__(79094);
|
|
111305
|
+
|
|
111306
|
+
var throwTypeError = function () {
|
|
111307
|
+
throw new $TypeError();
|
|
111308
|
+
};
|
|
111309
|
+
var ThrowTypeError = $gOPD
|
|
111310
|
+
? (function () {
|
|
111311
|
+
try {
|
|
111312
|
+
// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
|
|
111313
|
+
arguments.callee; // IE 8 does not throw here
|
|
111314
|
+
return throwTypeError;
|
|
111315
|
+
} catch (calleeThrows) {
|
|
111316
|
+
try {
|
|
111317
|
+
// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
|
|
111318
|
+
return $gOPD(arguments, 'callee').get;
|
|
111319
|
+
} catch (gOPDthrows) {
|
|
111320
|
+
return throwTypeError;
|
|
111321
|
+
}
|
|
111322
|
+
}
|
|
111323
|
+
}())
|
|
111324
|
+
: throwTypeError;
|
|
111325
|
+
|
|
111326
|
+
var hasSymbols = __nccwpck_require__(23336)();
|
|
111327
|
+
|
|
111328
|
+
var getProto = __nccwpck_require__(81967);
|
|
111329
|
+
var $ObjectGPO = __nccwpck_require__(91311);
|
|
111330
|
+
var $ReflectGPO = __nccwpck_require__(48681);
|
|
111331
|
+
|
|
111332
|
+
var $apply = __nccwpck_require__(33945);
|
|
111333
|
+
var $call = __nccwpck_require__(88093);
|
|
111334
|
+
|
|
111335
|
+
var needsEval = {};
|
|
111336
|
+
|
|
111337
|
+
var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);
|
|
111338
|
+
|
|
111339
|
+
var INTRINSICS = {
|
|
111340
|
+
__proto__: null,
|
|
111341
|
+
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
|
|
111342
|
+
'%Array%': Array,
|
|
111343
|
+
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
|
|
111344
|
+
'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,
|
|
111345
|
+
'%AsyncFromSyncIteratorPrototype%': undefined,
|
|
111346
|
+
'%AsyncFunction%': needsEval,
|
|
111347
|
+
'%AsyncGenerator%': needsEval,
|
|
111348
|
+
'%AsyncGeneratorFunction%': needsEval,
|
|
111349
|
+
'%AsyncIteratorPrototype%': needsEval,
|
|
111350
|
+
'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
|
|
111351
|
+
'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
|
|
111352
|
+
'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,
|
|
111353
|
+
'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,
|
|
111354
|
+
'%Boolean%': Boolean,
|
|
111355
|
+
'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
|
|
111356
|
+
'%Date%': Date,
|
|
111357
|
+
'%decodeURI%': decodeURI,
|
|
111358
|
+
'%decodeURIComponent%': decodeURIComponent,
|
|
111359
|
+
'%encodeURI%': encodeURI,
|
|
111360
|
+
'%encodeURIComponent%': encodeURIComponent,
|
|
111361
|
+
'%Error%': $Error,
|
|
111362
|
+
'%eval%': eval, // eslint-disable-line no-eval
|
|
111363
|
+
'%EvalError%': $EvalError,
|
|
111364
|
+
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
|
|
111365
|
+
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
|
|
111366
|
+
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
|
|
111367
|
+
'%Function%': $Function,
|
|
111368
|
+
'%GeneratorFunction%': needsEval,
|
|
111369
|
+
'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
|
|
111370
|
+
'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
|
|
111371
|
+
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
|
|
111372
|
+
'%isFinite%': isFinite,
|
|
111373
|
+
'%isNaN%': isNaN,
|
|
111374
|
+
'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,
|
|
111375
|
+
'%JSON%': typeof JSON === 'object' ? JSON : undefined,
|
|
111376
|
+
'%Map%': typeof Map === 'undefined' ? undefined : Map,
|
|
111377
|
+
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),
|
|
111378
|
+
'%Math%': Math,
|
|
111379
|
+
'%Number%': Number,
|
|
111380
|
+
'%Object%': $Object,
|
|
111381
|
+
'%Object.getOwnPropertyDescriptor%': $gOPD,
|
|
111382
|
+
'%parseFloat%': parseFloat,
|
|
111383
|
+
'%parseInt%': parseInt,
|
|
111384
|
+
'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
|
|
111385
|
+
'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
|
|
111386
|
+
'%RangeError%': $RangeError,
|
|
111387
|
+
'%ReferenceError%': $ReferenceError,
|
|
111388
|
+
'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
|
|
111389
|
+
'%RegExp%': RegExp,
|
|
111390
|
+
'%Set%': typeof Set === 'undefined' ? undefined : Set,
|
|
111391
|
+
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),
|
|
111392
|
+
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
|
|
111393
|
+
'%String%': String,
|
|
111394
|
+
'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,
|
|
111395
|
+
'%Symbol%': hasSymbols ? Symbol : undefined,
|
|
111396
|
+
'%SyntaxError%': $SyntaxError,
|
|
111397
|
+
'%ThrowTypeError%': ThrowTypeError,
|
|
111398
|
+
'%TypedArray%': TypedArray,
|
|
111399
|
+
'%TypeError%': $TypeError,
|
|
111400
|
+
'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,
|
|
111401
|
+
'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
|
|
111402
|
+
'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
|
|
111403
|
+
'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
|
|
111404
|
+
'%URIError%': $URIError,
|
|
111405
|
+
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
|
|
111406
|
+
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
|
|
111407
|
+
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,
|
|
111408
|
+
|
|
111409
|
+
'%Function.prototype.call%': $call,
|
|
111410
|
+
'%Function.prototype.apply%': $apply,
|
|
111411
|
+
'%Object.defineProperty%': $defineProperty,
|
|
111412
|
+
'%Object.getPrototypeOf%': $ObjectGPO,
|
|
111413
|
+
'%Math.abs%': abs,
|
|
111414
|
+
'%Math.floor%': floor,
|
|
111415
|
+
'%Math.max%': max,
|
|
111416
|
+
'%Math.min%': min,
|
|
111417
|
+
'%Math.pow%': pow,
|
|
111418
|
+
'%Math.round%': round,
|
|
111419
|
+
'%Math.sign%': sign,
|
|
111420
|
+
'%Reflect.getPrototypeOf%': $ReflectGPO
|
|
111421
|
+
};
|
|
111422
|
+
|
|
111423
|
+
if (getProto) {
|
|
111424
|
+
try {
|
|
111425
|
+
null.error; // eslint-disable-line no-unused-expressions
|
|
111426
|
+
} catch (e) {
|
|
111427
|
+
// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
|
|
111428
|
+
var errorProto = getProto(getProto(e));
|
|
111429
|
+
INTRINSICS['%Error.prototype%'] = errorProto;
|
|
111430
|
+
}
|
|
111431
|
+
}
|
|
111432
|
+
|
|
111433
|
+
var doEval = function doEval(name) {
|
|
111434
|
+
var value;
|
|
111435
|
+
if (name === '%AsyncFunction%') {
|
|
111436
|
+
value = getEvalledConstructor('async function () {}');
|
|
111437
|
+
} else if (name === '%GeneratorFunction%') {
|
|
111438
|
+
value = getEvalledConstructor('function* () {}');
|
|
111439
|
+
} else if (name === '%AsyncGeneratorFunction%') {
|
|
111440
|
+
value = getEvalledConstructor('async function* () {}');
|
|
111441
|
+
} else if (name === '%AsyncGenerator%') {
|
|
111442
|
+
var fn = doEval('%AsyncGeneratorFunction%');
|
|
111443
|
+
if (fn) {
|
|
111444
|
+
value = fn.prototype;
|
|
111445
|
+
}
|
|
111446
|
+
} else if (name === '%AsyncIteratorPrototype%') {
|
|
111447
|
+
var gen = doEval('%AsyncGenerator%');
|
|
111448
|
+
if (gen && getProto) {
|
|
111449
|
+
value = getProto(gen.prototype);
|
|
111450
|
+
}
|
|
111451
|
+
}
|
|
111452
|
+
|
|
111453
|
+
INTRINSICS[name] = value;
|
|
111454
|
+
|
|
111455
|
+
return value;
|
|
111456
|
+
};
|
|
111457
|
+
|
|
111458
|
+
var LEGACY_ALIASES = {
|
|
111459
|
+
__proto__: null,
|
|
111460
|
+
'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
|
|
111461
|
+
'%ArrayPrototype%': ['Array', 'prototype'],
|
|
111462
|
+
'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
|
|
111463
|
+
'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
|
|
111464
|
+
'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
|
|
111465
|
+
'%ArrayProto_values%': ['Array', 'prototype', 'values'],
|
|
111466
|
+
'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
|
|
111467
|
+
'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
|
|
111468
|
+
'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
|
|
111469
|
+
'%BooleanPrototype%': ['Boolean', 'prototype'],
|
|
111470
|
+
'%DataViewPrototype%': ['DataView', 'prototype'],
|
|
111471
|
+
'%DatePrototype%': ['Date', 'prototype'],
|
|
111472
|
+
'%ErrorPrototype%': ['Error', 'prototype'],
|
|
111473
|
+
'%EvalErrorPrototype%': ['EvalError', 'prototype'],
|
|
111474
|
+
'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
|
|
111475
|
+
'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
|
|
111476
|
+
'%FunctionPrototype%': ['Function', 'prototype'],
|
|
111477
|
+
'%Generator%': ['GeneratorFunction', 'prototype'],
|
|
111478
|
+
'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
|
|
111479
|
+
'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
|
|
111480
|
+
'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
|
|
111481
|
+
'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
|
|
111482
|
+
'%JSONParse%': ['JSON', 'parse'],
|
|
111483
|
+
'%JSONStringify%': ['JSON', 'stringify'],
|
|
111484
|
+
'%MapPrototype%': ['Map', 'prototype'],
|
|
111485
|
+
'%NumberPrototype%': ['Number', 'prototype'],
|
|
111486
|
+
'%ObjectPrototype%': ['Object', 'prototype'],
|
|
111487
|
+
'%ObjProto_toString%': ['Object', 'prototype', 'toString'],
|
|
111488
|
+
'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
|
|
111489
|
+
'%PromisePrototype%': ['Promise', 'prototype'],
|
|
111490
|
+
'%PromiseProto_then%': ['Promise', 'prototype', 'then'],
|
|
111491
|
+
'%Promise_all%': ['Promise', 'all'],
|
|
111492
|
+
'%Promise_reject%': ['Promise', 'reject'],
|
|
111493
|
+
'%Promise_resolve%': ['Promise', 'resolve'],
|
|
111494
|
+
'%RangeErrorPrototype%': ['RangeError', 'prototype'],
|
|
111495
|
+
'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
|
|
111496
|
+
'%RegExpPrototype%': ['RegExp', 'prototype'],
|
|
111497
|
+
'%SetPrototype%': ['Set', 'prototype'],
|
|
111498
|
+
'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
|
|
111499
|
+
'%StringPrototype%': ['String', 'prototype'],
|
|
111500
|
+
'%SymbolPrototype%': ['Symbol', 'prototype'],
|
|
111501
|
+
'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
|
|
111502
|
+
'%TypedArrayPrototype%': ['TypedArray', 'prototype'],
|
|
111503
|
+
'%TypeErrorPrototype%': ['TypeError', 'prototype'],
|
|
111504
|
+
'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
|
|
111505
|
+
'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
|
|
111506
|
+
'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
|
|
111507
|
+
'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
|
|
111508
|
+
'%URIErrorPrototype%': ['URIError', 'prototype'],
|
|
111509
|
+
'%WeakMapPrototype%': ['WeakMap', 'prototype'],
|
|
111510
|
+
'%WeakSetPrototype%': ['WeakSet', 'prototype']
|
|
111511
|
+
};
|
|
111512
|
+
|
|
111513
|
+
var bind = __nccwpck_require__(37564);
|
|
111514
|
+
var hasOwn = __nccwpck_require__(54076);
|
|
111515
|
+
var $concat = bind.call($call, Array.prototype.concat);
|
|
111516
|
+
var $spliceApply = bind.call($apply, Array.prototype.splice);
|
|
111517
|
+
var $replace = bind.call($call, String.prototype.replace);
|
|
111518
|
+
var $strSlice = bind.call($call, String.prototype.slice);
|
|
111519
|
+
var $exec = bind.call($call, RegExp.prototype.exec);
|
|
111520
|
+
|
|
111521
|
+
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
111522
|
+
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
111523
|
+
var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
|
|
111524
|
+
var stringToPath = function stringToPath(string) {
|
|
111525
|
+
var first = $strSlice(string, 0, 1);
|
|
111526
|
+
var last = $strSlice(string, -1);
|
|
111527
|
+
if (first === '%' && last !== '%') {
|
|
111528
|
+
throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
|
|
111529
|
+
} else if (last === '%' && first !== '%') {
|
|
111530
|
+
throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
|
|
111531
|
+
}
|
|
111532
|
+
var result = [];
|
|
111533
|
+
$replace(string, rePropName, function (match, number, quote, subString) {
|
|
111534
|
+
result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
|
|
111535
|
+
});
|
|
111536
|
+
return result;
|
|
111537
|
+
};
|
|
111538
|
+
/* end adaptation */
|
|
111539
|
+
|
|
111540
|
+
var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
|
|
111541
|
+
var intrinsicName = name;
|
|
111542
|
+
var alias;
|
|
111543
|
+
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
111544
|
+
alias = LEGACY_ALIASES[intrinsicName];
|
|
111545
|
+
intrinsicName = '%' + alias[0] + '%';
|
|
111546
|
+
}
|
|
111547
|
+
|
|
111548
|
+
if (hasOwn(INTRINSICS, intrinsicName)) {
|
|
111549
|
+
var value = INTRINSICS[intrinsicName];
|
|
111550
|
+
if (value === needsEval) {
|
|
111551
|
+
value = doEval(intrinsicName);
|
|
111552
|
+
}
|
|
111553
|
+
if (typeof value === 'undefined' && !allowMissing) {
|
|
111554
|
+
throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
|
|
111555
|
+
}
|
|
111556
|
+
|
|
111557
|
+
return {
|
|
111558
|
+
alias: alias,
|
|
111559
|
+
name: intrinsicName,
|
|
111560
|
+
value: value
|
|
111561
|
+
};
|
|
111562
|
+
}
|
|
111563
|
+
|
|
111564
|
+
throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
|
|
111565
|
+
};
|
|
111566
|
+
|
|
111567
|
+
module.exports = function GetIntrinsic(name, allowMissing) {
|
|
111568
|
+
if (typeof name !== 'string' || name.length === 0) {
|
|
111569
|
+
throw new $TypeError('intrinsic name must be a non-empty string');
|
|
111570
|
+
}
|
|
111571
|
+
if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
|
|
111572
|
+
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
111573
|
+
}
|
|
111574
|
+
|
|
111575
|
+
if ($exec(/^%?[^%]*%?$/, name) === null) {
|
|
111576
|
+
throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
|
|
111577
|
+
}
|
|
111578
|
+
var parts = stringToPath(name);
|
|
111579
|
+
var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
|
|
111580
|
+
|
|
111581
|
+
var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
|
|
111582
|
+
var intrinsicRealName = intrinsic.name;
|
|
111583
|
+
var value = intrinsic.value;
|
|
111584
|
+
var skipFurtherCaching = false;
|
|
111585
|
+
|
|
111586
|
+
var alias = intrinsic.alias;
|
|
111587
|
+
if (alias) {
|
|
111588
|
+
intrinsicBaseName = alias[0];
|
|
111589
|
+
$spliceApply(parts, $concat([0, 1], alias));
|
|
111590
|
+
}
|
|
111591
|
+
|
|
111592
|
+
for (var i = 1, isOwn = true; i < parts.length; i += 1) {
|
|
111593
|
+
var part = parts[i];
|
|
111594
|
+
var first = $strSlice(part, 0, 1);
|
|
111595
|
+
var last = $strSlice(part, -1);
|
|
111596
|
+
if (
|
|
111597
|
+
(
|
|
111598
|
+
(first === '"' || first === "'" || first === '`')
|
|
111599
|
+
|| (last === '"' || last === "'" || last === '`')
|
|
111600
|
+
)
|
|
111601
|
+
&& first !== last
|
|
111602
|
+
) {
|
|
111603
|
+
throw new $SyntaxError('property names with quotes must have matching quotes');
|
|
111604
|
+
}
|
|
111605
|
+
if (part === 'constructor' || !isOwn) {
|
|
111606
|
+
skipFurtherCaching = true;
|
|
111607
|
+
}
|
|
111608
|
+
|
|
111609
|
+
intrinsicBaseName += '.' + part;
|
|
111610
|
+
intrinsicRealName = '%' + intrinsicBaseName + '%';
|
|
111611
|
+
|
|
111612
|
+
if (hasOwn(INTRINSICS, intrinsicRealName)) {
|
|
111613
|
+
value = INTRINSICS[intrinsicRealName];
|
|
111614
|
+
} else if (value != null) {
|
|
111615
|
+
if (!(part in value)) {
|
|
111616
|
+
if (!allowMissing) {
|
|
111617
|
+
throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
|
|
111618
|
+
}
|
|
111619
|
+
return void undefined;
|
|
111620
|
+
}
|
|
111621
|
+
if ($gOPD && (i + 1) >= parts.length) {
|
|
111622
|
+
var desc = $gOPD(value, part);
|
|
111623
|
+
isOwn = !!desc;
|
|
111624
|
+
|
|
111625
|
+
// By convention, when a data property is converted to an accessor
|
|
111626
|
+
// property to emulate a data property that does not suffer from
|
|
111627
|
+
// the override mistake, that accessor's getter is marked with
|
|
111628
|
+
// an `originalValue` property. Here, when we detect this, we
|
|
111629
|
+
// uphold the illusion by pretending to see that original data
|
|
111630
|
+
// property, i.e., returning the value rather than the getter
|
|
111631
|
+
// itself.
|
|
111632
|
+
if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
|
|
111633
|
+
value = desc.get;
|
|
111634
|
+
} else {
|
|
111635
|
+
value = value[part];
|
|
111636
|
+
}
|
|
111637
|
+
} else {
|
|
111638
|
+
isOwn = hasOwn(value, part);
|
|
111639
|
+
value = value[part];
|
|
111640
|
+
}
|
|
111641
|
+
|
|
111642
|
+
if (isOwn && !skipFurtherCaching) {
|
|
111643
|
+
INTRINSICS[intrinsicRealName] = value;
|
|
111644
|
+
}
|
|
111645
|
+
}
|
|
111646
|
+
}
|
|
111647
|
+
return value;
|
|
111648
|
+
};
|
|
111649
|
+
|
|
111650
|
+
|
|
111651
|
+
/***/ }),
|
|
111652
|
+
|
|
111653
|
+
/***/ 91311:
|
|
111654
|
+
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
111655
|
+
|
|
111656
|
+
|
|
111657
|
+
|
|
111658
|
+
var $Object = __nccwpck_require__(95399);
|
|
111659
|
+
|
|
111660
|
+
/** @type {import('./Object.getPrototypeOf')} */
|
|
111661
|
+
module.exports = $Object.getPrototypeOf || null;
|
|
111662
|
+
|
|
111663
|
+
|
|
111664
|
+
/***/ }),
|
|
111665
|
+
|
|
111666
|
+
/***/ 48681:
|
|
111667
|
+
/***/ ((module) => {
|
|
111668
|
+
|
|
111669
|
+
|
|
111670
|
+
|
|
111671
|
+
/** @type {import('./Reflect.getPrototypeOf')} */
|
|
111672
|
+
module.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null;
|
|
111673
|
+
|
|
111674
|
+
|
|
111675
|
+
/***/ }),
|
|
111676
|
+
|
|
111677
|
+
/***/ 81967:
|
|
111678
|
+
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
111679
|
+
|
|
111680
|
+
|
|
111681
|
+
|
|
111682
|
+
var reflectGetProto = __nccwpck_require__(48681);
|
|
111683
|
+
var originalGetProto = __nccwpck_require__(91311);
|
|
111684
|
+
|
|
111685
|
+
var getDunderProto = __nccwpck_require__(26669);
|
|
111686
|
+
|
|
111687
|
+
/** @type {import('.')} */
|
|
111688
|
+
module.exports = reflectGetProto
|
|
111689
|
+
? function getProto(O) {
|
|
111690
|
+
// @ts-expect-error TS can't narrow inside a closure, for some reason
|
|
111691
|
+
return reflectGetProto(O);
|
|
111692
|
+
}
|
|
111693
|
+
: originalGetProto
|
|
111694
|
+
? function getProto(O) {
|
|
111695
|
+
if (!O || (typeof O !== 'object' && typeof O !== 'function')) {
|
|
111696
|
+
throw new TypeError('getProto: not an object');
|
|
111697
|
+
}
|
|
111698
|
+
// @ts-expect-error TS can't narrow inside a closure, for some reason
|
|
111699
|
+
return originalGetProto(O);
|
|
111700
|
+
}
|
|
111701
|
+
: getDunderProto
|
|
111702
|
+
? function getProto(O) {
|
|
111703
|
+
// @ts-expect-error TS can't narrow inside a closure, for some reason
|
|
111704
|
+
return getDunderProto(O);
|
|
111705
|
+
}
|
|
111706
|
+
: null;
|
|
111707
|
+
|
|
111708
|
+
|
|
111709
|
+
/***/ }),
|
|
111710
|
+
|
|
111711
|
+
/***/ 1174:
|
|
111712
|
+
/***/ ((module) => {
|
|
111713
|
+
|
|
111714
|
+
|
|
111715
|
+
|
|
111716
|
+
/** @type {import('./gOPD')} */
|
|
111717
|
+
module.exports = Object.getOwnPropertyDescriptor;
|
|
111718
|
+
|
|
111719
|
+
|
|
111720
|
+
/***/ }),
|
|
111721
|
+
|
|
111722
|
+
/***/ 33170:
|
|
111723
|
+
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
111724
|
+
|
|
111725
|
+
|
|
111726
|
+
|
|
111727
|
+
/** @type {import('.')} */
|
|
111728
|
+
var $gOPD = __nccwpck_require__(1174);
|
|
111729
|
+
|
|
111730
|
+
if ($gOPD) {
|
|
111731
|
+
try {
|
|
111732
|
+
$gOPD([], 'length');
|
|
111733
|
+
} catch (e) {
|
|
111734
|
+
// IE 8 has a broken gOPD
|
|
111735
|
+
$gOPD = null;
|
|
111736
|
+
}
|
|
111737
|
+
}
|
|
111738
|
+
|
|
111739
|
+
module.exports = $gOPD;
|
|
111740
|
+
|
|
111741
|
+
|
|
110440
111742
|
/***/ }),
|
|
110441
111743
|
|
|
110442
111744
|
/***/ 83813:
|
|
@@ -110452,6 +111754,109 @@ module.exports = (flag, argv = process.argv) => {
|
|
|
110452
111754
|
};
|
|
110453
111755
|
|
|
110454
111756
|
|
|
111757
|
+
/***/ }),
|
|
111758
|
+
|
|
111759
|
+
/***/ 23336:
|
|
111760
|
+
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
111761
|
+
|
|
111762
|
+
|
|
111763
|
+
|
|
111764
|
+
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
111765
|
+
var hasSymbolSham = __nccwpck_require__(61114);
|
|
111766
|
+
|
|
111767
|
+
/** @type {import('.')} */
|
|
111768
|
+
module.exports = function hasNativeSymbols() {
|
|
111769
|
+
if (typeof origSymbol !== 'function') { return false; }
|
|
111770
|
+
if (typeof Symbol !== 'function') { return false; }
|
|
111771
|
+
if (typeof origSymbol('foo') !== 'symbol') { return false; }
|
|
111772
|
+
if (typeof Symbol('bar') !== 'symbol') { return false; }
|
|
111773
|
+
|
|
111774
|
+
return hasSymbolSham();
|
|
111775
|
+
};
|
|
111776
|
+
|
|
111777
|
+
|
|
111778
|
+
/***/ }),
|
|
111779
|
+
|
|
111780
|
+
/***/ 61114:
|
|
111781
|
+
/***/ ((module) => {
|
|
111782
|
+
|
|
111783
|
+
|
|
111784
|
+
|
|
111785
|
+
/** @type {import('./shams')} */
|
|
111786
|
+
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
111787
|
+
module.exports = function hasSymbols() {
|
|
111788
|
+
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
|
|
111789
|
+
if (typeof Symbol.iterator === 'symbol') { return true; }
|
|
111790
|
+
|
|
111791
|
+
/** @type {{ [k in symbol]?: unknown }} */
|
|
111792
|
+
var obj = {};
|
|
111793
|
+
var sym = Symbol('test');
|
|
111794
|
+
var symObj = Object(sym);
|
|
111795
|
+
if (typeof sym === 'string') { return false; }
|
|
111796
|
+
|
|
111797
|
+
if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
|
|
111798
|
+
if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
|
|
111799
|
+
|
|
111800
|
+
// temp disabled per https://github.com/ljharb/object.assign/issues/17
|
|
111801
|
+
// if (sym instanceof Symbol) { return false; }
|
|
111802
|
+
// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
|
|
111803
|
+
// if (!(symObj instanceof Symbol)) { return false; }
|
|
111804
|
+
|
|
111805
|
+
// if (typeof Symbol.prototype.toString !== 'function') { return false; }
|
|
111806
|
+
// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
|
|
111807
|
+
|
|
111808
|
+
var symVal = 42;
|
|
111809
|
+
obj[sym] = symVal;
|
|
111810
|
+
for (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
|
|
111811
|
+
if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
|
|
111812
|
+
|
|
111813
|
+
if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
|
|
111814
|
+
|
|
111815
|
+
var syms = Object.getOwnPropertySymbols(obj);
|
|
111816
|
+
if (syms.length !== 1 || syms[0] !== sym) { return false; }
|
|
111817
|
+
|
|
111818
|
+
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
|
|
111819
|
+
|
|
111820
|
+
if (typeof Object.getOwnPropertyDescriptor === 'function') {
|
|
111821
|
+
// eslint-disable-next-line no-extra-parens
|
|
111822
|
+
var descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));
|
|
111823
|
+
if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
|
|
111824
|
+
}
|
|
111825
|
+
|
|
111826
|
+
return true;
|
|
111827
|
+
};
|
|
111828
|
+
|
|
111829
|
+
|
|
111830
|
+
/***/ }),
|
|
111831
|
+
|
|
111832
|
+
/***/ 85479:
|
|
111833
|
+
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
111834
|
+
|
|
111835
|
+
|
|
111836
|
+
|
|
111837
|
+
var hasSymbols = __nccwpck_require__(61114);
|
|
111838
|
+
|
|
111839
|
+
/** @type {import('.')} */
|
|
111840
|
+
module.exports = function hasToStringTagShams() {
|
|
111841
|
+
return hasSymbols() && !!Symbol.toStringTag;
|
|
111842
|
+
};
|
|
111843
|
+
|
|
111844
|
+
|
|
111845
|
+
/***/ }),
|
|
111846
|
+
|
|
111847
|
+
/***/ 54076:
|
|
111848
|
+
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
111849
|
+
|
|
111850
|
+
|
|
111851
|
+
|
|
111852
|
+
var call = Function.prototype.call;
|
|
111853
|
+
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
111854
|
+
var bind = __nccwpck_require__(37564);
|
|
111855
|
+
|
|
111856
|
+
/** @type {import('.')} */
|
|
111857
|
+
module.exports = bind.call(call, $hasOwn);
|
|
111858
|
+
|
|
111859
|
+
|
|
110455
111860
|
/***/ }),
|
|
110456
111861
|
|
|
110457
111862
|
/***/ 81970:
|
|
@@ -123371,6 +124776,103 @@ u&&(Z.prototype[t]=function(){var t=this.__wrapped__,o=e?[1]:arguments,f=t insta
|
|
|
123371
124776
|
var t=_l[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|shift)$/.test(n);Z.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(bh(u)?u:[],n)}return this[r](function(r){return t.apply(bh(r)?r:[],n)})}}),ue(Ct.prototype,function(n,t){var r=Z[t];if(r){var e=r.name+"";bl.call(fs,e)||(fs[e]=[]),fs[e].push({name:t,func:r})}}),fs[Qu(X,vn).name]=[{name:"wrapper",func:X}],Ct.prototype.clone=$t,Ct.prototype.reverse=Yt,Ct.prototype.value=Qt,Z.prototype.at=Qs,
|
|
123372
124777
|
Z.prototype.chain=tf,Z.prototype.commit=rf,Z.prototype.next=ef,Z.prototype.plant=of,Z.prototype.reverse=ff,Z.prototype.toJSON=Z.prototype.valueOf=Z.prototype.value=cf,Z.prototype.first=Z.prototype.head,Ul&&(Z.prototype[Ul]=uf),Z},be=de();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(re._=be,define(function(){return be})):ue?((ue.exports=be)._=be,ee._=be):re._=be}).call(this);
|
|
123373
124778
|
|
|
124779
|
+
/***/ }),
|
|
124780
|
+
|
|
124781
|
+
/***/ 55641:
|
|
124782
|
+
/***/ ((module) => {
|
|
124783
|
+
|
|
124784
|
+
|
|
124785
|
+
|
|
124786
|
+
/** @type {import('./abs')} */
|
|
124787
|
+
module.exports = Math.abs;
|
|
124788
|
+
|
|
124789
|
+
|
|
124790
|
+
/***/ }),
|
|
124791
|
+
|
|
124792
|
+
/***/ 96171:
|
|
124793
|
+
/***/ ((module) => {
|
|
124794
|
+
|
|
124795
|
+
|
|
124796
|
+
|
|
124797
|
+
/** @type {import('./floor')} */
|
|
124798
|
+
module.exports = Math.floor;
|
|
124799
|
+
|
|
124800
|
+
|
|
124801
|
+
/***/ }),
|
|
124802
|
+
|
|
124803
|
+
/***/ 77044:
|
|
124804
|
+
/***/ ((module) => {
|
|
124805
|
+
|
|
124806
|
+
|
|
124807
|
+
|
|
124808
|
+
/** @type {import('./isNaN')} */
|
|
124809
|
+
module.exports = Number.isNaN || function isNaN(a) {
|
|
124810
|
+
return a !== a;
|
|
124811
|
+
};
|
|
124812
|
+
|
|
124813
|
+
|
|
124814
|
+
/***/ }),
|
|
124815
|
+
|
|
124816
|
+
/***/ 57147:
|
|
124817
|
+
/***/ ((module) => {
|
|
124818
|
+
|
|
124819
|
+
|
|
124820
|
+
|
|
124821
|
+
/** @type {import('./max')} */
|
|
124822
|
+
module.exports = Math.max;
|
|
124823
|
+
|
|
124824
|
+
|
|
124825
|
+
/***/ }),
|
|
124826
|
+
|
|
124827
|
+
/***/ 41017:
|
|
124828
|
+
/***/ ((module) => {
|
|
124829
|
+
|
|
124830
|
+
|
|
124831
|
+
|
|
124832
|
+
/** @type {import('./min')} */
|
|
124833
|
+
module.exports = Math.min;
|
|
124834
|
+
|
|
124835
|
+
|
|
124836
|
+
/***/ }),
|
|
124837
|
+
|
|
124838
|
+
/***/ 56947:
|
|
124839
|
+
/***/ ((module) => {
|
|
124840
|
+
|
|
124841
|
+
|
|
124842
|
+
|
|
124843
|
+
/** @type {import('./pow')} */
|
|
124844
|
+
module.exports = Math.pow;
|
|
124845
|
+
|
|
124846
|
+
|
|
124847
|
+
/***/ }),
|
|
124848
|
+
|
|
124849
|
+
/***/ 42621:
|
|
124850
|
+
/***/ ((module) => {
|
|
124851
|
+
|
|
124852
|
+
|
|
124853
|
+
|
|
124854
|
+
/** @type {import('./round')} */
|
|
124855
|
+
module.exports = Math.round;
|
|
124856
|
+
|
|
124857
|
+
|
|
124858
|
+
/***/ }),
|
|
124859
|
+
|
|
124860
|
+
/***/ 30156:
|
|
124861
|
+
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
124862
|
+
|
|
124863
|
+
|
|
124864
|
+
|
|
124865
|
+
var $isNaN = __nccwpck_require__(77044);
|
|
124866
|
+
|
|
124867
|
+
/** @type {import('./sign')} */
|
|
124868
|
+
module.exports = function sign(number) {
|
|
124869
|
+
if ($isNaN(number) || number === 0) {
|
|
124870
|
+
return number;
|
|
124871
|
+
}
|
|
124872
|
+
return number < 0 ? -1 : +1;
|
|
124873
|
+
};
|
|
124874
|
+
|
|
124875
|
+
|
|
123374
124876
|
/***/ }),
|
|
123375
124877
|
|
|
123376
124878
|
/***/ 99829:
|
|
@@ -195467,7 +196969,7 @@ module.exports = waitOn;
|
|
|
195467
196969
|
/***/ 87269:
|
|
195468
196970
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
195469
196971
|
|
|
195470
|
-
/*! Axios v1.
|
|
196972
|
+
/*! Axios v1.11.0 Copyright (c) 2025 Matt Zabriskie and contributors */
|
|
195471
196973
|
|
|
195472
196974
|
|
|
195473
196975
|
const FormData$1 = __nccwpck_require__(96454);
|
|
@@ -195505,6 +197007,7 @@ function bind(fn, thisArg) {
|
|
|
195505
197007
|
|
|
195506
197008
|
const {toString} = Object.prototype;
|
|
195507
197009
|
const {getPrototypeOf} = Object;
|
|
197010
|
+
const {iterator, toStringTag} = Symbol;
|
|
195508
197011
|
|
|
195509
197012
|
const kindOf = (cache => thing => {
|
|
195510
197013
|
const str = toString.call(thing);
|
|
@@ -195631,7 +197134,28 @@ const isPlainObject = (val) => {
|
|
|
195631
197134
|
}
|
|
195632
197135
|
|
|
195633
197136
|
const prototype = getPrototypeOf(val);
|
|
195634
|
-
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(
|
|
197137
|
+
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(toStringTag in val) && !(iterator in val);
|
|
197138
|
+
};
|
|
197139
|
+
|
|
197140
|
+
/**
|
|
197141
|
+
* Determine if a value is an empty object (safely handles Buffers)
|
|
197142
|
+
*
|
|
197143
|
+
* @param {*} val The value to test
|
|
197144
|
+
*
|
|
197145
|
+
* @returns {boolean} True if value is an empty object, otherwise false
|
|
197146
|
+
*/
|
|
197147
|
+
const isEmptyObject = (val) => {
|
|
197148
|
+
// Early return for non-objects or Buffers to prevent RangeError
|
|
197149
|
+
if (!isObject(val) || isBuffer(val)) {
|
|
197150
|
+
return false;
|
|
197151
|
+
}
|
|
197152
|
+
|
|
197153
|
+
try {
|
|
197154
|
+
return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
|
|
197155
|
+
} catch (e) {
|
|
197156
|
+
// Fallback for any other objects that might cause RangeError with Object.keys()
|
|
197157
|
+
return false;
|
|
197158
|
+
}
|
|
195635
197159
|
};
|
|
195636
197160
|
|
|
195637
197161
|
/**
|
|
@@ -195756,6 +197280,11 @@ function forEach(obj, fn, {allOwnKeys = false} = {}) {
|
|
|
195756
197280
|
fn.call(null, obj[i], i, obj);
|
|
195757
197281
|
}
|
|
195758
197282
|
} else {
|
|
197283
|
+
// Buffer check
|
|
197284
|
+
if (isBuffer(obj)) {
|
|
197285
|
+
return;
|
|
197286
|
+
}
|
|
197287
|
+
|
|
195759
197288
|
// Iterate over object keys
|
|
195760
197289
|
const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
|
|
195761
197290
|
const len = keys.length;
|
|
@@ -195769,6 +197298,10 @@ function forEach(obj, fn, {allOwnKeys = false} = {}) {
|
|
|
195769
197298
|
}
|
|
195770
197299
|
|
|
195771
197300
|
function findKey(obj, key) {
|
|
197301
|
+
if (isBuffer(obj)){
|
|
197302
|
+
return null;
|
|
197303
|
+
}
|
|
197304
|
+
|
|
195772
197305
|
key = key.toLowerCase();
|
|
195773
197306
|
const keys = Object.keys(obj);
|
|
195774
197307
|
let i = keys.length;
|
|
@@ -195982,13 +197515,13 @@ const isTypedArray = (TypedArray => {
|
|
|
195982
197515
|
* @returns {void}
|
|
195983
197516
|
*/
|
|
195984
197517
|
const forEachEntry = (obj, fn) => {
|
|
195985
|
-
const generator = obj && obj[
|
|
197518
|
+
const generator = obj && obj[iterator];
|
|
195986
197519
|
|
|
195987
|
-
const
|
|
197520
|
+
const _iterator = generator.call(obj);
|
|
195988
197521
|
|
|
195989
197522
|
let result;
|
|
195990
197523
|
|
|
195991
|
-
while ((result =
|
|
197524
|
+
while ((result = _iterator.next()) && !result.done) {
|
|
195992
197525
|
const pair = result.value;
|
|
195993
197526
|
fn.call(obj, pair[0], pair[1]);
|
|
195994
197527
|
}
|
|
@@ -196109,7 +197642,7 @@ const toFiniteNumber = (value, defaultValue) => {
|
|
|
196109
197642
|
* @returns {boolean}
|
|
196110
197643
|
*/
|
|
196111
197644
|
function isSpecCompliantForm(thing) {
|
|
196112
|
-
return !!(thing && isFunction(thing.append) && thing[
|
|
197645
|
+
return !!(thing && isFunction(thing.append) && thing[toStringTag] === 'FormData' && thing[iterator]);
|
|
196113
197646
|
}
|
|
196114
197647
|
|
|
196115
197648
|
const toJSONObject = (obj) => {
|
|
@@ -196122,6 +197655,11 @@ const toJSONObject = (obj) => {
|
|
|
196122
197655
|
return;
|
|
196123
197656
|
}
|
|
196124
197657
|
|
|
197658
|
+
//Buffer check
|
|
197659
|
+
if (isBuffer(source)) {
|
|
197660
|
+
return source;
|
|
197661
|
+
}
|
|
197662
|
+
|
|
196125
197663
|
if(!('toJSON' in source)) {
|
|
196126
197664
|
stack[i] = source;
|
|
196127
197665
|
const target = isArray(source) ? [] : {};
|
|
@@ -196178,6 +197716,10 @@ const asap = typeof queueMicrotask !== 'undefined' ?
|
|
|
196178
197716
|
|
|
196179
197717
|
// *********************
|
|
196180
197718
|
|
|
197719
|
+
|
|
197720
|
+
const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
|
|
197721
|
+
|
|
197722
|
+
|
|
196181
197723
|
const utils$1 = {
|
|
196182
197724
|
isArray,
|
|
196183
197725
|
isArrayBuffer,
|
|
@@ -196189,6 +197731,7 @@ const utils$1 = {
|
|
|
196189
197731
|
isBoolean,
|
|
196190
197732
|
isObject,
|
|
196191
197733
|
isPlainObject,
|
|
197734
|
+
isEmptyObject,
|
|
196192
197735
|
isReadableStream,
|
|
196193
197736
|
isRequest,
|
|
196194
197737
|
isResponse,
|
|
@@ -196233,7 +197776,8 @@ const utils$1 = {
|
|
|
196233
197776
|
isAsyncFn,
|
|
196234
197777
|
isThenable,
|
|
196235
197778
|
setImmediate: _setImmediate,
|
|
196236
|
-
asap
|
|
197779
|
+
asap,
|
|
197780
|
+
isIterable
|
|
196237
197781
|
};
|
|
196238
197782
|
|
|
196239
197783
|
/**
|
|
@@ -196449,6 +197993,10 @@ function toFormData(obj, formData, options) {
|
|
|
196449
197993
|
return value.toISOString();
|
|
196450
197994
|
}
|
|
196451
197995
|
|
|
197996
|
+
if (utils$1.isBoolean(value)) {
|
|
197997
|
+
return value.toString();
|
|
197998
|
+
}
|
|
197999
|
+
|
|
196452
198000
|
if (!useBlob && utils$1.isBlob(value)) {
|
|
196453
198001
|
throw new AxiosError('Blob is not supported. Use a Buffer instead.');
|
|
196454
198002
|
}
|
|
@@ -196833,7 +198381,7 @@ const platform = {
|
|
|
196833
198381
|
};
|
|
196834
198382
|
|
|
196835
198383
|
function toURLEncodedForm(data, options) {
|
|
196836
|
-
return toFormData(data, new platform.classes.URLSearchParams(),
|
|
198384
|
+
return toFormData(data, new platform.classes.URLSearchParams(), {
|
|
196837
198385
|
visitor: function(value, key, path, helpers) {
|
|
196838
198386
|
if (platform.isNode && utils$1.isBuffer(value)) {
|
|
196839
198387
|
this.append(key, value.toString('base64'));
|
|
@@ -196841,8 +198389,9 @@ function toURLEncodedForm(data, options) {
|
|
|
196841
198389
|
}
|
|
196842
198390
|
|
|
196843
198391
|
return helpers.defaultVisitor.apply(this, arguments);
|
|
196844
|
-
}
|
|
196845
|
-
|
|
198392
|
+
},
|
|
198393
|
+
...options
|
|
198394
|
+
});
|
|
196846
198395
|
}
|
|
196847
198396
|
|
|
196848
198397
|
/**
|
|
@@ -197236,10 +198785,18 @@ class AxiosHeaders {
|
|
|
197236
198785
|
setHeaders(header, valueOrRewrite);
|
|
197237
198786
|
} else if(utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
|
|
197238
198787
|
setHeaders(parseHeaders(header), valueOrRewrite);
|
|
197239
|
-
} else if (utils$1.
|
|
197240
|
-
|
|
197241
|
-
|
|
198788
|
+
} else if (utils$1.isObject(header) && utils$1.isIterable(header)) {
|
|
198789
|
+
let obj = {}, dest, key;
|
|
198790
|
+
for (const entry of header) {
|
|
198791
|
+
if (!utils$1.isArray(entry)) {
|
|
198792
|
+
throw TypeError('Object iterator must return a key-value pair');
|
|
198793
|
+
}
|
|
198794
|
+
|
|
198795
|
+
obj[key = entry[0]] = (dest = obj[key]) ?
|
|
198796
|
+
(utils$1.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]]) : entry[1];
|
|
197242
198797
|
}
|
|
198798
|
+
|
|
198799
|
+
setHeaders(obj, valueOrRewrite);
|
|
197243
198800
|
} else {
|
|
197244
198801
|
header != null && setHeader(valueOrRewrite, header, rewrite);
|
|
197245
198802
|
}
|
|
@@ -197381,6 +198938,10 @@ class AxiosHeaders {
|
|
|
197381
198938
|
return Object.entries(this.toJSON()).map(([header, value]) => header + ': ' + value).join('\n');
|
|
197382
198939
|
}
|
|
197383
198940
|
|
|
198941
|
+
getSetCookie() {
|
|
198942
|
+
return this.get("set-cookie") || [];
|
|
198943
|
+
}
|
|
198944
|
+
|
|
197384
198945
|
get [Symbol.toStringTag]() {
|
|
197385
198946
|
return 'AxiosHeaders';
|
|
197386
198947
|
}
|
|
@@ -197547,13 +199108,13 @@ function combineURLs(baseURL, relativeURL) {
|
|
|
197547
199108
|
*/
|
|
197548
199109
|
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
197549
199110
|
let isRelativeUrl = !isAbsoluteURL(requestedURL);
|
|
197550
|
-
if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) {
|
|
199111
|
+
if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
|
|
197551
199112
|
return combineURLs(baseURL, requestedURL);
|
|
197552
199113
|
}
|
|
197553
199114
|
return requestedURL;
|
|
197554
199115
|
}
|
|
197555
199116
|
|
|
197556
|
-
const VERSION = "1.
|
|
199117
|
+
const VERSION = "1.11.0";
|
|
197557
199118
|
|
|
197558
199119
|
function parseProtocol(url) {
|
|
197559
199120
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
|
|
@@ -197835,7 +199396,7 @@ const formDataToStream = (form, headersHandler, options) => {
|
|
|
197835
199396
|
}
|
|
197836
199397
|
|
|
197837
199398
|
const boundaryBytes = textEncoder.encode('--' + boundary + CRLF);
|
|
197838
|
-
const footerBytes = textEncoder.encode('--' + boundary + '--' + CRLF
|
|
199399
|
+
const footerBytes = textEncoder.encode('--' + boundary + '--' + CRLF);
|
|
197839
199400
|
let contentLength = footerBytes.byteLength;
|
|
197840
199401
|
|
|
197841
199402
|
const parts = Array.from(form.entries()).map(([name, value]) => {
|
|
@@ -197981,7 +199542,7 @@ function throttle(fn, freq) {
|
|
|
197981
199542
|
clearTimeout(timer);
|
|
197982
199543
|
timer = null;
|
|
197983
199544
|
}
|
|
197984
|
-
fn
|
|
199545
|
+
fn(...args);
|
|
197985
199546
|
};
|
|
197986
199547
|
|
|
197987
199548
|
const throttled = (...args) => {
|
|
@@ -198855,7 +200416,7 @@ function mergeConfig(config1, config2) {
|
|
|
198855
200416
|
headers: (a, b , prop) => mergeDeepProperties(headersToObject(a), headersToObject(b),prop, true)
|
|
198856
200417
|
};
|
|
198857
200418
|
|
|
198858
|
-
utils$1.forEach(Object.keys(
|
|
200419
|
+
utils$1.forEach(Object.keys({...config1, ...config2}), function computeConfigValue(prop) {
|
|
198859
200420
|
const merge = mergeMap[prop] || mergeDeepProperties;
|
|
198860
200421
|
const configValue = merge(config1[prop], config2[prop], prop);
|
|
198861
200422
|
(utils$1.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
|
|
@@ -198871,7 +200432,7 @@ const resolveConfig = (config) => {
|
|
|
198871
200432
|
|
|
198872
200433
|
newConfig.headers = headers = AxiosHeaders$1.from(headers);
|
|
198873
200434
|
|
|
198874
|
-
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url), config.params, config.paramsSerializer);
|
|
200435
|
+
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
|
|
198875
200436
|
|
|
198876
200437
|
// HTTP basic authentication
|
|
198877
200438
|
if (auth) {
|
|
@@ -199390,7 +200951,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
199390
200951
|
credentials: isCredentialsSupported ? withCredentials : undefined
|
|
199391
200952
|
});
|
|
199392
200953
|
|
|
199393
|
-
let response = await fetch(request);
|
|
200954
|
+
let response = await fetch(request, fetchOptions);
|
|
199394
200955
|
|
|
199395
200956
|
const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
|
|
199396
200957
|
|
|
@@ -199436,7 +200997,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
199436
200997
|
} catch (err) {
|
|
199437
200998
|
unsubscribe && unsubscribe();
|
|
199438
200999
|
|
|
199439
|
-
if (err && err.name === 'TypeError' && /fetch/i.test(err.message)) {
|
|
201000
|
+
if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {
|
|
199440
201001
|
throw Object.assign(
|
|
199441
201002
|
new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request),
|
|
199442
201003
|
{
|
|
@@ -199702,7 +201263,7 @@ const validators = validator.validators;
|
|
|
199702
201263
|
*/
|
|
199703
201264
|
class Axios {
|
|
199704
201265
|
constructor(instanceConfig) {
|
|
199705
|
-
this.defaults = instanceConfig;
|
|
201266
|
+
this.defaults = instanceConfig || {};
|
|
199706
201267
|
this.interceptors = {
|
|
199707
201268
|
request: new InterceptorManager$1(),
|
|
199708
201269
|
response: new InterceptorManager$1()
|
|
@@ -199833,8 +201394,8 @@ class Axios {
|
|
|
199833
201394
|
|
|
199834
201395
|
if (!synchronousRequestInterceptors) {
|
|
199835
201396
|
const chain = [dispatchRequest.bind(this), undefined];
|
|
199836
|
-
chain.unshift
|
|
199837
|
-
chain.push
|
|
201397
|
+
chain.unshift(...requestInterceptorChain);
|
|
201398
|
+
chain.push(...responseInterceptorChain);
|
|
199838
201399
|
len = chain.length;
|
|
199839
201400
|
|
|
199840
201401
|
promise = Promise.resolve(config);
|
|
@@ -201131,21 +202692,21 @@ module.exports = /*#__PURE__*/JSON.parse('{"name":"@actions/cache","version":"4.
|
|
|
201131
202692
|
/***/ 27413:
|
|
201132
202693
|
/***/ ((module) => {
|
|
201133
202694
|
|
|
201134
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/client-s3","description":"AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native","version":"3.
|
|
202695
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/client-s3","description":"AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native","version":"3.859.0","scripts":{"build":"concurrently \'yarn:build:cjs\' \'yarn:build:es\' \'yarn:build:types\'","build:cjs":"node ../../scripts/compilation/inline client-s3","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo s3","test":"yarn g:vitest run","test:browser":"node ./test/browser-build/esbuild && yarn g:vitest run -c vitest.config.browser.ts","test:browser:watch":"node ./test/browser-build/esbuild && yarn g:vitest watch -c vitest.config.browser.ts","test:e2e":"yarn g:vitest run -c vitest.config.e2e.ts && yarn test:browser","test:e2e:watch":"yarn g:vitest watch -c vitest.config.e2e.ts","test:integration":"yarn g:vitest run -c vitest.config.integ.ts","test:integration:watch":"yarn g:vitest watch -c vitest.config.integ.ts","test:watch":"yarn g:vitest watch"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha1-browser":"5.2.0","@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"3.858.0","@aws-sdk/credential-provider-node":"3.859.0","@aws-sdk/middleware-bucket-endpoint":"3.840.0","@aws-sdk/middleware-expect-continue":"3.840.0","@aws-sdk/middleware-flexible-checksums":"3.858.0","@aws-sdk/middleware-host-header":"3.840.0","@aws-sdk/middleware-location-constraint":"3.840.0","@aws-sdk/middleware-logger":"3.840.0","@aws-sdk/middleware-recursion-detection":"3.840.0","@aws-sdk/middleware-sdk-s3":"3.858.0","@aws-sdk/middleware-ssec":"3.840.0","@aws-sdk/middleware-user-agent":"3.858.0","@aws-sdk/region-config-resolver":"3.840.0","@aws-sdk/signature-v4-multi-region":"3.858.0","@aws-sdk/types":"3.840.0","@aws-sdk/util-endpoints":"3.848.0","@aws-sdk/util-user-agent-browser":"3.840.0","@aws-sdk/util-user-agent-node":"3.858.0","@aws-sdk/xml-builder":"3.821.0","@smithy/config-resolver":"^4.1.4","@smithy/core":"^3.7.2","@smithy/eventstream-serde-browser":"^4.0.4","@smithy/eventstream-serde-config-resolver":"^4.1.2","@smithy/eventstream-serde-node":"^4.0.4","@smithy/fetch-http-handler":"^5.1.0","@smithy/hash-blob-browser":"^4.0.4","@smithy/hash-node":"^4.0.4","@smithy/hash-stream-node":"^4.0.4","@smithy/invalid-dependency":"^4.0.4","@smithy/md5-js":"^4.0.4","@smithy/middleware-content-length":"^4.0.4","@smithy/middleware-endpoint":"^4.1.17","@smithy/middleware-retry":"^4.1.18","@smithy/middleware-serde":"^4.0.8","@smithy/middleware-stack":"^4.0.4","@smithy/node-config-provider":"^4.1.3","@smithy/node-http-handler":"^4.1.0","@smithy/protocol-http":"^5.1.2","@smithy/smithy-client":"^4.4.9","@smithy/types":"^4.3.1","@smithy/url-parser":"^4.0.4","@smithy/util-base64":"^4.0.0","@smithy/util-body-length-browser":"^4.0.0","@smithy/util-body-length-node":"^4.0.0","@smithy/util-defaults-mode-browser":"^4.0.25","@smithy/util-defaults-mode-node":"^4.0.25","@smithy/util-endpoints":"^3.0.6","@smithy/util-middleware":"^4.0.4","@smithy/util-retry":"^4.0.6","@smithy/util-stream":"^4.2.3","@smithy/util-utf8":"^4.0.0","@smithy/util-waiter":"^4.0.6","@types/uuid":"^9.0.1","tslib":"^2.6.2","uuid":"^9.0.1"},"devDependencies":{"@aws-sdk/signature-v4-crt":"3.858.0","@tsconfig/node18":"18.2.4","@types/node":"^18.19.69","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typescript":"~5.8.3"},"engines":{"node":">=18.0.0"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["dist-*/**"],"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-s3"}}');
|
|
201135
202696
|
|
|
201136
202697
|
/***/ }),
|
|
201137
202698
|
|
|
201138
202699
|
/***/ 45188:
|
|
201139
202700
|
/***/ ((module) => {
|
|
201140
202701
|
|
|
201141
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/client-sso","description":"AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native","version":"3.
|
|
202702
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/client-sso","description":"AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native","version":"3.858.0","scripts":{"build":"concurrently \'yarn:build:cjs\' \'yarn:build:es\' \'yarn:build:types\'","build:cjs":"node ../../scripts/compilation/inline client-sso","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sso"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"3.858.0","@aws-sdk/middleware-host-header":"3.840.0","@aws-sdk/middleware-logger":"3.840.0","@aws-sdk/middleware-recursion-detection":"3.840.0","@aws-sdk/middleware-user-agent":"3.858.0","@aws-sdk/region-config-resolver":"3.840.0","@aws-sdk/types":"3.840.0","@aws-sdk/util-endpoints":"3.848.0","@aws-sdk/util-user-agent-browser":"3.840.0","@aws-sdk/util-user-agent-node":"3.858.0","@smithy/config-resolver":"^4.1.4","@smithy/core":"^3.7.2","@smithy/fetch-http-handler":"^5.1.0","@smithy/hash-node":"^4.0.4","@smithy/invalid-dependency":"^4.0.4","@smithy/middleware-content-length":"^4.0.4","@smithy/middleware-endpoint":"^4.1.17","@smithy/middleware-retry":"^4.1.18","@smithy/middleware-serde":"^4.0.8","@smithy/middleware-stack":"^4.0.4","@smithy/node-config-provider":"^4.1.3","@smithy/node-http-handler":"^4.1.0","@smithy/protocol-http":"^5.1.2","@smithy/smithy-client":"^4.4.9","@smithy/types":"^4.3.1","@smithy/url-parser":"^4.0.4","@smithy/util-base64":"^4.0.0","@smithy/util-body-length-browser":"^4.0.0","@smithy/util-body-length-node":"^4.0.0","@smithy/util-defaults-mode-browser":"^4.0.25","@smithy/util-defaults-mode-node":"^4.0.25","@smithy/util-endpoints":"^3.0.6","@smithy/util-middleware":"^4.0.4","@smithy/util-retry":"^4.0.6","@smithy/util-utf8":"^4.0.0","tslib":"^2.6.2"},"devDependencies":{"@tsconfig/node18":"18.2.4","@types/node":"^18.19.69","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typescript":"~5.8.3"},"engines":{"node":">=18.0.0"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["dist-*/**"],"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-sso"}}');
|
|
201142
202703
|
|
|
201143
202704
|
/***/ }),
|
|
201144
202705
|
|
|
201145
202706
|
/***/ 39955:
|
|
201146
202707
|
/***/ ((module) => {
|
|
201147
202708
|
|
|
201148
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/nested-clients","version":"3.
|
|
202709
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/nested-clients","version":"3.858.0","description":"Nested clients for AWS SDK packages.","main":"./dist-cjs/index.js","module":"./dist-es/index.js","types":"./dist-types/index.d.ts","scripts":{"build":"yarn lint && concurrently \'yarn:build:cjs\' \'yarn:build:es\' \'yarn:build:types\'","build:cjs":"node ../../scripts/compilation/inline nested-clients","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","lint":"node ../../scripts/validation/submodules-linter.js --pkg nested-clients","test":"yarn g:vitest run","test:watch":"yarn g:vitest watch"},"engines":{"node":">=18.0.0"},"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"3.858.0","@aws-sdk/middleware-host-header":"3.840.0","@aws-sdk/middleware-logger":"3.840.0","@aws-sdk/middleware-recursion-detection":"3.840.0","@aws-sdk/middleware-user-agent":"3.858.0","@aws-sdk/region-config-resolver":"3.840.0","@aws-sdk/types":"3.840.0","@aws-sdk/util-endpoints":"3.848.0","@aws-sdk/util-user-agent-browser":"3.840.0","@aws-sdk/util-user-agent-node":"3.858.0","@smithy/config-resolver":"^4.1.4","@smithy/core":"^3.7.2","@smithy/fetch-http-handler":"^5.1.0","@smithy/hash-node":"^4.0.4","@smithy/invalid-dependency":"^4.0.4","@smithy/middleware-content-length":"^4.0.4","@smithy/middleware-endpoint":"^4.1.17","@smithy/middleware-retry":"^4.1.18","@smithy/middleware-serde":"^4.0.8","@smithy/middleware-stack":"^4.0.4","@smithy/node-config-provider":"^4.1.3","@smithy/node-http-handler":"^4.1.0","@smithy/protocol-http":"^5.1.2","@smithy/smithy-client":"^4.4.9","@smithy/types":"^4.3.1","@smithy/url-parser":"^4.0.4","@smithy/util-base64":"^4.0.0","@smithy/util-body-length-browser":"^4.0.0","@smithy/util-body-length-node":"^4.0.0","@smithy/util-defaults-mode-browser":"^4.0.25","@smithy/util-defaults-mode-node":"^4.0.25","@smithy/util-endpoints":"^3.0.6","@smithy/util-middleware":"^4.0.4","@smithy/util-retry":"^4.0.6","@smithy/util-utf8":"^4.0.0","tslib":"^2.6.2"},"devDependencies":{"concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typescript":"~5.8.3"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["./sso-oidc.d.ts","./sso-oidc.js","./sts.d.ts","./sts.js","dist-*/**"],"browser":{"./dist-es/submodules/sso-oidc/runtimeConfig":"./dist-es/submodules/sso-oidc/runtimeConfig.browser","./dist-es/submodules/sts/runtimeConfig":"./dist-es/submodules/sts/runtimeConfig.browser"},"react-native":{},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"packages/nested-clients"},"exports":{"./sso-oidc":{"types":"./dist-types/submodules/sso-oidc/index.d.ts","module":"./dist-es/submodules/sso-oidc/index.js","node":"./dist-cjs/submodules/sso-oidc/index.js","import":"./dist-es/submodules/sso-oidc/index.js","require":"./dist-cjs/submodules/sso-oidc/index.js"},"./sts":{"types":"./dist-types/submodules/sts/index.d.ts","module":"./dist-es/submodules/sts/index.js","node":"./dist-cjs/submodules/sts/index.js","import":"./dist-es/submodules/sts/index.js","require":"./dist-cjs/submodules/sts/index.js"}}}');
|
|
201149
202710
|
|
|
201150
202711
|
/***/ }),
|
|
201151
202712
|
|
|
@@ -201180,7 +202741,7 @@ module.exports = /*#__PURE__*/JSON.parse('{"$schema":"http://json-schema.org/dra
|
|
|
201180
202741
|
/***/ 80056:
|
|
201181
202742
|
/***/ ((module) => {
|
|
201182
202743
|
|
|
201183
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"dotenv","version":"17.2.
|
|
202744
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"dotenv","version":"17.2.1","description":"Loads environment variables from .env file","main":"lib/main.js","types":"lib/main.d.ts","exports":{".":{"types":"./lib/main.d.ts","require":"./lib/main.js","default":"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},"scripts":{"dts-check":"tsc --project tests/types/tsconfig.json","lint":"standard","pretest":"npm run lint && npm run dts-check","test":"tap run --allow-empty-coverage --disable-coverage --timeout=60000","test:coverage":"tap run --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov","prerelease":"npm test","release":"standard-version"},"repository":{"type":"git","url":"git://github.com/motdotla/dotenv.git"},"homepage":"https://github.com/motdotla/dotenv#readme","funding":"https://dotenvx.com","keywords":["dotenv","env",".env","environment","variables","config","settings"],"readmeFilename":"README.md","license":"BSD-2-Clause","devDependencies":{"@types/node":"^18.11.3","decache":"^4.6.2","sinon":"^14.0.1","standard":"^17.0.0","standard-version":"^9.5.0","tap":"^19.2.0","typescript":"^4.8.4"},"engines":{"node":">=12"},"browser":{"fs":false}}');
|
|
201184
202745
|
|
|
201185
202746
|
/***/ }),
|
|
201186
202747
|
|
|
@@ -201410,7 +202971,8 @@ var external_path_ = __nccwpck_require__(16928);
|
|
|
201410
202971
|
const envObject = {
|
|
201411
202972
|
ACTIONS_RUNTIME_TOKEN: process.env.ACTIONS_RUNTIME_TOKEN,
|
|
201412
202973
|
ACTIONS_CACHE_URL: process.env.ACTIONS_CACHE_URL,
|
|
201413
|
-
RUNNER_TEMP: process.env.RUNNER_TEMP
|
|
202974
|
+
RUNNER_TEMP: process.env.RUNNER_TEMP,
|
|
202975
|
+
LOG_LEVEL: process.env.LOG_LEVEL
|
|
201414
202976
|
};
|
|
201415
202977
|
const env = {
|
|
201416
202978
|
valid: Object.values(envObject).every(value => value !== undefined),
|
|
@@ -201813,6 +203375,21 @@ function getCacheClient() {
|
|
|
201813
203375
|
};
|
|
201814
203376
|
}
|
|
201815
203377
|
|
|
203378
|
+
;// CONCATENATED MODULE: ./src/lib/utils.ts
|
|
203379
|
+
|
|
203380
|
+
const timingProvider = (name, tracker, fn) => {
|
|
203381
|
+
return async (...args) => {
|
|
203382
|
+
const start = performance.now();
|
|
203383
|
+
const result = await fn(...args);
|
|
203384
|
+
const end = performance.now();
|
|
203385
|
+
if (env.LOG_LEVEL === 'debug') {
|
|
203386
|
+
console.log(`${name} took ${end - start}ms`);
|
|
203387
|
+
}
|
|
203388
|
+
tracker[name] += end - start;
|
|
203389
|
+
return result;
|
|
203390
|
+
};
|
|
203391
|
+
};
|
|
203392
|
+
|
|
201816
203393
|
;// CONCATENATED MODULE: ./src/lib/providers/cache/index.ts
|
|
201817
203394
|
|
|
201818
203395
|
|
|
@@ -201820,6 +203397,7 @@ function getCacheClient() {
|
|
|
201820
203397
|
|
|
201821
203398
|
|
|
201822
203399
|
|
|
203400
|
+
|
|
201823
203401
|
//* Cache API
|
|
201824
203402
|
async function saveCache(ctx, hash, tag, stream) {
|
|
201825
203403
|
if (!env.valid) {
|
|
@@ -201868,12 +203446,12 @@ async function listCache() {
|
|
|
201868
203446
|
core_core.error(`Cannot list github cache automatically.`);
|
|
201869
203447
|
throw new Error(`Cannot list github cache automatically.`);
|
|
201870
203448
|
}
|
|
201871
|
-
const getGithubProvider = () => {
|
|
203449
|
+
const getGithubProvider = (tracker) => {
|
|
201872
203450
|
return {
|
|
201873
|
-
save: saveCache,
|
|
201874
|
-
get: getCache,
|
|
201875
|
-
delete: deleteCache,
|
|
201876
|
-
list: listCache
|
|
203451
|
+
save: timingProvider('save', tracker, saveCache),
|
|
203452
|
+
get: timingProvider('get', tracker, getCache),
|
|
203453
|
+
delete: timingProvider('delete', tracker, deleteCache),
|
|
203454
|
+
list: timingProvider('list', tracker, listCache)
|
|
201877
203455
|
};
|
|
201878
203456
|
};
|
|
201879
203457
|
|
|
@@ -201886,6 +203464,7 @@ var lib_storage_dist_cjs = __nccwpck_require__(22358);
|
|
|
201886
203464
|
|
|
201887
203465
|
|
|
201888
203466
|
|
|
203467
|
+
|
|
201889
203468
|
// Helper function to get input value, prioritizing environment variables for local development
|
|
201890
203469
|
const s3_getInput = (name, envNames) => {
|
|
201891
203470
|
// In GitHub Actions context, try core.getInput first
|
|
@@ -201903,7 +203482,7 @@ const s3_getInput = (name, envNames) => {
|
|
|
201903
203482
|
}
|
|
201904
203483
|
return undefined;
|
|
201905
203484
|
};
|
|
201906
|
-
const getS3Provider = () => {
|
|
203485
|
+
const getS3Provider = (tracker) => {
|
|
201907
203486
|
const s3AccessKeyId = s3_getInput('s3-access-key-id', [
|
|
201908
203487
|
'AWS_ACCESS_KEY_ID',
|
|
201909
203488
|
'S3_ACCESS_KEY_ID'
|
|
@@ -201949,7 +203528,6 @@ const getS3Provider = () => {
|
|
|
201949
203528
|
};
|
|
201950
203529
|
const save = async (ctx, hash, tag, stream) => {
|
|
201951
203530
|
const objectKey = getS3Key(hash, tag);
|
|
201952
|
-
console.log({ objectKey, s3Prefix });
|
|
201953
203531
|
try {
|
|
201954
203532
|
// Use the S3 Upload utility which handles multipart uploads for large files
|
|
201955
203533
|
const upload = new lib_storage_dist_cjs.Upload({
|
|
@@ -202075,10 +203653,10 @@ const getS3Provider = () => {
|
|
|
202075
203653
|
}
|
|
202076
203654
|
};
|
|
202077
203655
|
return {
|
|
202078
|
-
save,
|
|
202079
|
-
get,
|
|
202080
|
-
delete: deleteObj,
|
|
202081
|
-
list
|
|
203656
|
+
save: timingProvider('save', tracker, save),
|
|
203657
|
+
get: timingProvider('get', tracker, get),
|
|
203658
|
+
delete: timingProvider('delete', tracker, deleteObj),
|
|
203659
|
+
list: timingProvider('list', tracker, list)
|
|
202082
203660
|
};
|
|
202083
203661
|
};
|
|
202084
203662
|
|
|
@@ -202086,16 +203664,16 @@ const getS3Provider = () => {
|
|
|
202086
203664
|
|
|
202087
203665
|
|
|
202088
203666
|
|
|
202089
|
-
const getProvider = () => {
|
|
203667
|
+
const getProvider = (tracker) => {
|
|
202090
203668
|
const provider = core_core.getInput('provider') || process.env.PROVIDER;
|
|
202091
203669
|
if (!provider) {
|
|
202092
203670
|
throw new Error('Provider is required. Set PROVIDER environment variable or provider input.');
|
|
202093
203671
|
}
|
|
202094
203672
|
if (provider === 'github') {
|
|
202095
|
-
return getGithubProvider();
|
|
203673
|
+
return getGithubProvider(tracker);
|
|
202096
203674
|
}
|
|
202097
203675
|
if (provider === 's3') {
|
|
202098
|
-
return getS3Provider();
|
|
203676
|
+
return getS3Provider(tracker);
|
|
202099
203677
|
}
|
|
202100
203678
|
throw new Error(`Provider ${provider} not supported`);
|
|
202101
203679
|
};
|
|
@@ -202194,7 +203772,7 @@ const parseFileSize = (size) => {
|
|
|
202194
203772
|
|
|
202195
203773
|
|
|
202196
203774
|
|
|
202197
|
-
async function cleanup(ctx) {
|
|
203775
|
+
async function cleanup(ctx, tracker) {
|
|
202198
203776
|
const maxAge = core_core.getInput('max-age') || process.env.MAX_AGE;
|
|
202199
203777
|
const maxFiles = core_core.getInput('max-files') || process.env.MAX_FILES;
|
|
202200
203778
|
const maxSize = core_core.getInput('max-size') || process.env.MAX_SIZE;
|
|
@@ -202219,7 +203797,7 @@ async function cleanup(ctx) {
|
|
|
202219
203797
|
core_core.error('Invalid max-size provided');
|
|
202220
203798
|
throw new Error('Invalid max-size provided');
|
|
202221
203799
|
}
|
|
202222
|
-
const provider = getProvider();
|
|
203800
|
+
const provider = getProvider(tracker);
|
|
202223
203801
|
const files = await provider.list();
|
|
202224
203802
|
const fileToDelete = [];
|
|
202225
203803
|
if (maxAgeParsed) {
|
|
@@ -202256,8 +203834,9 @@ async function cleanup(ctx) {
|
|
|
202256
203834
|
ctx.log.info(`Cleaning up ${fileToDelete.length} files (${fileToDelete.map(f => `${f.path} (${f.reason})`)})`);
|
|
202257
203835
|
for (const file of fileToDelete) {
|
|
202258
203836
|
try {
|
|
203837
|
+
console.log('Deleting', file);
|
|
202259
203838
|
await provider.delete(file.path);
|
|
202260
|
-
ctx.log.info(`Deleted ${file
|
|
203839
|
+
ctx.log.info(`Deleted ${file}`);
|
|
202261
203840
|
}
|
|
202262
203841
|
catch (error) {
|
|
202263
203842
|
core_core.error(`Failed to delete ${file.path}: ${error}`);
|
|
@@ -202271,16 +203850,27 @@ async function cleanup(ctx) {
|
|
|
202271
203850
|
|
|
202272
203851
|
// EXTERNAL MODULE: external "stream"
|
|
202273
203852
|
var external_stream_ = __nccwpck_require__(2203);
|
|
203853
|
+
;// CONCATENATED MODULE: ./src/lib/tracker.ts
|
|
203854
|
+
const getTracker = () => ({
|
|
203855
|
+
save: 0,
|
|
203856
|
+
get: 0,
|
|
203857
|
+
delete: 0,
|
|
203858
|
+
list: 0
|
|
203859
|
+
});
|
|
203860
|
+
|
|
202274
203861
|
;// CONCATENATED MODULE: ./src/lib/server/index.ts
|
|
202275
203862
|
|
|
202276
203863
|
|
|
202277
203864
|
|
|
202278
203865
|
|
|
202279
203866
|
|
|
203867
|
+
|
|
203868
|
+
|
|
202280
203869
|
async function server() {
|
|
203870
|
+
const tracker = getTracker();
|
|
202281
203871
|
//* Create the server
|
|
202282
203872
|
const fastify = fastify_default()({
|
|
202283
|
-
logger: true
|
|
203873
|
+
logger: env.LOG_LEVEL === 'debug' ? true : false
|
|
202284
203874
|
});
|
|
202285
203875
|
//? Server status check
|
|
202286
203876
|
fastify.get('/', async () => {
|
|
@@ -202291,7 +203881,7 @@ async function server() {
|
|
|
202291
203881
|
request.log.info('Ping endpoint called - testing cache provider functionality');
|
|
202292
203882
|
try {
|
|
202293
203883
|
const tests = [];
|
|
202294
|
-
const provider = getProvider();
|
|
203884
|
+
const provider = getProvider(tracker);
|
|
202295
203885
|
const testHash = 'ping-test-file';
|
|
202296
203886
|
const testContent = 'This is a test file for ping functionality';
|
|
202297
203887
|
// Create a readable stream from the test content
|
|
@@ -202339,7 +203929,15 @@ async function server() {
|
|
|
202339
203929
|
//? Shut down the server
|
|
202340
203930
|
const shutdown = async (ctx) => {
|
|
202341
203931
|
//* Handle cleanup
|
|
202342
|
-
await cleanup(ctx);
|
|
203932
|
+
await cleanup(ctx, tracker);
|
|
203933
|
+
//* Print tracker
|
|
203934
|
+
const total = tracker.save + tracker.get + tracker.delete + tracker.list;
|
|
203935
|
+
console.log('Average time taken:', {
|
|
203936
|
+
save: `${tracker.save}ms (${Math.round((tracker.save / Math.max(total, 1)) * 100)}%)`,
|
|
203937
|
+
get: `${tracker.get}ms (${Math.round((tracker.get / Math.max(total, 1)) * 100)}%)`,
|
|
203938
|
+
delete: `${tracker.delete}ms (${Math.round((tracker.delete / Math.max(total, 1)) * 100)}%)`,
|
|
203939
|
+
list: `${tracker.list}ms (${Math.round((tracker.list / Math.max(total, 1)) * 100)}%)`
|
|
203940
|
+
});
|
|
202343
203941
|
// Exit the server after responding (100ms)
|
|
202344
203942
|
setTimeout(() => process.exit(0), 100);
|
|
202345
203943
|
return { ok: true };
|
|
@@ -202356,7 +203954,7 @@ async function server() {
|
|
|
202356
203954
|
fastify.put('/v8/artifacts/:hash', async (request) => {
|
|
202357
203955
|
const hash = request.params.hash;
|
|
202358
203956
|
request.log.info(`Received artifact for ${hash}`);
|
|
202359
|
-
const provider = getProvider();
|
|
203957
|
+
const provider = getProvider(tracker);
|
|
202360
203958
|
await provider.save(request, hash, String(request.headers['x-artifact-tag'] || ''), request.raw);
|
|
202361
203959
|
request.log.info(`Saved artifact for ${hash}`);
|
|
202362
203960
|
return { ok: true };
|
|
@@ -202365,7 +203963,7 @@ async function server() {
|
|
|
202365
203963
|
fastify.get('/v8/artifacts/:hash', async (request, reply) => {
|
|
202366
203964
|
const hash = request.params.hash;
|
|
202367
203965
|
request.log.info(`Requested artifact for ${hash}`);
|
|
202368
|
-
const provider = getProvider();
|
|
203966
|
+
const provider = getProvider(tracker);
|
|
202369
203967
|
const result = await provider.get(request, hash);
|
|
202370
203968
|
if (result === null) {
|
|
202371
203969
|
request.log.info(`Artifact for ${hash} not found`);
|