@larkup/cli 0.3.22 → 0.3.24
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/dist/{chunk-MTXSOKLF.js → chunk-52FEKTCQ.js} +1069 -1028
- package/dist/{chunk-4Y7OLVDR.js → chunk-5VCEWBIF.js} +4 -4
- package/dist/{chunk-5YXDD2GC.js → chunk-7MWCEBXG.js} +139 -139
- package/dist/{chunk-YL567TPU.js → chunk-D4V74FXY.js} +4 -4
- package/dist/chunk-IYRX2FOU.js +515 -0
- package/dist/{event-streams-DE7Y6VJA.js → chunk-MA7PMBAQ.js} +31 -31
- package/dist/{chunk-TX2W2TDD.js → chunk-MSJ5HF3C.js} +3 -3
- package/dist/{chunk-VMIDDBSU.js → chunk-MXXWLVUQ.js} +3 -3
- package/dist/{chunk-5LXQQ3B5.js → chunk-OMUGJ6MM.js} +62 -61
- package/dist/{chunk-CQRTVM3R.js → chunk-RAMGCJ3D.js} +38 -35
- package/dist/{chunk-G4JLV4D2.js → chunk-TPHCE6EK.js} +44 -45
- package/dist/chunk-VFPIXPQD.js +126 -0
- package/dist/{chunk-5UNSW2YQ.js → chunk-VV5N6AER.js} +2 -2
- package/dist/{chunk-3HURSQNH.js → chunk-WXYQJAMD.js} +2 -2
- package/dist/{chunk-TEVXZRMI.js → chunk-WZJD24FL.js} +81 -70
- package/dist/{dist-es-64SQQSB2.js → dist-es-3EVRA57P.js} +8 -8
- package/dist/{dist-es-SM3XZOJI.js → dist-es-6NUJXRYS.js} +10 -10
- package/dist/{dist-es-WKOKSFRW.js → dist-es-A6GXGSOI.js} +8 -8
- package/dist/{dist-es-HOKTEA4H.js → dist-es-BNVRZPYQ.js} +22 -22
- package/dist/{dist-es-KLJ57YTV.js → dist-es-FBYK33UR.js} +2 -2
- package/dist/{dist-es-GCJ2YN2W.js → dist-es-JD3OKSCB.js} +13 -14
- package/dist/{dist-es-RSHHKZQR.js → dist-es-O2QZUQ4K.js} +224 -222
- package/dist/{dist-es-IBDQOMV4.js → dist-es-XSLSUFFE.js} +24 -31
- package/dist/{dist-es-I5PEXU6M.js → dist-es-YYRJPI37.js} +5 -5
- package/dist/{dist-es-EYJKNFZZ.js → dist-es-ZZIU2OSM.js} +9 -9
- package/dist/{event-streams-DO25HTN4.js → event-streams-5YVZPWZL.js} +3 -2
- package/dist/index.js +17 -17
- package/dist/{loadSso-RBMT5EPI.js → loadSso-HQ4CEKJL.js} +63 -67
- package/dist/{signin-S7FYOH5Y.js → signin-EGXTPMOE.js} +67 -71
- package/dist/{sso-oidc-YVLODDDB.js → sso-oidc-XLG4JOZS.js} +66 -70
- package/dist/{sts-R6CUYWGQ.js → sts-643ZZLFZ.js} +71 -75
- package/dist/{tool-loader-ZRVSMB4T.js → tool-loader-BOX7F5OA.js} +2 -2
- package/dist/{tool-registry-FLO7V4FK.js → tool-registry-X2BVIZJS.js} +1 -1
- package/package.json +12 -12
- package/dist/chunk-G542PEOG.js +0 -215
- package/dist/chunk-JKTTCUZ3.js +0 -653
- package/dist/chunk-M4T7TRRC.js +0 -2461
- package/dist/chunk-MEKWGOS5.js +0 -76
- package/dist/chunk-NMIRIGDS.js +0 -1445
- package/dist/chunk-SUBMQE2G.js +0 -1280
|
@@ -1,4 +1,38 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/@smithy+
|
|
1
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/is-array-buffer/is-array-buffer.js
|
|
2
|
+
var isArrayBuffer = (arg) => typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer || Object.prototype.toString.call(arg) === "[object ArrayBuffer]";
|
|
3
|
+
|
|
4
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-buffer-from/buffer-from.js
|
|
5
|
+
var fromArrayBuffer = (input, offset = 0, length = input.byteLength - offset) => {
|
|
6
|
+
if (!isArrayBuffer(input)) {
|
|
7
|
+
throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof input} (${input})`);
|
|
8
|
+
}
|
|
9
|
+
return Buffer.from(input, offset, length);
|
|
10
|
+
};
|
|
11
|
+
var fromString = (input, encoding) => {
|
|
12
|
+
if (typeof input !== "string") {
|
|
13
|
+
throw new TypeError(`The "input" argument must be of type string. Received type ${typeof input} (${input})`);
|
|
14
|
+
}
|
|
15
|
+
return encoding ? Buffer.from(input, encoding) : Buffer.from(input);
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/fromUtf8.js
|
|
19
|
+
var fromUtf8 = (input) => {
|
|
20
|
+
const buf = fromString(input, "utf8");
|
|
21
|
+
return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUtf8.js
|
|
25
|
+
var toUtf8 = (input) => {
|
|
26
|
+
if (typeof input === "string") {
|
|
27
|
+
return input;
|
|
28
|
+
}
|
|
29
|
+
if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") {
|
|
30
|
+
throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");
|
|
31
|
+
}
|
|
32
|
+
return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("utf8");
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
// ../../node_modules/.pnpm/@smithy+types@4.20.0/node_modules/@smithy/types/dist-es/extensions/checksum.js
|
|
2
36
|
var AlgorithmId;
|
|
3
37
|
(function(AlgorithmId2) {
|
|
4
38
|
AlgorithmId2["MD5"] = "md5";
|
|
@@ -8,17 +42,17 @@ var AlgorithmId;
|
|
|
8
42
|
AlgorithmId2["SHA256"] = "sha256";
|
|
9
43
|
})(AlgorithmId || (AlgorithmId = {}));
|
|
10
44
|
|
|
11
|
-
// ../../node_modules/.pnpm/@smithy+types@4.
|
|
45
|
+
// ../../node_modules/.pnpm/@smithy+types@4.20.0/node_modules/@smithy/types/dist-es/middleware.js
|
|
12
46
|
var SMITHY_CONTEXT_KEY = "__smithy_context";
|
|
13
47
|
|
|
14
|
-
// ../../node_modules/.pnpm/@smithy+types@4.
|
|
48
|
+
// ../../node_modules/.pnpm/@smithy+types@4.20.0/node_modules/@smithy/types/dist-es/endpoint.js
|
|
15
49
|
var EndpointURLScheme;
|
|
16
50
|
(function(EndpointURLScheme2) {
|
|
17
51
|
EndpointURLScheme2["HTTP"] = "http";
|
|
18
52
|
EndpointURLScheme2["HTTPS"] = "https";
|
|
19
53
|
})(EndpointURLScheme || (EndpointURLScheme = {}));
|
|
20
54
|
|
|
21
|
-
// ../../node_modules/.pnpm/@smithy+types@4.
|
|
55
|
+
// ../../node_modules/.pnpm/@smithy+types@4.20.0/node_modules/@smithy/types/dist-es/profile.js
|
|
22
56
|
var IniSectionType;
|
|
23
57
|
(function(IniSectionType2) {
|
|
24
58
|
IniSectionType2["PROFILE"] = "profile";
|
|
@@ -26,15 +60,15 @@ var IniSectionType;
|
|
|
26
60
|
IniSectionType2["SERVICES"] = "services";
|
|
27
61
|
})(IniSectionType || (IniSectionType = {}));
|
|
28
62
|
|
|
29
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
63
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/transport/getSmithyContext.js
|
|
30
64
|
var getSmithyContext = (context) => context[SMITHY_CONTEXT_KEY] || (context[SMITHY_CONTEXT_KEY] = {});
|
|
31
65
|
|
|
32
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
66
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/transport/hasOwn.js
|
|
33
67
|
function hasOwn(o, k) {
|
|
34
68
|
return Object.prototype.hasOwnProperty.call(o, k);
|
|
35
69
|
}
|
|
36
70
|
|
|
37
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
71
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/transport/httpRequest.js
|
|
38
72
|
var HttpRequest = class _HttpRequest {
|
|
39
73
|
method;
|
|
40
74
|
protocol;
|
|
@@ -91,7 +125,7 @@ function cloneQuery(query) {
|
|
|
91
125
|
}, {});
|
|
92
126
|
}
|
|
93
127
|
|
|
94
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
128
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js
|
|
95
129
|
var normalizeProvider = (input) => {
|
|
96
130
|
if (typeof input === "function") {
|
|
97
131
|
return input;
|
|
@@ -100,7 +134,7 @@ var normalizeProvider = (input) => {
|
|
|
100
134
|
return () => promisified;
|
|
101
135
|
};
|
|
102
136
|
|
|
103
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
137
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/transport/parseQueryString.js
|
|
104
138
|
function parseQueryString(querystring) {
|
|
105
139
|
const query = {};
|
|
106
140
|
querystring = querystring.replace(/^\?/, "");
|
|
@@ -123,7 +157,7 @@ function parseQueryString(querystring) {
|
|
|
123
157
|
return query;
|
|
124
158
|
}
|
|
125
159
|
|
|
126
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
160
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/transport/parseUrl.js
|
|
127
161
|
var parseUrl = (url) => {
|
|
128
162
|
if (typeof url === "string") {
|
|
129
163
|
return parseUrl(new URL(url));
|
|
@@ -142,7 +176,7 @@ var parseUrl = (url) => {
|
|
|
142
176
|
};
|
|
143
177
|
};
|
|
144
178
|
|
|
145
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
179
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js
|
|
146
180
|
var HttpResponse = class {
|
|
147
181
|
statusCode;
|
|
148
182
|
reason;
|
|
@@ -163,7 +197,7 @@ var HttpResponse = class {
|
|
|
163
197
|
}
|
|
164
198
|
};
|
|
165
199
|
|
|
166
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
200
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/transport/isValidHostLabel.js
|
|
167
201
|
var VALID_HOST_LABEL_REGEX = new RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`);
|
|
168
202
|
var isValidHostLabel = (value, allowSubDomains = false) => {
|
|
169
203
|
if (!allowSubDomains) {
|
|
@@ -178,13 +212,13 @@ var isValidHostLabel = (value, allowSubDomains = false) => {
|
|
|
178
212
|
return true;
|
|
179
213
|
};
|
|
180
214
|
|
|
181
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
215
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/transport/isValidHostname.js
|
|
182
216
|
function isValidHostname(hostname) {
|
|
183
217
|
const hostPattern = /^[a-z0-9][a-z0-9.-]*[a-z0-9]$/;
|
|
184
218
|
return hostPattern.test(hostname);
|
|
185
219
|
}
|
|
186
220
|
|
|
187
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
221
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js
|
|
188
222
|
var toEndpointV1 = (endpoint) => {
|
|
189
223
|
if (typeof endpoint === "object") {
|
|
190
224
|
if ("url" in endpoint) {
|
|
@@ -205,7 +239,41 @@ var toEndpointV1 = (endpoint) => {
|
|
|
205
239
|
return parseUrl(endpoint);
|
|
206
240
|
};
|
|
207
241
|
|
|
208
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
242
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-hex-encoding/hex-encoding.js
|
|
243
|
+
var SHORT_TO_HEX = {};
|
|
244
|
+
var HEX_TO_SHORT = {};
|
|
245
|
+
for (let i = 0; i < 256; i++) {
|
|
246
|
+
let encodedByte = i.toString(16).toLowerCase();
|
|
247
|
+
if (encodedByte.length === 1) {
|
|
248
|
+
encodedByte = `0${encodedByte}`;
|
|
249
|
+
}
|
|
250
|
+
SHORT_TO_HEX[i] = encodedByte;
|
|
251
|
+
HEX_TO_SHORT[encodedByte] = i;
|
|
252
|
+
}
|
|
253
|
+
function fromHex(encoded) {
|
|
254
|
+
if (encoded.length % 2 !== 0) {
|
|
255
|
+
throw new Error("Hex encoded strings must have an even number length");
|
|
256
|
+
}
|
|
257
|
+
const out = new Uint8Array(encoded.length / 2);
|
|
258
|
+
for (let i = 0; i < encoded.length; i += 2) {
|
|
259
|
+
const encodedByte = encoded.slice(i, i + 2).toLowerCase();
|
|
260
|
+
if (encodedByte in HEX_TO_SHORT) {
|
|
261
|
+
out[i / 2] = HEX_TO_SHORT[encodedByte];
|
|
262
|
+
} else {
|
|
263
|
+
throw new Error(`Cannot decode unrecognized sequence ${encodedByte} as hexadecimal`);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
return out;
|
|
267
|
+
}
|
|
268
|
+
function toHex(bytes) {
|
|
269
|
+
let out = "";
|
|
270
|
+
for (let i = 0; i < bytes.byteLength; i++) {
|
|
271
|
+
out += SHORT_TO_HEX[bytes[i]];
|
|
272
|
+
}
|
|
273
|
+
return out;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/schema/schemas/operation.js
|
|
209
277
|
var operation = (namespace, name, traits, input, output) => ({
|
|
210
278
|
name,
|
|
211
279
|
namespace,
|
|
@@ -214,7 +282,7 @@ var operation = (namespace, name, traits, input, output) => ({
|
|
|
214
282
|
output
|
|
215
283
|
});
|
|
216
284
|
|
|
217
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
285
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js
|
|
218
286
|
var schemaDeserializationMiddleware = (config) => (next, context) => async (args) => {
|
|
219
287
|
const { response } = await next(args);
|
|
220
288
|
const { operationSchema } = getSmithyContext(context);
|
|
@@ -274,7 +342,7 @@ var findHeader = (pattern, headers) => {
|
|
|
274
342
|
}) || [void 0, void 0])[1];
|
|
275
343
|
};
|
|
276
344
|
|
|
277
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
345
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js
|
|
278
346
|
var schemaSerializationMiddleware = (config) => (next, context) => async (args) => {
|
|
279
347
|
const { operationSchema } = getSmithyContext(context);
|
|
280
348
|
const [, ns, n, t, i, o] = operationSchema ?? [];
|
|
@@ -290,7 +358,7 @@ var schemaSerializationMiddleware = (config) => (next, context) => async (args)
|
|
|
290
358
|
});
|
|
291
359
|
};
|
|
292
360
|
|
|
293
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
361
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/schema/middleware/getSchemaSerdePlugin.js
|
|
294
362
|
var deserializerMiddlewareOption = {
|
|
295
363
|
name: "deserializerMiddleware",
|
|
296
364
|
step: "deserialize",
|
|
@@ -313,7 +381,7 @@ function getSchemaSerdePlugin(config) {
|
|
|
313
381
|
};
|
|
314
382
|
}
|
|
315
383
|
|
|
316
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
384
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/schema/deref.js
|
|
317
385
|
var deref = (schemaRef) => {
|
|
318
386
|
if (typeof schemaRef === "function") {
|
|
319
387
|
return schemaRef();
|
|
@@ -321,7 +389,7 @@ var deref = (schemaRef) => {
|
|
|
321
389
|
return schemaRef;
|
|
322
390
|
};
|
|
323
391
|
|
|
324
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
392
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js
|
|
325
393
|
var traitsCache = [];
|
|
326
394
|
function translateTraits(indicator) {
|
|
327
395
|
if (typeof indicator === "object") {
|
|
@@ -349,7 +417,7 @@ function translateTraits(indicator) {
|
|
|
349
417
|
return traitsCache[indicator] = traits;
|
|
350
418
|
}
|
|
351
419
|
|
|
352
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
420
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js
|
|
353
421
|
var anno = {
|
|
354
422
|
it: Symbol.for("@smithy/nor-struct-it"),
|
|
355
423
|
ns: Symbol.for("@smithy/ns")
|
|
@@ -631,7 +699,7 @@ function member(memberSchema, memberName) {
|
|
|
631
699
|
var isMemberSchema = (sc) => Array.isArray(sc) && sc.length === 2;
|
|
632
700
|
var isStaticSchema = (sc) => Array.isArray(sc) && sc.length >= 5;
|
|
633
701
|
|
|
634
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
702
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js
|
|
635
703
|
var TypeRegistry = class _TypeRegistry {
|
|
636
704
|
namespace;
|
|
637
705
|
schemas;
|
|
@@ -742,78 +810,10 @@ var TypeRegistry = class _TypeRegistry {
|
|
|
742
810
|
}
|
|
743
811
|
};
|
|
744
812
|
|
|
745
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
746
|
-
var isArrayBuffer = (arg) => typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer || Object.prototype.toString.call(arg) === "[object ArrayBuffer]";
|
|
747
|
-
|
|
748
|
-
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-buffer-from/buffer-from.js
|
|
749
|
-
var fromArrayBuffer = (input, offset = 0, length = input.byteLength - offset) => {
|
|
750
|
-
if (!isArrayBuffer(input)) {
|
|
751
|
-
throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof input} (${input})`);
|
|
752
|
-
}
|
|
753
|
-
return Buffer.from(input, offset, length);
|
|
754
|
-
};
|
|
755
|
-
var fromString = (input, encoding) => {
|
|
756
|
-
if (typeof input !== "string") {
|
|
757
|
-
throw new TypeError(`The "input" argument must be of type string. Received type ${typeof input} (${input})`);
|
|
758
|
-
}
|
|
759
|
-
return encoding ? Buffer.from(input, encoding) : Buffer.from(input);
|
|
760
|
-
};
|
|
761
|
-
|
|
762
|
-
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/fromUtf8.js
|
|
763
|
-
var fromUtf8 = (input) => {
|
|
764
|
-
const buf = fromString(input, "utf8");
|
|
765
|
-
return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT);
|
|
766
|
-
};
|
|
767
|
-
|
|
768
|
-
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUtf8.js
|
|
769
|
-
var toUtf8 = (input) => {
|
|
770
|
-
if (typeof input === "string") {
|
|
771
|
-
return input;
|
|
772
|
-
}
|
|
773
|
-
if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") {
|
|
774
|
-
throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");
|
|
775
|
-
}
|
|
776
|
-
return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("utf8");
|
|
777
|
-
};
|
|
778
|
-
|
|
779
|
-
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-hex-encoding/hex-encoding.js
|
|
780
|
-
var SHORT_TO_HEX = {};
|
|
781
|
-
var HEX_TO_SHORT = {};
|
|
782
|
-
for (let i = 0; i < 256; i++) {
|
|
783
|
-
let encodedByte = i.toString(16).toLowerCase();
|
|
784
|
-
if (encodedByte.length === 1) {
|
|
785
|
-
encodedByte = `0${encodedByte}`;
|
|
786
|
-
}
|
|
787
|
-
SHORT_TO_HEX[i] = encodedByte;
|
|
788
|
-
HEX_TO_SHORT[encodedByte] = i;
|
|
789
|
-
}
|
|
790
|
-
function fromHex(encoded) {
|
|
791
|
-
if (encoded.length % 2 !== 0) {
|
|
792
|
-
throw new Error("Hex encoded strings must have an even number length");
|
|
793
|
-
}
|
|
794
|
-
const out = new Uint8Array(encoded.length / 2);
|
|
795
|
-
for (let i = 0; i < encoded.length; i += 2) {
|
|
796
|
-
const encodedByte = encoded.slice(i, i + 2).toLowerCase();
|
|
797
|
-
if (encodedByte in HEX_TO_SHORT) {
|
|
798
|
-
out[i / 2] = HEX_TO_SHORT[encodedByte];
|
|
799
|
-
} else {
|
|
800
|
-
throw new Error(`Cannot decode unrecognized sequence ${encodedByte} as hexadecimal`);
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
return out;
|
|
804
|
-
}
|
|
805
|
-
function toHex(bytes) {
|
|
806
|
-
let out = "";
|
|
807
|
-
for (let i = 0; i < bytes.byteLength; i++) {
|
|
808
|
-
out += SHORT_TO_HEX[bytes[i]];
|
|
809
|
-
}
|
|
810
|
-
return out;
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/index.js
|
|
813
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/index.js
|
|
814
814
|
import { getRandomValues } from "crypto";
|
|
815
815
|
|
|
816
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
816
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/fromBase64.js
|
|
817
817
|
var BASE64_REGEX = /^[A-Za-z0-9+/]*={0,2}$/;
|
|
818
818
|
var fromBase64 = (input) => {
|
|
819
819
|
if (input.length * 3 % 4 !== 0) {
|
|
@@ -826,7 +826,7 @@ var fromBase64 = (input) => {
|
|
|
826
826
|
return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);
|
|
827
827
|
};
|
|
828
828
|
|
|
829
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
829
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/toBase64.js
|
|
830
830
|
var toBase64 = (_input) => {
|
|
831
831
|
let input;
|
|
832
832
|
if (typeof _input === "string") {
|
|
@@ -840,7 +840,7 @@ var toBase64 = (_input) => {
|
|
|
840
840
|
return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("base64");
|
|
841
841
|
};
|
|
842
842
|
|
|
843
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
843
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/blob/Uint8ArrayBlobAdapter.js
|
|
844
844
|
function bindUint8ArrayBlobAdapter(toUtf83, fromUtf83, toBase643, fromBase642) {
|
|
845
845
|
return class Uint8ArrayBlobAdapter2 extends Uint8Array {
|
|
846
846
|
static fromString(source, encoding = "utf-8") {
|
|
@@ -865,7 +865,7 @@ function bindUint8ArrayBlobAdapter(toUtf83, fromUtf83, toBase643, fromBase642) {
|
|
|
865
865
|
};
|
|
866
866
|
}
|
|
867
867
|
|
|
868
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
868
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/uuid/v4.js
|
|
869
869
|
var decimalToHex = Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, "0"));
|
|
870
870
|
function bindV4(getRandomValues2) {
|
|
871
871
|
if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
|
|
@@ -880,7 +880,7 @@ function bindV4(getRandomValues2) {
|
|
|
880
880
|
};
|
|
881
881
|
}
|
|
882
882
|
|
|
883
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
883
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js
|
|
884
884
|
var expectNumber = (value) => {
|
|
885
885
|
if (value === null || value === void 0) {
|
|
886
886
|
return void 0;
|
|
@@ -976,7 +976,7 @@ var logger = {
|
|
|
976
976
|
warn: console.warn
|
|
977
977
|
};
|
|
978
978
|
|
|
979
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
979
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/date-utils.js
|
|
980
980
|
var DAYS = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
|
|
981
981
|
var MONTHS = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
|
|
982
982
|
function dateToUtcString(date2) {
|
|
@@ -1162,7 +1162,7 @@ var stripLeadingZeroes = (value) => {
|
|
|
1162
1162
|
return value.slice(idx);
|
|
1163
1163
|
};
|
|
1164
1164
|
|
|
1165
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1165
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/lazy-json.js
|
|
1166
1166
|
var LazyJsonString = function LazyJsonString2(val) {
|
|
1167
1167
|
const str = Object.assign(new String(val), {
|
|
1168
1168
|
deserializeJSON() {
|
|
@@ -1187,7 +1187,7 @@ LazyJsonString.from = (object) => {
|
|
|
1187
1187
|
};
|
|
1188
1188
|
LazyJsonString.fromObject = LazyJsonString.from;
|
|
1189
1189
|
|
|
1190
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1190
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/quote-header.js
|
|
1191
1191
|
function quoteHeader(part) {
|
|
1192
1192
|
if (part.includes(",") || part.includes('"')) {
|
|
1193
1193
|
part = `"${part.replace(/"/g, '\\"')}"`;
|
|
@@ -1195,7 +1195,7 @@ function quoteHeader(part) {
|
|
|
1195
1195
|
return part;
|
|
1196
1196
|
}
|
|
1197
1197
|
|
|
1198
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1198
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/schema-serde-lib/schema-date-utils.js
|
|
1199
1199
|
var ddd = `(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?`;
|
|
1200
1200
|
var mmm = `(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)`;
|
|
1201
1201
|
var time = `(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?`;
|
|
@@ -1294,7 +1294,7 @@ function range(v, min, max) {
|
|
|
1294
1294
|
}
|
|
1295
1295
|
}
|
|
1296
1296
|
|
|
1297
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1297
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/split-every.js
|
|
1298
1298
|
function splitEvery(value, delimiter, numDelimiters) {
|
|
1299
1299
|
if (numDelimiters <= 0 || !Number.isInteger(numDelimiters)) {
|
|
1300
1300
|
throw new Error("Invalid number of delimiters (" + numDelimiters + ") for splitEvery.");
|
|
@@ -1322,7 +1322,7 @@ function splitEvery(value, delimiter, numDelimiters) {
|
|
|
1322
1322
|
return compoundSegments;
|
|
1323
1323
|
}
|
|
1324
1324
|
|
|
1325
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1325
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/split-header.js
|
|
1326
1326
|
var splitHeader = (value) => {
|
|
1327
1327
|
const z = value.length;
|
|
1328
1328
|
const values = [];
|
|
@@ -1361,7 +1361,7 @@ var splitHeader = (value) => {
|
|
|
1361
1361
|
});
|
|
1362
1362
|
};
|
|
1363
1363
|
|
|
1364
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1364
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js
|
|
1365
1365
|
var format = /^-?((0|[1-9]\d*)(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/;
|
|
1366
1366
|
var NumericValue = class _NumericValue {
|
|
1367
1367
|
string;
|
|
@@ -1385,7 +1385,7 @@ var NumericValue = class _NumericValue {
|
|
|
1385
1385
|
}
|
|
1386
1386
|
};
|
|
1387
1387
|
|
|
1388
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1388
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-body-length/calculateBodyLength.js
|
|
1389
1389
|
import { ReadStream, fstatSync, lstatSync } from "fs";
|
|
1390
1390
|
var calculateBodyLength = (body) => {
|
|
1391
1391
|
if (!body) {
|
|
@@ -1409,7 +1409,7 @@ var calculateBodyLength = (body) => {
|
|
|
1409
1409
|
throw new Error(`Body Length computation failed for ${body}`);
|
|
1410
1410
|
};
|
|
1411
1411
|
|
|
1412
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1412
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.js
|
|
1413
1413
|
var toUint8Array = (data) => {
|
|
1414
1414
|
if (data instanceof Uint8Array) {
|
|
1415
1415
|
return data;
|
|
@@ -1423,7 +1423,7 @@ var toUint8Array = (data) => {
|
|
|
1423
1423
|
return new Uint8Array(data);
|
|
1424
1424
|
};
|
|
1425
1425
|
|
|
1426
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1426
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/concatBytes.js
|
|
1427
1427
|
function concatBytes(arrays, length) {
|
|
1428
1428
|
if (length === void 0) {
|
|
1429
1429
|
length = 0;
|
|
@@ -1440,7 +1440,7 @@ function concatBytes(arrays, length) {
|
|
|
1440
1440
|
return result;
|
|
1441
1441
|
}
|
|
1442
1442
|
|
|
1443
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1443
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js
|
|
1444
1444
|
import { Readable } from "stream";
|
|
1445
1445
|
var ChecksumStream = class extends Readable {
|
|
1446
1446
|
expectedChecksum;
|
|
@@ -1516,16 +1516,16 @@ var ChecksumStream = class extends Readable {
|
|
|
1516
1516
|
}
|
|
1517
1517
|
};
|
|
1518
1518
|
|
|
1519
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1519
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-type-check.js
|
|
1520
1520
|
var isReadableStream = (stream) => typeof ReadableStream === "function" && (stream?.constructor?.name === ReadableStream.name || stream instanceof ReadableStream);
|
|
1521
1521
|
var isBlob = (blob) => {
|
|
1522
1522
|
return typeof Blob === "function" && (blob?.constructor?.name === Blob.name || blob instanceof Blob);
|
|
1523
1523
|
};
|
|
1524
1524
|
|
|
1525
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1525
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/fromUtf8.browser.js
|
|
1526
1526
|
var fromUtf82 = (input) => new TextEncoder().encode(input);
|
|
1527
1527
|
|
|
1528
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1528
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/constants-for-browser.js
|
|
1529
1529
|
var chars = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`;
|
|
1530
1530
|
var alphabetByEncoding = Object.entries(chars).reduce((acc, [i, c]) => {
|
|
1531
1531
|
acc[c] = Number(i);
|
|
@@ -1536,7 +1536,7 @@ var bitsPerLetter = 6;
|
|
|
1536
1536
|
var bitsPerByte = 8;
|
|
1537
1537
|
var maxLetterValue = 63;
|
|
1538
1538
|
|
|
1539
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1539
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/toBase64.browser.js
|
|
1540
1540
|
function toBase642(_input) {
|
|
1541
1541
|
let input;
|
|
1542
1542
|
if (typeof _input === "string") {
|
|
@@ -1568,13 +1568,13 @@ function toBase642(_input) {
|
|
|
1568
1568
|
return str;
|
|
1569
1569
|
}
|
|
1570
1570
|
|
|
1571
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1571
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.browser.js
|
|
1572
1572
|
var ReadableStreamRef = typeof ReadableStream === "function" ? ReadableStream : function() {
|
|
1573
1573
|
};
|
|
1574
1574
|
var ChecksumStream2 = class extends ReadableStreamRef {
|
|
1575
1575
|
};
|
|
1576
1576
|
|
|
1577
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1577
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/createChecksumStream.browser.js
|
|
1578
1578
|
var createChecksumStream = ({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder }) => {
|
|
1579
1579
|
if (!isReadableStream(source)) {
|
|
1580
1580
|
throw new Error(`@smithy/util-stream: unsupported source type ${source?.constructor?.name ?? source} in ChecksumStream.`);
|
|
@@ -1607,7 +1607,7 @@ var createChecksumStream = ({ expectedChecksum, checksum, source, checksumSource
|
|
|
1607
1607
|
return readable;
|
|
1608
1608
|
};
|
|
1609
1609
|
|
|
1610
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1610
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/createChecksumStream.js
|
|
1611
1611
|
function createChecksumStream2(init) {
|
|
1612
1612
|
if (typeof ReadableStream === "function" && isReadableStream(init.source)) {
|
|
1613
1613
|
return createChecksumStream(init);
|
|
@@ -1615,10 +1615,10 @@ function createChecksumStream2(init) {
|
|
|
1615
1615
|
return new ChecksumStream(init);
|
|
1616
1616
|
}
|
|
1617
1617
|
|
|
1618
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1618
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/createBufferedReadable.js
|
|
1619
1619
|
import { Readable as Readable2 } from "stream";
|
|
1620
1620
|
|
|
1621
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1621
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/ByteArrayCollector.js
|
|
1622
1622
|
var ByteArrayCollector = class {
|
|
1623
1623
|
allocByteArray;
|
|
1624
1624
|
byteLength = 0;
|
|
@@ -1652,7 +1652,7 @@ var ByteArrayCollector = class {
|
|
|
1652
1652
|
}
|
|
1653
1653
|
};
|
|
1654
1654
|
|
|
1655
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1655
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/createBufferedReadable.browser.js
|
|
1656
1656
|
function createBufferedReadableStream(upstream, size, logger2) {
|
|
1657
1657
|
const reader = upstream.getReader();
|
|
1658
1658
|
let streamBufferingLoggedWarning = false;
|
|
@@ -1744,7 +1744,7 @@ function modeOf(chunk, allowBuffer = true) {
|
|
|
1744
1744
|
return -1;
|
|
1745
1745
|
}
|
|
1746
1746
|
|
|
1747
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1747
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/createBufferedReadable.js
|
|
1748
1748
|
function createBufferedReadable(upstream, size, logger2) {
|
|
1749
1749
|
if (isReadableStream(upstream)) {
|
|
1750
1750
|
return createBufferedReadableStream(upstream, size, logger2);
|
|
@@ -1799,10 +1799,10 @@ function createBufferedReadable(upstream, size, logger2) {
|
|
|
1799
1799
|
return downstream;
|
|
1800
1800
|
}
|
|
1801
1801
|
|
|
1802
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1802
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.js
|
|
1803
1803
|
import { Readable as Readable3 } from "stream";
|
|
1804
1804
|
|
|
1805
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1805
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.browser.js
|
|
1806
1806
|
var getAwsChunkedEncodingStream = (readableStream, options) => {
|
|
1807
1807
|
const { base64Encoder, bodyLengthChecker, checksumAlgorithmFn, checksumLocationName, streamHasher } = options;
|
|
1808
1808
|
const checksumRequired = base64Encoder !== void 0 && bodyLengthChecker !== void 0 && checksumAlgorithmFn !== void 0 && checksumLocationName !== void 0 && streamHasher !== void 0;
|
|
@@ -1833,7 +1833,7 @@ ${value}\r
|
|
|
1833
1833
|
});
|
|
1834
1834
|
};
|
|
1835
1835
|
|
|
1836
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1836
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.js
|
|
1837
1837
|
function getAwsChunkedEncodingStream2(stream, options) {
|
|
1838
1838
|
const readable = stream;
|
|
1839
1839
|
const readableStream = stream;
|
|
@@ -1885,10 +1885,10 @@ function getAwsChunkedEncodingStream2(stream, options) {
|
|
|
1885
1885
|
return awsChunkedEncodingStream;
|
|
1886
1886
|
}
|
|
1887
1887
|
|
|
1888
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1888
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.js
|
|
1889
1889
|
import { Readable as Readable4 } from "stream";
|
|
1890
1890
|
|
|
1891
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1891
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUtf8.browser.js
|
|
1892
1892
|
var toUtf82 = (input) => {
|
|
1893
1893
|
if (typeof input === "string") {
|
|
1894
1894
|
return input;
|
|
@@ -1899,7 +1899,7 @@ var toUtf82 = (input) => {
|
|
|
1899
1899
|
return new TextDecoder("utf-8").decode(input);
|
|
1900
1900
|
};
|
|
1901
1901
|
|
|
1902
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1902
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js
|
|
1903
1903
|
var streamCollector = async (stream) => {
|
|
1904
1904
|
if (isBlob(stream)) {
|
|
1905
1905
|
return collectBlob(stream);
|
|
@@ -1926,7 +1926,7 @@ async function collectReadableStream(stream) {
|
|
|
1926
1926
|
return concatBytes(chunks, length);
|
|
1927
1927
|
}
|
|
1928
1928
|
|
|
1929
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1929
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.browser.js
|
|
1930
1930
|
var ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed.";
|
|
1931
1931
|
var sdkStreamMixin = (stream) => {
|
|
1932
1932
|
if (!isBlobInstance(stream) && !isReadableStream(stream)) {
|
|
@@ -1980,7 +1980,7 @@ var sdkStreamMixin = (stream) => {
|
|
|
1980
1980
|
};
|
|
1981
1981
|
var isBlobInstance = (stream) => typeof Blob === "function" && stream instanceof Blob;
|
|
1982
1982
|
|
|
1983
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1983
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.js
|
|
1984
1984
|
import { Writable } from "stream";
|
|
1985
1985
|
var streamCollector2 = (stream) => {
|
|
1986
1986
|
if (isBlob(stream)) {
|
|
@@ -2012,7 +2012,7 @@ var Collector = class extends Writable {
|
|
|
2012
2012
|
}
|
|
2013
2013
|
};
|
|
2014
2014
|
|
|
2015
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
2015
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.js
|
|
2016
2016
|
var ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED2 = "The stream has already been transformed.";
|
|
2017
2017
|
var sdkStreamMixin2 = (stream) => {
|
|
2018
2018
|
if (!(stream instanceof Readable4)) {
|
|
@@ -2058,12 +2058,12 @@ var sdkStreamMixin2 = (stream) => {
|
|
|
2058
2058
|
});
|
|
2059
2059
|
};
|
|
2060
2060
|
|
|
2061
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
2061
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/writeKey.js
|
|
2062
2062
|
function writeKey(obj) {
|
|
2063
2063
|
Object.defineProperty(obj, "__proto__", { value: void 0, writable: true, enumerable: true, configurable: true });
|
|
2064
2064
|
}
|
|
2065
2065
|
|
|
2066
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
2066
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/index.js
|
|
2067
2067
|
var Uint8ArrayBlobAdapter = class extends bindUint8ArrayBlobAdapter(toUtf8, fromUtf8, toBase64, fromBase64) {
|
|
2068
2068
|
};
|
|
2069
2069
|
var _getRandomValues = getRandomValues;
|
|
@@ -2071,6 +2071,11 @@ var v4 = bindV4(_getRandomValues);
|
|
|
2071
2071
|
var generateIdempotencyToken = v4;
|
|
2072
2072
|
|
|
2073
2073
|
export {
|
|
2074
|
+
isArrayBuffer,
|
|
2075
|
+
fromBase64,
|
|
2076
|
+
fromUtf8,
|
|
2077
|
+
toBase64,
|
|
2078
|
+
toUtf8,
|
|
2074
2079
|
EndpointURLScheme,
|
|
2075
2080
|
AlgorithmId,
|
|
2076
2081
|
SMITHY_CONTEXT_KEY,
|
|
@@ -2084,16 +2089,6 @@ export {
|
|
|
2084
2089
|
normalizeProvider,
|
|
2085
2090
|
parseUrl,
|
|
2086
2091
|
toEndpointV1,
|
|
2087
|
-
deref,
|
|
2088
|
-
getSchemaSerdePlugin,
|
|
2089
|
-
translateTraits,
|
|
2090
|
-
NormalizedSchema,
|
|
2091
|
-
TypeRegistry,
|
|
2092
|
-
isArrayBuffer,
|
|
2093
|
-
fromBase64,
|
|
2094
|
-
fromUtf8,
|
|
2095
|
-
toBase64,
|
|
2096
|
-
toUtf8,
|
|
2097
2092
|
dateToUtcString,
|
|
2098
2093
|
parseRfc3339DateTime,
|
|
2099
2094
|
parseRfc3339DateTimeWithOffset,
|
|
@@ -2111,6 +2106,11 @@ export {
|
|
|
2111
2106
|
toHex,
|
|
2112
2107
|
calculateBodyLength,
|
|
2113
2108
|
toUint8Array,
|
|
2109
|
+
deref,
|
|
2110
|
+
getSchemaSerdePlugin,
|
|
2111
|
+
translateTraits,
|
|
2112
|
+
NormalizedSchema,
|
|
2113
|
+
TypeRegistry,
|
|
2114
2114
|
createChecksumStream2 as createChecksumStream,
|
|
2115
2115
|
createBufferedReadable,
|
|
2116
2116
|
getAwsChunkedEncodingStream2 as getAwsChunkedEncodingStream,
|