@stacksjs/buddy 0.63.0 → 0.63.1

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 (66) hide show
  1. package/dist/chunk-2748xrng.js +9 -0
  2. package/dist/{chunk-afhgv4v9.js.map → chunk-2748xrng.js.map} +2 -2
  3. package/dist/chunk-3wdxw25z.js +5 -0
  4. package/dist/{chunk-582dnm6a.js.map → chunk-3wdxw25z.js.map} +2 -2
  5. package/dist/chunk-9ttt4yty.js +4 -0
  6. package/dist/{chunk-zzerxbrm.js.map → chunk-9ttt4yty.js.map} +2 -2
  7. package/dist/chunk-dz31tp6c.js +5 -0
  8. package/dist/{chunk-1f1xhs02.js.map → chunk-dz31tp6c.js.map} +2 -2
  9. package/dist/chunk-fwrsbrgr.js +6 -0
  10. package/dist/{chunk-q2vnqdcs.js.map → chunk-fwrsbrgr.js.map} +5 -5
  11. package/dist/chunk-g0xhj6ac.js +5 -0
  12. package/dist/{chunk-mmbfc5ft.js.map → chunk-g0xhj6ac.js.map} +2 -2
  13. package/dist/chunk-g8thtxy5.js +5 -0
  14. package/dist/{chunk-yrsms9d2.js.map → chunk-g8thtxy5.js.map} +2 -2
  15. package/dist/chunk-hk94zddp.js +5 -0
  16. package/dist/{chunk-8217wvpy.js.map → chunk-hk94zddp.js.map} +2 -2
  17. package/dist/chunk-hmytd9bw.js +7 -0
  18. package/dist/{chunk-8420n19j.js.map → chunk-hmytd9bw.js.map} +2 -2
  19. package/dist/chunk-macwp29m.js +5 -0
  20. package/dist/{chunk-as72s87r.js.map → chunk-macwp29m.js.map} +2 -2
  21. package/dist/chunk-qvwfj0bg.js +5 -0
  22. package/dist/{chunk-03ckp0m6.js.map → chunk-qvwfj0bg.js.map} +2 -2
  23. package/dist/chunk-sn67bbgd.js +5 -0
  24. package/dist/{chunk-nr24kzd1.js.map → chunk-sn67bbgd.js.map} +2 -2
  25. package/dist/chunk-t53j9hjg.js +5 -0
  26. package/dist/{chunk-xhsvfzz8.js.map → chunk-t53j9hjg.js.map} +2 -2
  27. package/dist/chunk-thgep359.js +21 -0
  28. package/dist/{chunk-tegm7yex.js.map → chunk-thgep359.js.map} +4 -5
  29. package/dist/chunk-vff2axxn.js +5 -0
  30. package/dist/{chunk-7jmyxm7k.js.map → chunk-vff2axxn.js.map} +2 -2
  31. package/dist/chunk-wmwqxvdd.js +5 -0
  32. package/dist/{chunk-cnvp47g4.js.map → chunk-wmwqxvdd.js.map} +1 -1
  33. package/dist/chunk-yevqw8gq.js +12 -0
  34. package/dist/{chunk-qx96ff3m.js.map → chunk-yevqw8gq.js.map} +2 -2
  35. package/dist/chunk-ypq6q9tr.js +4 -0
  36. package/dist/{chunk-sc3etgb7.js.map → chunk-ypq6q9tr.js.map} +2 -2
  37. package/dist/chunk-z9166d8b.js +5 -0
  38. package/dist/{chunk-6pac0yn5.js.map → chunk-z9166d8b.js.map} +2 -2
  39. package/dist/chunk-zkm6377r.js +5 -0
  40. package/dist/{chunk-rt463pw6.js.map → chunk-zkm6377r.js.map} +2 -2
  41. package/dist/cli.js +2 -126
  42. package/dist/cli.js.map +2 -2
  43. package/dist/index.js +2 -84
  44. package/dist/index.js.map +1 -1
  45. package/dist/stacks +0 -0
  46. package/package.json +1 -46
  47. package/dist/chunk-03ckp0m6.js +0 -1222
  48. package/dist/chunk-1f1xhs02.js +0 -2223
  49. package/dist/chunk-582dnm6a.js +0 -664
  50. package/dist/chunk-6pac0yn5.js +0 -126
  51. package/dist/chunk-7jmyxm7k.js +0 -85
  52. package/dist/chunk-8217wvpy.js +0 -108
  53. package/dist/chunk-8420n19j.js +0 -7417
  54. package/dist/chunk-afhgv4v9.js +0 -164
  55. package/dist/chunk-as72s87r.js +0 -61
  56. package/dist/chunk-cnvp47g4.js +0 -22
  57. package/dist/chunk-mmbfc5ft.js +0 -287
  58. package/dist/chunk-nr24kzd1.js +0 -178
  59. package/dist/chunk-q2vnqdcs.js +0 -1696
  60. package/dist/chunk-qx96ff3m.js +0 -95
  61. package/dist/chunk-rt463pw6.js +0 -46
  62. package/dist/chunk-sc3etgb7.js +0 -208
  63. package/dist/chunk-tegm7yex.js +0 -10767
  64. package/dist/chunk-xhsvfzz8.js +0 -381
  65. package/dist/chunk-yrsms9d2.js +0 -1746
  66. 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