@stacksjs/actions 0.70.14 → 0.70.16
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 +9 -9
- package/dist/{chunk-xeyhm37p.js → chunk-0crtxf8d.js} +21 -158
- package/dist/chunk-2m04vhea.js +145 -0
- package/dist/{chunk-4en18v46.js → chunk-6xbhnbwy.js} +21 -17
- package/dist/{chunk-76zhb40c.js → chunk-6xeh1279.js} +7 -6
- package/dist/{chunk-qkm8e752.js → chunk-8dsect0a.js} +5 -4
- package/dist/{chunk-t5em30ak.js → chunk-9menqd9a.js} +24 -16
- package/dist/{chunk-at51p2va.js → chunk-a7k3cdby.js} +1 -1
- package/dist/{chunk-dwkdjy0f.js → chunk-ad9b7jvj.js} +7 -6
- package/dist/{chunk-dkcsykt8.js → chunk-b5g5w1hh.js} +26 -6
- package/dist/{chunk-7s5qcjkt.js → chunk-bh25aaf7.js} +17 -9
- package/dist/{chunk-8pskhtbf.js → chunk-cv02w7e2.js} +3 -3
- package/dist/{chunk-kthq483f.js → chunk-f1cxwjkf.js} +6 -5
- package/dist/{chunk-ry125mbz.js → chunk-gdzs9jf4.js} +7 -6
- package/dist/{chunk-9fyrxvr0.js → chunk-hd6fdt5s.js} +7 -5
- package/dist/{chunk-vd0p1aye.js → chunk-hfkdpbh8.js} +9 -9
- package/dist/{chunk-ve9vn4xg.js → chunk-jdqxwpvc.js} +22 -67
- package/dist/{chunk-8fx9wfmd.js → chunk-kz10a3s9.js} +81 -77
- package/dist/{chunk-nmb4zt0g.js → chunk-whqcyjvm.js} +9 -9
- package/dist/{chunk-arh0hbb9.js → chunk-wn25qps4.js} +34 -25
- package/dist/{chunk-9vr8gng2.js → chunk-wvzpmd54.js} +15 -12
- package/dist/{chunk-b63wvdr0.js → chunk-y73a5ex0.js} +25 -24
- package/dist/database/seed.js +8 -8
- package/dist/generate/index.js +9 -9
- package/dist/index.js +9 -9
- package/dist/release.js +9 -9
- package/dist/upgrade.js +1 -1
- package/package.json +1 -1
- 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
|
|
@@ -22,8 +22,6 @@ import {
|
|
|
22
22
|
calculateBodyLength,
|
|
23
23
|
createDefaultUserAgentProvider,
|
|
24
24
|
customEndpointFunctions,
|
|
25
|
-
fromBase64,
|
|
26
|
-
fromUtf8,
|
|
27
25
|
getAwsRegionExtensionConfiguration,
|
|
28
26
|
getContentLengthPlugin,
|
|
29
27
|
getEndpointPlugin,
|
|
@@ -42,14 +40,12 @@ import {
|
|
|
42
40
|
resolveHostHeaderConfig,
|
|
43
41
|
resolveRegionConfig,
|
|
44
42
|
resolveRetryConfig,
|
|
45
|
-
resolveUserAgentConfig
|
|
46
|
-
|
|
47
|
-
toUtf8
|
|
48
|
-
} from "./chunk-ve9vn4xg.js";
|
|
43
|
+
resolveUserAgentConfig
|
|
44
|
+
} from "./chunk-jdqxwpvc.js";
|
|
49
45
|
import {
|
|
50
46
|
loadConfig,
|
|
51
47
|
parseUrl
|
|
52
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-bh25aaf7.js";
|
|
53
49
|
import {
|
|
54
50
|
ENV_PROFILE
|
|
55
51
|
} from "./chunk-bf8bq8pc.js";
|
|
@@ -75,17 +71,19 @@ import {
|
|
|
75
71
|
streamCollector,
|
|
76
72
|
take,
|
|
77
73
|
withBaseException
|
|
78
|
-
} from "./chunk-
|
|
79
|
-
import {
|
|
80
|
-
CredentialsProviderError,
|
|
81
|
-
chain,
|
|
82
|
-
memoize
|
|
83
|
-
} from "./chunk-zzerxbrm.js";
|
|
74
|
+
} from "./chunk-b5g5w1hh.js";
|
|
84
75
|
import {
|
|
85
76
|
require_dist_cjs,
|
|
86
|
-
require_dist_cjs2,
|
|
87
|
-
|
|
88
|
-
} from "./chunk-
|
|
77
|
+
require_dist_cjs2 as require_dist_cjs4,
|
|
78
|
+
require_dist_cjs4 as require_dist_cjs6
|
|
79
|
+
} from "./chunk-0crtxf8d.js";
|
|
80
|
+
import {
|
|
81
|
+
require_dist_cjs3 as require_dist_cjs2,
|
|
82
|
+
require_dist_cjs4 as require_dist_cjs3
|
|
83
|
+
} from "./chunk-a7k3cdby.js";
|
|
84
|
+
import {
|
|
85
|
+
require_dist_cjs as require_dist_cjs5
|
|
86
|
+
} from "./chunk-2m04vhea.js";
|
|
89
87
|
import {
|
|
90
88
|
isString,
|
|
91
89
|
make
|
|
@@ -5928,7 +5926,7 @@ var require_utils = __commonJS((exports) => {
|
|
|
5928
5926
|
exports.assertOptionalChainStart = assertOptionalChainStart;
|
|
5929
5927
|
exports.assertShape = assertShape;
|
|
5930
5928
|
exports.assertValueType = assertValueType;
|
|
5931
|
-
exports.chain =
|
|
5929
|
+
exports.chain = chain;
|
|
5932
5930
|
exports.default = defineType;
|
|
5933
5931
|
exports.defineAliasedType = defineAliasedType;
|
|
5934
5932
|
exports.validate = validate;
|
|
@@ -5975,7 +5973,7 @@ var require_utils = __commonJS((exports) => {
|
|
|
5975
5973
|
};
|
|
5976
5974
|
}
|
|
5977
5975
|
function arrayOf(elementType) {
|
|
5978
|
-
return
|
|
5976
|
+
return chain(assertValueType("array"), assertEach(elementType));
|
|
5979
5977
|
}
|
|
5980
5978
|
function arrayOfType(...typeNames) {
|
|
5981
5979
|
return arrayOf(assertNodeType(...typeNames));
|
|
@@ -6092,7 +6090,7 @@ ${errors.join(`
|
|
|
6092
6090
|
}
|
|
6093
6091
|
return validate2;
|
|
6094
6092
|
}
|
|
6095
|
-
function
|
|
6093
|
+
function chain(...fns) {
|
|
6096
6094
|
function validate2(...args) {
|
|
6097
6095
|
for (const fn of fns) {
|
|
6098
6096
|
fn(...args);
|
|
@@ -74679,16 +74677,16 @@ var require_parse4 = __commonJS((exports, module) => {
|
|
|
74679
74677
|
}
|
|
74680
74678
|
return obj;
|
|
74681
74679
|
};
|
|
74682
|
-
var parseObject = function(
|
|
74680
|
+
var parseObject = function(chain4, val2, options, valuesParsed) {
|
|
74683
74681
|
var currentArrayLength = 0;
|
|
74684
|
-
if (
|
|
74685
|
-
var parentKey =
|
|
74682
|
+
if (chain4.length > 0 && chain4[chain4.length - 1] === "[]") {
|
|
74683
|
+
var parentKey = chain4.slice(0, -1).join("");
|
|
74686
74684
|
currentArrayLength = Array.isArray(val2) && val2[parentKey] ? val2[parentKey].length : 0;
|
|
74687
74685
|
}
|
|
74688
74686
|
var leaf = valuesParsed ? val2 : parseArrayValue(val2, options, currentArrayLength);
|
|
74689
|
-
for (var i4 =
|
|
74687
|
+
for (var i4 = chain4.length - 1;i4 >= 0; --i4) {
|
|
74690
74688
|
var obj;
|
|
74691
|
-
var root =
|
|
74689
|
+
var root = chain4[i4];
|
|
74692
74690
|
if (root === "[]" && options.parseArrays) {
|
|
74693
74691
|
obj = options.allowEmptyArrays && (leaf === "" || options.strictNullHandling && leaf === null) ? [] : utils3.combine([], leaf);
|
|
74694
74692
|
} else {
|
|
@@ -94806,10 +94804,10 @@ var resolveEndpointDiscoveryConfig = (input, { endpointDiscoveryCommandCtor }) =
|
|
|
94806
94804
|
});
|
|
94807
94805
|
};
|
|
94808
94806
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/DynamoDBClient.js
|
|
94809
|
-
var import_core6 = __toESM(
|
|
94807
|
+
var import_core6 = __toESM(require_dist_cjs4(), 1);
|
|
94810
94808
|
|
|
94811
94809
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/auth/httpAuthSchemeProvider.js
|
|
94812
|
-
var import_core2 = __toESM(
|
|
94810
|
+
var import_core2 = __toESM(require_dist_cjs6(), 1);
|
|
94813
94811
|
var defaultDynamoDBHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
94814
94812
|
return {
|
|
94815
94813
|
operation: getSmithyContext(context).operation,
|
|
@@ -94865,7 +94863,7 @@ var commonParams = {
|
|
|
94865
94863
|
};
|
|
94866
94864
|
|
|
94867
94865
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/protocols/Aws_json1_0.js
|
|
94868
|
-
var import_core3 = __toESM(
|
|
94866
|
+
var import_core3 = __toESM(require_dist_cjs6(), 1);
|
|
94869
94867
|
|
|
94870
94868
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/models/DynamoDBServiceException.js
|
|
94871
94869
|
class DynamoDBServiceException extends ServiceException {
|
|
@@ -96486,21 +96484,25 @@ var package_default = {
|
|
|
96486
96484
|
};
|
|
96487
96485
|
|
|
96488
96486
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.js
|
|
96489
|
-
var import_core5 = __toESM(
|
|
96487
|
+
var import_core5 = __toESM(require_dist_cjs6(), 1);
|
|
96490
96488
|
var import_account_id_endpoint = __toESM(require_account_id_endpoint(), 1);
|
|
96491
96489
|
|
|
96490
|
+
// ../../../../node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
|
|
96491
|
+
var import_property_provider2 = __toESM(require_dist_cjs5(), 1);
|
|
96492
|
+
|
|
96492
96493
|
// ../../../../node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js
|
|
96494
|
+
var import_property_provider = __toESM(require_dist_cjs5(), 1);
|
|
96493
96495
|
var ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
|
|
96494
96496
|
var remoteProvider = async (init2) => {
|
|
96495
|
-
const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await import("./chunk-
|
|
96497
|
+
const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await import("./chunk-9menqd9a.js");
|
|
96496
96498
|
if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) {
|
|
96497
96499
|
init2.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");
|
|
96498
|
-
const { fromHttp } = await import("./chunk-
|
|
96499
|
-
return chain(fromHttp(init2), fromContainerMetadata(init2));
|
|
96500
|
+
const { fromHttp } = await import("./chunk-wvzpmd54.js");
|
|
96501
|
+
return import_property_provider.chain(fromHttp(init2), fromContainerMetadata(init2));
|
|
96500
96502
|
}
|
|
96501
96503
|
if (process.env[ENV_IMDS_DISABLED] && process.env[ENV_IMDS_DISABLED] !== "false") {
|
|
96502
96504
|
return async () => {
|
|
96503
|
-
throw new CredentialsProviderError("EC2 Instance Metadata Service access disabled", { logger: init2.logger });
|
|
96505
|
+
throw new import_property_provider.CredentialsProviderError("EC2 Instance Metadata Service access disabled", { logger: init2.logger });
|
|
96504
96506
|
};
|
|
96505
96507
|
}
|
|
96506
96508
|
init2.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata");
|
|
@@ -96509,7 +96511,7 @@ var remoteProvider = async (init2) => {
|
|
|
96509
96511
|
|
|
96510
96512
|
// ../../../../node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
|
|
96511
96513
|
var multipleCredentialSourceWarningEmitted = false;
|
|
96512
|
-
var defaultProvider = (init2 = {}) => memoize(chain(async () => {
|
|
96514
|
+
var defaultProvider = (init2 = {}) => import_property_provider2.memoize(import_property_provider2.chain(async () => {
|
|
96513
96515
|
const profile = init2.profile ?? process.env[ENV_PROFILE];
|
|
96514
96516
|
if (profile) {
|
|
96515
96517
|
const envStaticCredentialsAreSet = process.env[ENV_KEY] && process.env[ENV_SECRET];
|
|
@@ -96528,7 +96530,7 @@ var defaultProvider = (init2 = {}) => memoize(chain(async () => {
|
|
|
96528
96530
|
multipleCredentialSourceWarningEmitted = true;
|
|
96529
96531
|
}
|
|
96530
96532
|
}
|
|
96531
|
-
throw new CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.", {
|
|
96533
|
+
throw new import_property_provider2.CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.", {
|
|
96532
96534
|
logger: init2.logger,
|
|
96533
96535
|
tryNextLink: true
|
|
96534
96536
|
});
|
|
@@ -96539,27 +96541,27 @@ var defaultProvider = (init2 = {}) => memoize(chain(async () => {
|
|
|
96539
96541
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");
|
|
96540
96542
|
const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init2;
|
|
96541
96543
|
if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
|
|
96542
|
-
throw new CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init2.logger });
|
|
96544
|
+
throw new import_property_provider2.CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init2.logger });
|
|
96543
96545
|
}
|
|
96544
|
-
const { fromSSO } = await import("./chunk-
|
|
96546
|
+
const { fromSSO } = await import("./chunk-wn25qps4.js");
|
|
96545
96547
|
return fromSSO(init2)();
|
|
96546
96548
|
}, async () => {
|
|
96547
96549
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
|
|
96548
|
-
const { fromIni } = await import("./chunk-
|
|
96550
|
+
const { fromIni } = await import("./chunk-6xbhnbwy.js");
|
|
96549
96551
|
return fromIni(init2)();
|
|
96550
96552
|
}, async () => {
|
|
96551
96553
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
|
|
96552
|
-
const { fromProcess } = await import("./chunk-
|
|
96554
|
+
const { fromProcess } = await import("./chunk-6xeh1279.js");
|
|
96553
96555
|
return fromProcess(init2)();
|
|
96554
96556
|
}, async () => {
|
|
96555
96557
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");
|
|
96556
|
-
const { fromTokenFile } = await import("./chunk-
|
|
96558
|
+
const { fromTokenFile } = await import("./chunk-f1cxwjkf.js");
|
|
96557
96559
|
return fromTokenFile(init2)();
|
|
96558
96560
|
}, async () => {
|
|
96559
96561
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider");
|
|
96560
96562
|
return (await remoteProvider(init2))();
|
|
96561
96563
|
}, async () => {
|
|
96562
|
-
throw new CredentialsProviderError("Could not load credentials from any providers", {
|
|
96564
|
+
throw new import_property_provider2.CredentialsProviderError("Could not load credentials from any providers", {
|
|
96563
96565
|
tryNextLink: false,
|
|
96564
96566
|
logger: init2.logger
|
|
96565
96567
|
});
|
|
@@ -96567,7 +96569,9 @@ var defaultProvider = (init2 = {}) => memoize(chain(async () => {
|
|
|
96567
96569
|
var credentialsWillNeedRefresh = (credentials) => credentials?.expiration !== undefined;
|
|
96568
96570
|
var credentialsTreatedAsExpired = (credentials) => credentials?.expiration !== undefined && credentials.expiration.getTime() - Date.now() < 300000;
|
|
96569
96571
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.shared.js
|
|
96570
|
-
var import_core4 = __toESM(
|
|
96572
|
+
var import_core4 = __toESM(require_dist_cjs6(), 1);
|
|
96573
|
+
var import_util_base64 = __toESM(require_dist_cjs3(), 1);
|
|
96574
|
+
var import_util_utf8 = __toESM(require_dist_cjs2(), 1);
|
|
96571
96575
|
|
|
96572
96576
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/ruleset.js
|
|
96573
96577
|
var S3 = "required";
|
|
@@ -96650,8 +96654,8 @@ customEndpointFunctions.aws = awsEndpointFunctions;
|
|
|
96650
96654
|
var getRuntimeConfig = (config) => {
|
|
96651
96655
|
return {
|
|
96652
96656
|
apiVersion: "2012-08-10",
|
|
96653
|
-
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
96654
|
-
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
96657
|
+
base64Decoder: config?.base64Decoder ?? import_util_base64.fromBase64,
|
|
96658
|
+
base64Encoder: config?.base64Encoder ?? import_util_base64.toBase64,
|
|
96655
96659
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
96656
96660
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
96657
96661
|
extensions: config?.extensions ?? [],
|
|
@@ -96666,8 +96670,8 @@ var getRuntimeConfig = (config) => {
|
|
|
96666
96670
|
logger: config?.logger ?? new NoOpLogger,
|
|
96667
96671
|
serviceId: config?.serviceId ?? "DynamoDB",
|
|
96668
96672
|
urlParser: config?.urlParser ?? parseUrl,
|
|
96669
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
96670
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8
|
|
96673
|
+
utf8Decoder: config?.utf8Decoder ?? import_util_utf8.fromUtf8,
|
|
96674
|
+
utf8Encoder: config?.utf8Encoder ?? import_util_utf8.toUtf8
|
|
96671
96675
|
};
|
|
96672
96676
|
};
|
|
96673
96677
|
|
|
@@ -105609,8 +105613,8 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
105609
105613
|
}, data;
|
|
105610
105614
|
}
|
|
105611
105615
|
Object.defineProperty(exports2, "__esModule", { value: true }), exports2.buildPresetChain = function* (arg, context) {
|
|
105612
|
-
const
|
|
105613
|
-
return
|
|
105616
|
+
const chain3 = yield* buildPresetChainWalker(arg, context);
|
|
105617
|
+
return chain3 ? { plugins: dedupDescriptors(chain3.plugins), presets: dedupDescriptors(chain3.presets), options: chain3.options.map((o3) => normalizeOptions(o3)), files: new Set } : null;
|
|
105614
105618
|
}, exports2.buildPresetChainWalker = undefined, exports2.buildRootChain = function* (opts, context) {
|
|
105615
105619
|
let configReport, babelRcReport;
|
|
105616
105620
|
const programmaticLogger = new _printer.ConfigPrinter, programmaticChain = yield* loadProgrammaticChain({ options: opts, dirname: context.cwd }, context, undefined, programmaticLogger);
|
|
@@ -105655,8 +105659,8 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
105655
105659
|
|
|
105656
105660
|
`) + `
|
|
105657
105661
|
-----End Babel configs-----`);
|
|
105658
|
-
const
|
|
105659
|
-
return { plugins: isIgnored ? [] : dedupDescriptors(
|
|
105662
|
+
const chain3 = mergeChain(mergeChain(mergeChain(emptyChain(), configFileChain), fileChain), programmaticChain);
|
|
105663
|
+
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 };
|
|
105660
105664
|
};
|
|
105661
105665
|
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");
|
|
105662
105666
|
const debug = _debug()("babel:config:config-chain");
|
|
@@ -105672,8 +105676,8 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
105672
105676
|
return baseLogger2.configure(context2.showConfig, _printer.ChainFormatter.Config, { filepath });
|
|
105673
105677
|
}(file.filepath, context, baseLogger) });
|
|
105674
105678
|
function* loadFileChain(input, context, files, baseLogger) {
|
|
105675
|
-
const
|
|
105676
|
-
return
|
|
105679
|
+
const chain3 = yield* loadFileChainWalker(input, context, files, baseLogger);
|
|
105680
|
+
return chain3 == null || chain3.files.add(input.filepath), chain3;
|
|
105677
105681
|
}
|
|
105678
105682
|
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))));
|
|
105679
105683
|
function buildRootDescriptors({ dirname: dirname22, options }, alias, descriptors) {
|
|
@@ -105716,16 +105720,16 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
105716
105720
|
}
|
|
105717
105721
|
if (flattenedConfigs.some(({ config: { options: { ignore, only } } }) => shouldIgnore(context, ignore, only, dirname22)))
|
|
105718
105722
|
return null;
|
|
105719
|
-
const
|
|
105723
|
+
const chain3 = emptyChain(), logger = createLogger(input, context, baseLogger);
|
|
105720
105724
|
for (const { config: config3, index, envName } of flattenedConfigs) {
|
|
105721
|
-
if (!(yield* mergeExtendsChain(
|
|
105725
|
+
if (!(yield* mergeExtendsChain(chain3, config3.options, dirname22, context, files, baseLogger)))
|
|
105722
105726
|
return null;
|
|
105723
|
-
logger(config3, index, envName), yield* mergeChainOpts(
|
|
105727
|
+
logger(config3, index, envName), yield* mergeChainOpts(chain3, config3);
|
|
105724
105728
|
}
|
|
105725
|
-
return
|
|
105729
|
+
return chain3;
|
|
105726
105730
|
};
|
|
105727
105731
|
}
|
|
105728
|
-
function* mergeExtendsChain(
|
|
105732
|
+
function* mergeExtendsChain(chain3, opts, dirname22, context, files, baseLogger) {
|
|
105729
105733
|
if (opts.extends === undefined)
|
|
105730
105734
|
return true;
|
|
105731
105735
|
const file = yield* (0, _index.loadConfig)(opts.extends, dirname22, context.envName, context.caller);
|
|
@@ -105736,7 +105740,7 @@ File already loaded following the config chain:
|
|
|
105736
105740
|
`));
|
|
105737
105741
|
files.add(file);
|
|
105738
105742
|
const fileChain = yield* loadFileChain(validateExtendFile(file), context, files, baseLogger);
|
|
105739
|
-
return files.delete(file), !!fileChain && (mergeChain(
|
|
105743
|
+
return files.delete(file), !!fileChain && (mergeChain(chain3, fileChain), true);
|
|
105740
105744
|
}
|
|
105741
105745
|
function mergeChain(target, source) {
|
|
105742
105746
|
target.options.push(...source.options), target.plugins.push(...source.plugins), target.presets.push(...source.presets);
|
|
@@ -106564,7 +106568,7 @@ to your top-level package.json.
|
|
|
106564
106568
|
const pluginObj = (0, _plugins.validatePluginObject)(value2), plugin = Object.assign({}, pluginObj);
|
|
106565
106569
|
if (plugin.visitor && (plugin.visitor = _traverse().default.explode(Object.assign({}, plugin.visitor))), plugin.inherits) {
|
|
106566
106570
|
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)));
|
|
106567
|
-
plugin.pre =
|
|
106571
|
+
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]));
|
|
106568
106572
|
}
|
|
106569
106573
|
return new _plugin.default(plugin, options, alias, externalDependencies);
|
|
106570
106574
|
});
|
|
@@ -106593,7 +106597,7 @@ to your top-level package.json.
|
|
|
106593
106597
|
const preset = instantiatePreset(yield* presetDescriptorLoader(descriptor, context2));
|
|
106594
106598
|
return validatePreset(preset, context2, descriptor), { chain: yield* (0, _configChain.buildPresetChain)(preset, context2), externalDependencies: preset.externalDependencies };
|
|
106595
106599
|
}
|
|
106596
|
-
function
|
|
106600
|
+
function chain3(a3, b3) {
|
|
106597
106601
|
const fns = [a3, b3].filter(Boolean);
|
|
106598
106602
|
return fns.length <= 1 ? fns[0] : function(...args) {
|
|
106599
106603
|
for (const fn of fns)
|
|
@@ -115982,8 +115986,8 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
115982
115986
|
const node = super.parseSubscript(base, startLoc, noCalls, state);
|
|
115983
115987
|
if (state.optionalChainMember) {
|
|
115984
115988
|
if (node.type !== "OptionalMemberExpression" && node.type !== "OptionalCallExpression" || (node.type = node.type.substring(8)), state.stop) {
|
|
115985
|
-
const
|
|
115986
|
-
return
|
|
115989
|
+
const chain3 = this.startNodeAtNode(node);
|
|
115990
|
+
return chain3.expression = node, this.finishNode(chain3, "ChainExpression");
|
|
115987
115991
|
}
|
|
115988
115992
|
} else
|
|
115989
115993
|
node.type !== "MemberExpression" && node.type !== "CallExpression" || (node.optional = false);
|
|
@@ -121167,19 +121171,19 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
121167
121171
|
const checks = [];
|
|
121168
121172
|
let tmpVar;
|
|
121169
121173
|
for (let i3 = optionals.length - 1;i3 >= 0; i3--) {
|
|
121170
|
-
const node = optionals[i3], isCall = core.types.isCallExpression(node), chainWithTypes = isCall ? node.callee : node.object,
|
|
121174
|
+
const node = optionals[i3], isCall = core.types.isCallExpression(node), chainWithTypes = isCall ? node.callee : node.object, chain3 = helperSkipTransparentExpressionWrappers.skipTransparentExprWrapperNodes(chainWithTypes);
|
|
121171
121175
|
let ref, check2;
|
|
121172
|
-
if (isCall && core.types.isIdentifier(
|
|
121173
|
-
if (pureGetters && isSimpleMemberExpression(
|
|
121176
|
+
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))
|
|
121177
|
+
if (pureGetters && isSimpleMemberExpression(chain3))
|
|
121174
121178
|
node.callee = chainWithTypes;
|
|
121175
121179
|
else {
|
|
121176
|
-
const { object } =
|
|
121180
|
+
const { object } = chain3;
|
|
121177
121181
|
let context;
|
|
121178
121182
|
if (core.types.isSuper(object))
|
|
121179
121183
|
context = core.types.thisExpression();
|
|
121180
121184
|
else {
|
|
121181
121185
|
const memoized = scope.maybeGenerateMemoised(object);
|
|
121182
|
-
memoized ? (context = memoized,
|
|
121186
|
+
memoized ? (context = memoized, chain3.object = core.types.assignmentExpression("=", memoized, object)) : context = object;
|
|
121183
121187
|
}
|
|
121184
121188
|
node.arguments.unshift(core.types.cloneNode(context)), node.callee = core.types.memberExpression(node.callee, core.types.identifier("call"));
|
|
121185
121189
|
}
|
|
@@ -127329,7 +127333,7 @@ ${errors3.join(`
|
|
|
127329
127333
|
`)}`);
|
|
127330
127334
|
}
|
|
127331
127335
|
return validate2.shapeOf = shape, validate2;
|
|
127332
|
-
}, exports2.assertValueType = assertValueType, exports2.chain =
|
|
127336
|
+
}, exports2.assertValueType = assertValueType, exports2.chain = chain3, exports2.default = defineType, exports2.defineAliasedType = function(...aliases) {
|
|
127333
127337
|
return (type, opts = {}) => {
|
|
127334
127338
|
let defined = opts.aliases;
|
|
127335
127339
|
var _store$opts$inherits$;
|
|
@@ -127358,7 +127362,7 @@ ${errors3.join(`
|
|
|
127358
127362
|
return typeof typeName == "string" ? assertNodeType(typeName) : assertNodeType(...typeName);
|
|
127359
127363
|
}
|
|
127360
127364
|
function arrayOf(elementType) {
|
|
127361
|
-
return
|
|
127365
|
+
return chain3(assertValueType("array"), assertEach(elementType));
|
|
127362
127366
|
}
|
|
127363
127367
|
function arrayOfType(typeName) {
|
|
127364
127368
|
return arrayOf(typeIs(typeName));
|
|
@@ -127389,7 +127393,7 @@ ${errors3.join(`
|
|
|
127389
127393
|
}
|
|
127390
127394
|
return validate2.type = type, validate2;
|
|
127391
127395
|
}
|
|
127392
|
-
function
|
|
127396
|
+
function chain3(...fns) {
|
|
127393
127397
|
function validate2(...args) {
|
|
127394
127398
|
for (const fn of fns)
|
|
127395
127399
|
fn(...args);
|
|
@@ -155879,22 +155883,22 @@ var init_ProviderError = __esm2(() => {
|
|
|
155879
155883
|
}
|
|
155880
155884
|
};
|
|
155881
155885
|
});
|
|
155882
|
-
var
|
|
155886
|
+
var CredentialsProviderError3;
|
|
155883
155887
|
var init_CredentialsProviderError = __esm2(() => {
|
|
155884
155888
|
init_ProviderError();
|
|
155885
|
-
|
|
155889
|
+
CredentialsProviderError3 = class CredentialsProviderError4 extends ProviderError {
|
|
155886
155890
|
constructor(message, tryNextLink = true) {
|
|
155887
155891
|
super(message, tryNextLink);
|
|
155888
155892
|
this.tryNextLink = tryNextLink;
|
|
155889
155893
|
this.name = "CredentialsProviderError";
|
|
155890
|
-
Object.setPrototypeOf(this,
|
|
155894
|
+
Object.setPrototypeOf(this, CredentialsProviderError4.prototype);
|
|
155891
155895
|
}
|
|
155892
155896
|
};
|
|
155893
155897
|
});
|
|
155894
155898
|
var init_TokenProviderError = __esm2(() => {
|
|
155895
155899
|
init_ProviderError();
|
|
155896
155900
|
});
|
|
155897
|
-
var
|
|
155901
|
+
var chain3 = (...providers2) => async () => {
|
|
155898
155902
|
if (providers2.length === 0) {
|
|
155899
155903
|
throw new ProviderError("No providers in chain");
|
|
155900
155904
|
}
|
|
@@ -155975,7 +155979,7 @@ var fromEnv2 = (envVarSelector) => async () => {
|
|
|
155975
155979
|
}
|
|
155976
155980
|
return config3;
|
|
155977
155981
|
} catch (e22) {
|
|
155978
|
-
throw new
|
|
155982
|
+
throw new CredentialsProviderError3(e22.message || `Cannot load config from environment variables with getter: ${envVarSelector}`);
|
|
155979
155983
|
}
|
|
155980
155984
|
};
|
|
155981
155985
|
var init_fromEnv = __esm2(() => {
|
|
@@ -156167,7 +156171,7 @@ var fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...init
|
|
|
156167
156171
|
}
|
|
156168
156172
|
return configValue;
|
|
156169
156173
|
} catch (e22) {
|
|
156170
|
-
throw new
|
|
156174
|
+
throw new CredentialsProviderError3(e22.message || `Cannot load config for profile ${profile2} in SDK configuration files with getter: ${configSelector}`);
|
|
156171
156175
|
}
|
|
156172
156176
|
};
|
|
156173
156177
|
var init_fromSharedConfigFiles = __esm2(() => {
|
|
@@ -156179,7 +156183,7 @@ var fromStatic3 = (defaultValue) => isFunction22(defaultValue) ? async () => awa
|
|
|
156179
156183
|
var init_fromStatic = __esm2(() => {
|
|
156180
156184
|
init_dist_es4();
|
|
156181
156185
|
});
|
|
156182
|
-
var loadConfig2 = ({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => memoize2(
|
|
156186
|
+
var loadConfig2 = ({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => memoize2(chain3(fromEnv2(environmentVariableSelector), fromSharedConfigFiles(configFileSelector, configuration), fromStatic3(defaultValue)));
|
|
156183
156187
|
var init_configLoader = __esm2(() => {
|
|
156184
156188
|
init_dist_es4();
|
|
156185
156189
|
init_fromEnv();
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
route
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import"./chunk-
|
|
4
|
+
} from "./chunk-cv02w7e2.js";
|
|
5
|
+
import"./chunk-kz10a3s9.js";
|
|
6
6
|
import"./chunk-mdj7x1vs.js";
|
|
7
7
|
import"./chunk-p0c688mg.js";
|
|
8
|
-
import"./chunk-
|
|
8
|
+
import"./chunk-8dsect0a.js";
|
|
9
9
|
import"./chunk-a13x0e43.js";
|
|
10
10
|
import"./chunk-mdqphqep.js";
|
|
11
11
|
import"./chunk-qhh0v93n.js";
|
|
12
|
-
import"./chunk-
|
|
13
|
-
import"./chunk-
|
|
12
|
+
import"./chunk-jdqxwpvc.js";
|
|
13
|
+
import"./chunk-bh25aaf7.js";
|
|
14
14
|
import"./chunk-bf8bq8pc.js";
|
|
15
|
-
import"./chunk-
|
|
16
|
-
import"./chunk-
|
|
17
|
-
import"./chunk-
|
|
18
|
-
import"./chunk-at51p2va.js";
|
|
15
|
+
import"./chunk-b5g5w1hh.js";
|
|
16
|
+
import"./chunk-0crtxf8d.js";
|
|
17
|
+
import"./chunk-a7k3cdby.js";
|
|
19
18
|
import"./chunk-frw3va9v.js";
|
|
20
19
|
import"./chunk-saqpg5nd.js";
|
|
20
|
+
import"./chunk-2m04vhea.js";
|
|
21
21
|
import"./chunk-2dvnt46s.js";
|
|
22
22
|
import"./chunk-w6fdq4hk.js";
|
|
23
23
|
import"./chunk-wkwtsvym.js";
|