@larkup/cli 0.3.19 → 0.3.21
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/{analytics-store-4EI56OLE.js → analytics-store-UU5MX3JA.js} +1 -1
- package/dist/bowser-KBMRPWZW.js +2100 -0
- package/dist/{chunk-OSTTFYPX.js → chunk-2PEO3NCV.js} +4 -4
- package/dist/{chunk-GYXT77I3.js → chunk-2QOWBHZK.js} +10 -10
- package/dist/{chunk-DTRGAEFR.js → chunk-4SOSQVIA.js} +4 -4
- package/dist/{chunk-HYYSI5FE.js → chunk-5YXDD2GC.js} +183 -174
- package/dist/{chunk-DT2STGSS.js → chunk-6B7OTI2Y.js} +2 -2
- package/dist/{chunk-TFGGCUFR.js → chunk-D3H2VEHZ.js} +7 -7
- package/dist/{chunk-VZAREDRR.js → chunk-EFPXIMED.js} +3 -3
- package/dist/{chunk-PFTSXAZG.js → chunk-FDCIUBLI.js} +46 -27
- package/dist/{chunk-6HRBZ7QP.js → chunk-G5BURVQB.js} +3 -3
- package/dist/{chunk-ZH2A3TFQ.js → chunk-HTNZPVID.js} +99 -1154
- package/dist/{chunk-YOPP3ETL.js → chunk-JAIHHTKN.js} +111 -80
- package/dist/{chunk-54YIZOXQ.js → chunk-PTQR3VCA.js} +58 -26
- package/dist/{chunk-CUA3FHFQ.js → chunk-RUMUOFC7.js} +39 -26
- package/dist/{chunk-6VBJAFWY.js → chunk-RV756WXU.js} +85 -70
- package/dist/{chunk-FMBWCTFV.js → chunk-WSDGBXA3.js} +1223 -77
- package/dist/{dist-es-PY4YS7TC.js → dist-es-27PHRDP5.js} +7 -7
- package/dist/{dist-es-FEVR73CQ.js → dist-es-2OQPXBWH.js} +8 -8
- package/dist/{dist-es-CM7567P2.js → dist-es-DXUGAPLS.js} +8 -8
- package/dist/{dist-es-3SVFRI6P.js → dist-es-I2CSW44W.js} +248 -232
- package/dist/{dist-es-M6OXVHSI.js → dist-es-MNMQ7EY7.js} +2 -2
- package/dist/{dist-es-OB4H2RSG.js → dist-es-OOS7VNC3.js} +10 -10
- package/dist/{dist-es-ZDCXFYRX.js → dist-es-P55SOOJS.js} +5 -5
- package/dist/{dist-es-DC3KLBPR.js → dist-es-TVPOX7SI.js} +9 -9
- package/dist/{dist-es-IS5PH45I.js → dist-es-YACWQ6TD.js} +54 -37
- package/dist/{dist-es-KY7QTIEX.js → dist-es-ZM2PC6Y7.js} +22 -22
- package/dist/{event-streams-KOWL2S4G.js → event-streams-7VYAXCGO.js} +3 -3
- package/dist/index.js +11 -11
- package/dist/{loadSso-OLMNBQ4H.js → loadSso-MPKJCJHV.js} +23 -23
- package/dist/{signin-NBTUJ5KD.js → signin-WY5DIZ6I.js} +33 -26
- package/dist/{sso-oidc-WNK6HQX7.js → sso-oidc-6P6INS3W.js} +25 -25
- package/dist/{sts-TGY2Y4DZ.js → sts-2EDS5GKI.js} +28 -28
- package/dist/{tool-loader-SOIT6ZYY.js → tool-loader-LURY25XY.js} +2 -2
- package/dist/{tool-registry-SNMN6NUP.js → tool-registry-I7553RRN.js} +1 -1
- package/package.json +3 -3
- package/dist/bowser-GZLEN3PD.js +0 -2821
- /package/dist/{chunk-SMQUSHD4.js → chunk-OXX5AQPP.js} +0 -0
|
@@ -26,15 +26,15 @@ var IniSectionType;
|
|
|
26
26
|
IniSectionType2["SERVICES"] = "services";
|
|
27
27
|
})(IniSectionType || (IniSectionType = {}));
|
|
28
28
|
|
|
29
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
29
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/transport/getSmithyContext.js
|
|
30
30
|
var getSmithyContext = (context) => context[SMITHY_CONTEXT_KEY] || (context[SMITHY_CONTEXT_KEY] = {});
|
|
31
31
|
|
|
32
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
32
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/transport/hasOwn.js
|
|
33
33
|
function hasOwn(o, k) {
|
|
34
34
|
return Object.prototype.hasOwnProperty.call(o, k);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
37
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/transport/httpRequest.js
|
|
38
38
|
var HttpRequest = class _HttpRequest {
|
|
39
39
|
method;
|
|
40
40
|
protocol;
|
|
@@ -91,15 +91,16 @@ function cloneQuery(query) {
|
|
|
91
91
|
}, {});
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
94
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js
|
|
95
95
|
var normalizeProvider = (input) => {
|
|
96
|
-
if (typeof input === "function")
|
|
96
|
+
if (typeof input === "function") {
|
|
97
97
|
return input;
|
|
98
|
+
}
|
|
98
99
|
const promisified = Promise.resolve(input);
|
|
99
100
|
return () => promisified;
|
|
100
101
|
};
|
|
101
102
|
|
|
102
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
103
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/transport/parseQueryString.js
|
|
103
104
|
function parseQueryString(querystring) {
|
|
104
105
|
const query = {};
|
|
105
106
|
querystring = querystring.replace(/^\?/, "");
|
|
@@ -122,7 +123,7 @@ function parseQueryString(querystring) {
|
|
|
122
123
|
return query;
|
|
123
124
|
}
|
|
124
125
|
|
|
125
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
126
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/transport/parseUrl.js
|
|
126
127
|
var parseUrl = (url) => {
|
|
127
128
|
if (typeof url === "string") {
|
|
128
129
|
return parseUrl(new URL(url));
|
|
@@ -141,7 +142,7 @@ var parseUrl = (url) => {
|
|
|
141
142
|
};
|
|
142
143
|
};
|
|
143
144
|
|
|
144
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
145
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js
|
|
145
146
|
var HttpResponse = class {
|
|
146
147
|
statusCode;
|
|
147
148
|
reason;
|
|
@@ -154,14 +155,15 @@ var HttpResponse = class {
|
|
|
154
155
|
this.body = options.body;
|
|
155
156
|
}
|
|
156
157
|
static isInstance(response) {
|
|
157
|
-
if (!response)
|
|
158
|
+
if (!response) {
|
|
158
159
|
return false;
|
|
160
|
+
}
|
|
159
161
|
const resp = response;
|
|
160
162
|
return typeof resp.statusCode === "number" && typeof resp.headers === "object";
|
|
161
163
|
}
|
|
162
164
|
};
|
|
163
165
|
|
|
164
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
166
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/transport/isValidHostLabel.js
|
|
165
167
|
var VALID_HOST_LABEL_REGEX = new RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`);
|
|
166
168
|
var isValidHostLabel = (value, allowSubDomains = false) => {
|
|
167
169
|
if (!allowSubDomains) {
|
|
@@ -176,13 +178,13 @@ var isValidHostLabel = (value, allowSubDomains = false) => {
|
|
|
176
178
|
return true;
|
|
177
179
|
};
|
|
178
180
|
|
|
179
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
181
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/transport/isValidHostname.js
|
|
180
182
|
function isValidHostname(hostname) {
|
|
181
183
|
const hostPattern = /^[a-z0-9][a-z0-9.-]*[a-z0-9]$/;
|
|
182
184
|
return hostPattern.test(hostname);
|
|
183
185
|
}
|
|
184
186
|
|
|
185
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
187
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js
|
|
186
188
|
var toEndpointV1 = (endpoint) => {
|
|
187
189
|
if (typeof endpoint === "object") {
|
|
188
190
|
if ("url" in endpoint) {
|
|
@@ -190,8 +192,9 @@ var toEndpointV1 = (endpoint) => {
|
|
|
190
192
|
if (endpoint.headers) {
|
|
191
193
|
v1Endpoint.headers = {};
|
|
192
194
|
for (const name in endpoint.headers) {
|
|
193
|
-
if (!hasOwn(endpoint.headers, name))
|
|
195
|
+
if (!hasOwn(endpoint.headers, name)) {
|
|
194
196
|
continue;
|
|
197
|
+
}
|
|
195
198
|
v1Endpoint.headers[name.toLowerCase()] = endpoint.headers[name].join(", ");
|
|
196
199
|
}
|
|
197
200
|
}
|
|
@@ -202,7 +205,7 @@ var toEndpointV1 = (endpoint) => {
|
|
|
202
205
|
return parseUrl(endpoint);
|
|
203
206
|
};
|
|
204
207
|
|
|
205
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
208
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/schema/schemas/operation.js
|
|
206
209
|
var operation = (namespace, name, traits, input, output) => ({
|
|
207
210
|
name,
|
|
208
211
|
namespace,
|
|
@@ -211,7 +214,7 @@ var operation = (namespace, name, traits, input, output) => ({
|
|
|
211
214
|
output
|
|
212
215
|
});
|
|
213
216
|
|
|
214
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
217
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js
|
|
215
218
|
var schemaDeserializationMiddleware = (config) => (next, context) => async (args) => {
|
|
216
219
|
const { response } = await next(args);
|
|
217
220
|
const { operationSchema } = getSmithyContext(context);
|
|
@@ -271,7 +274,7 @@ var findHeader = (pattern, headers) => {
|
|
|
271
274
|
}) || [void 0, void 0])[1];
|
|
272
275
|
};
|
|
273
276
|
|
|
274
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
277
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js
|
|
275
278
|
var schemaSerializationMiddleware = (config) => (next, context) => async (args) => {
|
|
276
279
|
const { operationSchema } = getSmithyContext(context);
|
|
277
280
|
const [, ns, n, t, i, o] = operationSchema ?? [];
|
|
@@ -287,7 +290,7 @@ var schemaSerializationMiddleware = (config) => (next, context) => async (args)
|
|
|
287
290
|
});
|
|
288
291
|
};
|
|
289
292
|
|
|
290
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
293
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/schema/middleware/getSchemaSerdePlugin.js
|
|
291
294
|
var deserializerMiddlewareOption = {
|
|
292
295
|
name: "deserializerMiddleware",
|
|
293
296
|
step: "deserialize",
|
|
@@ -310,118 +313,7 @@ function getSchemaSerdePlugin(config) {
|
|
|
310
313
|
};
|
|
311
314
|
}
|
|
312
315
|
|
|
313
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
314
|
-
var TypeRegistry = class _TypeRegistry {
|
|
315
|
-
namespace;
|
|
316
|
-
schemas;
|
|
317
|
-
exceptions;
|
|
318
|
-
static registries = /* @__PURE__ */ new Map();
|
|
319
|
-
constructor(namespace, schemas = /* @__PURE__ */ new Map(), exceptions = /* @__PURE__ */ new Map()) {
|
|
320
|
-
this.namespace = namespace;
|
|
321
|
-
this.schemas = schemas;
|
|
322
|
-
this.exceptions = exceptions;
|
|
323
|
-
if (!_TypeRegistry.registries.has(namespace)) {
|
|
324
|
-
_TypeRegistry.registries.set(namespace, this);
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
static for(namespace) {
|
|
328
|
-
return _TypeRegistry.registries.get(namespace) ?? new _TypeRegistry(namespace);
|
|
329
|
-
}
|
|
330
|
-
copyFrom(other) {
|
|
331
|
-
const { schemas, exceptions } = this;
|
|
332
|
-
for (const [k, v] of other.schemas) {
|
|
333
|
-
if (!schemas.has(k)) {
|
|
334
|
-
schemas.set(k, v);
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
for (const [k, v] of other.exceptions) {
|
|
338
|
-
if (!exceptions.has(k)) {
|
|
339
|
-
exceptions.set(k, v);
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
register(shapeId, schema) {
|
|
344
|
-
const qualifiedName = this.normalizeShapeId(shapeId);
|
|
345
|
-
for (const r of [this, _TypeRegistry.for(qualifiedName.split("#")[0])]) {
|
|
346
|
-
if (!r.schemas.has(qualifiedName)) {
|
|
347
|
-
r.schemas.set(qualifiedName, schema);
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
getSchema(shapeId) {
|
|
352
|
-
const id = this.normalizeShapeId(shapeId);
|
|
353
|
-
if (!this.schemas.has(id)) {
|
|
354
|
-
if (!shapeId.includes("#")) {
|
|
355
|
-
const suffix = "#" + shapeId;
|
|
356
|
-
const candidates = [];
|
|
357
|
-
for (const [shapeId2, schema] of this.schemas.entries()) {
|
|
358
|
-
if (shapeId2.endsWith(suffix)) {
|
|
359
|
-
candidates.push(schema);
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
if (candidates.length === 1) {
|
|
363
|
-
return candidates[0];
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
throw new Error(`@smithy/core/schema - schema not found for ${id}`);
|
|
367
|
-
}
|
|
368
|
-
return this.schemas.get(id);
|
|
369
|
-
}
|
|
370
|
-
registerError(es, ctor) {
|
|
371
|
-
const $error = es;
|
|
372
|
-
const ns = $error[1];
|
|
373
|
-
const qualifiedName = ns + "#" + $error[2];
|
|
374
|
-
if (!ctor.hasOwnProperty?.("shapeId")) {
|
|
375
|
-
ctor.shapeId = qualifiedName;
|
|
376
|
-
}
|
|
377
|
-
for (const r of [this, _TypeRegistry.for(ns)]) {
|
|
378
|
-
if (!r.schemas.has(qualifiedName) && !r.exceptions.has($error)) {
|
|
379
|
-
r.schemas.set(qualifiedName, $error);
|
|
380
|
-
r.exceptions.set($error, ctor);
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
getErrorCtor(es) {
|
|
385
|
-
const $error = es;
|
|
386
|
-
if (this.exceptions.has($error)) {
|
|
387
|
-
return this.exceptions.get($error);
|
|
388
|
-
}
|
|
389
|
-
const registry = _TypeRegistry.for($error[1]);
|
|
390
|
-
return registry.exceptions.get($error);
|
|
391
|
-
}
|
|
392
|
-
getBaseException() {
|
|
393
|
-
for (const exceptionKey of this.exceptions.keys()) {
|
|
394
|
-
if (Array.isArray(exceptionKey)) {
|
|
395
|
-
const [, ns, name] = exceptionKey;
|
|
396
|
-
const id = ns + "#" + name;
|
|
397
|
-
if (id.startsWith("smithy.ts.sdk.synthetic.") && id.endsWith("ServiceException")) {
|
|
398
|
-
return exceptionKey;
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
return void 0;
|
|
403
|
-
}
|
|
404
|
-
find(predicate) {
|
|
405
|
-
for (const schema of this.schemas.values()) {
|
|
406
|
-
if (predicate(schema)) {
|
|
407
|
-
return schema;
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
return void 0;
|
|
411
|
-
}
|
|
412
|
-
clear() {
|
|
413
|
-
this.schemas.clear();
|
|
414
|
-
this.exceptions.clear();
|
|
415
|
-
}
|
|
416
|
-
normalizeShapeId(shapeId) {
|
|
417
|
-
if (shapeId.includes("#")) {
|
|
418
|
-
return shapeId;
|
|
419
|
-
}
|
|
420
|
-
return this.namespace + "#" + shapeId;
|
|
421
|
-
}
|
|
422
|
-
};
|
|
423
|
-
|
|
424
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/schema/deref.js
|
|
316
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/schema/deref.js
|
|
425
317
|
var deref = (schemaRef) => {
|
|
426
318
|
if (typeof schemaRef === "function") {
|
|
427
319
|
return schemaRef();
|
|
@@ -429,7 +321,7 @@ var deref = (schemaRef) => {
|
|
|
429
321
|
return schemaRef;
|
|
430
322
|
};
|
|
431
323
|
|
|
432
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
324
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js
|
|
433
325
|
var traitsCache = [];
|
|
434
326
|
function translateTraits(indicator) {
|
|
435
327
|
if (typeof indicator === "object") {
|
|
@@ -457,7 +349,7 @@ function translateTraits(indicator) {
|
|
|
457
349
|
return traitsCache[indicator] = traits;
|
|
458
350
|
}
|
|
459
351
|
|
|
460
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
352
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js
|
|
461
353
|
var anno = {
|
|
462
354
|
it: Symbol.for("@smithy/nor-struct-it"),
|
|
463
355
|
ns: Symbol.for("@smithy/ns")
|
|
@@ -739,10 +631,121 @@ function member(memberSchema, memberName) {
|
|
|
739
631
|
var isMemberSchema = (sc) => Array.isArray(sc) && sc.length === 2;
|
|
740
632
|
var isStaticSchema = (sc) => Array.isArray(sc) && sc.length >= 5;
|
|
741
633
|
|
|
742
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
634
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js
|
|
635
|
+
var TypeRegistry = class _TypeRegistry {
|
|
636
|
+
namespace;
|
|
637
|
+
schemas;
|
|
638
|
+
exceptions;
|
|
639
|
+
static registries = /* @__PURE__ */ new Map();
|
|
640
|
+
constructor(namespace, schemas = /* @__PURE__ */ new Map(), exceptions = /* @__PURE__ */ new Map()) {
|
|
641
|
+
this.namespace = namespace;
|
|
642
|
+
this.schemas = schemas;
|
|
643
|
+
this.exceptions = exceptions;
|
|
644
|
+
if (!_TypeRegistry.registries.has(namespace)) {
|
|
645
|
+
_TypeRegistry.registries.set(namespace, this);
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
static for(namespace) {
|
|
649
|
+
return _TypeRegistry.registries.get(namespace) ?? new _TypeRegistry(namespace);
|
|
650
|
+
}
|
|
651
|
+
copyFrom(other) {
|
|
652
|
+
const { schemas, exceptions } = this;
|
|
653
|
+
for (const [k, v] of other.schemas) {
|
|
654
|
+
if (!schemas.has(k)) {
|
|
655
|
+
schemas.set(k, v);
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
for (const [k, v] of other.exceptions) {
|
|
659
|
+
if (!exceptions.has(k)) {
|
|
660
|
+
exceptions.set(k, v);
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
register(shapeId, schema) {
|
|
665
|
+
const qualifiedName = this.normalizeShapeId(shapeId);
|
|
666
|
+
for (const r of [this, _TypeRegistry.for(qualifiedName.split("#")[0])]) {
|
|
667
|
+
if (!r.schemas.has(qualifiedName)) {
|
|
668
|
+
r.schemas.set(qualifiedName, schema);
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
getSchema(shapeId) {
|
|
673
|
+
const id = this.normalizeShapeId(shapeId);
|
|
674
|
+
if (!this.schemas.has(id)) {
|
|
675
|
+
if (!shapeId.includes("#")) {
|
|
676
|
+
const suffix = "#" + shapeId;
|
|
677
|
+
const candidates = [];
|
|
678
|
+
for (const [shapeId2, schema] of this.schemas.entries()) {
|
|
679
|
+
if (shapeId2.endsWith(suffix)) {
|
|
680
|
+
candidates.push(schema);
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
if (candidates.length === 1) {
|
|
684
|
+
return candidates[0];
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
throw new Error(`@smithy/core/schema - schema not found for ${id}`);
|
|
688
|
+
}
|
|
689
|
+
return this.schemas.get(id);
|
|
690
|
+
}
|
|
691
|
+
registerError(es, ctor) {
|
|
692
|
+
const $error = es;
|
|
693
|
+
const ns = $error[1];
|
|
694
|
+
const qualifiedName = ns + "#" + $error[2];
|
|
695
|
+
if (!ctor.hasOwnProperty?.("shapeId")) {
|
|
696
|
+
ctor.shapeId = qualifiedName;
|
|
697
|
+
}
|
|
698
|
+
for (const r of [this, _TypeRegistry.for(ns)]) {
|
|
699
|
+
if (!r.schemas.has(qualifiedName) && !r.exceptions.has($error)) {
|
|
700
|
+
r.schemas.set(qualifiedName, $error);
|
|
701
|
+
r.exceptions.set($error, ctor);
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
getErrorCtor(es) {
|
|
706
|
+
const $error = es;
|
|
707
|
+
if (this.exceptions.has($error)) {
|
|
708
|
+
return this.exceptions.get($error);
|
|
709
|
+
}
|
|
710
|
+
const registry = _TypeRegistry.for($error[1]);
|
|
711
|
+
return registry.exceptions.get($error);
|
|
712
|
+
}
|
|
713
|
+
getBaseException() {
|
|
714
|
+
for (const exceptionKey of this.exceptions.keys()) {
|
|
715
|
+
if (Array.isArray(exceptionKey)) {
|
|
716
|
+
const [, ns, name] = exceptionKey;
|
|
717
|
+
const id = ns + "#" + name;
|
|
718
|
+
if (id.startsWith("smithy.ts.sdk.synthetic.") && id.endsWith("ServiceException")) {
|
|
719
|
+
return exceptionKey;
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
return void 0;
|
|
724
|
+
}
|
|
725
|
+
find(predicate) {
|
|
726
|
+
for (const schema of this.schemas.values()) {
|
|
727
|
+
if (predicate(schema)) {
|
|
728
|
+
return schema;
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
return void 0;
|
|
732
|
+
}
|
|
733
|
+
clear() {
|
|
734
|
+
this.schemas.clear();
|
|
735
|
+
this.exceptions.clear();
|
|
736
|
+
}
|
|
737
|
+
normalizeShapeId(shapeId) {
|
|
738
|
+
if (shapeId.includes("#")) {
|
|
739
|
+
return shapeId;
|
|
740
|
+
}
|
|
741
|
+
return this.namespace + "#" + shapeId;
|
|
742
|
+
}
|
|
743
|
+
};
|
|
744
|
+
|
|
745
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/is-array-buffer/is-array-buffer.js
|
|
743
746
|
var isArrayBuffer = (arg) => typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer || Object.prototype.toString.call(arg) === "[object ArrayBuffer]";
|
|
744
747
|
|
|
745
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
748
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-buffer-from/buffer-from.js
|
|
746
749
|
var fromArrayBuffer = (input, offset = 0, length = input.byteLength - offset) => {
|
|
747
750
|
if (!isArrayBuffer(input)) {
|
|
748
751
|
throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof input} (${input})`);
|
|
@@ -756,13 +759,13 @@ var fromString = (input, encoding) => {
|
|
|
756
759
|
return encoding ? Buffer.from(input, encoding) : Buffer.from(input);
|
|
757
760
|
};
|
|
758
761
|
|
|
759
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
762
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/fromUtf8.js
|
|
760
763
|
var fromUtf8 = (input) => {
|
|
761
764
|
const buf = fromString(input, "utf8");
|
|
762
765
|
return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT);
|
|
763
766
|
};
|
|
764
767
|
|
|
765
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
768
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUtf8.js
|
|
766
769
|
var toUtf8 = (input) => {
|
|
767
770
|
if (typeof input === "string") {
|
|
768
771
|
return input;
|
|
@@ -773,7 +776,7 @@ var toUtf8 = (input) => {
|
|
|
773
776
|
return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("utf8");
|
|
774
777
|
};
|
|
775
778
|
|
|
776
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
779
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-hex-encoding/hex-encoding.js
|
|
777
780
|
var SHORT_TO_HEX = {};
|
|
778
781
|
var HEX_TO_SHORT = {};
|
|
779
782
|
for (let i = 0; i < 256; i++) {
|
|
@@ -807,10 +810,10 @@ function toHex(bytes) {
|
|
|
807
810
|
return out;
|
|
808
811
|
}
|
|
809
812
|
|
|
810
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
813
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/index.js
|
|
811
814
|
import { getRandomValues } from "crypto";
|
|
812
815
|
|
|
813
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
816
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/fromBase64.js
|
|
814
817
|
var BASE64_REGEX = /^[A-Za-z0-9+/]*={0,2}$/;
|
|
815
818
|
var fromBase64 = (input) => {
|
|
816
819
|
if (input.length * 3 % 4 !== 0) {
|
|
@@ -823,7 +826,7 @@ var fromBase64 = (input) => {
|
|
|
823
826
|
return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);
|
|
824
827
|
};
|
|
825
828
|
|
|
826
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
829
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/toBase64.js
|
|
827
830
|
var toBase64 = (_input) => {
|
|
828
831
|
let input;
|
|
829
832
|
if (typeof _input === "string") {
|
|
@@ -837,7 +840,7 @@ var toBase64 = (_input) => {
|
|
|
837
840
|
return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("base64");
|
|
838
841
|
};
|
|
839
842
|
|
|
840
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
843
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/blob/Uint8ArrayBlobAdapter.js
|
|
841
844
|
function bindUint8ArrayBlobAdapter(toUtf83, fromUtf83, toBase643, fromBase642) {
|
|
842
845
|
return class Uint8ArrayBlobAdapter2 extends Uint8Array {
|
|
843
846
|
static fromString(source, encoding = "utf-8") {
|
|
@@ -862,7 +865,7 @@ function bindUint8ArrayBlobAdapter(toUtf83, fromUtf83, toBase643, fromBase642) {
|
|
|
862
865
|
};
|
|
863
866
|
}
|
|
864
867
|
|
|
865
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
868
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/uuid/v4.js
|
|
866
869
|
var decimalToHex = Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, "0"));
|
|
867
870
|
function bindV4(getRandomValues2) {
|
|
868
871
|
if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
|
|
@@ -877,7 +880,7 @@ function bindV4(getRandomValues2) {
|
|
|
877
880
|
};
|
|
878
881
|
}
|
|
879
882
|
|
|
880
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
883
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js
|
|
881
884
|
var expectNumber = (value) => {
|
|
882
885
|
if (value === null || value === void 0) {
|
|
883
886
|
return void 0;
|
|
@@ -973,7 +976,7 @@ var logger = {
|
|
|
973
976
|
warn: console.warn
|
|
974
977
|
};
|
|
975
978
|
|
|
976
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
979
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/date-utils.js
|
|
977
980
|
var DAYS = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
|
|
978
981
|
var MONTHS = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
|
|
979
982
|
function dateToUtcString(date2) {
|
|
@@ -1159,7 +1162,7 @@ var stripLeadingZeroes = (value) => {
|
|
|
1159
1162
|
return value.slice(idx);
|
|
1160
1163
|
};
|
|
1161
1164
|
|
|
1162
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1165
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/lazy-json.js
|
|
1163
1166
|
var LazyJsonString = function LazyJsonString2(val) {
|
|
1164
1167
|
const str = Object.assign(new String(val), {
|
|
1165
1168
|
deserializeJSON() {
|
|
@@ -1184,7 +1187,7 @@ LazyJsonString.from = (object) => {
|
|
|
1184
1187
|
};
|
|
1185
1188
|
LazyJsonString.fromObject = LazyJsonString.from;
|
|
1186
1189
|
|
|
1187
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1190
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/quote-header.js
|
|
1188
1191
|
function quoteHeader(part) {
|
|
1189
1192
|
if (part.includes(",") || part.includes('"')) {
|
|
1190
1193
|
part = `"${part.replace(/"/g, '\\"')}"`;
|
|
@@ -1192,7 +1195,7 @@ function quoteHeader(part) {
|
|
|
1192
1195
|
return part;
|
|
1193
1196
|
}
|
|
1194
1197
|
|
|
1195
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1198
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/schema-serde-lib/schema-date-utils.js
|
|
1196
1199
|
var ddd = `(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?`;
|
|
1197
1200
|
var mmm = `(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)`;
|
|
1198
1201
|
var time = `(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?`;
|
|
@@ -1291,7 +1294,7 @@ function range(v, min, max) {
|
|
|
1291
1294
|
}
|
|
1292
1295
|
}
|
|
1293
1296
|
|
|
1294
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1297
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/split-every.js
|
|
1295
1298
|
function splitEvery(value, delimiter, numDelimiters) {
|
|
1296
1299
|
if (numDelimiters <= 0 || !Number.isInteger(numDelimiters)) {
|
|
1297
1300
|
throw new Error("Invalid number of delimiters (" + numDelimiters + ") for splitEvery.");
|
|
@@ -1319,7 +1322,7 @@ function splitEvery(value, delimiter, numDelimiters) {
|
|
|
1319
1322
|
return compoundSegments;
|
|
1320
1323
|
}
|
|
1321
1324
|
|
|
1322
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1325
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/split-header.js
|
|
1323
1326
|
var splitHeader = (value) => {
|
|
1324
1327
|
const z = value.length;
|
|
1325
1328
|
const values = [];
|
|
@@ -1358,7 +1361,7 @@ var splitHeader = (value) => {
|
|
|
1358
1361
|
});
|
|
1359
1362
|
};
|
|
1360
1363
|
|
|
1361
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1364
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js
|
|
1362
1365
|
var format = /^-?((0|[1-9]\d*)(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/;
|
|
1363
1366
|
var NumericValue = class _NumericValue {
|
|
1364
1367
|
string;
|
|
@@ -1382,7 +1385,7 @@ var NumericValue = class _NumericValue {
|
|
|
1382
1385
|
}
|
|
1383
1386
|
};
|
|
1384
1387
|
|
|
1385
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1388
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-body-length/calculateBodyLength.js
|
|
1386
1389
|
import { ReadStream, fstatSync, lstatSync } from "fs";
|
|
1387
1390
|
var calculateBodyLength = (body) => {
|
|
1388
1391
|
if (!body) {
|
|
@@ -1406,7 +1409,7 @@ var calculateBodyLength = (body) => {
|
|
|
1406
1409
|
throw new Error(`Body Length computation failed for ${body}`);
|
|
1407
1410
|
};
|
|
1408
1411
|
|
|
1409
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1412
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.js
|
|
1410
1413
|
var toUint8Array = (data) => {
|
|
1411
1414
|
if (data instanceof Uint8Array) {
|
|
1412
1415
|
return data;
|
|
@@ -1420,7 +1423,7 @@ var toUint8Array = (data) => {
|
|
|
1420
1423
|
return new Uint8Array(data);
|
|
1421
1424
|
};
|
|
1422
1425
|
|
|
1423
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1426
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/concatBytes.js
|
|
1424
1427
|
function concatBytes(arrays, length) {
|
|
1425
1428
|
if (length === void 0) {
|
|
1426
1429
|
length = 0;
|
|
@@ -1437,7 +1440,7 @@ function concatBytes(arrays, length) {
|
|
|
1437
1440
|
return result;
|
|
1438
1441
|
}
|
|
1439
1442
|
|
|
1440
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1443
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js
|
|
1441
1444
|
import { Readable } from "stream";
|
|
1442
1445
|
var ChecksumStream = class extends Readable {
|
|
1443
1446
|
expectedChecksum;
|
|
@@ -1513,16 +1516,16 @@ var ChecksumStream = class extends Readable {
|
|
|
1513
1516
|
}
|
|
1514
1517
|
};
|
|
1515
1518
|
|
|
1516
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1519
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-type-check.js
|
|
1517
1520
|
var isReadableStream = (stream) => typeof ReadableStream === "function" && (stream?.constructor?.name === ReadableStream.name || stream instanceof ReadableStream);
|
|
1518
1521
|
var isBlob = (blob) => {
|
|
1519
1522
|
return typeof Blob === "function" && (blob?.constructor?.name === Blob.name || blob instanceof Blob);
|
|
1520
1523
|
};
|
|
1521
1524
|
|
|
1522
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1525
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/fromUtf8.browser.js
|
|
1523
1526
|
var fromUtf82 = (input) => new TextEncoder().encode(input);
|
|
1524
1527
|
|
|
1525
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1528
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/constants-for-browser.js
|
|
1526
1529
|
var chars = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`;
|
|
1527
1530
|
var alphabetByEncoding = Object.entries(chars).reduce((acc, [i, c]) => {
|
|
1528
1531
|
acc[c] = Number(i);
|
|
@@ -1533,7 +1536,7 @@ var bitsPerLetter = 6;
|
|
|
1533
1536
|
var bitsPerByte = 8;
|
|
1534
1537
|
var maxLetterValue = 63;
|
|
1535
1538
|
|
|
1536
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1539
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/toBase64.browser.js
|
|
1537
1540
|
function toBase642(_input) {
|
|
1538
1541
|
let input;
|
|
1539
1542
|
if (typeof _input === "string") {
|
|
@@ -1565,13 +1568,13 @@ function toBase642(_input) {
|
|
|
1565
1568
|
return str;
|
|
1566
1569
|
}
|
|
1567
1570
|
|
|
1568
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1571
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.browser.js
|
|
1569
1572
|
var ReadableStreamRef = typeof ReadableStream === "function" ? ReadableStream : function() {
|
|
1570
1573
|
};
|
|
1571
1574
|
var ChecksumStream2 = class extends ReadableStreamRef {
|
|
1572
1575
|
};
|
|
1573
1576
|
|
|
1574
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1577
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/createChecksumStream.browser.js
|
|
1575
1578
|
var createChecksumStream = ({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder }) => {
|
|
1576
1579
|
if (!isReadableStream(source)) {
|
|
1577
1580
|
throw new Error(`@smithy/util-stream: unsupported source type ${source?.constructor?.name ?? source} in ChecksumStream.`);
|
|
@@ -1604,7 +1607,7 @@ var createChecksumStream = ({ expectedChecksum, checksum, source, checksumSource
|
|
|
1604
1607
|
return readable;
|
|
1605
1608
|
};
|
|
1606
1609
|
|
|
1607
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1610
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/createChecksumStream.js
|
|
1608
1611
|
function createChecksumStream2(init) {
|
|
1609
1612
|
if (typeof ReadableStream === "function" && isReadableStream(init.source)) {
|
|
1610
1613
|
return createChecksumStream(init);
|
|
@@ -1612,10 +1615,10 @@ function createChecksumStream2(init) {
|
|
|
1612
1615
|
return new ChecksumStream(init);
|
|
1613
1616
|
}
|
|
1614
1617
|
|
|
1615
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1618
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/createBufferedReadable.js
|
|
1616
1619
|
import { Readable as Readable2 } from "stream";
|
|
1617
1620
|
|
|
1618
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1621
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/ByteArrayCollector.js
|
|
1619
1622
|
var ByteArrayCollector = class {
|
|
1620
1623
|
allocByteArray;
|
|
1621
1624
|
byteLength = 0;
|
|
@@ -1649,7 +1652,7 @@ var ByteArrayCollector = class {
|
|
|
1649
1652
|
}
|
|
1650
1653
|
};
|
|
1651
1654
|
|
|
1652
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1655
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/createBufferedReadable.browser.js
|
|
1653
1656
|
function createBufferedReadableStream(upstream, size, logger2) {
|
|
1654
1657
|
const reader = upstream.getReader();
|
|
1655
1658
|
let streamBufferingLoggedWarning = false;
|
|
@@ -1741,7 +1744,7 @@ function modeOf(chunk, allowBuffer = true) {
|
|
|
1741
1744
|
return -1;
|
|
1742
1745
|
}
|
|
1743
1746
|
|
|
1744
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1747
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/createBufferedReadable.js
|
|
1745
1748
|
function createBufferedReadable(upstream, size, logger2) {
|
|
1746
1749
|
if (isReadableStream(upstream)) {
|
|
1747
1750
|
return createBufferedReadableStream(upstream, size, logger2);
|
|
@@ -1796,10 +1799,10 @@ function createBufferedReadable(upstream, size, logger2) {
|
|
|
1796
1799
|
return downstream;
|
|
1797
1800
|
}
|
|
1798
1801
|
|
|
1799
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1802
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.js
|
|
1800
1803
|
import { Readable as Readable3 } from "stream";
|
|
1801
1804
|
|
|
1802
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1805
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.browser.js
|
|
1803
1806
|
var getAwsChunkedEncodingStream = (readableStream, options) => {
|
|
1804
1807
|
const { base64Encoder, bodyLengthChecker, checksumAlgorithmFn, checksumLocationName, streamHasher } = options;
|
|
1805
1808
|
const checksumRequired = base64Encoder !== void 0 && bodyLengthChecker !== void 0 && checksumAlgorithmFn !== void 0 && checksumLocationName !== void 0 && streamHasher !== void 0;
|
|
@@ -1830,7 +1833,7 @@ ${value}\r
|
|
|
1830
1833
|
});
|
|
1831
1834
|
};
|
|
1832
1835
|
|
|
1833
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1836
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.js
|
|
1834
1837
|
function getAwsChunkedEncodingStream2(stream, options) {
|
|
1835
1838
|
const readable = stream;
|
|
1836
1839
|
const readableStream = stream;
|
|
@@ -1882,10 +1885,10 @@ function getAwsChunkedEncodingStream2(stream, options) {
|
|
|
1882
1885
|
return awsChunkedEncodingStream;
|
|
1883
1886
|
}
|
|
1884
1887
|
|
|
1885
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1888
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.js
|
|
1886
1889
|
import { Readable as Readable4 } from "stream";
|
|
1887
1890
|
|
|
1888
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1891
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUtf8.browser.js
|
|
1889
1892
|
var toUtf82 = (input) => {
|
|
1890
1893
|
if (typeof input === "string") {
|
|
1891
1894
|
return input;
|
|
@@ -1896,7 +1899,7 @@ var toUtf82 = (input) => {
|
|
|
1896
1899
|
return new TextDecoder("utf-8").decode(input);
|
|
1897
1900
|
};
|
|
1898
1901
|
|
|
1899
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1902
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js
|
|
1900
1903
|
var streamCollector = async (stream) => {
|
|
1901
1904
|
if (isBlob(stream)) {
|
|
1902
1905
|
return collectBlob(stream);
|
|
@@ -1923,7 +1926,7 @@ async function collectReadableStream(stream) {
|
|
|
1923
1926
|
return concatBytes(chunks, length);
|
|
1924
1927
|
}
|
|
1925
1928
|
|
|
1926
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1929
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.browser.js
|
|
1927
1930
|
var ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed.";
|
|
1928
1931
|
var sdkStreamMixin = (stream) => {
|
|
1929
1932
|
if (!isBlobInstance(stream) && !isReadableStream(stream)) {
|
|
@@ -1977,7 +1980,7 @@ var sdkStreamMixin = (stream) => {
|
|
|
1977
1980
|
};
|
|
1978
1981
|
var isBlobInstance = (stream) => typeof Blob === "function" && stream instanceof Blob;
|
|
1979
1982
|
|
|
1980
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1983
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.js
|
|
1981
1984
|
import { Writable } from "stream";
|
|
1982
1985
|
var streamCollector2 = (stream) => {
|
|
1983
1986
|
if (isBlob(stream)) {
|
|
@@ -2009,7 +2012,7 @@ var Collector = class extends Writable {
|
|
|
2009
2012
|
}
|
|
2010
2013
|
};
|
|
2011
2014
|
|
|
2012
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
2015
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.js
|
|
2013
2016
|
var ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED2 = "The stream has already been transformed.";
|
|
2014
2017
|
var sdkStreamMixin2 = (stream) => {
|
|
2015
2018
|
if (!(stream instanceof Readable4)) {
|
|
@@ -2055,7 +2058,12 @@ var sdkStreamMixin2 = (stream) => {
|
|
|
2055
2058
|
});
|
|
2056
2059
|
};
|
|
2057
2060
|
|
|
2058
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
2061
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/writeKey.js
|
|
2062
|
+
function writeKey(obj) {
|
|
2063
|
+
Object.defineProperty(obj, "__proto__", { value: void 0, writable: true, enumerable: true, configurable: true });
|
|
2064
|
+
}
|
|
2065
|
+
|
|
2066
|
+
// ../../node_modules/.pnpm/@smithy+core@3.38.1/node_modules/@smithy/core/dist-es/submodules/serde/index.js
|
|
2059
2067
|
var Uint8ArrayBlobAdapter = class extends bindUint8ArrayBlobAdapter(toUtf8, fromUtf8, toBase64, fromBase64) {
|
|
2060
2068
|
};
|
|
2061
2069
|
var _getRandomValues = getRandomValues;
|
|
@@ -2108,6 +2116,7 @@ export {
|
|
|
2108
2116
|
getAwsChunkedEncodingStream2 as getAwsChunkedEncodingStream,
|
|
2109
2117
|
streamCollector2 as streamCollector,
|
|
2110
2118
|
sdkStreamMixin2 as sdkStreamMixin,
|
|
2119
|
+
writeKey,
|
|
2111
2120
|
Uint8ArrayBlobAdapter,
|
|
2112
2121
|
v4,
|
|
2113
2122
|
generateIdempotencyToken
|