@stacksjs/actions 0.70.19 → 0.70.22

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 (32) hide show
  1. package/dist/build.js +11 -11
  2. package/dist/{chunk-74nzt2f7.js → chunk-0m948f1p.js} +68 -122
  3. package/dist/{chunk-xt9exr2c.js → chunk-23btgw5e.js} +34 -113
  4. package/dist/{chunk-cvxddy4g.js → chunk-3y8t4qyf.js} +5 -6
  5. package/dist/{chunk-b7b7jd25.js → chunk-5wdfth6e.js} +12 -14
  6. package/dist/{chunk-6xeh1279.js → chunk-8qsrwjam.js} +8 -9
  7. package/dist/{chunk-a7k3cdby.js → chunk-90y2wmyz.js} +114 -4
  8. package/dist/{chunk-9menqd9a.js → chunk-92e6scf8.js} +17 -25
  9. package/dist/{chunk-0crtxf8d.js → chunk-atahpwz7.js} +163 -28
  10. package/dist/{chunk-jqbza09y.js → chunk-bz3nmjmp.js} +19 -23
  11. package/dist/{chunk-fsa32kvk.js → chunk-ddw2jq8f.js} +93 -88
  12. package/dist/{chunk-bh25aaf7.js → chunk-hqmjfnnn.js} +10 -18
  13. package/dist/{chunk-x1ny4wwh.js → chunk-jq06qn43.js} +3 -3
  14. package/dist/chunk-mbvdyeyw.js +50 -0
  15. package/dist/{chunk-264njj8m.js → chunk-ny592jcd.js} +11 -11
  16. package/dist/{chunk-6egz2b52.js → chunk-qka5w6cv.js} +14 -16
  17. package/dist/{chunk-8dsect0a.js → chunk-qkm8e752.js} +4 -5
  18. package/dist/{chunk-annfdd3f.js → chunk-rbsehxzg.js} +11 -11
  19. package/dist/{chunk-6vn0j49q.js → chunk-rfdmx5yh.js} +17 -19
  20. package/dist/{chunk-z4k3w6hz.js → chunk-s3xxrvrk.js} +27 -36
  21. package/dist/{chunk-2jssg98j.js → chunk-y08qabyb.js} +16 -20
  22. package/dist/{chunk-bf8bq8pc.js → chunk-yyvh669b.js} +6 -14
  23. package/dist/{chunk-4tte2ccn.js → chunk-zhrbz0qv.js} +37 -34
  24. package/dist/chunk-zzerxbrm.js +107 -0
  25. package/dist/database/seed.js +10 -10
  26. package/dist/generate/index.js +11 -11
  27. package/dist/index.js +11 -11
  28. package/dist/release.js +11 -11
  29. package/dist/upgrade.js +1 -1
  30. package/package.json +1 -1
  31. package/dist/chunk-2m04vhea.js +0 -145
  32. package/dist/chunk-saqpg5nd.js +0 -118
@@ -1,9 +1,6 @@
1
1
  import {
2
- require_dist_cjs
3
- } from "./chunk-saqpg5nd.js";
4
- import {
5
- __toESM
6
- } from "./chunk-9v6qtbez.js";
2
+ IniSectionType
3
+ } from "./chunk-mbvdyeyw.js";
7
4
 
8
5
  // ../../../../node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js
9
6
  var ENV_PROFILE = "AWS_PROFILE";
@@ -41,23 +38,19 @@ var getHomeDir = () => {
41
38
  var ENV_CONFIG_PATH = "AWS_CONFIG_FILE";
42
39
  var getConfigFilepath = () => process.env[ENV_CONFIG_PATH] || join(getHomeDir(), ".aws", "config");
43
40
 
44
- // ../../../../node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js
45
- var import_types3 = __toESM(require_dist_cjs(), 1);
46
-
47
41
  // ../../../../node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js
48
42
  import { join as join3 } from "node:path";
49
43
 
50
44
  // ../../../../node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js
51
- var import_types = __toESM(require_dist_cjs(), 1);
52
45
  var getConfigData = (data) => Object.entries(data).filter(([key]) => {
53
46
  const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR);
54
47
  if (indexOfSeparator === -1) {
55
48
  return false;
56
49
  }
57
- return Object.values(import_types.IniSectionType).includes(key.substring(0, indexOfSeparator));
50
+ return Object.values(IniSectionType).includes(key.substring(0, indexOfSeparator));
58
51
  }).reduce((acc, [key, value]) => {
59
52
  const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR);
60
- const updatedKey = key.substring(0, indexOfSeparator) === import_types.IniSectionType.PROFILE ? key.substring(indexOfSeparator + 1) : key;
53
+ const updatedKey = key.substring(0, indexOfSeparator) === IniSectionType.PROFILE ? key.substring(indexOfSeparator + 1) : key;
61
54
  acc[updatedKey] = value;
62
55
  return acc;
63
56
  }, {
@@ -70,7 +63,6 @@ var ENV_CREDENTIALS_PATH = "AWS_SHARED_CREDENTIALS_FILE";
70
63
  var getCredentialsFilepath = () => process.env[ENV_CREDENTIALS_PATH] || join2(getHomeDir(), ".aws", "credentials");
71
64
 
72
65
  // ../../../../node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js
73
- var import_types2 = __toESM(require_dist_cjs(), 1);
74
66
  var prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/;
75
67
  var profileNameBlockList = ["__proto__", "profile __proto__"];
76
68
  var parseIni = (iniData) => {
@@ -87,7 +79,7 @@ var parseIni = (iniData) => {
87
79
  const matches = prefixKeyRegex.exec(sectionName);
88
80
  if (matches) {
89
81
  const [, prefix, , name] = matches;
90
- if (Object.values(import_types2.IniSectionType).includes(prefix)) {
82
+ if (Object.values(IniSectionType).includes(prefix)) {
91
83
  currentSection = [prefix, name].join(CONFIG_PREFIX_SEPARATOR);
92
84
  }
93
85
  } else {
@@ -160,7 +152,7 @@ var loadSharedConfigFiles = async (init = {}) => {
160
152
  };
161
153
 
162
154
  // ../../../../node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js
163
- var getSsoSessionData = (data) => Object.entries(data).filter(([key]) => key.startsWith(import_types3.IniSectionType.SSO_SESSION + CONFIG_PREFIX_SEPARATOR)).reduce((acc, [key, value]) => ({ ...acc, [key.substring(key.indexOf(CONFIG_PREFIX_SEPARATOR) + 1)]: value }), {});
155
+ var getSsoSessionData = (data) => Object.entries(data).filter(([key]) => key.startsWith(IniSectionType.SSO_SESSION + CONFIG_PREFIX_SEPARATOR)).reduce((acc, [key, value]) => ({ ...acc, [key.substring(key.indexOf(CONFIG_PREFIX_SEPARATOR) + 1)]: value }), {});
164
156
 
165
157
  // ../../../../node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js
166
158
  var swallowError2 = () => ({});
@@ -14,8 +14,6 @@ import {
14
14
  calculateBodyLength,
15
15
  createDefaultUserAgentProvider,
16
16
  customEndpointFunctions,
17
- fromBase64,
18
- fromUtf8,
19
17
  getAwsRegionExtensionConfiguration,
20
18
  getContentLengthPlugin,
21
19
  getEndpointPlugin,
@@ -24,7 +22,9 @@ import {
24
22
  getRecursionDetectionPlugin,
25
23
  getRetryPlugin,
26
24
  getSerdePlugin,
25
+ getSmithyContext,
27
26
  getUserAgentPlugin,
27
+ normalizeProvider,
28
28
  resolveAwsRegionExtensionConfiguration,
29
29
  resolveDefaultsModeConfig,
30
30
  resolveEndpoint,
@@ -32,15 +32,13 @@ import {
32
32
  resolveHostHeaderConfig,
33
33
  resolveRegionConfig,
34
34
  resolveRetryConfig,
35
- resolveUserAgentConfig,
36
- toBase64,
37
- toUtf8
38
- } from "./chunk-74nzt2f7.js";
35
+ resolveUserAgentConfig
36
+ } from "./chunk-0m948f1p.js";
39
37
  import {
40
38
  loadConfig,
41
39
  parseUrl
42
- } from "./chunk-bh25aaf7.js";
43
- import"./chunk-bf8bq8pc.js";
40
+ } from "./chunk-hqmjfnnn.js";
41
+ import"./chunk-yyvh669b.js";
44
42
  import {
45
43
  Client,
46
44
  Command,
@@ -55,39 +53,39 @@ import {
55
53
  expectObject,
56
54
  expectString,
57
55
  getDefaultExtensionConfiguration,
58
- getHttpHandlerExtensionConfiguration,
59
56
  isSerializableHeaderValue,
60
57
  loadConfigsForDefaultMode,
61
58
  map,
62
59
  resolveDefaultRuntimeConfig,
63
- resolveHttpHandlerRuntimeConfig,
64
60
  streamCollector,
65
61
  take,
66
62
  withBaseException
67
- } from "./chunk-xt9exr2c.js";
63
+ } from "./chunk-23btgw5e.js";
64
+ import"./chunk-mbvdyeyw.js";
65
+ import"./chunk-zzerxbrm.js";
68
66
  import {
69
- require_dist_cjs,
70
- require_dist_cjs2,
71
- require_dist_cjs4 as require_dist_cjs3
72
- } from "./chunk-0crtxf8d.js";
73
- import"./chunk-a7k3cdby.js";
67
+ require_dist_cjs2 as require_dist_cjs4,
68
+ require_dist_cjs5
69
+ } from "./chunk-atahpwz7.js";
70
+ import {
71
+ require_dist_cjs1 as require_dist_cjs,
72
+ require_dist_cjs4 as require_dist_cjs2,
73
+ require_dist_cjs5 as require_dist_cjs3
74
+ } from "./chunk-90y2wmyz.js";
74
75
  import"./chunk-frw3va9v.js";
75
- import"./chunk-saqpg5nd.js";
76
- import"./chunk-2m04vhea.js";
77
76
  import {
78
77
  __toESM
79
78
  } from "./chunk-9v6qtbez.js";
80
79
 
81
80
  // ../../../../node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js
82
- var import_core5 = __toESM(require_dist_cjs2(), 1);
81
+ var import_core5 = __toESM(require_dist_cjs4(), 1);
83
82
 
84
83
  // ../../../../node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js
85
- var import_core = __toESM(require_dist_cjs3(), 1);
86
- var import_util_middleware = __toESM(require_dist_cjs(), 1);
84
+ var import_core = __toESM(require_dist_cjs5(), 1);
87
85
  var defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {
88
86
  return {
89
- operation: import_util_middleware.getSmithyContext(context).operation,
90
- region: await import_util_middleware.normalizeProvider(config.region)() || (() => {
87
+ operation: getSmithyContext(context).operation,
88
+ region: await normalizeProvider(config.region)() || (() => {
91
89
  throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
92
90
  })()
93
91
  };
@@ -257,11 +255,13 @@ var package_default = {
257
255
  };
258
256
 
259
257
  // ../../../../node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js
260
- var import_core4 = __toESM(require_dist_cjs3(), 1);
258
+ var import_core4 = __toESM(require_dist_cjs5(), 1);
261
259
 
262
260
  // ../../../../node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js
263
- var import_core2 = __toESM(require_dist_cjs3(), 1);
264
- var import_core3 = __toESM(require_dist_cjs2(), 1);
261
+ var import_core2 = __toESM(require_dist_cjs5(), 1);
262
+ var import_core3 = __toESM(require_dist_cjs4(), 1);
263
+ var import_util_base64 = __toESM(require_dist_cjs3(), 1);
264
+ var import_util_utf8 = __toESM(require_dist_cjs2(), 1);
265
265
 
266
266
  // ../../../../node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js
267
267
  var u = "required";
@@ -308,8 +308,8 @@ customEndpointFunctions.aws = awsEndpointFunctions;
308
308
  var getRuntimeConfig = (config) => {
309
309
  return {
310
310
  apiVersion: "2019-06-10",
311
- base64Decoder: config?.base64Decoder ?? fromBase64,
312
- base64Encoder: config?.base64Encoder ?? toBase64,
311
+ base64Decoder: config?.base64Decoder ?? import_util_base64.fromBase64,
312
+ base64Encoder: config?.base64Encoder ?? import_util_base64.toBase64,
313
313
  disableHostPrefix: config?.disableHostPrefix ?? false,
314
314
  endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
315
315
  extensions: config?.extensions ?? [],
@@ -329,8 +329,8 @@ var getRuntimeConfig = (config) => {
329
329
  logger: config?.logger ?? new NoOpLogger,
330
330
  serviceId: config?.serviceId ?? "SSO",
331
331
  urlParser: config?.urlParser ?? parseUrl,
332
- utf8Decoder: config?.utf8Decoder ?? fromUtf8,
333
- utf8Encoder: config?.utf8Encoder ?? toUtf8
332
+ utf8Decoder: config?.utf8Decoder ?? import_util_utf8.fromUtf8,
333
+ utf8Encoder: config?.utf8Encoder ?? import_util_utf8.toUtf8
334
334
  };
335
335
  };
336
336
 
@@ -364,6 +364,9 @@ var getRuntimeConfig2 = (config) => {
364
364
  };
365
365
  };
366
366
 
367
+ // ../../../../node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js
368
+ var import_protocol_http = __toESM(require_dist_cjs(), 1);
369
+
367
370
  // ../../../../node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthExtensionConfiguration.js
368
371
  var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
369
372
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
@@ -405,9 +408,9 @@ var resolveHttpAuthRuntimeConfig = (config) => {
405
408
 
406
409
  // ../../../../node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js
407
410
  var resolveRuntimeExtensions = (runtimeConfig, extensions) => {
408
- const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
411
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), import_protocol_http.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
409
412
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
410
- return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
413
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), import_protocol_http.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
411
414
  };
412
415
 
413
416
  // ../../../../node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js
@@ -520,8 +523,8 @@ var GetRoleCredentialsResponseFilterSensitiveLog = (obj) => ({
520
523
  });
521
524
 
522
525
  // ../../../../node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js
523
- var import_core6 = __toESM(require_dist_cjs3(), 1);
524
- var import_core7 = __toESM(require_dist_cjs2(), 1);
526
+ var import_core6 = __toESM(require_dist_cjs5(), 1);
527
+ var import_core7 = __toESM(require_dist_cjs4(), 1);
525
528
  var se_GetRoleCredentialsCommand = async (input, context) => {
526
529
  const b2 = import_core7.requestBuilder(input, context);
527
530
  const headers = map({}, isSerializableHeaderValue, {
@@ -0,0 +1,107 @@
1
+ // ../../../../node_modules/@smithy/property-provider/dist-es/ProviderError.js
2
+ class ProviderError extends Error {
3
+ constructor(message, options = true) {
4
+ let logger;
5
+ let tryNextLink = true;
6
+ if (typeof options === "boolean") {
7
+ logger = undefined;
8
+ tryNextLink = options;
9
+ } else if (options != null && typeof options === "object") {
10
+ logger = options.logger;
11
+ tryNextLink = options.tryNextLink ?? true;
12
+ }
13
+ super(message);
14
+ this.name = "ProviderError";
15
+ this.tryNextLink = tryNextLink;
16
+ Object.setPrototypeOf(this, ProviderError.prototype);
17
+ logger?.debug?.(`@smithy/property-provider ${tryNextLink ? "->" : "(!)"} ${message}`);
18
+ }
19
+ static from(error, options = true) {
20
+ return Object.assign(new this(error.message, options), error);
21
+ }
22
+ }
23
+
24
+ // ../../../../node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js
25
+ class CredentialsProviderError extends ProviderError {
26
+ constructor(message, options = true) {
27
+ super(message, options);
28
+ this.name = "CredentialsProviderError";
29
+ Object.setPrototypeOf(this, CredentialsProviderError.prototype);
30
+ }
31
+ }
32
+ // ../../../../node_modules/@smithy/property-provider/dist-es/TokenProviderError.js
33
+ class TokenProviderError extends ProviderError {
34
+ constructor(message, options = true) {
35
+ super(message, options);
36
+ this.name = "TokenProviderError";
37
+ Object.setPrototypeOf(this, TokenProviderError.prototype);
38
+ }
39
+ }
40
+ // ../../../../node_modules/@smithy/property-provider/dist-es/chain.js
41
+ var chain = (...providers) => async () => {
42
+ if (providers.length === 0) {
43
+ throw new ProviderError("No providers in chain");
44
+ }
45
+ let lastProviderError;
46
+ for (const provider of providers) {
47
+ try {
48
+ const credentials = await provider();
49
+ return credentials;
50
+ } catch (err) {
51
+ lastProviderError = err;
52
+ if (err?.tryNextLink) {
53
+ continue;
54
+ }
55
+ throw err;
56
+ }
57
+ }
58
+ throw lastProviderError;
59
+ };
60
+ // ../../../../node_modules/@smithy/property-provider/dist-es/fromStatic.js
61
+ var fromStatic = (staticValue) => () => Promise.resolve(staticValue);
62
+ // ../../../../node_modules/@smithy/property-provider/dist-es/memoize.js
63
+ var memoize = (provider, isExpired, requiresRefresh) => {
64
+ let resolved;
65
+ let pending;
66
+ let hasResult;
67
+ let isConstant = false;
68
+ const coalesceProvider = async () => {
69
+ if (!pending) {
70
+ pending = provider();
71
+ }
72
+ try {
73
+ resolved = await pending;
74
+ hasResult = true;
75
+ isConstant = false;
76
+ } finally {
77
+ pending = undefined;
78
+ }
79
+ return resolved;
80
+ };
81
+ if (isExpired === undefined) {
82
+ return async (options) => {
83
+ if (!hasResult || options?.forceRefresh) {
84
+ resolved = await coalesceProvider();
85
+ }
86
+ return resolved;
87
+ };
88
+ }
89
+ return async (options) => {
90
+ if (!hasResult || options?.forceRefresh) {
91
+ resolved = await coalesceProvider();
92
+ }
93
+ if (isConstant) {
94
+ return resolved;
95
+ }
96
+ if (requiresRefresh && !requiresRefresh(resolved)) {
97
+ isConstant = true;
98
+ return resolved;
99
+ }
100
+ if (isExpired(resolved)) {
101
+ await coalesceProvider();
102
+ return resolved;
103
+ }
104
+ return resolved;
105
+ };
106
+ };
107
+ export { ProviderError, CredentialsProviderError, TokenProviderError, chain, fromStatic, memoize };
@@ -1,22 +1,22 @@
1
1
  // @bun
2
2
  import {
3
3
  seed
4
- } from "../chunk-fsa32kvk.js";
4
+ } from "../chunk-ddw2jq8f.js";
5
5
  import"../chunk-mdj7x1vs.js";
6
6
  import"../chunk-p0c688mg.js";
7
- import"../chunk-8dsect0a.js";
7
+ import"../chunk-qkm8e752.js";
8
8
  import"../chunk-a13x0e43.js";
9
9
  import"../chunk-mdqphqep.js";
10
10
  import"../chunk-qhh0v93n.js";
11
- import"../chunk-74nzt2f7.js";
12
- import"../chunk-bh25aaf7.js";
13
- import"../chunk-bf8bq8pc.js";
14
- import"../chunk-xt9exr2c.js";
15
- import"../chunk-0crtxf8d.js";
16
- import"../chunk-a7k3cdby.js";
11
+ import"../chunk-0m948f1p.js";
12
+ import"../chunk-hqmjfnnn.js";
13
+ import"../chunk-yyvh669b.js";
14
+ import"../chunk-23btgw5e.js";
15
+ import"../chunk-mbvdyeyw.js";
16
+ import"../chunk-zzerxbrm.js";
17
+ import"../chunk-atahpwz7.js";
18
+ import"../chunk-90y2wmyz.js";
17
19
  import"../chunk-frw3va9v.js";
18
- import"../chunk-saqpg5nd.js";
19
- import"../chunk-2m04vhea.js";
20
20
  import"../chunk-2dvnt46s.js";
21
21
  import"../chunk-w6fdq4hk.js";
22
22
  import"../chunk-wkwtsvym.js";
@@ -1,29 +1,29 @@
1
1
  // @bun
2
2
  import {
3
3
  route
4
- } from "../chunk-x1ny4wwh.js";
4
+ } from "../chunk-jq06qn43.js";
5
5
  import {
6
6
  generateVsCodeCustomData
7
7
  } from "../helpers/vscode-custom-data.js";
8
8
  import"../chunk-494jp8d5.js";
9
9
  import {
10
10
  generateModelFiles
11
- } from "../chunk-fsa32kvk.js";
11
+ } from "../chunk-ddw2jq8f.js";
12
12
  import"../chunk-mdj7x1vs.js";
13
13
  import"../chunk-p0c688mg.js";
14
- import"../chunk-8dsect0a.js";
14
+ import"../chunk-qkm8e752.js";
15
15
  import"../chunk-a13x0e43.js";
16
16
  import"../chunk-mdqphqep.js";
17
17
  import"../chunk-qhh0v93n.js";
18
- import"../chunk-74nzt2f7.js";
19
- import"../chunk-bh25aaf7.js";
20
- import"../chunk-bf8bq8pc.js";
21
- import"../chunk-xt9exr2c.js";
22
- import"../chunk-0crtxf8d.js";
23
- import"../chunk-a7k3cdby.js";
18
+ import"../chunk-0m948f1p.js";
19
+ import"../chunk-hqmjfnnn.js";
20
+ import"../chunk-yyvh669b.js";
21
+ import"../chunk-23btgw5e.js";
22
+ import"../chunk-mbvdyeyw.js";
23
+ import"../chunk-zzerxbrm.js";
24
+ import"../chunk-atahpwz7.js";
25
+ import"../chunk-90y2wmyz.js";
24
26
  import"../chunk-frw3va9v.js";
25
- import"../chunk-saqpg5nd.js";
26
- import"../chunk-2m04vhea.js";
27
27
  import"../chunk-2dvnt46s.js";
28
28
  import"../chunk-w6fdq4hk.js";
29
29
  import"../chunk-wkwtsvym.js";
package/dist/index.js CHANGED
@@ -41,25 +41,25 @@ import {
41
41
  generateWebTypes,
42
42
  invoke
43
43
  } from "./generate/index.js";
44
- import"./chunk-x1ny4wwh.js";
44
+ import"./chunk-jq06qn43.js";
45
45
  import"./helpers/vscode-custom-data.js";
46
46
  import"./chunk-494jp8d5.js";
47
- import"./chunk-fsa32kvk.js";
47
+ import"./chunk-ddw2jq8f.js";
48
48
  import"./chunk-mdj7x1vs.js";
49
49
  import"./chunk-p0c688mg.js";
50
- import"./chunk-8dsect0a.js";
50
+ import"./chunk-qkm8e752.js";
51
51
  import"./chunk-a13x0e43.js";
52
52
  import"./chunk-mdqphqep.js";
53
53
  import"./chunk-qhh0v93n.js";
54
- import"./chunk-74nzt2f7.js";
55
- import"./chunk-bh25aaf7.js";
56
- import"./chunk-bf8bq8pc.js";
57
- import"./chunk-xt9exr2c.js";
58
- import"./chunk-0crtxf8d.js";
59
- import"./chunk-a7k3cdby.js";
54
+ import"./chunk-0m948f1p.js";
55
+ import"./chunk-hqmjfnnn.js";
56
+ import"./chunk-yyvh669b.js";
57
+ import"./chunk-23btgw5e.js";
58
+ import"./chunk-mbvdyeyw.js";
59
+ import"./chunk-zzerxbrm.js";
60
+ import"./chunk-atahpwz7.js";
61
+ import"./chunk-90y2wmyz.js";
60
62
  import"./chunk-frw3va9v.js";
61
- import"./chunk-saqpg5nd.js";
62
- import"./chunk-2m04vhea.js";
63
63
  import"./chunk-2dvnt46s.js";
64
64
  import"./chunk-w6fdq4hk.js";
65
65
  import"./chunk-wkwtsvym.js";
package/dist/release.js CHANGED
@@ -5,25 +5,25 @@ import"./commit.js";
5
5
  import"./make.js";
6
6
  import"./add.js";
7
7
  import"./generate/index.js";
8
- import"./chunk-x1ny4wwh.js";
8
+ import"./chunk-jq06qn43.js";
9
9
  import"./helpers/vscode-custom-data.js";
10
10
  import"./chunk-494jp8d5.js";
11
- import"./chunk-fsa32kvk.js";
11
+ import"./chunk-ddw2jq8f.js";
12
12
  import"./chunk-mdj7x1vs.js";
13
13
  import"./chunk-p0c688mg.js";
14
- import"./chunk-8dsect0a.js";
14
+ import"./chunk-qkm8e752.js";
15
15
  import"./chunk-a13x0e43.js";
16
16
  import"./chunk-mdqphqep.js";
17
17
  import"./chunk-qhh0v93n.js";
18
- import"./chunk-74nzt2f7.js";
19
- import"./chunk-bh25aaf7.js";
20
- import"./chunk-bf8bq8pc.js";
21
- import"./chunk-xt9exr2c.js";
22
- import"./chunk-0crtxf8d.js";
23
- import"./chunk-a7k3cdby.js";
18
+ import"./chunk-0m948f1p.js";
19
+ import"./chunk-hqmjfnnn.js";
20
+ import"./chunk-yyvh669b.js";
21
+ import"./chunk-23btgw5e.js";
22
+ import"./chunk-mbvdyeyw.js";
23
+ import"./chunk-zzerxbrm.js";
24
+ import"./chunk-atahpwz7.js";
25
+ import"./chunk-90y2wmyz.js";
24
26
  import"./chunk-frw3va9v.js";
25
- import"./chunk-saqpg5nd.js";
26
- import"./chunk-2m04vhea.js";
27
27
  import"./chunk-2dvnt46s.js";
28
28
  import"./chunk-w6fdq4hk.js";
29
29
  import"./chunk-wkwtsvym.js";
package/dist/upgrade.js CHANGED
@@ -9,7 +9,7 @@ import { log } from "@stacksjs/logging";
9
9
  import { projectPath } from "@stacksjs/path";
10
10
  import * as storage from "@stacksjs/storage";
11
11
  // package.json
12
- var version = "0.70.19";
12
+ var version = "0.70.22";
13
13
 
14
14
  // src/upgrade.ts
15
15
  function checkForUncommittedChanges(options) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/actions",
3
3
  "type": "module",
4
- "version": "0.70.19",
4
+ "version": "0.70.22",
5
5
  "description": "The Stacks actions.",
6
6
  "author": "Chris Breuer",
7
7
  "contributors": ["Chris Breuer <chris@stacksjs.org>"],
@@ -1,145 +0,0 @@
1
- import {
2
- __commonJS
3
- } from "./chunk-9v6qtbez.js";
4
-
5
- // ../../../../node_modules/@smithy/property-provider/dist-cjs/index.js
6
- var require_dist_cjs = __commonJS((exports, module) => {
7
- var __defProp = Object.defineProperty;
8
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
9
- var __getOwnPropNames = Object.getOwnPropertyNames;
10
- var __hasOwnProp = Object.prototype.hasOwnProperty;
11
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
12
- var __export = (target, all) => {
13
- for (var name in all)
14
- __defProp(target, name, { get: all[name], enumerable: true });
15
- };
16
- var __copyProps = (to, from, except, desc) => {
17
- if (from && typeof from === "object" || typeof from === "function") {
18
- for (let key of __getOwnPropNames(from))
19
- if (!__hasOwnProp.call(to, key) && key !== except)
20
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
21
- }
22
- return to;
23
- };
24
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
25
- var src_exports = {};
26
- __export(src_exports, {
27
- CredentialsProviderError: () => CredentialsProviderError,
28
- ProviderError: () => ProviderError,
29
- TokenProviderError: () => TokenProviderError,
30
- chain: () => chain,
31
- fromStatic: () => fromStatic,
32
- memoize: () => memoize
33
- });
34
- module.exports = __toCommonJS(src_exports);
35
- var ProviderError = class _ProviderError extends Error {
36
- constructor(message, options = true) {
37
- let logger;
38
- let tryNextLink = true;
39
- if (typeof options === "boolean") {
40
- logger = undefined;
41
- tryNextLink = options;
42
- } else if (options != null && typeof options === "object") {
43
- logger = options.logger;
44
- tryNextLink = options.tryNextLink ?? true;
45
- }
46
- super(message);
47
- this.name = "ProviderError";
48
- this.tryNextLink = tryNextLink;
49
- Object.setPrototypeOf(this, _ProviderError.prototype);
50
- logger?.debug?.(`@smithy/property-provider ${tryNextLink ? "->" : "(!)"} ${message}`);
51
- }
52
- static {
53
- __name(this, "ProviderError");
54
- }
55
- static from(error, options = true) {
56
- return Object.assign(new this(error.message, options), error);
57
- }
58
- };
59
- var CredentialsProviderError = class _CredentialsProviderError extends ProviderError {
60
- constructor(message, options = true) {
61
- super(message, options);
62
- this.name = "CredentialsProviderError";
63
- Object.setPrototypeOf(this, _CredentialsProviderError.prototype);
64
- }
65
- static {
66
- __name(this, "CredentialsProviderError");
67
- }
68
- };
69
- var TokenProviderError = class _TokenProviderError extends ProviderError {
70
- constructor(message, options = true) {
71
- super(message, options);
72
- this.name = "TokenProviderError";
73
- Object.setPrototypeOf(this, _TokenProviderError.prototype);
74
- }
75
- static {
76
- __name(this, "TokenProviderError");
77
- }
78
- };
79
- var chain = /* @__PURE__ */ __name((...providers) => async () => {
80
- if (providers.length === 0) {
81
- throw new ProviderError("No providers in chain");
82
- }
83
- let lastProviderError;
84
- for (const provider of providers) {
85
- try {
86
- const credentials = await provider();
87
- return credentials;
88
- } catch (err) {
89
- lastProviderError = err;
90
- if (err?.tryNextLink) {
91
- continue;
92
- }
93
- throw err;
94
- }
95
- }
96
- throw lastProviderError;
97
- }, "chain");
98
- var fromStatic = /* @__PURE__ */ __name((staticValue) => () => Promise.resolve(staticValue), "fromStatic");
99
- var memoize = /* @__PURE__ */ __name((provider, isExpired, requiresRefresh) => {
100
- let resolved;
101
- let pending;
102
- let hasResult;
103
- let isConstant = false;
104
- const coalesceProvider = /* @__PURE__ */ __name(async () => {
105
- if (!pending) {
106
- pending = provider();
107
- }
108
- try {
109
- resolved = await pending;
110
- hasResult = true;
111
- isConstant = false;
112
- } finally {
113
- pending = undefined;
114
- }
115
- return resolved;
116
- }, "coalesceProvider");
117
- if (isExpired === undefined) {
118
- return async (options) => {
119
- if (!hasResult || options?.forceRefresh) {
120
- resolved = await coalesceProvider();
121
- }
122
- return resolved;
123
- };
124
- }
125
- return async (options) => {
126
- if (!hasResult || options?.forceRefresh) {
127
- resolved = await coalesceProvider();
128
- }
129
- if (isConstant) {
130
- return resolved;
131
- }
132
- if (requiresRefresh && !requiresRefresh(resolved)) {
133
- isConstant = true;
134
- return resolved;
135
- }
136
- if (isExpired(resolved)) {
137
- await coalesceProvider();
138
- return resolved;
139
- }
140
- return resolved;
141
- };
142
- }, "memoize");
143
- });
144
-
145
- export { require_dist_cjs };