@mavogel/awscdk-rootmail 0.0.145 → 0.0.146
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 +2 -2
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@smithy/core/package.json +3 -3
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +5 -2
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +3 -1
- package/node_modules/@smithy/fetch-http-handler/package.json +1 -1
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +7 -1
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +8 -1
- package/node_modules/@smithy/node-http-handler/package.json +1 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +6 -8
- package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +7 -5
- package/node_modules/@smithy/signature-v4/package.json +1 -1
- package/node_modules/@smithy/smithy-client/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/@smithy/util-stream/package.json +3 -3
- package/package.json +2 -2
package/.jsii
CHANGED
|
@@ -3877,6 +3877,6 @@
|
|
|
3877
3877
|
"symbolId": "src/ses-receive:SESReceiveProps"
|
|
3878
3878
|
}
|
|
3879
3879
|
},
|
|
3880
|
-
"version": "0.0.
|
|
3881
|
-
"fingerprint": "
|
|
3880
|
+
"version": "0.0.146",
|
|
3881
|
+
"fingerprint": "hUl74A0jXLUuxUkm/AtlP/ne4ky6gGjO/xHfXX9+vi4="
|
|
3882
3882
|
}
|
package/lib/rootmail.js
CHANGED
|
@@ -74,7 +74,7 @@ class Rootmail extends constructs_1.Construct {
|
|
|
74
74
|
}
|
|
75
75
|
exports.Rootmail = Rootmail;
|
|
76
76
|
_a = JSII_RTTI_SYMBOL_1;
|
|
77
|
-
Rootmail[_a] = { fqn: "@mavogel/awscdk-rootmail.Rootmail", version: "0.0.
|
|
77
|
+
Rootmail[_a] = { fqn: "@mavogel/awscdk-rootmail.Rootmail", version: "0.0.146" };
|
|
78
78
|
/**
|
|
79
79
|
* Aspect for setting all removal policies to DESTROY
|
|
80
80
|
*/
|
package/lib/ses-receive.js
CHANGED
|
@@ -124,7 +124,7 @@ class SESReceive extends constructs_1.Construct {
|
|
|
124
124
|
}
|
|
125
125
|
exports.SESReceive = SESReceive;
|
|
126
126
|
_a = JSII_RTTI_SYMBOL_1;
|
|
127
|
-
SESReceive[_a] = { fqn: "@mavogel/awscdk-rootmail.SESReceive", version: "0.0.
|
|
127
|
+
SESReceive[_a] = { fqn: "@mavogel/awscdk-rootmail.SESReceive", version: "0.0.146" };
|
|
128
128
|
/**
|
|
129
129
|
* Aspect for setting all removal policies to DESTROY
|
|
130
130
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/core",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.5",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline core",
|
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
"license": "Apache-2.0",
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@smithy/middleware-endpoint": "^3.1.3",
|
|
50
|
-
"@smithy/middleware-retry": "^3.0.
|
|
50
|
+
"@smithy/middleware-retry": "^3.0.20",
|
|
51
51
|
"@smithy/middleware-serde": "^3.0.6",
|
|
52
52
|
"@smithy/protocol-http": "^4.1.3",
|
|
53
|
-
"@smithy/smithy-client": "^3.3.
|
|
53
|
+
"@smithy/smithy-client": "^3.3.4",
|
|
54
54
|
"@smithy/types": "^3.4.2",
|
|
55
55
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
56
56
|
"@smithy/util-middleware": "^3.0.6",
|
|
@@ -75,6 +75,7 @@ var _FetchHttpHandler = class _FetchHttpHandler {
|
|
|
75
75
|
destroy() {
|
|
76
76
|
}
|
|
77
77
|
async handle(request, { abortSignal } = {}) {
|
|
78
|
+
var _a;
|
|
78
79
|
if (!this.config) {
|
|
79
80
|
this.config = await this.configProvider;
|
|
80
81
|
}
|
|
@@ -107,9 +108,11 @@ var _FetchHttpHandler = class _FetchHttpHandler {
|
|
|
107
108
|
body,
|
|
108
109
|
headers: new Headers(request.headers),
|
|
109
110
|
method,
|
|
110
|
-
credentials
|
|
111
|
-
cache: this.config.cache ?? "default"
|
|
111
|
+
credentials
|
|
112
112
|
};
|
|
113
|
+
if ((_a = this.config) == null ? void 0 : _a.cache) {
|
|
114
|
+
requestOptions.cache = this.config.cache;
|
|
115
|
+
}
|
|
113
116
|
if (body) {
|
|
114
117
|
requestOptions.duplex = "half";
|
|
115
118
|
}
|
|
@@ -59,8 +59,10 @@ export class FetchHttpHandler {
|
|
|
59
59
|
headers: new Headers(request.headers),
|
|
60
60
|
method: method,
|
|
61
61
|
credentials,
|
|
62
|
-
cache: this.config.cache ?? "default",
|
|
63
62
|
};
|
|
63
|
+
if (this.config?.cache) {
|
|
64
|
+
requestOptions.cache = this.config.cache;
|
|
65
|
+
}
|
|
64
66
|
if (body) {
|
|
65
67
|
requestOptions.duplex = "half";
|
|
66
68
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-retry",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.20",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-retry",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@smithy/node-config-provider": "^3.1.7",
|
|
35
35
|
"@smithy/protocol-http": "^4.1.3",
|
|
36
36
|
"@smithy/service-error-classification": "^3.0.6",
|
|
37
|
-
"@smithy/smithy-client": "^3.3.
|
|
37
|
+
"@smithy/smithy-client": "^3.3.4",
|
|
38
38
|
"@smithy/types": "^3.4.2",
|
|
39
39
|
"@smithy/util-middleware": "^3.0.6",
|
|
40
40
|
"@smithy/util-retry": "^3.0.6",
|
|
@@ -330,9 +330,15 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
330
330
|
if (request.fragment) {
|
|
331
331
|
path += `#${request.fragment}`;
|
|
332
332
|
}
|
|
333
|
+
let hostname = request.hostname ?? "";
|
|
334
|
+
if (hostname[0] === "[" && hostname.endsWith("]")) {
|
|
335
|
+
hostname = request.hostname.slice(1, -1);
|
|
336
|
+
} else {
|
|
337
|
+
hostname = request.hostname;
|
|
338
|
+
}
|
|
333
339
|
const nodeHttpsOptions = {
|
|
334
340
|
headers: request.headers,
|
|
335
|
-
host:
|
|
341
|
+
host: hostname,
|
|
336
342
|
method: request.method,
|
|
337
343
|
path,
|
|
338
344
|
port: request.port,
|
|
@@ -127,9 +127,16 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
127
127
|
if (request.fragment) {
|
|
128
128
|
path += `#${request.fragment}`;
|
|
129
129
|
}
|
|
130
|
+
let hostname = request.hostname ?? "";
|
|
131
|
+
if (hostname[0] === "[" && hostname.endsWith("]")) {
|
|
132
|
+
hostname = request.hostname.slice(1, -1);
|
|
133
|
+
}
|
|
134
|
+
else {
|
|
135
|
+
hostname = request.hostname;
|
|
136
|
+
}
|
|
130
137
|
const nodeHttpsOptions = {
|
|
131
138
|
headers: request.headers,
|
|
132
|
-
host:
|
|
139
|
+
host: hostname,
|
|
133
140
|
method: request.method,
|
|
134
141
|
path,
|
|
135
142
|
port: request.port,
|
|
@@ -136,22 +136,20 @@ var import_util_uri_escape = require("@smithy/util-uri-escape");
|
|
|
136
136
|
var getCanonicalQuery = /* @__PURE__ */ __name(({ query = {} }) => {
|
|
137
137
|
const keys = [];
|
|
138
138
|
const serialized = {};
|
|
139
|
-
for (const key of Object.keys(query)
|
|
139
|
+
for (const key of Object.keys(query)) {
|
|
140
140
|
if (key.toLowerCase() === SIGNATURE_HEADER) {
|
|
141
141
|
continue;
|
|
142
142
|
}
|
|
143
|
-
|
|
143
|
+
const encodedKey = (0, import_util_uri_escape.escapeUri)(key);
|
|
144
|
+
keys.push(encodedKey);
|
|
144
145
|
const value = query[key];
|
|
145
146
|
if (typeof value === "string") {
|
|
146
|
-
serialized[
|
|
147
|
+
serialized[encodedKey] = `${encodedKey}=${(0, import_util_uri_escape.escapeUri)(value)}`;
|
|
147
148
|
} else if (Array.isArray(value)) {
|
|
148
|
-
serialized[
|
|
149
|
-
(encoded, value2) => encoded.concat([`${(0, import_util_uri_escape.escapeUri)(key)}=${(0, import_util_uri_escape.escapeUri)(value2)}`]),
|
|
150
|
-
[]
|
|
151
|
-
).sort().join("&");
|
|
149
|
+
serialized[encodedKey] = value.slice(0).reduce((encoded, value2) => encoded.concat([`${encodedKey}=${(0, import_util_uri_escape.escapeUri)(value2)}`]), []).sort().join("&");
|
|
152
150
|
}
|
|
153
151
|
}
|
|
154
|
-
return keys.map((key) => serialized[key]).filter((serialized2) => serialized2).join("&");
|
|
152
|
+
return keys.sort().map((key) => serialized[key]).filter((serialized2) => serialized2).join("&");
|
|
155
153
|
}, "getCanonicalQuery");
|
|
156
154
|
|
|
157
155
|
// src/getPayloadHash.ts
|
|
@@ -3,24 +3,26 @@ import { SIGNATURE_HEADER } from "./constants";
|
|
|
3
3
|
export const getCanonicalQuery = ({ query = {} }) => {
|
|
4
4
|
const keys = [];
|
|
5
5
|
const serialized = {};
|
|
6
|
-
for (const key of Object.keys(query)
|
|
6
|
+
for (const key of Object.keys(query)) {
|
|
7
7
|
if (key.toLowerCase() === SIGNATURE_HEADER) {
|
|
8
8
|
continue;
|
|
9
9
|
}
|
|
10
|
-
|
|
10
|
+
const encodedKey = escapeUri(key);
|
|
11
|
+
keys.push(encodedKey);
|
|
11
12
|
const value = query[key];
|
|
12
13
|
if (typeof value === "string") {
|
|
13
|
-
serialized[
|
|
14
|
+
serialized[encodedKey] = `${encodedKey}=${escapeUri(value)}`;
|
|
14
15
|
}
|
|
15
16
|
else if (Array.isArray(value)) {
|
|
16
|
-
serialized[
|
|
17
|
+
serialized[encodedKey] = value
|
|
17
18
|
.slice(0)
|
|
18
|
-
.reduce((encoded, value) => encoded.concat([`${
|
|
19
|
+
.reduce((encoded, value) => encoded.concat([`${encodedKey}=${escapeUri(value)}`]), [])
|
|
19
20
|
.sort()
|
|
20
21
|
.join("&");
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
24
|
return keys
|
|
25
|
+
.sort()
|
|
24
26
|
.map((key) => serialized[key])
|
|
25
27
|
.filter((serialized) => serialized)
|
|
26
28
|
.join("&");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/smithy-client",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.4",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline smithy-client",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@smithy/middleware-stack": "^3.0.6",
|
|
28
28
|
"@smithy/protocol-http": "^4.1.3",
|
|
29
29
|
"@smithy/types": "^3.4.2",
|
|
30
|
-
"@smithy/util-stream": "^3.1.
|
|
30
|
+
"@smithy/util-stream": "^3.1.8",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.20",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-browser",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@smithy/property-provider": "^3.1.6",
|
|
26
|
-
"@smithy/smithy-client": "^3.3.
|
|
26
|
+
"@smithy/smithy-client": "^3.3.4",
|
|
27
27
|
"@smithy/types": "^3.4.2",
|
|
28
28
|
"bowser": "^2.11.0",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.20",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-node",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@smithy/credential-provider-imds": "^3.2.3",
|
|
27
27
|
"@smithy/node-config-provider": "^3.1.7",
|
|
28
28
|
"@smithy/property-provider": "^3.1.6",
|
|
29
|
-
"@smithy/smithy-client": "^3.3.
|
|
29
|
+
"@smithy/smithy-client": "^3.3.4",
|
|
30
30
|
"@smithy/types": "^3.4.2",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-stream",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.8",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-stream",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
28
|
-
"@smithy/node-http-handler": "^3.2.
|
|
27
|
+
"@smithy/fetch-http-handler": "^3.2.8",
|
|
28
|
+
"@smithy/node-http-handler": "^3.2.3",
|
|
29
29
|
"@smithy/types": "^3.4.2",
|
|
30
30
|
"@smithy/util-base64": "^3.0.0",
|
|
31
31
|
"@smithy/util-buffer-from": "^3.0.0",
|
package/package.json
CHANGED
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@typescript-eslint/eslint-plugin": "^7",
|
|
56
56
|
"@typescript-eslint/parser": "^7",
|
|
57
57
|
"aws-cdk-lib": "2.90.0",
|
|
58
|
-
"cdk-assets": "^2.154.
|
|
58
|
+
"cdk-assets": "^2.154.2",
|
|
59
59
|
"commit-and-tag-version": "^12",
|
|
60
60
|
"constructs": "10.0.5",
|
|
61
61
|
"eslint": "^8",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"publishConfig": {
|
|
116
116
|
"access": "public"
|
|
117
117
|
},
|
|
118
|
-
"version": "0.0.
|
|
118
|
+
"version": "0.0.146",
|
|
119
119
|
"jest": {
|
|
120
120
|
"coverageProvider": "v8",
|
|
121
121
|
"testMatch": [
|