@stacksjs/actions 0.70.18 → 0.70.19
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 +7 -7
- package/dist/{chunk-veja9rez.js → chunk-0crtxf8d.js} +19 -156
- package/dist/{chunk-xgpn959d.js → chunk-264njj8m.js} +7 -7
- package/dist/{chunk-38cnnp2b.js → chunk-2jssg98j.js} +7 -5
- package/dist/chunk-2m04vhea.js +145 -0
- package/dist/{chunk-dhnwmbca.js → chunk-4tte2ccn.js} +6 -6
- package/dist/{chunk-9exgwfkw.js → chunk-6egz2b52.js} +5 -4
- package/dist/{chunk-e7mp4xy5.js → chunk-6vn0j49q.js} +12 -9
- package/dist/{chunk-76zhb40c.js → chunk-6xeh1279.js} +7 -6
- package/dist/{chunk-gtghjj5c.js → chunk-74nzt2f7.js} +12 -9
- package/dist/{chunk-qkm8e752.js → chunk-8dsect0a.js} +5 -4
- package/dist/{chunk-t5em30ak.js → chunk-9menqd9a.js} +24 -16
- package/dist/{chunk-c0b89186.js → chunk-annfdd3f.js} +7 -7
- package/dist/{chunk-f6a9g4qa.js → chunk-b7b7jd25.js} +5 -4
- package/dist/{chunk-7s5qcjkt.js → chunk-bh25aaf7.js} +17 -9
- package/dist/{chunk-zsm2c35w.js → chunk-cvxddy4g.js} +6 -5
- package/dist/{chunk-ky5192ey.js → chunk-fsa32kvk.js} +69 -67
- package/dist/{chunk-shmtrj5e.js → chunk-jqbza09y.js} +21 -17
- package/dist/{chunk-v1m830st.js → chunk-x1ny4wwh.js} +3 -3
- package/dist/{chunk-2vba9ke6.js → chunk-z4k3w6hz.js} +34 -25
- package/dist/database/seed.js +6 -6
- package/dist/generate/index.js +7 -7
- package/dist/index.js +7 -7
- package/dist/release.js +7 -7
- package/dist/upgrade.js +1 -1
- package/package.json +17 -17
- package/dist/chunk-zzerxbrm.js +0 -107
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
ENV_KEY,
|
|
3
3
|
ENV_SECRET,
|
|
4
4
|
fromEnv
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-8dsect0a.js";
|
|
6
6
|
import {
|
|
7
7
|
h,
|
|
8
8
|
x
|
|
@@ -43,11 +43,11 @@ import {
|
|
|
43
43
|
resolveUserAgentConfig,
|
|
44
44
|
toBase64,
|
|
45
45
|
toUtf8
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-74nzt2f7.js";
|
|
47
47
|
import {
|
|
48
48
|
loadConfig,
|
|
49
49
|
parseUrl
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-bh25aaf7.js";
|
|
51
51
|
import {
|
|
52
52
|
ENV_PROFILE
|
|
53
53
|
} from "./chunk-bf8bq8pc.js";
|
|
@@ -74,16 +74,14 @@ import {
|
|
|
74
74
|
take,
|
|
75
75
|
withBaseException
|
|
76
76
|
} from "./chunk-xt9exr2c.js";
|
|
77
|
-
import {
|
|
78
|
-
CredentialsProviderError,
|
|
79
|
-
chain,
|
|
80
|
-
memoize
|
|
81
|
-
} from "./chunk-zzerxbrm.js";
|
|
82
77
|
import {
|
|
83
78
|
require_dist_cjs,
|
|
84
79
|
require_dist_cjs2,
|
|
85
|
-
|
|
86
|
-
} from "./chunk-
|
|
80
|
+
require_dist_cjs4
|
|
81
|
+
} from "./chunk-0crtxf8d.js";
|
|
82
|
+
import {
|
|
83
|
+
require_dist_cjs as require_dist_cjs3
|
|
84
|
+
} from "./chunk-2m04vhea.js";
|
|
87
85
|
import {
|
|
88
86
|
isString,
|
|
89
87
|
make
|
|
@@ -5926,7 +5924,7 @@ var require_utils = __commonJS((exports) => {
|
|
|
5926
5924
|
exports.assertOptionalChainStart = assertOptionalChainStart;
|
|
5927
5925
|
exports.assertShape = assertShape;
|
|
5928
5926
|
exports.assertValueType = assertValueType;
|
|
5929
|
-
exports.chain =
|
|
5927
|
+
exports.chain = chain;
|
|
5930
5928
|
exports.default = defineType;
|
|
5931
5929
|
exports.defineAliasedType = defineAliasedType;
|
|
5932
5930
|
exports.validate = validate;
|
|
@@ -5973,7 +5971,7 @@ var require_utils = __commonJS((exports) => {
|
|
|
5973
5971
|
};
|
|
5974
5972
|
}
|
|
5975
5973
|
function arrayOf(elementType) {
|
|
5976
|
-
return
|
|
5974
|
+
return chain(assertValueType("array"), assertEach(elementType));
|
|
5977
5975
|
}
|
|
5978
5976
|
function arrayOfType(...typeNames) {
|
|
5979
5977
|
return arrayOf(assertNodeType(...typeNames));
|
|
@@ -6090,7 +6088,7 @@ ${errors.join(`
|
|
|
6090
6088
|
}
|
|
6091
6089
|
return validate2;
|
|
6092
6090
|
}
|
|
6093
|
-
function
|
|
6091
|
+
function chain(...fns) {
|
|
6094
6092
|
function validate2(...args) {
|
|
6095
6093
|
for (const fn of fns) {
|
|
6096
6094
|
fn(...args);
|
|
@@ -74677,16 +74675,16 @@ var require_parse4 = __commonJS((exports, module) => {
|
|
|
74677
74675
|
}
|
|
74678
74676
|
return obj;
|
|
74679
74677
|
};
|
|
74680
|
-
var parseObject = function(
|
|
74678
|
+
var parseObject = function(chain4, val2, options, valuesParsed) {
|
|
74681
74679
|
var currentArrayLength = 0;
|
|
74682
|
-
if (
|
|
74683
|
-
var parentKey =
|
|
74680
|
+
if (chain4.length > 0 && chain4[chain4.length - 1] === "[]") {
|
|
74681
|
+
var parentKey = chain4.slice(0, -1).join("");
|
|
74684
74682
|
currentArrayLength = Array.isArray(val2) && val2[parentKey] ? val2[parentKey].length : 0;
|
|
74685
74683
|
}
|
|
74686
74684
|
var leaf = valuesParsed ? val2 : parseArrayValue(val2, options, currentArrayLength);
|
|
74687
|
-
for (var i4 =
|
|
74685
|
+
for (var i4 = chain4.length - 1;i4 >= 0; --i4) {
|
|
74688
74686
|
var obj;
|
|
74689
|
-
var root =
|
|
74687
|
+
var root = chain4[i4];
|
|
74690
74688
|
if (root === "[]" && options.parseArrays) {
|
|
74691
74689
|
obj = options.allowEmptyArrays && (leaf === "" || options.strictNullHandling && leaf === null) ? [] : utils3.combine([], leaf);
|
|
74692
74690
|
} else {
|
|
@@ -94807,7 +94805,7 @@ var resolveEndpointDiscoveryConfig = (input, { endpointDiscoveryCommandCtor }) =
|
|
|
94807
94805
|
var import_core6 = __toESM(require_dist_cjs2(), 1);
|
|
94808
94806
|
|
|
94809
94807
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/auth/httpAuthSchemeProvider.js
|
|
94810
|
-
var import_core2 = __toESM(
|
|
94808
|
+
var import_core2 = __toESM(require_dist_cjs4(), 1);
|
|
94811
94809
|
var import_util_middleware = __toESM(require_dist_cjs(), 1);
|
|
94812
94810
|
var defaultDynamoDBHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
94813
94811
|
return {
|
|
@@ -94864,7 +94862,7 @@ var commonParams = {
|
|
|
94864
94862
|
};
|
|
94865
94863
|
|
|
94866
94864
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/protocols/Aws_json1_0.js
|
|
94867
|
-
var import_core3 = __toESM(
|
|
94865
|
+
var import_core3 = __toESM(require_dist_cjs4(), 1);
|
|
94868
94866
|
|
|
94869
94867
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/models/DynamoDBServiceException.js
|
|
94870
94868
|
class DynamoDBServiceException extends ServiceException {
|
|
@@ -96383,7 +96381,7 @@ class DescribeEndpointsCommand extends Command.classBuilder().ep(commonParams).m
|
|
|
96383
96381
|
var package_default = {
|
|
96384
96382
|
name: "@aws-sdk/client-dynamodb",
|
|
96385
96383
|
description: "AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native",
|
|
96386
|
-
version: "3.
|
|
96384
|
+
version: "3.777.0",
|
|
96387
96385
|
scripts: {
|
|
96388
96386
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
96389
96387
|
"build:cjs": "node ../../scripts/compilation/inline client-dynamodb",
|
|
@@ -96403,7 +96401,7 @@ var package_default = {
|
|
|
96403
96401
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
96404
96402
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
96405
96403
|
"@aws-sdk/core": "3.775.0",
|
|
96406
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
96404
|
+
"@aws-sdk/credential-provider-node": "3.777.0",
|
|
96407
96405
|
"@aws-sdk/middleware-endpoint-discovery": "3.775.0",
|
|
96408
96406
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
96409
96407
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
@@ -96485,21 +96483,25 @@ var package_default = {
|
|
|
96485
96483
|
};
|
|
96486
96484
|
|
|
96487
96485
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.js
|
|
96488
|
-
var import_core5 = __toESM(
|
|
96486
|
+
var import_core5 = __toESM(require_dist_cjs4(), 1);
|
|
96489
96487
|
var import_account_id_endpoint = __toESM(require_account_id_endpoint(), 1);
|
|
96490
96488
|
|
|
96489
|
+
// ../../../../node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
|
|
96490
|
+
var import_property_provider2 = __toESM(require_dist_cjs3(), 1);
|
|
96491
|
+
|
|
96491
96492
|
// ../../../../node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js
|
|
96493
|
+
var import_property_provider = __toESM(require_dist_cjs3(), 1);
|
|
96492
96494
|
var ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
|
|
96493
96495
|
var remoteProvider = async (init2) => {
|
|
96494
|
-
const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await import("./chunk-
|
|
96496
|
+
const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await import("./chunk-9menqd9a.js");
|
|
96495
96497
|
if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) {
|
|
96496
96498
|
init2.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");
|
|
96497
|
-
const { fromHttp } = await import("./chunk-
|
|
96498
|
-
return chain(fromHttp(init2), fromContainerMetadata(init2));
|
|
96499
|
+
const { fromHttp } = await import("./chunk-6vn0j49q.js");
|
|
96500
|
+
return import_property_provider.chain(fromHttp(init2), fromContainerMetadata(init2));
|
|
96499
96501
|
}
|
|
96500
96502
|
if (process.env[ENV_IMDS_DISABLED] && process.env[ENV_IMDS_DISABLED] !== "false") {
|
|
96501
96503
|
return async () => {
|
|
96502
|
-
throw new CredentialsProviderError("EC2 Instance Metadata Service access disabled", { logger: init2.logger });
|
|
96504
|
+
throw new import_property_provider.CredentialsProviderError("EC2 Instance Metadata Service access disabled", { logger: init2.logger });
|
|
96503
96505
|
};
|
|
96504
96506
|
}
|
|
96505
96507
|
init2.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata");
|
|
@@ -96508,7 +96510,7 @@ var remoteProvider = async (init2) => {
|
|
|
96508
96510
|
|
|
96509
96511
|
// ../../../../node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
|
|
96510
96512
|
var multipleCredentialSourceWarningEmitted = false;
|
|
96511
|
-
var defaultProvider = (init2 = {}) => memoize(chain(async () => {
|
|
96513
|
+
var defaultProvider = (init2 = {}) => import_property_provider2.memoize(import_property_provider2.chain(async () => {
|
|
96512
96514
|
const profile = init2.profile ?? process.env[ENV_PROFILE];
|
|
96513
96515
|
if (profile) {
|
|
96514
96516
|
const envStaticCredentialsAreSet = process.env[ENV_KEY] && process.env[ENV_SECRET];
|
|
@@ -96527,7 +96529,7 @@ var defaultProvider = (init2 = {}) => memoize(chain(async () => {
|
|
|
96527
96529
|
multipleCredentialSourceWarningEmitted = true;
|
|
96528
96530
|
}
|
|
96529
96531
|
}
|
|
96530
|
-
throw new CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.", {
|
|
96532
|
+
throw new import_property_provider2.CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.", {
|
|
96531
96533
|
logger: init2.logger,
|
|
96532
96534
|
tryNextLink: true
|
|
96533
96535
|
});
|
|
@@ -96538,27 +96540,27 @@ var defaultProvider = (init2 = {}) => memoize(chain(async () => {
|
|
|
96538
96540
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");
|
|
96539
96541
|
const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init2;
|
|
96540
96542
|
if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
|
|
96541
|
-
throw new CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init2.logger });
|
|
96543
|
+
throw new import_property_provider2.CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init2.logger });
|
|
96542
96544
|
}
|
|
96543
|
-
const { fromSSO } = await import("./chunk-
|
|
96545
|
+
const { fromSSO } = await import("./chunk-z4k3w6hz.js");
|
|
96544
96546
|
return fromSSO(init2)();
|
|
96545
96547
|
}, async () => {
|
|
96546
96548
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
|
|
96547
|
-
const { fromIni } = await import("./chunk-
|
|
96549
|
+
const { fromIni } = await import("./chunk-jqbza09y.js");
|
|
96548
96550
|
return fromIni(init2)();
|
|
96549
96551
|
}, async () => {
|
|
96550
96552
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
|
|
96551
|
-
const { fromProcess } = await import("./chunk-
|
|
96553
|
+
const { fromProcess } = await import("./chunk-6xeh1279.js");
|
|
96552
96554
|
return fromProcess(init2)();
|
|
96553
96555
|
}, async () => {
|
|
96554
96556
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");
|
|
96555
|
-
const { fromTokenFile } = await import("./chunk-
|
|
96557
|
+
const { fromTokenFile } = await import("./chunk-cvxddy4g.js");
|
|
96556
96558
|
return fromTokenFile(init2)();
|
|
96557
96559
|
}, async () => {
|
|
96558
96560
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider");
|
|
96559
96561
|
return (await remoteProvider(init2))();
|
|
96560
96562
|
}, async () => {
|
|
96561
|
-
throw new CredentialsProviderError("Could not load credentials from any providers", {
|
|
96563
|
+
throw new import_property_provider2.CredentialsProviderError("Could not load credentials from any providers", {
|
|
96562
96564
|
tryNextLink: false,
|
|
96563
96565
|
logger: init2.logger
|
|
96564
96566
|
});
|
|
@@ -96566,7 +96568,7 @@ var defaultProvider = (init2 = {}) => memoize(chain(async () => {
|
|
|
96566
96568
|
var credentialsWillNeedRefresh = (credentials) => credentials?.expiration !== undefined;
|
|
96567
96569
|
var credentialsTreatedAsExpired = (credentials) => credentials?.expiration !== undefined && credentials.expiration.getTime() - Date.now() < 300000;
|
|
96568
96570
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.shared.js
|
|
96569
|
-
var import_core4 = __toESM(
|
|
96571
|
+
var import_core4 = __toESM(require_dist_cjs4(), 1);
|
|
96570
96572
|
|
|
96571
96573
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/ruleset.js
|
|
96572
96574
|
var S3 = "required";
|
|
@@ -105608,8 +105610,8 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
105608
105610
|
}, data;
|
|
105609
105611
|
}
|
|
105610
105612
|
Object.defineProperty(exports2, "__esModule", { value: true }), exports2.buildPresetChain = function* (arg, context) {
|
|
105611
|
-
const
|
|
105612
|
-
return
|
|
105613
|
+
const chain3 = yield* buildPresetChainWalker(arg, context);
|
|
105614
|
+
return chain3 ? { plugins: dedupDescriptors(chain3.plugins), presets: dedupDescriptors(chain3.presets), options: chain3.options.map((o3) => normalizeOptions(o3)), files: new Set } : null;
|
|
105613
105615
|
}, exports2.buildPresetChainWalker = undefined, exports2.buildRootChain = function* (opts, context) {
|
|
105614
105616
|
let configReport, babelRcReport;
|
|
105615
105617
|
const programmaticLogger = new _printer.ConfigPrinter, programmaticChain = yield* loadProgrammaticChain({ options: opts, dirname: context.cwd }, context, undefined, programmaticLogger);
|
|
@@ -105654,8 +105656,8 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
105654
105656
|
|
|
105655
105657
|
`) + `
|
|
105656
105658
|
-----End Babel configs-----`);
|
|
105657
|
-
const
|
|
105658
|
-
return { plugins: isIgnored ? [] : dedupDescriptors(
|
|
105659
|
+
const chain3 = mergeChain(mergeChain(mergeChain(emptyChain(), configFileChain), fileChain), programmaticChain);
|
|
105660
|
+
return { plugins: isIgnored ? [] : dedupDescriptors(chain3.plugins), presets: isIgnored ? [] : dedupDescriptors(chain3.presets), options: isIgnored ? [] : chain3.options.map((o3) => normalizeOptions(o3)), fileHandling: isIgnored ? "ignored" : "transpile", ignore: ignoreFile || undefined, babelrc: babelrcFile || undefined, config: configFile || undefined, files: chain3.files };
|
|
105659
105661
|
};
|
|
105660
105662
|
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");
|
|
105661
105663
|
const debug = _debug()("babel:config:config-chain");
|
|
@@ -105671,8 +105673,8 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
105671
105673
|
return baseLogger2.configure(context2.showConfig, _printer.ChainFormatter.Config, { filepath });
|
|
105672
105674
|
}(file.filepath, context, baseLogger) });
|
|
105673
105675
|
function* loadFileChain(input, context, files, baseLogger) {
|
|
105674
|
-
const
|
|
105675
|
-
return
|
|
105676
|
+
const chain3 = yield* loadFileChainWalker(input, context, files, baseLogger);
|
|
105677
|
+
return chain3 == null || chain3.files.add(input.filepath), chain3;
|
|
105676
105678
|
}
|
|
105677
105679
|
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))));
|
|
105678
105680
|
function buildRootDescriptors({ dirname: dirname22, options }, alias, descriptors) {
|
|
@@ -105715,16 +105717,16 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
105715
105717
|
}
|
|
105716
105718
|
if (flattenedConfigs.some(({ config: { options: { ignore, only } } }) => shouldIgnore(context, ignore, only, dirname22)))
|
|
105717
105719
|
return null;
|
|
105718
|
-
const
|
|
105720
|
+
const chain3 = emptyChain(), logger = createLogger(input, context, baseLogger);
|
|
105719
105721
|
for (const { config: config3, index, envName } of flattenedConfigs) {
|
|
105720
|
-
if (!(yield* mergeExtendsChain(
|
|
105722
|
+
if (!(yield* mergeExtendsChain(chain3, config3.options, dirname22, context, files, baseLogger)))
|
|
105721
105723
|
return null;
|
|
105722
|
-
logger(config3, index, envName), yield* mergeChainOpts(
|
|
105724
|
+
logger(config3, index, envName), yield* mergeChainOpts(chain3, config3);
|
|
105723
105725
|
}
|
|
105724
|
-
return
|
|
105726
|
+
return chain3;
|
|
105725
105727
|
};
|
|
105726
105728
|
}
|
|
105727
|
-
function* mergeExtendsChain(
|
|
105729
|
+
function* mergeExtendsChain(chain3, opts, dirname22, context, files, baseLogger) {
|
|
105728
105730
|
if (opts.extends === undefined)
|
|
105729
105731
|
return true;
|
|
105730
105732
|
const file = yield* (0, _index.loadConfig)(opts.extends, dirname22, context.envName, context.caller);
|
|
@@ -105735,7 +105737,7 @@ File already loaded following the config chain:
|
|
|
105735
105737
|
`));
|
|
105736
105738
|
files.add(file);
|
|
105737
105739
|
const fileChain = yield* loadFileChain(validateExtendFile(file), context, files, baseLogger);
|
|
105738
|
-
return files.delete(file), !!fileChain && (mergeChain(
|
|
105740
|
+
return files.delete(file), !!fileChain && (mergeChain(chain3, fileChain), true);
|
|
105739
105741
|
}
|
|
105740
105742
|
function mergeChain(target, source) {
|
|
105741
105743
|
target.options.push(...source.options), target.plugins.push(...source.plugins), target.presets.push(...source.presets);
|
|
@@ -106563,7 +106565,7 @@ to your top-level package.json.
|
|
|
106563
106565
|
const pluginObj = (0, _plugins.validatePluginObject)(value2), plugin = Object.assign({}, pluginObj);
|
|
106564
106566
|
if (plugin.visitor && (plugin.visitor = _traverse().default.explode(Object.assign({}, plugin.visitor))), plugin.inherits) {
|
|
106565
106567
|
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)));
|
|
106566
|
-
plugin.pre =
|
|
106568
|
+
plugin.pre = chain3(inherits.pre, plugin.pre), plugin.post = chain3(inherits.post, plugin.post), plugin.manipulateOptions = chain3(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]));
|
|
106567
106569
|
}
|
|
106568
106570
|
return new _plugin.default(plugin, options, alias, externalDependencies);
|
|
106569
106571
|
});
|
|
@@ -106592,7 +106594,7 @@ to your top-level package.json.
|
|
|
106592
106594
|
const preset = instantiatePreset(yield* presetDescriptorLoader(descriptor, context2));
|
|
106593
106595
|
return validatePreset(preset, context2, descriptor), { chain: yield* (0, _configChain.buildPresetChain)(preset, context2), externalDependencies: preset.externalDependencies };
|
|
106594
106596
|
}
|
|
106595
|
-
function
|
|
106597
|
+
function chain3(a3, b3) {
|
|
106596
106598
|
const fns = [a3, b3].filter(Boolean);
|
|
106597
106599
|
return fns.length <= 1 ? fns[0] : function(...args) {
|
|
106598
106600
|
for (const fn of fns)
|
|
@@ -115981,8 +115983,8 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
115981
115983
|
const node = super.parseSubscript(base, startLoc, noCalls, state);
|
|
115982
115984
|
if (state.optionalChainMember) {
|
|
115983
115985
|
if (node.type !== "OptionalMemberExpression" && node.type !== "OptionalCallExpression" || (node.type = node.type.substring(8)), state.stop) {
|
|
115984
|
-
const
|
|
115985
|
-
return
|
|
115986
|
+
const chain3 = this.startNodeAtNode(node);
|
|
115987
|
+
return chain3.expression = node, this.finishNode(chain3, "ChainExpression");
|
|
115986
115988
|
}
|
|
115987
115989
|
} else
|
|
115988
115990
|
node.type !== "MemberExpression" && node.type !== "CallExpression" || (node.optional = false);
|
|
@@ -121166,19 +121168,19 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
121166
121168
|
const checks = [];
|
|
121167
121169
|
let tmpVar;
|
|
121168
121170
|
for (let i3 = optionals.length - 1;i3 >= 0; i3--) {
|
|
121169
|
-
const node = optionals[i3], isCall = core.types.isCallExpression(node), chainWithTypes = isCall ? node.callee : node.object,
|
|
121171
|
+
const node = optionals[i3], isCall = core.types.isCallExpression(node), chainWithTypes = isCall ? node.callee : node.object, chain3 = helperSkipTransparentExpressionWrappers.skipTransparentExprWrapperNodes(chainWithTypes);
|
|
121170
121172
|
let ref, check2;
|
|
121171
|
-
if (isCall && core.types.isIdentifier(
|
|
121172
|
-
if (pureGetters && isSimpleMemberExpression(
|
|
121173
|
+
if (isCall && core.types.isIdentifier(chain3, { name: "eval" }) ? (check2 = ref = chain3, node.callee = core.types.sequenceExpression([core.types.numericLiteral(0), ref])) : pureGetters && isCall && isSimpleMemberExpression(chain3) ? check2 = ref = node.callee : scope.isStatic(chain3) ? check2 = ref = chainWithTypes : (tmpVar && !isCall || (tmpVar = scope.generateUidIdentifierBasedOnNode(chain3), 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(chain3))
|
|
121174
|
+
if (pureGetters && isSimpleMemberExpression(chain3))
|
|
121173
121175
|
node.callee = chainWithTypes;
|
|
121174
121176
|
else {
|
|
121175
|
-
const { object } =
|
|
121177
|
+
const { object } = chain3;
|
|
121176
121178
|
let context;
|
|
121177
121179
|
if (core.types.isSuper(object))
|
|
121178
121180
|
context = core.types.thisExpression();
|
|
121179
121181
|
else {
|
|
121180
121182
|
const memoized = scope.maybeGenerateMemoised(object);
|
|
121181
|
-
memoized ? (context = memoized,
|
|
121183
|
+
memoized ? (context = memoized, chain3.object = core.types.assignmentExpression("=", memoized, object)) : context = object;
|
|
121182
121184
|
}
|
|
121183
121185
|
node.arguments.unshift(core.types.cloneNode(context)), node.callee = core.types.memberExpression(node.callee, core.types.identifier("call"));
|
|
121184
121186
|
}
|
|
@@ -127328,7 +127330,7 @@ ${errors3.join(`
|
|
|
127328
127330
|
`)}`);
|
|
127329
127331
|
}
|
|
127330
127332
|
return validate2.shapeOf = shape, validate2;
|
|
127331
|
-
}, exports2.assertValueType = assertValueType, exports2.chain =
|
|
127333
|
+
}, exports2.assertValueType = assertValueType, exports2.chain = chain3, exports2.default = defineType, exports2.defineAliasedType = function(...aliases) {
|
|
127332
127334
|
return (type, opts = {}) => {
|
|
127333
127335
|
let defined = opts.aliases;
|
|
127334
127336
|
var _store$opts$inherits$;
|
|
@@ -127357,7 +127359,7 @@ ${errors3.join(`
|
|
|
127357
127359
|
return typeof typeName == "string" ? assertNodeType(typeName) : assertNodeType(...typeName);
|
|
127358
127360
|
}
|
|
127359
127361
|
function arrayOf(elementType) {
|
|
127360
|
-
return
|
|
127362
|
+
return chain3(assertValueType("array"), assertEach(elementType));
|
|
127361
127363
|
}
|
|
127362
127364
|
function arrayOfType(typeName) {
|
|
127363
127365
|
return arrayOf(typeIs(typeName));
|
|
@@ -127388,7 +127390,7 @@ ${errors3.join(`
|
|
|
127388
127390
|
}
|
|
127389
127391
|
return validate2.type = type, validate2;
|
|
127390
127392
|
}
|
|
127391
|
-
function
|
|
127393
|
+
function chain3(...fns) {
|
|
127392
127394
|
function validate2(...args) {
|
|
127393
127395
|
for (const fn of fns)
|
|
127394
127396
|
fn(...args);
|
|
@@ -155878,22 +155880,22 @@ var init_ProviderError = __esm2(() => {
|
|
|
155878
155880
|
}
|
|
155879
155881
|
};
|
|
155880
155882
|
});
|
|
155881
|
-
var
|
|
155883
|
+
var CredentialsProviderError3;
|
|
155882
155884
|
var init_CredentialsProviderError = __esm2(() => {
|
|
155883
155885
|
init_ProviderError();
|
|
155884
|
-
|
|
155886
|
+
CredentialsProviderError3 = class CredentialsProviderError4 extends ProviderError {
|
|
155885
155887
|
constructor(message, tryNextLink = true) {
|
|
155886
155888
|
super(message, tryNextLink);
|
|
155887
155889
|
this.tryNextLink = tryNextLink;
|
|
155888
155890
|
this.name = "CredentialsProviderError";
|
|
155889
|
-
Object.setPrototypeOf(this,
|
|
155891
|
+
Object.setPrototypeOf(this, CredentialsProviderError4.prototype);
|
|
155890
155892
|
}
|
|
155891
155893
|
};
|
|
155892
155894
|
});
|
|
155893
155895
|
var init_TokenProviderError = __esm2(() => {
|
|
155894
155896
|
init_ProviderError();
|
|
155895
155897
|
});
|
|
155896
|
-
var
|
|
155898
|
+
var chain3 = (...providers2) => async () => {
|
|
155897
155899
|
if (providers2.length === 0) {
|
|
155898
155900
|
throw new ProviderError("No providers in chain");
|
|
155899
155901
|
}
|
|
@@ -155974,7 +155976,7 @@ var fromEnv2 = (envVarSelector) => async () => {
|
|
|
155974
155976
|
}
|
|
155975
155977
|
return config3;
|
|
155976
155978
|
} catch (e22) {
|
|
155977
|
-
throw new
|
|
155979
|
+
throw new CredentialsProviderError3(e22.message || `Cannot load config from environment variables with getter: ${envVarSelector}`);
|
|
155978
155980
|
}
|
|
155979
155981
|
};
|
|
155980
155982
|
var init_fromEnv = __esm2(() => {
|
|
@@ -156166,7 +156168,7 @@ var fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...init
|
|
|
156166
156168
|
}
|
|
156167
156169
|
return configValue;
|
|
156168
156170
|
} catch (e22) {
|
|
156169
|
-
throw new
|
|
156171
|
+
throw new CredentialsProviderError3(e22.message || `Cannot load config for profile ${profile2} in SDK configuration files with getter: ${configSelector}`);
|
|
156170
156172
|
}
|
|
156171
156173
|
};
|
|
156172
156174
|
var init_fromSharedConfigFiles = __esm2(() => {
|
|
@@ -156178,7 +156180,7 @@ var fromStatic3 = (defaultValue) => isFunction22(defaultValue) ? async () => awa
|
|
|
156178
156180
|
var init_fromStatic = __esm2(() => {
|
|
156179
156181
|
init_dist_es4();
|
|
156180
156182
|
});
|
|
156181
|
-
var loadConfig2 = ({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => memoize2(
|
|
156183
|
+
var loadConfig2 = ({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => memoize2(chain3(fromEnv2(environmentVariableSelector), fromSharedConfigFiles(configFileSelector, configuration), fromStatic3(defaultValue)));
|
|
156182
156184
|
var init_configLoader = __esm2(() => {
|
|
156183
156185
|
init_dist_es4();
|
|
156184
156186
|
init_fromEnv();
|
|
@@ -3,47 +3,51 @@ import {
|
|
|
3
3
|
getProfileName,
|
|
4
4
|
parseKnownFiles
|
|
5
5
|
} from "./chunk-bf8bq8pc.js";
|
|
6
|
-
import {
|
|
7
|
-
CredentialsProviderError,
|
|
8
|
-
chain
|
|
9
|
-
} from "./chunk-zzerxbrm.js";
|
|
10
6
|
import {
|
|
11
7
|
require_client
|
|
12
8
|
} from "./chunk-frw3va9v.js";
|
|
13
9
|
import"./chunk-saqpg5nd.js";
|
|
10
|
+
import {
|
|
11
|
+
require_dist_cjs
|
|
12
|
+
} from "./chunk-2m04vhea.js";
|
|
14
13
|
import {
|
|
15
14
|
__require,
|
|
16
15
|
__toESM
|
|
17
16
|
} from "./chunk-9v6qtbez.js";
|
|
18
17
|
|
|
18
|
+
// ../../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js
|
|
19
|
+
var import_property_provider3 = __toESM(require_dist_cjs(), 1);
|
|
20
|
+
|
|
19
21
|
// ../../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js
|
|
20
22
|
var import_client2 = __toESM(require_client(), 1);
|
|
23
|
+
var import_property_provider2 = __toESM(require_dist_cjs(), 1);
|
|
21
24
|
|
|
22
25
|
// ../../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js
|
|
23
26
|
var import_client = __toESM(require_client(), 1);
|
|
27
|
+
var import_property_provider = __toESM(require_dist_cjs(), 1);
|
|
24
28
|
var resolveCredentialSource = (credentialSource, profileName, logger) => {
|
|
25
29
|
const sourceProvidersMap = {
|
|
26
30
|
EcsContainer: async (options) => {
|
|
27
|
-
const { fromHttp } = await import("./chunk-
|
|
28
|
-
const { fromContainerMetadata } = await import("./chunk-
|
|
31
|
+
const { fromHttp } = await import("./chunk-6vn0j49q.js");
|
|
32
|
+
const { fromContainerMetadata } = await import("./chunk-9menqd9a.js");
|
|
29
33
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer");
|
|
30
|
-
return async () => chain(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);
|
|
34
|
+
return async () => import_property_provider.chain(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);
|
|
31
35
|
},
|
|
32
36
|
Ec2InstanceMetadata: async (options) => {
|
|
33
37
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");
|
|
34
|
-
const { fromInstanceMetadata } = await import("./chunk-
|
|
38
|
+
const { fromInstanceMetadata } = await import("./chunk-9menqd9a.js");
|
|
35
39
|
return async () => fromInstanceMetadata(options)().then(setNamedProvider);
|
|
36
40
|
},
|
|
37
41
|
Environment: async (options) => {
|
|
38
42
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");
|
|
39
|
-
const { fromEnv } = await import("./chunk-
|
|
43
|
+
const { fromEnv } = await import("./chunk-8dsect0a.js");
|
|
40
44
|
return async () => fromEnv(options)().then(setNamedProvider);
|
|
41
45
|
}
|
|
42
46
|
};
|
|
43
47
|
if (credentialSource in sourceProvidersMap) {
|
|
44
48
|
return sourceProvidersMap[credentialSource];
|
|
45
49
|
} else {
|
|
46
|
-
throw new CredentialsProviderError(`Unsupported credential source in profile ${profileName}. Got ${credentialSource}, expected EcsContainer or Ec2InstanceMetadata or Environment.`, { logger });
|
|
50
|
+
throw new import_property_provider.CredentialsProviderError(`Unsupported credential source in profile ${profileName}. Got ${credentialSource}, expected EcsContainer or Ec2InstanceMetadata or Environment.`, { logger });
|
|
47
51
|
}
|
|
48
52
|
};
|
|
49
53
|
var setNamedProvider = (creds) => import_client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_NAMED_PROVIDER", "p");
|
|
@@ -71,7 +75,7 @@ var resolveAssumeRoleCredentials = async (profileName, profiles, options, visite
|
|
|
71
75
|
const profileData = profiles[profileName];
|
|
72
76
|
const { source_profile, region } = profileData;
|
|
73
77
|
if (!options.roleAssumer) {
|
|
74
|
-
const { getDefaultRoleAssumer } = await import("./chunk-
|
|
78
|
+
const { getDefaultRoleAssumer } = await import("./chunk-6egz2b52.js");
|
|
75
79
|
options.roleAssumer = getDefaultRoleAssumer({
|
|
76
80
|
...options.clientConfig,
|
|
77
81
|
credentialProviderLogger: options.logger,
|
|
@@ -82,7 +86,7 @@ var resolveAssumeRoleCredentials = async (profileName, profiles, options, visite
|
|
|
82
86
|
}, options.clientPlugins);
|
|
83
87
|
}
|
|
84
88
|
if (source_profile && source_profile in visitedProfiles) {
|
|
85
|
-
throw new CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile ${getProfileName(options)}. Profiles visited: ` + Object.keys(visitedProfiles).join(", "), { logger: options.logger });
|
|
89
|
+
throw new import_property_provider2.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile ${getProfileName(options)}. Profiles visited: ` + Object.keys(visitedProfiles).join(", "), { logger: options.logger });
|
|
86
90
|
}
|
|
87
91
|
options.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`);
|
|
88
92
|
const sourceCredsProvider = source_profile ? resolveProfileData(source_profile, profiles, options, {
|
|
@@ -101,7 +105,7 @@ var resolveAssumeRoleCredentials = async (profileName, profiles, options, visite
|
|
|
101
105
|
const { mfa_serial } = profileData;
|
|
102
106
|
if (mfa_serial) {
|
|
103
107
|
if (!options.mfaCodeProvider) {
|
|
104
|
-
throw new CredentialsProviderError(`Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`, { logger: options.logger, tryNextLink: false });
|
|
108
|
+
throw new import_property_provider2.CredentialsProviderError(`Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`, { logger: options.logger, tryNextLink: false });
|
|
105
109
|
}
|
|
106
110
|
params.SerialNumber = mfa_serial;
|
|
107
111
|
params.TokenCode = await options.mfaCodeProvider(mfa_serial);
|
|
@@ -117,7 +121,7 @@ var isCredentialSourceWithoutRoleArn = (section) => {
|
|
|
117
121
|
// ../../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js
|
|
118
122
|
var import_client3 = __toESM(require_client(), 1);
|
|
119
123
|
var isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string";
|
|
120
|
-
var resolveProcessCredentials = async (options, profile) => import("./chunk-
|
|
124
|
+
var resolveProcessCredentials = async (options, profile) => import("./chunk-6xeh1279.js").then(({ fromProcess }) => fromProcess({
|
|
121
125
|
...options,
|
|
122
126
|
profile
|
|
123
127
|
})().then((creds) => import_client3.setCredentialFeature(creds, "CREDENTIALS_PROFILE_PROCESS", "v")));
|
|
@@ -125,7 +129,7 @@ var resolveProcessCredentials = async (options, profile) => import("./chunk-76zh
|
|
|
125
129
|
// ../../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js
|
|
126
130
|
var import_client4 = __toESM(require_client(), 1);
|
|
127
131
|
var resolveSsoCredentials = async (profile, profileData, options = {}) => {
|
|
128
|
-
const { fromSSO } = await import("./chunk-
|
|
132
|
+
const { fromSSO } = await import("./chunk-z4k3w6hz.js");
|
|
129
133
|
return fromSSO({
|
|
130
134
|
profile,
|
|
131
135
|
logger: options.logger,
|
|
@@ -159,7 +163,7 @@ var resolveStaticCredentials = async (profile, options) => {
|
|
|
159
163
|
// ../../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js
|
|
160
164
|
var import_client6 = __toESM(require_client(), 1);
|
|
161
165
|
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;
|
|
162
|
-
var resolveWebIdentityCredentials = async (profile, options) => import("./chunk-
|
|
166
|
+
var resolveWebIdentityCredentials = async (profile, options) => import("./chunk-cvxddy4g.js").then(({ fromTokenFile }) => fromTokenFile({
|
|
163
167
|
webIdentityTokenFile: profile.web_identity_token_file,
|
|
164
168
|
roleArn: profile.role_arn,
|
|
165
169
|
roleSessionName: profile.role_session_name,
|
|
@@ -189,7 +193,7 @@ var resolveProfileData = async (profileName, profiles, options, visitedProfiles
|
|
|
189
193
|
if (isSsoProfile(data)) {
|
|
190
194
|
return await resolveSsoCredentials(profileName, data, options);
|
|
191
195
|
}
|
|
192
|
-
throw new CredentialsProviderError(`Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`, { logger: options.logger });
|
|
196
|
+
throw new import_property_provider3.CredentialsProviderError(`Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`, { logger: options.logger });
|
|
193
197
|
};
|
|
194
198
|
|
|
195
199
|
// ../../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
db
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-fsa32kvk.js";
|
|
4
4
|
import {
|
|
5
5
|
customValidate,
|
|
6
6
|
isObjectNotEmpty,
|
|
@@ -319,8 +319,8 @@ class Router {
|
|
|
319
319
|
return this.routes;
|
|
320
320
|
}
|
|
321
321
|
async importRoutes() {
|
|
322
|
-
await import("./chunk-
|
|
323
|
-
await import("./chunk-
|
|
322
|
+
await import("./chunk-annfdd3f.js");
|
|
323
|
+
await import("./chunk-264njj8m.js");
|
|
324
324
|
}
|
|
325
325
|
async resolveCallback(callback) {
|
|
326
326
|
if (callback instanceof Promise) {
|