@stacksjs/actions 0.70.17 → 0.70.18
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/dist/build.js +3 -3
- package/dist/{chunk-env90z3g.js → chunk-2vba9ke6.js} +1 -1
- package/dist/{chunk-dzyhk6dv.js → chunk-c0b89186.js} +3 -3
- package/dist/{chunk-m3bwb2j7.js → chunk-dhnwmbca.js} +24 -25
- package/dist/{chunk-6r2cfyvs.js → chunk-gtghjj5c.js} +78 -30
- package/dist/{chunk-kz2maxj4.js → chunk-ky5192ey.js} +22 -25
- package/dist/{chunk-b7b7x0pa.js → chunk-shmtrj5e.js} +1 -1
- package/dist/{chunk-8qbv8f54.js → chunk-v1m830st.js} +3 -3
- package/dist/{chunk-p90c4ksp.js → chunk-xgpn959d.js} +3 -3
- package/dist/database/seed.js +2 -2
- package/dist/generate/index.js +3 -3
- package/dist/index.js +3 -3
- package/dist/release.js +3 -3
- package/dist/upgrade.js +1 -1
- package/package.json +1 -1
package/dist/build.js
CHANGED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import {
|
|
3
3
|
generateTypes
|
|
4
4
|
} from "./generate/index.js";
|
|
5
|
-
import"./chunk-
|
|
5
|
+
import"./chunk-v1m830st.js";
|
|
6
6
|
import"./helpers/vscode-custom-data.js";
|
|
7
7
|
import"./chunk-494jp8d5.js";
|
|
8
|
-
import"./chunk-
|
|
8
|
+
import"./chunk-ky5192ey.js";
|
|
9
9
|
import"./chunk-mdj7x1vs.js";
|
|
10
10
|
import"./chunk-p0c688mg.js";
|
|
11
11
|
import"./chunk-qkm8e752.js";
|
|
12
12
|
import"./chunk-a13x0e43.js";
|
|
13
13
|
import"./chunk-mdqphqep.js";
|
|
14
14
|
import"./chunk-qhh0v93n.js";
|
|
15
|
-
import"./chunk-
|
|
15
|
+
import"./chunk-gtghjj5c.js";
|
|
16
16
|
import"./chunk-7s5qcjkt.js";
|
|
17
17
|
import"./chunk-bf8bq8pc.js";
|
|
18
18
|
import"./chunk-xt9exr2c.js";
|
|
@@ -187,7 +187,7 @@ var resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoR
|
|
|
187
187
|
});
|
|
188
188
|
}
|
|
189
189
|
const { accessToken } = token;
|
|
190
|
-
const { SSOClient, GetRoleCredentialsCommand } = await import("./chunk-
|
|
190
|
+
const { SSOClient, GetRoleCredentialsCommand } = await import("./chunk-dhnwmbca.js");
|
|
191
191
|
const sso = ssoClient || new SSOClient(Object.assign({}, clientConfig ?? {}, {
|
|
192
192
|
logger: clientConfig?.logger ?? parentClientConfig?.logger,
|
|
193
193
|
region: clientConfig?.region ?? ssoRegion
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
route
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import"./chunk-
|
|
4
|
+
} from "./chunk-v1m830st.js";
|
|
5
|
+
import"./chunk-ky5192ey.js";
|
|
6
6
|
import"./chunk-mdj7x1vs.js";
|
|
7
7
|
import"./chunk-p0c688mg.js";
|
|
8
8
|
import"./chunk-qkm8e752.js";
|
|
9
9
|
import"./chunk-a13x0e43.js";
|
|
10
10
|
import"./chunk-mdqphqep.js";
|
|
11
11
|
import"./chunk-qhh0v93n.js";
|
|
12
|
-
import"./chunk-
|
|
12
|
+
import"./chunk-gtghjj5c.js";
|
|
13
13
|
import"./chunk-7s5qcjkt.js";
|
|
14
14
|
import"./chunk-bf8bq8pc.js";
|
|
15
15
|
import"./chunk-xt9exr2c.js";
|
|
@@ -14,6 +14,8 @@ import {
|
|
|
14
14
|
calculateBodyLength,
|
|
15
15
|
createDefaultUserAgentProvider,
|
|
16
16
|
customEndpointFunctions,
|
|
17
|
+
fromBase64,
|
|
18
|
+
fromUtf8,
|
|
17
19
|
getAwsRegionExtensionConfiguration,
|
|
18
20
|
getContentLengthPlugin,
|
|
19
21
|
getEndpointPlugin,
|
|
@@ -22,9 +24,7 @@ import {
|
|
|
22
24
|
getRecursionDetectionPlugin,
|
|
23
25
|
getRetryPlugin,
|
|
24
26
|
getSerdePlugin,
|
|
25
|
-
getSmithyContext,
|
|
26
27
|
getUserAgentPlugin,
|
|
27
|
-
normalizeProvider,
|
|
28
28
|
resolveAwsRegionExtensionConfiguration,
|
|
29
29
|
resolveDefaultsModeConfig,
|
|
30
30
|
resolveEndpoint,
|
|
@@ -32,8 +32,10 @@ import {
|
|
|
32
32
|
resolveHostHeaderConfig,
|
|
33
33
|
resolveRegionConfig,
|
|
34
34
|
resolveRetryConfig,
|
|
35
|
-
resolveUserAgentConfig
|
|
36
|
-
|
|
35
|
+
resolveUserAgentConfig,
|
|
36
|
+
toBase64,
|
|
37
|
+
toUtf8
|
|
38
|
+
} from "./chunk-gtghjj5c.js";
|
|
37
39
|
import {
|
|
38
40
|
loadConfig,
|
|
39
41
|
parseUrl
|
|
@@ -65,13 +67,11 @@ import {
|
|
|
65
67
|
} from "./chunk-xt9exr2c.js";
|
|
66
68
|
import"./chunk-zzerxbrm.js";
|
|
67
69
|
import {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
+
require_dist_cjs,
|
|
71
|
+
require_dist_cjs2,
|
|
72
|
+
require_dist_cjs5 as require_dist_cjs3
|
|
70
73
|
} from "./chunk-veja9rez.js";
|
|
71
|
-
import
|
|
72
|
-
require_dist_cjs3 as require_dist_cjs,
|
|
73
|
-
require_dist_cjs4 as require_dist_cjs2
|
|
74
|
-
} from "./chunk-a7k3cdby.js";
|
|
74
|
+
import"./chunk-a7k3cdby.js";
|
|
75
75
|
import"./chunk-frw3va9v.js";
|
|
76
76
|
import"./chunk-saqpg5nd.js";
|
|
77
77
|
import {
|
|
@@ -79,14 +79,15 @@ import {
|
|
|
79
79
|
} from "./chunk-9v6qtbez.js";
|
|
80
80
|
|
|
81
81
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js
|
|
82
|
-
var import_core5 = __toESM(
|
|
82
|
+
var import_core5 = __toESM(require_dist_cjs2(), 1);
|
|
83
83
|
|
|
84
84
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js
|
|
85
|
-
var import_core = __toESM(
|
|
85
|
+
var import_core = __toESM(require_dist_cjs3(), 1);
|
|
86
|
+
var import_util_middleware = __toESM(require_dist_cjs(), 1);
|
|
86
87
|
var defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
87
88
|
return {
|
|
88
|
-
operation: getSmithyContext(context).operation,
|
|
89
|
-
region: await normalizeProvider(config.region)() || (() => {
|
|
89
|
+
operation: import_util_middleware.getSmithyContext(context).operation,
|
|
90
|
+
region: await import_util_middleware.normalizeProvider(config.region)() || (() => {
|
|
90
91
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
91
92
|
})()
|
|
92
93
|
};
|
|
@@ -256,13 +257,11 @@ var package_default = {
|
|
|
256
257
|
};
|
|
257
258
|
|
|
258
259
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js
|
|
259
|
-
var import_core4 = __toESM(
|
|
260
|
+
var import_core4 = __toESM(require_dist_cjs3(), 1);
|
|
260
261
|
|
|
261
262
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js
|
|
262
|
-
var import_core2 = __toESM(
|
|
263
|
-
var import_core3 = __toESM(
|
|
264
|
-
var import_util_base64 = __toESM(require_dist_cjs2(), 1);
|
|
265
|
-
var import_util_utf8 = __toESM(require_dist_cjs(), 1);
|
|
263
|
+
var import_core2 = __toESM(require_dist_cjs3(), 1);
|
|
264
|
+
var import_core3 = __toESM(require_dist_cjs2(), 1);
|
|
266
265
|
|
|
267
266
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js
|
|
268
267
|
var u = "required";
|
|
@@ -309,8 +308,8 @@ customEndpointFunctions.aws = awsEndpointFunctions;
|
|
|
309
308
|
var getRuntimeConfig = (config) => {
|
|
310
309
|
return {
|
|
311
310
|
apiVersion: "2019-06-10",
|
|
312
|
-
base64Decoder: config?.base64Decoder ??
|
|
313
|
-
base64Encoder: config?.base64Encoder ??
|
|
311
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
312
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
314
313
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
315
314
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
316
315
|
extensions: config?.extensions ?? [],
|
|
@@ -330,8 +329,8 @@ var getRuntimeConfig = (config) => {
|
|
|
330
329
|
logger: config?.logger ?? new NoOpLogger,
|
|
331
330
|
serviceId: config?.serviceId ?? "SSO",
|
|
332
331
|
urlParser: config?.urlParser ?? parseUrl,
|
|
333
|
-
utf8Decoder: config?.utf8Decoder ??
|
|
334
|
-
utf8Encoder: config?.utf8Encoder ??
|
|
332
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
333
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8
|
|
335
334
|
};
|
|
336
335
|
};
|
|
337
336
|
|
|
@@ -521,8 +520,8 @@ var GetRoleCredentialsResponseFilterSensitiveLog = (obj) => ({
|
|
|
521
520
|
});
|
|
522
521
|
|
|
523
522
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js
|
|
524
|
-
var import_core6 = __toESM(
|
|
525
|
-
var import_core7 = __toESM(
|
|
523
|
+
var import_core6 = __toESM(require_dist_cjs3(), 1);
|
|
524
|
+
var import_core7 = __toESM(require_dist_cjs2(), 1);
|
|
526
525
|
var se_GetRoleCredentialsCommand = async (input, context) => {
|
|
527
526
|
const b2 = import_core7.requestBuilder(input, context);
|
|
528
527
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -15,13 +15,10 @@ import {
|
|
|
15
15
|
} from "./chunk-zzerxbrm.js";
|
|
16
16
|
import {
|
|
17
17
|
require_dist,
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
require_dist_cjs as require_dist_cjs2,
|
|
19
|
+
require_dist_cjs2 as require_dist_cjs3,
|
|
20
|
+
require_dist_cjs5 as require_dist_cjs4
|
|
20
21
|
} from "./chunk-veja9rez.js";
|
|
21
|
-
import {
|
|
22
|
-
require_dist_cjs1 as require_dist_cjs2,
|
|
23
|
-
require_dist_cjs3
|
|
24
|
-
} from "./chunk-a7k3cdby.js";
|
|
25
22
|
import {
|
|
26
23
|
require_dist_cjs
|
|
27
24
|
} from "./chunk-saqpg5nd.js";
|
|
@@ -143,7 +140,7 @@ var getRecursionDetectionPlugin = (options) => ({
|
|
|
143
140
|
});
|
|
144
141
|
|
|
145
142
|
// ../../../../node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js
|
|
146
|
-
var import_core = __toESM(
|
|
143
|
+
var import_core = __toESM(require_dist_cjs3(), 1);
|
|
147
144
|
var DEFAULT_UA_APP_ID = undefined;
|
|
148
145
|
function isValidUserAgentAppId(appId) {
|
|
149
146
|
if (appId === undefined) {
|
|
@@ -949,7 +946,7 @@ var awsEndpointFunctions = {
|
|
|
949
946
|
};
|
|
950
947
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
951
948
|
// ../../../../node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js
|
|
952
|
-
var import_core2 = __toESM(
|
|
949
|
+
var import_core2 = __toESM(require_dist_cjs4(), 1);
|
|
953
950
|
var ACCOUNT_ID_ENDPOINT_REGEX = /\d{12}\.ddb/;
|
|
954
951
|
async function checkFeatures(context, config, args) {
|
|
955
952
|
const request = args.request;
|
|
@@ -1155,16 +1152,10 @@ var NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {
|
|
|
1155
1152
|
configFileSelector: (profile) => booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, SelectorType.CONFIG),
|
|
1156
1153
|
default: false
|
|
1157
1154
|
};
|
|
1158
|
-
// ../../../../node_modules/@smithy/
|
|
1159
|
-
var
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
var normalizeProvider2 = (input) => {
|
|
1163
|
-
if (typeof input === "function")
|
|
1164
|
-
return input;
|
|
1165
|
-
const promisified = Promise.resolve(input);
|
|
1166
|
-
return () => promisified;
|
|
1167
|
-
};
|
|
1155
|
+
// ../../../../node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js
|
|
1156
|
+
var import_util_middleware = __toESM(require_dist_cjs2(), 1);
|
|
1157
|
+
// ../../../../node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js
|
|
1158
|
+
var import_util_middleware2 = __toESM(require_dist_cjs2(), 1);
|
|
1168
1159
|
// ../../../../node_modules/@smithy/config-resolver/dist-es/regionConfig/config.js
|
|
1169
1160
|
var REGION_ENV_NAME = "AWS_REGION";
|
|
1170
1161
|
var REGION_INI_NAME = "region";
|
|
@@ -1283,7 +1274,8 @@ function getSerdePlugin(config2, serializer, deserializer) {
|
|
|
1283
1274
|
};
|
|
1284
1275
|
}
|
|
1285
1276
|
// ../../../../node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js
|
|
1286
|
-
var import_core3 = __toESM(
|
|
1277
|
+
var import_core3 = __toESM(require_dist_cjs3(), 1);
|
|
1278
|
+
var import_util_middleware3 = __toESM(require_dist_cjs2(), 1);
|
|
1287
1279
|
|
|
1288
1280
|
// ../../../../node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/s3.js
|
|
1289
1281
|
var resolveParamsForS3 = async (endpointParams) => {
|
|
@@ -1472,7 +1464,7 @@ var endpointMiddleware = ({ config: config2, instructions }) => {
|
|
|
1472
1464
|
if (authScheme) {
|
|
1473
1465
|
context["signing_region"] = authScheme.signingRegion;
|
|
1474
1466
|
context["signing_service"] = authScheme.signingName;
|
|
1475
|
-
const smithyContext = getSmithyContext(context);
|
|
1467
|
+
const smithyContext = import_util_middleware3.getSmithyContext(context);
|
|
1476
1468
|
const httpAuthOption = smithyContext?.selectedHttpAuthScheme?.httpAuthOption;
|
|
1477
1469
|
if (httpAuthOption) {
|
|
1478
1470
|
httpAuthOption.signingProperties = Object.assign(httpAuthOption.signingProperties || {}, {
|
|
@@ -1509,17 +1501,18 @@ var getEndpointPlugin = (config2, instructions) => ({
|
|
|
1509
1501
|
});
|
|
1510
1502
|
|
|
1511
1503
|
// ../../../../node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js
|
|
1504
|
+
var import_util_middleware4 = __toESM(require_dist_cjs2(), 1);
|
|
1512
1505
|
var resolveEndpointConfig = (input) => {
|
|
1513
1506
|
const tls = input.tls ?? true;
|
|
1514
1507
|
const { endpoint, useDualstackEndpoint, useFipsEndpoint } = input;
|
|
1515
|
-
const customEndpointProvider = endpoint != null ? async () => toEndpointV1(await
|
|
1508
|
+
const customEndpointProvider = endpoint != null ? async () => toEndpointV1(await import_util_middleware4.normalizeProvider(endpoint)()) : undefined;
|
|
1516
1509
|
const isCustomEndpoint = !!endpoint;
|
|
1517
1510
|
const resolvedConfig = Object.assign(input, {
|
|
1518
1511
|
endpoint: customEndpointProvider,
|
|
1519
1512
|
tls,
|
|
1520
1513
|
isCustomEndpoint,
|
|
1521
|
-
useDualstackEndpoint:
|
|
1522
|
-
useFipsEndpoint:
|
|
1514
|
+
useDualstackEndpoint: import_util_middleware4.normalizeProvider(useDualstackEndpoint ?? false),
|
|
1515
|
+
useFipsEndpoint: import_util_middleware4.normalizeProvider(useFipsEndpoint ?? false)
|
|
1523
1516
|
});
|
|
1524
1517
|
let configuredEndpointPromise = undefined;
|
|
1525
1518
|
resolvedConfig.serviceConfiguredEndpoint = async () => {
|
|
@@ -1530,6 +1523,9 @@ var resolveEndpointConfig = (input) => {
|
|
|
1530
1523
|
};
|
|
1531
1524
|
return resolvedConfig;
|
|
1532
1525
|
};
|
|
1526
|
+
// ../../../../node_modules/@smithy/middleware-retry/dist-es/configurations.js
|
|
1527
|
+
var import_util_middleware5 = __toESM(require_dist_cjs2(), 1);
|
|
1528
|
+
|
|
1533
1529
|
// ../../../../node_modules/@smithy/util-retry/dist-es/config.js
|
|
1534
1530
|
var RETRY_MODES;
|
|
1535
1531
|
(function(RETRY_MODES2) {
|
|
@@ -1821,14 +1817,14 @@ var NODE_MAX_ATTEMPT_CONFIG_OPTIONS = {
|
|
|
1821
1817
|
};
|
|
1822
1818
|
var resolveRetryConfig = (input) => {
|
|
1823
1819
|
const { retryStrategy, retryMode: _retryMode, maxAttempts: _maxAttempts } = input;
|
|
1824
|
-
const maxAttempts =
|
|
1820
|
+
const maxAttempts = import_util_middleware5.normalizeProvider(_maxAttempts ?? DEFAULT_MAX_ATTEMPTS);
|
|
1825
1821
|
return Object.assign(input, {
|
|
1826
1822
|
maxAttempts,
|
|
1827
1823
|
retryStrategy: async () => {
|
|
1828
1824
|
if (retryStrategy) {
|
|
1829
1825
|
return retryStrategy;
|
|
1830
1826
|
}
|
|
1831
|
-
const retryMode = await
|
|
1827
|
+
const retryMode = await import_util_middleware5.normalizeProvider(_retryMode)();
|
|
1832
1828
|
if (retryMode === RETRY_MODES.ADAPTIVE) {
|
|
1833
1829
|
return new AdaptiveRetryStrategy(maxAttempts);
|
|
1834
1830
|
}
|
|
@@ -2024,11 +2020,13 @@ var NODE_APP_ID_CONFIG_OPTIONS = {
|
|
|
2024
2020
|
configFileSelector: (profile) => profile[UA_APP_ID_INI_NAME] ?? profile[UA_APP_ID_INI_NAME_DEPRECATED],
|
|
2025
2021
|
default: DEFAULT_UA_APP_ID
|
|
2026
2022
|
};
|
|
2023
|
+
// ../../../../node_modules/@smithy/is-array-buffer/dist-es/index.js
|
|
2024
|
+
var isArrayBuffer = (arg) => typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer || Object.prototype.toString.call(arg) === "[object ArrayBuffer]";
|
|
2025
|
+
|
|
2027
2026
|
// ../../../../node_modules/@smithy/util-buffer-from/dist-es/index.js
|
|
2028
|
-
var import_is_array_buffer = __toESM(require_dist_cjs2(), 1);
|
|
2029
2027
|
import { Buffer as Buffer2 } from "node:buffer";
|
|
2030
2028
|
var fromArrayBuffer = (input, offset = 0, length = input.byteLength - offset) => {
|
|
2031
|
-
if (!
|
|
2029
|
+
if (!isArrayBuffer(input)) {
|
|
2032
2030
|
throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof input} (${input})`);
|
|
2033
2031
|
}
|
|
2034
2032
|
return Buffer2.from(input, offset, length);
|
|
@@ -2040,8 +2038,32 @@ var fromString = (input, encoding) => {
|
|
|
2040
2038
|
return encoding ? Buffer2.from(input, encoding) : Buffer2.from(input);
|
|
2041
2039
|
};
|
|
2042
2040
|
|
|
2041
|
+
// ../../../../node_modules/@smithy/util-utf8/dist-es/fromUtf8.js
|
|
2042
|
+
var fromUtf8 = (input) => {
|
|
2043
|
+
const buf = fromString(input, "utf8");
|
|
2044
|
+
return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT);
|
|
2045
|
+
};
|
|
2046
|
+
// ../../../../node_modules/@smithy/util-utf8/dist-es/toUint8Array.js
|
|
2047
|
+
var toUint8Array = (data) => {
|
|
2048
|
+
if (typeof data === "string") {
|
|
2049
|
+
return fromUtf8(data);
|
|
2050
|
+
}
|
|
2051
|
+
if (ArrayBuffer.isView(data)) {
|
|
2052
|
+
return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT);
|
|
2053
|
+
}
|
|
2054
|
+
return new Uint8Array(data);
|
|
2055
|
+
};
|
|
2056
|
+
// ../../../../node_modules/@smithy/util-utf8/dist-es/toUtf8.js
|
|
2057
|
+
var toUtf8 = (input) => {
|
|
2058
|
+
if (typeof input === "string") {
|
|
2059
|
+
return input;
|
|
2060
|
+
}
|
|
2061
|
+
if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") {
|
|
2062
|
+
throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");
|
|
2063
|
+
}
|
|
2064
|
+
return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("utf8");
|
|
2065
|
+
};
|
|
2043
2066
|
// ../../../../node_modules/@smithy/hash-node/dist-es/index.js
|
|
2044
|
-
var import_util_utf8 = __toESM(require_dist_cjs3(), 1);
|
|
2045
2067
|
import { Buffer as Buffer3 } from "node:buffer";
|
|
2046
2068
|
import { createHash, createHmac } from "node:crypto";
|
|
2047
2069
|
|
|
@@ -2052,7 +2074,7 @@ class Hash {
|
|
|
2052
2074
|
this.reset();
|
|
2053
2075
|
}
|
|
2054
2076
|
update(toHash, encoding) {
|
|
2055
|
-
this.hash.update(
|
|
2077
|
+
this.hash.update(toUint8Array(castSourceData(toHash, encoding)));
|
|
2056
2078
|
}
|
|
2057
2079
|
digest() {
|
|
2058
2080
|
return Promise.resolve(this.hash.digest());
|
|
@@ -2177,4 +2199,30 @@ var resolveAwsRegionExtensionConfiguration = (awsRegionExtensionConfiguration) =
|
|
|
2177
2199
|
region: awsRegionExtensionConfiguration.region()
|
|
2178
2200
|
};
|
|
2179
2201
|
};
|
|
2180
|
-
|
|
2202
|
+
// ../../../../node_modules/@smithy/util-base64/dist-es/fromBase64.js
|
|
2203
|
+
var BASE64_REGEX = /^[A-Za-z0-9+/]*={0,2}$/;
|
|
2204
|
+
var fromBase64 = (input) => {
|
|
2205
|
+
if (input.length * 3 % 4 !== 0) {
|
|
2206
|
+
throw new TypeError(`Incorrect padding on base64 string.`);
|
|
2207
|
+
}
|
|
2208
|
+
if (!BASE64_REGEX.exec(input)) {
|
|
2209
|
+
throw new TypeError(`Invalid base64 string.`);
|
|
2210
|
+
}
|
|
2211
|
+
const buffer = fromString(input, "base64");
|
|
2212
|
+
return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);
|
|
2213
|
+
};
|
|
2214
|
+
|
|
2215
|
+
// ../../../../node_modules/@smithy/util-base64/dist-es/toBase64.js
|
|
2216
|
+
var toBase64 = (_input) => {
|
|
2217
|
+
let input;
|
|
2218
|
+
if (typeof _input === "string") {
|
|
2219
|
+
input = fromUtf8(_input);
|
|
2220
|
+
} else {
|
|
2221
|
+
input = _input;
|
|
2222
|
+
}
|
|
2223
|
+
if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") {
|
|
2224
|
+
throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");
|
|
2225
|
+
}
|
|
2226
|
+
return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("base64");
|
|
2227
|
+
};
|
|
2228
|
+
export { resolveHostHeaderConfig, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, resolveUserAgentConfig, EndpointCache, customEndpointFunctions, resolveEndpoint, awsEndpointFunctions, getUserAgentPlugin, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig, getContentLengthPlugin, getSerdePlugin, getEndpointPlugin, resolveEndpointConfig, DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, NODE_RETRY_MODE_CONFIG_OPTIONS, getRetryPlugin, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, fromUtf8, toUtf8, Hash, calculateBodyLength, fromBase64, toBase64, resolveDefaultsModeConfig, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration };
|
|
@@ -22,6 +22,8 @@ import {
|
|
|
22
22
|
calculateBodyLength,
|
|
23
23
|
createDefaultUserAgentProvider,
|
|
24
24
|
customEndpointFunctions,
|
|
25
|
+
fromBase64,
|
|
26
|
+
fromUtf8,
|
|
25
27
|
getAwsRegionExtensionConfiguration,
|
|
26
28
|
getContentLengthPlugin,
|
|
27
29
|
getEndpointPlugin,
|
|
@@ -30,9 +32,7 @@ import {
|
|
|
30
32
|
getRecursionDetectionPlugin,
|
|
31
33
|
getRetryPlugin,
|
|
32
34
|
getSerdePlugin,
|
|
33
|
-
getSmithyContext,
|
|
34
35
|
getUserAgentPlugin,
|
|
35
|
-
normalizeProvider,
|
|
36
36
|
resolveAwsRegionExtensionConfiguration,
|
|
37
37
|
resolveDefaultsModeConfig,
|
|
38
38
|
resolveEndpoint,
|
|
@@ -40,8 +40,10 @@ import {
|
|
|
40
40
|
resolveHostHeaderConfig,
|
|
41
41
|
resolveRegionConfig,
|
|
42
42
|
resolveRetryConfig,
|
|
43
|
-
resolveUserAgentConfig
|
|
44
|
-
|
|
43
|
+
resolveUserAgentConfig,
|
|
44
|
+
toBase64,
|
|
45
|
+
toUtf8
|
|
46
|
+
} from "./chunk-gtghjj5c.js";
|
|
45
47
|
import {
|
|
46
48
|
loadConfig,
|
|
47
49
|
parseUrl
|
|
@@ -79,13 +81,9 @@ import {
|
|
|
79
81
|
} from "./chunk-zzerxbrm.js";
|
|
80
82
|
import {
|
|
81
83
|
require_dist_cjs,
|
|
82
|
-
require_dist_cjs2
|
|
83
|
-
require_dist_cjs5
|
|
84
|
+
require_dist_cjs2,
|
|
85
|
+
require_dist_cjs5 as require_dist_cjs3
|
|
84
86
|
} from "./chunk-veja9rez.js";
|
|
85
|
-
import {
|
|
86
|
-
require_dist_cjs3 as require_dist_cjs2,
|
|
87
|
-
require_dist_cjs4 as require_dist_cjs3
|
|
88
|
-
} from "./chunk-a7k3cdby.js";
|
|
89
87
|
import {
|
|
90
88
|
isString,
|
|
91
89
|
make
|
|
@@ -94806,14 +94804,15 @@ var resolveEndpointDiscoveryConfig = (input, { endpointDiscoveryCommandCtor }) =
|
|
|
94806
94804
|
});
|
|
94807
94805
|
};
|
|
94808
94806
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/DynamoDBClient.js
|
|
94809
|
-
var import_core6 = __toESM(
|
|
94807
|
+
var import_core6 = __toESM(require_dist_cjs2(), 1);
|
|
94810
94808
|
|
|
94811
94809
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/auth/httpAuthSchemeProvider.js
|
|
94812
|
-
var import_core2 = __toESM(
|
|
94810
|
+
var import_core2 = __toESM(require_dist_cjs3(), 1);
|
|
94811
|
+
var import_util_middleware = __toESM(require_dist_cjs(), 1);
|
|
94813
94812
|
var defaultDynamoDBHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
94814
94813
|
return {
|
|
94815
|
-
operation: getSmithyContext(context).operation,
|
|
94816
|
-
region: await normalizeProvider(config.region)() || (() => {
|
|
94814
|
+
operation: import_util_middleware.getSmithyContext(context).operation,
|
|
94815
|
+
region: await import_util_middleware.normalizeProvider(config.region)() || (() => {
|
|
94817
94816
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
94818
94817
|
})()
|
|
94819
94818
|
};
|
|
@@ -94865,7 +94864,7 @@ var commonParams = {
|
|
|
94865
94864
|
};
|
|
94866
94865
|
|
|
94867
94866
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/protocols/Aws_json1_0.js
|
|
94868
|
-
var import_core3 = __toESM(
|
|
94867
|
+
var import_core3 = __toESM(require_dist_cjs3(), 1);
|
|
94869
94868
|
|
|
94870
94869
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/models/DynamoDBServiceException.js
|
|
94871
94870
|
class DynamoDBServiceException extends ServiceException {
|
|
@@ -96486,7 +96485,7 @@ var package_default = {
|
|
|
96486
96485
|
};
|
|
96487
96486
|
|
|
96488
96487
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.js
|
|
96489
|
-
var import_core5 = __toESM(
|
|
96488
|
+
var import_core5 = __toESM(require_dist_cjs3(), 1);
|
|
96490
96489
|
var import_account_id_endpoint = __toESM(require_account_id_endpoint(), 1);
|
|
96491
96490
|
|
|
96492
96491
|
// ../../../../node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js
|
|
@@ -96541,11 +96540,11 @@ var defaultProvider = (init2 = {}) => memoize(chain(async () => {
|
|
|
96541
96540
|
if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
|
|
96542
96541
|
throw new CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init2.logger });
|
|
96543
96542
|
}
|
|
96544
|
-
const { fromSSO } = await import("./chunk-
|
|
96543
|
+
const { fromSSO } = await import("./chunk-2vba9ke6.js");
|
|
96545
96544
|
return fromSSO(init2)();
|
|
96546
96545
|
}, async () => {
|
|
96547
96546
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
|
|
96548
|
-
const { fromIni } = await import("./chunk-
|
|
96547
|
+
const { fromIni } = await import("./chunk-shmtrj5e.js");
|
|
96549
96548
|
return fromIni(init2)();
|
|
96550
96549
|
}, async () => {
|
|
96551
96550
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
|
|
@@ -96567,9 +96566,7 @@ var defaultProvider = (init2 = {}) => memoize(chain(async () => {
|
|
|
96567
96566
|
var credentialsWillNeedRefresh = (credentials) => credentials?.expiration !== undefined;
|
|
96568
96567
|
var credentialsTreatedAsExpired = (credentials) => credentials?.expiration !== undefined && credentials.expiration.getTime() - Date.now() < 300000;
|
|
96569
96568
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.shared.js
|
|
96570
|
-
var import_core4 = __toESM(
|
|
96571
|
-
var import_util_base64 = __toESM(require_dist_cjs3(), 1);
|
|
96572
|
-
var import_util_utf8 = __toESM(require_dist_cjs2(), 1);
|
|
96569
|
+
var import_core4 = __toESM(require_dist_cjs3(), 1);
|
|
96573
96570
|
|
|
96574
96571
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/ruleset.js
|
|
96575
96572
|
var S3 = "required";
|
|
@@ -96652,8 +96649,8 @@ customEndpointFunctions.aws = awsEndpointFunctions;
|
|
|
96652
96649
|
var getRuntimeConfig = (config) => {
|
|
96653
96650
|
return {
|
|
96654
96651
|
apiVersion: "2012-08-10",
|
|
96655
|
-
base64Decoder: config?.base64Decoder ??
|
|
96656
|
-
base64Encoder: config?.base64Encoder ??
|
|
96652
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
96653
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
96657
96654
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
96658
96655
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
96659
96656
|
extensions: config?.extensions ?? [],
|
|
@@ -96668,8 +96665,8 @@ var getRuntimeConfig = (config) => {
|
|
|
96668
96665
|
logger: config?.logger ?? new NoOpLogger,
|
|
96669
96666
|
serviceId: config?.serviceId ?? "DynamoDB",
|
|
96670
96667
|
urlParser: config?.urlParser ?? parseUrl,
|
|
96671
|
-
utf8Decoder: config?.utf8Decoder ??
|
|
96672
|
-
utf8Encoder: config?.utf8Encoder ??
|
|
96668
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
96669
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8
|
|
96673
96670
|
};
|
|
96674
96671
|
};
|
|
96675
96672
|
|
|
@@ -125,7 +125,7 @@ var resolveProcessCredentials = async (options, profile) => import("./chunk-76zh
|
|
|
125
125
|
// ../../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js
|
|
126
126
|
var import_client4 = __toESM(require_client(), 1);
|
|
127
127
|
var resolveSsoCredentials = async (profile, profileData, options = {}) => {
|
|
128
|
-
const { fromSSO } = await import("./chunk-
|
|
128
|
+
const { fromSSO } = await import("./chunk-2vba9ke6.js");
|
|
129
129
|
return fromSSO({
|
|
130
130
|
profile,
|
|
131
131
|
logger: options.logger,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
db
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ky5192ey.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-
|
|
323
|
-
await import("./chunk-
|
|
322
|
+
await import("./chunk-c0b89186.js");
|
|
323
|
+
await import("./chunk-xgpn959d.js");
|
|
324
324
|
}
|
|
325
325
|
async resolveCallback(callback) {
|
|
326
326
|
if (callback instanceof Promise) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
route
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import"./chunk-
|
|
4
|
+
} from "./chunk-v1m830st.js";
|
|
5
|
+
import"./chunk-ky5192ey.js";
|
|
6
6
|
import"./chunk-mdj7x1vs.js";
|
|
7
7
|
import"./chunk-p0c688mg.js";
|
|
8
8
|
import"./chunk-qkm8e752.js";
|
|
9
9
|
import"./chunk-a13x0e43.js";
|
|
10
10
|
import"./chunk-mdqphqep.js";
|
|
11
11
|
import"./chunk-qhh0v93n.js";
|
|
12
|
-
import"./chunk-
|
|
12
|
+
import"./chunk-gtghjj5c.js";
|
|
13
13
|
import"./chunk-7s5qcjkt.js";
|
|
14
14
|
import"./chunk-bf8bq8pc.js";
|
|
15
15
|
import"./chunk-xt9exr2c.js";
|
package/dist/database/seed.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
seed
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-ky5192ey.js";
|
|
5
5
|
import"../chunk-mdj7x1vs.js";
|
|
6
6
|
import"../chunk-p0c688mg.js";
|
|
7
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-
|
|
11
|
+
import"../chunk-gtghjj5c.js";
|
|
12
12
|
import"../chunk-7s5qcjkt.js";
|
|
13
13
|
import"../chunk-bf8bq8pc.js";
|
|
14
14
|
import"../chunk-xt9exr2c.js";
|
package/dist/generate/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
route
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-v1m830st.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-
|
|
11
|
+
} from "../chunk-ky5192ey.js";
|
|
12
12
|
import"../chunk-mdj7x1vs.js";
|
|
13
13
|
import"../chunk-p0c688mg.js";
|
|
14
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-
|
|
18
|
+
import"../chunk-gtghjj5c.js";
|
|
19
19
|
import"../chunk-7s5qcjkt.js";
|
|
20
20
|
import"../chunk-bf8bq8pc.js";
|
|
21
21
|
import"../chunk-xt9exr2c.js";
|
package/dist/index.js
CHANGED
|
@@ -41,17 +41,17 @@ import {
|
|
|
41
41
|
generateWebTypes,
|
|
42
42
|
invoke
|
|
43
43
|
} from "./generate/index.js";
|
|
44
|
-
import"./chunk-
|
|
44
|
+
import"./chunk-v1m830st.js";
|
|
45
45
|
import"./helpers/vscode-custom-data.js";
|
|
46
46
|
import"./chunk-494jp8d5.js";
|
|
47
|
-
import"./chunk-
|
|
47
|
+
import"./chunk-ky5192ey.js";
|
|
48
48
|
import"./chunk-mdj7x1vs.js";
|
|
49
49
|
import"./chunk-p0c688mg.js";
|
|
50
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-
|
|
54
|
+
import"./chunk-gtghjj5c.js";
|
|
55
55
|
import"./chunk-7s5qcjkt.js";
|
|
56
56
|
import"./chunk-bf8bq8pc.js";
|
|
57
57
|
import"./chunk-xt9exr2c.js";
|
package/dist/release.js
CHANGED
|
@@ -5,17 +5,17 @@ import"./commit.js";
|
|
|
5
5
|
import"./make.js";
|
|
6
6
|
import"./add.js";
|
|
7
7
|
import"./generate/index.js";
|
|
8
|
-
import"./chunk-
|
|
8
|
+
import"./chunk-v1m830st.js";
|
|
9
9
|
import"./helpers/vscode-custom-data.js";
|
|
10
10
|
import"./chunk-494jp8d5.js";
|
|
11
|
-
import"./chunk-
|
|
11
|
+
import"./chunk-ky5192ey.js";
|
|
12
12
|
import"./chunk-mdj7x1vs.js";
|
|
13
13
|
import"./chunk-p0c688mg.js";
|
|
14
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-
|
|
18
|
+
import"./chunk-gtghjj5c.js";
|
|
19
19
|
import"./chunk-7s5qcjkt.js";
|
|
20
20
|
import"./chunk-bf8bq8pc.js";
|
|
21
21
|
import"./chunk-xt9exr2c.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.
|
|
12
|
+
var version = "0.70.18";
|
|
13
13
|
|
|
14
14
|
// src/upgrade.ts
|
|
15
15
|
function checkForUncommittedChanges(options) {
|