@mavogel/awscdk-rootmail 0.0.124 → 0.0.126
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 +6 -6
- package/node_modules/@aws-sdk/client-route-53/package.json +6 -6
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +20 -7
- package/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListBucketsPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +7 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +17 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +13 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +9 -7
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +8 -7
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +7 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +17 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +5 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +121 -118
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +93 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListBucketsPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +5 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +8 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListBucketsPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/package.json +9 -9
- package/node_modules/@aws-sdk/client-ses/package.json +6 -6
- package/node_modules/@aws-sdk/client-ssm/package.json +6 -6
- package/node_modules/@aws-sdk/client-sso/package.json +3 -3
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +5 -5
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +8 -2
- package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +7 -2
- package/node_modules/@aws-sdk/client-sts/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +4 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/throw-200-exceptions.js +6 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +1 -1
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +1 -3
- package/node_modules/@aws-sdk/util-endpoints/package.json +1 -1
- package/node_modules/@smithy/core/cbor.js +6 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +707 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +391 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +181 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-types.js +20 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor.js +15 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +82 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-encode.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +40 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor.d.ts +26 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +29 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-decode.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-encode.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +43 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts +26 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +29 -0
- package/node_modules/@smithy/core/package.json +17 -5
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +2 -0
- package/node_modules/@smithy/smithy-client/dist-es/date-utils.js +3 -0
- package/node_modules/@smithy/smithy-client/dist-types/serde-json.d.ts +2 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/serde-json.d.ts +2 -0
- package/node_modules/@smithy/smithy-client/package.json +1 -1
- 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/cdk-nag/.jsii +2 -2
- 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/package.json +1 -1
- package/package.json +8 -8
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ses",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ses Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.632.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-ses",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.632.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.632.0",
|
|
25
25
|
"@aws-sdk/core": "3.629.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.632.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.620.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.620.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.632.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.614.0",
|
|
32
32
|
"@aws-sdk/types": "3.609.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.632.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.5",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ssm",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ssm Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.632.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-ssm",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.632.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.632.0",
|
|
25
25
|
"@aws-sdk/core": "3.629.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.632.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.620.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.620.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.632.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.614.0",
|
|
32
32
|
"@aws-sdk/types": "3.609.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.632.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.5",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sso",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.632.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-sso",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"@aws-sdk/middleware-host-header": "3.620.0",
|
|
25
25
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
26
26
|
"@aws-sdk/middleware-recursion-detection": "3.620.0",
|
|
27
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
27
|
+
"@aws-sdk/middleware-user-agent": "3.632.0",
|
|
28
28
|
"@aws-sdk/region-config-resolver": "3.614.0",
|
|
29
29
|
"@aws-sdk/types": "3.609.0",
|
|
30
|
-
"@aws-sdk/util-endpoints": "3.
|
|
30
|
+
"@aws-sdk/util-endpoints": "3.632.0",
|
|
31
31
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
33
33
|
"@smithy/config-resolver": "^3.0.5",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sso-oidc",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.632.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-sso-oidc",
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.629.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.632.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.620.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.620.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.632.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.614.0",
|
|
30
30
|
"@aws-sdk/types": "3.609.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.632.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
34
34
|
"@smithy/config-resolver": "^3.0.5",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
},
|
|
86
86
|
"license": "Apache-2.0",
|
|
87
87
|
"peerDependencies": {
|
|
88
|
-
"@aws-sdk/client-sts": "^3.
|
|
88
|
+
"@aws-sdk/client-sts": "^3.632.0"
|
|
89
89
|
},
|
|
90
90
|
"browser": {
|
|
91
91
|
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
@@ -1335,11 +1335,12 @@ var getDefaultRoleAssumer = /* @__PURE__ */ __name((stsOptions, stsClientCtor) =
|
|
|
1335
1335
|
(_c = stsOptions == null ? void 0 : stsOptions.parentClientConfig) == null ? void 0 : _c.region,
|
|
1336
1336
|
credentialProviderLogger
|
|
1337
1337
|
);
|
|
1338
|
+
const isCompatibleRequestHandler = !isH2(requestHandler);
|
|
1338
1339
|
stsClient = new stsClientCtor({
|
|
1339
1340
|
// A hack to make sts client uses the credential in current closure.
|
|
1340
1341
|
credentialDefaultProvider: () => async () => closureSourceCreds,
|
|
1341
1342
|
region: resolvedRegion,
|
|
1342
|
-
requestHandler,
|
|
1343
|
+
requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,
|
|
1343
1344
|
logger
|
|
1344
1345
|
});
|
|
1345
1346
|
}
|
|
@@ -1375,9 +1376,10 @@ var getDefaultRoleAssumerWithWebIdentity = /* @__PURE__ */ __name((stsOptions, s
|
|
|
1375
1376
|
(_c = stsOptions == null ? void 0 : stsOptions.parentClientConfig) == null ? void 0 : _c.region,
|
|
1376
1377
|
credentialProviderLogger
|
|
1377
1378
|
);
|
|
1379
|
+
const isCompatibleRequestHandler = !isH2(requestHandler);
|
|
1378
1380
|
stsClient = new stsClientCtor({
|
|
1379
1381
|
region: resolvedRegion,
|
|
1380
|
-
requestHandler,
|
|
1382
|
+
requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,
|
|
1381
1383
|
logger
|
|
1382
1384
|
});
|
|
1383
1385
|
}
|
|
@@ -1397,6 +1399,10 @@ var getDefaultRoleAssumerWithWebIdentity = /* @__PURE__ */ __name((stsOptions, s
|
|
|
1397
1399
|
};
|
|
1398
1400
|
};
|
|
1399
1401
|
}, "getDefaultRoleAssumerWithWebIdentity");
|
|
1402
|
+
var isH2 = /* @__PURE__ */ __name((requestHandler) => {
|
|
1403
|
+
var _a2;
|
|
1404
|
+
return ((_a2 = requestHandler == null ? void 0 : requestHandler.metadata) == null ? void 0 : _a2.handlerProtocol) === "h2";
|
|
1405
|
+
}, "isH2");
|
|
1400
1406
|
|
|
1401
1407
|
// src/defaultRoleAssumers.ts
|
|
1402
1408
|
var import_STSClient2 = require("././STSClient");
|
|
@@ -24,10 +24,11 @@ export const getDefaultRoleAssumer = (stsOptions, stsClientCtor) => {
|
|
|
24
24
|
if (!stsClient) {
|
|
25
25
|
const { logger = stsOptions?.parentClientConfig?.logger, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, } = stsOptions;
|
|
26
26
|
const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger);
|
|
27
|
+
const isCompatibleRequestHandler = !isH2(requestHandler);
|
|
27
28
|
stsClient = new stsClientCtor({
|
|
28
29
|
credentialDefaultProvider: () => async () => closureSourceCreds,
|
|
29
30
|
region: resolvedRegion,
|
|
30
|
-
requestHandler: requestHandler,
|
|
31
|
+
requestHandler: isCompatibleRequestHandler ? requestHandler : undefined,
|
|
31
32
|
logger: logger,
|
|
32
33
|
});
|
|
33
34
|
}
|
|
@@ -52,9 +53,10 @@ export const getDefaultRoleAssumerWithWebIdentity = (stsOptions, stsClientCtor)
|
|
|
52
53
|
if (!stsClient) {
|
|
53
54
|
const { logger = stsOptions?.parentClientConfig?.logger, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, } = stsOptions;
|
|
54
55
|
const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger);
|
|
56
|
+
const isCompatibleRequestHandler = !isH2(requestHandler);
|
|
55
57
|
stsClient = new stsClientCtor({
|
|
56
58
|
region: resolvedRegion,
|
|
57
|
-
requestHandler: requestHandler,
|
|
59
|
+
requestHandler: isCompatibleRequestHandler ? requestHandler : undefined,
|
|
58
60
|
logger: logger,
|
|
59
61
|
});
|
|
60
62
|
}
|
|
@@ -78,3 +80,6 @@ export const decorateDefaultCredentialProvider = (provider) => (input) => provid
|
|
|
78
80
|
roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity(input, input.stsClientCtor),
|
|
79
81
|
...input,
|
|
80
82
|
});
|
|
83
|
+
const isH2 = (requestHandler) => {
|
|
84
|
+
return requestHandler?.metadata?.handlerProtocol === "h2";
|
|
85
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sts",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.632.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-sts",
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
25
|
+
"@aws-sdk/client-sso-oidc": "3.632.0",
|
|
26
26
|
"@aws-sdk/core": "3.629.0",
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.632.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.620.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.620.0",
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.632.0",
|
|
32
32
|
"@aws-sdk/region-config-resolver": "3.614.0",
|
|
33
33
|
"@aws-sdk/types": "3.609.0",
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.632.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
36
36
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
37
37
|
"@smithy/config-resolver": "^3.0.5",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.632.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@aws-sdk/credential-provider-env": "3.620.1",
|
|
28
28
|
"@aws-sdk/credential-provider-http": "3.622.0",
|
|
29
29
|
"@aws-sdk/credential-provider-process": "3.620.1",
|
|
30
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
30
|
+
"@aws-sdk/credential-provider-sso": "3.632.0",
|
|
31
31
|
"@aws-sdk/credential-provider-web-identity": "3.621.0",
|
|
32
32
|
"@aws-sdk/types": "3.609.0",
|
|
33
33
|
"@smithy/credential-provider-imds": "^3.2.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"typescript": "~4.9.5"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@aws-sdk/client-sts": "^3.
|
|
48
|
+
"@aws-sdk/client-sts": "^3.632.0"
|
|
49
49
|
},
|
|
50
50
|
"types": "./dist-types/index.d.ts",
|
|
51
51
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.632.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=16.0.0"
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@aws-sdk/credential-provider-env": "3.620.1",
|
|
32
32
|
"@aws-sdk/credential-provider-http": "3.622.0",
|
|
33
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
33
|
+
"@aws-sdk/credential-provider-ini": "3.632.0",
|
|
34
34
|
"@aws-sdk/credential-provider-process": "3.620.1",
|
|
35
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
35
|
+
"@aws-sdk/credential-provider-sso": "3.632.0",
|
|
36
36
|
"@aws-sdk/credential-provider-web-identity": "3.621.0",
|
|
37
37
|
"@aws-sdk/types": "3.609.0",
|
|
38
38
|
"@smithy/credential-provider-imds": "^3.2.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.632.0",
|
|
4
4
|
"description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/client-sso": "3.
|
|
27
|
+
"@aws-sdk/client-sso": "3.632.0",
|
|
28
28
|
"@aws-sdk/token-providers": "3.614.0",
|
|
29
29
|
"@aws-sdk/types": "3.609.0",
|
|
30
30
|
"@smithy/property-provider": "^3.1.3",
|
|
@@ -537,6 +537,10 @@ var throw200ExceptionsMiddleware = /* @__PURE__ */ __name((config) => (next, con
|
|
|
537
537
|
if (statusCode < 200 || statusCode >= 300) {
|
|
538
538
|
return result;
|
|
539
539
|
}
|
|
540
|
+
const isSplittableStream = typeof (sourceBody == null ? void 0 : sourceBody.stream) === "function" || typeof (sourceBody == null ? void 0 : sourceBody.pipe) === "function" || typeof (sourceBody == null ? void 0 : sourceBody.tee) === "function";
|
|
541
|
+
if (!isSplittableStream) {
|
|
542
|
+
return result;
|
|
543
|
+
}
|
|
540
544
|
let bodyCopy = sourceBody;
|
|
541
545
|
let body = sourceBody;
|
|
542
546
|
if (sourceBody && typeof sourceBody === "object" && !(sourceBody instanceof Uint8Array)) {
|
|
@@ -16,6 +16,12 @@ export const throw200ExceptionsMiddleware = (config) => (next, context) => async
|
|
|
16
16
|
if (statusCode < 200 || statusCode >= 300) {
|
|
17
17
|
return result;
|
|
18
18
|
}
|
|
19
|
+
const isSplittableStream = typeof sourceBody?.stream === "function" ||
|
|
20
|
+
typeof sourceBody?.pipe === "function" ||
|
|
21
|
+
typeof sourceBody?.tee === "function";
|
|
22
|
+
if (!isSplittableStream) {
|
|
23
|
+
return result;
|
|
24
|
+
}
|
|
19
25
|
let bodyCopy = sourceBody;
|
|
20
26
|
let body = sourceBody;
|
|
21
27
|
if (sourceBody && typeof sourceBody === "object" && !(sourceBody instanceof Uint8Array)) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.632.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",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@aws-sdk/types": "3.609.0",
|
|
26
|
-
"@aws-sdk/util-endpoints": "3.
|
|
26
|
+
"@aws-sdk/util-endpoints": "3.632.0",
|
|
27
27
|
"@smithy/protocol-http": "^4.1.0",
|
|
28
28
|
"@smithy/types": "^3.3.0",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/signature-v4-multi-region",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.633.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",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@aws-sdk/middleware-sdk-s3": "3.
|
|
23
|
+
"@aws-sdk/middleware-sdk-s3": "3.633.0",
|
|
24
24
|
"@aws-sdk/types": "3.609.0",
|
|
25
25
|
"@smithy/protocol-http": "^4.1.0",
|
|
26
26
|
"@smithy/signature-v4": "^4.1.0",
|
|
@@ -96,7 +96,7 @@ var parseArn = /* @__PURE__ */ __name((value) => {
|
|
|
96
96
|
const [arn, partition2, service, region, accountId, ...resourcePath] = segments;
|
|
97
97
|
if (arn !== "arn" || partition2 === "" || service === "" || resourcePath.join(ARN_DELIMITER) === "")
|
|
98
98
|
return null;
|
|
99
|
-
const resourceId = resourcePath
|
|
99
|
+
const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat();
|
|
100
100
|
return {
|
|
101
101
|
partition: partition2,
|
|
102
102
|
service,
|
|
@@ -7,9 +7,7 @@ export const parseArn = (value) => {
|
|
|
7
7
|
const [arn, partition, service, region, accountId, ...resourcePath] = segments;
|
|
8
8
|
if (arn !== "arn" || partition === "" || service === "" || resourcePath.join(ARN_DELIMITER) === "")
|
|
9
9
|
return null;
|
|
10
|
-
const resourceId = resourcePath
|
|
11
|
-
? resourcePath[0].split(RESOURCE_DELIMITER)
|
|
12
|
-
: resourcePath;
|
|
10
|
+
const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat();
|
|
13
11
|
return {
|
|
14
12
|
partition,
|
|
15
13
|
service,
|