@mavogel/awscdk-rootmail 0.0.203 → 0.0.205
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/dist-types/commands/AbortMultipartUploadCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +7 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +5 -0
- package/node_modules/@aws-sdk/client-s3/package.json +57 -57
- package/node_modules/@aws-sdk/client-ses/package.json +36 -36
- package/node_modules/@aws-sdk/client-ssm/package.json +36 -36
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +34 -34
- package/node_modules/@aws-sdk/client-sts/README.md +8 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +89 -12
- package/node_modules/@aws-sdk/client-sts/dist-es/STS.js +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRootCommand.js +23 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/index.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js +4 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +53 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +7 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +3 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +13 -13
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +8 -8
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +15 -30
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRootCommand.d.ts +129 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +8 -8
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +6 -6
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +146 -32
- package/node_modules/@aws-sdk/client-sts/dist-types/protocols/Aws_query.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STS.d.ts +17 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +6 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRootCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/models_0.d.ts +12 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/protocols/Aws_query.d.ts +12 -0
- package/node_modules/@aws-sdk/client-sts/package.json +36 -36
- package/node_modules/@aws-sdk/core/package.json +14 -14
- package/node_modules/@aws-sdk/credential-provider-env/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-http/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +15 -15
- package/node_modules/@aws-sdk/credential-provider-node/package.json +14 -14
- package/node_modules/@aws-sdk/credential-provider-process/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +8 -8
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +8 -8
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +8 -8
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +13 -13
- package/node_modules/@aws-sdk/middleware-host-header/package.json +8 -8
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-logger/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +8 -8
- package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +19 -18
- package/node_modules/@aws-sdk/middleware-ssec/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +11 -11
- package/node_modules/@aws-sdk/region-config-resolver/package.json +7 -7
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +8 -8
- package/node_modules/@aws-sdk/token-providers/package.json +8 -8
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-arn-parser/package.json +3 -3
- package/node_modules/@aws-sdk/util-endpoints/package.json +8 -8
- package/node_modules/@aws-sdk/util-locate-window/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +5 -5
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +7 -7
- package/node_modules/@aws-sdk/xml-builder/package.json +4 -4
- package/node_modules/@smithy/abort-controller/package.json +4 -3
- package/node_modules/@smithy/config-resolver/package.json +7 -6
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +21 -20
- package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +1 -1
- package/node_modules/@smithy/core/package.json +10 -9
- package/node_modules/@smithy/credential-provider-imds/package.json +7 -7
- package/node_modules/@smithy/eventstream-codec/package.json +4 -3
- package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +5 -4
- package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-universal/package.json +5 -4
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/create-request.js +1 -0
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +10 -3
- package/node_modules/@smithy/fetch-http-handler/dist-es/create-request.js +3 -0
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +3 -2
- package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +1 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts +6 -0
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +6 -0
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts +6 -0
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +6 -0
- package/node_modules/@smithy/fetch-http-handler/package.json +9 -6
- package/node_modules/@smithy/hash-blob-browser/package.json +4 -3
- package/node_modules/@smithy/hash-node/package.json +4 -3
- package/node_modules/@smithy/hash-stream-node/package.json +4 -3
- package/node_modules/@smithy/invalid-dependency/package.json +4 -3
- package/node_modules/@smithy/md5-js/package.json +4 -3
- package/node_modules/@smithy/middleware-content-length/package.json +5 -4
- package/node_modules/@smithy/middleware-endpoint/package.json +11 -10
- package/node_modules/@smithy/middleware-retry/package.json +12 -10
- package/node_modules/@smithy/middleware-serde/package.json +6 -4
- package/node_modules/@smithy/middleware-stack/package.json +4 -3
- package/node_modules/@smithy/node-config-provider/package.json +6 -5
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +20 -14
- package/node_modules/@smithy/node-http-handler/dist-cjs/timing.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +5 -4
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +9 -2
- package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +5 -4
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
- package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +4 -3
- package/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +8 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +8 -0
- package/node_modules/@smithy/node-http-handler/package.json +7 -6
- package/node_modules/@smithy/property-provider/package.json +4 -3
- package/node_modules/@smithy/protocol-http/package.json +4 -3
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +4 -3
- package/node_modules/@smithy/service-error-classification/package.json +4 -3
- package/node_modules/@smithy/shared-ini-file-loader/package.json +4 -3
- package/node_modules/@smithy/signature-v4/package.json +6 -5
- package/node_modules/@smithy/smithy-client/package.json +9 -8
- package/node_modules/@smithy/types/dist-types/http.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +3 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +3 -2
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +5 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -5
- package/node_modules/@smithy/util-defaults-mode-node/package.json +9 -8
- package/node_modules/@smithy/util-endpoints/package.json +7 -5
- package/node_modules/@smithy/util-middleware/package.json +4 -3
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +5 -1
- package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +2 -1
- package/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts +4 -0
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/DefaultRateLimiter.d.ts +4 -0
- package/node_modules/@smithy/util-retry/package.json +5 -4
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +1 -2
- package/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +1 -1
- package/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +6 -1
- package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +0 -1
- package/node_modules/@smithy/util-stream/dist-es/splitStream.js +2 -2
- package/node_modules/@smithy/util-stream/dist-es/stream-type-check.js +3 -0
- package/node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts +4 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +4 -0
- package/node_modules/@smithy/util-stream/package.json +10 -6
- package/node_modules/@smithy/util-waiter/package.json +5 -4
- package/node_modules/cdk-nag/.jsii +3 -3
- package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
- package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
- package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
- 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/lib/rules/cognito/CognitoUserPoolAPIGWAuthorizer.js +5 -1
- package/node_modules/cdk-nag/package.json +4 -4
- package/package.json +11 -11
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/smithy-client",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.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",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
13
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
14
14
|
"extract:docs": "api-extractor run --local",
|
|
15
|
-
"test": "yarn g:
|
|
15
|
+
"test": "yarn g:vitest run",
|
|
16
|
+
"test:watch": "yarn g:vitest watch"
|
|
16
17
|
},
|
|
17
18
|
"main": "./dist-cjs/index.js",
|
|
18
19
|
"module": "./dist-es/index.js",
|
|
@@ -23,12 +24,12 @@
|
|
|
23
24
|
},
|
|
24
25
|
"license": "Apache-2.0",
|
|
25
26
|
"dependencies": {
|
|
26
|
-
"@smithy/core": "^2.5.
|
|
27
|
-
"@smithy/middleware-endpoint": "^3.2.
|
|
28
|
-
"@smithy/middleware-stack": "^3.0.
|
|
29
|
-
"@smithy/protocol-http": "^4.1.
|
|
30
|
-
"@smithy/types": "^3.
|
|
31
|
-
"@smithy/util-stream": "^3.
|
|
27
|
+
"@smithy/core": "^2.5.3",
|
|
28
|
+
"@smithy/middleware-endpoint": "^3.2.3",
|
|
29
|
+
"@smithy/middleware-stack": "^3.0.10",
|
|
30
|
+
"@smithy/protocol-http": "^4.1.7",
|
|
31
|
+
"@smithy/types": "^3.7.1",
|
|
32
|
+
"@smithy/util-stream": "^3.3.1",
|
|
32
33
|
"tslib": "^2.6.2"
|
|
33
34
|
},
|
|
34
35
|
"engines": {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { InvokeMethod, InvokeMethodOptionalArgs } from "../client";
|
|
2
2
|
import type { GetOutputType } from "../command";
|
|
3
|
+
import type { DocumentType } from "../shapes";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*
|
|
@@ -29,7 +30,7 @@ export type UncheckedClient<Client extends object> = UncheckedClientOutputTypes<
|
|
|
29
30
|
*
|
|
30
31
|
* Excludes undefined recursively.
|
|
31
32
|
*/
|
|
32
|
-
export type NoUndefined<T> = T extends Function ? T : [T] extends [object] ? {
|
|
33
|
+
export type NoUndefined<T> = T extends Function ? T : T extends DocumentType ? T : [T] extends [object] ? {
|
|
33
34
|
[key in keyof T]: NoUndefined<T[key]>;
|
|
34
35
|
} : Exclude<T, undefined>;
|
|
35
36
|
/**
|
|
@@ -37,7 +38,7 @@ export type NoUndefined<T> = T extends Function ? T : [T] extends [object] ? {
|
|
|
37
38
|
*
|
|
38
39
|
* Excludes undefined and optional recursively.
|
|
39
40
|
*/
|
|
40
|
-
export type RecursiveRequired<T> = T extends Function ? T : [T] extends [object] ? {
|
|
41
|
+
export type RecursiveRequired<T> = T extends Function ? T : T extends DocumentType ? T : [T] extends [object] ? {
|
|
41
42
|
[key in keyof T]-?: RecursiveRequired<T[key]>;
|
|
42
43
|
} : Exclude<T, undefined>;
|
|
43
44
|
/**
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { InvokeMethod, InvokeMethodOptionalArgs } from "../client";
|
|
2
2
|
import { GetOutputType } from "../command";
|
|
3
|
+
import { DocumentType } from "../shapes";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*
|
|
@@ -29,7 +30,7 @@ export type UncheckedClient<Client extends object> = UncheckedClientOutputTypes<
|
|
|
29
30
|
*
|
|
30
31
|
* Excludes undefined recursively.
|
|
31
32
|
*/
|
|
32
|
-
export type NoUndefined<T> = T extends Function ? T : [
|
|
33
|
+
export type NoUndefined<T> = T extends Function ? T : T extends DocumentType ? T : [
|
|
33
34
|
T
|
|
34
35
|
] extends [
|
|
35
36
|
object
|
|
@@ -41,7 +42,7 @@ export type NoUndefined<T> = T extends Function ? T : [
|
|
|
41
42
|
*
|
|
42
43
|
* Excludes undefined and optional recursively.
|
|
43
44
|
*/
|
|
44
|
-
export type RecursiveRequired<T> = T extends Function ? T : [
|
|
45
|
+
export type RecursiveRequired<T> = T extends Function ? T : T extends DocumentType ? T : [
|
|
45
46
|
T
|
|
46
47
|
] extends [
|
|
47
48
|
object
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/url-parser",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.10",
|
|
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 url-parser",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
13
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
14
|
-
"test": "yarn g:
|
|
14
|
+
"test": "yarn g:vitest run",
|
|
15
|
+
"test:watch": "yarn g:vitest watch"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"module": "./dist-es/index.js",
|
|
@@ -22,8 +23,8 @@
|
|
|
22
23
|
},
|
|
23
24
|
"license": "Apache-2.0",
|
|
24
25
|
"dependencies": {
|
|
25
|
-
"@smithy/querystring-parser": "^3.0.
|
|
26
|
-
"@smithy/types": "^3.
|
|
26
|
+
"@smithy/querystring-parser": "^3.0.10",
|
|
27
|
+
"@smithy/types": "^3.7.1",
|
|
27
28
|
"tslib": "^2.6.2"
|
|
28
29
|
},
|
|
29
30
|
"typesVersions": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.27",
|
|
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",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
13
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
14
|
-
"test": "yarn g:
|
|
14
|
+
"test": "yarn g:vitest run",
|
|
15
|
+
"test:watch": "yarn g:vitest watch"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"module": "./dist-es/index.js",
|
|
@@ -22,9 +23,9 @@
|
|
|
22
23
|
},
|
|
23
24
|
"license": "Apache-2.0",
|
|
24
25
|
"dependencies": {
|
|
25
|
-
"@smithy/property-provider": "^3.1.
|
|
26
|
-
"@smithy/smithy-client": "^3.4.
|
|
27
|
-
"@smithy/types": "^3.
|
|
26
|
+
"@smithy/property-provider": "^3.1.10",
|
|
27
|
+
"@smithy/smithy-client": "^3.4.4",
|
|
28
|
+
"@smithy/types": "^3.7.1",
|
|
28
29
|
"bowser": "^2.11.0",
|
|
29
30
|
"tslib": "^2.6.2"
|
|
30
31
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.27",
|
|
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",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
13
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
14
|
-
"test": "yarn g:
|
|
14
|
+
"test": "yarn g:vitest run",
|
|
15
|
+
"test:watch": "yarn g:vitest watch"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"module": "./dist-es/index.js",
|
|
@@ -22,12 +23,12 @@
|
|
|
22
23
|
},
|
|
23
24
|
"license": "Apache-2.0",
|
|
24
25
|
"dependencies": {
|
|
25
|
-
"@smithy/config-resolver": "^3.0.
|
|
26
|
-
"@smithy/credential-provider-imds": "^3.2.
|
|
27
|
-
"@smithy/node-config-provider": "^3.1.
|
|
28
|
-
"@smithy/property-provider": "^3.1.
|
|
29
|
-
"@smithy/smithy-client": "^3.4.
|
|
30
|
-
"@smithy/types": "^3.
|
|
26
|
+
"@smithy/config-resolver": "^3.0.12",
|
|
27
|
+
"@smithy/credential-provider-imds": "^3.2.7",
|
|
28
|
+
"@smithy/node-config-provider": "^3.1.11",
|
|
29
|
+
"@smithy/property-provider": "^3.1.10",
|
|
30
|
+
"@smithy/smithy-client": "^3.4.4",
|
|
31
|
+
"@smithy/types": "^3.7.1",
|
|
31
32
|
"tslib": "^2.6.2"
|
|
32
33
|
},
|
|
33
34
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-endpoints",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.6",
|
|
4
4
|
"description": "Utilities to help with endpoint resolution.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -14,8 +14,10 @@
|
|
|
14
14
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
15
15
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
16
16
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
17
|
-
"test": "yarn g:
|
|
18
|
-
"test:integration": "yarn g:
|
|
17
|
+
"test": "yarn g:vitest run",
|
|
18
|
+
"test:integration": "yarn g:vitest run -c vitest.config.integ.ts",
|
|
19
|
+
"test:watch": "yarn g:vitest watch",
|
|
20
|
+
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.ts"
|
|
19
21
|
},
|
|
20
22
|
"keywords": [
|
|
21
23
|
"endpoint"
|
|
@@ -26,8 +28,8 @@
|
|
|
26
28
|
},
|
|
27
29
|
"license": "Apache-2.0",
|
|
28
30
|
"dependencies": {
|
|
29
|
-
"@smithy/node-config-provider": "^3.1.
|
|
30
|
-
"@smithy/types": "^3.
|
|
31
|
+
"@smithy/node-config-provider": "^3.1.11",
|
|
32
|
+
"@smithy/types": "^3.7.1",
|
|
31
33
|
"tslib": "^2.6.2"
|
|
32
34
|
},
|
|
33
35
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-middleware",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.10",
|
|
4
4
|
"description": "Shared utilities for to be used in middleware packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
15
15
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
16
16
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
17
|
-
"test": "yarn g:
|
|
17
|
+
"test": "yarn g:vitest run",
|
|
18
|
+
"test:watch": "yarn g:vitest watch"
|
|
18
19
|
},
|
|
19
20
|
"keywords": [
|
|
20
21
|
"aws",
|
|
@@ -26,7 +27,7 @@
|
|
|
26
27
|
},
|
|
27
28
|
"license": "Apache-2.0",
|
|
28
29
|
"dependencies": {
|
|
29
|
-
"@smithy/types": "^3.
|
|
30
|
+
"@smithy/types": "^3.7.1",
|
|
30
31
|
"tslib": "^2.6.2"
|
|
31
32
|
},
|
|
32
33
|
"devDependencies": {
|
|
@@ -84,7 +84,7 @@ var _DefaultRateLimiter = class _DefaultRateLimiter {
|
|
|
84
84
|
this.refillTokenBucket();
|
|
85
85
|
if (amount > this.currentCapacity) {
|
|
86
86
|
const delay = (amount - this.currentCapacity) / this.fillRate * 1e3;
|
|
87
|
-
await new Promise((resolve) =>
|
|
87
|
+
await new Promise((resolve) => _DefaultRateLimiter.setTimeoutFn(resolve, delay));
|
|
88
88
|
}
|
|
89
89
|
this.currentCapacity = this.currentCapacity - amount;
|
|
90
90
|
}
|
|
@@ -151,6 +151,10 @@ var _DefaultRateLimiter = class _DefaultRateLimiter {
|
|
|
151
151
|
}
|
|
152
152
|
};
|
|
153
153
|
__name(_DefaultRateLimiter, "DefaultRateLimiter");
|
|
154
|
+
/**
|
|
155
|
+
* Only used in testing.
|
|
156
|
+
*/
|
|
157
|
+
_DefaultRateLimiter.setTimeoutFn = setTimeout;
|
|
154
158
|
var DefaultRateLimiter = _DefaultRateLimiter;
|
|
155
159
|
|
|
156
160
|
// src/constants.ts
|
|
@@ -32,7 +32,7 @@ export class DefaultRateLimiter {
|
|
|
32
32
|
this.refillTokenBucket();
|
|
33
33
|
if (amount > this.currentCapacity) {
|
|
34
34
|
const delay = ((amount - this.currentCapacity) / this.fillRate) * 1000;
|
|
35
|
-
await new Promise((resolve) =>
|
|
35
|
+
await new Promise((resolve) => DefaultRateLimiter.setTimeoutFn(resolve, delay));
|
|
36
36
|
}
|
|
37
37
|
this.currentCapacity = this.currentCapacity - amount;
|
|
38
38
|
}
|
|
@@ -97,3 +97,4 @@ export class DefaultRateLimiter {
|
|
|
97
97
|
return parseFloat(num.toFixed(8));
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
+
DefaultRateLimiter.setTimeoutFn = setTimeout;
|
|
@@ -13,6 +13,10 @@ export interface DefaultRateLimiterOptions {
|
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
15
|
export declare class DefaultRateLimiter implements RateLimiter {
|
|
16
|
+
/**
|
|
17
|
+
* Only used in testing.
|
|
18
|
+
*/
|
|
19
|
+
private static setTimeoutFn;
|
|
16
20
|
private beta;
|
|
17
21
|
private minCapacity;
|
|
18
22
|
private minFillRate;
|
|
@@ -13,6 +13,10 @@ export interface DefaultRateLimiterOptions {
|
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
15
|
export declare class DefaultRateLimiter implements RateLimiter {
|
|
16
|
+
/**
|
|
17
|
+
* Only used in testing.
|
|
18
|
+
*/
|
|
19
|
+
private static setTimeoutFn;
|
|
16
20
|
private beta;
|
|
17
21
|
private minCapacity;
|
|
18
22
|
private minFillRate;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-retry",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.10",
|
|
4
4
|
"description": "Shared retry utilities to be used in middleware packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
16
16
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
17
17
|
"extract:docs": "api-extractor run --local",
|
|
18
|
-
"test": "yarn g:
|
|
18
|
+
"test": "yarn g:vitest run",
|
|
19
|
+
"test:watch": "yarn g:vitest watch"
|
|
19
20
|
},
|
|
20
21
|
"keywords": [
|
|
21
22
|
"aws",
|
|
@@ -27,8 +28,8 @@
|
|
|
27
28
|
},
|
|
28
29
|
"license": "Apache-2.0",
|
|
29
30
|
"dependencies": {
|
|
30
|
-
"@smithy/service-error-classification": "^3.0.
|
|
31
|
-
"@smithy/types": "^3.
|
|
31
|
+
"@smithy/service-error-classification": "^3.0.10",
|
|
32
|
+
"@smithy/types": "^3.7.1",
|
|
32
33
|
"tslib": "^2.6.2"
|
|
33
34
|
},
|
|
34
35
|
"devDependencies": {
|
|
@@ -4,7 +4,6 @@ exports.sdkStreamMixin = void 0;
|
|
|
4
4
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
5
5
|
const util_buffer_from_1 = require("@smithy/util-buffer-from");
|
|
6
6
|
const stream_1 = require("stream");
|
|
7
|
-
const util_1 = require("util");
|
|
8
7
|
const sdk_stream_mixin_browser_1 = require("./sdk-stream-mixin.browser");
|
|
9
8
|
const ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed.";
|
|
10
9
|
const sdkStreamMixin = (stream) => {
|
|
@@ -34,7 +33,7 @@ const sdkStreamMixin = (stream) => {
|
|
|
34
33
|
return (0, util_buffer_from_1.fromArrayBuffer)(buf.buffer, buf.byteOffset, buf.byteLength).toString(encoding);
|
|
35
34
|
}
|
|
36
35
|
else {
|
|
37
|
-
const decoder = new
|
|
36
|
+
const decoder = new TextDecoder(encoding);
|
|
38
37
|
return decoder.decode(buf);
|
|
39
38
|
}
|
|
40
39
|
},
|
|
@@ -5,7 +5,7 @@ const stream_1 = require("stream");
|
|
|
5
5
|
const splitStream_browser_1 = require("./splitStream.browser");
|
|
6
6
|
const stream_type_check_1 = require("./stream-type-check");
|
|
7
7
|
async function splitStream(stream) {
|
|
8
|
-
if ((0, stream_type_check_1.isReadableStream)(stream)) {
|
|
8
|
+
if ((0, stream_type_check_1.isReadableStream)(stream) || (0, stream_type_check_1.isBlob)(stream)) {
|
|
9
9
|
return (0, splitStream_browser_1.splitStream)(stream);
|
|
10
10
|
}
|
|
11
11
|
const stream1 = new stream_1.PassThrough();
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isReadableStream = void 0;
|
|
3
|
+
exports.isBlob = exports.isReadableStream = void 0;
|
|
4
4
|
const isReadableStream = (stream) => {
|
|
5
5
|
var _a;
|
|
6
6
|
return typeof ReadableStream === "function" &&
|
|
7
7
|
(((_a = stream === null || stream === void 0 ? void 0 : stream.constructor) === null || _a === void 0 ? void 0 : _a.name) === ReadableStream.name || stream instanceof ReadableStream);
|
|
8
8
|
};
|
|
9
9
|
exports.isReadableStream = isReadableStream;
|
|
10
|
+
const isBlob = (blob) => {
|
|
11
|
+
var _a;
|
|
12
|
+
return typeof Blob === "function" && (((_a = blob === null || blob === void 0 ? void 0 : blob.constructor) === null || _a === void 0 ? void 0 : _a.name) === Blob.name || blob instanceof Blob);
|
|
13
|
+
};
|
|
14
|
+
exports.isBlob = isBlob;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { streamCollector } from "@smithy/node-http-handler";
|
|
2
2
|
import { fromArrayBuffer } from "@smithy/util-buffer-from";
|
|
3
3
|
import { Readable } from "stream";
|
|
4
|
-
import { TextDecoder } from "util";
|
|
5
4
|
import { sdkStreamMixin as sdkStreamMixinReadableStream } from "./sdk-stream-mixin.browser";
|
|
6
5
|
const ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed.";
|
|
7
6
|
export const sdkStreamMixin = (stream) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PassThrough } from "stream";
|
|
2
2
|
import { splitStream as splitWebStream } from "./splitStream.browser";
|
|
3
|
-
import { isReadableStream } from "./stream-type-check";
|
|
3
|
+
import { isBlob, isReadableStream } from "./stream-type-check";
|
|
4
4
|
export async function splitStream(stream) {
|
|
5
|
-
if (isReadableStream(stream)) {
|
|
5
|
+
if (isReadableStream(stream) || isBlob(stream)) {
|
|
6
6
|
return splitWebStream(stream);
|
|
7
7
|
}
|
|
8
8
|
const stream1 = new PassThrough();
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
export const isReadableStream = (stream) => typeof ReadableStream === "function" &&
|
|
2
2
|
(stream?.constructor?.name === ReadableStream.name || stream instanceof ReadableStream);
|
|
3
|
+
export const isBlob = (blob) => {
|
|
4
|
+
return typeof Blob === "function" && (blob?.constructor?.name === Blob.name || blob instanceof Blob);
|
|
5
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-stream",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.1",
|
|
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",
|
|
@@ -12,8 +12,12 @@
|
|
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
13
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
14
14
|
"extract:docs": "api-extractor run --local",
|
|
15
|
-
"test": "yarn g:
|
|
16
|
-
"test:integration": "yarn g:
|
|
15
|
+
"test": "yarn g:vitest run && yarn test:browser",
|
|
16
|
+
"test:integration": "yarn g:vitest run -c vitest.config.integ.ts",
|
|
17
|
+
"test:watch": "yarn g:vitest watch",
|
|
18
|
+
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.ts",
|
|
19
|
+
"test:browser": "yarn g:vitest run -c vitest.config.browser.ts",
|
|
20
|
+
"test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.ts"
|
|
17
21
|
},
|
|
18
22
|
"main": "./dist-cjs/index.js",
|
|
19
23
|
"module": "./dist-es/index.js",
|
|
@@ -24,9 +28,9 @@
|
|
|
24
28
|
},
|
|
25
29
|
"license": "Apache-2.0",
|
|
26
30
|
"dependencies": {
|
|
27
|
-
"@smithy/fetch-http-handler": "^4.
|
|
28
|
-
"@smithy/node-http-handler": "^3.
|
|
29
|
-
"@smithy/types": "^3.
|
|
31
|
+
"@smithy/fetch-http-handler": "^4.1.1",
|
|
32
|
+
"@smithy/node-http-handler": "^3.3.1",
|
|
33
|
+
"@smithy/types": "^3.7.1",
|
|
30
34
|
"@smithy/util-base64": "^3.0.0",
|
|
31
35
|
"@smithy/util-buffer-from": "^3.0.0",
|
|
32
36
|
"@smithy/util-hex-encoding": "^3.0.0",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-waiter",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.9",
|
|
4
4
|
"description": "Shared utilities for client waiters for the AWS SDK",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@smithy/abort-controller": "^3.1.
|
|
7
|
-
"@smithy/types": "^3.
|
|
6
|
+
"@smithy/abort-controller": "^3.1.8",
|
|
7
|
+
"@smithy/types": "^3.7.1",
|
|
8
8
|
"tslib": "^2.6.2"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
18
18
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
19
19
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
20
|
-
"test": "yarn g:
|
|
20
|
+
"test": "yarn g:vitest run",
|
|
21
|
+
"test:watch": "yarn g:vitest watch"
|
|
21
22
|
},
|
|
22
23
|
"author": {
|
|
23
24
|
"name": "AWS SDK for JavaScript Team",
|
|
@@ -3834,7 +3834,7 @@
|
|
|
3834
3834
|
"stability": "stable"
|
|
3835
3835
|
},
|
|
3836
3836
|
"homepage": "https://github.com/cdklabs/cdk-nag.git",
|
|
3837
|
-
"jsiiVersion": "1.
|
|
3837
|
+
"jsiiVersion": "1.105.0 (build 0a2adcb)",
|
|
3838
3838
|
"keywords": [
|
|
3839
3839
|
"cdk"
|
|
3840
3840
|
],
|
|
@@ -7153,6 +7153,6 @@
|
|
|
7153
7153
|
"symbolId": "src/ignore-suppression-conditions:SuppressionIgnoreOr"
|
|
7154
7154
|
}
|
|
7155
7155
|
},
|
|
7156
|
-
"version": "2.
|
|
7157
|
-
"fingerprint": "
|
|
7156
|
+
"version": "2.34.2",
|
|
7157
|
+
"fingerprint": "fpqAN8UbEtyYb+CUEdORfkyxTeiEKjjD/IPhLpLn7ZM="
|
|
7158
7158
|
}
|
|
@@ -28,7 +28,7 @@ class SuppressionIgnoreAnd {
|
|
|
28
28
|
}
|
|
29
29
|
exports.SuppressionIgnoreAnd = SuppressionIgnoreAnd;
|
|
30
30
|
_a = JSII_RTTI_SYMBOL_1;
|
|
31
|
-
SuppressionIgnoreAnd[_a] = { fqn: "cdk-nag.SuppressionIgnoreAnd", version: "2.
|
|
31
|
+
SuppressionIgnoreAnd[_a] = { fqn: "cdk-nag.SuppressionIgnoreAnd", version: "2.34.2" };
|
|
32
32
|
/**
|
|
33
33
|
* Ignore the suppression if any of the given INagSuppressionIgnore return a non-empty message
|
|
34
34
|
*/
|
|
@@ -52,7 +52,7 @@ class SuppressionIgnoreOr {
|
|
|
52
52
|
}
|
|
53
53
|
exports.SuppressionIgnoreOr = SuppressionIgnoreOr;
|
|
54
54
|
_b = JSII_RTTI_SYMBOL_1;
|
|
55
|
-
SuppressionIgnoreOr[_b] = { fqn: "cdk-nag.SuppressionIgnoreOr", version: "2.
|
|
55
|
+
SuppressionIgnoreOr[_b] = { fqn: "cdk-nag.SuppressionIgnoreOr", version: "2.34.2" };
|
|
56
56
|
/**
|
|
57
57
|
* Always ignore the suppression
|
|
58
58
|
*/
|
|
@@ -69,7 +69,7 @@ class SuppressionIgnoreAlways {
|
|
|
69
69
|
}
|
|
70
70
|
exports.SuppressionIgnoreAlways = SuppressionIgnoreAlways;
|
|
71
71
|
_c = JSII_RTTI_SYMBOL_1;
|
|
72
|
-
SuppressionIgnoreAlways[_c] = { fqn: "cdk-nag.SuppressionIgnoreAlways", version: "2.
|
|
72
|
+
SuppressionIgnoreAlways[_c] = { fqn: "cdk-nag.SuppressionIgnoreAlways", version: "2.34.2" };
|
|
73
73
|
/**
|
|
74
74
|
* Don't ignore the suppression
|
|
75
75
|
*/
|
|
@@ -80,7 +80,7 @@ class SuppressionIgnoreNever {
|
|
|
80
80
|
}
|
|
81
81
|
exports.SuppressionIgnoreNever = SuppressionIgnoreNever;
|
|
82
82
|
_d = JSII_RTTI_SYMBOL_1;
|
|
83
|
-
SuppressionIgnoreNever[_d] = { fqn: "cdk-nag.SuppressionIgnoreNever", version: "2.
|
|
83
|
+
SuppressionIgnoreNever[_d] = { fqn: "cdk-nag.SuppressionIgnoreNever", version: "2.34.2" };
|
|
84
84
|
/**
|
|
85
85
|
* Ignore Suppressions for Rules with a NagMessageLevel.ERROR
|
|
86
86
|
*/
|
|
@@ -93,5 +93,5 @@ class SuppressionIgnoreErrors {
|
|
|
93
93
|
}
|
|
94
94
|
exports.SuppressionIgnoreErrors = SuppressionIgnoreErrors;
|
|
95
95
|
_e = JSII_RTTI_SYMBOL_1;
|
|
96
|
-
SuppressionIgnoreErrors[_e] = { fqn: "cdk-nag.SuppressionIgnoreErrors", version: "2.
|
|
96
|
+
SuppressionIgnoreErrors[_e] = { fqn: "cdk-nag.SuppressionIgnoreErrors", version: "2.34.2" };
|
|
97
97
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWdub3JlLXN1cHByZXNzaW9uLWNvbmRpdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaWdub3JlLXN1cHByZXNzaW9uLWNvbmRpdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFLQSwyQ0FBOEM7QUF5QjlDOztHQUVHO0FBQ0gsTUFBYSxvQkFBb0I7SUFHL0IsWUFBWSxHQUFHLHFCQUE4QztRQUMzRCxJQUFJLHFCQUFxQixDQUFDLE1BQU0sS0FBSyxDQUFDLEVBQUU7WUFDdEMsT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