@larkup/cli 0.3.21 → 0.3.22
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-UU5MX3JA.js → analytics-store-6SZQ7JBE.js} +1 -1
- package/dist/{chunk-RUMUOFC7.js → chunk-3HURSQNH.js} +1 -1
- package/dist/{chunk-2PEO3NCV.js → chunk-4Y7OLVDR.js} +4 -4
- package/dist/{chunk-JAIHHTKN.js → chunk-5LXQQ3B5.js} +1 -1
- package/dist/{chunk-6B7OTI2Y.js → chunk-5UNSW2YQ.js} +2 -2
- package/dist/{chunk-HTNZPVID.js → chunk-CQRTVM3R.js} +29 -29
- package/dist/{chunk-PTQR3VCA.js → chunk-G4JLV4D2.js} +1 -1
- package/dist/chunk-G542PEOG.js +215 -0
- package/dist/chunk-JKTTCUZ3.js +653 -0
- package/dist/chunk-M4T7TRRC.js +2461 -0
- package/dist/chunk-MEKWGOS5.js +76 -0
- package/dist/{chunk-RV756WXU.js → chunk-MTXSOKLF.js} +41 -36
- package/dist/chunk-NMIRIGDS.js +1445 -0
- package/dist/chunk-SUBMQE2G.js +1280 -0
- package/dist/{chunk-OXX5AQPP.js → chunk-TBMEIDA5.js} +39 -2
- package/dist/{chunk-WSDGBXA3.js → chunk-TEVXZRMI.js} +1 -12
- package/dist/{chunk-EFPXIMED.js → chunk-TX2W2TDD.js} +3 -3
- package/dist/{chunk-G5BURVQB.js → chunk-VMIDDBSU.js} +3 -3
- package/dist/{chunk-4SOSQVIA.js → chunk-YL567TPU.js} +1 -1
- package/dist/{dist-es-DXUGAPLS.js → dist-es-64SQQSB2.js} +7 -7
- package/dist/{dist-es-TVPOX7SI.js → dist-es-EYJKNFZZ.js} +8 -8
- package/dist/{dist-es-27PHRDP5.js → dist-es-GCJ2YN2W.js} +12 -9
- package/dist/{dist-es-ZM2PC6Y7.js → dist-es-HOKTEA4H.js} +21 -21
- package/dist/{dist-es-P55SOOJS.js → dist-es-I5PEXU6M.js} +4 -4
- package/dist/{dist-es-YACWQ6TD.js → dist-es-IBDQOMV4.js} +30 -23
- package/dist/{dist-es-MNMQ7EY7.js → dist-es-KLJ57YTV.js} +1 -1
- package/dist/{dist-es-I2CSW44W.js → dist-es-RSHHKZQR.js} +215 -217
- package/dist/{dist-es-OOS7VNC3.js → dist-es-SM3XZOJI.js} +9 -9
- package/dist/{dist-es-2OQPXBWH.js → dist-es-WKOKSFRW.js} +7 -7
- package/dist/{chunk-FDCIUBLI.js → event-streams-DE7Y6VJA.js} +31 -31
- package/dist/{event-streams-7VYAXCGO.js → event-streams-DO25HTN4.js} +1 -2
- package/dist/index.js +22 -27
- package/dist/{loadSso-MPKJCJHV.js → loadSso-RBMT5EPI.js} +68 -62
- package/dist/{signin-WY5DIZ6I.js → signin-S7FYOH5Y.js} +72 -66
- package/dist/{sso-oidc-6P6INS3W.js → sso-oidc-YVLODDDB.js} +71 -65
- package/dist/{sts-2EDS5GKI.js → sts-R6CUYWGQ.js} +77 -71
- package/dist/{tool-loader-LURY25XY.js → tool-loader-ZRVSMB4T.js} +2 -2
- package/dist/{tool-registry-I7553RRN.js → tool-registry-FLO7V4FK.js} +1 -1
- package/package.json +13 -13
- package/dist/chunk-2QOWBHZK.js +0 -515
- package/dist/chunk-D3H2VEHZ.js +0 -126
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
getToolById,
|
|
6
6
|
invalidateRegistryCache
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5UNSW2YQ.js";
|
|
8
8
|
import {
|
|
9
9
|
__require
|
|
10
10
|
} from "./chunk-QGM4M3NI.js";
|
|
@@ -290,7 +290,7 @@ async function execInstallUnlocked(packageName, version, target, onProgress) {
|
|
|
290
290
|
await fs.readFile(path.join(resolvedPath, "package.json"), "utf8")
|
|
291
291
|
);
|
|
292
292
|
const resolvedVersion = packageJson.version ?? version;
|
|
293
|
-
const { compareToolVersions } = await import("./tool-registry-
|
|
293
|
+
const { compareToolVersions } = await import("./tool-registry-FLO7V4FK.js");
|
|
294
294
|
if (compareToolVersions(version, resolvedVersion) > 0) {
|
|
295
295
|
throw new Error(`Version ${version} is not yet available. Please try again later.`);
|
|
296
296
|
}
|
|
@@ -481,7 +481,7 @@ async function uninstallTool(toolId) {
|
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
483
|
invalidateRegistryCache();
|
|
484
|
-
const { unloadTool: unloadTool2 } = await import("./tool-loader-
|
|
484
|
+
const { unloadTool: unloadTool2 } = await import("./tool-loader-ZRVSMB4T.js");
|
|
485
485
|
unloadTool2(toolId);
|
|
486
486
|
} finally {
|
|
487
487
|
uninstallingTools.delete(toolId);
|
|
@@ -607,7 +607,7 @@ function unloadTool(toolId) {
|
|
|
607
607
|
moduleCache.delete(toolId);
|
|
608
608
|
}
|
|
609
609
|
async function hasCapability(capability) {
|
|
610
|
-
const { getToolsWithCapability } = await import("./tool-registry-
|
|
610
|
+
const { getToolsWithCapability } = await import("./tool-registry-FLO7V4FK.js");
|
|
611
611
|
const tools = await getToolsWithCapability(capability);
|
|
612
612
|
for (const t of tools) {
|
|
613
613
|
const installed = await getInstalledTool(t.id);
|
|
@@ -23,7 +23,7 @@ var BUILTIN_TOOLS = [
|
|
|
23
23
|
description: "Help your AI understand your videos, so you can ask questions and get answers from the right moments.",
|
|
24
24
|
longDescription: "Turn videos into knowledge your AI can understand. It listens to what is said, reads what appears on screen, and helps you find the moments that matter.",
|
|
25
25
|
category: "media",
|
|
26
|
-
version: "0.3.
|
|
26
|
+
version: "0.3.13",
|
|
27
27
|
pricing: "free",
|
|
28
28
|
emoji: "\u{1F3AC}",
|
|
29
29
|
icon: "Film",
|
|
@@ -596,7 +596,7 @@ var BUILTIN_TOOLS = [
|
|
|
596
596
|
description: "AI-powered form filling and document editing with Canvas-style live preview.",
|
|
597
597
|
longDescription: "Open PDF, Word, PowerPoint, and text files in a split-view Canvas. AI fills forms using your knowledge base, edits content on request, and previews changes live. Supports PDF form fields (AcroForm), DOCX paragraphs/tables, PPTX slide text, and plain text editing. Uses pdf-lib (native) for PDF and the Docker sandbox for DOCX/PPTX via python-docx/python-pptx.",
|
|
598
598
|
category: "utility",
|
|
599
|
-
version: "0.3.
|
|
599
|
+
version: "0.3.11",
|
|
600
600
|
pricing: "free",
|
|
601
601
|
emoji: "\u{1F4DD}",
|
|
602
602
|
icon: "FileEdit",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SignatureV4
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3HURSQNH.js";
|
|
4
4
|
import {
|
|
5
5
|
doesIdentityRequireRefresh,
|
|
6
6
|
isIdentityExpired,
|
|
7
7
|
memoizeIdentityProvider,
|
|
8
8
|
normalizeProvider,
|
|
9
9
|
setCredentialFeature
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MTXSOKLF.js";
|
|
11
11
|
import {
|
|
12
12
|
decorateServiceException,
|
|
13
13
|
getValueFromTextNode
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5LXQQ3B5.js";
|
|
15
15
|
import {
|
|
16
16
|
FromStringShapeDeserializer,
|
|
17
17
|
HttpBindingProtocol,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
extendedEncodeURIComponent,
|
|
28
28
|
loadConfig,
|
|
29
29
|
loadRestJsonErrorCode
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-TEVXZRMI.js";
|
|
31
31
|
import {
|
|
32
32
|
HttpRequest,
|
|
33
33
|
HttpResponse,
|
|
@@ -43,14 +43,14 @@ import {
|
|
|
43
43
|
toUtf8
|
|
44
44
|
} from "./chunk-5YXDD2GC.js";
|
|
45
45
|
|
|
46
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
46
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js
|
|
47
47
|
var getDateHeader = (response) => HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : void 0;
|
|
48
48
|
var getAgeHeader = (response) => HttpResponse.isInstance(response) ? response.headers?.age ?? response.headers?.Age : void 0;
|
|
49
49
|
|
|
50
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
50
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.js
|
|
51
51
|
var getSkewCorrectedDate = (systemClockOffset) => new Date(Date.now() + systemClockOffset);
|
|
52
52
|
|
|
53
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
53
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js
|
|
54
54
|
var getUpdatedSystemClockOffset = (clockTime, currentSystemClockOffset, timeRequestSent, ageHeader) => {
|
|
55
55
|
if (ageHeader !== void 0) {
|
|
56
56
|
return currentSystemClockOffset;
|
|
@@ -63,7 +63,7 @@ var getUpdatedSystemClockOffset = (clockTime, currentSystemClockOffset, timeRequ
|
|
|
63
63
|
return serverTime - timeResponseReceived;
|
|
64
64
|
};
|
|
65
65
|
|
|
66
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
66
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js
|
|
67
67
|
var throwSigningPropertyError = (name, property) => {
|
|
68
68
|
if (!property) {
|
|
69
69
|
throw new Error(`Property \`${name}\` is not resolved for AWS SDK SigV4Auth`);
|
|
@@ -160,7 +160,7 @@ var AwsSdkSigV4Signer = class {
|
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
162
|
|
|
163
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
163
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js
|
|
164
164
|
var AwsSdkSigV4ASigner = class extends AwsSdkSigV4Signer {
|
|
165
165
|
async sign(httpRequest, identity, signingProperties) {
|
|
166
166
|
if (!HttpRequest.isInstance(httpRequest)) {
|
|
@@ -184,13 +184,13 @@ var AwsSdkSigV4ASigner = class extends AwsSdkSigV4Signer {
|
|
|
184
184
|
}
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
187
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.js
|
|
188
188
|
var getArrayForCommaSeparatedString = (str) => typeof str === "string" && str.length > 0 ? str.split(",").map((item) => item.trim()) : [];
|
|
189
189
|
|
|
190
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
190
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.js
|
|
191
191
|
var getBearerTokenEnvKey = (signingName) => `AWS_BEARER_TOKEN_${signingName.replace(/[\s-]/g, "_").toUpperCase()}`;
|
|
192
192
|
|
|
193
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
193
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js
|
|
194
194
|
var NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY = "AWS_AUTH_SCHEME_PREFERENCE";
|
|
195
195
|
var NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY = "auth_scheme_preference";
|
|
196
196
|
var NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = {
|
|
@@ -215,7 +215,7 @@ var NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = {
|
|
|
215
215
|
default: []
|
|
216
216
|
};
|
|
217
217
|
|
|
218
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
218
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.js
|
|
219
219
|
var resolveAwsSdkSigV4AConfig = (config) => {
|
|
220
220
|
config.sigv4aSigningRegionSet = normalizeProvider(config.sigv4aSigningRegionSet);
|
|
221
221
|
return config;
|
|
@@ -240,7 +240,7 @@ var NODE_SIGV4A_CONFIG_OPTIONS = {
|
|
|
240
240
|
default: void 0
|
|
241
241
|
};
|
|
242
242
|
|
|
243
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
243
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js
|
|
244
244
|
var bindResolveAwsSdkSigV4Config = (defaultDisableClockSkewCorrection) => (config) => {
|
|
245
245
|
let inputCredentials = config.credentials;
|
|
246
246
|
let isUserSupplied = !!config.credentials;
|
|
@@ -370,7 +370,7 @@ function bindCallerConfig(config, credentialsProvider) {
|
|
|
370
370
|
return fn;
|
|
371
371
|
}
|
|
372
372
|
|
|
373
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
373
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.js
|
|
374
374
|
var ENV_DISABLE_CLOCK_SKEW_CORRECTION = "AWS_DISABLE_CLOCK_SKEW_CORRECTION";
|
|
375
375
|
var CONFIG_DISABLE_CLOCK_SKEW_CORRECTION = "disable_clock_skew_correction";
|
|
376
376
|
var NODE_DISABLE_CLOCK_SKEW_CORRECTION_CONFIG_OPTIONS = {
|
|
@@ -379,13 +379,13 @@ var NODE_DISABLE_CLOCK_SKEW_CORRECTION_CONFIG_OPTIONS = {
|
|
|
379
379
|
default: false
|
|
380
380
|
};
|
|
381
381
|
|
|
382
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
382
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.js
|
|
383
383
|
var DEFAULT_DISABLE_CLOCK_SKEW_CORRECTION = loadConfig(NODE_DISABLE_CLOCK_SKEW_CORRECTION_CONFIG_OPTIONS);
|
|
384
384
|
|
|
385
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
385
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js
|
|
386
386
|
var resolveAwsSdkSigV4Config = bindResolveAwsSdkSigV4Config(DEFAULT_DISABLE_CLOCK_SKEW_CORRECTION);
|
|
387
387
|
|
|
388
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
388
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js
|
|
389
389
|
var ProtocolLib = class {
|
|
390
390
|
queryCompat;
|
|
391
391
|
errorRegistry;
|
|
@@ -519,7 +519,7 @@ var ProtocolLib = class {
|
|
|
519
519
|
}
|
|
520
520
|
};
|
|
521
521
|
|
|
522
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
522
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js
|
|
523
523
|
var AwsRestJsonProtocol = class extends HttpBindingProtocol {
|
|
524
524
|
serializer;
|
|
525
525
|
deserializer;
|
|
@@ -963,7 +963,7 @@ var AwsXmlParser = class _AwsXmlParser {
|
|
|
963
963
|
}
|
|
964
964
|
};
|
|
965
965
|
|
|
966
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
966
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ConfigurableSerdeContext.js
|
|
967
967
|
var SerdeContextConfig = class {
|
|
968
968
|
serdeContext;
|
|
969
969
|
setSerdeContext(serdeContext) {
|
|
@@ -971,7 +971,7 @@ var SerdeContextConfig = class {
|
|
|
971
971
|
}
|
|
972
972
|
};
|
|
973
973
|
|
|
974
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
974
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/protocols/UnionSerde.js
|
|
975
975
|
var UnionSerde = class {
|
|
976
976
|
from;
|
|
977
977
|
to;
|
|
@@ -999,12 +999,12 @@ var UnionSerde = class {
|
|
|
999
999
|
}
|
|
1000
1000
|
};
|
|
1001
1001
|
|
|
1002
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
1002
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/protocols/writeKey.js
|
|
1003
1003
|
function writeKey2(obj) {
|
|
1004
1004
|
Object.defineProperty(obj, "__proto__", { value: void 0, writable: true, enumerable: true, configurable: true });
|
|
1005
1005
|
}
|
|
1006
1006
|
|
|
1007
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
1007
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js
|
|
1008
1008
|
var XmlShapeDeserializer = class extends SerdeContextConfig {
|
|
1009
1009
|
settings;
|
|
1010
1010
|
stringDeserializer;
|
|
@@ -1148,7 +1148,7 @@ var XmlShapeDeserializer = class extends SerdeContextConfig {
|
|
|
1148
1148
|
}
|
|
1149
1149
|
};
|
|
1150
1150
|
|
|
1151
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
1151
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js
|
|
1152
1152
|
var QueryShapeSerializer = class extends SerdeContextConfig {
|
|
1153
1153
|
settings;
|
|
1154
1154
|
buffer;
|
|
@@ -1318,7 +1318,7 @@ var QueryShapeSerializer = class extends SerdeContextConfig {
|
|
|
1318
1318
|
}
|
|
1319
1319
|
};
|
|
1320
1320
|
|
|
1321
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
1321
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js
|
|
1322
1322
|
var AwsQueryProtocol = class extends RpcProtocol {
|
|
1323
1323
|
options;
|
|
1324
1324
|
serializer;
|
|
@@ -1448,7 +1448,7 @@ var AwsQueryProtocol = class extends RpcProtocol {
|
|
|
1448
1448
|
}
|
|
1449
1449
|
};
|
|
1450
1450
|
|
|
1451
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
1451
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/parseXmlBody.js
|
|
1452
1452
|
var loadRestXmlErrorCode = (output, data) => {
|
|
1453
1453
|
if (data?.Error?.Code !== void 0) {
|
|
1454
1454
|
return data.Error.Code;
|
|
@@ -1461,7 +1461,7 @@ var loadRestXmlErrorCode = (output, data) => {
|
|
|
1461
1461
|
}
|
|
1462
1462
|
};
|
|
1463
1463
|
|
|
1464
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
1464
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js
|
|
1465
1465
|
var XmlShapeSerializer = class extends SerdeContextConfig {
|
|
1466
1466
|
settings;
|
|
1467
1467
|
stringBuffer;
|
|
@@ -1728,7 +1728,7 @@ var XmlShapeSerializer = class extends SerdeContextConfig {
|
|
|
1728
1728
|
}
|
|
1729
1729
|
};
|
|
1730
1730
|
|
|
1731
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
1731
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlCodec.js
|
|
1732
1732
|
var XmlCodec = class extends SerdeContextConfig {
|
|
1733
1733
|
settings;
|
|
1734
1734
|
constructor(settings) {
|
|
@@ -1747,7 +1747,7 @@ var XmlCodec = class extends SerdeContextConfig {
|
|
|
1747
1747
|
}
|
|
1748
1748
|
};
|
|
1749
1749
|
|
|
1750
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
1750
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js
|
|
1751
1751
|
var AwsRestXmlProtocol = class extends HttpBindingProtocol {
|
|
1752
1752
|
codec;
|
|
1753
1753
|
serializer;
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/@smithy+types@4.20.0/node_modules/@smithy/types/dist-es/extensions/checksum.js
|
|
2
|
+
var AlgorithmId;
|
|
3
|
+
(function(AlgorithmId2) {
|
|
4
|
+
AlgorithmId2["MD5"] = "md5";
|
|
5
|
+
AlgorithmId2["CRC32"] = "crc32";
|
|
6
|
+
AlgorithmId2["CRC32C"] = "crc32c";
|
|
7
|
+
AlgorithmId2["SHA1"] = "sha1";
|
|
8
|
+
AlgorithmId2["SHA256"] = "sha256";
|
|
9
|
+
})(AlgorithmId || (AlgorithmId = {}));
|
|
10
|
+
|
|
11
|
+
// ../../node_modules/.pnpm/@smithy+types@4.20.0/node_modules/@smithy/types/dist-es/middleware.js
|
|
12
|
+
var SMITHY_CONTEXT_KEY = "__smithy_context";
|
|
13
|
+
|
|
14
|
+
// ../../node_modules/.pnpm/@smithy+types@4.20.0/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.20.0/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.39.0/node_modules/@smithy/core/dist-es/submodules/transport/getSmithyContext.js
|
|
30
|
+
var getSmithyContext = (context) => context[SMITHY_CONTEXT_KEY] || (context[SMITHY_CONTEXT_KEY] = {});
|
|
31
|
+
|
|
32
|
+
// ../../node_modules/.pnpm/@smithy+core@3.39.0/node_modules/@smithy/core/dist-es/submodules/transport/hasOwn.js
|
|
33
|
+
function hasOwn(o, k) {
|
|
34
|
+
return Object.prototype.hasOwnProperty.call(o, k);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// ../../node_modules/.pnpm/@smithy+core@3.39.0/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js
|
|
38
|
+
var normalizeProvider = (input) => {
|
|
39
|
+
if (typeof input === "function") {
|
|
40
|
+
return input;
|
|
41
|
+
}
|
|
42
|
+
const promisified = Promise.resolve(input);
|
|
43
|
+
return () => promisified;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
// ../../node_modules/.pnpm/@smithy+core@3.39.0/node_modules/@smithy/core/dist-es/submodules/transport/httpRequest.js
|
|
47
|
+
var HttpRequest = class _HttpRequest {
|
|
48
|
+
method;
|
|
49
|
+
protocol;
|
|
50
|
+
hostname;
|
|
51
|
+
port;
|
|
52
|
+
path;
|
|
53
|
+
query;
|
|
54
|
+
headers;
|
|
55
|
+
username;
|
|
56
|
+
password;
|
|
57
|
+
fragment;
|
|
58
|
+
body;
|
|
59
|
+
constructor(options) {
|
|
60
|
+
this.method = options.method || "GET";
|
|
61
|
+
this.hostname = options.hostname || "localhost";
|
|
62
|
+
this.port = options.port;
|
|
63
|
+
this.query = options.query || {};
|
|
64
|
+
this.headers = options.headers || {};
|
|
65
|
+
this.body = options.body;
|
|
66
|
+
this.protocol = options.protocol ? options.protocol.slice(-1) !== ":" ? `${options.protocol}:` : options.protocol : "https:";
|
|
67
|
+
this.path = options.path ? options.path.charAt(0) !== "/" ? `/${options.path}` : options.path : "/";
|
|
68
|
+
this.username = options.username;
|
|
69
|
+
this.password = options.password;
|
|
70
|
+
this.fragment = options.fragment;
|
|
71
|
+
}
|
|
72
|
+
static clone(request) {
|
|
73
|
+
const cloned = new _HttpRequest({
|
|
74
|
+
...request,
|
|
75
|
+
headers: { ...request.headers }
|
|
76
|
+
});
|
|
77
|
+
if (cloned.query) {
|
|
78
|
+
cloned.query = cloneQuery(cloned.query);
|
|
79
|
+
}
|
|
80
|
+
return cloned;
|
|
81
|
+
}
|
|
82
|
+
static isInstance(request) {
|
|
83
|
+
if (!request) {
|
|
84
|
+
return false;
|
|
85
|
+
}
|
|
86
|
+
const req = request;
|
|
87
|
+
return "method" in req && "protocol" in req && "hostname" in req && "path" in req && typeof req["query"] === "object" && typeof req["headers"] === "object";
|
|
88
|
+
}
|
|
89
|
+
clone() {
|
|
90
|
+
return _HttpRequest.clone(this);
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
function cloneQuery(query) {
|
|
94
|
+
return Object.keys(query).reduce((carry, paramName) => {
|
|
95
|
+
const param = query[paramName];
|
|
96
|
+
return {
|
|
97
|
+
...carry,
|
|
98
|
+
[paramName]: Array.isArray(param) ? [...param] : param
|
|
99
|
+
};
|
|
100
|
+
}, {});
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// ../../node_modules/.pnpm/@smithy+core@3.39.0/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js
|
|
104
|
+
var HttpResponse = class {
|
|
105
|
+
statusCode;
|
|
106
|
+
reason;
|
|
107
|
+
headers;
|
|
108
|
+
body;
|
|
109
|
+
constructor(options) {
|
|
110
|
+
this.statusCode = options.statusCode;
|
|
111
|
+
this.reason = options.reason;
|
|
112
|
+
this.headers = options.headers || {};
|
|
113
|
+
this.body = options.body;
|
|
114
|
+
}
|
|
115
|
+
static isInstance(response) {
|
|
116
|
+
if (!response) {
|
|
117
|
+
return false;
|
|
118
|
+
}
|
|
119
|
+
const resp = response;
|
|
120
|
+
return typeof resp.statusCode === "number" && typeof resp.headers === "object";
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
// ../../node_modules/.pnpm/@smithy+core@3.39.0/node_modules/@smithy/core/dist-es/submodules/transport/isValidHostLabel.js
|
|
125
|
+
var VALID_HOST_LABEL_REGEX = new RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`);
|
|
126
|
+
var isValidHostLabel = (value, allowSubDomains = false) => {
|
|
127
|
+
if (!allowSubDomains) {
|
|
128
|
+
return VALID_HOST_LABEL_REGEX.test(value);
|
|
129
|
+
}
|
|
130
|
+
const labels = value.split(".");
|
|
131
|
+
for (const label of labels) {
|
|
132
|
+
if (!isValidHostLabel(label)) {
|
|
133
|
+
return false;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
return true;
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
// ../../node_modules/.pnpm/@smithy+core@3.39.0/node_modules/@smithy/core/dist-es/submodules/transport/parseQueryString.js
|
|
140
|
+
function parseQueryString(querystring) {
|
|
141
|
+
const query = {};
|
|
142
|
+
querystring = querystring.replace(/^\?/, "");
|
|
143
|
+
if (querystring) {
|
|
144
|
+
for (const pair of querystring.split("&")) {
|
|
145
|
+
let [key, value = null] = pair.split("=");
|
|
146
|
+
key = decodeURIComponent(key);
|
|
147
|
+
if (value) {
|
|
148
|
+
value = decodeURIComponent(value);
|
|
149
|
+
}
|
|
150
|
+
if (!(key in query)) {
|
|
151
|
+
query[key] = value;
|
|
152
|
+
} else if (Array.isArray(query[key])) {
|
|
153
|
+
query[key].push(value);
|
|
154
|
+
} else {
|
|
155
|
+
query[key] = [query[key], value];
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
return query;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
// ../../node_modules/.pnpm/@smithy+core@3.39.0/node_modules/@smithy/core/dist-es/submodules/transport/parseUrl.js
|
|
163
|
+
var parseUrl = (url) => {
|
|
164
|
+
if (typeof url === "string") {
|
|
165
|
+
return parseUrl(new URL(url));
|
|
166
|
+
}
|
|
167
|
+
const { hostname, pathname, port, protocol, search } = url;
|
|
168
|
+
let query;
|
|
169
|
+
if (search) {
|
|
170
|
+
query = parseQueryString(search);
|
|
171
|
+
}
|
|
172
|
+
return {
|
|
173
|
+
hostname,
|
|
174
|
+
port: port ? parseInt(port) : void 0,
|
|
175
|
+
protocol,
|
|
176
|
+
path: pathname,
|
|
177
|
+
query
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
// ../../node_modules/.pnpm/@smithy+core@3.39.0/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js
|
|
182
|
+
var toEndpointV1 = (endpoint) => {
|
|
183
|
+
if (typeof endpoint === "object") {
|
|
184
|
+
if ("url" in endpoint) {
|
|
185
|
+
const v1Endpoint = parseUrl(endpoint.url);
|
|
186
|
+
if (endpoint.headers) {
|
|
187
|
+
v1Endpoint.headers = {};
|
|
188
|
+
for (const name in endpoint.headers) {
|
|
189
|
+
if (!hasOwn(endpoint.headers, name)) {
|
|
190
|
+
continue;
|
|
191
|
+
}
|
|
192
|
+
v1Endpoint.headers[name.toLowerCase()] = endpoint.headers[name].join(", ");
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
return v1Endpoint;
|
|
196
|
+
}
|
|
197
|
+
return endpoint;
|
|
198
|
+
}
|
|
199
|
+
return parseUrl(endpoint);
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
export {
|
|
203
|
+
EndpointURLScheme,
|
|
204
|
+
AlgorithmId,
|
|
205
|
+
SMITHY_CONTEXT_KEY,
|
|
206
|
+
IniSectionType,
|
|
207
|
+
getSmithyContext,
|
|
208
|
+
hasOwn,
|
|
209
|
+
HttpRequest,
|
|
210
|
+
HttpResponse,
|
|
211
|
+
isValidHostLabel,
|
|
212
|
+
normalizeProvider,
|
|
213
|
+
parseUrl,
|
|
214
|
+
toEndpointV1
|
|
215
|
+
};
|