@servicevic-oss/cdk-cleanup-certificate-validation-records 1.3.123 → 1.3.124
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/.jsii +4 -4
- package/lib/index.js +2 -2
- package/node_modules/@aws-sdk/client-acm/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-acm/dist-types/ACMClient.d.ts +2 -1
- package/node_modules/@aws-sdk/client-acm/package.json +5 -5
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/Route53Client.d.ts +2 -1
- package/node_modules/@aws-sdk/client-route-53/package.json +6 -6
- package/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-login/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSOClient.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +5 -5
- package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +3 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +3 -0
- package/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +15 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +10 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +10 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +5 -5
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js +16 -2
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +5 -5
- package/node_modules/@smithy/core/package.json +1 -1
- package/package.json +4 -4
package/.jsii
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
]
|
|
8
8
|
},
|
|
9
9
|
"bundled": {
|
|
10
|
-
"@aws-sdk/client-acm": "^3.
|
|
11
|
-
"@aws-sdk/client-route-53": "^3.
|
|
10
|
+
"@aws-sdk/client-acm": "^3.1155.0",
|
|
11
|
+
"@aws-sdk/client-route-53": "^3.1155.0",
|
|
12
12
|
"@types/aws-lambda": "^8.10.164",
|
|
13
13
|
"async-await-retry": "^2.1.0"
|
|
14
14
|
},
|
|
@@ -8899,6 +8899,6 @@
|
|
|
8899
8899
|
"symbolId": "src/index:CertificateWithCleanup"
|
|
8900
8900
|
}
|
|
8901
8901
|
},
|
|
8902
|
-
"version": "1.3.
|
|
8903
|
-
"fingerprint": "
|
|
8902
|
+
"version": "1.3.124",
|
|
8903
|
+
"fingerprint": "xqvx/rUMAWEGY20O7p5KygQC3uge58wEMN4YkFLLZIY="
|
|
8904
8904
|
}
|
package/lib/index.js
CHANGED
|
@@ -43,7 +43,7 @@ const constructs_1 = require("constructs");
|
|
|
43
43
|
* leave behind when deleting a DNS validated certificate
|
|
44
44
|
*/
|
|
45
45
|
class CertificateValidationRecordCleanup extends constructs_1.Construct {
|
|
46
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@servicevic-oss/cdk-cleanup-certificate-validation-records.CertificateValidationRecordCleanup", version: "1.3.
|
|
46
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@servicevic-oss/cdk-cleanup-certificate-validation-records.CertificateValidationRecordCleanup", version: "1.3.124" };
|
|
47
47
|
static HANDLER_UID = 'CertRecordsCleanupHandler-2B663BAB-7981';
|
|
48
48
|
static PROVIDER_UID = 'CertRecordsCleanupProvider-57EBF059-2E26';
|
|
49
49
|
static LOG_GROUP_UID = 'CertRecordsCleanupLogGroup-57ABF051-1E25';
|
|
@@ -109,7 +109,7 @@ exports.CertificateValidationRecordCleanup = CertificateValidationRecordCleanup;
|
|
|
109
109
|
* A wrapper class for a vanilla `Certificate` object with automatic cleanup attached
|
|
110
110
|
*/
|
|
111
111
|
class CertificateWithCleanup extends cdk.aws_certificatemanager.Certificate {
|
|
112
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@servicevic-oss/cdk-cleanup-certificate-validation-records.CertificateWithCleanup", version: "1.3.
|
|
112
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@servicevic-oss/cdk-cleanup-certificate-validation-records.CertificateWithCleanup", version: "1.3.124" };
|
|
113
113
|
constructor(scope, id, props) {
|
|
114
114
|
super(scope, id, props);
|
|
115
115
|
if (props.validation && props.validation.props.hostedZone && props.validation?.method == cdk.aws_certificatemanager.ValidationMethod.DNS) {
|
|
@@ -168,7 +168,8 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
168
168
|
maxAttempts?: number | __Provider<number>;
|
|
169
169
|
/**
|
|
170
170
|
* Specifies which retry algorithm to use.
|
|
171
|
-
*
|
|
171
|
+
* Accepted values are "standard" and "adaptive".
|
|
172
|
+
* @see https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html
|
|
172
173
|
*
|
|
173
174
|
*/
|
|
174
175
|
retryMode?: string | __Provider<string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-acm",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1155.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Acm Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-acm",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@aws-sdk/core": "^3.978.
|
|
52
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
53
|
-
"@aws-sdk/types": "^3.
|
|
54
|
-
"@smithy/core": "^3.36.
|
|
51
|
+
"@aws-sdk/core": "^3.978.5",
|
|
52
|
+
"@aws-sdk/credential-provider-node": "^3.972.88",
|
|
53
|
+
"@aws-sdk/types": "^3.975.0",
|
|
54
|
+
"@smithy/core": "^3.36.1",
|
|
55
55
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
56
56
|
"@smithy/node-http-handler": "^4.12.1",
|
|
57
57
|
"@smithy/types": "^4.19.0",
|
|
@@ -199,7 +199,8 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
199
199
|
maxAttempts?: number | __Provider<number>;
|
|
200
200
|
/**
|
|
201
201
|
* Specifies which retry algorithm to use.
|
|
202
|
-
*
|
|
202
|
+
* Accepted values are "standard" and "adaptive".
|
|
203
|
+
* @see https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html
|
|
203
204
|
*
|
|
204
205
|
*/
|
|
205
206
|
retryMode?: string | __Provider<string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-route-53",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1155.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Route 53 Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-route-53",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@aws-sdk/core": "^3.978.
|
|
56
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
57
|
-
"@aws-sdk/middleware-sdk-route53": "^3.972.
|
|
58
|
-
"@aws-sdk/types": "^3.
|
|
59
|
-
"@smithy/core": "^3.36.
|
|
55
|
+
"@aws-sdk/core": "^3.978.5",
|
|
56
|
+
"@aws-sdk/credential-provider-node": "^3.972.88",
|
|
57
|
+
"@aws-sdk/middleware-sdk-route53": "^3.972.28",
|
|
58
|
+
"@aws-sdk/types": "^3.975.0",
|
|
59
|
+
"@smithy/core": "^3.36.1",
|
|
60
60
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
61
61
|
"@smithy/node-http-handler": "^4.12.1",
|
|
62
62
|
"@smithy/types": "^4.19.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/core",
|
|
3
|
-
"version": "3.978.
|
|
3
|
+
"version": "3.978.5",
|
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients.",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/core",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -124,10 +124,10 @@
|
|
|
124
124
|
"test:temp:retry": "SMITHY_NEW_RETRIES_2026=true node ./integ/retry.integ.spec && AWS_NEW_RETRIES_2026=true node ./integ/retry.integ.spec && node ./integ/retry.integ.spec"
|
|
125
125
|
},
|
|
126
126
|
"dependencies": {
|
|
127
|
-
"@aws-sdk/types": "^3.
|
|
127
|
+
"@aws-sdk/types": "^3.975.0",
|
|
128
128
|
"@aws-sdk/xml-builder": "^3.972.41",
|
|
129
129
|
"@aws/lambda-invoke-store": "^0.3.0",
|
|
130
|
-
"@smithy/core": "^3.36.
|
|
130
|
+
"@smithy/core": "^3.36.1",
|
|
131
131
|
"@smithy/signature-v4": "^5.7.4",
|
|
132
132
|
"@smithy/types": "^4.19.0",
|
|
133
133
|
"bowser": "^2.11.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-env",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.76",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from known environment variables",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"test:watch": "yarn g:vitest watch"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@aws-sdk/core": "^3.978.
|
|
47
|
-
"@aws-sdk/types": "^3.
|
|
48
|
-
"@smithy/core": "^3.36.
|
|
46
|
+
"@aws-sdk/core": "^3.978.5",
|
|
47
|
+
"@aws-sdk/types": "^3.975.0",
|
|
48
|
+
"@smithy/core": "^3.36.1",
|
|
49
49
|
"@smithy/types": "^4.19.0",
|
|
50
50
|
"tslib": "^2.6.2"
|
|
51
51
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-http",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.78",
|
|
4
4
|
"description": "AWS credential provider for containers and HTTP sources",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@aws-sdk/core": "^3.978.
|
|
57
|
-
"@aws-sdk/types": "^3.
|
|
58
|
-
"@smithy/core": "^3.36.
|
|
56
|
+
"@aws-sdk/core": "^3.978.5",
|
|
57
|
+
"@aws-sdk/types": "^3.975.0",
|
|
58
|
+
"@smithy/core": "^3.36.1",
|
|
59
59
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
60
60
|
"@smithy/node-http-handler": "^4.12.1",
|
|
61
61
|
"@smithy/types": "^4.19.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.973.
|
|
3
|
+
"version": "3.973.21",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -45,16 +45,16 @@
|
|
|
45
45
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@aws-sdk/core": "^3.978.
|
|
49
|
-
"@aws-sdk/credential-provider-env": "^3.972.
|
|
50
|
-
"@aws-sdk/credential-provider-http": "^3.972.
|
|
51
|
-
"@aws-sdk/credential-provider-login": "^3.972.
|
|
52
|
-
"@aws-sdk/credential-provider-process": "^3.972.
|
|
53
|
-
"@aws-sdk/credential-provider-sso": "^3.973.
|
|
54
|
-
"@aws-sdk/credential-provider-web-identity": "^3.972.
|
|
55
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
56
|
-
"@aws-sdk/types": "^3.
|
|
57
|
-
"@smithy/core": "^3.36.
|
|
48
|
+
"@aws-sdk/core": "^3.978.5",
|
|
49
|
+
"@aws-sdk/credential-provider-env": "^3.972.76",
|
|
50
|
+
"@aws-sdk/credential-provider-http": "^3.972.78",
|
|
51
|
+
"@aws-sdk/credential-provider-login": "^3.972.83",
|
|
52
|
+
"@aws-sdk/credential-provider-process": "^3.972.76",
|
|
53
|
+
"@aws-sdk/credential-provider-sso": "^3.973.20",
|
|
54
|
+
"@aws-sdk/credential-provider-web-identity": "^3.972.82",
|
|
55
|
+
"@aws-sdk/nested-clients": "^3.997.50",
|
|
56
|
+
"@aws-sdk/types": "^3.975.0",
|
|
57
|
+
"@smithy/core": "^3.36.1",
|
|
58
58
|
"@smithy/credential-provider-imds": "^4.5.2",
|
|
59
59
|
"@smithy/types": "^4.19.0",
|
|
60
60
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-login",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.83",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from aws login cached tokens",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"test:watch": "yarn g:vitest watch"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@aws-sdk/core": "^3.978.
|
|
49
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
50
|
-
"@aws-sdk/types": "^3.
|
|
51
|
-
"@smithy/core": "^3.36.
|
|
48
|
+
"@aws-sdk/core": "^3.978.5",
|
|
49
|
+
"@aws-sdk/nested-clients": "^3.997.50",
|
|
50
|
+
"@aws-sdk/types": "^3.975.0",
|
|
51
|
+
"@smithy/core": "^3.36.1",
|
|
52
52
|
"@smithy/types": "^4.19.0",
|
|
53
53
|
"tslib": "^2.6.2"
|
|
54
54
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.88",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@aws-sdk/credential-provider-env": "^3.972.
|
|
49
|
-
"@aws-sdk/credential-provider-http": "^3.972.
|
|
50
|
-
"@aws-sdk/credential-provider-ini": "^3.973.
|
|
51
|
-
"@aws-sdk/credential-provider-process": "^3.972.
|
|
52
|
-
"@aws-sdk/credential-provider-sso": "^3.973.
|
|
53
|
-
"@aws-sdk/credential-provider-web-identity": "^3.972.
|
|
54
|
-
"@aws-sdk/types": "^3.
|
|
55
|
-
"@smithy/core": "^3.36.
|
|
48
|
+
"@aws-sdk/credential-provider-env": "^3.972.76",
|
|
49
|
+
"@aws-sdk/credential-provider-http": "^3.972.78",
|
|
50
|
+
"@aws-sdk/credential-provider-ini": "^3.973.21",
|
|
51
|
+
"@aws-sdk/credential-provider-process": "^3.972.76",
|
|
52
|
+
"@aws-sdk/credential-provider-sso": "^3.973.20",
|
|
53
|
+
"@aws-sdk/credential-provider-web-identity": "^3.972.82",
|
|
54
|
+
"@aws-sdk/types": "^3.975.0",
|
|
55
|
+
"@smithy/core": "^3.36.1",
|
|
56
56
|
"@smithy/credential-provider-imds": "^4.5.2",
|
|
57
57
|
"@smithy/types": "^4.19.0",
|
|
58
58
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.76",
|
|
4
4
|
"description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"test:watch": "yarn g:vitest watch"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@aws-sdk/core": "^3.978.
|
|
47
|
-
"@aws-sdk/types": "^3.
|
|
48
|
-
"@smithy/core": "^3.36.
|
|
46
|
+
"@aws-sdk/core": "^3.978.5",
|
|
47
|
+
"@aws-sdk/types": "^3.975.0",
|
|
48
|
+
"@smithy/core": "^3.36.1",
|
|
49
49
|
"@smithy/types": "^4.19.0",
|
|
50
50
|
"tslib": "^2.6.2"
|
|
51
51
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
|
3
|
-
"version": "3.973.
|
|
3
|
+
"version": "3.973.20",
|
|
4
4
|
"description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@aws-sdk/core": "^3.978.
|
|
49
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
50
|
-
"@aws-sdk/token-providers": "3.
|
|
51
|
-
"@aws-sdk/types": "^3.
|
|
52
|
-
"@smithy/core": "^3.36.
|
|
48
|
+
"@aws-sdk/core": "^3.978.5",
|
|
49
|
+
"@aws-sdk/nested-clients": "^3.997.50",
|
|
50
|
+
"@aws-sdk/token-providers": "3.1155.0",
|
|
51
|
+
"@aws-sdk/types": "^3.975.0",
|
|
52
|
+
"@smithy/core": "^3.36.1",
|
|
53
53
|
"@smithy/types": "^4.19.0",
|
|
54
54
|
"tslib": "^2.6.2"
|
|
55
55
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.82",
|
|
4
4
|
"description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"test:watch": "yarn g:vitest watch"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@aws-sdk/core": "^3.978.
|
|
54
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
55
|
-
"@aws-sdk/types": "^3.
|
|
56
|
-
"@smithy/core": "^3.36.
|
|
53
|
+
"@aws-sdk/core": "^3.978.5",
|
|
54
|
+
"@aws-sdk/nested-clients": "^3.997.50",
|
|
55
|
+
"@aws-sdk/types": "^3.975.0",
|
|
56
|
+
"@smithy/core": "^3.36.1",
|
|
57
57
|
"@smithy/types": "^4.19.0",
|
|
58
58
|
"tslib": "^2.6.2"
|
|
59
59
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-sdk-route53",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.28",
|
|
4
4
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-sdk-route53",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@aws-sdk/types": "^3.
|
|
45
|
+
"@aws-sdk/types": "^3.975.0",
|
|
46
46
|
"@smithy/types": "^4.19.0",
|
|
47
47
|
"tslib": "^2.6.2"
|
|
48
48
|
},
|
|
@@ -124,7 +124,8 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
124
124
|
maxAttempts?: number | __Provider<number>;
|
|
125
125
|
/**
|
|
126
126
|
* Specifies which retry algorithm to use.
|
|
127
|
-
*
|
|
127
|
+
* Accepted values are "standard" and "adaptive".
|
|
128
|
+
* @see https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html
|
|
128
129
|
*
|
|
129
130
|
*/
|
|
130
131
|
retryMode?: string | __Provider<string>;
|
|
@@ -130,7 +130,8 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
130
130
|
maxAttempts?: number | __Provider<number>;
|
|
131
131
|
/**
|
|
132
132
|
* Specifies which retry algorithm to use.
|
|
133
|
-
*
|
|
133
|
+
* Accepted values are "standard" and "adaptive".
|
|
134
|
+
* @see https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html
|
|
134
135
|
*
|
|
135
136
|
*/
|
|
136
137
|
retryMode?: string | __Provider<string>;
|
|
@@ -123,7 +123,8 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
123
123
|
maxAttempts?: number | __Provider<number>;
|
|
124
124
|
/**
|
|
125
125
|
* Specifies which retry algorithm to use.
|
|
126
|
-
*
|
|
126
|
+
* Accepted values are "standard" and "adaptive".
|
|
127
|
+
* @see https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html
|
|
127
128
|
*
|
|
128
129
|
*/
|
|
129
130
|
retryMode?: string | __Provider<string>;
|
package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts
CHANGED
|
@@ -123,7 +123,8 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
123
123
|
maxAttempts?: number | __Provider<number>;
|
|
124
124
|
/**
|
|
125
125
|
* Specifies which retry algorithm to use.
|
|
126
|
-
*
|
|
126
|
+
* Accepted values are "standard" and "adaptive".
|
|
127
|
+
* @see https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html
|
|
127
128
|
*
|
|
128
129
|
*/
|
|
129
130
|
retryMode?: string | __Provider<string>;
|
|
@@ -130,7 +130,8 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
130
130
|
maxAttempts?: number | __Provider<number>;
|
|
131
131
|
/**
|
|
132
132
|
* Specifies which retry algorithm to use.
|
|
133
|
-
*
|
|
133
|
+
* Accepted values are "standard" and "adaptive".
|
|
134
|
+
* @see https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html
|
|
134
135
|
*
|
|
135
136
|
*/
|
|
136
137
|
retryMode?: string | __Provider<string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.997.
|
|
3
|
+
"version": "3.997.50",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -100,10 +100,10 @@
|
|
|
100
100
|
"test:watch": "yarn g:vitest watch"
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
|
-
"@aws-sdk/core": "^3.978.
|
|
104
|
-
"@aws-sdk/signature-v4-multi-region": "^3.996.
|
|
105
|
-
"@aws-sdk/types": "^3.
|
|
106
|
-
"@smithy/core": "^3.36.
|
|
103
|
+
"@aws-sdk/core": "^3.978.5",
|
|
104
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.49",
|
|
105
|
+
"@aws-sdk/types": "^3.975.0",
|
|
106
|
+
"@smithy/core": "^3.36.1",
|
|
107
107
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
108
108
|
"@smithy/node-http-handler": "^4.12.1",
|
|
109
109
|
"@smithy/types": "^4.19.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/signature-v4-multi-region",
|
|
3
|
-
"version": "3.996.
|
|
3
|
+
"version": "3.996.49",
|
|
4
4
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/signature-v4-multi-region",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"test:browser": "yarn build:browser && yarn g:vitest run -c vitest.config.browser.mts"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@aws-sdk/types": "^3.
|
|
45
|
+
"@aws-sdk/types": "^3.975.0",
|
|
46
46
|
"@smithy/signature-v4": "^5.7.4",
|
|
47
47
|
"@smithy/types": "^4.19.0",
|
|
48
48
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1155.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@aws-sdk/core": "^3.978.
|
|
52
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
53
|
-
"@aws-sdk/types": "^3.
|
|
54
|
-
"@smithy/core": "^3.36.
|
|
51
|
+
"@aws-sdk/core": "^3.978.5",
|
|
52
|
+
"@aws-sdk/nested-clients": "^3.997.50",
|
|
53
|
+
"@aws-sdk/types": "^3.975.0",
|
|
54
|
+
"@smithy/core": "^3.36.1",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
@@ -8,6 +8,9 @@ export type AwsSdkFeatures = Partial<{
|
|
|
8
8
|
RETRY_MODE_LEGACY: "D";
|
|
9
9
|
RETRY_MODE_STANDARD: "E";
|
|
10
10
|
RETRY_MODE_ADAPTIVE: "F";
|
|
11
|
+
S3_TRANSFER: "G";
|
|
12
|
+
S3_TRANSFER_UPLOAD_DIRECTORY: "9";
|
|
13
|
+
S3_TRANSFER_DOWNLOAD_DIRECTORY: "+";
|
|
11
14
|
S3_EXPRESS_BUCKET: "J";
|
|
12
15
|
S3_ACCESS_GRANTS: "K";
|
|
13
16
|
GZIP_REQUEST_COMPRESSION: "L";
|
|
@@ -5,6 +5,9 @@ export type AwsSdkFeatures = Partial<{
|
|
|
5
5
|
RETRY_MODE_LEGACY: "D";
|
|
6
6
|
RETRY_MODE_STANDARD: "E";
|
|
7
7
|
RETRY_MODE_ADAPTIVE: "F";
|
|
8
|
+
S3_TRANSFER: "G";
|
|
9
|
+
S3_TRANSFER_UPLOAD_DIRECTORY: "9";
|
|
10
|
+
S3_TRANSFER_DOWNLOAD_DIRECTORY: "+";
|
|
8
11
|
S3_EXPRESS_BUCKET: "J";
|
|
9
12
|
S3_ACCESS_GRANTS: "K";
|
|
10
13
|
GZIP_REQUEST_COMPRESSION: "L";
|
|
@@ -578,6 +578,7 @@ function schemaLogFilter(schema, data) {
|
|
|
578
578
|
return data;
|
|
579
579
|
}
|
|
580
580
|
|
|
581
|
+
const operationEventStreamMarker = Symbol.for("@smithy/op-event-stream");
|
|
581
582
|
class Command {
|
|
582
583
|
middlewareStack = constructStack();
|
|
583
584
|
schema;
|
|
@@ -611,9 +612,21 @@ class Command {
|
|
|
611
612
|
requestOptions = { ...requestOptions };
|
|
612
613
|
delete requestOptions.metricsRecorder;
|
|
613
614
|
}
|
|
614
|
-
|
|
615
|
+
let isEventStream;
|
|
616
|
+
const schema = this.schema;
|
|
617
|
+
const marker = schema?.[operationEventStreamMarker];
|
|
618
|
+
if (marker !== undefined) {
|
|
619
|
+
isEventStream = marker;
|
|
620
|
+
}
|
|
621
|
+
else if (schema) {
|
|
622
|
+
if (Array.isArray(schema) && schema[0] === 9) {
|
|
623
|
+
const [, , , , input$, output$] = schema;
|
|
624
|
+
isEventStream = schema[operationEventStreamMarker] = Boolean(NormalizedSchema.of(input$).getEventStreamMember() || NormalizedSchema.of(output$).getEventStreamMember());
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
if (isEventStream) {
|
|
615
628
|
requestOptions = {
|
|
616
|
-
isEventStream
|
|
629
|
+
isEventStream,
|
|
617
630
|
...requestOptions,
|
|
618
631
|
};
|
|
619
632
|
}
|
|
@@ -60,6 +60,9 @@ class HeaderMarshaller {
|
|
|
60
60
|
if (!hasOwn(headers, headerName))
|
|
61
61
|
continue;
|
|
62
62
|
const bytes = this.fromUtf8(headerName);
|
|
63
|
+
if (bytes.byteLength > 255) {
|
|
64
|
+
throw new Error(`@smithy/core/event-streams - header name exceeds 255 bytes: ${bytes.byteLength}`);
|
|
65
|
+
}
|
|
63
66
|
chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
|
|
64
67
|
}
|
|
65
68
|
const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));
|
|
@@ -92,6 +95,9 @@ class HeaderMarshaller {
|
|
|
92
95
|
longBytes.set(header.value.bytes, 1);
|
|
93
96
|
return longBytes;
|
|
94
97
|
case "binary":
|
|
98
|
+
if (header.value.byteLength > MAX_HEADER_VALUE_BYTES) {
|
|
99
|
+
throw new Error(`@smithy/core/event-streams - header value (binary) exceeds ${MAX_HEADER_VALUE_BYTES} bytes: ${header.value.byteLength}`);
|
|
100
|
+
}
|
|
95
101
|
const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
|
|
96
102
|
binView.setUint8(0, 6);
|
|
97
103
|
binView.setUint16(1, header.value.byteLength, false);
|
|
@@ -100,6 +106,9 @@ class HeaderMarshaller {
|
|
|
100
106
|
return binBytes;
|
|
101
107
|
case "string":
|
|
102
108
|
const utf8Bytes = this.fromUtf8(header.value);
|
|
109
|
+
if (utf8Bytes.byteLength > MAX_HEADER_VALUE_BYTES) {
|
|
110
|
+
throw new Error(`@smithy/core/event-streams - header value (string) exceeds ${MAX_HEADER_VALUE_BYTES} bytes: ${utf8Bytes.byteLength}`);
|
|
111
|
+
}
|
|
103
112
|
const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
|
|
104
113
|
strView.setUint8(0, 7);
|
|
105
114
|
strView.setUint16(1, utf8Bytes.byteLength, false);
|
|
@@ -231,6 +240,7 @@ const STRING_TAG = "string";
|
|
|
231
240
|
const TIMESTAMP_TAG = "timestamp";
|
|
232
241
|
const UUID_TAG = "uuid";
|
|
233
242
|
const UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
|
|
243
|
+
const MAX_HEADER_VALUE_BYTES = 32767;
|
|
234
244
|
|
|
235
245
|
const PRELUDE_MEMBER_LENGTH = 4;
|
|
236
246
|
const PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2;
|
|
@@ -61,6 +61,9 @@ class HeaderMarshaller {
|
|
|
61
61
|
if (!hasOwn(headers, headerName))
|
|
62
62
|
continue;
|
|
63
63
|
const bytes = this.fromUtf8(headerName);
|
|
64
|
+
if (bytes.byteLength > 255) {
|
|
65
|
+
throw new Error(`@smithy/core/event-streams - header name exceeds 255 bytes: ${bytes.byteLength}`);
|
|
66
|
+
}
|
|
64
67
|
chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
|
|
65
68
|
}
|
|
66
69
|
const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));
|
|
@@ -93,6 +96,9 @@ class HeaderMarshaller {
|
|
|
93
96
|
longBytes.set(header.value.bytes, 1);
|
|
94
97
|
return longBytes;
|
|
95
98
|
case "binary":
|
|
99
|
+
if (header.value.byteLength > MAX_HEADER_VALUE_BYTES) {
|
|
100
|
+
throw new Error(`@smithy/core/event-streams - header value (binary) exceeds ${MAX_HEADER_VALUE_BYTES} bytes: ${header.value.byteLength}`);
|
|
101
|
+
}
|
|
96
102
|
const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
|
|
97
103
|
binView.setUint8(0, 6);
|
|
98
104
|
binView.setUint16(1, header.value.byteLength, false);
|
|
@@ -101,6 +107,9 @@ class HeaderMarshaller {
|
|
|
101
107
|
return binBytes;
|
|
102
108
|
case "string":
|
|
103
109
|
const utf8Bytes = this.fromUtf8(header.value);
|
|
110
|
+
if (utf8Bytes.byteLength > MAX_HEADER_VALUE_BYTES) {
|
|
111
|
+
throw new Error(`@smithy/core/event-streams - header value (string) exceeds ${MAX_HEADER_VALUE_BYTES} bytes: ${utf8Bytes.byteLength}`);
|
|
112
|
+
}
|
|
104
113
|
const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
|
|
105
114
|
strView.setUint8(0, 7);
|
|
106
115
|
strView.setUint16(1, utf8Bytes.byteLength, false);
|
|
@@ -232,6 +241,7 @@ const STRING_TAG = "string";
|
|
|
232
241
|
const TIMESTAMP_TAG = "timestamp";
|
|
233
242
|
const UUID_TAG = "uuid";
|
|
234
243
|
const UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
|
|
244
|
+
const MAX_HEADER_VALUE_BYTES = 32767;
|
|
235
245
|
|
|
236
246
|
const PRELUDE_MEMBER_LENGTH = 4;
|
|
237
247
|
const PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2;
|
|
@@ -1812,9 +1812,9 @@ class JsonShapeSerializer2 extends SerdeContextConfig {
|
|
|
1812
1812
|
this.i = i;
|
|
1813
1813
|
}
|
|
1814
1814
|
writeJsonString(s) {
|
|
1815
|
-
this.ensure(s.length * 3 + 2);
|
|
1816
|
-
this.json[this.i++] = QUOTE;
|
|
1817
1815
|
const z = s.length;
|
|
1816
|
+
this.ensure(z * 3 + 2);
|
|
1817
|
+
this.json[this.i++] = QUOTE;
|
|
1818
1818
|
for (let j = 0; j < z; ++j) {
|
|
1819
1819
|
const c = s.charCodeAt(j);
|
|
1820
1820
|
if (c > 0x22 && c < 0x5c) {
|
|
@@ -1823,7 +1823,7 @@ class JsonShapeSerializer2 extends SerdeContextConfig {
|
|
|
1823
1823
|
else if (c < 0x80) {
|
|
1824
1824
|
const esc = ESCAPE_TABLE[c];
|
|
1825
1825
|
if (esc !== null) {
|
|
1826
|
-
this.ensure(esc.length + 1);
|
|
1826
|
+
this.ensure(esc.length + 1 + (z - j - 1) * 3 + 1);
|
|
1827
1827
|
this.json[this.i++] = BACKSLASH;
|
|
1828
1828
|
for (let k = 0; k < esc.length; k++) {
|
|
1829
1829
|
this.json[this.i++] = esc.charCodeAt(k);
|
|
@@ -1842,12 +1842,12 @@ class JsonShapeSerializer2 extends SerdeContextConfig {
|
|
|
1842
1842
|
++j;
|
|
1843
1843
|
}
|
|
1844
1844
|
else {
|
|
1845
|
-
this.ensure(6);
|
|
1845
|
+
this.ensure(6 + (z - j - 1) * 3 + 1);
|
|
1846
1846
|
this.writeUnicodeEscape(c);
|
|
1847
1847
|
}
|
|
1848
1848
|
}
|
|
1849
1849
|
else if (c >= 0xdc00 && c <= 0xdfff) {
|
|
1850
|
-
this.ensure(6);
|
|
1850
|
+
this.ensure(6 + (z - j - 1) * 3 + 1);
|
|
1851
1851
|
this.writeUnicodeEscape(c);
|
|
1852
1852
|
}
|
|
1853
1853
|
else {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
2
2
|
import { constructStack } from "../middleware-stack/MiddlewareStack";
|
|
3
3
|
import { schemaLogFilter } from "./schemaLogFilter";
|
|
4
|
+
import { NormalizedSchema } from "@smithy/core/schema";
|
|
5
|
+
const operationEventStreamMarker = Symbol.for("@smithy/op-event-stream");
|
|
4
6
|
export class Command {
|
|
5
7
|
middlewareStack = constructStack();
|
|
6
8
|
schema;
|
|
@@ -34,9 +36,21 @@ export class Command {
|
|
|
34
36
|
requestOptions = { ...requestOptions };
|
|
35
37
|
delete requestOptions.metricsRecorder;
|
|
36
38
|
}
|
|
37
|
-
|
|
39
|
+
let isEventStream;
|
|
40
|
+
const schema = this.schema;
|
|
41
|
+
const marker = schema?.[operationEventStreamMarker];
|
|
42
|
+
if (marker !== undefined) {
|
|
43
|
+
isEventStream = marker;
|
|
44
|
+
}
|
|
45
|
+
else if (schema) {
|
|
46
|
+
if (Array.isArray(schema) && schema[0] === 9) {
|
|
47
|
+
const [, , , , input$, output$] = schema;
|
|
48
|
+
isEventStream = schema[operationEventStreamMarker] = Boolean(NormalizedSchema.of(input$).getEventStreamMember() || NormalizedSchema.of(output$).getEventStreamMember());
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
if (isEventStream) {
|
|
38
52
|
requestOptions = {
|
|
39
|
-
isEventStream
|
|
53
|
+
isEventStream,
|
|
40
54
|
...requestOptions,
|
|
41
55
|
};
|
|
42
56
|
}
|
|
@@ -14,6 +14,9 @@ export class HeaderMarshaller {
|
|
|
14
14
|
if (!hasOwn(headers, headerName))
|
|
15
15
|
continue;
|
|
16
16
|
const bytes = this.fromUtf8(headerName);
|
|
17
|
+
if (bytes.byteLength > 255) {
|
|
18
|
+
throw new Error(`@smithy/core/event-streams - header name exceeds 255 bytes: ${bytes.byteLength}`);
|
|
19
|
+
}
|
|
17
20
|
chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
|
|
18
21
|
}
|
|
19
22
|
const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));
|
|
@@ -46,6 +49,9 @@ export class HeaderMarshaller {
|
|
|
46
49
|
longBytes.set(header.value.bytes, 1);
|
|
47
50
|
return longBytes;
|
|
48
51
|
case "binary":
|
|
52
|
+
if (header.value.byteLength > MAX_HEADER_VALUE_BYTES) {
|
|
53
|
+
throw new Error(`@smithy/core/event-streams - header value (binary) exceeds ${MAX_HEADER_VALUE_BYTES} bytes: ${header.value.byteLength}`);
|
|
54
|
+
}
|
|
49
55
|
const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
|
|
50
56
|
binView.setUint8(0, 6);
|
|
51
57
|
binView.setUint16(1, header.value.byteLength, false);
|
|
@@ -54,6 +60,9 @@ export class HeaderMarshaller {
|
|
|
54
60
|
return binBytes;
|
|
55
61
|
case "string":
|
|
56
62
|
const utf8Bytes = this.fromUtf8(header.value);
|
|
63
|
+
if (utf8Bytes.byteLength > MAX_HEADER_VALUE_BYTES) {
|
|
64
|
+
throw new Error(`@smithy/core/event-streams - header value (string) exceeds ${MAX_HEADER_VALUE_BYTES} bytes: ${utf8Bytes.byteLength}`);
|
|
65
|
+
}
|
|
57
66
|
const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
|
|
58
67
|
strView.setUint8(0, 7);
|
|
59
68
|
strView.setUint16(1, utf8Bytes.byteLength, false);
|
|
@@ -185,3 +194,4 @@ const STRING_TAG = "string";
|
|
|
185
194
|
const TIMESTAMP_TAG = "timestamp";
|
|
186
195
|
const UUID_TAG = "uuid";
|
|
187
196
|
const UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
|
|
197
|
+
const MAX_HEADER_VALUE_BYTES = 32767;
|
package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js
CHANGED
|
@@ -118,9 +118,9 @@ export class JsonShapeSerializer2 extends SerdeContextConfig {
|
|
|
118
118
|
this.i = i;
|
|
119
119
|
}
|
|
120
120
|
writeJsonString(s) {
|
|
121
|
-
this.ensure(s.length * 3 + 2);
|
|
122
|
-
this.json[this.i++] = QUOTE;
|
|
123
121
|
const z = s.length;
|
|
122
|
+
this.ensure(z * 3 + 2);
|
|
123
|
+
this.json[this.i++] = QUOTE;
|
|
124
124
|
for (let j = 0; j < z; ++j) {
|
|
125
125
|
const c = s.charCodeAt(j);
|
|
126
126
|
if (c > 0x22 && c < 0x5c) {
|
|
@@ -129,7 +129,7 @@ export class JsonShapeSerializer2 extends SerdeContextConfig {
|
|
|
129
129
|
else if (c < 0x80) {
|
|
130
130
|
const esc = ESCAPE_TABLE[c];
|
|
131
131
|
if (esc !== null) {
|
|
132
|
-
this.ensure(esc.length + 1);
|
|
132
|
+
this.ensure(esc.length + 1 + (z - j - 1) * 3 + 1);
|
|
133
133
|
this.json[this.i++] = BACKSLASH;
|
|
134
134
|
for (let k = 0; k < esc.length; k++) {
|
|
135
135
|
this.json[this.i++] = esc.charCodeAt(k);
|
|
@@ -148,12 +148,12 @@ export class JsonShapeSerializer2 extends SerdeContextConfig {
|
|
|
148
148
|
++j;
|
|
149
149
|
}
|
|
150
150
|
else {
|
|
151
|
-
this.ensure(6);
|
|
151
|
+
this.ensure(6 + (z - j - 1) * 3 + 1);
|
|
152
152
|
this.writeUnicodeEscape(c);
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
else if (c >= 0xdc00 && c <= 0xdfff) {
|
|
156
|
-
this.ensure(6);
|
|
156
|
+
this.ensure(6 + (z - j - 1) * 3 + 1);
|
|
157
157
|
this.writeUnicodeEscape(c);
|
|
158
158
|
}
|
|
159
159
|
else {
|
package/package.json
CHANGED
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"jsii-docgen": "^10.5.0",
|
|
54
54
|
"jsii-pacmak": "^1.142.0",
|
|
55
55
|
"jsii-rosetta": "~5.9.0",
|
|
56
|
-
"projen": "^0.104.
|
|
56
|
+
"projen": "^0.104.11",
|
|
57
57
|
"ts-jest": "^29.4.15",
|
|
58
58
|
"ts-node": "^10.9.2",
|
|
59
59
|
"typescript": "~5.7.3"
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"constructs": "^10.5.1"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@aws-sdk/client-acm": "^3.
|
|
67
|
-
"@aws-sdk/client-route-53": "^3.
|
|
66
|
+
"@aws-sdk/client-acm": "^3.1155.0",
|
|
67
|
+
"@aws-sdk/client-route-53": "^3.1155.0",
|
|
68
68
|
"@types/aws-lambda": "^8.10.164",
|
|
69
69
|
"async-await-retry": "^2.1.0"
|
|
70
70
|
},
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"publishConfig": {
|
|
93
93
|
"access": "public"
|
|
94
94
|
},
|
|
95
|
-
"version": "1.3.
|
|
95
|
+
"version": "1.3.124",
|
|
96
96
|
"jest": {
|
|
97
97
|
"coverageProvider": "v8",
|
|
98
98
|
"testMatch": [
|