@stacksjs/actions 0.70.16 → 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 +8 -8
- package/dist/{chunk-wn25qps4.js → chunk-2vba9ke6.js} +25 -34
- package/dist/{chunk-hd6fdt5s.js → chunk-38cnnp2b.js} +4 -6
- package/dist/{chunk-6xeh1279.js → chunk-76zhb40c.js} +6 -7
- package/dist/{chunk-bh25aaf7.js → chunk-7s5qcjkt.js} +9 -17
- package/dist/{chunk-gdzs9jf4.js → chunk-9exgwfkw.js} +4 -5
- package/dist/{chunk-hfkdpbh8.js → chunk-c0b89186.js} +8 -8
- package/dist/{chunk-y73a5ex0.js → chunk-dhnwmbca.js} +28 -29
- package/dist/{chunk-wvzpmd54.js → chunk-e7mp4xy5.js} +10 -13
- package/dist/{chunk-ad9b7jvj.js → chunk-f6a9g4qa.js} +4 -5
- package/dist/{chunk-jdqxwpvc.js → chunk-gtghjj5c.js} +79 -35
- package/dist/{chunk-kz10a3s9.js → chunk-ky5192ey.js} +82 -85
- package/dist/{chunk-8dsect0a.js → chunk-qkm8e752.js} +4 -5
- package/dist/{chunk-6xbhnbwy.js → chunk-shmtrj5e.js} +17 -21
- package/dist/{chunk-9menqd9a.js → chunk-t5em30ak.js} +16 -24
- package/dist/{chunk-cv02w7e2.js → chunk-v1m830st.js} +3 -3
- package/dist/{chunk-0crtxf8d.js → chunk-veja9rez.js} +156 -19
- package/dist/{chunk-whqcyjvm.js → chunk-xgpn959d.js} +13 -8
- package/dist/{chunk-b5g5w1hh.js → chunk-xt9exr2c.js} +5 -6
- package/dist/{chunk-f1cxwjkf.js → chunk-zsm2c35w.js} +5 -6
- package/dist/chunk-zzerxbrm.js +107 -0
- package/dist/database/seed.js +7 -7
- package/dist/generate/index.js +8 -8
- package/dist/index.js +8 -8
- package/dist/release.js +8 -8
- package/dist/upgrade.js +1 -1
- package/package.json +17 -17
- package/dist/chunk-2m04vhea.js +0 -145
|
@@ -19,15 +19,15 @@ import {
|
|
|
19
19
|
require_dist_cjs8 as require_dist_cjs18,
|
|
20
20
|
require_dist_cjs9 as require_dist_cjs19,
|
|
21
21
|
require_package
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-38cnnp2b.js";
|
|
23
23
|
import {
|
|
24
24
|
require_dist_cjs,
|
|
25
25
|
require_dist_cjs1 as require_dist_cjs2,
|
|
26
26
|
require_dist_cjs2 as require_dist_cjs7,
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
require_dist_cjs4 as require_dist_cjs8,
|
|
28
|
+
require_dist_cjs5 as require_dist_cjs9,
|
|
29
29
|
require_tslib
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-veja9rez.js";
|
|
31
31
|
import {
|
|
32
32
|
require_dist_cjs as require_dist_cjs3,
|
|
33
33
|
require_dist_cjs3 as require_dist_cjs4,
|
|
@@ -36,7 +36,6 @@ import {
|
|
|
36
36
|
} from "./chunk-a7k3cdby.js";
|
|
37
37
|
import"./chunk-frw3va9v.js";
|
|
38
38
|
import"./chunk-saqpg5nd.js";
|
|
39
|
-
import"./chunk-2m04vhea.js";
|
|
40
39
|
import {
|
|
41
40
|
__commonJS
|
|
42
41
|
} from "./chunk-9v6qtbez.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadConfig,
|
|
3
3
|
parseUrl
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7s5qcjkt.js";
|
|
5
5
|
import {
|
|
6
6
|
CONFIG_PREFIX_SEPARATOR
|
|
7
7
|
} from "./chunk-bf8bq8pc.js";
|
|
@@ -9,21 +9,19 @@ import {
|
|
|
9
9
|
HttpRequest,
|
|
10
10
|
HttpResponse,
|
|
11
11
|
NoOpLogger
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-xt9exr2c.js";
|
|
13
|
+
import {
|
|
14
|
+
memoize
|
|
15
|
+
} from "./chunk-zzerxbrm.js";
|
|
13
16
|
import {
|
|
14
17
|
require_dist,
|
|
18
|
+
require_dist_cjs as require_dist_cjs2,
|
|
15
19
|
require_dist_cjs2 as require_dist_cjs3,
|
|
16
|
-
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import {
|
|
19
|
-
require_dist_cjs3 as require_dist_cjs2
|
|
20
|
-
} from "./chunk-a7k3cdby.js";
|
|
20
|
+
require_dist_cjs5 as require_dist_cjs4
|
|
21
|
+
} from "./chunk-veja9rez.js";
|
|
21
22
|
import {
|
|
22
23
|
require_dist_cjs
|
|
23
24
|
} from "./chunk-saqpg5nd.js";
|
|
24
|
-
import {
|
|
25
|
-
require_dist_cjs as require_dist_cjs4
|
|
26
|
-
} from "./chunk-2m04vhea.js";
|
|
27
25
|
import {
|
|
28
26
|
__require,
|
|
29
27
|
__toESM
|
|
@@ -948,7 +946,7 @@ var awsEndpointFunctions = {
|
|
|
948
946
|
};
|
|
949
947
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
950
948
|
// ../../../../node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js
|
|
951
|
-
var import_core2 = __toESM(
|
|
949
|
+
var import_core2 = __toESM(require_dist_cjs4(), 1);
|
|
952
950
|
var ACCOUNT_ID_ENDPOINT_REGEX = /\d{12}\.ddb/;
|
|
953
951
|
async function checkFeatures(context, config, args) {
|
|
954
952
|
const request = args.request;
|
|
@@ -1154,16 +1152,10 @@ var NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {
|
|
|
1154
1152
|
configFileSelector: (profile) => booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, SelectorType.CONFIG),
|
|
1155
1153
|
default: false
|
|
1156
1154
|
};
|
|
1157
|
-
// ../../../../node_modules/@smithy/
|
|
1158
|
-
var
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
var normalizeProvider2 = (input) => {
|
|
1162
|
-
if (typeof input === "function")
|
|
1163
|
-
return input;
|
|
1164
|
-
const promisified = Promise.resolve(input);
|
|
1165
|
-
return () => promisified;
|
|
1166
|
-
};
|
|
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);
|
|
1167
1159
|
// ../../../../node_modules/@smithy/config-resolver/dist-es/regionConfig/config.js
|
|
1168
1160
|
var REGION_ENV_NAME = "AWS_REGION";
|
|
1169
1161
|
var REGION_INI_NAME = "region";
|
|
@@ -1283,6 +1275,7 @@ function getSerdePlugin(config2, serializer, deserializer) {
|
|
|
1283
1275
|
}
|
|
1284
1276
|
// ../../../../node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js
|
|
1285
1277
|
var import_core3 = __toESM(require_dist_cjs3(), 1);
|
|
1278
|
+
var import_util_middleware3 = __toESM(require_dist_cjs2(), 1);
|
|
1286
1279
|
|
|
1287
1280
|
// ../../../../node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/s3.js
|
|
1288
1281
|
var resolveParamsForS3 = async (endpointParams) => {
|
|
@@ -1471,7 +1464,7 @@ var endpointMiddleware = ({ config: config2, instructions }) => {
|
|
|
1471
1464
|
if (authScheme) {
|
|
1472
1465
|
context["signing_region"] = authScheme.signingRegion;
|
|
1473
1466
|
context["signing_service"] = authScheme.signingName;
|
|
1474
|
-
const smithyContext = getSmithyContext(context);
|
|
1467
|
+
const smithyContext = import_util_middleware3.getSmithyContext(context);
|
|
1475
1468
|
const httpAuthOption = smithyContext?.selectedHttpAuthScheme?.httpAuthOption;
|
|
1476
1469
|
if (httpAuthOption) {
|
|
1477
1470
|
httpAuthOption.signingProperties = Object.assign(httpAuthOption.signingProperties || {}, {
|
|
@@ -1508,17 +1501,18 @@ var getEndpointPlugin = (config2, instructions) => ({
|
|
|
1508
1501
|
});
|
|
1509
1502
|
|
|
1510
1503
|
// ../../../../node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js
|
|
1504
|
+
var import_util_middleware4 = __toESM(require_dist_cjs2(), 1);
|
|
1511
1505
|
var resolveEndpointConfig = (input) => {
|
|
1512
1506
|
const tls = input.tls ?? true;
|
|
1513
1507
|
const { endpoint, useDualstackEndpoint, useFipsEndpoint } = input;
|
|
1514
|
-
const customEndpointProvider = endpoint != null ? async () => toEndpointV1(await
|
|
1508
|
+
const customEndpointProvider = endpoint != null ? async () => toEndpointV1(await import_util_middleware4.normalizeProvider(endpoint)()) : undefined;
|
|
1515
1509
|
const isCustomEndpoint = !!endpoint;
|
|
1516
1510
|
const resolvedConfig = Object.assign(input, {
|
|
1517
1511
|
endpoint: customEndpointProvider,
|
|
1518
1512
|
tls,
|
|
1519
1513
|
isCustomEndpoint,
|
|
1520
|
-
useDualstackEndpoint:
|
|
1521
|
-
useFipsEndpoint:
|
|
1514
|
+
useDualstackEndpoint: import_util_middleware4.normalizeProvider(useDualstackEndpoint ?? false),
|
|
1515
|
+
useFipsEndpoint: import_util_middleware4.normalizeProvider(useFipsEndpoint ?? false)
|
|
1522
1516
|
});
|
|
1523
1517
|
let configuredEndpointPromise = undefined;
|
|
1524
1518
|
resolvedConfig.serviceConfiguredEndpoint = async () => {
|
|
@@ -1529,6 +1523,9 @@ var resolveEndpointConfig = (input) => {
|
|
|
1529
1523
|
};
|
|
1530
1524
|
return resolvedConfig;
|
|
1531
1525
|
};
|
|
1526
|
+
// ../../../../node_modules/@smithy/middleware-retry/dist-es/configurations.js
|
|
1527
|
+
var import_util_middleware5 = __toESM(require_dist_cjs2(), 1);
|
|
1528
|
+
|
|
1532
1529
|
// ../../../../node_modules/@smithy/util-retry/dist-es/config.js
|
|
1533
1530
|
var RETRY_MODES;
|
|
1534
1531
|
(function(RETRY_MODES2) {
|
|
@@ -1820,14 +1817,14 @@ var NODE_MAX_ATTEMPT_CONFIG_OPTIONS = {
|
|
|
1820
1817
|
};
|
|
1821
1818
|
var resolveRetryConfig = (input) => {
|
|
1822
1819
|
const { retryStrategy, retryMode: _retryMode, maxAttempts: _maxAttempts } = input;
|
|
1823
|
-
const maxAttempts =
|
|
1820
|
+
const maxAttempts = import_util_middleware5.normalizeProvider(_maxAttempts ?? DEFAULT_MAX_ATTEMPTS);
|
|
1824
1821
|
return Object.assign(input, {
|
|
1825
1822
|
maxAttempts,
|
|
1826
1823
|
retryStrategy: async () => {
|
|
1827
1824
|
if (retryStrategy) {
|
|
1828
1825
|
return retryStrategy;
|
|
1829
1826
|
}
|
|
1830
|
-
const retryMode = await
|
|
1827
|
+
const retryMode = await import_util_middleware5.normalizeProvider(_retryMode)();
|
|
1831
1828
|
if (retryMode === RETRY_MODES.ADAPTIVE) {
|
|
1832
1829
|
return new AdaptiveRetryStrategy(maxAttempts);
|
|
1833
1830
|
}
|
|
@@ -2041,8 +2038,32 @@ var fromString = (input, encoding) => {
|
|
|
2041
2038
|
return encoding ? Buffer2.from(input, encoding) : Buffer2.from(input);
|
|
2042
2039
|
};
|
|
2043
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
|
+
};
|
|
2044
2066
|
// ../../../../node_modules/@smithy/hash-node/dist-es/index.js
|
|
2045
|
-
var import_util_utf8 = __toESM(require_dist_cjs2(), 1);
|
|
2046
2067
|
import { Buffer as Buffer3 } from "node:buffer";
|
|
2047
2068
|
import { createHash, createHmac } from "node:crypto";
|
|
2048
2069
|
|
|
@@ -2053,7 +2074,7 @@ class Hash {
|
|
|
2053
2074
|
this.reset();
|
|
2054
2075
|
}
|
|
2055
2076
|
update(toHash, encoding) {
|
|
2056
|
-
this.hash.update(
|
|
2077
|
+
this.hash.update(toUint8Array(castSourceData(toHash, encoding)));
|
|
2057
2078
|
}
|
|
2058
2079
|
digest() {
|
|
2059
2080
|
return Promise.resolve(this.hash.digest());
|
|
@@ -2096,9 +2117,6 @@ var calculateBodyLength = (body) => {
|
|
|
2096
2117
|
}
|
|
2097
2118
|
throw new Error(`Body Length computation failed for ${body}`);
|
|
2098
2119
|
};
|
|
2099
|
-
// ../../../../node_modules/@smithy/util-defaults-mode-node/dist-es/resolveDefaultsModeConfig.js
|
|
2100
|
-
var import_property_provider = __toESM(require_dist_cjs4(), 1);
|
|
2101
|
-
|
|
2102
2120
|
// ../../../../node_modules/@smithy/util-defaults-mode-node/dist-es/constants.js
|
|
2103
2121
|
var AWS_EXECUTION_ENV = "AWS_EXECUTION_ENV";
|
|
2104
2122
|
var AWS_REGION_ENV = "AWS_REGION";
|
|
@@ -2121,7 +2139,7 @@ var NODE_DEFAULTS_MODE_CONFIG_OPTIONS = {
|
|
|
2121
2139
|
};
|
|
2122
2140
|
|
|
2123
2141
|
// ../../../../node_modules/@smithy/util-defaults-mode-node/dist-es/resolveDefaultsModeConfig.js
|
|
2124
|
-
var resolveDefaultsModeConfig = ({ region = loadConfig(NODE_REGION_CONFIG_OPTIONS), defaultsMode = loadConfig(NODE_DEFAULTS_MODE_CONFIG_OPTIONS) } = {}) =>
|
|
2142
|
+
var resolveDefaultsModeConfig = ({ region = loadConfig(NODE_REGION_CONFIG_OPTIONS), defaultsMode = loadConfig(NODE_DEFAULTS_MODE_CONFIG_OPTIONS) } = {}) => memoize(async () => {
|
|
2125
2143
|
const mode = typeof defaultsMode === "function" ? await defaultsMode() : defaultsMode;
|
|
2126
2144
|
switch (mode?.toLowerCase()) {
|
|
2127
2145
|
case "auto":
|
|
@@ -2159,7 +2177,7 @@ var inferPhysicalRegion = async () => {
|
|
|
2159
2177
|
}
|
|
2160
2178
|
if (!process.env[ENV_IMDS_DISABLED]) {
|
|
2161
2179
|
try {
|
|
2162
|
-
const { getInstanceMetadataEndpoint, httpRequest } = await import("./chunk-
|
|
2180
|
+
const { getInstanceMetadataEndpoint, httpRequest } = await import("./chunk-t5em30ak.js");
|
|
2163
2181
|
const endpoint = await getInstanceMetadataEndpoint();
|
|
2164
2182
|
return (await httpRequest({ ...endpoint, path: IMDS_REGION_PATH })).toString();
|
|
2165
2183
|
} catch (e) {}
|
|
@@ -2181,4 +2199,30 @@ var resolveAwsRegionExtensionConfiguration = (awsRegionExtensionConfiguration) =
|
|
|
2181
2199
|
region: awsRegionExtensionConfiguration.region()
|
|
2182
2200
|
};
|
|
2183
2201
|
};
|
|
2184
|
-
|
|
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 };
|