@larkup/cli 0.3.11 → 0.3.14
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/api-T4HV5OFN.js +6936 -0
- package/dist/{chunk-QAJSSODU.js → chunk-CQ7NVYHT.js} +108 -68
- package/dist/{chunk-2IVYLF4F.js → chunk-CVBK47OT.js} +93 -69
- package/dist/{chunk-QKPH65NY.js → chunk-DE4VP425.js} +16 -16
- package/dist/{chunk-IPKRK5UI.js → chunk-FNZK42G6.js} +3 -3
- package/dist/{chunk-A2PXF6Y7.js → chunk-HBASLJRD.js} +25 -25
- package/dist/{chunk-7KURHXYU.js → chunk-HX45PZFR.js} +44 -44
- package/dist/{chunk-HQPSE5ZU.js → chunk-IJE2RPSN.js} +55 -55
- package/dist/{chunk-ZBGNJVTC.js → chunk-KA5D5NKN.js} +3 -3
- package/dist/{chunk-ERDDY5EQ.js → chunk-LCK6D6SK.js} +4 -4
- package/dist/{chunk-ZYHZIBTH.js → chunk-LREGQMME.js} +44 -36
- package/dist/{chunk-3GL3SZFJ.js → chunk-M5367BNN.js} +12 -40
- package/dist/{chunk-X46UIKQW.js → chunk-OFWLJSVC.js} +5 -5
- package/dist/{chunk-J2AR7L2Q.js → chunk-RJ2NIMTP.js} +2 -2
- package/dist/{chunk-RN25NOBI.js → chunk-V5MXHOEA.js} +3 -3
- package/dist/{chunk-TJPYJ5TS.js → chunk-WH6SGG26.js} +13 -13
- package/dist/chunk-WXRKGSWM.js +34 -0
- package/dist/{chunk-5RGEHTEF.js → chunk-XEB2OVD6.js} +45 -43
- package/dist/{chunk-5BX2UVG2.js → chunk-XFLXM5WU.js} +137 -95
- package/dist/{chunk-MACWQEJS.js → chunk-Z3C6M6AJ.js} +99 -107
- package/dist/{dist-es-YVYT5SVI.js → dist-es-2UI7ONZZ.js} +223 -220
- package/dist/{dist-es-DAE2AYZV.js → dist-es-5D5ADEYS.js} +21 -20
- package/dist/{dist-es-3L6W7F7P.js → dist-es-FI7PADBF.js} +6 -5
- package/dist/{dist-es-PQXH3VYE.js → dist-es-IAOJLUTI.js} +11 -10
- package/dist/{dist-es-6MPMKRLG.js → dist-es-KL7UCI6C.js} +23 -22
- package/dist/{dist-es-CVOBCRJ5.js → dist-es-MAY5SYH5.js} +11 -10
- package/dist/{dist-es-G4H4NZOY.js → dist-es-OED5OOKX.js} +9 -8
- package/dist/{dist-es-UWL5EGDP.js → dist-es-QQMKUAEQ.js} +3 -2
- package/dist/{dist-es-WEJJDMJW.js → dist-es-UJY2ZAAU.js} +10 -9
- package/dist/{dist-es-7LQAPSS6.js → dist-es-Y73OHM5Y.js} +9 -8
- package/dist/{event-streams-RZ2JU5EF.js → event-streams-IXBDR476.js} +3 -2
- package/dist/{event-streams-NVY5IGD3.js → event-streams-JRBKH3UT.js} +19 -18
- package/dist/index.js +17 -17
- package/dist/{lexer-DQCqS3nf-CGRGK47I.js → lexer-CanA6ArK-VIUEPQRT.js} +4 -4
- package/dist/{loadSso-DEHYSFO4.js → loadSso-S4KING47.js} +29 -28
- package/dist/{signin-CTAMN4QW.js → signin-ALRQUKQQ.js} +32 -31
- package/dist/{sso-oidc-ZYLSPNAE.js → sso-oidc-D3TLLZUS.js} +31 -30
- package/dist/{sts-EQDDSBAR.js → sts-PHP2EVI2.js} +45 -41
- package/dist/{tool-loader-JRRAAYTQ.js → tool-loader-K6PLXSLW.js} +2 -2
- package/dist/{tool-registry-WZ2RDXVS.js → tool-registry-G35SY4WN.js} +1 -1
- package/package.json +10 -10
- package/dist/api-X4PHQJTH.js +0 -6943
|
@@ -1,40 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
AlgorithmId2["MD5"] = "md5";
|
|
5
|
-
AlgorithmId2["CRC32"] = "crc32";
|
|
6
|
-
AlgorithmId2["CRC32C"] = "crc32c";
|
|
7
|
-
AlgorithmId2["SHA1"] = "sha1";
|
|
8
|
-
AlgorithmId2["SHA256"] = "sha256";
|
|
9
|
-
})(AlgorithmId || (AlgorithmId = {}));
|
|
1
|
+
import {
|
|
2
|
+
SMITHY_CONTEXT_KEY
|
|
3
|
+
} from "./chunk-WXRKGSWM.js";
|
|
10
4
|
|
|
11
|
-
// ../../node_modules/.pnpm/@smithy+
|
|
12
|
-
var SMITHY_CONTEXT_KEY = "__smithy_context";
|
|
13
|
-
|
|
14
|
-
// ../../node_modules/.pnpm/@smithy+types@4.17.2/node_modules/@smithy/types/dist-es/endpoint.js
|
|
15
|
-
var EndpointURLScheme;
|
|
16
|
-
(function(EndpointURLScheme2) {
|
|
17
|
-
EndpointURLScheme2["HTTP"] = "http";
|
|
18
|
-
EndpointURLScheme2["HTTPS"] = "https";
|
|
19
|
-
})(EndpointURLScheme || (EndpointURLScheme = {}));
|
|
20
|
-
|
|
21
|
-
// ../../node_modules/.pnpm/@smithy+types@4.17.2/node_modules/@smithy/types/dist-es/profile.js
|
|
22
|
-
var IniSectionType;
|
|
23
|
-
(function(IniSectionType2) {
|
|
24
|
-
IniSectionType2["PROFILE"] = "profile";
|
|
25
|
-
IniSectionType2["SSO_SESSION"] = "sso-session";
|
|
26
|
-
IniSectionType2["SERVICES"] = "services";
|
|
27
|
-
})(IniSectionType || (IniSectionType = {}));
|
|
28
|
-
|
|
29
|
-
// ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/transport/getSmithyContext.js
|
|
5
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/transport/getSmithyContext.js
|
|
30
6
|
var getSmithyContext = (context) => context[SMITHY_CONTEXT_KEY] || (context[SMITHY_CONTEXT_KEY] = {});
|
|
31
7
|
|
|
32
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
8
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/transport/hasOwn.js
|
|
33
9
|
function hasOwn(o, k) {
|
|
34
10
|
return Object.prototype.hasOwnProperty.call(o, k);
|
|
35
11
|
}
|
|
36
12
|
|
|
37
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
13
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/transport/httpRequest.js
|
|
38
14
|
var HttpRequest = class _HttpRequest {
|
|
39
15
|
method;
|
|
40
16
|
protocol;
|
|
@@ -91,7 +67,7 @@ function cloneQuery(query) {
|
|
|
91
67
|
}, {});
|
|
92
68
|
}
|
|
93
69
|
|
|
94
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
70
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js
|
|
95
71
|
var normalizeProvider = (input) => {
|
|
96
72
|
if (typeof input === "function")
|
|
97
73
|
return input;
|
|
@@ -99,7 +75,7 @@ var normalizeProvider = (input) => {
|
|
|
99
75
|
return () => promisified;
|
|
100
76
|
};
|
|
101
77
|
|
|
102
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
78
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/transport/parseQueryString.js
|
|
103
79
|
function parseQueryString(querystring) {
|
|
104
80
|
const query = {};
|
|
105
81
|
querystring = querystring.replace(/^\?/, "");
|
|
@@ -122,7 +98,7 @@ function parseQueryString(querystring) {
|
|
|
122
98
|
return query;
|
|
123
99
|
}
|
|
124
100
|
|
|
125
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
101
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/transport/parseUrl.js
|
|
126
102
|
var parseUrl = (url) => {
|
|
127
103
|
if (typeof url === "string") {
|
|
128
104
|
return parseUrl(new URL(url));
|
|
@@ -141,7 +117,7 @@ var parseUrl = (url) => {
|
|
|
141
117
|
};
|
|
142
118
|
};
|
|
143
119
|
|
|
144
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
120
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js
|
|
145
121
|
var HttpResponse = class {
|
|
146
122
|
statusCode;
|
|
147
123
|
reason;
|
|
@@ -161,7 +137,7 @@ var HttpResponse = class {
|
|
|
161
137
|
}
|
|
162
138
|
};
|
|
163
139
|
|
|
164
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
140
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/transport/isValidHostLabel.js
|
|
165
141
|
var VALID_HOST_LABEL_REGEX = new RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`);
|
|
166
142
|
var isValidHostLabel = (value, allowSubDomains = false) => {
|
|
167
143
|
if (!allowSubDomains) {
|
|
@@ -176,13 +152,13 @@ var isValidHostLabel = (value, allowSubDomains = false) => {
|
|
|
176
152
|
return true;
|
|
177
153
|
};
|
|
178
154
|
|
|
179
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
155
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/transport/isValidHostname.js
|
|
180
156
|
function isValidHostname(hostname) {
|
|
181
157
|
const hostPattern = /^[a-z0-9][a-z0-9.-]*[a-z0-9]$/;
|
|
182
158
|
return hostPattern.test(hostname);
|
|
183
159
|
}
|
|
184
160
|
|
|
185
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
161
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js
|
|
186
162
|
var toEndpointV1 = (endpoint) => {
|
|
187
163
|
if (typeof endpoint === "object") {
|
|
188
164
|
if ("url" in endpoint) {
|
|
@@ -202,7 +178,7 @@ var toEndpointV1 = (endpoint) => {
|
|
|
202
178
|
return parseUrl(endpoint);
|
|
203
179
|
};
|
|
204
180
|
|
|
205
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
181
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/schema/schemas/operation.js
|
|
206
182
|
var operation = (namespace, name, traits, input, output) => ({
|
|
207
183
|
name,
|
|
208
184
|
namespace,
|
|
@@ -211,7 +187,7 @@ var operation = (namespace, name, traits, input, output) => ({
|
|
|
211
187
|
output
|
|
212
188
|
});
|
|
213
189
|
|
|
214
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
190
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js
|
|
215
191
|
var schemaDeserializationMiddleware = (config) => (next, context) => async (args) => {
|
|
216
192
|
const { response } = await next(args);
|
|
217
193
|
const { operationSchema } = getSmithyContext(context);
|
|
@@ -271,7 +247,7 @@ var findHeader = (pattern, headers) => {
|
|
|
271
247
|
}) || [void 0, void 0])[1];
|
|
272
248
|
};
|
|
273
249
|
|
|
274
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
250
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js
|
|
275
251
|
var schemaSerializationMiddleware = (config) => (next, context) => async (args) => {
|
|
276
252
|
const { operationSchema } = getSmithyContext(context);
|
|
277
253
|
const [, ns, n, t, i, o] = operationSchema ?? [];
|
|
@@ -287,7 +263,7 @@ var schemaSerializationMiddleware = (config) => (next, context) => async (args)
|
|
|
287
263
|
});
|
|
288
264
|
};
|
|
289
265
|
|
|
290
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
266
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/schema/middleware/getSchemaSerdePlugin.js
|
|
291
267
|
var deserializerMiddlewareOption = {
|
|
292
268
|
name: "deserializerMiddleware",
|
|
293
269
|
step: "deserialize",
|
|
@@ -310,7 +286,7 @@ function getSchemaSerdePlugin(config) {
|
|
|
310
286
|
};
|
|
311
287
|
}
|
|
312
288
|
|
|
313
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
289
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js
|
|
314
290
|
var TypeRegistry = class _TypeRegistry {
|
|
315
291
|
namespace;
|
|
316
292
|
schemas;
|
|
@@ -320,12 +296,12 @@ var TypeRegistry = class _TypeRegistry {
|
|
|
320
296
|
this.namespace = namespace;
|
|
321
297
|
this.schemas = schemas;
|
|
322
298
|
this.exceptions = exceptions;
|
|
323
|
-
}
|
|
324
|
-
static for(namespace) {
|
|
325
299
|
if (!_TypeRegistry.registries.has(namespace)) {
|
|
326
|
-
_TypeRegistry.registries.set(namespace,
|
|
300
|
+
_TypeRegistry.registries.set(namespace, this);
|
|
327
301
|
}
|
|
328
|
-
|
|
302
|
+
}
|
|
303
|
+
static for(namespace) {
|
|
304
|
+
return _TypeRegistry.registries.get(namespace) ?? new _TypeRegistry(namespace);
|
|
329
305
|
}
|
|
330
306
|
copyFrom(other) {
|
|
331
307
|
const { schemas, exceptions } = this;
|
|
@@ -343,7 +319,9 @@ var TypeRegistry = class _TypeRegistry {
|
|
|
343
319
|
register(shapeId, schema) {
|
|
344
320
|
const qualifiedName = this.normalizeShapeId(shapeId);
|
|
345
321
|
for (const r of [this, _TypeRegistry.for(qualifiedName.split("#")[0])]) {
|
|
346
|
-
r.schemas.
|
|
322
|
+
if (!r.schemas.has(qualifiedName)) {
|
|
323
|
+
r.schemas.set(qualifiedName, schema);
|
|
324
|
+
}
|
|
347
325
|
}
|
|
348
326
|
}
|
|
349
327
|
getSchema(shapeId) {
|
|
@@ -368,9 +346,12 @@ var TypeRegistry = class _TypeRegistry {
|
|
|
368
346
|
registerError(es, ctor) {
|
|
369
347
|
const $error = es;
|
|
370
348
|
const ns = $error[1];
|
|
349
|
+
const qualifiedName = ns + "#" + $error[2];
|
|
371
350
|
for (const r of [this, _TypeRegistry.for(ns)]) {
|
|
372
|
-
r.schemas.
|
|
373
|
-
|
|
351
|
+
if (!r.schemas.has(qualifiedName) && !r.exceptions.has($error)) {
|
|
352
|
+
r.schemas.set(qualifiedName, $error);
|
|
353
|
+
r.exceptions.set($error, ctor);
|
|
354
|
+
}
|
|
374
355
|
}
|
|
375
356
|
}
|
|
376
357
|
getErrorCtor(es) {
|
|
@@ -413,7 +394,7 @@ var TypeRegistry = class _TypeRegistry {
|
|
|
413
394
|
}
|
|
414
395
|
};
|
|
415
396
|
|
|
416
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
397
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/schema/deref.js
|
|
417
398
|
var deref = (schemaRef) => {
|
|
418
399
|
if (typeof schemaRef === "function") {
|
|
419
400
|
return schemaRef();
|
|
@@ -421,7 +402,7 @@ var deref = (schemaRef) => {
|
|
|
421
402
|
return schemaRef;
|
|
422
403
|
};
|
|
423
404
|
|
|
424
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
405
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js
|
|
425
406
|
var traitsCache = [];
|
|
426
407
|
function translateTraits(indicator) {
|
|
427
408
|
if (typeof indicator === "object") {
|
|
@@ -449,7 +430,7 @@ function translateTraits(indicator) {
|
|
|
449
430
|
return traitsCache[indicator] = traits;
|
|
450
431
|
}
|
|
451
432
|
|
|
452
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
433
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js
|
|
453
434
|
var anno = {
|
|
454
435
|
it: Symbol.for("@smithy/nor-struct-it"),
|
|
455
436
|
ns: Symbol.for("@smithy/ns")
|
|
@@ -731,10 +712,10 @@ function member(memberSchema, memberName) {
|
|
|
731
712
|
var isMemberSchema = (sc) => Array.isArray(sc) && sc.length === 2;
|
|
732
713
|
var isStaticSchema = (sc) => Array.isArray(sc) && sc.length >= 5;
|
|
733
714
|
|
|
734
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
715
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/is-array-buffer/is-array-buffer.js
|
|
735
716
|
var isArrayBuffer = (arg) => typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer || Object.prototype.toString.call(arg) === "[object ArrayBuffer]";
|
|
736
717
|
|
|
737
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
718
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-buffer-from/buffer-from.js
|
|
738
719
|
var fromArrayBuffer = (input, offset = 0, length = input.byteLength - offset) => {
|
|
739
720
|
if (!isArrayBuffer(input)) {
|
|
740
721
|
throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof input} (${input})`);
|
|
@@ -748,13 +729,13 @@ var fromString = (input, encoding) => {
|
|
|
748
729
|
return encoding ? Buffer.from(input, encoding) : Buffer.from(input);
|
|
749
730
|
};
|
|
750
731
|
|
|
751
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
732
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/fromUtf8.js
|
|
752
733
|
var fromUtf8 = (input) => {
|
|
753
734
|
const buf = fromString(input, "utf8");
|
|
754
735
|
return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT);
|
|
755
736
|
};
|
|
756
737
|
|
|
757
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
738
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUtf8.js
|
|
758
739
|
var toUtf8 = (input) => {
|
|
759
740
|
if (typeof input === "string") {
|
|
760
741
|
return input;
|
|
@@ -765,7 +746,7 @@ var toUtf8 = (input) => {
|
|
|
765
746
|
return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("utf8");
|
|
766
747
|
};
|
|
767
748
|
|
|
768
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
749
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-hex-encoding/hex-encoding.js
|
|
769
750
|
var SHORT_TO_HEX = {};
|
|
770
751
|
var HEX_TO_SHORT = {};
|
|
771
752
|
for (let i = 0; i < 256; i++) {
|
|
@@ -799,10 +780,10 @@ function toHex(bytes) {
|
|
|
799
780
|
return out;
|
|
800
781
|
}
|
|
801
782
|
|
|
802
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
783
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/index.js
|
|
803
784
|
import { getRandomValues } from "crypto";
|
|
804
785
|
|
|
805
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
786
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/fromBase64.js
|
|
806
787
|
var BASE64_REGEX = /^[A-Za-z0-9+/]*={0,2}$/;
|
|
807
788
|
var fromBase64 = (input) => {
|
|
808
789
|
if (input.length * 3 % 4 !== 0) {
|
|
@@ -815,7 +796,7 @@ var fromBase64 = (input) => {
|
|
|
815
796
|
return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);
|
|
816
797
|
};
|
|
817
798
|
|
|
818
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
799
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/toBase64.js
|
|
819
800
|
var toBase64 = (_input) => {
|
|
820
801
|
let input;
|
|
821
802
|
if (typeof _input === "string") {
|
|
@@ -829,7 +810,7 @@ var toBase64 = (_input) => {
|
|
|
829
810
|
return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("base64");
|
|
830
811
|
};
|
|
831
812
|
|
|
832
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
813
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/blob/Uint8ArrayBlobAdapter.js
|
|
833
814
|
function bindUint8ArrayBlobAdapter(toUtf83, fromUtf83, toBase643, fromBase642) {
|
|
834
815
|
return class Uint8ArrayBlobAdapter2 extends Uint8Array {
|
|
835
816
|
static fromString(source, encoding = "utf-8") {
|
|
@@ -854,7 +835,7 @@ function bindUint8ArrayBlobAdapter(toUtf83, fromUtf83, toBase643, fromBase642) {
|
|
|
854
835
|
};
|
|
855
836
|
}
|
|
856
837
|
|
|
857
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
838
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/uuid/v4.js
|
|
858
839
|
var decimalToHex = Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, "0"));
|
|
859
840
|
function bindV4(getRandomValues2) {
|
|
860
841
|
if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
|
|
@@ -869,7 +850,7 @@ function bindV4(getRandomValues2) {
|
|
|
869
850
|
};
|
|
870
851
|
}
|
|
871
852
|
|
|
872
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
853
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js
|
|
873
854
|
var expectNumber = (value) => {
|
|
874
855
|
if (value === null || value === void 0) {
|
|
875
856
|
return void 0;
|
|
@@ -965,7 +946,7 @@ var logger = {
|
|
|
965
946
|
warn: console.warn
|
|
966
947
|
};
|
|
967
948
|
|
|
968
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
949
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/date-utils.js
|
|
969
950
|
var DAYS = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
|
|
970
951
|
var MONTHS = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
|
|
971
952
|
function dateToUtcString(date2) {
|
|
@@ -1151,7 +1132,7 @@ var stripLeadingZeroes = (value) => {
|
|
|
1151
1132
|
return value.slice(idx);
|
|
1152
1133
|
};
|
|
1153
1134
|
|
|
1154
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1135
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/lazy-json.js
|
|
1155
1136
|
var LazyJsonString = function LazyJsonString2(val) {
|
|
1156
1137
|
const str = Object.assign(new String(val), {
|
|
1157
1138
|
deserializeJSON() {
|
|
@@ -1176,7 +1157,7 @@ LazyJsonString.from = (object) => {
|
|
|
1176
1157
|
};
|
|
1177
1158
|
LazyJsonString.fromObject = LazyJsonString.from;
|
|
1178
1159
|
|
|
1179
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1160
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/quote-header.js
|
|
1180
1161
|
function quoteHeader(part) {
|
|
1181
1162
|
if (part.includes(",") || part.includes('"')) {
|
|
1182
1163
|
part = `"${part.replace(/"/g, '\\"')}"`;
|
|
@@ -1184,7 +1165,7 @@ function quoteHeader(part) {
|
|
|
1184
1165
|
return part;
|
|
1185
1166
|
}
|
|
1186
1167
|
|
|
1187
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1168
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/schema-serde-lib/schema-date-utils.js
|
|
1188
1169
|
var ddd = `(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?`;
|
|
1189
1170
|
var mmm = `(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)`;
|
|
1190
1171
|
var time = `(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?`;
|
|
@@ -1283,7 +1264,7 @@ function range(v, min, max) {
|
|
|
1283
1264
|
}
|
|
1284
1265
|
}
|
|
1285
1266
|
|
|
1286
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1267
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/split-every.js
|
|
1287
1268
|
function splitEvery(value, delimiter, numDelimiters) {
|
|
1288
1269
|
if (numDelimiters <= 0 || !Number.isInteger(numDelimiters)) {
|
|
1289
1270
|
throw new Error("Invalid number of delimiters (" + numDelimiters + ") for splitEvery.");
|
|
@@ -1311,7 +1292,7 @@ function splitEvery(value, delimiter, numDelimiters) {
|
|
|
1311
1292
|
return compoundSegments;
|
|
1312
1293
|
}
|
|
1313
1294
|
|
|
1314
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1295
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/split-header.js
|
|
1315
1296
|
var splitHeader = (value) => {
|
|
1316
1297
|
const z = value.length;
|
|
1317
1298
|
const values = [];
|
|
@@ -1350,7 +1331,7 @@ var splitHeader = (value) => {
|
|
|
1350
1331
|
});
|
|
1351
1332
|
};
|
|
1352
1333
|
|
|
1353
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1334
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js
|
|
1354
1335
|
var format = /^-?((0|[1-9]\d*)(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/;
|
|
1355
1336
|
var NumericValue = class _NumericValue {
|
|
1356
1337
|
string;
|
|
@@ -1374,7 +1355,7 @@ var NumericValue = class _NumericValue {
|
|
|
1374
1355
|
}
|
|
1375
1356
|
};
|
|
1376
1357
|
|
|
1377
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1358
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-body-length/calculateBodyLength.js
|
|
1378
1359
|
import { ReadStream, fstatSync, lstatSync } from "fs";
|
|
1379
1360
|
var calculateBodyLength = (body) => {
|
|
1380
1361
|
if (!body) {
|
|
@@ -1398,7 +1379,7 @@ var calculateBodyLength = (body) => {
|
|
|
1398
1379
|
throw new Error(`Body Length computation failed for ${body}`);
|
|
1399
1380
|
};
|
|
1400
1381
|
|
|
1401
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1382
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.js
|
|
1402
1383
|
var toUint8Array = (data) => {
|
|
1403
1384
|
if (data instanceof Uint8Array) {
|
|
1404
1385
|
return data;
|
|
@@ -1412,7 +1393,7 @@ var toUint8Array = (data) => {
|
|
|
1412
1393
|
return new Uint8Array(data);
|
|
1413
1394
|
};
|
|
1414
1395
|
|
|
1415
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1396
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/concatBytes.js
|
|
1416
1397
|
function concatBytes(arrays, length) {
|
|
1417
1398
|
if (length === void 0) {
|
|
1418
1399
|
length = 0;
|
|
@@ -1429,7 +1410,7 @@ function concatBytes(arrays, length) {
|
|
|
1429
1410
|
return result;
|
|
1430
1411
|
}
|
|
1431
1412
|
|
|
1432
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1413
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js
|
|
1433
1414
|
import { Readable } from "stream";
|
|
1434
1415
|
var ChecksumStream = class extends Readable {
|
|
1435
1416
|
expectedChecksum;
|
|
@@ -1505,16 +1486,16 @@ var ChecksumStream = class extends Readable {
|
|
|
1505
1486
|
}
|
|
1506
1487
|
};
|
|
1507
1488
|
|
|
1508
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1489
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-type-check.js
|
|
1509
1490
|
var isReadableStream = (stream) => typeof ReadableStream === "function" && (stream?.constructor?.name === ReadableStream.name || stream instanceof ReadableStream);
|
|
1510
1491
|
var isBlob = (blob) => {
|
|
1511
1492
|
return typeof Blob === "function" && (blob?.constructor?.name === Blob.name || blob instanceof Blob);
|
|
1512
1493
|
};
|
|
1513
1494
|
|
|
1514
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1495
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/fromUtf8.browser.js
|
|
1515
1496
|
var fromUtf82 = (input) => new TextEncoder().encode(input);
|
|
1516
1497
|
|
|
1517
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1498
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/constants-for-browser.js
|
|
1518
1499
|
var chars = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`;
|
|
1519
1500
|
var alphabetByEncoding = Object.entries(chars).reduce((acc, [i, c]) => {
|
|
1520
1501
|
acc[c] = Number(i);
|
|
@@ -1525,7 +1506,7 @@ var bitsPerLetter = 6;
|
|
|
1525
1506
|
var bitsPerByte = 8;
|
|
1526
1507
|
var maxLetterValue = 63;
|
|
1527
1508
|
|
|
1528
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1509
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/toBase64.browser.js
|
|
1529
1510
|
function toBase642(_input) {
|
|
1530
1511
|
let input;
|
|
1531
1512
|
if (typeof _input === "string") {
|
|
@@ -1557,13 +1538,13 @@ function toBase642(_input) {
|
|
|
1557
1538
|
return str;
|
|
1558
1539
|
}
|
|
1559
1540
|
|
|
1560
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1541
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.browser.js
|
|
1561
1542
|
var ReadableStreamRef = typeof ReadableStream === "function" ? ReadableStream : function() {
|
|
1562
1543
|
};
|
|
1563
1544
|
var ChecksumStream2 = class extends ReadableStreamRef {
|
|
1564
1545
|
};
|
|
1565
1546
|
|
|
1566
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1547
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/createChecksumStream.browser.js
|
|
1567
1548
|
var createChecksumStream = ({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder }) => {
|
|
1568
1549
|
if (!isReadableStream(source)) {
|
|
1569
1550
|
throw new Error(`@smithy/util-stream: unsupported source type ${source?.constructor?.name ?? source} in ChecksumStream.`);
|
|
@@ -1596,7 +1577,7 @@ var createChecksumStream = ({ expectedChecksum, checksum, source, checksumSource
|
|
|
1596
1577
|
return readable;
|
|
1597
1578
|
};
|
|
1598
1579
|
|
|
1599
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1580
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/createChecksumStream.js
|
|
1600
1581
|
function createChecksumStream2(init) {
|
|
1601
1582
|
if (typeof ReadableStream === "function" && isReadableStream(init.source)) {
|
|
1602
1583
|
return createChecksumStream(init);
|
|
@@ -1604,10 +1585,10 @@ function createChecksumStream2(init) {
|
|
|
1604
1585
|
return new ChecksumStream(init);
|
|
1605
1586
|
}
|
|
1606
1587
|
|
|
1607
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1588
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/createBufferedReadable.js
|
|
1608
1589
|
import { Readable as Readable2 } from "stream";
|
|
1609
1590
|
|
|
1610
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1591
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/ByteArrayCollector.js
|
|
1611
1592
|
var ByteArrayCollector = class {
|
|
1612
1593
|
allocByteArray;
|
|
1613
1594
|
byteLength = 0;
|
|
@@ -1641,7 +1622,7 @@ var ByteArrayCollector = class {
|
|
|
1641
1622
|
}
|
|
1642
1623
|
};
|
|
1643
1624
|
|
|
1644
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1625
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/createBufferedReadable.browser.js
|
|
1645
1626
|
function createBufferedReadableStream(upstream, size, logger2) {
|
|
1646
1627
|
const reader = upstream.getReader();
|
|
1647
1628
|
let streamBufferingLoggedWarning = false;
|
|
@@ -1733,7 +1714,7 @@ function modeOf(chunk, allowBuffer = true) {
|
|
|
1733
1714
|
return -1;
|
|
1734
1715
|
}
|
|
1735
1716
|
|
|
1736
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1717
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/createBufferedReadable.js
|
|
1737
1718
|
function createBufferedReadable(upstream, size, logger2) {
|
|
1738
1719
|
if (isReadableStream(upstream)) {
|
|
1739
1720
|
return createBufferedReadableStream(upstream, size, logger2);
|
|
@@ -1788,14 +1769,16 @@ function createBufferedReadable(upstream, size, logger2) {
|
|
|
1788
1769
|
return downstream;
|
|
1789
1770
|
}
|
|
1790
1771
|
|
|
1791
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1772
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.js
|
|
1792
1773
|
import { Readable as Readable3 } from "stream";
|
|
1793
1774
|
|
|
1794
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1775
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.browser.js
|
|
1795
1776
|
var getAwsChunkedEncodingStream = (readableStream, options) => {
|
|
1796
1777
|
const { base64Encoder, bodyLengthChecker, checksumAlgorithmFn, checksumLocationName, streamHasher } = options;
|
|
1797
1778
|
const checksumRequired = base64Encoder !== void 0 && bodyLengthChecker !== void 0 && checksumAlgorithmFn !== void 0 && checksumLocationName !== void 0 && streamHasher !== void 0;
|
|
1798
1779
|
const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readableStream) : void 0;
|
|
1780
|
+
Promise.resolve(digest).catch(() => {
|
|
1781
|
+
});
|
|
1799
1782
|
const reader = readableStream.getReader();
|
|
1800
1783
|
return new ReadableStream({
|
|
1801
1784
|
async pull(controller) {
|
|
@@ -1820,7 +1803,7 @@ ${value}\r
|
|
|
1820
1803
|
});
|
|
1821
1804
|
};
|
|
1822
1805
|
|
|
1823
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1806
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.js
|
|
1824
1807
|
function getAwsChunkedEncodingStream2(stream, options) {
|
|
1825
1808
|
const readable = stream;
|
|
1826
1809
|
const readableStream = stream;
|
|
@@ -1830,8 +1813,11 @@ function getAwsChunkedEncodingStream2(stream, options) {
|
|
|
1830
1813
|
const { base64Encoder, bodyLengthChecker, checksumAlgorithmFn, checksumLocationName, streamHasher } = options;
|
|
1831
1814
|
const checksumRequired = base64Encoder !== void 0 && checksumAlgorithmFn !== void 0 && checksumLocationName !== void 0 && streamHasher !== void 0;
|
|
1832
1815
|
const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readable) : void 0;
|
|
1816
|
+
Promise.resolve(digest).catch(() => {
|
|
1817
|
+
});
|
|
1833
1818
|
const awsChunkedEncodingStream = new Readable3({
|
|
1834
|
-
read
|
|
1819
|
+
read() {
|
|
1820
|
+
readable.resume();
|
|
1835
1821
|
}
|
|
1836
1822
|
});
|
|
1837
1823
|
readable.on("data", (data) => {
|
|
@@ -1842,27 +1828,37 @@ function getAwsChunkedEncodingStream2(stream, options) {
|
|
|
1842
1828
|
awsChunkedEncodingStream.push(`${length.toString(16)}\r
|
|
1843
1829
|
`);
|
|
1844
1830
|
awsChunkedEncodingStream.push(data);
|
|
1845
|
-
awsChunkedEncodingStream.push("\r\n")
|
|
1831
|
+
if (!awsChunkedEncodingStream.push("\r\n")) {
|
|
1832
|
+
readable.pause();
|
|
1833
|
+
}
|
|
1846
1834
|
});
|
|
1835
|
+
readable.on("error", (err) => {
|
|
1836
|
+
awsChunkedEncodingStream.destroy(err);
|
|
1837
|
+
});
|
|
1838
|
+
readable.pause();
|
|
1847
1839
|
readable.on("end", async () => {
|
|
1848
|
-
|
|
1840
|
+
try {
|
|
1841
|
+
awsChunkedEncodingStream.push(`0\r
|
|
1849
1842
|
`);
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1843
|
+
if (checksumRequired) {
|
|
1844
|
+
const checksum = base64Encoder(await digest);
|
|
1845
|
+
awsChunkedEncodingStream.push(`${checksumLocationName}:${checksum}\r
|
|
1853
1846
|
`);
|
|
1854
|
-
|
|
1847
|
+
awsChunkedEncodingStream.push(`\r
|
|
1855
1848
|
`);
|
|
1849
|
+
}
|
|
1850
|
+
awsChunkedEncodingStream.push(null);
|
|
1851
|
+
} catch (err) {
|
|
1852
|
+
awsChunkedEncodingStream.destroy(err);
|
|
1856
1853
|
}
|
|
1857
|
-
awsChunkedEncodingStream.push(null);
|
|
1858
1854
|
});
|
|
1859
1855
|
return awsChunkedEncodingStream;
|
|
1860
1856
|
}
|
|
1861
1857
|
|
|
1862
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1858
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.js
|
|
1863
1859
|
import { Readable as Readable4 } from "stream";
|
|
1864
1860
|
|
|
1865
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1861
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUtf8.browser.js
|
|
1866
1862
|
var toUtf82 = (input) => {
|
|
1867
1863
|
if (typeof input === "string") {
|
|
1868
1864
|
return input;
|
|
@@ -1873,7 +1869,7 @@ var toUtf82 = (input) => {
|
|
|
1873
1869
|
return new TextDecoder("utf-8").decode(input);
|
|
1874
1870
|
};
|
|
1875
1871
|
|
|
1876
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1872
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js
|
|
1877
1873
|
var streamCollector = async (stream) => {
|
|
1878
1874
|
if (isBlob(stream)) {
|
|
1879
1875
|
return collectBlob(stream);
|
|
@@ -1900,7 +1896,7 @@ async function collectReadableStream(stream) {
|
|
|
1900
1896
|
return concatBytes(chunks, length);
|
|
1901
1897
|
}
|
|
1902
1898
|
|
|
1903
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1899
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.browser.js
|
|
1904
1900
|
var ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed.";
|
|
1905
1901
|
var sdkStreamMixin = (stream) => {
|
|
1906
1902
|
if (!isBlobInstance(stream) && !isReadableStream(stream)) {
|
|
@@ -1954,7 +1950,7 @@ var sdkStreamMixin = (stream) => {
|
|
|
1954
1950
|
};
|
|
1955
1951
|
var isBlobInstance = (stream) => typeof Blob === "function" && stream instanceof Blob;
|
|
1956
1952
|
|
|
1957
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1953
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.js
|
|
1958
1954
|
import { Writable } from "stream";
|
|
1959
1955
|
var streamCollector2 = (stream) => {
|
|
1960
1956
|
if (isBlob(stream)) {
|
|
@@ -1986,7 +1982,7 @@ var Collector = class extends Writable {
|
|
|
1986
1982
|
}
|
|
1987
1983
|
};
|
|
1988
1984
|
|
|
1989
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1985
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.js
|
|
1990
1986
|
var ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED2 = "The stream has already been transformed.";
|
|
1991
1987
|
var sdkStreamMixin2 = (stream) => {
|
|
1992
1988
|
if (!(stream instanceof Readable4)) {
|
|
@@ -2032,7 +2028,7 @@ var sdkStreamMixin2 = (stream) => {
|
|
|
2032
2028
|
});
|
|
2033
2029
|
};
|
|
2034
2030
|
|
|
2035
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
2031
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/serde/index.js
|
|
2036
2032
|
var Uint8ArrayBlobAdapter = class extends bindUint8ArrayBlobAdapter(toUtf8, fromUtf8, toBase64, fromBase64) {
|
|
2037
2033
|
};
|
|
2038
2034
|
var _getRandomValues = getRandomValues;
|
|
@@ -2040,10 +2036,6 @@ var v4 = bindV4(_getRandomValues);
|
|
|
2040
2036
|
var generateIdempotencyToken = v4;
|
|
2041
2037
|
|
|
2042
2038
|
export {
|
|
2043
|
-
EndpointURLScheme,
|
|
2044
|
-
AlgorithmId,
|
|
2045
|
-
SMITHY_CONTEXT_KEY,
|
|
2046
|
-
IniSectionType,
|
|
2047
2039
|
getSmithyContext,
|
|
2048
2040
|
hasOwn,
|
|
2049
2041
|
HttpRequest,
|