@larkup/cli 0.3.14 → 0.3.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-WH6SGG26.js → chunk-54YIZOXQ.js} +2 -2
- package/dist/{chunk-V5MXHOEA.js → chunk-6HRBZ7QP.js} +3 -3
- package/dist/{chunk-IJE2RPSN.js → chunk-6VBJAFWY.js} +62 -54
- package/dist/{chunk-DE4VP425.js → chunk-CUA3FHFQ.js} +2 -2
- package/dist/{chunk-LCK6D6SK.js → chunk-DTRGAEFR.js} +4 -4
- package/dist/{chunk-CQ7NVYHT.js → chunk-FMBWCTFV.js} +71 -62
- package/dist/chunk-GYXT77I3.js +515 -0
- package/dist/{chunk-Z3C6M6AJ.js → chunk-HYYSI5FE.js} +95 -64
- package/dist/{event-streams-JRBKH3UT.js → chunk-PFTSXAZG.js} +31 -32
- package/dist/chunk-TFGGCUFR.js +126 -0
- package/dist/{chunk-KA5D5NKN.js → chunk-VZAREDRR.js} +3 -3
- package/dist/{chunk-CVBK47OT.js → chunk-YOPP3ETL.js} +94 -77
- package/dist/{chunk-HX45PZFR.js → chunk-ZH2A3TFQ.js} +39 -39
- package/dist/{dist-es-2UI7ONZZ.js → dist-es-3SVFRI6P.js} +242 -219
- package/dist/{dist-es-Y73OHM5Y.js → dist-es-CM7567P2.js} +8 -9
- package/dist/{dist-es-UJY2ZAAU.js → dist-es-DC3KLBPR.js} +9 -10
- package/dist/{dist-es-OED5OOKX.js → dist-es-FEVR73CQ.js} +8 -9
- package/dist/{dist-es-5D5ADEYS.js → dist-es-IS5PH45I.js} +24 -32
- package/dist/{dist-es-KL7UCI6C.js → dist-es-KY7QTIEX.js} +22 -23
- package/dist/{dist-es-QQMKUAEQ.js → dist-es-M6OXVHSI.js} +2 -3
- package/dist/{dist-es-MAY5SYH5.js → dist-es-OB4H2RSG.js} +10 -11
- package/dist/{dist-es-IAOJLUTI.js → dist-es-PY4YS7TC.js} +9 -13
- package/dist/{dist-es-FI7PADBF.js → dist-es-ZDCXFYRX.js} +5 -6
- package/dist/{event-streams-IXBDR476.js → event-streams-KOWL2S4G.js} +3 -3
- package/dist/index.js +46 -26
- package/dist/{loadSso-S4KING47.js → loadSso-OLMNBQ4H.js} +67 -67
- package/dist/{signin-ALRQUKQQ.js → signin-NBTUJ5KD.js} +71 -71
- package/dist/{sso-oidc-D3TLLZUS.js → sso-oidc-WNK6HQX7.js} +77 -70
- package/dist/{sts-PHP2EVI2.js → sts-TGY2Y4DZ.js} +79 -76
- package/package.json +11 -11
- package/dist/chunk-FNZK42G6.js +0 -73
- package/dist/chunk-HBASLJRD.js +0 -1426
- package/dist/chunk-LREGQMME.js +0 -1280
- package/dist/chunk-M5367BNN.js +0 -184
- package/dist/chunk-WXRKGSWM.js +0 -34
- package/dist/chunk-XEB2OVD6.js +0 -648
- package/dist/chunk-XFLXM5WU.js +0 -2394
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HttpRequest,
|
|
3
3
|
HttpResponse,
|
|
4
|
+
IniSectionType,
|
|
4
5
|
LazyJsonString,
|
|
5
6
|
NormalizedSchema,
|
|
6
7
|
NumericValue,
|
|
@@ -23,12 +24,9 @@ import {
|
|
|
23
24
|
toBase64,
|
|
24
25
|
toUtf8,
|
|
25
26
|
translateTraits
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import {
|
|
28
|
-
IniSectionType
|
|
29
|
-
} from "./chunk-WXRKGSWM.js";
|
|
27
|
+
} from "./chunk-HYYSI5FE.js";
|
|
30
28
|
|
|
31
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
29
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/property-provider/ProviderError.js
|
|
32
30
|
var ProviderError = class _ProviderError extends Error {
|
|
33
31
|
name = "ProviderError";
|
|
34
32
|
tryNextLink;
|
|
@@ -52,7 +50,7 @@ var ProviderError = class _ProviderError extends Error {
|
|
|
52
50
|
}
|
|
53
51
|
};
|
|
54
52
|
|
|
55
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
53
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/property-provider/CredentialsProviderError.js
|
|
56
54
|
var CredentialsProviderError = class _CredentialsProviderError extends ProviderError {
|
|
57
55
|
name = "CredentialsProviderError";
|
|
58
56
|
constructor(message, options = true) {
|
|
@@ -61,15 +59,15 @@ var CredentialsProviderError = class _CredentialsProviderError extends ProviderE
|
|
|
61
59
|
}
|
|
62
60
|
};
|
|
63
61
|
|
|
64
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
62
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getProfileName.js
|
|
65
63
|
var ENV_PROFILE = "AWS_PROFILE";
|
|
66
64
|
var DEFAULT_PROFILE = "default";
|
|
67
65
|
var getProfileName = (init) => init.profile || process.env[ENV_PROFILE] || DEFAULT_PROFILE;
|
|
68
66
|
|
|
69
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
67
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigFilepath.js
|
|
70
68
|
import { join } from "path";
|
|
71
69
|
|
|
72
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
70
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js
|
|
73
71
|
import { homedir } from "os";
|
|
74
72
|
import { sep } from "path";
|
|
75
73
|
var homeDirCache = {};
|
|
@@ -93,17 +91,17 @@ var getHomeDir = () => {
|
|
|
93
91
|
return homeDirCache[homeDirCacheKey];
|
|
94
92
|
};
|
|
95
93
|
|
|
96
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
94
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigFilepath.js
|
|
97
95
|
var ENV_CONFIG_PATH = "AWS_CONFIG_FILE";
|
|
98
96
|
var getConfigFilepath = () => process.env[ENV_CONFIG_PATH] || join(getHomeDir(), ".aws", "config");
|
|
99
97
|
|
|
100
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
98
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.js
|
|
101
99
|
import { join as join3 } from "path";
|
|
102
100
|
|
|
103
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
101
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/constants.js
|
|
104
102
|
var CONFIG_PREFIX_SEPARATOR = ".";
|
|
105
103
|
|
|
106
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
104
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigData.js
|
|
107
105
|
var getConfigData = (data) => Object.entries(data).filter(([key]) => {
|
|
108
106
|
const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR);
|
|
109
107
|
if (indexOfSeparator === -1) {
|
|
@@ -119,12 +117,12 @@ var getConfigData = (data) => Object.entries(data).filter(([key]) => {
|
|
|
119
117
|
...data.default && { default: data.default }
|
|
120
118
|
});
|
|
121
119
|
|
|
122
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
120
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getCredentialsFilepath.js
|
|
123
121
|
import { join as join2 } from "path";
|
|
124
122
|
var ENV_CREDENTIALS_PATH = "AWS_SHARED_CREDENTIALS_FILE";
|
|
125
123
|
var getCredentialsFilepath = () => process.env[ENV_CREDENTIALS_PATH] || join2(getHomeDir(), ".aws", "credentials");
|
|
126
124
|
|
|
127
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
125
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseIni.js
|
|
128
126
|
var prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@+.%:/]+)\2$/;
|
|
129
127
|
var profileNameBlockList = ["__proto__", "profile __proto__"];
|
|
130
128
|
var parseIni = (iniData) => {
|
|
@@ -173,7 +171,7 @@ var parseIni = (iniData) => {
|
|
|
173
171
|
return map;
|
|
174
172
|
};
|
|
175
173
|
|
|
176
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
174
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/readFile.js
|
|
177
175
|
import { readFile as fsReadFile } from "fs/promises";
|
|
178
176
|
var filePromises = {};
|
|
179
177
|
var fileIntercept = {};
|
|
@@ -187,7 +185,7 @@ var readFile = (path, options) => {
|
|
|
187
185
|
return filePromises[path];
|
|
188
186
|
};
|
|
189
187
|
|
|
190
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
188
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.js
|
|
191
189
|
var swallowError = () => ({});
|
|
192
190
|
var loadSharedConfigFiles = async (init = {}) => {
|
|
193
191
|
const { filepath = getCredentialsFilepath(), configFilepath = getConfigFilepath() } = init;
|
|
@@ -215,14 +213,14 @@ var loadSharedConfigFiles = async (init = {}) => {
|
|
|
215
213
|
};
|
|
216
214
|
};
|
|
217
215
|
|
|
218
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
216
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSsoSessionData.js
|
|
219
217
|
var getSsoSessionData = (data) => Object.entries(data).filter(([key]) => key.startsWith(IniSectionType.SSO_SESSION + CONFIG_PREFIX_SEPARATOR)).reduce((acc, [key, value]) => ({ ...acc, [key.substring(key.indexOf(CONFIG_PREFIX_SEPARATOR) + 1)]: value }), {});
|
|
220
218
|
|
|
221
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
219
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSsoSessionData.js
|
|
222
220
|
var swallowError2 = () => ({});
|
|
223
221
|
var loadSsoSessionData = async (init = {}) => readFile(init.configFilepath ?? getConfigFilepath()).then(parseIni).then(getSsoSessionData).catch(swallowError2);
|
|
224
222
|
|
|
225
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
223
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/mergeConfigFiles.js
|
|
226
224
|
var mergeConfigFiles = (...files) => {
|
|
227
225
|
const merged = {};
|
|
228
226
|
for (const file of files) {
|
|
@@ -237,16 +235,16 @@ var mergeConfigFiles = (...files) => {
|
|
|
237
235
|
return merged;
|
|
238
236
|
};
|
|
239
237
|
|
|
240
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
238
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseKnownFiles.js
|
|
241
239
|
var parseKnownFiles = async (init) => {
|
|
242
240
|
const parsedFiles = await loadSharedConfigFiles(init);
|
|
243
241
|
return mergeConfigFiles(parsedFiles.configFile, parsedFiles.credentialsFile);
|
|
244
242
|
};
|
|
245
243
|
|
|
246
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
244
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.js
|
|
247
245
|
import { readFile as readFile2 } from "fs/promises";
|
|
248
246
|
|
|
249
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
247
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFilepath.js
|
|
250
248
|
import { createHash } from "crypto";
|
|
251
249
|
import { join as join4 } from "path";
|
|
252
250
|
var getSSOTokenFilepath = (id) => {
|
|
@@ -255,7 +253,7 @@ var getSSOTokenFilepath = (id) => {
|
|
|
255
253
|
return join4(getHomeDir(), ".aws", "sso", "cache", `${cacheName}.json`);
|
|
256
254
|
};
|
|
257
255
|
|
|
258
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
256
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.js
|
|
259
257
|
var tokenIntercept = {};
|
|
260
258
|
var getSSOTokenFromFile = async (id) => {
|
|
261
259
|
if (tokenIntercept[id]) {
|
|
@@ -266,7 +264,7 @@ var getSSOTokenFromFile = async (id) => {
|
|
|
266
264
|
return JSON.parse(ssoTokenText);
|
|
267
265
|
};
|
|
268
266
|
|
|
269
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
267
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/externalDataInterceptor.js
|
|
270
268
|
var externalDataInterceptor = {
|
|
271
269
|
getFileRecord() {
|
|
272
270
|
return fileIntercept;
|
|
@@ -282,7 +280,7 @@ var externalDataInterceptor = {
|
|
|
282
280
|
}
|
|
283
281
|
};
|
|
284
282
|
|
|
285
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
283
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/property-provider/chain.js
|
|
286
284
|
var chain = (...providers) => async () => {
|
|
287
285
|
if (providers.length === 0) {
|
|
288
286
|
throw new ProviderError("No providers in chain");
|
|
@@ -303,7 +301,7 @@ var chain = (...providers) => async () => {
|
|
|
303
301
|
throw lastProviderError;
|
|
304
302
|
};
|
|
305
303
|
|
|
306
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
304
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/property-provider/memoize.js
|
|
307
305
|
var memoize = (provider, isExpired, requiresRefresh) => {
|
|
308
306
|
let resolved;
|
|
309
307
|
let pending;
|
|
@@ -349,7 +347,7 @@ var memoize = (provider, isExpired, requiresRefresh) => {
|
|
|
349
347
|
};
|
|
350
348
|
};
|
|
351
349
|
|
|
352
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
350
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/getSelectorName.js
|
|
353
351
|
function getSelectorName(functionString) {
|
|
354
352
|
try {
|
|
355
353
|
const constants = new Set(Array.from(functionString.match(/([A-Z_]){3,}/g) ?? []));
|
|
@@ -362,7 +360,7 @@ function getSelectorName(functionString) {
|
|
|
362
360
|
}
|
|
363
361
|
}
|
|
364
362
|
|
|
365
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
363
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromEnv.js
|
|
366
364
|
var fromEnv = (envVarSelector, options) => async () => {
|
|
367
365
|
try {
|
|
368
366
|
const config = envVarSelector(process.env, options);
|
|
@@ -375,7 +373,7 @@ var fromEnv = (envVarSelector, options) => async () => {
|
|
|
375
373
|
}
|
|
376
374
|
};
|
|
377
375
|
|
|
378
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
376
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromSharedConfigFiles.js
|
|
379
377
|
var fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...init } = {}) => async () => {
|
|
380
378
|
const profile = getProfileName(init);
|
|
381
379
|
const { configFile, credentialsFile } = await loadSharedConfigFiles(init);
|
|
@@ -394,21 +392,21 @@ var fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...init
|
|
|
394
392
|
}
|
|
395
393
|
};
|
|
396
394
|
|
|
397
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
395
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/property-provider/fromValue.js
|
|
398
396
|
var fromValue = (staticValue) => () => Promise.resolve(staticValue);
|
|
399
397
|
|
|
400
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
398
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromStatic.js
|
|
401
399
|
var isFunction = (func) => typeof func === "function";
|
|
402
400
|
var fromStatic = (defaultValue) => isFunction(defaultValue) ? async () => await defaultValue() : fromValue(defaultValue);
|
|
403
401
|
|
|
404
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
402
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/configLoader.js
|
|
405
403
|
var loadConfig = ({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => {
|
|
406
404
|
const { signingName, logger } = configuration;
|
|
407
405
|
const envOptions = { signingName, logger };
|
|
408
406
|
return memoize(chain(fromEnv(environmentVariableSelector, envOptions), fromSharedConfigFiles(configFileSelector, configuration), fromStatic(defaultValue)));
|
|
409
407
|
};
|
|
410
408
|
|
|
411
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
409
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/checkRegion.js
|
|
412
410
|
var validRegions = /* @__PURE__ */ new Set();
|
|
413
411
|
var checkRegion = (region, check = isValidHostLabel) => {
|
|
414
412
|
if (!validRegions.has(region) && !check(region)) {
|
|
@@ -422,13 +420,13 @@ var checkRegion = (region, check = isValidHostLabel) => {
|
|
|
422
420
|
}
|
|
423
421
|
};
|
|
424
422
|
|
|
425
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
423
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/isFipsRegion.js
|
|
426
424
|
var isFipsRegion = (region) => typeof region === "string" && (region.startsWith("fips-") || region.endsWith("-fips"));
|
|
427
425
|
|
|
428
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
426
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getRealRegion.js
|
|
429
427
|
var getRealRegion = (region) => isFipsRegion(region) ? ["fips-aws-global", "aws-fips"].includes(region) ? "us-east-1" : region.replace(/fips-(dkr-|prod-)?|-fips/, "") : region;
|
|
430
428
|
|
|
431
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
429
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/resolveRegionConfig.js
|
|
432
430
|
var resolveRegionConfig = (input) => {
|
|
433
431
|
const { region, useFipsEndpoint } = input;
|
|
434
432
|
if (!region) {
|
|
@@ -451,7 +449,16 @@ var resolveRegionConfig = (input) => {
|
|
|
451
449
|
});
|
|
452
450
|
};
|
|
453
451
|
|
|
454
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
452
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/property-provider/TokenProviderError.js
|
|
453
|
+
var TokenProviderError = class _TokenProviderError extends ProviderError {
|
|
454
|
+
name = "TokenProviderError";
|
|
455
|
+
constructor(message, options = true) {
|
|
456
|
+
super(message, options);
|
|
457
|
+
Object.setPrototypeOf(this, _TokenProviderError.prototype);
|
|
458
|
+
}
|
|
459
|
+
};
|
|
460
|
+
|
|
461
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js
|
|
455
462
|
var booleanSelector = (obj, key, type) => {
|
|
456
463
|
if (!(key in obj))
|
|
457
464
|
return void 0;
|
|
@@ -462,14 +469,14 @@ var booleanSelector = (obj, key, type) => {
|
|
|
462
469
|
throw new Error(`Cannot load ${type} "${key}". Expected "true" or "false", got ${obj[key]}.`);
|
|
463
470
|
};
|
|
464
471
|
|
|
465
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
472
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/types.js
|
|
466
473
|
var SelectorType;
|
|
467
474
|
(function(SelectorType2) {
|
|
468
475
|
SelectorType2["ENV"] = "env";
|
|
469
476
|
SelectorType2["CONFIG"] = "shared config entry";
|
|
470
477
|
})(SelectorType || (SelectorType = {}));
|
|
471
478
|
|
|
472
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
479
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js
|
|
473
480
|
var ENV_USE_DUALSTACK_ENDPOINT = "AWS_USE_DUALSTACK_ENDPOINT";
|
|
474
481
|
var CONFIG_USE_DUALSTACK_ENDPOINT = "use_dualstack_endpoint";
|
|
475
482
|
var NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = {
|
|
@@ -478,7 +485,7 @@ var NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = {
|
|
|
478
485
|
default: false
|
|
479
486
|
};
|
|
480
487
|
|
|
481
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
488
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseFipsEndpointConfigOptions.js
|
|
482
489
|
var ENV_USE_FIPS_ENDPOINT = "AWS_USE_FIPS_ENDPOINT";
|
|
483
490
|
var CONFIG_USE_FIPS_ENDPOINT = "use_fips_endpoint";
|
|
484
491
|
var NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {
|
|
@@ -487,7 +494,7 @@ var NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {
|
|
|
487
494
|
default: false
|
|
488
495
|
};
|
|
489
496
|
|
|
490
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
497
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/constants.js
|
|
491
498
|
var AWS_EXECUTION_ENV = "AWS_EXECUTION_ENV";
|
|
492
499
|
var AWS_REGION_ENV = "AWS_REGION";
|
|
493
500
|
var AWS_DEFAULT_REGION_ENV = "AWS_DEFAULT_REGION";
|
|
@@ -498,7 +505,7 @@ var IMDS_TOKEN_PATH = "/latest/api/token";
|
|
|
498
505
|
var X_AWS_EC2_METADATA_TOKEN = "x-aws-ec2-metadata-token";
|
|
499
506
|
var X_AWS_EC2_METADATA_TOKEN_TTL = "x-aws-ec2-metadata-token-ttl-seconds";
|
|
500
507
|
|
|
501
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
508
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.js
|
|
502
509
|
var TIMEOUT_MS = 1e3;
|
|
503
510
|
var NEG_CACHE_TTL_MS = 6e4;
|
|
504
511
|
var negativeCacheUntil = 0;
|
|
@@ -588,7 +595,7 @@ var imdsRequest = async (options) => {
|
|
|
588
595
|
});
|
|
589
596
|
};
|
|
590
597
|
|
|
591
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
598
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/config.js
|
|
592
599
|
var REGION_ENV_NAME = "AWS_REGION";
|
|
593
600
|
var REGION_INI_NAME = "region";
|
|
594
601
|
var NODE_REGION_CONFIG_OPTIONS = {
|
|
@@ -606,7 +613,7 @@ var NODE_REGION_CONFIG_FILE_OPTIONS = {
|
|
|
606
613
|
preferredFile: "credentials"
|
|
607
614
|
};
|
|
608
615
|
|
|
609
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
616
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/defaultsModeConfig.js
|
|
610
617
|
var AWS_DEFAULTS_MODE_ENV = "AWS_DEFAULTS_MODE";
|
|
611
618
|
var AWS_DEFAULTS_MODE_CONFIG = "defaults_mode";
|
|
612
619
|
var NODE_DEFAULTS_MODE_CONFIG_OPTIONS = {
|
|
@@ -619,7 +626,7 @@ var NODE_DEFAULTS_MODE_CONFIG_OPTIONS = {
|
|
|
619
626
|
default: "legacy"
|
|
620
627
|
};
|
|
621
628
|
|
|
622
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
629
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.js
|
|
623
630
|
var resolveDefaultsModeConfig = ({ region = loadConfig(NODE_REGION_CONFIG_OPTIONS), defaultsMode = loadConfig(NODE_DEFAULTS_MODE_CONFIG_OPTIONS) } = {}) => memoize(async () => {
|
|
624
631
|
const mode = typeof defaultsMode === "function" ? await defaultsMode() : defaultsMode;
|
|
625
632
|
switch (mode?.toLowerCase()) {
|
|
@@ -659,7 +666,7 @@ var inferPhysicalRegion = async () => {
|
|
|
659
666
|
return getInstanceMetadataRegion();
|
|
660
667
|
};
|
|
661
668
|
|
|
662
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
669
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js
|
|
663
670
|
var CONTENT_LENGTH_HEADER = "content-length";
|
|
664
671
|
function contentLengthMiddleware(bodyLengthChecker) {
|
|
665
672
|
return (next) => async (args) => {
|
|
@@ -697,7 +704,7 @@ var getContentLengthPlugin = (options) => ({
|
|
|
697
704
|
}
|
|
698
705
|
});
|
|
699
706
|
|
|
700
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
707
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js
|
|
701
708
|
var collectBody = async (streamBody = new Uint8Array(), context) => {
|
|
702
709
|
if (streamBody instanceof Uint8Array) {
|
|
703
710
|
return Uint8ArrayBlobAdapter.mutate(streamBody);
|
|
@@ -709,14 +716,14 @@ var collectBody = async (streamBody = new Uint8Array(), context) => {
|
|
|
709
716
|
return Uint8ArrayBlobAdapter.mutate(await fromContext);
|
|
710
717
|
};
|
|
711
718
|
|
|
712
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
719
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/extended-encode-uri-component.js
|
|
713
720
|
function extendedEncodeURIComponent(str) {
|
|
714
721
|
return encodeURIComponent(str).replace(/[!'()*]/g, function(c) {
|
|
715
722
|
return "%" + c.charCodeAt(0).toString(16).toUpperCase();
|
|
716
723
|
});
|
|
717
724
|
}
|
|
718
725
|
|
|
719
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
726
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/SerdeContext.js
|
|
720
727
|
var SerdeContext = class {
|
|
721
728
|
serdeContext;
|
|
722
729
|
setSerdeContext(serdeContext) {
|
|
@@ -724,7 +731,7 @@ var SerdeContext = class {
|
|
|
724
731
|
}
|
|
725
732
|
};
|
|
726
733
|
|
|
727
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
734
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js
|
|
728
735
|
var HttpProtocol = class extends SerdeContext {
|
|
729
736
|
options;
|
|
730
737
|
compositeErrorRegistry;
|
|
@@ -880,7 +887,7 @@ var HttpProtocol = class extends SerdeContext {
|
|
|
880
887
|
});
|
|
881
888
|
}
|
|
882
889
|
async loadEventStreamCapability() {
|
|
883
|
-
const { EventStreamSerde, eventStreamSerdeProvider } = await import("./event-streams-
|
|
890
|
+
const { EventStreamSerde, eventStreamSerdeProvider } = await import("./event-streams-KOWL2S4G.js");
|
|
884
891
|
const marshaller = this.resolveEventStreamMarshaller(eventStreamSerdeProvider);
|
|
885
892
|
return new EventStreamSerde({
|
|
886
893
|
marshaller,
|
|
@@ -918,7 +925,7 @@ var HttpProtocol = class extends SerdeContext {
|
|
|
918
925
|
}
|
|
919
926
|
};
|
|
920
927
|
|
|
921
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
928
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js
|
|
922
929
|
var HttpBindingProtocol = class extends HttpProtocol {
|
|
923
930
|
async serializeRequest(operationSchema, _input, context) {
|
|
924
931
|
const input = _input && typeof _input === "object" ? _input : {};
|
|
@@ -1190,7 +1197,7 @@ var HttpBindingProtocol = class extends HttpProtocol {
|
|
|
1190
1197
|
}
|
|
1191
1198
|
};
|
|
1192
1199
|
|
|
1193
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1200
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js
|
|
1194
1201
|
var RpcProtocol = class extends HttpProtocol {
|
|
1195
1202
|
async serializeRequest(operationSchema, _input, context) {
|
|
1196
1203
|
const serializer = this.serializer;
|
|
@@ -1279,7 +1286,7 @@ var RpcProtocol = class extends HttpProtocol {
|
|
|
1279
1286
|
}
|
|
1280
1287
|
};
|
|
1281
1288
|
|
|
1282
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1289
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js
|
|
1283
1290
|
function determineTimestampFormat(ns, settings) {
|
|
1284
1291
|
if (settings.timestampFormat.useTrait) {
|
|
1285
1292
|
if (ns.isTimestampSchema() && (ns.getSchema() === 5 || ns.getSchema() === 6 || ns.getSchema() === 7)) {
|
|
@@ -1291,7 +1298,7 @@ function determineTimestampFormat(ns, settings) {
|
|
|
1291
1298
|
return bindingFormat ?? settings.timestampFormat.default;
|
|
1292
1299
|
}
|
|
1293
1300
|
|
|
1294
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1301
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js
|
|
1295
1302
|
var FromStringShapeDeserializer = class extends SerdeContext {
|
|
1296
1303
|
settings;
|
|
1297
1304
|
constructor(settings) {
|
|
@@ -1353,7 +1360,7 @@ var FromStringShapeDeserializer = class extends SerdeContext {
|
|
|
1353
1360
|
}
|
|
1354
1361
|
};
|
|
1355
1362
|
|
|
1356
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1363
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js
|
|
1357
1364
|
var HttpInterceptingShapeDeserializer = class extends SerdeContext {
|
|
1358
1365
|
codecDeserializer;
|
|
1359
1366
|
stringDeserializer;
|
|
@@ -1392,7 +1399,7 @@ var HttpInterceptingShapeDeserializer = class extends SerdeContext {
|
|
|
1392
1399
|
}
|
|
1393
1400
|
};
|
|
1394
1401
|
|
|
1395
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1402
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js
|
|
1396
1403
|
var ToStringShapeSerializer = class extends SerdeContext {
|
|
1397
1404
|
settings;
|
|
1398
1405
|
stringBuffer = "";
|
|
@@ -1479,7 +1486,7 @@ var ToStringShapeSerializer = class extends SerdeContext {
|
|
|
1479
1486
|
}
|
|
1480
1487
|
};
|
|
1481
1488
|
|
|
1482
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1489
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeSerializer.js
|
|
1483
1490
|
var HttpInterceptingShapeSerializer = class {
|
|
1484
1491
|
codecSerializer;
|
|
1485
1492
|
stringSerializer;
|
|
@@ -1512,7 +1519,7 @@ var HttpInterceptingShapeSerializer = class {
|
|
|
1512
1519
|
}
|
|
1513
1520
|
};
|
|
1514
1521
|
|
|
1515
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1522
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js
|
|
1516
1523
|
var getHttpHandlerExtensionConfiguration = (runtimeConfig) => {
|
|
1517
1524
|
if (runtimeConfig.logger && runtimeConfig.logger.constructor?.name !== "NoOpLogger") {
|
|
1518
1525
|
runtimeConfig.requestHandler?.updateHttpClientConfig?.(Symbol.for("logger"), runtimeConfig.logger);
|
|
@@ -1538,11 +1545,11 @@ var resolveHttpHandlerRuntimeConfig = (httpHandlerExtensionConfiguration) => {
|
|
|
1538
1545
|
};
|
|
1539
1546
|
};
|
|
1540
1547
|
|
|
1541
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1548
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/util-uri-escape/escape-uri.js
|
|
1542
1549
|
var escapeUri = (uri) => encodeURIComponent(uri).replace(/[!'()*]/g, hexEncode);
|
|
1543
1550
|
var hexEncode = (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`;
|
|
1544
1551
|
|
|
1545
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1552
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/querystring-builder/buildQueryString.js
|
|
1546
1553
|
function buildQueryString(query) {
|
|
1547
1554
|
const parts = [];
|
|
1548
1555
|
for (let key of Object.keys(query).sort()) {
|
|
@@ -1566,11 +1573,13 @@ function buildQueryString(query) {
|
|
|
1566
1573
|
export {
|
|
1567
1574
|
ProviderError,
|
|
1568
1575
|
CredentialsProviderError,
|
|
1576
|
+
TokenProviderError,
|
|
1569
1577
|
chain,
|
|
1570
1578
|
booleanSelector,
|
|
1571
1579
|
SelectorType,
|
|
1572
1580
|
ENV_PROFILE,
|
|
1573
1581
|
getProfileName,
|
|
1582
|
+
getSSOTokenFilepath,
|
|
1574
1583
|
getSSOTokenFromFile,
|
|
1575
1584
|
CONFIG_PREFIX_SEPARATOR,
|
|
1576
1585
|
loadSsoSessionData,
|