@stacksjs/actions 0.70.13 → 0.70.14

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.
Files changed (29) hide show
  1. package/dist/build.js +9 -9
  2. package/dist/{chunk-hcfsx7e0.js → chunk-4en18v46.js} +17 -21
  3. package/dist/{chunk-6xeh1279.js → chunk-76zhb40c.js} +6 -7
  4. package/dist/{chunk-bh25aaf7.js → chunk-7s5qcjkt.js} +9 -17
  5. package/dist/{chunk-h46e5ha3.js → chunk-8fx9wfmd.js} +70 -71
  6. package/dist/{chunk-f48dj1dk.js → chunk-8pskhtbf.js} +3 -3
  7. package/dist/{chunk-hd6fdt5s.js → chunk-9fyrxvr0.js} +5 -7
  8. package/dist/{chunk-6vn0j49q.js → chunk-9vr8gng2.js} +12 -15
  9. package/dist/{chunk-ghp9nh6b.js → chunk-arh0hbb9.js} +25 -34
  10. package/dist/{chunk-a7k3cdby.js → chunk-at51p2va.js} +1 -1
  11. package/dist/{chunk-q3gghmwn.js → chunk-b63wvdr0.js} +19 -19
  12. package/dist/{chunk-xt9exr2c.js → chunk-dkcsykt8.js} +6 -25
  13. package/dist/{chunk-ad9b7jvj.js → chunk-dwkdjy0f.js} +6 -7
  14. package/dist/{chunk-f1cxwjkf.js → chunk-kthq483f.js} +5 -6
  15. package/dist/{chunk-030apzv1.js → chunk-nmb4zt0g.js} +9 -9
  16. package/dist/{chunk-8dsect0a.js → chunk-qkm8e752.js} +4 -5
  17. package/dist/{chunk-gdzs9jf4.js → chunk-ry125mbz.js} +6 -7
  18. package/dist/{chunk-9menqd9a.js → chunk-t5em30ak.js} +16 -24
  19. package/dist/{chunk-hcra1987.js → chunk-vd0p1aye.js} +9 -9
  20. package/dist/{chunk-kbw02372.js → chunk-ve9vn4xg.js} +33 -36
  21. package/dist/{chunk-0crtxf8d.js → chunk-xeyhm37p.js} +158 -21
  22. package/dist/chunk-zzerxbrm.js +107 -0
  23. package/dist/database/seed.js +8 -8
  24. package/dist/generate/index.js +9 -9
  25. package/dist/index.js +9 -9
  26. package/dist/release.js +9 -9
  27. package/dist/upgrade.js +1 -1
  28. package/package.json +1 -1
  29. package/dist/chunk-2m04vhea.js +0 -145
@@ -2,7 +2,7 @@ import {
2
2
  ENV_KEY,
3
3
  ENV_SECRET,
4
4
  fromEnv
5
- } from "./chunk-8dsect0a.js";
5
+ } from "./chunk-qkm8e752.js";
6
6
  import {
7
7
  h,
8
8
  x
@@ -32,7 +32,9 @@ import {
32
32
  getRecursionDetectionPlugin,
33
33
  getRetryPlugin,
34
34
  getSerdePlugin,
35
+ getSmithyContext,
35
36
  getUserAgentPlugin,
37
+ normalizeProvider,
36
38
  resolveAwsRegionExtensionConfiguration,
37
39
  resolveDefaultsModeConfig,
38
40
  resolveEndpoint,
@@ -43,11 +45,11 @@ import {
43
45
  resolveUserAgentConfig,
44
46
  toBase64,
45
47
  toUtf8
46
- } from "./chunk-kbw02372.js";
48
+ } from "./chunk-ve9vn4xg.js";
47
49
  import {
48
50
  loadConfig,
49
51
  parseUrl
50
- } from "./chunk-bh25aaf7.js";
52
+ } from "./chunk-7s5qcjkt.js";
51
53
  import {
52
54
  ENV_PROFILE
53
55
  } from "./chunk-bf8bq8pc.js";
@@ -73,15 +75,17 @@ import {
73
75
  streamCollector,
74
76
  take,
75
77
  withBaseException
76
- } from "./chunk-xt9exr2c.js";
78
+ } from "./chunk-dkcsykt8.js";
79
+ import {
80
+ CredentialsProviderError,
81
+ chain,
82
+ memoize
83
+ } from "./chunk-zzerxbrm.js";
77
84
  import {
78
85
  require_dist_cjs,
79
86
  require_dist_cjs2,
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
+ require_dist_cjs5 as require_dist_cjs3
88
+ } from "./chunk-xeyhm37p.js";
85
89
  import {
86
90
  isString,
87
91
  make
@@ -5924,7 +5928,7 @@ var require_utils = __commonJS((exports) => {
5924
5928
  exports.assertOptionalChainStart = assertOptionalChainStart;
5925
5929
  exports.assertShape = assertShape;
5926
5930
  exports.assertValueType = assertValueType;
5927
- exports.chain = chain;
5931
+ exports.chain = chain2;
5928
5932
  exports.default = defineType;
5929
5933
  exports.defineAliasedType = defineAliasedType;
5930
5934
  exports.validate = validate;
@@ -5971,7 +5975,7 @@ var require_utils = __commonJS((exports) => {
5971
5975
  };
5972
5976
  }
5973
5977
  function arrayOf(elementType) {
5974
- return chain(assertValueType("array"), assertEach(elementType));
5978
+ return chain2(assertValueType("array"), assertEach(elementType));
5975
5979
  }
5976
5980
  function arrayOfType(...typeNames) {
5977
5981
  return arrayOf(assertNodeType(...typeNames));
@@ -6088,7 +6092,7 @@ ${errors.join(`
6088
6092
  }
6089
6093
  return validate2;
6090
6094
  }
6091
- function chain(...fns) {
6095
+ function chain2(...fns) {
6092
6096
  function validate2(...args) {
6093
6097
  for (const fn of fns) {
6094
6098
  fn(...args);
@@ -74675,16 +74679,16 @@ var require_parse4 = __commonJS((exports, module) => {
74675
74679
  }
74676
74680
  return obj;
74677
74681
  };
74678
- var parseObject = function(chain4, val2, options, valuesParsed) {
74682
+ var parseObject = function(chain3, val2, options, valuesParsed) {
74679
74683
  var currentArrayLength = 0;
74680
- if (chain4.length > 0 && chain4[chain4.length - 1] === "[]") {
74681
- var parentKey = chain4.slice(0, -1).join("");
74684
+ if (chain3.length > 0 && chain3[chain3.length - 1] === "[]") {
74685
+ var parentKey = chain3.slice(0, -1).join("");
74682
74686
  currentArrayLength = Array.isArray(val2) && val2[parentKey] ? val2[parentKey].length : 0;
74683
74687
  }
74684
74688
  var leaf = valuesParsed ? val2 : parseArrayValue(val2, options, currentArrayLength);
74685
- for (var i4 = chain4.length - 1;i4 >= 0; --i4) {
74689
+ for (var i4 = chain3.length - 1;i4 >= 0; --i4) {
74686
74690
  var obj;
74687
- var root = chain4[i4];
74691
+ var root = chain3[i4];
74688
74692
  if (root === "[]" && options.parseArrays) {
74689
74693
  obj = options.allowEmptyArrays && (leaf === "" || options.strictNullHandling && leaf === null) ? [] : utils3.combine([], leaf);
74690
74694
  } else {
@@ -94805,12 +94809,11 @@ var resolveEndpointDiscoveryConfig = (input, { endpointDiscoveryCommandCtor }) =
94805
94809
  var import_core6 = __toESM(require_dist_cjs2(), 1);
94806
94810
 
94807
94811
  // ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/auth/httpAuthSchemeProvider.js
94808
- var import_core2 = __toESM(require_dist_cjs4(), 1);
94809
- var import_util_middleware = __toESM(require_dist_cjs(), 1);
94812
+ var import_core2 = __toESM(require_dist_cjs3(), 1);
94810
94813
  var defaultDynamoDBHttpAuthSchemeParametersProvider = async (config, context, input) => {
94811
94814
  return {
94812
- operation: import_util_middleware.getSmithyContext(context).operation,
94813
- region: await import_util_middleware.normalizeProvider(config.region)() || (() => {
94815
+ operation: getSmithyContext(context).operation,
94816
+ region: await normalizeProvider(config.region)() || (() => {
94814
94817
  throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
94815
94818
  })()
94816
94819
  };
@@ -94862,7 +94865,7 @@ var commonParams = {
94862
94865
  };
94863
94866
 
94864
94867
  // ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/protocols/Aws_json1_0.js
94865
- var import_core3 = __toESM(require_dist_cjs4(), 1);
94868
+ var import_core3 = __toESM(require_dist_cjs3(), 1);
94866
94869
 
94867
94870
  // ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/models/DynamoDBServiceException.js
94868
94871
  class DynamoDBServiceException extends ServiceException {
@@ -96483,25 +96486,21 @@ var package_default = {
96483
96486
  };
96484
96487
 
96485
96488
  // ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.js
96486
- var import_core5 = __toESM(require_dist_cjs4(), 1);
96489
+ var import_core5 = __toESM(require_dist_cjs3(), 1);
96487
96490
  var import_account_id_endpoint = __toESM(require_account_id_endpoint(), 1);
96488
96491
 
96489
- // ../../../../node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
96490
- var import_property_provider2 = __toESM(require_dist_cjs3(), 1);
96491
-
96492
96492
  // ../../../../node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js
96493
- var import_property_provider = __toESM(require_dist_cjs3(), 1);
96494
96493
  var ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
96495
96494
  var remoteProvider = async (init2) => {
96496
- const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await import("./chunk-9menqd9a.js");
96495
+ const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await import("./chunk-t5em30ak.js");
96497
96496
  if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) {
96498
96497
  init2.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");
96499
- const { fromHttp } = await import("./chunk-6vn0j49q.js");
96500
- return import_property_provider.chain(fromHttp(init2), fromContainerMetadata(init2));
96498
+ const { fromHttp } = await import("./chunk-9vr8gng2.js");
96499
+ return chain(fromHttp(init2), fromContainerMetadata(init2));
96501
96500
  }
96502
96501
  if (process.env[ENV_IMDS_DISABLED] && process.env[ENV_IMDS_DISABLED] !== "false") {
96503
96502
  return async () => {
96504
- throw new import_property_provider.CredentialsProviderError("EC2 Instance Metadata Service access disabled", { logger: init2.logger });
96503
+ throw new CredentialsProviderError("EC2 Instance Metadata Service access disabled", { logger: init2.logger });
96505
96504
  };
96506
96505
  }
96507
96506
  init2.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata");
@@ -96510,7 +96509,7 @@ var remoteProvider = async (init2) => {
96510
96509
 
96511
96510
  // ../../../../node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
96512
96511
  var multipleCredentialSourceWarningEmitted = false;
96513
- var defaultProvider = (init2 = {}) => import_property_provider2.memoize(import_property_provider2.chain(async () => {
96512
+ var defaultProvider = (init2 = {}) => memoize(chain(async () => {
96514
96513
  const profile = init2.profile ?? process.env[ENV_PROFILE];
96515
96514
  if (profile) {
96516
96515
  const envStaticCredentialsAreSet = process.env[ENV_KEY] && process.env[ENV_SECRET];
@@ -96529,7 +96528,7 @@ var defaultProvider = (init2 = {}) => import_property_provider2.memoize(import_p
96529
96528
  multipleCredentialSourceWarningEmitted = true;
96530
96529
  }
96531
96530
  }
96532
- throw new import_property_provider2.CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.", {
96531
+ throw new CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.", {
96533
96532
  logger: init2.logger,
96534
96533
  tryNextLink: true
96535
96534
  });
@@ -96540,27 +96539,27 @@ var defaultProvider = (init2 = {}) => import_property_provider2.memoize(import_p
96540
96539
  init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");
96541
96540
  const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init2;
96542
96541
  if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
96543
- throw new import_property_provider2.CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init2.logger });
96542
+ throw new CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init2.logger });
96544
96543
  }
96545
- const { fromSSO } = await import("./chunk-ghp9nh6b.js");
96544
+ const { fromSSO } = await import("./chunk-arh0hbb9.js");
96546
96545
  return fromSSO(init2)();
96547
96546
  }, async () => {
96548
96547
  init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
96549
- const { fromIni } = await import("./chunk-hcfsx7e0.js");
96548
+ const { fromIni } = await import("./chunk-4en18v46.js");
96550
96549
  return fromIni(init2)();
96551
96550
  }, async () => {
96552
96551
  init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
96553
- const { fromProcess } = await import("./chunk-6xeh1279.js");
96552
+ const { fromProcess } = await import("./chunk-76zhb40c.js");
96554
96553
  return fromProcess(init2)();
96555
96554
  }, async () => {
96556
96555
  init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");
96557
- const { fromTokenFile } = await import("./chunk-f1cxwjkf.js");
96556
+ const { fromTokenFile } = await import("./chunk-kthq483f.js");
96558
96557
  return fromTokenFile(init2)();
96559
96558
  }, async () => {
96560
96559
  init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider");
96561
96560
  return (await remoteProvider(init2))();
96562
96561
  }, async () => {
96563
- throw new import_property_provider2.CredentialsProviderError("Could not load credentials from any providers", {
96562
+ throw new CredentialsProviderError("Could not load credentials from any providers", {
96564
96563
  tryNextLink: false,
96565
96564
  logger: init2.logger
96566
96565
  });
@@ -96568,7 +96567,7 @@ var defaultProvider = (init2 = {}) => import_property_provider2.memoize(import_p
96568
96567
  var credentialsWillNeedRefresh = (credentials) => credentials?.expiration !== undefined;
96569
96568
  var credentialsTreatedAsExpired = (credentials) => credentials?.expiration !== undefined && credentials.expiration.getTime() - Date.now() < 300000;
96570
96569
  // ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.shared.js
96571
- var import_core4 = __toESM(require_dist_cjs4(), 1);
96570
+ var import_core4 = __toESM(require_dist_cjs3(), 1);
96572
96571
 
96573
96572
  // ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/ruleset.js
96574
96573
  var S3 = "required";
@@ -105610,8 +105609,8 @@ Did you specify these with the most recent transformation maps first?`);
105610
105609
  }, data;
105611
105610
  }
105612
105611
  Object.defineProperty(exports2, "__esModule", { value: true }), exports2.buildPresetChain = function* (arg, context) {
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;
105612
+ const chain2 = yield* buildPresetChainWalker(arg, context);
105613
+ return chain2 ? { plugins: dedupDescriptors(chain2.plugins), presets: dedupDescriptors(chain2.presets), options: chain2.options.map((o3) => normalizeOptions(o3)), files: new Set } : null;
105615
105614
  }, exports2.buildPresetChainWalker = undefined, exports2.buildRootChain = function* (opts, context) {
105616
105615
  let configReport, babelRcReport;
105617
105616
  const programmaticLogger = new _printer.ConfigPrinter, programmaticChain = yield* loadProgrammaticChain({ options: opts, dirname: context.cwd }, context, undefined, programmaticLogger);
@@ -105656,8 +105655,8 @@ Did you specify these with the most recent transformation maps first?`);
105656
105655
 
105657
105656
  `) + `
105658
105657
  -----End Babel configs-----`);
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 };
105658
+ const chain2 = mergeChain(mergeChain(mergeChain(emptyChain(), configFileChain), fileChain), programmaticChain);
105659
+ return { plugins: isIgnored ? [] : dedupDescriptors(chain2.plugins), presets: isIgnored ? [] : dedupDescriptors(chain2.presets), options: isIgnored ? [] : chain2.options.map((o3) => normalizeOptions(o3)), fileHandling: isIgnored ? "ignored" : "transpile", ignore: ignoreFile || undefined, babelrc: babelrcFile || undefined, config: configFile || undefined, files: chain2.files };
105661
105660
  };
105662
105661
  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");
105663
105662
  const debug = _debug()("babel:config:config-chain");
@@ -105673,8 +105672,8 @@ Did you specify these with the most recent transformation maps first?`);
105673
105672
  return baseLogger2.configure(context2.showConfig, _printer.ChainFormatter.Config, { filepath });
105674
105673
  }(file.filepath, context, baseLogger) });
105675
105674
  function* loadFileChain(input, context, files, baseLogger) {
105676
- const chain3 = yield* loadFileChainWalker(input, context, files, baseLogger);
105677
- return chain3 == null || chain3.files.add(input.filepath), chain3;
105675
+ const chain2 = yield* loadFileChainWalker(input, context, files, baseLogger);
105676
+ return chain2 == null || chain2.files.add(input.filepath), chain2;
105678
105677
  }
105679
105678
  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))));
105680
105679
  function buildRootDescriptors({ dirname: dirname22, options }, alias, descriptors) {
@@ -105717,16 +105716,16 @@ Did you specify these with the most recent transformation maps first?`);
105717
105716
  }
105718
105717
  if (flattenedConfigs.some(({ config: { options: { ignore, only } } }) => shouldIgnore(context, ignore, only, dirname22)))
105719
105718
  return null;
105720
- const chain3 = emptyChain(), logger = createLogger(input, context, baseLogger);
105719
+ const chain2 = emptyChain(), logger = createLogger(input, context, baseLogger);
105721
105720
  for (const { config: config3, index, envName } of flattenedConfigs) {
105722
- if (!(yield* mergeExtendsChain(chain3, config3.options, dirname22, context, files, baseLogger)))
105721
+ if (!(yield* mergeExtendsChain(chain2, config3.options, dirname22, context, files, baseLogger)))
105723
105722
  return null;
105724
- logger(config3, index, envName), yield* mergeChainOpts(chain3, config3);
105723
+ logger(config3, index, envName), yield* mergeChainOpts(chain2, config3);
105725
105724
  }
105726
- return chain3;
105725
+ return chain2;
105727
105726
  };
105728
105727
  }
105729
- function* mergeExtendsChain(chain3, opts, dirname22, context, files, baseLogger) {
105728
+ function* mergeExtendsChain(chain2, opts, dirname22, context, files, baseLogger) {
105730
105729
  if (opts.extends === undefined)
105731
105730
  return true;
105732
105731
  const file = yield* (0, _index.loadConfig)(opts.extends, dirname22, context.envName, context.caller);
@@ -105737,7 +105736,7 @@ File already loaded following the config chain:
105737
105736
  `));
105738
105737
  files.add(file);
105739
105738
  const fileChain = yield* loadFileChain(validateExtendFile(file), context, files, baseLogger);
105740
- return files.delete(file), !!fileChain && (mergeChain(chain3, fileChain), true);
105739
+ return files.delete(file), !!fileChain && (mergeChain(chain2, fileChain), true);
105741
105740
  }
105742
105741
  function mergeChain(target, source) {
105743
105742
  target.options.push(...source.options), target.plugins.push(...source.plugins), target.presets.push(...source.presets);
@@ -106565,7 +106564,7 @@ to your top-level package.json.
106565
106564
  const pluginObj = (0, _plugins.validatePluginObject)(value2), plugin = Object.assign({}, pluginObj);
106566
106565
  if (plugin.visitor && (plugin.visitor = _traverse().default.explode(Object.assign({}, plugin.visitor))), plugin.inherits) {
106567
106566
  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)));
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
+ plugin.pre = chain2(inherits.pre, plugin.pre), plugin.post = chain2(inherits.post, plugin.post), plugin.manipulateOptions = chain2(inherits.manipulateOptions, plugin.manipulateOptions), plugin.visitor = _traverse().default.visitors.merge([inherits.visitor || {}, plugin.visitor || {}]), inherits.externalDependencies.length > 0 && (externalDependencies = externalDependencies.length === 0 ? inherits.externalDependencies : (0, _deepArray.finalize)([externalDependencies, inherits.externalDependencies]));
106569
106568
  }
106570
106569
  return new _plugin.default(plugin, options, alias, externalDependencies);
106571
106570
  });
@@ -106594,7 +106593,7 @@ to your top-level package.json.
106594
106593
  const preset = instantiatePreset(yield* presetDescriptorLoader(descriptor, context2));
106595
106594
  return validatePreset(preset, context2, descriptor), { chain: yield* (0, _configChain.buildPresetChain)(preset, context2), externalDependencies: preset.externalDependencies };
106596
106595
  }
106597
- function chain3(a3, b3) {
106596
+ function chain2(a3, b3) {
106598
106597
  const fns = [a3, b3].filter(Boolean);
106599
106598
  return fns.length <= 1 ? fns[0] : function(...args) {
106600
106599
  for (const fn of fns)
@@ -115983,8 +115982,8 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
115983
115982
  const node = super.parseSubscript(base, startLoc, noCalls, state);
115984
115983
  if (state.optionalChainMember) {
115985
115984
  if (node.type !== "OptionalMemberExpression" && node.type !== "OptionalCallExpression" || (node.type = node.type.substring(8)), state.stop) {
115986
- const chain3 = this.startNodeAtNode(node);
115987
- return chain3.expression = node, this.finishNode(chain3, "ChainExpression");
115985
+ const chain2 = this.startNodeAtNode(node);
115986
+ return chain2.expression = node, this.finishNode(chain2, "ChainExpression");
115988
115987
  }
115989
115988
  } else
115990
115989
  node.type !== "MemberExpression" && node.type !== "CallExpression" || (node.optional = false);
@@ -121168,19 +121167,19 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
121168
121167
  const checks = [];
121169
121168
  let tmpVar;
121170
121169
  for (let i3 = optionals.length - 1;i3 >= 0; i3--) {
121171
- const node = optionals[i3], isCall = core.types.isCallExpression(node), chainWithTypes = isCall ? node.callee : node.object, chain3 = helperSkipTransparentExpressionWrappers.skipTransparentExprWrapperNodes(chainWithTypes);
121170
+ const node = optionals[i3], isCall = core.types.isCallExpression(node), chainWithTypes = isCall ? node.callee : node.object, chain2 = helperSkipTransparentExpressionWrappers.skipTransparentExprWrapperNodes(chainWithTypes);
121172
121171
  let ref, check2;
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))
121172
+ if (isCall && core.types.isIdentifier(chain2, { name: "eval" }) ? (check2 = ref = chain2, node.callee = core.types.sequenceExpression([core.types.numericLiteral(0), ref])) : pureGetters && isCall && isSimpleMemberExpression(chain2) ? check2 = ref = node.callee : scope.isStatic(chain2) ? check2 = ref = chainWithTypes : (tmpVar && !isCall || (tmpVar = scope.generateUidIdentifierBasedOnNode(chain2), scope.push({ id: core.types.cloneNode(tmpVar) })), ref = tmpVar, check2 = core.types.assignmentExpression("=", core.types.cloneNode(tmpVar), chainWithTypes), isCall ? node.callee = ref : node.object = ref), isCall && core.types.isMemberExpression(chain2))
121173
+ if (pureGetters && isSimpleMemberExpression(chain2))
121175
121174
  node.callee = chainWithTypes;
121176
121175
  else {
121177
- const { object } = chain3;
121176
+ const { object } = chain2;
121178
121177
  let context;
121179
121178
  if (core.types.isSuper(object))
121180
121179
  context = core.types.thisExpression();
121181
121180
  else {
121182
121181
  const memoized = scope.maybeGenerateMemoised(object);
121183
- memoized ? (context = memoized, chain3.object = core.types.assignmentExpression("=", memoized, object)) : context = object;
121182
+ memoized ? (context = memoized, chain2.object = core.types.assignmentExpression("=", memoized, object)) : context = object;
121184
121183
  }
121185
121184
  node.arguments.unshift(core.types.cloneNode(context)), node.callee = core.types.memberExpression(node.callee, core.types.identifier("call"));
121186
121185
  }
@@ -127330,7 +127329,7 @@ ${errors3.join(`
127330
127329
  `)}`);
127331
127330
  }
127332
127331
  return validate2.shapeOf = shape, validate2;
127333
- }, exports2.assertValueType = assertValueType, exports2.chain = chain3, exports2.default = defineType, exports2.defineAliasedType = function(...aliases) {
127332
+ }, exports2.assertValueType = assertValueType, exports2.chain = chain2, exports2.default = defineType, exports2.defineAliasedType = function(...aliases) {
127334
127333
  return (type, opts = {}) => {
127335
127334
  let defined = opts.aliases;
127336
127335
  var _store$opts$inherits$;
@@ -127359,7 +127358,7 @@ ${errors3.join(`
127359
127358
  return typeof typeName == "string" ? assertNodeType(typeName) : assertNodeType(...typeName);
127360
127359
  }
127361
127360
  function arrayOf(elementType) {
127362
- return chain3(assertValueType("array"), assertEach(elementType));
127361
+ return chain2(assertValueType("array"), assertEach(elementType));
127363
127362
  }
127364
127363
  function arrayOfType(typeName) {
127365
127364
  return arrayOf(typeIs(typeName));
@@ -127390,7 +127389,7 @@ ${errors3.join(`
127390
127389
  }
127391
127390
  return validate2.type = type, validate2;
127392
127391
  }
127393
- function chain3(...fns) {
127392
+ function chain2(...fns) {
127394
127393
  function validate2(...args) {
127395
127394
  for (const fn of fns)
127396
127395
  fn(...args);
@@ -155880,22 +155879,22 @@ var init_ProviderError = __esm2(() => {
155880
155879
  }
155881
155880
  };
155882
155881
  });
155883
- var CredentialsProviderError3;
155882
+ var CredentialsProviderError2;
155884
155883
  var init_CredentialsProviderError = __esm2(() => {
155885
155884
  init_ProviderError();
155886
- CredentialsProviderError3 = class CredentialsProviderError4 extends ProviderError {
155885
+ CredentialsProviderError2 = class CredentialsProviderError3 extends ProviderError {
155887
155886
  constructor(message, tryNextLink = true) {
155888
155887
  super(message, tryNextLink);
155889
155888
  this.tryNextLink = tryNextLink;
155890
155889
  this.name = "CredentialsProviderError";
155891
- Object.setPrototypeOf(this, CredentialsProviderError4.prototype);
155890
+ Object.setPrototypeOf(this, CredentialsProviderError3.prototype);
155892
155891
  }
155893
155892
  };
155894
155893
  });
155895
155894
  var init_TokenProviderError = __esm2(() => {
155896
155895
  init_ProviderError();
155897
155896
  });
155898
- var chain3 = (...providers2) => async () => {
155897
+ var chain2 = (...providers2) => async () => {
155899
155898
  if (providers2.length === 0) {
155900
155899
  throw new ProviderError("No providers in chain");
155901
155900
  }
@@ -155976,7 +155975,7 @@ var fromEnv2 = (envVarSelector) => async () => {
155976
155975
  }
155977
155976
  return config3;
155978
155977
  } catch (e22) {
155979
- throw new CredentialsProviderError3(e22.message || `Cannot load config from environment variables with getter: ${envVarSelector}`);
155978
+ throw new CredentialsProviderError2(e22.message || `Cannot load config from environment variables with getter: ${envVarSelector}`);
155980
155979
  }
155981
155980
  };
155982
155981
  var init_fromEnv = __esm2(() => {
@@ -156168,7 +156167,7 @@ var fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...init
156168
156167
  }
156169
156168
  return configValue;
156170
156169
  } catch (e22) {
156171
- throw new CredentialsProviderError3(e22.message || `Cannot load config for profile ${profile2} in SDK configuration files with getter: ${configSelector}`);
156170
+ throw new CredentialsProviderError2(e22.message || `Cannot load config for profile ${profile2} in SDK configuration files with getter: ${configSelector}`);
156172
156171
  }
156173
156172
  };
156174
156173
  var init_fromSharedConfigFiles = __esm2(() => {
@@ -156180,7 +156179,7 @@ var fromStatic3 = (defaultValue) => isFunction22(defaultValue) ? async () => awa
156180
156179
  var init_fromStatic = __esm2(() => {
156181
156180
  init_dist_es4();
156182
156181
  });
156183
- var loadConfig2 = ({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => memoize2(chain3(fromEnv2(environmentVariableSelector), fromSharedConfigFiles(configFileSelector, configuration), fromStatic3(defaultValue)));
156182
+ var loadConfig2 = ({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => memoize2(chain2(fromEnv2(environmentVariableSelector), fromSharedConfigFiles(configFileSelector, configuration), fromStatic3(defaultValue)));
156184
156183
  var init_configLoader = __esm2(() => {
156185
156184
  init_dist_es4();
156186
156185
  init_fromEnv();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  db
3
- } from "./chunk-h46e5ha3.js";
3
+ } from "./chunk-8fx9wfmd.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-hcra1987.js");
323
- await import("./chunk-030apzv1.js");
322
+ await import("./chunk-vd0p1aye.js");
323
+ await import("./chunk-nmb4zt0g.js");
324
324
  }
325
325
  async resolveCallback(callback) {
326
326
  if (callback instanceof Promise) {
@@ -3,20 +3,18 @@ import {
3
3
  require_dist_cjs as require_dist_cjs2,
4
4
  require_dist_cjs1 as require_dist_cjs3,
5
5
  require_dist_cjs2 as require_dist_cjs7,
6
- require_dist_cjs3 as require_dist_cjs9,
7
- require_dist_cjs4 as require_dist_cjs10
8
- } from "./chunk-0crtxf8d.js";
6
+ require_dist_cjs3 as require_dist_cjs8,
7
+ require_dist_cjs4 as require_dist_cjs9,
8
+ require_dist_cjs5 as require_dist_cjs10
9
+ } from "./chunk-xeyhm37p.js";
9
10
  import {
10
11
  require_dist_cjs as require_dist_cjs4,
11
12
  require_dist_cjs2 as require_dist_cjs5,
12
13
  require_dist_cjs3 as require_dist_cjs6
13
- } from "./chunk-a7k3cdby.js";
14
+ } from "./chunk-at51p2va.js";
14
15
  import {
15
16
  require_dist_cjs
16
17
  } from "./chunk-saqpg5nd.js";
17
- import {
18
- require_dist_cjs as require_dist_cjs8
19
- } from "./chunk-2m04vhea.js";
20
18
  import {
21
19
  __commonJS,
22
20
  __require
@@ -3,28 +3,26 @@ import {
3
3
  HttpRequest,
4
4
  NodeHttpHandler,
5
5
  parseRfc3339DateTime
6
- } from "./chunk-xt9exr2c.js";
6
+ } from "./chunk-dkcsykt8.js";
7
7
  import {
8
- require_dist_cjs8 as require_dist_cjs
9
- } from "./chunk-a7k3cdby.js";
8
+ CredentialsProviderError
9
+ } from "./chunk-zzerxbrm.js";
10
+ import {
11
+ require_dist_cjs9 as require_dist_cjs
12
+ } from "./chunk-at51p2va.js";
10
13
  import {
11
14
  require_client
12
15
  } from "./chunk-frw3va9v.js";
13
16
  import"./chunk-saqpg5nd.js";
14
- import {
15
- require_dist_cjs as require_dist_cjs2
16
- } from "./chunk-2m04vhea.js";
17
17
  import {
18
18
  __toESM
19
19
  } from "./chunk-9v6qtbez.js";
20
20
 
21
21
  // ../../../../node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js
22
22
  var import_client = __toESM(require_client(), 1);
23
- var import_property_provider3 = __toESM(require_dist_cjs2(), 1);
24
23
  import fs from "node:fs/promises";
25
24
 
26
25
  // ../../../../node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js
27
- var import_property_provider = __toESM(require_dist_cjs2(), 1);
28
26
  var ECS_CONTAINER_HOST = "169.254.170.2";
29
27
  var EKS_CONTAINER_HOST_IPv4 = "169.254.170.23";
30
28
  var EKS_CONTAINER_HOST_IPv6 = "[fd00:ec2::23]";
@@ -52,14 +50,13 @@ var checkUrl = (url, logger) => {
52
50
  return;
53
51
  }
54
52
  }
55
- throw new import_property_provider.CredentialsProviderError(`URL not accepted. It must either be HTTPS or match one of the following:
53
+ throw new CredentialsProviderError(`URL not accepted. It must either be HTTPS or match one of the following:
56
54
  - loopback CIDR 127.0.0.0/8 or [::1/128]
57
55
  - ECS container host 169.254.170.2
58
56
  - EKS container host 169.254.170.23 or [fd00:ec2::23]`, { logger });
59
57
  };
60
58
 
61
59
  // ../../../../node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js
62
- var import_property_provider2 = __toESM(require_dist_cjs2(), 1);
63
60
  var import_util_stream = __toESM(require_dist_cjs(), 1);
64
61
  function createGetRequest(url) {
65
62
  return new HttpRequest({
@@ -80,7 +77,7 @@ async function getCredentials(response, logger) {
80
77
  if (response.statusCode === 200) {
81
78
  const parsed = JSON.parse(str);
82
79
  if (typeof parsed.AccessKeyId !== "string" || typeof parsed.SecretAccessKey !== "string" || typeof parsed.Token !== "string" || typeof parsed.Expiration !== "string") {
83
- throw new import_property_provider2.CredentialsProviderError("HTTP credential provider response not of the required format, an object matching: " + "{ AccessKeyId: string, SecretAccessKey: string, Token: string, Expiration: string(rfc3339) }", { logger });
80
+ throw new CredentialsProviderError("HTTP credential provider response not of the required format, an object matching: " + "{ AccessKeyId: string, SecretAccessKey: string, Token: string, Expiration: string(rfc3339) }", { logger });
84
81
  }
85
82
  return {
86
83
  accessKeyId: parsed.AccessKeyId,
@@ -94,12 +91,12 @@ async function getCredentials(response, logger) {
94
91
  try {
95
92
  parsedBody = JSON.parse(str);
96
93
  } catch (e) {}
97
- throw Object.assign(new import_property_provider2.CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger }), {
94
+ throw Object.assign(new CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger }), {
98
95
  Code: parsedBody.Code,
99
96
  Message: parsedBody.Message
100
97
  });
101
98
  }
102
- throw new import_property_provider2.CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger });
99
+ throw new CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger });
103
100
  }
104
101
 
105
102
  // ../../../../node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/retry-wrapper.js
@@ -143,7 +140,7 @@ var fromHttp = (options = {}) => {
143
140
  } else if (relative) {
144
141
  host = `${DEFAULT_LINK_LOCAL_HOST}${relative}`;
145
142
  } else {
146
- throw new import_property_provider3.CredentialsProviderError(`No HTTP credential provider host provided.
143
+ throw new CredentialsProviderError(`No HTTP credential provider host provided.
147
144
  Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.`, { logger: options.logger });
148
145
  }
149
146
  const url = new URL(host);
@@ -163,7 +160,7 @@ Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI
163
160
  const result = await requestHandler.handle(request);
164
161
  return getCredentials(result.response).then((creds) => import_client.setCredentialFeature(creds, "CREDENTIALS_HTTP", "z"));
165
162
  } catch (e) {
166
- throw new import_property_provider3.CredentialsProviderError(String(e), { logger: options.logger });
163
+ throw new CredentialsProviderError(String(e), { logger: options.logger });
167
164
  }
168
165
  }, options.maxRetries ?? 3, options.timeout ?? 1000);
169
166
  };