@larkup/cli 0.3.22 → 0.3.25
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/{bowser-KBMRPWZW.js → bowser-ASWGABFI.js} +164 -121
- package/dist/{chunk-M4T7TRRC.js → chunk-5BSYIRDU.js} +101 -99
- package/dist/{chunk-JKTTCUZ3.js → chunk-6DABOFED.js} +45 -43
- package/dist/chunk-7EA4HEQD.js +34 -0
- package/dist/{chunk-G4JLV4D2.js → chunk-7FM7FGTQ.js} +44 -45
- package/dist/{chunk-3HURSQNH.js → chunk-7TW2TQDP.js} +2 -2
- package/dist/{chunk-G542PEOG.js → chunk-CONEIN76.js} +12 -40
- package/dist/{chunk-SUBMQE2G.js → chunk-H7OL7A3G.js} +29 -29
- package/dist/{chunk-NMIRIGDS.js → chunk-HQBHXWFO.js} +25 -25
- package/dist/{chunk-TEVXZRMI.js → chunk-ILXTFN5F.js} +73 -71
- package/dist/{chunk-CQRTVM3R.js → chunk-J7WYSJV7.js} +41 -36
- package/dist/{chunk-YL567TPU.js → chunk-JI3YBGMX.js} +4 -4
- package/dist/{chunk-4Y7OLVDR.js → chunk-K4ZAP2B4.js} +4 -4
- package/dist/{chunk-VMIDDBSU.js → chunk-KS7UJLUP.js} +3 -3
- package/dist/{chunk-5UNSW2YQ.js → chunk-MJ2NZ7GC.js} +2 -2
- package/dist/{chunk-MEKWGOS5.js → chunk-R344ACAN.js} +3 -3
- package/dist/{chunk-TX2W2TDD.js → chunk-UQHNRXYH.js} +3 -3
- package/dist/{chunk-5YXDD2GC.js → chunk-YK4G67UU.js} +135 -163
- package/dist/{chunk-MTXSOKLF.js → chunk-ZXBQA42I.js} +1066 -1027
- package/dist/{chunk-5LXQQ3B5.js → chunk-ZYEAPZDK.js} +67 -64
- package/dist/{dist-es-EYJKNFZZ.js → dist-es-3UDUJKAW.js} +10 -9
- package/dist/{dist-es-I5PEXU6M.js → dist-es-3ZGN24NL.js} +6 -5
- package/dist/{dist-es-HOKTEA4H.js → dist-es-6VWQDGTA.js} +23 -22
- package/dist/{dist-es-IBDQOMV4.js → dist-es-DJYED3JX.js} +21 -20
- package/dist/{dist-es-KLJ57YTV.js → dist-es-HKJET4EN.js} +3 -2
- package/dist/{dist-es-GCJ2YN2W.js → dist-es-JZZWWWB2.js} +15 -12
- package/dist/{dist-es-RSHHKZQR.js → dist-es-RQTS5BDT.js} +287 -236
- package/dist/{dist-es-SM3XZOJI.js → dist-es-RUHE7T2I.js} +11 -10
- package/dist/{dist-es-64SQQSB2.js → dist-es-S4JBTIGW.js} +9 -8
- package/dist/{dist-es-WKOKSFRW.js → dist-es-TGIPXSQR.js} +9 -8
- package/dist/{event-streams-DO25HTN4.js → event-streams-5GHJY7DB.js} +3 -2
- package/dist/{event-streams-DE7Y6VJA.js → event-streams-7GD5LM2F.js} +19 -18
- package/dist/index.js +92 -60
- package/dist/{loadSso-RBMT5EPI.js → loadSso-QUU5KKBX.js} +27 -26
- package/dist/{signin-S7FYOH5Y.js → signin-KDNHL2KM.js} +30 -29
- package/dist/{sso-oidc-YVLODDDB.js → sso-oidc-BNG5ERAX.js} +29 -28
- package/dist/{sts-R6CUYWGQ.js → sts-K53JNAYZ.js} +32 -31
- package/dist/{tool-loader-ZRVSMB4T.js → tool-loader-3TBSU7FY.js} +2 -2
- package/dist/{tool-registry-FLO7V4FK.js → tool-registry-HJLG5I6X.js} +1 -1
- package/package.json +12 -12
|
@@ -1,40 +1,50 @@
|
|
|
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-7EA4HEQD.js";
|
|
10
4
|
|
|
11
|
-
// ../../node_modules/.pnpm/@smithy+
|
|
12
|
-
var
|
|
5
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/is-array-buffer/is-array-buffer.js
|
|
6
|
+
var isArrayBuffer = (arg) => typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer || Object.prototype.toString.call(arg) === "[object ArrayBuffer]";
|
|
7
|
+
|
|
8
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-buffer-from/buffer-from.js
|
|
9
|
+
var fromArrayBuffer = (input, offset = 0, length = input.byteLength - offset) => {
|
|
10
|
+
if (!isArrayBuffer(input)) {
|
|
11
|
+
throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof input} (${input})`);
|
|
12
|
+
}
|
|
13
|
+
return Buffer.from(input, offset, length);
|
|
14
|
+
};
|
|
15
|
+
var fromString = (input, encoding) => {
|
|
16
|
+
if (typeof input !== "string") {
|
|
17
|
+
throw new TypeError(`The "input" argument must be of type string. Received type ${typeof input} (${input})`);
|
|
18
|
+
}
|
|
19
|
+
return encoding ? Buffer.from(input, encoding) : Buffer.from(input);
|
|
20
|
+
};
|
|
13
21
|
|
|
14
|
-
// ../../node_modules/.pnpm/@smithy+
|
|
15
|
-
var
|
|
16
|
-
(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
})(EndpointURLScheme || (EndpointURLScheme = {}));
|
|
22
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/fromUtf8.js
|
|
23
|
+
var fromUtf8 = (input) => {
|
|
24
|
+
const buf = fromString(input, "utf8");
|
|
25
|
+
return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT);
|
|
26
|
+
};
|
|
20
27
|
|
|
21
|
-
// ../../node_modules/.pnpm/@smithy+
|
|
22
|
-
var
|
|
23
|
-
(
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUtf8.js
|
|
29
|
+
var toUtf8 = (input) => {
|
|
30
|
+
if (typeof input === "string") {
|
|
31
|
+
return input;
|
|
32
|
+
}
|
|
33
|
+
if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") {
|
|
34
|
+
throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");
|
|
35
|
+
}
|
|
36
|
+
return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("utf8");
|
|
37
|
+
};
|
|
28
38
|
|
|
29
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
39
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/transport/getSmithyContext.js
|
|
30
40
|
var getSmithyContext = (context) => context[SMITHY_CONTEXT_KEY] || (context[SMITHY_CONTEXT_KEY] = {});
|
|
31
41
|
|
|
32
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
42
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/transport/hasOwn.js
|
|
33
43
|
function hasOwn(o, k) {
|
|
34
44
|
return Object.prototype.hasOwnProperty.call(o, k);
|
|
35
45
|
}
|
|
36
46
|
|
|
37
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
47
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/transport/httpRequest.js
|
|
38
48
|
var HttpRequest = class _HttpRequest {
|
|
39
49
|
method;
|
|
40
50
|
protocol;
|
|
@@ -91,7 +101,7 @@ function cloneQuery(query) {
|
|
|
91
101
|
}, {});
|
|
92
102
|
}
|
|
93
103
|
|
|
94
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
104
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js
|
|
95
105
|
var normalizeProvider = (input) => {
|
|
96
106
|
if (typeof input === "function") {
|
|
97
107
|
return input;
|
|
@@ -100,7 +110,7 @@ var normalizeProvider = (input) => {
|
|
|
100
110
|
return () => promisified;
|
|
101
111
|
};
|
|
102
112
|
|
|
103
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
113
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/transport/parseQueryString.js
|
|
104
114
|
function parseQueryString(querystring) {
|
|
105
115
|
const query = {};
|
|
106
116
|
querystring = querystring.replace(/^\?/, "");
|
|
@@ -123,7 +133,7 @@ function parseQueryString(querystring) {
|
|
|
123
133
|
return query;
|
|
124
134
|
}
|
|
125
135
|
|
|
126
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
136
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/transport/parseUrl.js
|
|
127
137
|
var parseUrl = (url) => {
|
|
128
138
|
if (typeof url === "string") {
|
|
129
139
|
return parseUrl(new URL(url));
|
|
@@ -142,7 +152,7 @@ var parseUrl = (url) => {
|
|
|
142
152
|
};
|
|
143
153
|
};
|
|
144
154
|
|
|
145
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
155
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js
|
|
146
156
|
var HttpResponse = class {
|
|
147
157
|
statusCode;
|
|
148
158
|
reason;
|
|
@@ -163,7 +173,7 @@ var HttpResponse = class {
|
|
|
163
173
|
}
|
|
164
174
|
};
|
|
165
175
|
|
|
166
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
176
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/transport/isValidHostLabel.js
|
|
167
177
|
var VALID_HOST_LABEL_REGEX = new RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`);
|
|
168
178
|
var isValidHostLabel = (value, allowSubDomains = false) => {
|
|
169
179
|
if (!allowSubDomains) {
|
|
@@ -178,13 +188,13 @@ var isValidHostLabel = (value, allowSubDomains = false) => {
|
|
|
178
188
|
return true;
|
|
179
189
|
};
|
|
180
190
|
|
|
181
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
191
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/transport/isValidHostname.js
|
|
182
192
|
function isValidHostname(hostname) {
|
|
183
193
|
const hostPattern = /^[a-z0-9][a-z0-9.-]*[a-z0-9]$/;
|
|
184
194
|
return hostPattern.test(hostname);
|
|
185
195
|
}
|
|
186
196
|
|
|
187
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
197
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js
|
|
188
198
|
var toEndpointV1 = (endpoint) => {
|
|
189
199
|
if (typeof endpoint === "object") {
|
|
190
200
|
if ("url" in endpoint) {
|
|
@@ -205,7 +215,41 @@ var toEndpointV1 = (endpoint) => {
|
|
|
205
215
|
return parseUrl(endpoint);
|
|
206
216
|
};
|
|
207
217
|
|
|
208
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
218
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-hex-encoding/hex-encoding.js
|
|
219
|
+
var SHORT_TO_HEX = {};
|
|
220
|
+
var HEX_TO_SHORT = {};
|
|
221
|
+
for (let i = 0; i < 256; i++) {
|
|
222
|
+
let encodedByte = i.toString(16).toLowerCase();
|
|
223
|
+
if (encodedByte.length === 1) {
|
|
224
|
+
encodedByte = `0${encodedByte}`;
|
|
225
|
+
}
|
|
226
|
+
SHORT_TO_HEX[i] = encodedByte;
|
|
227
|
+
HEX_TO_SHORT[encodedByte] = i;
|
|
228
|
+
}
|
|
229
|
+
function fromHex(encoded) {
|
|
230
|
+
if (encoded.length % 2 !== 0) {
|
|
231
|
+
throw new Error("Hex encoded strings must have an even number length");
|
|
232
|
+
}
|
|
233
|
+
const out = new Uint8Array(encoded.length / 2);
|
|
234
|
+
for (let i = 0; i < encoded.length; i += 2) {
|
|
235
|
+
const encodedByte = encoded.slice(i, i + 2).toLowerCase();
|
|
236
|
+
if (encodedByte in HEX_TO_SHORT) {
|
|
237
|
+
out[i / 2] = HEX_TO_SHORT[encodedByte];
|
|
238
|
+
} else {
|
|
239
|
+
throw new Error(`Cannot decode unrecognized sequence ${encodedByte} as hexadecimal`);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
return out;
|
|
243
|
+
}
|
|
244
|
+
function toHex(bytes) {
|
|
245
|
+
let out = "";
|
|
246
|
+
for (let i = 0; i < bytes.byteLength; i++) {
|
|
247
|
+
out += SHORT_TO_HEX[bytes[i]];
|
|
248
|
+
}
|
|
249
|
+
return out;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/schema/schemas/operation.js
|
|
209
253
|
var operation = (namespace, name, traits, input, output) => ({
|
|
210
254
|
name,
|
|
211
255
|
namespace,
|
|
@@ -214,7 +258,7 @@ var operation = (namespace, name, traits, input, output) => ({
|
|
|
214
258
|
output
|
|
215
259
|
});
|
|
216
260
|
|
|
217
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
261
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js
|
|
218
262
|
var schemaDeserializationMiddleware = (config) => (next, context) => async (args) => {
|
|
219
263
|
const { response } = await next(args);
|
|
220
264
|
const { operationSchema } = getSmithyContext(context);
|
|
@@ -274,7 +318,7 @@ var findHeader = (pattern, headers) => {
|
|
|
274
318
|
}) || [void 0, void 0])[1];
|
|
275
319
|
};
|
|
276
320
|
|
|
277
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
321
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js
|
|
278
322
|
var schemaSerializationMiddleware = (config) => (next, context) => async (args) => {
|
|
279
323
|
const { operationSchema } = getSmithyContext(context);
|
|
280
324
|
const [, ns, n, t, i, o] = operationSchema ?? [];
|
|
@@ -290,7 +334,7 @@ var schemaSerializationMiddleware = (config) => (next, context) => async (args)
|
|
|
290
334
|
});
|
|
291
335
|
};
|
|
292
336
|
|
|
293
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
337
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/schema/middleware/getSchemaSerdePlugin.js
|
|
294
338
|
var deserializerMiddlewareOption = {
|
|
295
339
|
name: "deserializerMiddleware",
|
|
296
340
|
step: "deserialize",
|
|
@@ -313,7 +357,7 @@ function getSchemaSerdePlugin(config) {
|
|
|
313
357
|
};
|
|
314
358
|
}
|
|
315
359
|
|
|
316
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
360
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/schema/deref.js
|
|
317
361
|
var deref = (schemaRef) => {
|
|
318
362
|
if (typeof schemaRef === "function") {
|
|
319
363
|
return schemaRef();
|
|
@@ -321,7 +365,7 @@ var deref = (schemaRef) => {
|
|
|
321
365
|
return schemaRef;
|
|
322
366
|
};
|
|
323
367
|
|
|
324
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
368
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js
|
|
325
369
|
var traitsCache = [];
|
|
326
370
|
function translateTraits(indicator) {
|
|
327
371
|
if (typeof indicator === "object") {
|
|
@@ -349,7 +393,7 @@ function translateTraits(indicator) {
|
|
|
349
393
|
return traitsCache[indicator] = traits;
|
|
350
394
|
}
|
|
351
395
|
|
|
352
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
396
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js
|
|
353
397
|
var anno = {
|
|
354
398
|
it: Symbol.for("@smithy/nor-struct-it"),
|
|
355
399
|
ns: Symbol.for("@smithy/ns")
|
|
@@ -631,7 +675,7 @@ function member(memberSchema, memberName) {
|
|
|
631
675
|
var isMemberSchema = (sc) => Array.isArray(sc) && sc.length === 2;
|
|
632
676
|
var isStaticSchema = (sc) => Array.isArray(sc) && sc.length >= 5;
|
|
633
677
|
|
|
634
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
678
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js
|
|
635
679
|
var TypeRegistry = class _TypeRegistry {
|
|
636
680
|
namespace;
|
|
637
681
|
schemas;
|
|
@@ -742,78 +786,10 @@ var TypeRegistry = class _TypeRegistry {
|
|
|
742
786
|
}
|
|
743
787
|
};
|
|
744
788
|
|
|
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
|
|
789
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/index.js
|
|
814
790
|
import { getRandomValues } from "crypto";
|
|
815
791
|
|
|
816
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
792
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/fromBase64.js
|
|
817
793
|
var BASE64_REGEX = /^[A-Za-z0-9+/]*={0,2}$/;
|
|
818
794
|
var fromBase64 = (input) => {
|
|
819
795
|
if (input.length * 3 % 4 !== 0) {
|
|
@@ -826,7 +802,7 @@ var fromBase64 = (input) => {
|
|
|
826
802
|
return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);
|
|
827
803
|
};
|
|
828
804
|
|
|
829
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
805
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/toBase64.js
|
|
830
806
|
var toBase64 = (_input) => {
|
|
831
807
|
let input;
|
|
832
808
|
if (typeof _input === "string") {
|
|
@@ -840,7 +816,7 @@ var toBase64 = (_input) => {
|
|
|
840
816
|
return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("base64");
|
|
841
817
|
};
|
|
842
818
|
|
|
843
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
819
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/blob/Uint8ArrayBlobAdapter.js
|
|
844
820
|
function bindUint8ArrayBlobAdapter(toUtf83, fromUtf83, toBase643, fromBase642) {
|
|
845
821
|
return class Uint8ArrayBlobAdapter2 extends Uint8Array {
|
|
846
822
|
static fromString(source, encoding = "utf-8") {
|
|
@@ -865,7 +841,7 @@ function bindUint8ArrayBlobAdapter(toUtf83, fromUtf83, toBase643, fromBase642) {
|
|
|
865
841
|
};
|
|
866
842
|
}
|
|
867
843
|
|
|
868
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
844
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/uuid/v4.js
|
|
869
845
|
var decimalToHex = Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, "0"));
|
|
870
846
|
function bindV4(getRandomValues2) {
|
|
871
847
|
if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
|
|
@@ -880,7 +856,7 @@ function bindV4(getRandomValues2) {
|
|
|
880
856
|
};
|
|
881
857
|
}
|
|
882
858
|
|
|
883
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
859
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js
|
|
884
860
|
var expectNumber = (value) => {
|
|
885
861
|
if (value === null || value === void 0) {
|
|
886
862
|
return void 0;
|
|
@@ -976,7 +952,7 @@ var logger = {
|
|
|
976
952
|
warn: console.warn
|
|
977
953
|
};
|
|
978
954
|
|
|
979
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
955
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/date-utils.js
|
|
980
956
|
var DAYS = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
|
|
981
957
|
var MONTHS = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
|
|
982
958
|
function dateToUtcString(date2) {
|
|
@@ -1162,7 +1138,7 @@ var stripLeadingZeroes = (value) => {
|
|
|
1162
1138
|
return value.slice(idx);
|
|
1163
1139
|
};
|
|
1164
1140
|
|
|
1165
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1141
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/lazy-json.js
|
|
1166
1142
|
var LazyJsonString = function LazyJsonString2(val) {
|
|
1167
1143
|
const str = Object.assign(new String(val), {
|
|
1168
1144
|
deserializeJSON() {
|
|
@@ -1187,7 +1163,7 @@ LazyJsonString.from = (object) => {
|
|
|
1187
1163
|
};
|
|
1188
1164
|
LazyJsonString.fromObject = LazyJsonString.from;
|
|
1189
1165
|
|
|
1190
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1166
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/quote-header.js
|
|
1191
1167
|
function quoteHeader(part) {
|
|
1192
1168
|
if (part.includes(",") || part.includes('"')) {
|
|
1193
1169
|
part = `"${part.replace(/"/g, '\\"')}"`;
|
|
@@ -1195,7 +1171,7 @@ function quoteHeader(part) {
|
|
|
1195
1171
|
return part;
|
|
1196
1172
|
}
|
|
1197
1173
|
|
|
1198
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1174
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/schema-serde-lib/schema-date-utils.js
|
|
1199
1175
|
var ddd = `(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?`;
|
|
1200
1176
|
var mmm = `(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)`;
|
|
1201
1177
|
var time = `(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?`;
|
|
@@ -1294,7 +1270,7 @@ function range(v, min, max) {
|
|
|
1294
1270
|
}
|
|
1295
1271
|
}
|
|
1296
1272
|
|
|
1297
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1273
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/split-every.js
|
|
1298
1274
|
function splitEvery(value, delimiter, numDelimiters) {
|
|
1299
1275
|
if (numDelimiters <= 0 || !Number.isInteger(numDelimiters)) {
|
|
1300
1276
|
throw new Error("Invalid number of delimiters (" + numDelimiters + ") for splitEvery.");
|
|
@@ -1322,7 +1298,7 @@ function splitEvery(value, delimiter, numDelimiters) {
|
|
|
1322
1298
|
return compoundSegments;
|
|
1323
1299
|
}
|
|
1324
1300
|
|
|
1325
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1301
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/split-header.js
|
|
1326
1302
|
var splitHeader = (value) => {
|
|
1327
1303
|
const z = value.length;
|
|
1328
1304
|
const values = [];
|
|
@@ -1361,7 +1337,7 @@ var splitHeader = (value) => {
|
|
|
1361
1337
|
});
|
|
1362
1338
|
};
|
|
1363
1339
|
|
|
1364
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1340
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js
|
|
1365
1341
|
var format = /^-?((0|[1-9]\d*)(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/;
|
|
1366
1342
|
var NumericValue = class _NumericValue {
|
|
1367
1343
|
string;
|
|
@@ -1385,7 +1361,7 @@ var NumericValue = class _NumericValue {
|
|
|
1385
1361
|
}
|
|
1386
1362
|
};
|
|
1387
1363
|
|
|
1388
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1364
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-body-length/calculateBodyLength.js
|
|
1389
1365
|
import { ReadStream, fstatSync, lstatSync } from "fs";
|
|
1390
1366
|
var calculateBodyLength = (body) => {
|
|
1391
1367
|
if (!body) {
|
|
@@ -1409,7 +1385,7 @@ var calculateBodyLength = (body) => {
|
|
|
1409
1385
|
throw new Error(`Body Length computation failed for ${body}`);
|
|
1410
1386
|
};
|
|
1411
1387
|
|
|
1412
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1388
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.js
|
|
1413
1389
|
var toUint8Array = (data) => {
|
|
1414
1390
|
if (data instanceof Uint8Array) {
|
|
1415
1391
|
return data;
|
|
@@ -1423,7 +1399,7 @@ var toUint8Array = (data) => {
|
|
|
1423
1399
|
return new Uint8Array(data);
|
|
1424
1400
|
};
|
|
1425
1401
|
|
|
1426
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1402
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/concatBytes.js
|
|
1427
1403
|
function concatBytes(arrays, length) {
|
|
1428
1404
|
if (length === void 0) {
|
|
1429
1405
|
length = 0;
|
|
@@ -1440,7 +1416,7 @@ function concatBytes(arrays, length) {
|
|
|
1440
1416
|
return result;
|
|
1441
1417
|
}
|
|
1442
1418
|
|
|
1443
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1419
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js
|
|
1444
1420
|
import { Readable } from "stream";
|
|
1445
1421
|
var ChecksumStream = class extends Readable {
|
|
1446
1422
|
expectedChecksum;
|
|
@@ -1516,16 +1492,16 @@ var ChecksumStream = class extends Readable {
|
|
|
1516
1492
|
}
|
|
1517
1493
|
};
|
|
1518
1494
|
|
|
1519
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1495
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-type-check.js
|
|
1520
1496
|
var isReadableStream = (stream) => typeof ReadableStream === "function" && (stream?.constructor?.name === ReadableStream.name || stream instanceof ReadableStream);
|
|
1521
1497
|
var isBlob = (blob) => {
|
|
1522
1498
|
return typeof Blob === "function" && (blob?.constructor?.name === Blob.name || blob instanceof Blob);
|
|
1523
1499
|
};
|
|
1524
1500
|
|
|
1525
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1501
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/fromUtf8.browser.js
|
|
1526
1502
|
var fromUtf82 = (input) => new TextEncoder().encode(input);
|
|
1527
1503
|
|
|
1528
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1504
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/constants-for-browser.js
|
|
1529
1505
|
var chars = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`;
|
|
1530
1506
|
var alphabetByEncoding = Object.entries(chars).reduce((acc, [i, c]) => {
|
|
1531
1507
|
acc[c] = Number(i);
|
|
@@ -1536,7 +1512,7 @@ var bitsPerLetter = 6;
|
|
|
1536
1512
|
var bitsPerByte = 8;
|
|
1537
1513
|
var maxLetterValue = 63;
|
|
1538
1514
|
|
|
1539
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1515
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/toBase64.browser.js
|
|
1540
1516
|
function toBase642(_input) {
|
|
1541
1517
|
let input;
|
|
1542
1518
|
if (typeof _input === "string") {
|
|
@@ -1568,13 +1544,13 @@ function toBase642(_input) {
|
|
|
1568
1544
|
return str;
|
|
1569
1545
|
}
|
|
1570
1546
|
|
|
1571
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1547
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.browser.js
|
|
1572
1548
|
var ReadableStreamRef = typeof ReadableStream === "function" ? ReadableStream : function() {
|
|
1573
1549
|
};
|
|
1574
1550
|
var ChecksumStream2 = class extends ReadableStreamRef {
|
|
1575
1551
|
};
|
|
1576
1552
|
|
|
1577
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1553
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/createChecksumStream.browser.js
|
|
1578
1554
|
var createChecksumStream = ({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder }) => {
|
|
1579
1555
|
if (!isReadableStream(source)) {
|
|
1580
1556
|
throw new Error(`@smithy/util-stream: unsupported source type ${source?.constructor?.name ?? source} in ChecksumStream.`);
|
|
@@ -1607,7 +1583,7 @@ var createChecksumStream = ({ expectedChecksum, checksum, source, checksumSource
|
|
|
1607
1583
|
return readable;
|
|
1608
1584
|
};
|
|
1609
1585
|
|
|
1610
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1586
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/createChecksumStream.js
|
|
1611
1587
|
function createChecksumStream2(init) {
|
|
1612
1588
|
if (typeof ReadableStream === "function" && isReadableStream(init.source)) {
|
|
1613
1589
|
return createChecksumStream(init);
|
|
@@ -1615,10 +1591,10 @@ function createChecksumStream2(init) {
|
|
|
1615
1591
|
return new ChecksumStream(init);
|
|
1616
1592
|
}
|
|
1617
1593
|
|
|
1618
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1594
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/createBufferedReadable.js
|
|
1619
1595
|
import { Readable as Readable2 } from "stream";
|
|
1620
1596
|
|
|
1621
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1597
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/ByteArrayCollector.js
|
|
1622
1598
|
var ByteArrayCollector = class {
|
|
1623
1599
|
allocByteArray;
|
|
1624
1600
|
byteLength = 0;
|
|
@@ -1652,7 +1628,7 @@ var ByteArrayCollector = class {
|
|
|
1652
1628
|
}
|
|
1653
1629
|
};
|
|
1654
1630
|
|
|
1655
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1631
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/createBufferedReadable.browser.js
|
|
1656
1632
|
function createBufferedReadableStream(upstream, size, logger2) {
|
|
1657
1633
|
const reader = upstream.getReader();
|
|
1658
1634
|
let streamBufferingLoggedWarning = false;
|
|
@@ -1744,7 +1720,7 @@ function modeOf(chunk, allowBuffer = true) {
|
|
|
1744
1720
|
return -1;
|
|
1745
1721
|
}
|
|
1746
1722
|
|
|
1747
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1723
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/createBufferedReadable.js
|
|
1748
1724
|
function createBufferedReadable(upstream, size, logger2) {
|
|
1749
1725
|
if (isReadableStream(upstream)) {
|
|
1750
1726
|
return createBufferedReadableStream(upstream, size, logger2);
|
|
@@ -1799,10 +1775,10 @@ function createBufferedReadable(upstream, size, logger2) {
|
|
|
1799
1775
|
return downstream;
|
|
1800
1776
|
}
|
|
1801
1777
|
|
|
1802
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1778
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.js
|
|
1803
1779
|
import { Readable as Readable3 } from "stream";
|
|
1804
1780
|
|
|
1805
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1781
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.browser.js
|
|
1806
1782
|
var getAwsChunkedEncodingStream = (readableStream, options) => {
|
|
1807
1783
|
const { base64Encoder, bodyLengthChecker, checksumAlgorithmFn, checksumLocationName, streamHasher } = options;
|
|
1808
1784
|
const checksumRequired = base64Encoder !== void 0 && bodyLengthChecker !== void 0 && checksumAlgorithmFn !== void 0 && checksumLocationName !== void 0 && streamHasher !== void 0;
|
|
@@ -1833,7 +1809,7 @@ ${value}\r
|
|
|
1833
1809
|
});
|
|
1834
1810
|
};
|
|
1835
1811
|
|
|
1836
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1812
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.js
|
|
1837
1813
|
function getAwsChunkedEncodingStream2(stream, options) {
|
|
1838
1814
|
const readable = stream;
|
|
1839
1815
|
const readableStream = stream;
|
|
@@ -1885,10 +1861,10 @@ function getAwsChunkedEncodingStream2(stream, options) {
|
|
|
1885
1861
|
return awsChunkedEncodingStream;
|
|
1886
1862
|
}
|
|
1887
1863
|
|
|
1888
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1864
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.js
|
|
1889
1865
|
import { Readable as Readable4 } from "stream";
|
|
1890
1866
|
|
|
1891
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1867
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUtf8.browser.js
|
|
1892
1868
|
var toUtf82 = (input) => {
|
|
1893
1869
|
if (typeof input === "string") {
|
|
1894
1870
|
return input;
|
|
@@ -1899,7 +1875,7 @@ var toUtf82 = (input) => {
|
|
|
1899
1875
|
return new TextDecoder("utf-8").decode(input);
|
|
1900
1876
|
};
|
|
1901
1877
|
|
|
1902
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1878
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js
|
|
1903
1879
|
var streamCollector = async (stream) => {
|
|
1904
1880
|
if (isBlob(stream)) {
|
|
1905
1881
|
return collectBlob(stream);
|
|
@@ -1926,7 +1902,7 @@ async function collectReadableStream(stream) {
|
|
|
1926
1902
|
return concatBytes(chunks, length);
|
|
1927
1903
|
}
|
|
1928
1904
|
|
|
1929
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1905
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.browser.js
|
|
1930
1906
|
var ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed.";
|
|
1931
1907
|
var sdkStreamMixin = (stream) => {
|
|
1932
1908
|
if (!isBlobInstance(stream) && !isReadableStream(stream)) {
|
|
@@ -1980,7 +1956,7 @@ var sdkStreamMixin = (stream) => {
|
|
|
1980
1956
|
};
|
|
1981
1957
|
var isBlobInstance = (stream) => typeof Blob === "function" && stream instanceof Blob;
|
|
1982
1958
|
|
|
1983
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1959
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.js
|
|
1984
1960
|
import { Writable } from "stream";
|
|
1985
1961
|
var streamCollector2 = (stream) => {
|
|
1986
1962
|
if (isBlob(stream)) {
|
|
@@ -2012,7 +1988,7 @@ var Collector = class extends Writable {
|
|
|
2012
1988
|
}
|
|
2013
1989
|
};
|
|
2014
1990
|
|
|
2015
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1991
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.js
|
|
2016
1992
|
var ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED2 = "The stream has already been transformed.";
|
|
2017
1993
|
var sdkStreamMixin2 = (stream) => {
|
|
2018
1994
|
if (!(stream instanceof Readable4)) {
|
|
@@ -2058,12 +2034,12 @@ var sdkStreamMixin2 = (stream) => {
|
|
|
2058
2034
|
});
|
|
2059
2035
|
};
|
|
2060
2036
|
|
|
2061
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
2037
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/writeKey.js
|
|
2062
2038
|
function writeKey(obj) {
|
|
2063
2039
|
Object.defineProperty(obj, "__proto__", { value: void 0, writable: true, enumerable: true, configurable: true });
|
|
2064
2040
|
}
|
|
2065
2041
|
|
|
2066
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
2042
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/serde/index.js
|
|
2067
2043
|
var Uint8ArrayBlobAdapter = class extends bindUint8ArrayBlobAdapter(toUtf8, fromUtf8, toBase64, fromBase64) {
|
|
2068
2044
|
};
|
|
2069
2045
|
var _getRandomValues = getRandomValues;
|
|
@@ -2071,10 +2047,11 @@ var v4 = bindV4(_getRandomValues);
|
|
|
2071
2047
|
var generateIdempotencyToken = v4;
|
|
2072
2048
|
|
|
2073
2049
|
export {
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2050
|
+
isArrayBuffer,
|
|
2051
|
+
fromBase64,
|
|
2052
|
+
fromUtf8,
|
|
2053
|
+
toBase64,
|
|
2054
|
+
toUtf8,
|
|
2078
2055
|
getSmithyContext,
|
|
2079
2056
|
hasOwn,
|
|
2080
2057
|
HttpRequest,
|
|
@@ -2084,16 +2061,6 @@ export {
|
|
|
2084
2061
|
normalizeProvider,
|
|
2085
2062
|
parseUrl,
|
|
2086
2063
|
toEndpointV1,
|
|
2087
|
-
deref,
|
|
2088
|
-
getSchemaSerdePlugin,
|
|
2089
|
-
translateTraits,
|
|
2090
|
-
NormalizedSchema,
|
|
2091
|
-
TypeRegistry,
|
|
2092
|
-
isArrayBuffer,
|
|
2093
|
-
fromBase64,
|
|
2094
|
-
fromUtf8,
|
|
2095
|
-
toBase64,
|
|
2096
|
-
toUtf8,
|
|
2097
2064
|
dateToUtcString,
|
|
2098
2065
|
parseRfc3339DateTime,
|
|
2099
2066
|
parseRfc3339DateTimeWithOffset,
|
|
@@ -2111,6 +2078,11 @@ export {
|
|
|
2111
2078
|
toHex,
|
|
2112
2079
|
calculateBodyLength,
|
|
2113
2080
|
toUint8Array,
|
|
2081
|
+
deref,
|
|
2082
|
+
getSchemaSerdePlugin,
|
|
2083
|
+
translateTraits,
|
|
2084
|
+
NormalizedSchema,
|
|
2085
|
+
TypeRegistry,
|
|
2114
2086
|
createChecksumStream2 as createChecksumStream,
|
|
2115
2087
|
createBufferedReadable,
|
|
2116
2088
|
getAwsChunkedEncodingStream2 as getAwsChunkedEncodingStream,
|