@stacksjs/buddy 0.63.0 → 0.64.0

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 (73) hide show
  1. package/README.md +1 -1
  2. package/dist/chunk-12tkdbmy.js +7 -0
  3. package/dist/{chunk-8420n19j.js.map → chunk-12tkdbmy.js.map} +6 -5
  4. package/dist/chunk-1f6t66bt.js +5 -0
  5. package/dist/{chunk-1f1xhs02.js.map → chunk-1f6t66bt.js.map} +2 -2
  6. package/dist/chunk-463qxvjp.js +5 -0
  7. package/dist/{chunk-7jmyxm7k.js.map → chunk-463qxvjp.js.map} +2 -2
  8. package/dist/chunk-47n7wt6x.js +12 -0
  9. package/dist/{chunk-qx96ff3m.js.map → chunk-47n7wt6x.js.map} +2 -2
  10. package/dist/chunk-97kwnfsa.js +5 -0
  11. package/dist/{chunk-as72s87r.js.map → chunk-97kwnfsa.js.map} +2 -2
  12. package/dist/chunk-a8vj9csq.js +6 -0
  13. package/dist/{chunk-q2vnqdcs.js.map → chunk-a8vj9csq.js.map} +6 -6
  14. package/dist/chunk-b8124fjs.js +9 -0
  15. package/dist/{chunk-afhgv4v9.js.map → chunk-b8124fjs.js.map} +2 -2
  16. package/dist/chunk-cnvpbb2z.js +5 -0
  17. package/dist/{chunk-xhsvfzz8.js.map → chunk-cnvpbb2z.js.map} +4 -4
  18. package/dist/chunk-ehm10xxj.js +21 -0
  19. package/dist/{chunk-tegm7yex.js.map → chunk-ehm10xxj.js.map} +11 -15
  20. package/dist/chunk-f9qdyafb.js +5 -0
  21. package/dist/{chunk-582dnm6a.js.map → chunk-f9qdyafb.js.map} +5 -5
  22. package/dist/chunk-fcgh2sfr.js +5 -0
  23. package/dist/{chunk-mmbfc5ft.js.map → chunk-fcgh2sfr.js.map} +2 -2
  24. package/dist/chunk-fft99hka.js +4 -0
  25. package/dist/chunk-fft99hka.js.map +16 -0
  26. package/dist/chunk-g5tqs4wa.js +5 -0
  27. package/dist/{chunk-03ckp0m6.js.map → chunk-g5tqs4wa.js.map} +4 -4
  28. package/dist/chunk-gvpcxxae.js +5 -0
  29. package/dist/{chunk-6pac0yn5.js.map → chunk-gvpcxxae.js.map} +2 -2
  30. package/dist/chunk-hd0zdkj9.js +4 -0
  31. package/dist/{chunk-zzerxbrm.js.map → chunk-hd0zdkj9.js.map} +2 -2
  32. package/dist/chunk-hj9p7vjp.js +5 -0
  33. package/dist/{chunk-yrsms9d2.js.map → chunk-hj9p7vjp.js.map} +4 -4
  34. package/dist/chunk-hxzqmyb0.js +5 -0
  35. package/dist/{chunk-rt463pw6.js.map → chunk-hxzqmyb0.js.map} +2 -2
  36. package/dist/chunk-pabnt45p.js +5 -0
  37. package/dist/{chunk-nr24kzd1.js.map → chunk-pabnt45p.js.map} +2 -2
  38. package/dist/chunk-svr5ddhq.js +4 -0
  39. package/dist/{chunk-sc3etgb7.js.map → chunk-svr5ddhq.js.map} +2 -2
  40. package/dist/chunk-wmfxrbxe.js +5 -0
  41. package/dist/{chunk-cnvp47g4.js.map → chunk-wmfxrbxe.js.map} +1 -1
  42. package/dist/cli.js +2 -126
  43. package/dist/cli.js.map +3 -3
  44. package/dist/index.js +2 -84
  45. package/dist/index.js.map +1 -1
  46. package/dist/stacks +0 -0
  47. package/package.json +1 -46
  48. package/src/cli.ts +1 -0
  49. package/src/commands/build.ts +5 -4
  50. package/src/commands/index.ts +1 -0
  51. package/src/commands/make.ts +2 -2
  52. package/src/commands/outdated.ts +31 -0
  53. package/dist/chunk-03ckp0m6.js +0 -1222
  54. package/dist/chunk-1f1xhs02.js +0 -2223
  55. package/dist/chunk-582dnm6a.js +0 -664
  56. package/dist/chunk-6pac0yn5.js +0 -126
  57. package/dist/chunk-7jmyxm7k.js +0 -85
  58. package/dist/chunk-8217wvpy.js +0 -108
  59. package/dist/chunk-8217wvpy.js.map +0 -16
  60. package/dist/chunk-8420n19j.js +0 -7417
  61. package/dist/chunk-afhgv4v9.js +0 -164
  62. package/dist/chunk-as72s87r.js +0 -61
  63. package/dist/chunk-cnvp47g4.js +0 -22
  64. package/dist/chunk-mmbfc5ft.js +0 -287
  65. package/dist/chunk-nr24kzd1.js +0 -178
  66. package/dist/chunk-q2vnqdcs.js +0 -1696
  67. package/dist/chunk-qx96ff3m.js +0 -95
  68. package/dist/chunk-rt463pw6.js +0 -46
  69. package/dist/chunk-sc3etgb7.js +0 -208
  70. package/dist/chunk-tegm7yex.js +0 -10767
  71. package/dist/chunk-xhsvfzz8.js +0 -381
  72. package/dist/chunk-yrsms9d2.js +0 -1746
  73. package/dist/chunk-zzerxbrm.js +0 -110
@@ -1,110 +0,0 @@
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 };
108
-
109
- //# debugId=8355FB3088ADD81E64756E2164756E21
110
- //# sourceMappingURL=chunk-zzerxbrm.js.map