@mavogel/awscdk-rootmail 0.0.198 → 0.0.199
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 +3 -3
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/client-s3/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.browser.js +6 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js +27 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +2 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getCrc32ChecksumAlgorithmFunction.browser.js +2 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getCrc32ChecksumAlgorithmFunction.js +22 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/selectChecksumAlgorithmFunction.js +2 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getCrc32ChecksumAlgorithmFunction.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getCrc32ChecksumAlgorithmFunction.d.ts +9 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getCrc32ChecksumAlgorithmFunction.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getCrc32ChecksumAlgorithmFunction.d.ts +11 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +5 -1
- package/package.json +8 -7
package/.jsii
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"bundled": {
|
|
10
10
|
"@aws-sdk/client-cloudwatch-logs": "^3.687.0",
|
|
11
11
|
"@aws-sdk/client-route-53": "^3.687.0",
|
|
12
|
-
"@aws-sdk/client-s3": "^3.
|
|
12
|
+
"@aws-sdk/client-s3": "^3.688.0",
|
|
13
13
|
"@aws-sdk/client-ses": "^3.687.0",
|
|
14
14
|
"@aws-sdk/client-ssm": "^3.687.0",
|
|
15
15
|
"async-retry": "^1.3.3",
|
|
@@ -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.199",
|
|
3881
|
+
"fingerprint": "oMMl9qNifgl2n23xgX77k7fhMp9H123rAsKI1SMnVtU="
|
|
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.199" };
|
|
78
78
|
/**
|
|
79
79
|
* Aspect for setting all removal policies to DESTROY
|
|
80
80
|
*/
|
package/lib/ses-receive.js
CHANGED
|
@@ -129,7 +129,7 @@ class SESReceive extends constructs_1.Construct {
|
|
|
129
129
|
}
|
|
130
130
|
exports.SESReceive = SESReceive;
|
|
131
131
|
_a = JSII_RTTI_SYMBOL_1;
|
|
132
|
-
SESReceive[_a] = { fqn: "@mavogel/awscdk-rootmail.SESReceive", version: "0.0.
|
|
132
|
+
SESReceive[_a] = { fqn: "@mavogel/awscdk-rootmail.SESReceive", version: "0.0.199" };
|
|
133
133
|
/**
|
|
134
134
|
* Aspect for setting all removal policies to DESTROY
|
|
135
135
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.688.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-s3",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@aws-sdk/credential-provider-node": "3.687.0",
|
|
34
34
|
"@aws-sdk/middleware-bucket-endpoint": "3.686.0",
|
|
35
35
|
"@aws-sdk/middleware-expect-continue": "3.686.0",
|
|
36
|
-
"@aws-sdk/middleware-flexible-checksums": "3.
|
|
36
|
+
"@aws-sdk/middleware-flexible-checksums": "3.688.0",
|
|
37
37
|
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
38
38
|
"@aws-sdk/middleware-location-constraint": "3.686.0",
|
|
39
39
|
"@aws-sdk/middleware-logger": "3.686.0",
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCrc32ChecksumAlgorithmFunction = void 0;
|
|
4
|
+
const crc32_1 = require("@aws-crypto/crc32");
|
|
5
|
+
const getCrc32ChecksumAlgorithmFunction = () => crc32_1.AwsCrc32;
|
|
6
|
+
exports.getCrc32ChecksumAlgorithmFunction = getCrc32ChecksumAlgorithmFunction;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCrc32ChecksumAlgorithmFunction = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const crc32_1 = require("@aws-crypto/crc32");
|
|
6
|
+
const util_1 = require("@aws-crypto/util");
|
|
7
|
+
const zlib = tslib_1.__importStar(require("zlib"));
|
|
8
|
+
const getCrc32ChecksumAlgorithmFunction = () => {
|
|
9
|
+
if (typeof zlib.crc32 === "undefined") {
|
|
10
|
+
return crc32_1.AwsCrc32;
|
|
11
|
+
}
|
|
12
|
+
return class NodeCrc32 {
|
|
13
|
+
constructor() {
|
|
14
|
+
this.checksum = 0;
|
|
15
|
+
}
|
|
16
|
+
update(data) {
|
|
17
|
+
this.checksum = zlib.crc32(data, this.checksum);
|
|
18
|
+
}
|
|
19
|
+
async digest() {
|
|
20
|
+
return (0, util_1.numToUint8)(this.checksum);
|
|
21
|
+
}
|
|
22
|
+
reset() {
|
|
23
|
+
this.checksum = 0;
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
exports.getCrc32ChecksumAlgorithmFunction = getCrc32ChecksumAlgorithmFunction;
|
|
@@ -174,11 +174,11 @@ var import_is_array_buffer = require("@smithy/is-array-buffer");
|
|
|
174
174
|
var isStreaming = /* @__PURE__ */ __name((body) => body !== void 0 && typeof body !== "string" && !ArrayBuffer.isView(body) && !(0, import_is_array_buffer.isArrayBuffer)(body), "isStreaming");
|
|
175
175
|
|
|
176
176
|
// src/selectChecksumAlgorithmFunction.ts
|
|
177
|
-
var import_crc32 = require("@aws-crypto/crc32");
|
|
178
177
|
var import_crc32c = require("@aws-crypto/crc32c");
|
|
178
|
+
var import_getCrc32ChecksumAlgorithmFunction = require("././getCrc32ChecksumAlgorithmFunction");
|
|
179
179
|
var selectChecksumAlgorithmFunction = /* @__PURE__ */ __name((checksumAlgorithm, config) => ({
|
|
180
180
|
["MD5" /* MD5 */]: config.md5,
|
|
181
|
-
["CRC32" /* CRC32 */]:
|
|
181
|
+
["CRC32" /* CRC32 */]: (0, import_getCrc32ChecksumAlgorithmFunction.getCrc32ChecksumAlgorithmFunction)(),
|
|
182
182
|
["CRC32C" /* CRC32C */]: import_crc32c.AwsCrc32c,
|
|
183
183
|
["SHA1" /* SHA1 */]: config.sha1,
|
|
184
184
|
["SHA256" /* SHA256 */]: config.sha256
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AwsCrc32 } from "@aws-crypto/crc32";
|
|
2
|
+
import { numToUint8 } from "@aws-crypto/util";
|
|
3
|
+
import * as zlib from "zlib";
|
|
4
|
+
export const getCrc32ChecksumAlgorithmFunction = () => {
|
|
5
|
+
if (typeof zlib.crc32 === "undefined") {
|
|
6
|
+
return AwsCrc32;
|
|
7
|
+
}
|
|
8
|
+
return class NodeCrc32 {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.checksum = 0;
|
|
11
|
+
}
|
|
12
|
+
update(data) {
|
|
13
|
+
this.checksum = zlib.crc32(data, this.checksum);
|
|
14
|
+
}
|
|
15
|
+
async digest() {
|
|
16
|
+
return numToUint8(this.checksum);
|
|
17
|
+
}
|
|
18
|
+
reset() {
|
|
19
|
+
this.checksum = 0;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AwsCrc32 } from "@aws-crypto/crc32";
|
|
2
1
|
import { AwsCrc32c } from "@aws-crypto/crc32c";
|
|
3
2
|
import { ChecksumAlgorithm } from "./constants";
|
|
3
|
+
import { getCrc32ChecksumAlgorithmFunction } from "./getCrc32ChecksumAlgorithmFunction";
|
|
4
4
|
export const selectChecksumAlgorithmFunction = (checksumAlgorithm, config) => ({
|
|
5
5
|
[ChecksumAlgorithm.MD5]: config.md5,
|
|
6
|
-
[ChecksumAlgorithm.CRC32]:
|
|
6
|
+
[ChecksumAlgorithm.CRC32]: getCrc32ChecksumAlgorithmFunction(),
|
|
7
7
|
[ChecksumAlgorithm.CRC32C]: AwsCrc32c,
|
|
8
8
|
[ChecksumAlgorithm.SHA1]: config.sha1,
|
|
9
9
|
[ChecksumAlgorithm.SHA256]: config.sha256,
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AwsCrc32 } from "@aws-crypto/crc32";
|
|
2
|
+
export declare const getCrc32ChecksumAlgorithmFunction: () =>
|
|
3
|
+
| typeof AwsCrc32
|
|
4
|
+
| {
|
|
5
|
+
new (): {
|
|
6
|
+
checksum: number;
|
|
7
|
+
update(data: Uint8Array): void;
|
|
8
|
+
digest(): Promise<Uint8Array>;
|
|
9
|
+
reset(): void;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-flexible-checksums",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.688.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-flexible-checksums",
|
|
@@ -17,10 +17,13 @@
|
|
|
17
17
|
"main": "./dist-cjs/index.js",
|
|
18
18
|
"module": "./dist-es/index.js",
|
|
19
19
|
"browser": {
|
|
20
|
+
"./dist-es/getCrc32ChecksumAlgorithmFunction": "./dist-es/getCrc32ChecksumAlgorithmFunction.browser",
|
|
20
21
|
"./dist-es/streams/create-read-stream-on-buffer": "./dist-es/streams/create-read-stream-on-buffer.browser"
|
|
21
22
|
},
|
|
22
23
|
"react-native": {
|
|
24
|
+
"./dist-es/getCrc32ChecksumAlgorithmFunction": "./dist-es/getCrc32ChecksumAlgorithmFunction.browser",
|
|
23
25
|
"./dist-es/streams/create-read-stream-on-buffer": "./dist-es/streams/create-read-stream-on-buffer.browser",
|
|
26
|
+
"./dist-cjs/getCrc32ChecksumAlgorithmFunction": "./dist-cjs/getCrc32ChecksumAlgorithmFunction.browser",
|
|
24
27
|
"./dist-cjs/streams/create-read-stream-on-buffer": "./dist-cjs/streams/create-read-stream-on-buffer.browser"
|
|
25
28
|
},
|
|
26
29
|
"types": "./dist-types/index.d.ts",
|
|
@@ -32,6 +35,7 @@
|
|
|
32
35
|
"dependencies": {
|
|
33
36
|
"@aws-crypto/crc32": "5.2.0",
|
|
34
37
|
"@aws-crypto/crc32c": "5.2.0",
|
|
38
|
+
"@aws-crypto/util": "5.2.0",
|
|
35
39
|
"@aws-sdk/core": "3.686.0",
|
|
36
40
|
"@aws-sdk/types": "3.686.0",
|
|
37
41
|
"@smithy/is-array-buffer": "^3.0.0",
|
package/package.json
CHANGED
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"@aws-cdk/integ-tests-alpha": "^2.90.0-alpha.0",
|
|
45
45
|
"@commitlint/cli": "^17.8.1",
|
|
46
46
|
"@commitlint/config-conventional": "^17.8.1",
|
|
47
|
+
"@stylistic/eslint-plugin": "^2",
|
|
47
48
|
"@types/async-retry": "^1.4.9",
|
|
48
49
|
"@types/aws-lambda": "^8.10.145",
|
|
49
50
|
"@types/axios": "^0.14.0",
|
|
@@ -52,13 +53,13 @@
|
|
|
52
53
|
"@types/mailparser": "^3.4.5",
|
|
53
54
|
"@types/node": "^18",
|
|
54
55
|
"@types/uuid": "^9.0.8",
|
|
55
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
56
|
-
"@typescript-eslint/parser": "^
|
|
56
|
+
"@typescript-eslint/eslint-plugin": "^8",
|
|
57
|
+
"@typescript-eslint/parser": "^8",
|
|
57
58
|
"aws-cdk-lib": "2.90.0",
|
|
58
|
-
"cdk-assets": "^2.155.
|
|
59
|
+
"cdk-assets": "^2.155.29",
|
|
59
60
|
"commit-and-tag-version": "^12",
|
|
60
61
|
"constructs": "10.0.5",
|
|
61
|
-
"eslint": "^
|
|
62
|
+
"eslint": "^9",
|
|
62
63
|
"eslint-import-resolver-typescript": "^3.6.3",
|
|
63
64
|
"eslint-plugin-import": "^2.31.0",
|
|
64
65
|
"husky": "^8.0.3",
|
|
@@ -70,7 +71,7 @@
|
|
|
70
71
|
"jsii-pacmak": "^1.104.0",
|
|
71
72
|
"jsii-rosetta": "~5.5.0",
|
|
72
73
|
"jsonfile": "^6.1.0",
|
|
73
|
-
"projen": "^0.90.
|
|
74
|
+
"projen": "^0.90.2",
|
|
74
75
|
"ts-jest": "^29.2.5",
|
|
75
76
|
"ts-node": "^10.9.2",
|
|
76
77
|
"typescript": "^5.6.3"
|
|
@@ -82,7 +83,7 @@
|
|
|
82
83
|
"dependencies": {
|
|
83
84
|
"@aws-sdk/client-cloudwatch-logs": "^3.687.0",
|
|
84
85
|
"@aws-sdk/client-route-53": "^3.687.0",
|
|
85
|
-
"@aws-sdk/client-s3": "^3.
|
|
86
|
+
"@aws-sdk/client-s3": "^3.688.0",
|
|
86
87
|
"@aws-sdk/client-ses": "^3.687.0",
|
|
87
88
|
"@aws-sdk/client-ssm": "^3.687.0",
|
|
88
89
|
"async-retry": "^1.3.3",
|
|
@@ -115,7 +116,7 @@
|
|
|
115
116
|
"publishConfig": {
|
|
116
117
|
"access": "public"
|
|
117
118
|
},
|
|
118
|
-
"version": "0.0.
|
|
119
|
+
"version": "0.0.199",
|
|
119
120
|
"jest": {
|
|
120
121
|
"coverageProvider": "v8",
|
|
121
122
|
"testMatch": [
|