@stacksjs/actions 0.70.11 → 0.70.12
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 +4 -4
- package/dist/{chunk-k2wcwm7g.js → chunk-0w5577pa.js} +4 -4
- package/dist/{chunk-8fdqje2t.js → chunk-7exdh0pw.js} +3 -3
- package/dist/{chunk-djkz87qs.js → chunk-7hbpybtk.js} +4 -4
- package/dist/{chunk-bst5srwz.js → chunk-csa76zyn.js} +23 -27
- package/dist/{chunk-q81mf99q.js → chunk-e7mp4xy5.js} +1 -1
- package/dist/{chunk-1hqs8kt1.js → chunk-hp8vmq3g.js} +35 -45
- package/dist/{chunk-pjjzff0p.js → chunk-pnre7439.js} +128 -16
- package/dist/{chunk-hsak03yh.js → chunk-r1ednxa6.js} +1 -1
- package/dist/{chunk-b5g5w1hh.js → chunk-xt9exr2c.js} +5 -6
- package/dist/{chunk-3d7m14ee.js → chunk-zbqapk7v.js} +2 -2
- package/dist/database/seed.js +3 -3
- package/dist/generate/index.js +4 -4
- package/dist/index.js +4 -4
- package/dist/release.js +4 -4
- package/dist/upgrade.js +1 -1
- package/package.json +17 -17
package/dist/build.js
CHANGED
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
import {
|
|
3
3
|
generateTypes
|
|
4
4
|
} from "./generate/index.js";
|
|
5
|
-
import"./chunk-
|
|
5
|
+
import"./chunk-7exdh0pw.js";
|
|
6
6
|
import"./helpers/vscode-custom-data.js";
|
|
7
7
|
import"./chunk-494jp8d5.js";
|
|
8
|
-
import"./chunk-
|
|
8
|
+
import"./chunk-hp8vmq3g.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-pnre7439.js";
|
|
16
16
|
import"./chunk-7s5qcjkt.js";
|
|
17
17
|
import"./chunk-bf8bq8pc.js";
|
|
18
|
-
import"./chunk-
|
|
18
|
+
import"./chunk-xt9exr2c.js";
|
|
19
19
|
import"./chunk-zzerxbrm.js";
|
|
20
20
|
import"./chunk-veja9rez.js";
|
|
21
21
|
import"./chunk-a7k3cdby.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
route
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import"./chunk-
|
|
4
|
+
} from "./chunk-7exdh0pw.js";
|
|
5
|
+
import"./chunk-hp8vmq3g.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-pnre7439.js";
|
|
13
13
|
import"./chunk-7s5qcjkt.js";
|
|
14
14
|
import"./chunk-bf8bq8pc.js";
|
|
15
|
-
import"./chunk-
|
|
15
|
+
import"./chunk-xt9exr2c.js";
|
|
16
16
|
import"./chunk-zzerxbrm.js";
|
|
17
17
|
import"./chunk-veja9rez.js";
|
|
18
18
|
import"./chunk-a7k3cdby.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
db
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-hp8vmq3g.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-7hbpybtk.js");
|
|
323
|
+
await import("./chunk-0w5577pa.js");
|
|
324
324
|
}
|
|
325
325
|
async resolveCallback(callback) {
|
|
326
326
|
if (callback instanceof Promise) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
route
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import"./chunk-
|
|
4
|
+
} from "./chunk-7exdh0pw.js";
|
|
5
|
+
import"./chunk-hp8vmq3g.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-pnre7439.js";
|
|
13
13
|
import"./chunk-7s5qcjkt.js";
|
|
14
14
|
import"./chunk-bf8bq8pc.js";
|
|
15
|
-
import"./chunk-
|
|
15
|
+
import"./chunk-xt9exr2c.js";
|
|
16
16
|
import"./chunk-zzerxbrm.js";
|
|
17
17
|
import"./chunk-veja9rez.js";
|
|
18
18
|
import"./chunk-a7k3cdby.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,
|
|
@@ -21,6 +23,7 @@ import {
|
|
|
21
23
|
getLoggerPlugin,
|
|
22
24
|
getRecursionDetectionPlugin,
|
|
23
25
|
getRetryPlugin,
|
|
26
|
+
getSerdePlugin,
|
|
24
27
|
getSmithyContext,
|
|
25
28
|
getUserAgentPlugin,
|
|
26
29
|
normalizeProvider,
|
|
@@ -31,8 +34,10 @@ import {
|
|
|
31
34
|
resolveHostHeaderConfig,
|
|
32
35
|
resolveRegionConfig,
|
|
33
36
|
resolveRetryConfig,
|
|
34
|
-
resolveUserAgentConfig
|
|
35
|
-
|
|
37
|
+
resolveUserAgentConfig,
|
|
38
|
+
toBase64,
|
|
39
|
+
toUtf8
|
|
40
|
+
} from "./chunk-pnre7439.js";
|
|
36
41
|
import {
|
|
37
42
|
loadConfig,
|
|
38
43
|
parseUrl
|
|
@@ -61,17 +66,13 @@ import {
|
|
|
61
66
|
streamCollector,
|
|
62
67
|
take,
|
|
63
68
|
withBaseException
|
|
64
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-xt9exr2c.js";
|
|
65
70
|
import"./chunk-zzerxbrm.js";
|
|
66
71
|
import {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
require_dist_cjs5
|
|
72
|
+
require_dist_cjs2 as require_dist_cjs,
|
|
73
|
+
require_dist_cjs5 as require_dist_cjs2
|
|
70
74
|
} from "./chunk-veja9rez.js";
|
|
71
|
-
import
|
|
72
|
-
require_dist_cjs3 as require_dist_cjs2,
|
|
73
|
-
require_dist_cjs4 as require_dist_cjs3
|
|
74
|
-
} from "./chunk-a7k3cdby.js";
|
|
75
|
+
import"./chunk-a7k3cdby.js";
|
|
75
76
|
import"./chunk-frw3va9v.js";
|
|
76
77
|
import"./chunk-saqpg5nd.js";
|
|
77
78
|
import {
|
|
@@ -79,10 +80,10 @@ import {
|
|
|
79
80
|
} from "./chunk-9v6qtbez.js";
|
|
80
81
|
|
|
81
82
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js
|
|
82
|
-
var import_core5 = __toESM(
|
|
83
|
+
var import_core5 = __toESM(require_dist_cjs(), 1);
|
|
83
84
|
|
|
84
85
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js
|
|
85
|
-
var import_core = __toESM(
|
|
86
|
+
var import_core = __toESM(require_dist_cjs2(), 1);
|
|
86
87
|
var defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
87
88
|
return {
|
|
88
89
|
operation: getSmithyContext(context).operation,
|
|
@@ -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_cjs2(), 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_cjs3(), 1);
|
|
265
|
-
var import_util_utf8 = __toESM(require_dist_cjs2(), 1);
|
|
263
|
+
var import_core2 = __toESM(require_dist_cjs2(), 1);
|
|
264
|
+
var import_core3 = __toESM(require_dist_cjs(), 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
|
|
|
@@ -446,9 +445,6 @@ class SSOClient extends Client {
|
|
|
446
445
|
}
|
|
447
446
|
}
|
|
448
447
|
|
|
449
|
-
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js
|
|
450
|
-
var import_middleware_serde = __toESM(require_dist_cjs(), 1);
|
|
451
|
-
|
|
452
448
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/models/SSOServiceException.js
|
|
453
449
|
class SSOServiceException extends ServiceException {
|
|
454
450
|
constructor(options) {
|
|
@@ -524,8 +520,8 @@ var GetRoleCredentialsResponseFilterSensitiveLog = (obj) => ({
|
|
|
524
520
|
});
|
|
525
521
|
|
|
526
522
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js
|
|
527
|
-
var import_core6 = __toESM(
|
|
528
|
-
var import_core7 = __toESM(
|
|
523
|
+
var import_core6 = __toESM(require_dist_cjs2(), 1);
|
|
524
|
+
var import_core7 = __toESM(require_dist_cjs(), 1);
|
|
529
525
|
var se_GetRoleCredentialsCommand = async (input, context) => {
|
|
530
526
|
const b2 = import_core7.requestBuilder(input, context);
|
|
531
527
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -651,7 +647,7 @@ var _xasbt = "x-amz-sso_bearer_token";
|
|
|
651
647
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js
|
|
652
648
|
class GetRoleCredentialsCommand extends Command.classBuilder().ep(commonParams).m(function(Command2, cs, config, o2) {
|
|
653
649
|
return [
|
|
654
|
-
|
|
650
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
655
651
|
getEndpointPlugin(config, Command2.getEndpointParameterInstructions())
|
|
656
652
|
];
|
|
657
653
|
}).s("SWBPortalService", "GetRoleCredentials", {}).n("SSOClient", "GetRoleCredentialsCommand").f(GetRoleCredentialsRequestFilterSensitiveLog, GetRoleCredentialsResponseFilterSensitiveLog).ser(se_GetRoleCredentialsCommand).de(de_GetRoleCredentialsCommand).build() {
|
|
@@ -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,
|
|
@@ -29,6 +31,7 @@ import {
|
|
|
29
31
|
getLoggerPlugin,
|
|
30
32
|
getRecursionDetectionPlugin,
|
|
31
33
|
getRetryPlugin,
|
|
34
|
+
getSerdePlugin,
|
|
32
35
|
getSmithyContext,
|
|
33
36
|
getUserAgentPlugin,
|
|
34
37
|
normalizeProvider,
|
|
@@ -39,8 +42,10 @@ import {
|
|
|
39
42
|
resolveHostHeaderConfig,
|
|
40
43
|
resolveRegionConfig,
|
|
41
44
|
resolveRetryConfig,
|
|
42
|
-
resolveUserAgentConfig
|
|
43
|
-
|
|
45
|
+
resolveUserAgentConfig,
|
|
46
|
+
toBase64,
|
|
47
|
+
toUtf8
|
|
48
|
+
} from "./chunk-pnre7439.js";
|
|
44
49
|
import {
|
|
45
50
|
loadConfig,
|
|
46
51
|
parseUrl
|
|
@@ -70,7 +75,7 @@ import {
|
|
|
70
75
|
streamCollector,
|
|
71
76
|
take,
|
|
72
77
|
withBaseException
|
|
73
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-xt9exr2c.js";
|
|
74
79
|
import {
|
|
75
80
|
CredentialsProviderError,
|
|
76
81
|
chain,
|
|
@@ -78,14 +83,9 @@ import {
|
|
|
78
83
|
} from "./chunk-zzerxbrm.js";
|
|
79
84
|
import {
|
|
80
85
|
require_dist_cjs,
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
require_dist_cjs5 as require_dist_cjs6
|
|
86
|
+
require_dist_cjs2,
|
|
87
|
+
require_dist_cjs5 as require_dist_cjs3
|
|
84
88
|
} from "./chunk-veja9rez.js";
|
|
85
|
-
import {
|
|
86
|
-
require_dist_cjs3,
|
|
87
|
-
require_dist_cjs4
|
|
88
|
-
} from "./chunk-a7k3cdby.js";
|
|
89
89
|
import {
|
|
90
90
|
isString,
|
|
91
91
|
make
|
|
@@ -94806,10 +94806,10 @@ var resolveEndpointDiscoveryConfig = (input, { endpointDiscoveryCommandCtor }) =
|
|
|
94806
94806
|
});
|
|
94807
94807
|
};
|
|
94808
94808
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/DynamoDBClient.js
|
|
94809
|
-
var import_core6 = __toESM(
|
|
94809
|
+
var import_core6 = __toESM(require_dist_cjs2(), 1);
|
|
94810
94810
|
|
|
94811
94811
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/auth/httpAuthSchemeProvider.js
|
|
94812
|
-
var import_core2 = __toESM(
|
|
94812
|
+
var import_core2 = __toESM(require_dist_cjs3(), 1);
|
|
94813
94813
|
var defaultDynamoDBHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
94814
94814
|
return {
|
|
94815
94815
|
operation: getSmithyContext(context).operation,
|
|
@@ -94847,9 +94847,6 @@ var resolveHttpAuthSchemeConfig = (config) => {
|
|
|
94847
94847
|
return Object.assign(config_0, {});
|
|
94848
94848
|
};
|
|
94849
94849
|
|
|
94850
|
-
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeEndpointsCommand.js
|
|
94851
|
-
var import_middleware_serde = __toESM(require_dist_cjs2(), 1);
|
|
94852
|
-
|
|
94853
94850
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/EndpointParameters.js
|
|
94854
94851
|
var resolveClientEndpointParameters = (options) => {
|
|
94855
94852
|
return Object.assign(options, {
|
|
@@ -94868,7 +94865,7 @@ var commonParams = {
|
|
|
94868
94865
|
};
|
|
94869
94866
|
|
|
94870
94867
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/protocols/Aws_json1_0.js
|
|
94871
|
-
var import_core3 = __toESM(
|
|
94868
|
+
var import_core3 = __toESM(require_dist_cjs3(), 1);
|
|
94872
94869
|
|
|
94873
94870
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/models/DynamoDBServiceException.js
|
|
94874
94871
|
class DynamoDBServiceException extends ServiceException {
|
|
@@ -96378,7 +96375,7 @@ function sharedHeaders(operation) {
|
|
|
96378
96375
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeEndpointsCommand.js
|
|
96379
96376
|
class DescribeEndpointsCommand extends Command.classBuilder().ep(commonParams).m(function(Command2, cs, config, o2) {
|
|
96380
96377
|
return [
|
|
96381
|
-
|
|
96378
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
96382
96379
|
getEndpointPlugin(config, Command2.getEndpointParameterInstructions())
|
|
96383
96380
|
];
|
|
96384
96381
|
}).s("DynamoDB_20120810", "DescribeEndpoints", {}).n("DynamoDBClient", "DescribeEndpointsCommand").f(undefined, undefined).ser(se_DescribeEndpointsCommand).de(de_DescribeEndpointsCommand).build() {
|
|
@@ -96489,7 +96486,7 @@ var package_default = {
|
|
|
96489
96486
|
};
|
|
96490
96487
|
|
|
96491
96488
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.js
|
|
96492
|
-
var import_core5 = __toESM(
|
|
96489
|
+
var import_core5 = __toESM(require_dist_cjs3(), 1);
|
|
96493
96490
|
var import_account_id_endpoint = __toESM(require_account_id_endpoint(), 1);
|
|
96494
96491
|
|
|
96495
96492
|
// ../../../../node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js
|
|
@@ -96498,7 +96495,7 @@ var remoteProvider = async (init2) => {
|
|
|
96498
96495
|
const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await import("./chunk-t5em30ak.js");
|
|
96499
96496
|
if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) {
|
|
96500
96497
|
init2.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");
|
|
96501
|
-
const { fromHttp } = await import("./chunk-
|
|
96498
|
+
const { fromHttp } = await import("./chunk-e7mp4xy5.js");
|
|
96502
96499
|
return chain(fromHttp(init2), fromContainerMetadata(init2));
|
|
96503
96500
|
}
|
|
96504
96501
|
if (process.env[ENV_IMDS_DISABLED] && process.env[ENV_IMDS_DISABLED] !== "false") {
|
|
@@ -96544,11 +96541,11 @@ var defaultProvider = (init2 = {}) => memoize(chain(async () => {
|
|
|
96544
96541
|
if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
|
|
96545
96542
|
throw new CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init2.logger });
|
|
96546
96543
|
}
|
|
96547
|
-
const { fromSSO } = await import("./chunk-
|
|
96544
|
+
const { fromSSO } = await import("./chunk-r1ednxa6.js");
|
|
96548
96545
|
return fromSSO(init2)();
|
|
96549
96546
|
}, async () => {
|
|
96550
96547
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
|
|
96551
|
-
const { fromIni } = await import("./chunk-
|
|
96548
|
+
const { fromIni } = await import("./chunk-zbqapk7v.js");
|
|
96552
96549
|
return fromIni(init2)();
|
|
96553
96550
|
}, async () => {
|
|
96554
96551
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
|
|
@@ -96570,9 +96567,7 @@ var defaultProvider = (init2 = {}) => memoize(chain(async () => {
|
|
|
96570
96567
|
var credentialsWillNeedRefresh = (credentials) => credentials?.expiration !== undefined;
|
|
96571
96568
|
var credentialsTreatedAsExpired = (credentials) => credentials?.expiration !== undefined && credentials.expiration.getTime() - Date.now() < 300000;
|
|
96572
96569
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.shared.js
|
|
96573
|
-
var import_core4 = __toESM(
|
|
96574
|
-
var import_util_base64 = __toESM(require_dist_cjs4(), 1);
|
|
96575
|
-
var import_util_utf8 = __toESM(require_dist_cjs3(), 1);
|
|
96570
|
+
var import_core4 = __toESM(require_dist_cjs3(), 1);
|
|
96576
96571
|
|
|
96577
96572
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/ruleset.js
|
|
96578
96573
|
var S3 = "required";
|
|
@@ -96655,8 +96650,8 @@ customEndpointFunctions.aws = awsEndpointFunctions;
|
|
|
96655
96650
|
var getRuntimeConfig = (config) => {
|
|
96656
96651
|
return {
|
|
96657
96652
|
apiVersion: "2012-08-10",
|
|
96658
|
-
base64Decoder: config?.base64Decoder ??
|
|
96659
|
-
base64Encoder: config?.base64Encoder ??
|
|
96653
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
96654
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
96660
96655
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
96661
96656
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
96662
96657
|
extensions: config?.extensions ?? [],
|
|
@@ -96671,8 +96666,8 @@ var getRuntimeConfig = (config) => {
|
|
|
96671
96666
|
logger: config?.logger ?? new NoOpLogger,
|
|
96672
96667
|
serviceId: config?.serviceId ?? "DynamoDB",
|
|
96673
96668
|
urlParser: config?.urlParser ?? parseUrl,
|
|
96674
|
-
utf8Decoder: config?.utf8Decoder ??
|
|
96675
|
-
utf8Encoder: config?.utf8Encoder ??
|
|
96669
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
96670
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8
|
|
96676
96671
|
};
|
|
96677
96672
|
};
|
|
96678
96673
|
|
|
@@ -96795,65 +96790,60 @@ class DynamoDBClient extends Client {
|
|
|
96795
96790
|
}
|
|
96796
96791
|
|
|
96797
96792
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/commands/BatchWriteItemCommand.js
|
|
96798
|
-
var import_middleware_serde2 = __toESM(require_dist_cjs2(), 1);
|
|
96799
96793
|
class BatchWriteItemCommand extends Command.classBuilder().ep({
|
|
96800
96794
|
...commonParams,
|
|
96801
96795
|
ResourceArnList: { type: "operationContextParams", get: (input) => Object.keys(input?.RequestItems ?? {}) }
|
|
96802
96796
|
}).m(function(Command2, cs, config, o3) {
|
|
96803
96797
|
return [
|
|
96804
|
-
|
|
96798
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
96805
96799
|
getEndpointPlugin(config, Command2.getEndpointParameterInstructions())
|
|
96806
96800
|
];
|
|
96807
96801
|
}).s("DynamoDB_20120810", "BatchWriteItem", {}).n("DynamoDBClient", "BatchWriteItemCommand").f(undefined, undefined).ser(se_BatchWriteItemCommand).de(de_BatchWriteItemCommand).build() {
|
|
96808
96802
|
}
|
|
96809
96803
|
|
|
96810
96804
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DeleteItemCommand.js
|
|
96811
|
-
var import_middleware_serde3 = __toESM(require_dist_cjs2(), 1);
|
|
96812
96805
|
class DeleteItemCommand extends Command.classBuilder().ep({
|
|
96813
96806
|
...commonParams,
|
|
96814
96807
|
ResourceArn: { type: "contextParams", name: "TableName" }
|
|
96815
96808
|
}).m(function(Command2, cs, config, o3) {
|
|
96816
96809
|
return [
|
|
96817
|
-
|
|
96810
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
96818
96811
|
getEndpointPlugin(config, Command2.getEndpointParameterInstructions())
|
|
96819
96812
|
];
|
|
96820
96813
|
}).s("DynamoDB_20120810", "DeleteItem", {}).n("DynamoDBClient", "DeleteItemCommand").f(undefined, undefined).ser(se_DeleteItemCommand).de(de_DeleteItemCommand).build() {
|
|
96821
96814
|
}
|
|
96822
96815
|
|
|
96823
96816
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/commands/GetItemCommand.js
|
|
96824
|
-
var import_middleware_serde4 = __toESM(require_dist_cjs2(), 1);
|
|
96825
96817
|
class GetItemCommand extends Command.classBuilder().ep({
|
|
96826
96818
|
...commonParams,
|
|
96827
96819
|
ResourceArn: { type: "contextParams", name: "TableName" }
|
|
96828
96820
|
}).m(function(Command2, cs, config, o3) {
|
|
96829
96821
|
return [
|
|
96830
|
-
|
|
96822
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
96831
96823
|
getEndpointPlugin(config, Command2.getEndpointParameterInstructions())
|
|
96832
96824
|
];
|
|
96833
96825
|
}).s("DynamoDB_20120810", "GetItem", {}).n("DynamoDBClient", "GetItemCommand").f(undefined, undefined).ser(se_GetItemCommand).de(de_GetItemCommand).build() {
|
|
96834
96826
|
}
|
|
96835
96827
|
|
|
96836
96828
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/commands/PutItemCommand.js
|
|
96837
|
-
var import_middleware_serde5 = __toESM(require_dist_cjs2(), 1);
|
|
96838
96829
|
class PutItemCommand extends Command.classBuilder().ep({
|
|
96839
96830
|
...commonParams,
|
|
96840
96831
|
ResourceArn: { type: "contextParams", name: "TableName" }
|
|
96841
96832
|
}).m(function(Command2, cs, config, o3) {
|
|
96842
96833
|
return [
|
|
96843
|
-
|
|
96834
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
96844
96835
|
getEndpointPlugin(config, Command2.getEndpointParameterInstructions())
|
|
96845
96836
|
];
|
|
96846
96837
|
}).s("DynamoDB_20120810", "PutItem", {}).n("DynamoDBClient", "PutItemCommand").f(undefined, undefined).ser(se_PutItemCommand).de(de_PutItemCommand).build() {
|
|
96847
96838
|
}
|
|
96848
96839
|
|
|
96849
96840
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ScanCommand.js
|
|
96850
|
-
var import_middleware_serde6 = __toESM(require_dist_cjs2(), 1);
|
|
96851
96841
|
class ScanCommand extends Command.classBuilder().ep({
|
|
96852
96842
|
...commonParams,
|
|
96853
96843
|
ResourceArn: { type: "contextParams", name: "TableName" }
|
|
96854
96844
|
}).m(function(Command2, cs, config, o3) {
|
|
96855
96845
|
return [
|
|
96856
|
-
|
|
96846
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
96857
96847
|
getEndpointPlugin(config, Command2.getEndpointParameterInstructions())
|
|
96858
96848
|
];
|
|
96859
96849
|
}).s("DynamoDB_20120810", "Scan", {}).n("DynamoDBClient", "ScanCommand").f(undefined, undefined).ser(se_ScanCommand).de(de_ScanCommand).build() {
|
|
@@ -156408,7 +156398,7 @@ var serializerMiddleware = (options, serializer) => (next, context) => async (ar
|
|
|
156408
156398
|
request
|
|
156409
156399
|
});
|
|
156410
156400
|
};
|
|
156411
|
-
function
|
|
156401
|
+
function getSerdePlugin2(config3, serializer, deserializer) {
|
|
156412
156402
|
return {
|
|
156413
156403
|
applyToStack: (commandStack) => {
|
|
156414
156404
|
commandStack.add(deserializerMiddleware(config3, deserializer), deserializerMiddlewareOption);
|
|
@@ -170780,7 +170770,7 @@ class DeleteItemCommand2 extends Command2.classBuilder().ep({
|
|
|
170780
170770
|
...commonParams2
|
|
170781
170771
|
}).m(function(Command22, cs, config4, o22) {
|
|
170782
170772
|
return [
|
|
170783
|
-
|
|
170773
|
+
getSerdePlugin2(config4, this.serialize, this.deserialize),
|
|
170784
170774
|
getEndpointPlugin2(config4, Command22.getEndpointParameterInstructions())
|
|
170785
170775
|
];
|
|
170786
170776
|
}).s("DynamoDB_20120810", "DeleteItem", {}).n("DynamoDBClient", "DeleteItemCommand").f(undefined, undefined).ser(se_DeleteItemCommand2).de(de_DeleteItemCommand2).build() {
|
|
@@ -170793,7 +170783,7 @@ class GetItemCommand2 extends Command2.classBuilder().ep({
|
|
|
170793
170783
|
...commonParams2
|
|
170794
170784
|
}).m(function(Command22, cs, config4, o22) {
|
|
170795
170785
|
return [
|
|
170796
|
-
|
|
170786
|
+
getSerdePlugin2(config4, this.serialize, this.deserialize),
|
|
170797
170787
|
getEndpointPlugin2(config4, Command22.getEndpointParameterInstructions())
|
|
170798
170788
|
];
|
|
170799
170789
|
}).s("DynamoDB_20120810", "GetItem", {}).n("DynamoDBClient", "GetItemCommand").f(undefined, undefined).ser(se_GetItemCommand2).de(de_GetItemCommand2).build() {
|
|
@@ -170806,7 +170796,7 @@ class PutItemCommand2 extends Command2.classBuilder().ep({
|
|
|
170806
170796
|
...commonParams2
|
|
170807
170797
|
}).m(function(Command22, cs, config4, o22) {
|
|
170808
170798
|
return [
|
|
170809
|
-
|
|
170799
|
+
getSerdePlugin2(config4, this.serialize, this.deserialize),
|
|
170810
170800
|
getEndpointPlugin2(config4, Command22.getEndpointParameterInstructions())
|
|
170811
170801
|
];
|
|
170812
170802
|
}).s("DynamoDB_20120810", "PutItem", {}).n("DynamoDBClient", "PutItemCommand").f(undefined, undefined).ser(se_PutItemCommand2).de(de_PutItemCommand2).build() {
|
|
@@ -170819,7 +170809,7 @@ class QueryCommand extends Command2.classBuilder().ep({
|
|
|
170819
170809
|
...commonParams2
|
|
170820
170810
|
}).m(function(Command22, cs, config4, o22) {
|
|
170821
170811
|
return [
|
|
170822
|
-
|
|
170812
|
+
getSerdePlugin2(config4, this.serialize, this.deserialize),
|
|
170823
170813
|
getEndpointPlugin2(config4, Command22.getEndpointParameterInstructions())
|
|
170824
170814
|
];
|
|
170825
170815
|
}).s("DynamoDB_20120810", "Query", {}).n("DynamoDBClient", "QueryCommand").f(undefined, undefined).ser(se_QueryCommand).de(de_QueryCommand).build() {
|
|
@@ -170832,7 +170822,7 @@ class ScanCommand2 extends Command2.classBuilder().ep({
|
|
|
170832
170822
|
...commonParams2
|
|
170833
170823
|
}).m(function(Command22, cs, config4, o22) {
|
|
170834
170824
|
return [
|
|
170835
|
-
|
|
170825
|
+
getSerdePlugin2(config4, this.serialize, this.deserialize),
|
|
170836
170826
|
getEndpointPlugin2(config4, Command22.getEndpointParameterInstructions())
|
|
170837
170827
|
];
|
|
170838
170828
|
}).s("DynamoDB_20120810", "Scan", {}).n("DynamoDBClient", "ScanCommand").f(undefined, undefined).ser(se_ScanCommand2).de(de_ScanCommand2).build() {
|
|
@@ -170845,7 +170835,7 @@ class UpdateItemCommand extends Command2.classBuilder().ep({
|
|
|
170845
170835
|
...commonParams2
|
|
170846
170836
|
}).m(function(Command22, cs, config4, o22) {
|
|
170847
170837
|
return [
|
|
170848
|
-
|
|
170838
|
+
getSerdePlugin2(config4, this.serialize, this.deserialize),
|
|
170849
170839
|
getEndpointPlugin2(config4, Command22.getEndpointParameterInstructions())
|
|
170850
170840
|
];
|
|
170851
170841
|
}).s("DynamoDB_20120810", "UpdateItem", {}).n("DynamoDBClient", "UpdateItemCommand").f(undefined, undefined).ser(se_UpdateItemCommand).de(de_UpdateItemCommand).build() {
|
|
@@ -9,19 +9,15 @@ import {
|
|
|
9
9
|
HttpRequest,
|
|
10
10
|
HttpResponse,
|
|
11
11
|
NoOpLogger
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-xt9exr2c.js";
|
|
13
13
|
import {
|
|
14
14
|
memoize
|
|
15
15
|
} from "./chunk-zzerxbrm.js";
|
|
16
16
|
import {
|
|
17
17
|
require_dist,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
require_dist_cjs5
|
|
18
|
+
require_dist_cjs2,
|
|
19
|
+
require_dist_cjs5 as require_dist_cjs3
|
|
21
20
|
} from "./chunk-veja9rez.js";
|
|
22
|
-
import {
|
|
23
|
-
require_dist_cjs3
|
|
24
|
-
} from "./chunk-a7k3cdby.js";
|
|
25
21
|
import {
|
|
26
22
|
require_dist_cjs
|
|
27
23
|
} from "./chunk-saqpg5nd.js";
|
|
@@ -143,7 +139,7 @@ var getRecursionDetectionPlugin = (options) => ({
|
|
|
143
139
|
});
|
|
144
140
|
|
|
145
141
|
// ../../../../node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js
|
|
146
|
-
var import_core = __toESM(
|
|
142
|
+
var import_core = __toESM(require_dist_cjs2(), 1);
|
|
147
143
|
var DEFAULT_UA_APP_ID = undefined;
|
|
148
144
|
function isValidUserAgentAppId(appId) {
|
|
149
145
|
if (appId === undefined) {
|
|
@@ -949,7 +945,7 @@ var awsEndpointFunctions = {
|
|
|
949
945
|
};
|
|
950
946
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
951
947
|
// ../../../../node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js
|
|
952
|
-
var import_core2 = __toESM(
|
|
948
|
+
var import_core2 = __toESM(require_dist_cjs3(), 1);
|
|
953
949
|
var ACCOUNT_ID_ENDPOINT_REGEX = /\d{12}\.ddb/;
|
|
954
950
|
async function checkFeatures(context, config, args) {
|
|
955
951
|
const request = args.request;
|
|
@@ -1213,11 +1209,77 @@ var getContentLengthPlugin = (options) => ({
|
|
|
1213
1209
|
}
|
|
1214
1210
|
});
|
|
1215
1211
|
|
|
1216
|
-
// ../../../../node_modules/@smithy/middleware-
|
|
1217
|
-
var
|
|
1212
|
+
// ../../../../node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js
|
|
1213
|
+
var deserializerMiddleware = (options, deserializer) => (next, context) => async (args) => {
|
|
1214
|
+
const { response } = await next(args);
|
|
1215
|
+
try {
|
|
1216
|
+
const parsed = await deserializer(response, options);
|
|
1217
|
+
return {
|
|
1218
|
+
response,
|
|
1219
|
+
output: parsed
|
|
1220
|
+
};
|
|
1221
|
+
} catch (error) {
|
|
1222
|
+
Object.defineProperty(error, "$response", {
|
|
1223
|
+
value: response
|
|
1224
|
+
});
|
|
1225
|
+
if (!("$metadata" in error)) {
|
|
1226
|
+
const hint = `Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;
|
|
1227
|
+
try {
|
|
1228
|
+
error.message += `
|
|
1229
|
+
` + hint;
|
|
1230
|
+
} catch (e) {
|
|
1231
|
+
if (!context.logger || context.logger?.constructor?.name === "NoOpLogger") {
|
|
1232
|
+
console.warn(hint);
|
|
1233
|
+
} else {
|
|
1234
|
+
context.logger?.warn?.(hint);
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
if (typeof error.$responseBodyText !== "undefined") {
|
|
1238
|
+
if (error.$response) {
|
|
1239
|
+
error.$response.body = error.$responseBodyText;
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1243
|
+
throw error;
|
|
1244
|
+
}
|
|
1245
|
+
};
|
|
1246
|
+
|
|
1247
|
+
// ../../../../node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js
|
|
1248
|
+
var serializerMiddleware = (options, serializer) => (next, context) => async (args) => {
|
|
1249
|
+
const endpoint = context.endpointV2?.url && options.urlParser ? async () => options.urlParser(context.endpointV2.url) : options.endpoint;
|
|
1250
|
+
if (!endpoint) {
|
|
1251
|
+
throw new Error("No valid endpoint provider available.");
|
|
1252
|
+
}
|
|
1253
|
+
const request = await serializer(args.input, { ...options, endpoint });
|
|
1254
|
+
return next({
|
|
1255
|
+
...args,
|
|
1256
|
+
request
|
|
1257
|
+
});
|
|
1258
|
+
};
|
|
1218
1259
|
|
|
1260
|
+
// ../../../../node_modules/@smithy/middleware-serde/dist-es/serdePlugin.js
|
|
1261
|
+
var deserializerMiddlewareOption = {
|
|
1262
|
+
name: "deserializerMiddleware",
|
|
1263
|
+
step: "deserialize",
|
|
1264
|
+
tags: ["DESERIALIZER"],
|
|
1265
|
+
override: true
|
|
1266
|
+
};
|
|
1267
|
+
var serializerMiddlewareOption = {
|
|
1268
|
+
name: "serializerMiddleware",
|
|
1269
|
+
step: "serialize",
|
|
1270
|
+
tags: ["SERIALIZER"],
|
|
1271
|
+
override: true
|
|
1272
|
+
};
|
|
1273
|
+
function getSerdePlugin(config2, serializer, deserializer) {
|
|
1274
|
+
return {
|
|
1275
|
+
applyToStack: (commandStack) => {
|
|
1276
|
+
commandStack.add(deserializerMiddleware(config2, deserializer), deserializerMiddlewareOption);
|
|
1277
|
+
commandStack.add(serializerMiddleware(config2, serializer), serializerMiddlewareOption);
|
|
1278
|
+
}
|
|
1279
|
+
};
|
|
1280
|
+
}
|
|
1219
1281
|
// ../../../../node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js
|
|
1220
|
-
var import_core3 = __toESM(
|
|
1282
|
+
var import_core3 = __toESM(require_dist_cjs2(), 1);
|
|
1221
1283
|
|
|
1222
1284
|
// ../../../../node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/s3.js
|
|
1223
1285
|
var resolveParamsForS3 = async (endpointParams) => {
|
|
@@ -1431,7 +1493,7 @@ var endpointMiddlewareOptions = {
|
|
|
1431
1493
|
name: "endpointV2Middleware",
|
|
1432
1494
|
override: true,
|
|
1433
1495
|
relation: "before",
|
|
1434
|
-
toMiddleware:
|
|
1496
|
+
toMiddleware: serializerMiddlewareOption.name
|
|
1435
1497
|
};
|
|
1436
1498
|
var getEndpointPlugin = (config2, instructions) => ({
|
|
1437
1499
|
applyToStack: (clientStack) => {
|
|
@@ -1976,8 +2038,32 @@ var fromString = (input, encoding) => {
|
|
|
1976
2038
|
return encoding ? Buffer2.from(input, encoding) : Buffer2.from(input);
|
|
1977
2039
|
};
|
|
1978
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
|
+
};
|
|
1979
2066
|
// ../../../../node_modules/@smithy/hash-node/dist-es/index.js
|
|
1980
|
-
var import_util_utf8 = __toESM(require_dist_cjs3(), 1);
|
|
1981
2067
|
import { Buffer as Buffer3 } from "node:buffer";
|
|
1982
2068
|
import { createHash, createHmac } from "node:crypto";
|
|
1983
2069
|
|
|
@@ -1988,7 +2074,7 @@ class Hash {
|
|
|
1988
2074
|
this.reset();
|
|
1989
2075
|
}
|
|
1990
2076
|
update(toHash, encoding) {
|
|
1991
|
-
this.hash.update(
|
|
2077
|
+
this.hash.update(toUint8Array(castSourceData(toHash, encoding)));
|
|
1992
2078
|
}
|
|
1993
2079
|
digest() {
|
|
1994
2080
|
return Promise.resolve(this.hash.digest());
|
|
@@ -2113,4 +2199,30 @@ var resolveAwsRegionExtensionConfiguration = (awsRegionExtensionConfiguration) =
|
|
|
2113
2199
|
region: awsRegionExtensionConfiguration.region()
|
|
2114
2200
|
};
|
|
2115
2201
|
};
|
|
2116
|
-
|
|
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, getSmithyContext, normalizeProvider2 as normalizeProvider, 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 };
|
|
@@ -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-csa76zyn.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,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
require_dist_cjs5 as require_dist_cjs2,
|
|
2
3
|
require_protocols
|
|
3
4
|
} from "./chunk-a7k3cdby.js";
|
|
4
5
|
import {
|
|
@@ -1050,23 +1051,21 @@ class HttpResponse {
|
|
|
1050
1051
|
return typeof resp.statusCode === "number" && typeof resp.headers === "object";
|
|
1051
1052
|
}
|
|
1052
1053
|
}
|
|
1053
|
-
// ../../../../node_modules/@smithy/util-uri-escape/dist-es/escape-uri.js
|
|
1054
|
-
var escapeUri = (uri) => encodeURIComponent(uri).replace(/[!'()*]/g, hexEncode);
|
|
1055
|
-
var hexEncode = (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`;
|
|
1056
1054
|
// ../../../../node_modules/@smithy/querystring-builder/dist-es/index.js
|
|
1055
|
+
var import_util_uri_escape = __toESM(require_dist_cjs2(), 1);
|
|
1057
1056
|
function buildQueryString(query) {
|
|
1058
1057
|
const parts = [];
|
|
1059
1058
|
for (let key of Object.keys(query).sort()) {
|
|
1060
1059
|
const value = query[key];
|
|
1061
|
-
key = escapeUri(key);
|
|
1060
|
+
key = import_util_uri_escape.escapeUri(key);
|
|
1062
1061
|
if (Array.isArray(value)) {
|
|
1063
1062
|
for (let i = 0, iLen = value.length;i < iLen; i++) {
|
|
1064
|
-
parts.push(`${key}=${escapeUri(value[i])}`);
|
|
1063
|
+
parts.push(`${key}=${import_util_uri_escape.escapeUri(value[i])}`);
|
|
1065
1064
|
}
|
|
1066
1065
|
} else {
|
|
1067
1066
|
let qsEntry = key;
|
|
1068
1067
|
if (value || typeof value === "string") {
|
|
1069
|
-
qsEntry += `=${escapeUri(value)}`;
|
|
1068
|
+
qsEntry += `=${import_util_uri_escape.escapeUri(value)}`;
|
|
1070
1069
|
}
|
|
1071
1070
|
parts.push(qsEntry);
|
|
1072
1071
|
}
|
|
@@ -24,7 +24,7 @@ var import_client = __toESM(require_client(), 1);
|
|
|
24
24
|
var resolveCredentialSource = (credentialSource, profileName, logger) => {
|
|
25
25
|
const sourceProvidersMap = {
|
|
26
26
|
EcsContainer: async (options) => {
|
|
27
|
-
const { fromHttp } = await import("./chunk-
|
|
27
|
+
const { fromHttp } = await import("./chunk-e7mp4xy5.js");
|
|
28
28
|
const { fromContainerMetadata } = await import("./chunk-t5em30ak.js");
|
|
29
29
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer");
|
|
30
30
|
return async () => chain(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);
|
|
@@ -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-r1ednxa6.js");
|
|
129
129
|
return fromSSO({
|
|
130
130
|
profile,
|
|
131
131
|
logger: options.logger,
|
package/dist/database/seed.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
seed
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-hp8vmq3g.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-pnre7439.js";
|
|
12
12
|
import"../chunk-7s5qcjkt.js";
|
|
13
13
|
import"../chunk-bf8bq8pc.js";
|
|
14
|
-
import"../chunk-
|
|
14
|
+
import"../chunk-xt9exr2c.js";
|
|
15
15
|
import"../chunk-zzerxbrm.js";
|
|
16
16
|
import"../chunk-veja9rez.js";
|
|
17
17
|
import"../chunk-a7k3cdby.js";
|
package/dist/generate/index.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
route
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-7exdh0pw.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-hp8vmq3g.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-pnre7439.js";
|
|
19
19
|
import"../chunk-7s5qcjkt.js";
|
|
20
20
|
import"../chunk-bf8bq8pc.js";
|
|
21
|
-
import"../chunk-
|
|
21
|
+
import"../chunk-xt9exr2c.js";
|
|
22
22
|
import"../chunk-zzerxbrm.js";
|
|
23
23
|
import"../chunk-veja9rez.js";
|
|
24
24
|
import"../chunk-a7k3cdby.js";
|
package/dist/index.js
CHANGED
|
@@ -41,20 +41,20 @@ import {
|
|
|
41
41
|
generateWebTypes,
|
|
42
42
|
invoke
|
|
43
43
|
} from "./generate/index.js";
|
|
44
|
-
import"./chunk-
|
|
44
|
+
import"./chunk-7exdh0pw.js";
|
|
45
45
|
import"./helpers/vscode-custom-data.js";
|
|
46
46
|
import"./chunk-494jp8d5.js";
|
|
47
|
-
import"./chunk-
|
|
47
|
+
import"./chunk-hp8vmq3g.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-pnre7439.js";
|
|
55
55
|
import"./chunk-7s5qcjkt.js";
|
|
56
56
|
import"./chunk-bf8bq8pc.js";
|
|
57
|
-
import"./chunk-
|
|
57
|
+
import"./chunk-xt9exr2c.js";
|
|
58
58
|
import"./chunk-zzerxbrm.js";
|
|
59
59
|
import"./chunk-veja9rez.js";
|
|
60
60
|
import"./chunk-a7k3cdby.js";
|
package/dist/release.js
CHANGED
|
@@ -5,20 +5,20 @@ 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-7exdh0pw.js";
|
|
9
9
|
import"./helpers/vscode-custom-data.js";
|
|
10
10
|
import"./chunk-494jp8d5.js";
|
|
11
|
-
import"./chunk-
|
|
11
|
+
import"./chunk-hp8vmq3g.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-pnre7439.js";
|
|
19
19
|
import"./chunk-7s5qcjkt.js";
|
|
20
20
|
import"./chunk-bf8bq8pc.js";
|
|
21
|
-
import"./chunk-
|
|
21
|
+
import"./chunk-xt9exr2c.js";
|
|
22
22
|
import"./chunk-zzerxbrm.js";
|
|
23
23
|
import"./chunk-veja9rez.js";
|
|
24
24
|
import"./chunk-a7k3cdby.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.12";
|
|
13
13
|
|
|
14
14
|
// src/upgrade.ts
|
|
15
15
|
function checkForUncommittedChanges(options) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/actions",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.70.
|
|
4
|
+
"version": "0.70.12",
|
|
5
5
|
"description": "The Stacks actions.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"contributors": ["Chris Breuer <chris@stacksjs.org>"],
|
|
@@ -42,22 +42,22 @@
|
|
|
42
42
|
"prepublishOnly": "bun run build"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@stacksjs/api": "0.70.
|
|
46
|
-
"@stacksjs/cli": "0.70.
|
|
47
|
-
"@stacksjs/config": "0.70.
|
|
48
|
-
"@stacksjs/database": "0.70.
|
|
49
|
-
"@stacksjs/development": "0.70.
|
|
50
|
-
"@stacksjs/dns": "0.70.
|
|
51
|
-
"@stacksjs/enums": "0.70.
|
|
52
|
-
"@stacksjs/env": "0.70.
|
|
53
|
-
"@stacksjs/error-handling": "0.70.
|
|
54
|
-
"@stacksjs/logging": "0.70.
|
|
55
|
-
"@stacksjs/path": "0.70.
|
|
56
|
-
"@stacksjs/security": "0.70.
|
|
57
|
-
"@stacksjs/storage": "0.70.
|
|
58
|
-
"@stacksjs/strings": "0.70.
|
|
59
|
-
"@stacksjs/utils": "0.70.
|
|
60
|
-
"@stacksjs/validation": "0.70.
|
|
45
|
+
"@stacksjs/api": "0.70.11",
|
|
46
|
+
"@stacksjs/cli": "0.70.11",
|
|
47
|
+
"@stacksjs/config": "0.70.11",
|
|
48
|
+
"@stacksjs/database": "0.70.11",
|
|
49
|
+
"@stacksjs/development": "0.70.11",
|
|
50
|
+
"@stacksjs/dns": "0.70.11",
|
|
51
|
+
"@stacksjs/enums": "0.70.11",
|
|
52
|
+
"@stacksjs/env": "0.70.11",
|
|
53
|
+
"@stacksjs/error-handling": "0.70.11",
|
|
54
|
+
"@stacksjs/logging": "0.70.11",
|
|
55
|
+
"@stacksjs/path": "0.70.11",
|
|
56
|
+
"@stacksjs/security": "0.70.11",
|
|
57
|
+
"@stacksjs/storage": "0.70.11",
|
|
58
|
+
"@stacksjs/strings": "0.70.11",
|
|
59
|
+
"@stacksjs/utils": "0.70.11",
|
|
60
|
+
"@stacksjs/validation": "0.70.11",
|
|
61
61
|
"markdown-it": "^14.1.0",
|
|
62
62
|
"vue-component-meta": "^2.2.8"
|
|
63
63
|
}
|