@mavogel/awscdk-rootmail 0.0.196 → 0.0.198
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 +8 -8
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +38 -38
- package/node_modules/@aws-sdk/client-route-53/package.json +38 -38
- package/node_modules/@aws-sdk/client-s3/README.md +1 -1
- package/node_modules/@aws-sdk/client-s3/package.json +55 -55
- package/node_modules/@aws-sdk/client-ses/README.md +1 -1
- package/node_modules/@aws-sdk/client-ses/package.json +36 -36
- package/node_modules/@aws-sdk/client-ssm/README.md +1 -1
- package/node_modules/@aws-sdk/client-ssm/package.json +36 -36
- package/node_modules/@aws-sdk/client-sso/README.md +1 -1
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/client-sso-oidc/README.md +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +34 -34
- package/node_modules/@aws-sdk/client-sts/README.md +1 -1
- package/node_modules/@aws-sdk/client-sts/package.json +34 -34
- package/node_modules/@aws-sdk/core/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-http/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
- 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-bucket-endpoint/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +16 -6
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksum.js +1 -5
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/validateChecksumFromResponse.js +14 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksum.d.ts +2 -3
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getChecksum.d.ts +2 -8
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +9 -8
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +10 -10
- package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/package.json +4 -4
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -27
- package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +2 -25
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/cdk-nag/.jsii +14 -4
- package/node_modules/cdk-nag/README.md +63 -0
- package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
- package/node_modules/cdk-nag/lib/nag-logger.js +5 -5
- package/node_modules/cdk-nag/lib/nag-pack.d.ts +2 -1
- package/node_modules/cdk-nag/lib/nag-pack.js +9 -5
- package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
- package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
- package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
- package/node_modules/cdk-nag/package.json +1 -1
- package/package.json +8 -8
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/LICENSE +0 -201
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/README.md +0 -11
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-cjs/fetch-http-handler.js +0 -1
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +0 -230
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-cjs/request-timeout.js +0 -1
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-cjs/stream-collector.js +0 -1
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +0 -138
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-es/index.js +0 -2
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-es/request-timeout.js +0 -11
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +0 -27
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +0 -33
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts +0 -2
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/request-timeout.d.ts +0 -1
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +0 -2
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +0 -33
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/index.d.ts +0 -2
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +0 -1
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/stream-collector.d.ts +0 -2
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/package.json +0 -62
package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/validateChecksumFromResponse.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { createChecksumStream } from "@smithy/util-stream";
|
|
1
2
|
import { getChecksum } from "./getChecksum";
|
|
2
3
|
import { getChecksumAlgorithmListForResponse } from "./getChecksumAlgorithmListForResponse";
|
|
3
4
|
import { getChecksumLocationName } from "./getChecksumLocationName";
|
|
5
|
+
import { isStreaming } from "./isStreaming";
|
|
4
6
|
import { selectChecksumAlgorithmFunction } from "./selectChecksumAlgorithmFunction";
|
|
5
7
|
export const validateChecksumFromResponse = async (response, { config, responseAlgorithms }) => {
|
|
6
8
|
const checksumAlgorithms = getChecksumAlgorithmListForResponse(responseAlgorithms);
|
|
@@ -10,8 +12,18 @@ export const validateChecksumFromResponse = async (response, { config, responseA
|
|
|
10
12
|
const checksumFromResponse = responseHeaders[responseHeader];
|
|
11
13
|
if (checksumFromResponse) {
|
|
12
14
|
const checksumAlgorithmFn = selectChecksumAlgorithmFunction(algorithm, config);
|
|
13
|
-
const {
|
|
14
|
-
|
|
15
|
+
const { base64Encoder } = config;
|
|
16
|
+
if (isStreaming(responseBody)) {
|
|
17
|
+
response.body = createChecksumStream({
|
|
18
|
+
expectedChecksum: checksumFromResponse,
|
|
19
|
+
checksumSourceLocation: responseHeader,
|
|
20
|
+
checksum: new checksumAlgorithmFn(),
|
|
21
|
+
source: responseBody,
|
|
22
|
+
base64Encoder,
|
|
23
|
+
});
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
const checksum = await getChecksum(responseBody, { checksumAlgorithmFn, base64Encoder });
|
|
15
27
|
if (checksum === checksumFromResponse) {
|
|
16
28
|
break;
|
|
17
29
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { ChecksumConstructor, Encoder, HashConstructor
|
|
1
|
+
import { ChecksumConstructor, Encoder, HashConstructor } from "@smithy/types";
|
|
2
2
|
export interface GetChecksumDigestOptions {
|
|
3
|
-
streamHasher: StreamHasher<any>;
|
|
4
3
|
checksumAlgorithmFn: ChecksumConstructor | HashConstructor;
|
|
5
4
|
base64Encoder: Encoder;
|
|
6
5
|
}
|
|
7
|
-
export declare const getChecksum: (body: unknown, {
|
|
6
|
+
export declare const getChecksum: (body: unknown, { checksumAlgorithmFn, base64Encoder }: GetChecksumDigestOptions) => Promise<string>;
|
package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getChecksum.d.ts
CHANGED
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ChecksumConstructor,
|
|
3
|
-
Encoder,
|
|
4
|
-
HashConstructor,
|
|
5
|
-
StreamHasher,
|
|
6
|
-
} from "@smithy/types";
|
|
1
|
+
import { ChecksumConstructor, Encoder, HashConstructor } from "@smithy/types";
|
|
7
2
|
export interface GetChecksumDigestOptions {
|
|
8
|
-
streamHasher: StreamHasher<any>;
|
|
9
3
|
checksumAlgorithmFn: ChecksumConstructor | HashConstructor;
|
|
10
4
|
base64Encoder: Encoder;
|
|
11
5
|
}
|
|
12
6
|
export declare const getChecksum: (
|
|
13
7
|
body: unknown,
|
|
14
|
-
{
|
|
8
|
+
{ checksumAlgorithmFn, base64Encoder }: GetChecksumDigestOptions
|
|
15
9
|
) => Promise<string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-flexible-checksums",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.687.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",
|
|
@@ -32,18 +32,19 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@aws-crypto/crc32": "5.2.0",
|
|
34
34
|
"@aws-crypto/crc32c": "5.2.0",
|
|
35
|
-
"@aws-sdk/core": "3.
|
|
36
|
-
"@aws-sdk/types": "3.
|
|
35
|
+
"@aws-sdk/core": "3.686.0",
|
|
36
|
+
"@aws-sdk/types": "3.686.0",
|
|
37
37
|
"@smithy/is-array-buffer": "^3.0.0",
|
|
38
|
-
"@smithy/node-config-provider": "^3.1.
|
|
39
|
-
"@smithy/protocol-http": "^4.1.
|
|
40
|
-
"@smithy/types": "^3.
|
|
41
|
-
"@smithy/util-middleware": "^3.0.
|
|
38
|
+
"@smithy/node-config-provider": "^3.1.9",
|
|
39
|
+
"@smithy/protocol-http": "^4.1.5",
|
|
40
|
+
"@smithy/types": "^3.6.0",
|
|
41
|
+
"@smithy/util-middleware": "^3.0.8",
|
|
42
|
+
"@smithy/util-stream": "^3.2.1",
|
|
42
43
|
"@smithy/util-utf8": "^3.0.0",
|
|
43
44
|
"tslib": "^2.6.2"
|
|
44
45
|
},
|
|
45
46
|
"devDependencies": {
|
|
46
|
-
"@smithy/node-http-handler": "^3.2.
|
|
47
|
+
"@smithy/node-http-handler": "^3.2.5",
|
|
47
48
|
"concurrently": "7.0.0",
|
|
48
49
|
"downlevel-dts": "0.10.1",
|
|
49
50
|
"rimraf": "3.0.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-host-header",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.686.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-host-header",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
27
|
-
"@smithy/protocol-http": "^4.1.
|
|
28
|
-
"@smithy/types": "^3.
|
|
26
|
+
"@aws-sdk/types": "3.686.0",
|
|
27
|
+
"@smithy/protocol-http": "^4.1.5",
|
|
28
|
+
"@smithy/types": "^3.6.0",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-location-constraint",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.686.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-location-constraint",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
27
|
-
"@smithy/types": "^3.
|
|
26
|
+
"@aws-sdk/types": "3.686.0",
|
|
27
|
+
"@smithy/types": "^3.6.0",
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-logger",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.686.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-logger",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"module": "./dist-es/index.js",
|
|
25
25
|
"types": "./dist-types/index.d.ts",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
28
|
-
"@smithy/types": "^3.
|
|
27
|
+
"@aws-sdk/types": "3.686.0",
|
|
28
|
+
"@smithy/types": "^3.6.0",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-recursion-detection",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.686.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-recursion-detection",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
27
|
-
"@smithy/protocol-http": "^4.1.
|
|
28
|
-
"@smithy/types": "^3.
|
|
26
|
+
"@aws-sdk/types": "3.686.0",
|
|
27
|
+
"@smithy/protocol-http": "^4.1.5",
|
|
28
|
+
"@smithy/types": "^3.6.0",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-sdk-route53",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.686.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-sdk-route53",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
27
|
-
"@smithy/types": "^3.
|
|
26
|
+
"@aws-sdk/types": "3.686.0",
|
|
27
|
+
"@smithy/types": "^3.6.0",
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-sdk-s3",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.687.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-sdk-s3",
|
|
@@ -26,18 +26,18 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/core": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
29
|
+
"@aws-sdk/core": "3.686.0",
|
|
30
|
+
"@aws-sdk/types": "3.686.0",
|
|
31
31
|
"@aws-sdk/util-arn-parser": "3.679.0",
|
|
32
|
-
"@smithy/core": "^2.
|
|
33
|
-
"@smithy/node-config-provider": "^3.1.
|
|
34
|
-
"@smithy/protocol-http": "^4.1.
|
|
32
|
+
"@smithy/core": "^2.5.1",
|
|
33
|
+
"@smithy/node-config-provider": "^3.1.9",
|
|
34
|
+
"@smithy/protocol-http": "^4.1.5",
|
|
35
35
|
"@smithy/signature-v4": "^4.2.0",
|
|
36
|
-
"@smithy/smithy-client": "^3.4.
|
|
37
|
-
"@smithy/types": "^3.
|
|
36
|
+
"@smithy/smithy-client": "^3.4.2",
|
|
37
|
+
"@smithy/types": "^3.6.0",
|
|
38
38
|
"@smithy/util-config-provider": "^3.0.0",
|
|
39
|
-
"@smithy/util-middleware": "^3.0.
|
|
40
|
-
"@smithy/util-stream": "^3.1
|
|
39
|
+
"@smithy/util-middleware": "^3.0.8",
|
|
40
|
+
"@smithy/util-stream": "^3.2.1",
|
|
41
41
|
"@smithy/util-utf8": "^3.0.0",
|
|
42
42
|
"tslib": "^2.6.2"
|
|
43
43
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-ssec",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.686.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-ssec",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
27
|
-
"@smithy/types": "^3.
|
|
26
|
+
"@aws-sdk/types": "3.686.0",
|
|
27
|
+
"@smithy/types": "^3.6.0",
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.687.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-user-agent",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/core": "3.
|
|
28
|
-
"@aws-sdk/types": "3.
|
|
29
|
-
"@aws-sdk/util-endpoints": "3.
|
|
30
|
-
"@smithy/core": "^2.
|
|
31
|
-
"@smithy/protocol-http": "^4.1.
|
|
32
|
-
"@smithy/types": "^3.
|
|
27
|
+
"@aws-sdk/core": "3.686.0",
|
|
28
|
+
"@aws-sdk/types": "3.686.0",
|
|
29
|
+
"@aws-sdk/util-endpoints": "3.686.0",
|
|
30
|
+
"@smithy/core": "^2.5.1",
|
|
31
|
+
"@smithy/protocol-http": "^4.1.5",
|
|
32
|
+
"@smithy/types": "^3.6.0",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/region-config-resolver",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.686.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 region-config-resolver",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
26
|
-
"@smithy/node-config-provider": "^3.1.
|
|
27
|
-
"@smithy/types": "^3.
|
|
25
|
+
"@aws-sdk/types": "3.686.0",
|
|
26
|
+
"@smithy/node-config-provider": "^3.1.9",
|
|
27
|
+
"@smithy/types": "^3.6.0",
|
|
28
28
|
"@smithy/util-config-provider": "^3.0.0",
|
|
29
|
-
"@smithy/util-middleware": "^3.0.
|
|
29
|
+
"@smithy/util-middleware": "^3.0.8",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/signature-v4-multi-region",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.687.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 signature-v4-multi-region",
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/middleware-sdk-s3": "3.
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
26
|
-
"@smithy/protocol-http": "^4.1.
|
|
24
|
+
"@aws-sdk/middleware-sdk-s3": "3.687.0",
|
|
25
|
+
"@aws-sdk/types": "3.686.0",
|
|
26
|
+
"@smithy/protocol-http": "^4.1.5",
|
|
27
27
|
"@smithy/signature-v4": "^4.2.0",
|
|
28
|
-
"@smithy/types": "^3.
|
|
28
|
+
"@smithy/types": "^3.6.0",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.686.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
},
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
30
|
+
"@aws-sdk/types": "3.686.0",
|
|
31
31
|
"@smithy/property-provider": "^3.1.7",
|
|
32
32
|
"@smithy/shared-ini-file-loader": "^3.1.8",
|
|
33
|
-
"@smithy/types": "^3.
|
|
33
|
+
"@smithy/types": "^3.6.0",
|
|
34
34
|
"tslib": "^2.6.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"typescript": "~4.9.5"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@aws-sdk/client-sso-oidc": "^3.
|
|
45
|
+
"@aws-sdk/client-sso-oidc": "^3.686.0"
|
|
46
46
|
},
|
|
47
47
|
"types": "./dist-types/index.d.ts",
|
|
48
48
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/types",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.686.0",
|
|
4
4
|
"main": "./dist-cjs/index.js",
|
|
5
5
|
"module": "./dist-es/index.js",
|
|
6
6
|
"types": "./dist-types/index.d.ts",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"directory": "packages/types"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@smithy/types": "^3.
|
|
44
|
+
"@smithy/types": "^3.6.0",
|
|
45
45
|
"tslib": "^2.6.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-endpoints",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.686.0",
|
|
4
4
|
"description": "Utilities to help with endpoint resolution",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
28
|
-
"@smithy/types": "^3.
|
|
29
|
-
"@smithy/util-endpoints": "^2.1.
|
|
27
|
+
"@aws-sdk/types": "3.686.0",
|
|
28
|
+
"@smithy/types": "^3.6.0",
|
|
29
|
+
"@smithy/util-endpoints": "^2.1.4",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-browser",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.686.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 util-user-agent-browser",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"react-native": "dist-es/index.native.js",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
27
|
-
"@smithy/types": "^3.
|
|
26
|
+
"@aws-sdk/types": "3.686.0",
|
|
27
|
+
"@smithy/types": "^3.6.0",
|
|
28
28
|
"bowser": "^2.11.0",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.687.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 util-user-agent-node",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
26
|
-
"@smithy/node-config-provider": "^3.1.
|
|
27
|
-
"@smithy/types": "^3.
|
|
24
|
+
"@aws-sdk/middleware-user-agent": "3.687.0",
|
|
25
|
+
"@aws-sdk/types": "3.686.0",
|
|
26
|
+
"@smithy/node-config-provider": "^3.1.9",
|
|
27
|
+
"@smithy/types": "^3.6.0",
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
@@ -192,19 +192,12 @@ __name(_FetchHttpHandler, "FetchHttpHandler");
|
|
|
192
192
|
var FetchHttpHandler = _FetchHttpHandler;
|
|
193
193
|
|
|
194
194
|
// src/stream-collector.ts
|
|
195
|
-
var
|
|
196
|
-
var streamCollector = /* @__PURE__ */ __name((stream) => {
|
|
195
|
+
var streamCollector = /* @__PURE__ */ __name(async (stream) => {
|
|
197
196
|
if (typeof Blob === "function" && stream instanceof Blob) {
|
|
198
|
-
return
|
|
197
|
+
return new Uint8Array(await stream.arrayBuffer());
|
|
199
198
|
}
|
|
200
199
|
return collectStream(stream);
|
|
201
200
|
}, "streamCollector");
|
|
202
|
-
async function collectBlob(blob) {
|
|
203
|
-
const base64 = await readToBase64(blob);
|
|
204
|
-
const arrayBuffer = (0, import_util_base64.fromBase64)(base64);
|
|
205
|
-
return new Uint8Array(arrayBuffer);
|
|
206
|
-
}
|
|
207
|
-
__name(collectBlob, "collectBlob");
|
|
208
201
|
async function collectStream(stream) {
|
|
209
202
|
const chunks = [];
|
|
210
203
|
const reader = stream.getReader();
|
|
@@ -227,24 +220,6 @@ async function collectStream(stream) {
|
|
|
227
220
|
return collected;
|
|
228
221
|
}
|
|
229
222
|
__name(collectStream, "collectStream");
|
|
230
|
-
function readToBase64(blob) {
|
|
231
|
-
return new Promise((resolve, reject) => {
|
|
232
|
-
const reader = new FileReader();
|
|
233
|
-
reader.onloadend = () => {
|
|
234
|
-
if (reader.readyState !== 2) {
|
|
235
|
-
return reject(new Error("Reader aborted too early"));
|
|
236
|
-
}
|
|
237
|
-
const result = reader.result ?? "";
|
|
238
|
-
const commaIndex = result.indexOf(",");
|
|
239
|
-
const dataOffset = commaIndex > -1 ? commaIndex + 1 : result.length;
|
|
240
|
-
resolve(result.substring(dataOffset));
|
|
241
|
-
};
|
|
242
|
-
reader.onabort = () => reject(new Error("Read aborted"));
|
|
243
|
-
reader.onerror = () => reject(reader.error);
|
|
244
|
-
reader.readAsDataURL(blob);
|
|
245
|
-
});
|
|
246
|
-
}
|
|
247
|
-
__name(readToBase64, "readToBase64");
|
|
248
223
|
// Annotate the CommonJS export names for ESM import in node:
|
|
249
224
|
|
|
250
225
|
0 && (module.exports = {
|
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
export const streamCollector = (stream) => {
|
|
1
|
+
export const streamCollector = async (stream) => {
|
|
3
2
|
if (typeof Blob === "function" && stream instanceof Blob) {
|
|
4
|
-
return
|
|
3
|
+
return new Uint8Array(await stream.arrayBuffer());
|
|
5
4
|
}
|
|
6
5
|
return collectStream(stream);
|
|
7
6
|
};
|
|
8
|
-
async function collectBlob(blob) {
|
|
9
|
-
const base64 = await readToBase64(blob);
|
|
10
|
-
const arrayBuffer = fromBase64(base64);
|
|
11
|
-
return new Uint8Array(arrayBuffer);
|
|
12
|
-
}
|
|
13
7
|
async function collectStream(stream) {
|
|
14
8
|
const chunks = [];
|
|
15
9
|
const reader = stream.getReader();
|
|
@@ -31,20 +25,3 @@ async function collectStream(stream) {
|
|
|
31
25
|
}
|
|
32
26
|
return collected;
|
|
33
27
|
}
|
|
34
|
-
function readToBase64(blob) {
|
|
35
|
-
return new Promise((resolve, reject) => {
|
|
36
|
-
const reader = new FileReader();
|
|
37
|
-
reader.onloadend = () => {
|
|
38
|
-
if (reader.readyState !== 2) {
|
|
39
|
-
return reject(new Error("Reader aborted too early"));
|
|
40
|
-
}
|
|
41
|
-
const result = (reader.result ?? "");
|
|
42
|
-
const commaIndex = result.indexOf(",");
|
|
43
|
-
const dataOffset = commaIndex > -1 ? commaIndex + 1 : result.length;
|
|
44
|
-
resolve(result.substring(dataOffset));
|
|
45
|
-
};
|
|
46
|
-
reader.onabort = () => reject(new Error("Read aborted"));
|
|
47
|
-
reader.onerror = () => reject(reader.error);
|
|
48
|
-
reader.readAsDataURL(blob);
|
|
49
|
-
});
|
|
50
|
-
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/fetch-http-handler",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
"module": "./dist-es/index.js",
|
|
25
25
|
"types": "./dist-types/index.d.ts",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/protocol-http": "^4.1.
|
|
28
|
-
"@smithy/querystring-builder": "^3.0.
|
|
29
|
-
"@smithy/types": "^3.
|
|
27
|
+
"@smithy/protocol-http": "^4.1.5",
|
|
28
|
+
"@smithy/querystring-builder": "^3.0.8",
|
|
29
|
+
"@smithy/types": "^3.6.0",
|
|
30
30
|
"@smithy/util-base64": "^3.0.0",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@smithy/abort-controller": "^3.1.
|
|
34
|
+
"@smithy/abort-controller": "^3.1.6",
|
|
35
35
|
"concurrently": "7.0.0",
|
|
36
36
|
"downlevel-dts": "0.10.1",
|
|
37
37
|
"rimraf": "3.0.2",
|