@stacksjs/actions 0.70.15 → 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 +7 -7
- package/dist/{chunk-veja9rez.js → chunk-0crtxf8d.js} +19 -156
- package/dist/chunk-2m04vhea.js +145 -0
- package/dist/{chunk-sd89e9y4.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-f6a9g4qa.js → chunk-ad9b7jvj.js} +5 -4
- package/dist/{chunk-7s5qcjkt.js → chunk-bh25aaf7.js} +17 -9
- package/dist/{chunk-vyprc4qf.js → chunk-cv02w7e2.js} +3 -3
- package/dist/{chunk-zsm2c35w.js → chunk-f1cxwjkf.js} +6 -5
- package/dist/{chunk-9exgwfkw.js → chunk-gdzs9jf4.js} +5 -4
- package/dist/{chunk-38cnnp2b.js → chunk-hd6fdt5s.js} +6 -4
- package/dist/{chunk-vn1pz0f4.js → chunk-hfkdpbh8.js} +7 -7
- package/dist/{chunk-63btjfd6.js → chunk-jdqxwpvc.js} +34 -78
- package/dist/{chunk-4abmhfp5.js → chunk-kz10a3s9.js} +84 -79
- package/dist/{chunk-p2ga6zq1.js → chunk-whqcyjvm.js} +7 -7
- package/dist/{chunk-1ntvvbhr.js → chunk-wn25qps4.js} +34 -25
- package/dist/{chunk-q81mf99q.js → chunk-wvzpmd54.js} +12 -9
- package/dist/{chunk-7a9vhs9s.js → chunk-y73a5ex0.js} +28 -27
- 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 +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,
|
|
@@ -32,7 +30,9 @@ import {
|
|
|
32
30
|
getRecursionDetectionPlugin,
|
|
33
31
|
getRetryPlugin,
|
|
34
32
|
getSerdePlugin,
|
|
33
|
+
getSmithyContext,
|
|
35
34
|
getUserAgentPlugin,
|
|
35
|
+
normalizeProvider,
|
|
36
36
|
resolveAwsRegionExtensionConfiguration,
|
|
37
37
|
resolveDefaultsModeConfig,
|
|
38
38
|
resolveEndpoint,
|
|
@@ -40,14 +40,12 @@ import {
|
|
|
40
40
|
resolveHostHeaderConfig,
|
|
41
41
|
resolveRegionConfig,
|
|
42
42
|
resolveRetryConfig,
|
|
43
|
-
resolveUserAgentConfig
|
|
44
|
-
|
|
45
|
-
toUtf8
|
|
46
|
-
} from "./chunk-63btjfd6.js";
|
|
43
|
+
resolveUserAgentConfig
|
|
44
|
+
} from "./chunk-jdqxwpvc.js";
|
|
47
45
|
import {
|
|
48
46
|
loadConfig,
|
|
49
47
|
parseUrl
|
|
50
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-bh25aaf7.js";
|
|
51
49
|
import {
|
|
52
50
|
ENV_PROFILE
|
|
53
51
|
} from "./chunk-bf8bq8pc.js";
|
|
@@ -74,16 +72,18 @@ import {
|
|
|
74
72
|
take,
|
|
75
73
|
withBaseException
|
|
76
74
|
} from "./chunk-b5g5w1hh.js";
|
|
77
|
-
import {
|
|
78
|
-
CredentialsProviderError,
|
|
79
|
-
chain,
|
|
80
|
-
memoize
|
|
81
|
-
} from "./chunk-zzerxbrm.js";
|
|
82
75
|
import {
|
|
83
76
|
require_dist_cjs,
|
|
84
|
-
require_dist_cjs2,
|
|
85
|
-
|
|
86
|
-
} 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";
|
|
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 = chain;
|
|
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 chain(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 chain(...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(chain4, val2, options, valuesParsed) {
|
|
74681
74681
|
var currentArrayLength = 0;
|
|
74682
|
-
if (
|
|
74683
|
-
var parentKey =
|
|
74682
|
+
if (chain4.length > 0 && chain4[chain4.length - 1] === "[]") {
|
|
74683
|
+
var parentKey = chain4.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 = chain4.length - 1;i4 >= 0; --i4) {
|
|
74688
74688
|
var obj;
|
|
74689
|
-
var root =
|
|
74689
|
+
var root = chain4[i4];
|
|
74690
74690
|
if (root === "[]" && options.parseArrays) {
|
|
74691
74691
|
obj = options.allowEmptyArrays && (leaf === "" || options.strictNullHandling && leaf === null) ? [] : utils3.combine([], leaf);
|
|
74692
74692
|
} else {
|
|
@@ -94804,15 +94804,14 @@ 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_cjs4(), 1);
|
|
94808
94808
|
|
|
94809
94809
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/auth/httpAuthSchemeProvider.js
|
|
94810
|
-
var import_core2 = __toESM(
|
|
94811
|
-
var import_util_middleware = __toESM(require_dist_cjs(), 1);
|
|
94810
|
+
var import_core2 = __toESM(require_dist_cjs6(), 1);
|
|
94812
94811
|
var defaultDynamoDBHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
94813
94812
|
return {
|
|
94814
|
-
operation:
|
|
94815
|
-
region: await
|
|
94813
|
+
operation: getSmithyContext(context).operation,
|
|
94814
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
94816
94815
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
94817
94816
|
})()
|
|
94818
94817
|
};
|
|
@@ -94864,7 +94863,7 @@ var commonParams = {
|
|
|
94864
94863
|
};
|
|
94865
94864
|
|
|
94866
94865
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/protocols/Aws_json1_0.js
|
|
94867
|
-
var import_core3 = __toESM(
|
|
94866
|
+
var import_core3 = __toESM(require_dist_cjs6(), 1);
|
|
94868
94867
|
|
|
94869
94868
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/models/DynamoDBServiceException.js
|
|
94870
94869
|
class DynamoDBServiceException extends ServiceException {
|
|
@@ -96485,21 +96484,25 @@ var package_default = {
|
|
|
96485
96484
|
};
|
|
96486
96485
|
|
|
96487
96486
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.js
|
|
96488
|
-
var import_core5 = __toESM(
|
|
96487
|
+
var import_core5 = __toESM(require_dist_cjs6(), 1);
|
|
96489
96488
|
var import_account_id_endpoint = __toESM(require_account_id_endpoint(), 1);
|
|
96490
96489
|
|
|
96490
|
+
// ../../../../node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
|
|
96491
|
+
var import_property_provider2 = __toESM(require_dist_cjs5(), 1);
|
|
96492
|
+
|
|
96491
96493
|
// ../../../../node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js
|
|
96494
|
+
var import_property_provider = __toESM(require_dist_cjs5(), 1);
|
|
96492
96495
|
var ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
|
|
96493
96496
|
var remoteProvider = async (init2) => {
|
|
96494
|
-
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");
|
|
96495
96498
|
if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) {
|
|
96496
96499
|
init2.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");
|
|
96497
|
-
const { fromHttp } = await import("./chunk-
|
|
96498
|
-
return chain(fromHttp(init2), fromContainerMetadata(init2));
|
|
96500
|
+
const { fromHttp } = await import("./chunk-wvzpmd54.js");
|
|
96501
|
+
return import_property_provider.chain(fromHttp(init2), fromContainerMetadata(init2));
|
|
96499
96502
|
}
|
|
96500
96503
|
if (process.env[ENV_IMDS_DISABLED] && process.env[ENV_IMDS_DISABLED] !== "false") {
|
|
96501
96504
|
return async () => {
|
|
96502
|
-
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 });
|
|
96503
96506
|
};
|
|
96504
96507
|
}
|
|
96505
96508
|
init2.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata");
|
|
@@ -96508,7 +96511,7 @@ var remoteProvider = async (init2) => {
|
|
|
96508
96511
|
|
|
96509
96512
|
// ../../../../node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
|
|
96510
96513
|
var multipleCredentialSourceWarningEmitted = false;
|
|
96511
|
-
var defaultProvider = (init2 = {}) => memoize(chain(async () => {
|
|
96514
|
+
var defaultProvider = (init2 = {}) => import_property_provider2.memoize(import_property_provider2.chain(async () => {
|
|
96512
96515
|
const profile = init2.profile ?? process.env[ENV_PROFILE];
|
|
96513
96516
|
if (profile) {
|
|
96514
96517
|
const envStaticCredentialsAreSet = process.env[ENV_KEY] && process.env[ENV_SECRET];
|
|
@@ -96527,7 +96530,7 @@ var defaultProvider = (init2 = {}) => memoize(chain(async () => {
|
|
|
96527
96530
|
multipleCredentialSourceWarningEmitted = true;
|
|
96528
96531
|
}
|
|
96529
96532
|
}
|
|
96530
|
-
throw new CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.", {
|
|
96533
|
+
throw new import_property_provider2.CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.", {
|
|
96531
96534
|
logger: init2.logger,
|
|
96532
96535
|
tryNextLink: true
|
|
96533
96536
|
});
|
|
@@ -96538,27 +96541,27 @@ var defaultProvider = (init2 = {}) => memoize(chain(async () => {
|
|
|
96538
96541
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");
|
|
96539
96542
|
const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init2;
|
|
96540
96543
|
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 });
|
|
96544
|
+
throw new import_property_provider2.CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init2.logger });
|
|
96542
96545
|
}
|
|
96543
|
-
const { fromSSO } = await import("./chunk-
|
|
96546
|
+
const { fromSSO } = await import("./chunk-wn25qps4.js");
|
|
96544
96547
|
return fromSSO(init2)();
|
|
96545
96548
|
}, async () => {
|
|
96546
96549
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
|
|
96547
|
-
const { fromIni } = await import("./chunk-
|
|
96550
|
+
const { fromIni } = await import("./chunk-6xbhnbwy.js");
|
|
96548
96551
|
return fromIni(init2)();
|
|
96549
96552
|
}, async () => {
|
|
96550
96553
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
|
|
96551
|
-
const { fromProcess } = await import("./chunk-
|
|
96554
|
+
const { fromProcess } = await import("./chunk-6xeh1279.js");
|
|
96552
96555
|
return fromProcess(init2)();
|
|
96553
96556
|
}, async () => {
|
|
96554
96557
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");
|
|
96555
|
-
const { fromTokenFile } = await import("./chunk-
|
|
96558
|
+
const { fromTokenFile } = await import("./chunk-f1cxwjkf.js");
|
|
96556
96559
|
return fromTokenFile(init2)();
|
|
96557
96560
|
}, async () => {
|
|
96558
96561
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider");
|
|
96559
96562
|
return (await remoteProvider(init2))();
|
|
96560
96563
|
}, async () => {
|
|
96561
|
-
throw new CredentialsProviderError("Could not load credentials from any providers", {
|
|
96564
|
+
throw new import_property_provider2.CredentialsProviderError("Could not load credentials from any providers", {
|
|
96562
96565
|
tryNextLink: false,
|
|
96563
96566
|
logger: init2.logger
|
|
96564
96567
|
});
|
|
@@ -96566,7 +96569,9 @@ var defaultProvider = (init2 = {}) => memoize(chain(async () => {
|
|
|
96566
96569
|
var credentialsWillNeedRefresh = (credentials) => credentials?.expiration !== undefined;
|
|
96567
96570
|
var credentialsTreatedAsExpired = (credentials) => credentials?.expiration !== undefined && credentials.expiration.getTime() - Date.now() < 300000;
|
|
96568
96571
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.shared.js
|
|
96569
|
-
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);
|
|
96570
96575
|
|
|
96571
96576
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/ruleset.js
|
|
96572
96577
|
var S3 = "required";
|
|
@@ -96649,8 +96654,8 @@ customEndpointFunctions.aws = awsEndpointFunctions;
|
|
|
96649
96654
|
var getRuntimeConfig = (config) => {
|
|
96650
96655
|
return {
|
|
96651
96656
|
apiVersion: "2012-08-10",
|
|
96652
|
-
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
96653
|
-
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
96657
|
+
base64Decoder: config?.base64Decoder ?? import_util_base64.fromBase64,
|
|
96658
|
+
base64Encoder: config?.base64Encoder ?? import_util_base64.toBase64,
|
|
96654
96659
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
96655
96660
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
96656
96661
|
extensions: config?.extensions ?? [],
|
|
@@ -96665,8 +96670,8 @@ var getRuntimeConfig = (config) => {
|
|
|
96665
96670
|
logger: config?.logger ?? new NoOpLogger,
|
|
96666
96671
|
serviceId: config?.serviceId ?? "DynamoDB",
|
|
96667
96672
|
urlParser: config?.urlParser ?? parseUrl,
|
|
96668
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
96669
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8
|
|
96673
|
+
utf8Decoder: config?.utf8Decoder ?? import_util_utf8.fromUtf8,
|
|
96674
|
+
utf8Encoder: config?.utf8Encoder ?? import_util_utf8.toUtf8
|
|
96670
96675
|
};
|
|
96671
96676
|
};
|
|
96672
96677
|
|
|
@@ -105608,8 +105613,8 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
105608
105613
|
}, data;
|
|
105609
105614
|
}
|
|
105610
105615
|
Object.defineProperty(exports2, "__esModule", { value: true }), exports2.buildPresetChain = function* (arg, context) {
|
|
105611
|
-
const
|
|
105612
|
-
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;
|
|
105613
105618
|
}, exports2.buildPresetChainWalker = undefined, exports2.buildRootChain = function* (opts, context) {
|
|
105614
105619
|
let configReport, babelRcReport;
|
|
105615
105620
|
const programmaticLogger = new _printer.ConfigPrinter, programmaticChain = yield* loadProgrammaticChain({ options: opts, dirname: context.cwd }, context, undefined, programmaticLogger);
|
|
@@ -105654,8 +105659,8 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
105654
105659
|
|
|
105655
105660
|
`) + `
|
|
105656
105661
|
-----End Babel configs-----`);
|
|
105657
|
-
const
|
|
105658
|
-
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 };
|
|
105659
105664
|
};
|
|
105660
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");
|
|
105661
105666
|
const debug = _debug()("babel:config:config-chain");
|
|
@@ -105671,8 +105676,8 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
105671
105676
|
return baseLogger2.configure(context2.showConfig, _printer.ChainFormatter.Config, { filepath });
|
|
105672
105677
|
}(file.filepath, context, baseLogger) });
|
|
105673
105678
|
function* loadFileChain(input, context, files, baseLogger) {
|
|
105674
|
-
const
|
|
105675
|
-
return
|
|
105679
|
+
const chain3 = yield* loadFileChainWalker(input, context, files, baseLogger);
|
|
105680
|
+
return chain3 == null || chain3.files.add(input.filepath), chain3;
|
|
105676
105681
|
}
|
|
105677
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))));
|
|
105678
105683
|
function buildRootDescriptors({ dirname: dirname22, options }, alias, descriptors) {
|
|
@@ -105715,16 +105720,16 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
105715
105720
|
}
|
|
105716
105721
|
if (flattenedConfigs.some(({ config: { options: { ignore, only } } }) => shouldIgnore(context, ignore, only, dirname22)))
|
|
105717
105722
|
return null;
|
|
105718
|
-
const
|
|
105723
|
+
const chain3 = emptyChain(), logger = createLogger(input, context, baseLogger);
|
|
105719
105724
|
for (const { config: config3, index, envName } of flattenedConfigs) {
|
|
105720
|
-
if (!(yield* mergeExtendsChain(
|
|
105725
|
+
if (!(yield* mergeExtendsChain(chain3, config3.options, dirname22, context, files, baseLogger)))
|
|
105721
105726
|
return null;
|
|
105722
|
-
logger(config3, index, envName), yield* mergeChainOpts(
|
|
105727
|
+
logger(config3, index, envName), yield* mergeChainOpts(chain3, config3);
|
|
105723
105728
|
}
|
|
105724
|
-
return
|
|
105729
|
+
return chain3;
|
|
105725
105730
|
};
|
|
105726
105731
|
}
|
|
105727
|
-
function* mergeExtendsChain(
|
|
105732
|
+
function* mergeExtendsChain(chain3, opts, dirname22, context, files, baseLogger) {
|
|
105728
105733
|
if (opts.extends === undefined)
|
|
105729
105734
|
return true;
|
|
105730
105735
|
const file = yield* (0, _index.loadConfig)(opts.extends, dirname22, context.envName, context.caller);
|
|
@@ -105735,7 +105740,7 @@ File already loaded following the config chain:
|
|
|
105735
105740
|
`));
|
|
105736
105741
|
files.add(file);
|
|
105737
105742
|
const fileChain = yield* loadFileChain(validateExtendFile(file), context, files, baseLogger);
|
|
105738
|
-
return files.delete(file), !!fileChain && (mergeChain(
|
|
105743
|
+
return files.delete(file), !!fileChain && (mergeChain(chain3, fileChain), true);
|
|
105739
105744
|
}
|
|
105740
105745
|
function mergeChain(target, source) {
|
|
105741
105746
|
target.options.push(...source.options), target.plugins.push(...source.plugins), target.presets.push(...source.presets);
|
|
@@ -106563,7 +106568,7 @@ to your top-level package.json.
|
|
|
106563
106568
|
const pluginObj = (0, _plugins.validatePluginObject)(value2), plugin = Object.assign({}, pluginObj);
|
|
106564
106569
|
if (plugin.visitor && (plugin.visitor = _traverse().default.explode(Object.assign({}, plugin.visitor))), plugin.inherits) {
|
|
106565
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)));
|
|
106566
|
-
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]));
|
|
106567
106572
|
}
|
|
106568
106573
|
return new _plugin.default(plugin, options, alias, externalDependencies);
|
|
106569
106574
|
});
|
|
@@ -106592,7 +106597,7 @@ to your top-level package.json.
|
|
|
106592
106597
|
const preset = instantiatePreset(yield* presetDescriptorLoader(descriptor, context2));
|
|
106593
106598
|
return validatePreset(preset, context2, descriptor), { chain: yield* (0, _configChain.buildPresetChain)(preset, context2), externalDependencies: preset.externalDependencies };
|
|
106594
106599
|
}
|
|
106595
|
-
function
|
|
106600
|
+
function chain3(a3, b3) {
|
|
106596
106601
|
const fns = [a3, b3].filter(Boolean);
|
|
106597
106602
|
return fns.length <= 1 ? fns[0] : function(...args) {
|
|
106598
106603
|
for (const fn of fns)
|
|
@@ -115981,8 +115986,8 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
115981
115986
|
const node = super.parseSubscript(base, startLoc, noCalls, state);
|
|
115982
115987
|
if (state.optionalChainMember) {
|
|
115983
115988
|
if (node.type !== "OptionalMemberExpression" && node.type !== "OptionalCallExpression" || (node.type = node.type.substring(8)), state.stop) {
|
|
115984
|
-
const
|
|
115985
|
-
return
|
|
115989
|
+
const chain3 = this.startNodeAtNode(node);
|
|
115990
|
+
return chain3.expression = node, this.finishNode(chain3, "ChainExpression");
|
|
115986
115991
|
}
|
|
115987
115992
|
} else
|
|
115988
115993
|
node.type !== "MemberExpression" && node.type !== "CallExpression" || (node.optional = false);
|
|
@@ -121166,19 +121171,19 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
121166
121171
|
const checks = [];
|
|
121167
121172
|
let tmpVar;
|
|
121168
121173
|
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,
|
|
121174
|
+
const node = optionals[i3], isCall = core.types.isCallExpression(node), chainWithTypes = isCall ? node.callee : node.object, chain3 = helperSkipTransparentExpressionWrappers.skipTransparentExprWrapperNodes(chainWithTypes);
|
|
121170
121175
|
let ref, check2;
|
|
121171
|
-
if (isCall && core.types.isIdentifier(
|
|
121172
|
-
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))
|
|
121173
121178
|
node.callee = chainWithTypes;
|
|
121174
121179
|
else {
|
|
121175
|
-
const { object } =
|
|
121180
|
+
const { object } = chain3;
|
|
121176
121181
|
let context;
|
|
121177
121182
|
if (core.types.isSuper(object))
|
|
121178
121183
|
context = core.types.thisExpression();
|
|
121179
121184
|
else {
|
|
121180
121185
|
const memoized = scope.maybeGenerateMemoised(object);
|
|
121181
|
-
memoized ? (context = memoized,
|
|
121186
|
+
memoized ? (context = memoized, chain3.object = core.types.assignmentExpression("=", memoized, object)) : context = object;
|
|
121182
121187
|
}
|
|
121183
121188
|
node.arguments.unshift(core.types.cloneNode(context)), node.callee = core.types.memberExpression(node.callee, core.types.identifier("call"));
|
|
121184
121189
|
}
|
|
@@ -127328,7 +127333,7 @@ ${errors3.join(`
|
|
|
127328
127333
|
`)}`);
|
|
127329
127334
|
}
|
|
127330
127335
|
return validate2.shapeOf = shape, validate2;
|
|
127331
|
-
}, exports2.assertValueType = assertValueType, exports2.chain =
|
|
127336
|
+
}, exports2.assertValueType = assertValueType, exports2.chain = chain3, exports2.default = defineType, exports2.defineAliasedType = function(...aliases) {
|
|
127332
127337
|
return (type, opts = {}) => {
|
|
127333
127338
|
let defined = opts.aliases;
|
|
127334
127339
|
var _store$opts$inherits$;
|
|
@@ -127357,7 +127362,7 @@ ${errors3.join(`
|
|
|
127357
127362
|
return typeof typeName == "string" ? assertNodeType(typeName) : assertNodeType(...typeName);
|
|
127358
127363
|
}
|
|
127359
127364
|
function arrayOf(elementType) {
|
|
127360
|
-
return
|
|
127365
|
+
return chain3(assertValueType("array"), assertEach(elementType));
|
|
127361
127366
|
}
|
|
127362
127367
|
function arrayOfType(typeName) {
|
|
127363
127368
|
return arrayOf(typeIs(typeName));
|
|
@@ -127388,7 +127393,7 @@ ${errors3.join(`
|
|
|
127388
127393
|
}
|
|
127389
127394
|
return validate2.type = type, validate2;
|
|
127390
127395
|
}
|
|
127391
|
-
function
|
|
127396
|
+
function chain3(...fns) {
|
|
127392
127397
|
function validate2(...args) {
|
|
127393
127398
|
for (const fn of fns)
|
|
127394
127399
|
fn(...args);
|
|
@@ -155878,22 +155883,22 @@ var init_ProviderError = __esm2(() => {
|
|
|
155878
155883
|
}
|
|
155879
155884
|
};
|
|
155880
155885
|
});
|
|
155881
|
-
var
|
|
155886
|
+
var CredentialsProviderError3;
|
|
155882
155887
|
var init_CredentialsProviderError = __esm2(() => {
|
|
155883
155888
|
init_ProviderError();
|
|
155884
|
-
|
|
155889
|
+
CredentialsProviderError3 = class CredentialsProviderError4 extends ProviderError {
|
|
155885
155890
|
constructor(message, tryNextLink = true) {
|
|
155886
155891
|
super(message, tryNextLink);
|
|
155887
155892
|
this.tryNextLink = tryNextLink;
|
|
155888
155893
|
this.name = "CredentialsProviderError";
|
|
155889
|
-
Object.setPrototypeOf(this,
|
|
155894
|
+
Object.setPrototypeOf(this, CredentialsProviderError4.prototype);
|
|
155890
155895
|
}
|
|
155891
155896
|
};
|
|
155892
155897
|
});
|
|
155893
155898
|
var init_TokenProviderError = __esm2(() => {
|
|
155894
155899
|
init_ProviderError();
|
|
155895
155900
|
});
|
|
155896
|
-
var
|
|
155901
|
+
var chain3 = (...providers2) => async () => {
|
|
155897
155902
|
if (providers2.length === 0) {
|
|
155898
155903
|
throw new ProviderError("No providers in chain");
|
|
155899
155904
|
}
|
|
@@ -155974,7 +155979,7 @@ var fromEnv2 = (envVarSelector) => async () => {
|
|
|
155974
155979
|
}
|
|
155975
155980
|
return config3;
|
|
155976
155981
|
} catch (e22) {
|
|
155977
|
-
throw new
|
|
155982
|
+
throw new CredentialsProviderError3(e22.message || `Cannot load config from environment variables with getter: ${envVarSelector}`);
|
|
155978
155983
|
}
|
|
155979
155984
|
};
|
|
155980
155985
|
var init_fromEnv = __esm2(() => {
|
|
@@ -156166,7 +156171,7 @@ var fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...init
|
|
|
156166
156171
|
}
|
|
156167
156172
|
return configValue;
|
|
156168
156173
|
} catch (e22) {
|
|
156169
|
-
throw new
|
|
156174
|
+
throw new CredentialsProviderError3(e22.message || `Cannot load config for profile ${profile2} in SDK configuration files with getter: ${configSelector}`);
|
|
156170
156175
|
}
|
|
156171
156176
|
};
|
|
156172
156177
|
var init_fromSharedConfigFiles = __esm2(() => {
|
|
@@ -156178,7 +156183,7 @@ var fromStatic3 = (defaultValue) => isFunction22(defaultValue) ? async () => awa
|
|
|
156178
156183
|
var init_fromStatic = __esm2(() => {
|
|
156179
156184
|
init_dist_es4();
|
|
156180
156185
|
});
|
|
156181
|
-
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)));
|
|
156182
156187
|
var init_configLoader = __esm2(() => {
|
|
156183
156188
|
init_dist_es4();
|
|
156184
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
15
|
import"./chunk-b5g5w1hh.js";
|
|
16
|
-
import"./chunk-
|
|
17
|
-
import"./chunk-veja9rez.js";
|
|
16
|
+
import"./chunk-0crtxf8d.js";
|
|
18
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";
|