@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.
- package/README.md +1 -1
- package/dist/chunk-12tkdbmy.js +7 -0
- package/dist/{chunk-8420n19j.js.map → chunk-12tkdbmy.js.map} +6 -5
- package/dist/chunk-1f6t66bt.js +5 -0
- package/dist/{chunk-1f1xhs02.js.map → chunk-1f6t66bt.js.map} +2 -2
- package/dist/chunk-463qxvjp.js +5 -0
- package/dist/{chunk-7jmyxm7k.js.map → chunk-463qxvjp.js.map} +2 -2
- package/dist/chunk-47n7wt6x.js +12 -0
- package/dist/{chunk-qx96ff3m.js.map → chunk-47n7wt6x.js.map} +2 -2
- package/dist/chunk-97kwnfsa.js +5 -0
- package/dist/{chunk-as72s87r.js.map → chunk-97kwnfsa.js.map} +2 -2
- package/dist/chunk-a8vj9csq.js +6 -0
- package/dist/{chunk-q2vnqdcs.js.map → chunk-a8vj9csq.js.map} +6 -6
- package/dist/chunk-b8124fjs.js +9 -0
- package/dist/{chunk-afhgv4v9.js.map → chunk-b8124fjs.js.map} +2 -2
- package/dist/chunk-cnvpbb2z.js +5 -0
- package/dist/{chunk-xhsvfzz8.js.map → chunk-cnvpbb2z.js.map} +4 -4
- package/dist/chunk-ehm10xxj.js +21 -0
- package/dist/{chunk-tegm7yex.js.map → chunk-ehm10xxj.js.map} +11 -15
- package/dist/chunk-f9qdyafb.js +5 -0
- package/dist/{chunk-582dnm6a.js.map → chunk-f9qdyafb.js.map} +5 -5
- package/dist/chunk-fcgh2sfr.js +5 -0
- package/dist/{chunk-mmbfc5ft.js.map → chunk-fcgh2sfr.js.map} +2 -2
- package/dist/chunk-fft99hka.js +4 -0
- package/dist/chunk-fft99hka.js.map +16 -0
- package/dist/chunk-g5tqs4wa.js +5 -0
- package/dist/{chunk-03ckp0m6.js.map → chunk-g5tqs4wa.js.map} +4 -4
- package/dist/chunk-gvpcxxae.js +5 -0
- package/dist/{chunk-6pac0yn5.js.map → chunk-gvpcxxae.js.map} +2 -2
- package/dist/chunk-hd0zdkj9.js +4 -0
- package/dist/{chunk-zzerxbrm.js.map → chunk-hd0zdkj9.js.map} +2 -2
- package/dist/chunk-hj9p7vjp.js +5 -0
- package/dist/{chunk-yrsms9d2.js.map → chunk-hj9p7vjp.js.map} +4 -4
- package/dist/chunk-hxzqmyb0.js +5 -0
- package/dist/{chunk-rt463pw6.js.map → chunk-hxzqmyb0.js.map} +2 -2
- package/dist/chunk-pabnt45p.js +5 -0
- package/dist/{chunk-nr24kzd1.js.map → chunk-pabnt45p.js.map} +2 -2
- package/dist/chunk-svr5ddhq.js +4 -0
- package/dist/{chunk-sc3etgb7.js.map → chunk-svr5ddhq.js.map} +2 -2
- package/dist/chunk-wmfxrbxe.js +5 -0
- package/dist/{chunk-cnvp47g4.js.map → chunk-wmfxrbxe.js.map} +1 -1
- package/dist/cli.js +2 -126
- package/dist/cli.js.map +3 -3
- package/dist/index.js +2 -84
- package/dist/index.js.map +1 -1
- package/dist/stacks +0 -0
- package/package.json +1 -46
- package/src/cli.ts +1 -0
- package/src/commands/build.ts +5 -4
- package/src/commands/index.ts +1 -0
- package/src/commands/make.ts +2 -2
- package/src/commands/outdated.ts +31 -0
- package/dist/chunk-03ckp0m6.js +0 -1222
- package/dist/chunk-1f1xhs02.js +0 -2223
- package/dist/chunk-582dnm6a.js +0 -664
- package/dist/chunk-6pac0yn5.js +0 -126
- package/dist/chunk-7jmyxm7k.js +0 -85
- package/dist/chunk-8217wvpy.js +0 -108
- package/dist/chunk-8217wvpy.js.map +0 -16
- package/dist/chunk-8420n19j.js +0 -7417
- package/dist/chunk-afhgv4v9.js +0 -164
- package/dist/chunk-as72s87r.js +0 -61
- package/dist/chunk-cnvp47g4.js +0 -22
- package/dist/chunk-mmbfc5ft.js +0 -287
- package/dist/chunk-nr24kzd1.js +0 -178
- package/dist/chunk-q2vnqdcs.js +0 -1696
- package/dist/chunk-qx96ff3m.js +0 -95
- package/dist/chunk-rt463pw6.js +0 -46
- package/dist/chunk-sc3etgb7.js +0 -208
- package/dist/chunk-tegm7yex.js +0 -10767
- package/dist/chunk-xhsvfzz8.js +0 -381
- package/dist/chunk-yrsms9d2.js +0 -1746
- package/dist/chunk-zzerxbrm.js +0 -110
package/dist/chunk-zzerxbrm.js
DELETED
|
@@ -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
|