@stacksjs/actions 0.70.16 → 0.70.18
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/build.js +8 -8
- package/dist/{chunk-wn25qps4.js → chunk-2vba9ke6.js} +25 -34
- package/dist/{chunk-hd6fdt5s.js → chunk-38cnnp2b.js} +4 -6
- package/dist/{chunk-6xeh1279.js → chunk-76zhb40c.js} +6 -7
- package/dist/{chunk-bh25aaf7.js → chunk-7s5qcjkt.js} +9 -17
- package/dist/{chunk-gdzs9jf4.js → chunk-9exgwfkw.js} +4 -5
- package/dist/{chunk-hfkdpbh8.js → chunk-c0b89186.js} +8 -8
- package/dist/{chunk-y73a5ex0.js → chunk-dhnwmbca.js} +28 -29
- package/dist/{chunk-wvzpmd54.js → chunk-e7mp4xy5.js} +10 -13
- package/dist/{chunk-ad9b7jvj.js → chunk-f6a9g4qa.js} +4 -5
- package/dist/{chunk-jdqxwpvc.js → chunk-gtghjj5c.js} +79 -35
- package/dist/{chunk-kz10a3s9.js → chunk-ky5192ey.js} +82 -85
- package/dist/{chunk-8dsect0a.js → chunk-qkm8e752.js} +4 -5
- package/dist/{chunk-6xbhnbwy.js → chunk-shmtrj5e.js} +17 -21
- package/dist/{chunk-9menqd9a.js → chunk-t5em30ak.js} +16 -24
- package/dist/{chunk-cv02w7e2.js → chunk-v1m830st.js} +3 -3
- package/dist/{chunk-0crtxf8d.js → chunk-veja9rez.js} +156 -19
- package/dist/{chunk-whqcyjvm.js → chunk-xgpn959d.js} +13 -8
- package/dist/{chunk-b5g5w1hh.js → chunk-xt9exr2c.js} +5 -6
- package/dist/{chunk-f1cxwjkf.js → chunk-zsm2c35w.js} +5 -6
- package/dist/chunk-zzerxbrm.js +107 -0
- package/dist/database/seed.js +7 -7
- package/dist/generate/index.js +8 -8
- package/dist/index.js +8 -8
- package/dist/release.js +8 -8
- package/dist/upgrade.js +1 -1
- package/package.json +17 -17
- package/dist/chunk-2m04vhea.js +0 -145
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
ENV_KEY,
|
|
3
3
|
ENV_SECRET,
|
|
4
4
|
fromEnv
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-qkm8e752.js";
|
|
6
6
|
import {
|
|
7
7
|
h,
|
|
8
8
|
x
|
|
@@ -22,6 +22,8 @@ import {
|
|
|
22
22
|
calculateBodyLength,
|
|
23
23
|
createDefaultUserAgentProvider,
|
|
24
24
|
customEndpointFunctions,
|
|
25
|
+
fromBase64,
|
|
26
|
+
fromUtf8,
|
|
25
27
|
getAwsRegionExtensionConfiguration,
|
|
26
28
|
getContentLengthPlugin,
|
|
27
29
|
getEndpointPlugin,
|
|
@@ -30,9 +32,7 @@ import {
|
|
|
30
32
|
getRecursionDetectionPlugin,
|
|
31
33
|
getRetryPlugin,
|
|
32
34
|
getSerdePlugin,
|
|
33
|
-
getSmithyContext,
|
|
34
35
|
getUserAgentPlugin,
|
|
35
|
-
normalizeProvider,
|
|
36
36
|
resolveAwsRegionExtensionConfiguration,
|
|
37
37
|
resolveDefaultsModeConfig,
|
|
38
38
|
resolveEndpoint,
|
|
@@ -40,12 +40,14 @@ import {
|
|
|
40
40
|
resolveHostHeaderConfig,
|
|
41
41
|
resolveRegionConfig,
|
|
42
42
|
resolveRetryConfig,
|
|
43
|
-
resolveUserAgentConfig
|
|
44
|
-
|
|
43
|
+
resolveUserAgentConfig,
|
|
44
|
+
toBase64,
|
|
45
|
+
toUtf8
|
|
46
|
+
} from "./chunk-gtghjj5c.js";
|
|
45
47
|
import {
|
|
46
48
|
loadConfig,
|
|
47
49
|
parseUrl
|
|
48
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-7s5qcjkt.js";
|
|
49
51
|
import {
|
|
50
52
|
ENV_PROFILE
|
|
51
53
|
} from "./chunk-bf8bq8pc.js";
|
|
@@ -71,19 +73,17 @@ import {
|
|
|
71
73
|
streamCollector,
|
|
72
74
|
take,
|
|
73
75
|
withBaseException
|
|
74
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-xt9exr2c.js";
|
|
75
77
|
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./chunk-
|
|
80
|
-
import {
|
|
81
|
-
require_dist_cjs3 as require_dist_cjs2,
|
|
82
|
-
require_dist_cjs4 as require_dist_cjs3
|
|
83
|
-
} from "./chunk-a7k3cdby.js";
|
|
78
|
+
CredentialsProviderError,
|
|
79
|
+
chain,
|
|
80
|
+
memoize
|
|
81
|
+
} from "./chunk-zzerxbrm.js";
|
|
84
82
|
import {
|
|
85
|
-
require_dist_cjs
|
|
86
|
-
|
|
83
|
+
require_dist_cjs,
|
|
84
|
+
require_dist_cjs2,
|
|
85
|
+
require_dist_cjs5 as require_dist_cjs3
|
|
86
|
+
} from "./chunk-veja9rez.js";
|
|
87
87
|
import {
|
|
88
88
|
isString,
|
|
89
89
|
make
|
|
@@ -5926,7 +5926,7 @@ var require_utils = __commonJS((exports) => {
|
|
|
5926
5926
|
exports.assertOptionalChainStart = assertOptionalChainStart;
|
|
5927
5927
|
exports.assertShape = assertShape;
|
|
5928
5928
|
exports.assertValueType = assertValueType;
|
|
5929
|
-
exports.chain =
|
|
5929
|
+
exports.chain = chain2;
|
|
5930
5930
|
exports.default = defineType;
|
|
5931
5931
|
exports.defineAliasedType = defineAliasedType;
|
|
5932
5932
|
exports.validate = validate;
|
|
@@ -5973,7 +5973,7 @@ var require_utils = __commonJS((exports) => {
|
|
|
5973
5973
|
};
|
|
5974
5974
|
}
|
|
5975
5975
|
function arrayOf(elementType) {
|
|
5976
|
-
return
|
|
5976
|
+
return chain2(assertValueType("array"), assertEach(elementType));
|
|
5977
5977
|
}
|
|
5978
5978
|
function arrayOfType(...typeNames) {
|
|
5979
5979
|
return arrayOf(assertNodeType(...typeNames));
|
|
@@ -6090,7 +6090,7 @@ ${errors.join(`
|
|
|
6090
6090
|
}
|
|
6091
6091
|
return validate2;
|
|
6092
6092
|
}
|
|
6093
|
-
function
|
|
6093
|
+
function chain2(...fns) {
|
|
6094
6094
|
function validate2(...args) {
|
|
6095
6095
|
for (const fn of fns) {
|
|
6096
6096
|
fn(...args);
|
|
@@ -74677,16 +74677,16 @@ var require_parse4 = __commonJS((exports, module) => {
|
|
|
74677
74677
|
}
|
|
74678
74678
|
return obj;
|
|
74679
74679
|
};
|
|
74680
|
-
var parseObject = function(
|
|
74680
|
+
var parseObject = function(chain3, val2, options, valuesParsed) {
|
|
74681
74681
|
var currentArrayLength = 0;
|
|
74682
|
-
if (
|
|
74683
|
-
var parentKey =
|
|
74682
|
+
if (chain3.length > 0 && chain3[chain3.length - 1] === "[]") {
|
|
74683
|
+
var parentKey = chain3.slice(0, -1).join("");
|
|
74684
74684
|
currentArrayLength = Array.isArray(val2) && val2[parentKey] ? val2[parentKey].length : 0;
|
|
74685
74685
|
}
|
|
74686
74686
|
var leaf = valuesParsed ? val2 : parseArrayValue(val2, options, currentArrayLength);
|
|
74687
|
-
for (var i4 =
|
|
74687
|
+
for (var i4 = chain3.length - 1;i4 >= 0; --i4) {
|
|
74688
74688
|
var obj;
|
|
74689
|
-
var root =
|
|
74689
|
+
var root = chain3[i4];
|
|
74690
74690
|
if (root === "[]" && options.parseArrays) {
|
|
74691
74691
|
obj = options.allowEmptyArrays && (leaf === "" || options.strictNullHandling && leaf === null) ? [] : utils3.combine([], leaf);
|
|
74692
74692
|
} else {
|
|
@@ -94804,14 +94804,15 @@ var resolveEndpointDiscoveryConfig = (input, { endpointDiscoveryCommandCtor }) =
|
|
|
94804
94804
|
});
|
|
94805
94805
|
};
|
|
94806
94806
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/DynamoDBClient.js
|
|
94807
|
-
var import_core6 = __toESM(
|
|
94807
|
+
var import_core6 = __toESM(require_dist_cjs2(), 1);
|
|
94808
94808
|
|
|
94809
94809
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/auth/httpAuthSchemeProvider.js
|
|
94810
|
-
var import_core2 = __toESM(
|
|
94810
|
+
var import_core2 = __toESM(require_dist_cjs3(), 1);
|
|
94811
|
+
var import_util_middleware = __toESM(require_dist_cjs(), 1);
|
|
94811
94812
|
var defaultDynamoDBHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
94812
94813
|
return {
|
|
94813
|
-
operation: getSmithyContext(context).operation,
|
|
94814
|
-
region: await normalizeProvider(config.region)() || (() => {
|
|
94814
|
+
operation: import_util_middleware.getSmithyContext(context).operation,
|
|
94815
|
+
region: await import_util_middleware.normalizeProvider(config.region)() || (() => {
|
|
94815
94816
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
94816
94817
|
})()
|
|
94817
94818
|
};
|
|
@@ -94863,7 +94864,7 @@ var commonParams = {
|
|
|
94863
94864
|
};
|
|
94864
94865
|
|
|
94865
94866
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/protocols/Aws_json1_0.js
|
|
94866
|
-
var import_core3 = __toESM(
|
|
94867
|
+
var import_core3 = __toESM(require_dist_cjs3(), 1);
|
|
94867
94868
|
|
|
94868
94869
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/models/DynamoDBServiceException.js
|
|
94869
94870
|
class DynamoDBServiceException extends ServiceException {
|
|
@@ -96484,25 +96485,21 @@ var package_default = {
|
|
|
96484
96485
|
};
|
|
96485
96486
|
|
|
96486
96487
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.js
|
|
96487
|
-
var import_core5 = __toESM(
|
|
96488
|
+
var import_core5 = __toESM(require_dist_cjs3(), 1);
|
|
96488
96489
|
var import_account_id_endpoint = __toESM(require_account_id_endpoint(), 1);
|
|
96489
96490
|
|
|
96490
|
-
// ../../../../node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
|
|
96491
|
-
var import_property_provider2 = __toESM(require_dist_cjs5(), 1);
|
|
96492
|
-
|
|
96493
96491
|
// ../../../../node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js
|
|
96494
|
-
var import_property_provider = __toESM(require_dist_cjs5(), 1);
|
|
96495
96492
|
var ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
|
|
96496
96493
|
var remoteProvider = async (init2) => {
|
|
96497
|
-
const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await import("./chunk-
|
|
96494
|
+
const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await import("./chunk-t5em30ak.js");
|
|
96498
96495
|
if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) {
|
|
96499
96496
|
init2.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");
|
|
96500
|
-
const { fromHttp } = await import("./chunk-
|
|
96501
|
-
return
|
|
96497
|
+
const { fromHttp } = await import("./chunk-e7mp4xy5.js");
|
|
96498
|
+
return chain(fromHttp(init2), fromContainerMetadata(init2));
|
|
96502
96499
|
}
|
|
96503
96500
|
if (process.env[ENV_IMDS_DISABLED] && process.env[ENV_IMDS_DISABLED] !== "false") {
|
|
96504
96501
|
return async () => {
|
|
96505
|
-
throw new
|
|
96502
|
+
throw new CredentialsProviderError("EC2 Instance Metadata Service access disabled", { logger: init2.logger });
|
|
96506
96503
|
};
|
|
96507
96504
|
}
|
|
96508
96505
|
init2.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata");
|
|
@@ -96511,7 +96508,7 @@ var remoteProvider = async (init2) => {
|
|
|
96511
96508
|
|
|
96512
96509
|
// ../../../../node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
|
|
96513
96510
|
var multipleCredentialSourceWarningEmitted = false;
|
|
96514
|
-
var defaultProvider = (init2 = {}) =>
|
|
96511
|
+
var defaultProvider = (init2 = {}) => memoize(chain(async () => {
|
|
96515
96512
|
const profile = init2.profile ?? process.env[ENV_PROFILE];
|
|
96516
96513
|
if (profile) {
|
|
96517
96514
|
const envStaticCredentialsAreSet = process.env[ENV_KEY] && process.env[ENV_SECRET];
|
|
@@ -96530,7 +96527,7 @@ var defaultProvider = (init2 = {}) => import_property_provider2.memoize(import_p
|
|
|
96530
96527
|
multipleCredentialSourceWarningEmitted = true;
|
|
96531
96528
|
}
|
|
96532
96529
|
}
|
|
96533
|
-
throw new
|
|
96530
|
+
throw new CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.", {
|
|
96534
96531
|
logger: init2.logger,
|
|
96535
96532
|
tryNextLink: true
|
|
96536
96533
|
});
|
|
@@ -96541,27 +96538,27 @@ var defaultProvider = (init2 = {}) => import_property_provider2.memoize(import_p
|
|
|
96541
96538
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");
|
|
96542
96539
|
const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init2;
|
|
96543
96540
|
if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
|
|
96544
|
-
throw new
|
|
96541
|
+
throw new CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init2.logger });
|
|
96545
96542
|
}
|
|
96546
|
-
const { fromSSO } = await import("./chunk-
|
|
96543
|
+
const { fromSSO } = await import("./chunk-2vba9ke6.js");
|
|
96547
96544
|
return fromSSO(init2)();
|
|
96548
96545
|
}, async () => {
|
|
96549
96546
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
|
|
96550
|
-
const { fromIni } = await import("./chunk-
|
|
96547
|
+
const { fromIni } = await import("./chunk-shmtrj5e.js");
|
|
96551
96548
|
return fromIni(init2)();
|
|
96552
96549
|
}, async () => {
|
|
96553
96550
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
|
|
96554
|
-
const { fromProcess } = await import("./chunk-
|
|
96551
|
+
const { fromProcess } = await import("./chunk-76zhb40c.js");
|
|
96555
96552
|
return fromProcess(init2)();
|
|
96556
96553
|
}, async () => {
|
|
96557
96554
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");
|
|
96558
|
-
const { fromTokenFile } = await import("./chunk-
|
|
96555
|
+
const { fromTokenFile } = await import("./chunk-zsm2c35w.js");
|
|
96559
96556
|
return fromTokenFile(init2)();
|
|
96560
96557
|
}, async () => {
|
|
96561
96558
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider");
|
|
96562
96559
|
return (await remoteProvider(init2))();
|
|
96563
96560
|
}, async () => {
|
|
96564
|
-
throw new
|
|
96561
|
+
throw new CredentialsProviderError("Could not load credentials from any providers", {
|
|
96565
96562
|
tryNextLink: false,
|
|
96566
96563
|
logger: init2.logger
|
|
96567
96564
|
});
|
|
@@ -96569,9 +96566,7 @@ var defaultProvider = (init2 = {}) => import_property_provider2.memoize(import_p
|
|
|
96569
96566
|
var credentialsWillNeedRefresh = (credentials) => credentials?.expiration !== undefined;
|
|
96570
96567
|
var credentialsTreatedAsExpired = (credentials) => credentials?.expiration !== undefined && credentials.expiration.getTime() - Date.now() < 300000;
|
|
96571
96568
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.shared.js
|
|
96572
|
-
var import_core4 = __toESM(
|
|
96573
|
-
var import_util_base64 = __toESM(require_dist_cjs3(), 1);
|
|
96574
|
-
var import_util_utf8 = __toESM(require_dist_cjs2(), 1);
|
|
96569
|
+
var import_core4 = __toESM(require_dist_cjs3(), 1);
|
|
96575
96570
|
|
|
96576
96571
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/ruleset.js
|
|
96577
96572
|
var S3 = "required";
|
|
@@ -96654,8 +96649,8 @@ customEndpointFunctions.aws = awsEndpointFunctions;
|
|
|
96654
96649
|
var getRuntimeConfig = (config) => {
|
|
96655
96650
|
return {
|
|
96656
96651
|
apiVersion: "2012-08-10",
|
|
96657
|
-
base64Decoder: config?.base64Decoder ??
|
|
96658
|
-
base64Encoder: config?.base64Encoder ??
|
|
96652
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
96653
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
96659
96654
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
96660
96655
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
96661
96656
|
extensions: config?.extensions ?? [],
|
|
@@ -96670,8 +96665,8 @@ var getRuntimeConfig = (config) => {
|
|
|
96670
96665
|
logger: config?.logger ?? new NoOpLogger,
|
|
96671
96666
|
serviceId: config?.serviceId ?? "DynamoDB",
|
|
96672
96667
|
urlParser: config?.urlParser ?? parseUrl,
|
|
96673
|
-
utf8Decoder: config?.utf8Decoder ??
|
|
96674
|
-
utf8Encoder: config?.utf8Encoder ??
|
|
96668
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
96669
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8
|
|
96675
96670
|
};
|
|
96676
96671
|
};
|
|
96677
96672
|
|
|
@@ -105613,8 +105608,8 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
105613
105608
|
}, data;
|
|
105614
105609
|
}
|
|
105615
105610
|
Object.defineProperty(exports2, "__esModule", { value: true }), exports2.buildPresetChain = function* (arg, context) {
|
|
105616
|
-
const
|
|
105617
|
-
return
|
|
105611
|
+
const chain2 = yield* buildPresetChainWalker(arg, context);
|
|
105612
|
+
return chain2 ? { plugins: dedupDescriptors(chain2.plugins), presets: dedupDescriptors(chain2.presets), options: chain2.options.map((o3) => normalizeOptions(o3)), files: new Set } : null;
|
|
105618
105613
|
}, exports2.buildPresetChainWalker = undefined, exports2.buildRootChain = function* (opts, context) {
|
|
105619
105614
|
let configReport, babelRcReport;
|
|
105620
105615
|
const programmaticLogger = new _printer.ConfigPrinter, programmaticChain = yield* loadProgrammaticChain({ options: opts, dirname: context.cwd }, context, undefined, programmaticLogger);
|
|
@@ -105659,8 +105654,8 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
105659
105654
|
|
|
105660
105655
|
`) + `
|
|
105661
105656
|
-----End Babel configs-----`);
|
|
105662
|
-
const
|
|
105663
|
-
return { plugins: isIgnored ? [] : dedupDescriptors(
|
|
105657
|
+
const chain2 = mergeChain(mergeChain(mergeChain(emptyChain(), configFileChain), fileChain), programmaticChain);
|
|
105658
|
+
return { plugins: isIgnored ? [] : dedupDescriptors(chain2.plugins), presets: isIgnored ? [] : dedupDescriptors(chain2.presets), options: isIgnored ? [] : chain2.options.map((o3) => normalizeOptions(o3)), fileHandling: isIgnored ? "ignored" : "transpile", ignore: ignoreFile || undefined, babelrc: babelrcFile || undefined, config: configFile || undefined, files: chain2.files };
|
|
105664
105659
|
};
|
|
105665
105660
|
var _options = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/options.js"), _patternToRegex = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/pattern-to-regex.js"), _printer = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/printer.js"), _rewriteStackTrace = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js"), _configError = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/config-error.js"), _index = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/index.js"), _caching = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/caching.js"), _configDescriptors = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/config-descriptors.js");
|
|
105666
105661
|
const debug = _debug()("babel:config:config-chain");
|
|
@@ -105676,8 +105671,8 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
105676
105671
|
return baseLogger2.configure(context2.showConfig, _printer.ChainFormatter.Config, { filepath });
|
|
105677
105672
|
}(file.filepath, context, baseLogger) });
|
|
105678
105673
|
function* loadFileChain(input, context, files, baseLogger) {
|
|
105679
|
-
const
|
|
105680
|
-
return
|
|
105674
|
+
const chain2 = yield* loadFileChainWalker(input, context, files, baseLogger);
|
|
105675
|
+
return chain2 == null || chain2.files.add(input.filepath), chain2;
|
|
105681
105676
|
}
|
|
105682
105677
|
const loadFileDescriptors = (0, _caching.makeWeakCacheSync)((file) => buildRootDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors)), loadFileEnvDescriptors = (0, _caching.makeWeakCacheSync)((file) => (0, _caching.makeStrongCacheSync)((envName) => buildEnvDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors, envName))), loadFileOverridesDescriptors = (0, _caching.makeWeakCacheSync)((file) => (0, _caching.makeStrongCacheSync)((index) => buildOverrideDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors, index))), loadFileOverridesEnvDescriptors = (0, _caching.makeWeakCacheSync)((file) => (0, _caching.makeStrongCacheSync)((index) => (0, _caching.makeStrongCacheSync)((envName) => buildOverrideEnvDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors, index, envName))));
|
|
105683
105678
|
function buildRootDescriptors({ dirname: dirname22, options }, alias, descriptors) {
|
|
@@ -105720,16 +105715,16 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
105720
105715
|
}
|
|
105721
105716
|
if (flattenedConfigs.some(({ config: { options: { ignore, only } } }) => shouldIgnore(context, ignore, only, dirname22)))
|
|
105722
105717
|
return null;
|
|
105723
|
-
const
|
|
105718
|
+
const chain2 = emptyChain(), logger = createLogger(input, context, baseLogger);
|
|
105724
105719
|
for (const { config: config3, index, envName } of flattenedConfigs) {
|
|
105725
|
-
if (!(yield* mergeExtendsChain(
|
|
105720
|
+
if (!(yield* mergeExtendsChain(chain2, config3.options, dirname22, context, files, baseLogger)))
|
|
105726
105721
|
return null;
|
|
105727
|
-
logger(config3, index, envName), yield* mergeChainOpts(
|
|
105722
|
+
logger(config3, index, envName), yield* mergeChainOpts(chain2, config3);
|
|
105728
105723
|
}
|
|
105729
|
-
return
|
|
105724
|
+
return chain2;
|
|
105730
105725
|
};
|
|
105731
105726
|
}
|
|
105732
|
-
function* mergeExtendsChain(
|
|
105727
|
+
function* mergeExtendsChain(chain2, opts, dirname22, context, files, baseLogger) {
|
|
105733
105728
|
if (opts.extends === undefined)
|
|
105734
105729
|
return true;
|
|
105735
105730
|
const file = yield* (0, _index.loadConfig)(opts.extends, dirname22, context.envName, context.caller);
|
|
@@ -105740,7 +105735,7 @@ File already loaded following the config chain:
|
|
|
105740
105735
|
`));
|
|
105741
105736
|
files.add(file);
|
|
105742
105737
|
const fileChain = yield* loadFileChain(validateExtendFile(file), context, files, baseLogger);
|
|
105743
|
-
return files.delete(file), !!fileChain && (mergeChain(
|
|
105738
|
+
return files.delete(file), !!fileChain && (mergeChain(chain2, fileChain), true);
|
|
105744
105739
|
}
|
|
105745
105740
|
function mergeChain(target, source) {
|
|
105746
105741
|
target.options.push(...source.options), target.plugins.push(...source.plugins), target.presets.push(...source.presets);
|
|
@@ -106568,7 +106563,7 @@ to your top-level package.json.
|
|
|
106568
106563
|
const pluginObj = (0, _plugins.validatePluginObject)(value2), plugin = Object.assign({}, pluginObj);
|
|
106569
106564
|
if (plugin.visitor && (plugin.visitor = _traverse().default.explode(Object.assign({}, plugin.visitor))), plugin.inherits) {
|
|
106570
106565
|
const inheritsDescriptor = { name: undefined, alias: `${alias}$inherits`, value: plugin.inherits, options, dirname: dirname22 }, inherits = yield* (0, _async.forwardAsync)(loadPluginDescriptor, (run) => cache3.invalidate((data) => run(inheritsDescriptor, data)));
|
|
106571
|
-
plugin.pre =
|
|
106566
|
+
plugin.pre = chain2(inherits.pre, plugin.pre), plugin.post = chain2(inherits.post, plugin.post), plugin.manipulateOptions = chain2(inherits.manipulateOptions, plugin.manipulateOptions), plugin.visitor = _traverse().default.visitors.merge([inherits.visitor || {}, plugin.visitor || {}]), inherits.externalDependencies.length > 0 && (externalDependencies = externalDependencies.length === 0 ? inherits.externalDependencies : (0, _deepArray.finalize)([externalDependencies, inherits.externalDependencies]));
|
|
106572
106567
|
}
|
|
106573
106568
|
return new _plugin.default(plugin, options, alias, externalDependencies);
|
|
106574
106569
|
});
|
|
@@ -106597,7 +106592,7 @@ to your top-level package.json.
|
|
|
106597
106592
|
const preset = instantiatePreset(yield* presetDescriptorLoader(descriptor, context2));
|
|
106598
106593
|
return validatePreset(preset, context2, descriptor), { chain: yield* (0, _configChain.buildPresetChain)(preset, context2), externalDependencies: preset.externalDependencies };
|
|
106599
106594
|
}
|
|
106600
|
-
function
|
|
106595
|
+
function chain2(a3, b3) {
|
|
106601
106596
|
const fns = [a3, b3].filter(Boolean);
|
|
106602
106597
|
return fns.length <= 1 ? fns[0] : function(...args) {
|
|
106603
106598
|
for (const fn of fns)
|
|
@@ -115986,8 +115981,8 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
115986
115981
|
const node = super.parseSubscript(base, startLoc, noCalls, state);
|
|
115987
115982
|
if (state.optionalChainMember) {
|
|
115988
115983
|
if (node.type !== "OptionalMemberExpression" && node.type !== "OptionalCallExpression" || (node.type = node.type.substring(8)), state.stop) {
|
|
115989
|
-
const
|
|
115990
|
-
return
|
|
115984
|
+
const chain2 = this.startNodeAtNode(node);
|
|
115985
|
+
return chain2.expression = node, this.finishNode(chain2, "ChainExpression");
|
|
115991
115986
|
}
|
|
115992
115987
|
} else
|
|
115993
115988
|
node.type !== "MemberExpression" && node.type !== "CallExpression" || (node.optional = false);
|
|
@@ -121171,19 +121166,19 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
121171
121166
|
const checks = [];
|
|
121172
121167
|
let tmpVar;
|
|
121173
121168
|
for (let i3 = optionals.length - 1;i3 >= 0; i3--) {
|
|
121174
|
-
const node = optionals[i3], isCall = core.types.isCallExpression(node), chainWithTypes = isCall ? node.callee : node.object,
|
|
121169
|
+
const node = optionals[i3], isCall = core.types.isCallExpression(node), chainWithTypes = isCall ? node.callee : node.object, chain2 = helperSkipTransparentExpressionWrappers.skipTransparentExprWrapperNodes(chainWithTypes);
|
|
121175
121170
|
let ref, check2;
|
|
121176
|
-
if (isCall && core.types.isIdentifier(
|
|
121177
|
-
if (pureGetters && isSimpleMemberExpression(
|
|
121171
|
+
if (isCall && core.types.isIdentifier(chain2, { name: "eval" }) ? (check2 = ref = chain2, node.callee = core.types.sequenceExpression([core.types.numericLiteral(0), ref])) : pureGetters && isCall && isSimpleMemberExpression(chain2) ? check2 = ref = node.callee : scope.isStatic(chain2) ? check2 = ref = chainWithTypes : (tmpVar && !isCall || (tmpVar = scope.generateUidIdentifierBasedOnNode(chain2), scope.push({ id: core.types.cloneNode(tmpVar) })), ref = tmpVar, check2 = core.types.assignmentExpression("=", core.types.cloneNode(tmpVar), chainWithTypes), isCall ? node.callee = ref : node.object = ref), isCall && core.types.isMemberExpression(chain2))
|
|
121172
|
+
if (pureGetters && isSimpleMemberExpression(chain2))
|
|
121178
121173
|
node.callee = chainWithTypes;
|
|
121179
121174
|
else {
|
|
121180
|
-
const { object } =
|
|
121175
|
+
const { object } = chain2;
|
|
121181
121176
|
let context;
|
|
121182
121177
|
if (core.types.isSuper(object))
|
|
121183
121178
|
context = core.types.thisExpression();
|
|
121184
121179
|
else {
|
|
121185
121180
|
const memoized = scope.maybeGenerateMemoised(object);
|
|
121186
|
-
memoized ? (context = memoized,
|
|
121181
|
+
memoized ? (context = memoized, chain2.object = core.types.assignmentExpression("=", memoized, object)) : context = object;
|
|
121187
121182
|
}
|
|
121188
121183
|
node.arguments.unshift(core.types.cloneNode(context)), node.callee = core.types.memberExpression(node.callee, core.types.identifier("call"));
|
|
121189
121184
|
}
|
|
@@ -127333,7 +127328,7 @@ ${errors3.join(`
|
|
|
127333
127328
|
`)}`);
|
|
127334
127329
|
}
|
|
127335
127330
|
return validate2.shapeOf = shape, validate2;
|
|
127336
|
-
}, exports2.assertValueType = assertValueType, exports2.chain =
|
|
127331
|
+
}, exports2.assertValueType = assertValueType, exports2.chain = chain2, exports2.default = defineType, exports2.defineAliasedType = function(...aliases) {
|
|
127337
127332
|
return (type, opts = {}) => {
|
|
127338
127333
|
let defined = opts.aliases;
|
|
127339
127334
|
var _store$opts$inherits$;
|
|
@@ -127362,7 +127357,7 @@ ${errors3.join(`
|
|
|
127362
127357
|
return typeof typeName == "string" ? assertNodeType(typeName) : assertNodeType(...typeName);
|
|
127363
127358
|
}
|
|
127364
127359
|
function arrayOf(elementType) {
|
|
127365
|
-
return
|
|
127360
|
+
return chain2(assertValueType("array"), assertEach(elementType));
|
|
127366
127361
|
}
|
|
127367
127362
|
function arrayOfType(typeName) {
|
|
127368
127363
|
return arrayOf(typeIs(typeName));
|
|
@@ -127393,7 +127388,7 @@ ${errors3.join(`
|
|
|
127393
127388
|
}
|
|
127394
127389
|
return validate2.type = type, validate2;
|
|
127395
127390
|
}
|
|
127396
|
-
function
|
|
127391
|
+
function chain2(...fns) {
|
|
127397
127392
|
function validate2(...args) {
|
|
127398
127393
|
for (const fn of fns)
|
|
127399
127394
|
fn(...args);
|
|
@@ -155883,22 +155878,22 @@ var init_ProviderError = __esm2(() => {
|
|
|
155883
155878
|
}
|
|
155884
155879
|
};
|
|
155885
155880
|
});
|
|
155886
|
-
var
|
|
155881
|
+
var CredentialsProviderError2;
|
|
155887
155882
|
var init_CredentialsProviderError = __esm2(() => {
|
|
155888
155883
|
init_ProviderError();
|
|
155889
|
-
|
|
155884
|
+
CredentialsProviderError2 = class CredentialsProviderError3 extends ProviderError {
|
|
155890
155885
|
constructor(message, tryNextLink = true) {
|
|
155891
155886
|
super(message, tryNextLink);
|
|
155892
155887
|
this.tryNextLink = tryNextLink;
|
|
155893
155888
|
this.name = "CredentialsProviderError";
|
|
155894
|
-
Object.setPrototypeOf(this,
|
|
155889
|
+
Object.setPrototypeOf(this, CredentialsProviderError3.prototype);
|
|
155895
155890
|
}
|
|
155896
155891
|
};
|
|
155897
155892
|
});
|
|
155898
155893
|
var init_TokenProviderError = __esm2(() => {
|
|
155899
155894
|
init_ProviderError();
|
|
155900
155895
|
});
|
|
155901
|
-
var
|
|
155896
|
+
var chain2 = (...providers2) => async () => {
|
|
155902
155897
|
if (providers2.length === 0) {
|
|
155903
155898
|
throw new ProviderError("No providers in chain");
|
|
155904
155899
|
}
|
|
@@ -155979,7 +155974,7 @@ var fromEnv2 = (envVarSelector) => async () => {
|
|
|
155979
155974
|
}
|
|
155980
155975
|
return config3;
|
|
155981
155976
|
} catch (e22) {
|
|
155982
|
-
throw new
|
|
155977
|
+
throw new CredentialsProviderError2(e22.message || `Cannot load config from environment variables with getter: ${envVarSelector}`);
|
|
155983
155978
|
}
|
|
155984
155979
|
};
|
|
155985
155980
|
var init_fromEnv = __esm2(() => {
|
|
@@ -156171,7 +156166,7 @@ var fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...init
|
|
|
156171
156166
|
}
|
|
156172
156167
|
return configValue;
|
|
156173
156168
|
} catch (e22) {
|
|
156174
|
-
throw new
|
|
156169
|
+
throw new CredentialsProviderError2(e22.message || `Cannot load config for profile ${profile2} in SDK configuration files with getter: ${configSelector}`);
|
|
156175
156170
|
}
|
|
156176
156171
|
};
|
|
156177
156172
|
var init_fromSharedConfigFiles = __esm2(() => {
|
|
@@ -156183,7 +156178,7 @@ var fromStatic3 = (defaultValue) => isFunction22(defaultValue) ? async () => awa
|
|
|
156183
156178
|
var init_fromStatic = __esm2(() => {
|
|
156184
156179
|
init_dist_es4();
|
|
156185
156180
|
});
|
|
156186
|
-
var loadConfig2 = ({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => memoize2(
|
|
156181
|
+
var loadConfig2 = ({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => memoize2(chain2(fromEnv2(environmentVariableSelector), fromSharedConfigFiles(configFileSelector, configuration), fromStatic3(defaultValue)));
|
|
156187
156182
|
var init_configLoader = __esm2(() => {
|
|
156188
156183
|
init_dist_es4();
|
|
156189
156184
|
init_fromEnv();
|
|
@@ -179230,6 +179225,8 @@ var invoices = (() => {
|
|
|
179230
179225
|
})();
|
|
179231
179226
|
// ../../orm/src/models/WaitlistProduct.ts
|
|
179232
179227
|
import { HttpError as HttpError43 } from "@stacksjs/error-handling";
|
|
179228
|
+
// ../../orm/src/models/WaitlistRestaurant.ts
|
|
179229
|
+
import { HttpError as HttpError44 } from "@stacksjs/error-handling";
|
|
179233
179230
|
// ../orm/src/db.ts
|
|
179234
179231
|
class DB {
|
|
179235
179232
|
static dbInstance = null;
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
CredentialsProviderError
|
|
4
|
+
} from "./chunk-zzerxbrm.js";
|
|
2
5
|
import {
|
|
3
6
|
require_client
|
|
4
7
|
} from "./chunk-frw3va9v.js";
|
|
5
|
-
import {
|
|
6
|
-
require_dist_cjs
|
|
7
|
-
} from "./chunk-2m04vhea.js";
|
|
8
8
|
import {
|
|
9
9
|
__toESM
|
|
10
10
|
} from "./chunk-9v6qtbez.js";
|
|
11
11
|
|
|
12
12
|
// ../../../../node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js
|
|
13
13
|
var import_client = __toESM(require_client(), 1);
|
|
14
|
-
var import_property_provider = __toESM(require_dist_cjs(), 1);
|
|
15
14
|
var ENV_KEY = "AWS_ACCESS_KEY_ID";
|
|
16
15
|
var ENV_SECRET = "AWS_SECRET_ACCESS_KEY";
|
|
17
16
|
var ENV_SESSION = "AWS_SESSION_TOKEN";
|
|
@@ -38,7 +37,7 @@ var fromEnv = (init) => async () => {
|
|
|
38
37
|
import_client.setCredentialFeature(credentials, "CREDENTIALS_ENV_VARS", "g");
|
|
39
38
|
return credentials;
|
|
40
39
|
}
|
|
41
|
-
throw new
|
|
40
|
+
throw new CredentialsProviderError("Unable to find environment variable credentials.", { logger: init?.logger });
|
|
42
41
|
};
|
|
43
42
|
export {
|
|
44
43
|
fromEnv,
|
|
@@ -3,51 +3,47 @@ import {
|
|
|
3
3
|
getProfileName,
|
|
4
4
|
parseKnownFiles
|
|
5
5
|
} from "./chunk-bf8bq8pc.js";
|
|
6
|
+
import {
|
|
7
|
+
CredentialsProviderError,
|
|
8
|
+
chain
|
|
9
|
+
} from "./chunk-zzerxbrm.js";
|
|
6
10
|
import {
|
|
7
11
|
require_client
|
|
8
12
|
} from "./chunk-frw3va9v.js";
|
|
9
13
|
import"./chunk-saqpg5nd.js";
|
|
10
|
-
import {
|
|
11
|
-
require_dist_cjs
|
|
12
|
-
} from "./chunk-2m04vhea.js";
|
|
13
14
|
import {
|
|
14
15
|
__require,
|
|
15
16
|
__toESM
|
|
16
17
|
} from "./chunk-9v6qtbez.js";
|
|
17
18
|
|
|
18
|
-
// ../../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js
|
|
19
|
-
var import_property_provider3 = __toESM(require_dist_cjs(), 1);
|
|
20
|
-
|
|
21
19
|
// ../../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js
|
|
22
20
|
var import_client2 = __toESM(require_client(), 1);
|
|
23
|
-
var import_property_provider2 = __toESM(require_dist_cjs(), 1);
|
|
24
21
|
|
|
25
22
|
// ../../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js
|
|
26
23
|
var import_client = __toESM(require_client(), 1);
|
|
27
|
-
var import_property_provider = __toESM(require_dist_cjs(), 1);
|
|
28
24
|
var resolveCredentialSource = (credentialSource, profileName, logger) => {
|
|
29
25
|
const sourceProvidersMap = {
|
|
30
26
|
EcsContainer: async (options) => {
|
|
31
|
-
const { fromHttp } = await import("./chunk-
|
|
32
|
-
const { fromContainerMetadata } = await import("./chunk-
|
|
27
|
+
const { fromHttp } = await import("./chunk-e7mp4xy5.js");
|
|
28
|
+
const { fromContainerMetadata } = await import("./chunk-t5em30ak.js");
|
|
33
29
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer");
|
|
34
|
-
return async () =>
|
|
30
|
+
return async () => chain(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);
|
|
35
31
|
},
|
|
36
32
|
Ec2InstanceMetadata: async (options) => {
|
|
37
33
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");
|
|
38
|
-
const { fromInstanceMetadata } = await import("./chunk-
|
|
34
|
+
const { fromInstanceMetadata } = await import("./chunk-t5em30ak.js");
|
|
39
35
|
return async () => fromInstanceMetadata(options)().then(setNamedProvider);
|
|
40
36
|
},
|
|
41
37
|
Environment: async (options) => {
|
|
42
38
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");
|
|
43
|
-
const { fromEnv } = await import("./chunk-
|
|
39
|
+
const { fromEnv } = await import("./chunk-qkm8e752.js");
|
|
44
40
|
return async () => fromEnv(options)().then(setNamedProvider);
|
|
45
41
|
}
|
|
46
42
|
};
|
|
47
43
|
if (credentialSource in sourceProvidersMap) {
|
|
48
44
|
return sourceProvidersMap[credentialSource];
|
|
49
45
|
} else {
|
|
50
|
-
throw new
|
|
46
|
+
throw new CredentialsProviderError(`Unsupported credential source in profile ${profileName}. Got ${credentialSource}, expected EcsContainer or Ec2InstanceMetadata or Environment.`, { logger });
|
|
51
47
|
}
|
|
52
48
|
};
|
|
53
49
|
var setNamedProvider = (creds) => import_client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_NAMED_PROVIDER", "p");
|
|
@@ -75,7 +71,7 @@ var resolveAssumeRoleCredentials = async (profileName, profiles, options, visite
|
|
|
75
71
|
const profileData = profiles[profileName];
|
|
76
72
|
const { source_profile, region } = profileData;
|
|
77
73
|
if (!options.roleAssumer) {
|
|
78
|
-
const { getDefaultRoleAssumer } = await import("./chunk-
|
|
74
|
+
const { getDefaultRoleAssumer } = await import("./chunk-9exgwfkw.js");
|
|
79
75
|
options.roleAssumer = getDefaultRoleAssumer({
|
|
80
76
|
...options.clientConfig,
|
|
81
77
|
credentialProviderLogger: options.logger,
|
|
@@ -86,7 +82,7 @@ var resolveAssumeRoleCredentials = async (profileName, profiles, options, visite
|
|
|
86
82
|
}, options.clientPlugins);
|
|
87
83
|
}
|
|
88
84
|
if (source_profile && source_profile in visitedProfiles) {
|
|
89
|
-
throw new
|
|
85
|
+
throw new CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile ${getProfileName(options)}. Profiles visited: ` + Object.keys(visitedProfiles).join(", "), { logger: options.logger });
|
|
90
86
|
}
|
|
91
87
|
options.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`);
|
|
92
88
|
const sourceCredsProvider = source_profile ? resolveProfileData(source_profile, profiles, options, {
|
|
@@ -105,7 +101,7 @@ var resolveAssumeRoleCredentials = async (profileName, profiles, options, visite
|
|
|
105
101
|
const { mfa_serial } = profileData;
|
|
106
102
|
if (mfa_serial) {
|
|
107
103
|
if (!options.mfaCodeProvider) {
|
|
108
|
-
throw new
|
|
104
|
+
throw new CredentialsProviderError(`Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`, { logger: options.logger, tryNextLink: false });
|
|
109
105
|
}
|
|
110
106
|
params.SerialNumber = mfa_serial;
|
|
111
107
|
params.TokenCode = await options.mfaCodeProvider(mfa_serial);
|
|
@@ -121,7 +117,7 @@ var isCredentialSourceWithoutRoleArn = (section) => {
|
|
|
121
117
|
// ../../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js
|
|
122
118
|
var import_client3 = __toESM(require_client(), 1);
|
|
123
119
|
var isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string";
|
|
124
|
-
var resolveProcessCredentials = async (options, profile) => import("./chunk-
|
|
120
|
+
var resolveProcessCredentials = async (options, profile) => import("./chunk-76zhb40c.js").then(({ fromProcess }) => fromProcess({
|
|
125
121
|
...options,
|
|
126
122
|
profile
|
|
127
123
|
})().then((creds) => import_client3.setCredentialFeature(creds, "CREDENTIALS_PROFILE_PROCESS", "v")));
|
|
@@ -129,7 +125,7 @@ var resolveProcessCredentials = async (options, profile) => import("./chunk-6xeh
|
|
|
129
125
|
// ../../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js
|
|
130
126
|
var import_client4 = __toESM(require_client(), 1);
|
|
131
127
|
var resolveSsoCredentials = async (profile, profileData, options = {}) => {
|
|
132
|
-
const { fromSSO } = await import("./chunk-
|
|
128
|
+
const { fromSSO } = await import("./chunk-2vba9ke6.js");
|
|
133
129
|
return fromSSO({
|
|
134
130
|
profile,
|
|
135
131
|
logger: options.logger,
|
|
@@ -163,7 +159,7 @@ var resolveStaticCredentials = async (profile, options) => {
|
|
|
163
159
|
// ../../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js
|
|
164
160
|
var import_client6 = __toESM(require_client(), 1);
|
|
165
161
|
var isWebIdentityProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.web_identity_token_file === "string" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1;
|
|
166
|
-
var resolveWebIdentityCredentials = async (profile, options) => import("./chunk-
|
|
162
|
+
var resolveWebIdentityCredentials = async (profile, options) => import("./chunk-zsm2c35w.js").then(({ fromTokenFile }) => fromTokenFile({
|
|
167
163
|
webIdentityTokenFile: profile.web_identity_token_file,
|
|
168
164
|
roleArn: profile.role_arn,
|
|
169
165
|
roleSessionName: profile.role_session_name,
|
|
@@ -193,7 +189,7 @@ var resolveProfileData = async (profileName, profiles, options, visitedProfiles
|
|
|
193
189
|
if (isSsoProfile(data)) {
|
|
194
190
|
return await resolveSsoCredentials(profileName, data, options);
|
|
195
191
|
}
|
|
196
|
-
throw new
|
|
192
|
+
throw new CredentialsProviderError(`Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`, { logger: options.logger });
|
|
197
193
|
};
|
|
198
194
|
|
|
199
195
|
// ../../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js
|