p6-cdk-namer 1.3.48 → 1.3.50
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 +4 -4
- package/lib/p6cdknamer.js +1 -1
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-http/package.json +5 -5
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +2 -2
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +2 -2
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromTokenFile.d.ts +3 -3
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromTokenFile.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/nested-clients/package.json +12 -12
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +3 -0
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +3 -0
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +3 -0
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/util-endpoints/package.json +1 -1
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@aws-sdk/client-iam/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@aws-sdk/client-iam/node_modules/@smithy/middleware-endpoint/package.json +2 -2
- package/node_modules/@aws-sdk/client-iam/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@aws-sdk/client-iam/node_modules/@smithy/node-http-handler/dist-cjs/index.js +17 -12
- package/node_modules/@aws-sdk/client-iam/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +16 -11
- package/node_modules/@aws-sdk/client-iam/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +1 -1
- package/node_modules/@aws-sdk/client-iam/node_modules/@smithy/node-http-handler/package.json +1 -1
- package/node_modules/@aws-sdk/client-iam/node_modules/@smithy/smithy-client/package.json +4 -4
- package/node_modules/@aws-sdk/client-iam/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@aws-sdk/client-iam/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/@aws-sdk/client-iam/node_modules/@smithy/util-stream/package.json +2 -2
- package/node_modules/@aws-sdk/client-iam/package.json +13 -13
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +3 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +3 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +3 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/package.json +1 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@aws-sdk/client-sso/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@aws-sdk/client-sso/node_modules/@smithy/middleware-endpoint/package.json +2 -2
- package/node_modules/@aws-sdk/client-sso/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@aws-sdk/client-sso/node_modules/@smithy/node-http-handler/dist-cjs/index.js +17 -12
- package/node_modules/@aws-sdk/client-sso/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +16 -11
- package/node_modules/@aws-sdk/client-sso/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +1 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@smithy/node-http-handler/package.json +1 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@smithy/smithy-client/package.json +4 -4
- package/node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-stream/package.json +2 -2
- package/node_modules/@aws-sdk/client-sso/package.json +12 -12
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/package.json +12 -12
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +3 -0
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +3 -0
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +3 -0
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/util-endpoints/package.json +1 -1
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/node_modules/@smithy/middleware-endpoint/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/node_modules/@smithy/node-http-handler/dist-cjs/index.js +17 -12
- package/node_modules/@aws-sdk/token-providers/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +16 -11
- package/node_modules/@aws-sdk/token-providers/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +1 -1
- package/node_modules/@aws-sdk/token-providers/node_modules/@smithy/node-http-handler/package.json +1 -1
- package/node_modules/@aws-sdk/token-providers/node_modules/@smithy/smithy-client/package.json +4 -4
- package/node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-stream/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/cdk-iam-floyd/README.md +4 -4
- package/node_modules/cdk-iam-floyd/lib/generated/aws-managed-policies/cdk-iam-floyd.d.ts +2 -0
- package/node_modules/cdk-iam-floyd/lib/generated/aws-managed-policies/cdk-iam-floyd.js +5 -1
- package/node_modules/cdk-iam-floyd/lib/generated/aws-managed-policies/iam-floyd.d.ts +2 -0
- package/node_modules/cdk-iam-floyd/lib/generated/aws-managed-policies/iam-floyd.js +3 -1
- package/node_modules/cdk-iam-floyd/lib/generated/index.d.ts +1 -0
- package/node_modules/cdk-iam-floyd/lib/generated/index.js +5 -3
- package/node_modules/cdk-iam-floyd/lib/generated/policy-statements/auroradsql.d.ts +24 -0
- package/node_modules/cdk-iam-floyd/lib/generated/policy-statements/auroradsql.js +34 -1
- package/node_modules/cdk-iam-floyd/lib/generated/policy-statements/cloudwatchobservabilityadminservice.d.ts +2 -2
- package/node_modules/cdk-iam-floyd/lib/generated/policy-statements/cloudwatchobservabilityadminservice.js +6 -6
- package/node_modules/cdk-iam-floyd/lib/generated/policy-statements/rtbfabric.d.ts +436 -0
- package/node_modules/cdk-iam-floyd/lib/generated/policy-statements/rtbfabric.js +559 -0
- package/node_modules/cdk-iam-floyd/package.json +1 -1
- package/package.json +4 -4
package/.jsii
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
]
|
|
9
9
|
},
|
|
10
10
|
"bundled": {
|
|
11
|
-
"@aws-sdk/client-iam": "^3.
|
|
12
|
-
"cdk-iam-floyd": "^0.
|
|
11
|
+
"@aws-sdk/client-iam": "^3.917.0",
|
|
12
|
+
"cdk-iam-floyd": "^0.727.0",
|
|
13
13
|
"winston": "^3.18.3"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
@@ -4198,6 +4198,6 @@
|
|
|
4198
4198
|
"symbolId": "src/p6cdknamer:P6CDKNamer"
|
|
4199
4199
|
}
|
|
4200
4200
|
},
|
|
4201
|
-
"version": "1.3.
|
|
4202
|
-
"fingerprint": "
|
|
4201
|
+
"version": "1.3.50",
|
|
4202
|
+
"fingerprint": "/iNu2qcXhTx94RpRdN8YYOAT6jMwGm2uvHS5H7Aic3c="
|
|
4203
4203
|
}
|
package/lib/p6cdknamer.js
CHANGED
|
@@ -41,7 +41,7 @@ const lambdajs = __importStar(require("aws-cdk-lib/aws-lambda-nodejs"));
|
|
|
41
41
|
const cr = __importStar(require("aws-cdk-lib/custom-resources"));
|
|
42
42
|
const floyd = __importStar(require("cdk-iam-floyd"));
|
|
43
43
|
class P6CDKNamer extends cdk.Resource {
|
|
44
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "p6-cdk-namer.P6CDKNamer", version: "1.3.
|
|
44
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "p6-cdk-namer.P6CDKNamer", version: "1.3.50" };
|
|
45
45
|
constructor(scope, id, props) {
|
|
46
46
|
super(scope, id);
|
|
47
47
|
const policy = new floyd.Statement.Iam().allow().toCreateAccountAlias();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.916.0",
|
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
@@ -83,12 +83,12 @@
|
|
|
83
83
|
"dependencies": {
|
|
84
84
|
"@aws-sdk/types": "3.914.0",
|
|
85
85
|
"@aws-sdk/xml-builder": "3.914.0",
|
|
86
|
-
"@smithy/core": "^3.17.
|
|
86
|
+
"@smithy/core": "^3.17.1",
|
|
87
87
|
"@smithy/node-config-provider": "^4.3.3",
|
|
88
88
|
"@smithy/property-provider": "^4.2.3",
|
|
89
89
|
"@smithy/protocol-http": "^5.3.3",
|
|
90
90
|
"@smithy/signature-v4": "^5.3.3",
|
|
91
|
-
"@smithy/smithy-client": "^4.9.
|
|
91
|
+
"@smithy/smithy-client": "^4.9.1",
|
|
92
92
|
"@smithy/types": "^4.8.0",
|
|
93
93
|
"@smithy/util-base64": "^4.3.0",
|
|
94
94
|
"@smithy/util-middleware": "^4.2.3",
|
package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-env/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-env",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.916.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from known environment variables",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/core": "3.
|
|
29
|
+
"@aws-sdk/core": "3.916.0",
|
|
30
30
|
"@aws-sdk/types": "3.914.0",
|
|
31
31
|
"@smithy/property-provider": "^4.2.3",
|
|
32
32
|
"@smithy/types": "^4.8.0",
|
package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-http/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-http",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.916.0",
|
|
4
4
|
"description": "AWS credential provider for containers and HTTP sources",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/core": "3.
|
|
31
|
+
"@aws-sdk/core": "3.916.0",
|
|
32
32
|
"@aws-sdk/types": "3.914.0",
|
|
33
33
|
"@smithy/fetch-http-handler": "^5.3.4",
|
|
34
|
-
"@smithy/node-http-handler": "^4.4.
|
|
34
|
+
"@smithy/node-http-handler": "^4.4.3",
|
|
35
35
|
"@smithy/property-provider": "^4.2.3",
|
|
36
36
|
"@smithy/protocol-http": "^5.3.3",
|
|
37
|
-
"@smithy/smithy-client": "^4.9.
|
|
37
|
+
"@smithy/smithy-client": "^4.9.1",
|
|
38
38
|
"@smithy/types": "^4.8.0",
|
|
39
|
-
"@smithy/util-stream": "^4.5.
|
|
39
|
+
"@smithy/util-stream": "^4.5.4",
|
|
40
40
|
"tslib": "^2.6.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-ini/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.917.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",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/core": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
33
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
34
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
35
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
36
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
37
|
-
"@aws-sdk/nested-clients": "3.
|
|
31
|
+
"@aws-sdk/core": "3.916.0",
|
|
32
|
+
"@aws-sdk/credential-provider-env": "3.916.0",
|
|
33
|
+
"@aws-sdk/credential-provider-http": "3.916.0",
|
|
34
|
+
"@aws-sdk/credential-provider-process": "3.916.0",
|
|
35
|
+
"@aws-sdk/credential-provider-sso": "3.916.0",
|
|
36
|
+
"@aws-sdk/credential-provider-web-identity": "3.917.0",
|
|
37
|
+
"@aws-sdk/nested-clients": "3.916.0",
|
|
38
38
|
"@aws-sdk/types": "3.914.0",
|
|
39
39
|
"@smithy/credential-provider-imds": "^4.2.3",
|
|
40
40
|
"@smithy/property-provider": "^4.2.3",
|
package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.917.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
},
|
|
32
32
|
"license": "Apache-2.0",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
35
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
36
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
37
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
38
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
39
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
34
|
+
"@aws-sdk/credential-provider-env": "3.916.0",
|
|
35
|
+
"@aws-sdk/credential-provider-http": "3.916.0",
|
|
36
|
+
"@aws-sdk/credential-provider-ini": "3.917.0",
|
|
37
|
+
"@aws-sdk/credential-provider-process": "3.916.0",
|
|
38
|
+
"@aws-sdk/credential-provider-sso": "3.916.0",
|
|
39
|
+
"@aws-sdk/credential-provider-web-identity": "3.917.0",
|
|
40
40
|
"@aws-sdk/types": "3.914.0",
|
|
41
41
|
"@smithy/credential-provider-imds": "^4.2.3",
|
|
42
42
|
"@smithy/property-provider": "^4.2.3",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.916.0",
|
|
4
4
|
"description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/core": "3.
|
|
29
|
+
"@aws-sdk/core": "3.916.0",
|
|
30
30
|
"@aws-sdk/types": "3.914.0",
|
|
31
31
|
"@smithy/property-provider": "^4.2.3",
|
|
32
32
|
"@smithy/shared-ini-file-loader": "^4.3.3",
|
package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-sso/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.916.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",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/client-sso": "3.
|
|
30
|
-
"@aws-sdk/core": "3.
|
|
31
|
-
"@aws-sdk/token-providers": "3.
|
|
29
|
+
"@aws-sdk/client-sso": "3.916.0",
|
|
30
|
+
"@aws-sdk/core": "3.916.0",
|
|
31
|
+
"@aws-sdk/token-providers": "3.916.0",
|
|
32
32
|
"@aws-sdk/types": "3.914.0",
|
|
33
33
|
"@smithy/property-provider": "^4.2.3",
|
|
34
34
|
"@smithy/shared-ini-file-loader": "^4.3.3",
|
|
@@ -9,7 +9,7 @@ const fromWebToken_1 = require("./fromWebToken");
|
|
|
9
9
|
const ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE";
|
|
10
10
|
const ENV_ROLE_ARN = "AWS_ROLE_ARN";
|
|
11
11
|
const ENV_ROLE_SESSION_NAME = "AWS_ROLE_SESSION_NAME";
|
|
12
|
-
const fromTokenFile = (init = {}) => async () => {
|
|
12
|
+
const fromTokenFile = (init = {}) => async (awsIdentityProperties) => {
|
|
13
13
|
init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");
|
|
14
14
|
const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE];
|
|
15
15
|
const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN];
|
|
@@ -25,7 +25,7 @@ const fromTokenFile = (init = {}) => async () => {
|
|
|
25
25
|
(0, fs_1.readFileSync)(webIdentityTokenFile, { encoding: "ascii" }),
|
|
26
26
|
roleArn,
|
|
27
27
|
roleSessionName,
|
|
28
|
-
})();
|
|
28
|
+
})(awsIdentityProperties);
|
|
29
29
|
if (webIdentityTokenFile === process.env[ENV_TOKEN_FILE]) {
|
|
30
30
|
(0, client_1.setCredentialFeature)(credentials, "CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN", "h");
|
|
31
31
|
}
|
|
@@ -6,7 +6,7 @@ import { fromWebToken } from "./fromWebToken";
|
|
|
6
6
|
const ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE";
|
|
7
7
|
const ENV_ROLE_ARN = "AWS_ROLE_ARN";
|
|
8
8
|
const ENV_ROLE_SESSION_NAME = "AWS_ROLE_SESSION_NAME";
|
|
9
|
-
export const fromTokenFile = (init = {}) => async () => {
|
|
9
|
+
export const fromTokenFile = (init = {}) => async (awsIdentityProperties) => {
|
|
10
10
|
init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");
|
|
11
11
|
const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE];
|
|
12
12
|
const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN];
|
|
@@ -22,7 +22,7 @@ export const fromTokenFile = (init = {}) => async () => {
|
|
|
22
22
|
readFileSync(webIdentityTokenFile, { encoding: "ascii" }),
|
|
23
23
|
roleArn,
|
|
24
24
|
roleSessionName,
|
|
25
|
-
})();
|
|
25
|
+
})(awsIdentityProperties);
|
|
26
26
|
if (webIdentityTokenFile === process.env[ENV_TOKEN_FILE]) {
|
|
27
27
|
setCredentialFeature(credentials, "CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN", "h");
|
|
28
28
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CredentialProviderOptions } from "@aws-sdk/types";
|
|
2
|
-
import
|
|
1
|
+
import type { CredentialProviderOptions } from "@aws-sdk/types";
|
|
2
|
+
import { RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types/src";
|
|
3
3
|
import { FromWebTokenInit } from "./fromWebToken";
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
@@ -15,4 +15,4 @@ export interface FromTokenFileInit extends Partial<Omit<FromWebTokenInit, "webId
|
|
|
15
15
|
*
|
|
16
16
|
* Represents OIDC credentials from a file on disk.
|
|
17
17
|
*/
|
|
18
|
-
export declare const fromTokenFile: (init?: FromTokenFileInit) =>
|
|
18
|
+
export declare const fromTokenFile: (init?: FromTokenFileInit) => RuntimeConfigAwsCredentialIdentityProvider;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CredentialProviderOptions } from "@aws-sdk/types";
|
|
2
|
-
import {
|
|
2
|
+
import { RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types/src";
|
|
3
3
|
import { FromWebTokenInit } from "./fromWebToken";
|
|
4
4
|
export interface FromTokenFileInit
|
|
5
5
|
extends Partial<
|
|
@@ -13,4 +13,4 @@ export interface FromTokenFileInit
|
|
|
13
13
|
}
|
|
14
14
|
export declare const fromTokenFile: (
|
|
15
15
|
init?: FromTokenFileInit
|
|
16
|
-
) =>
|
|
16
|
+
) => RuntimeConfigAwsCredentialIdentityProvider;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.917.0",
|
|
4
4
|
"description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
},
|
|
35
35
|
"license": "Apache-2.0",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@aws-sdk/core": "3.
|
|
38
|
-
"@aws-sdk/nested-clients": "3.
|
|
37
|
+
"@aws-sdk/core": "3.916.0",
|
|
38
|
+
"@aws-sdk/nested-clients": "3.916.0",
|
|
39
39
|
"@aws-sdk/types": "3.914.0",
|
|
40
40
|
"@smithy/property-provider": "^4.2.3",
|
|
41
41
|
"@smithy/shared-ini-file-loader": "^4.3.3",
|
package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/middleware-user-agent/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.916.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",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/core": "3.
|
|
28
|
+
"@aws-sdk/core": "3.916.0",
|
|
29
29
|
"@aws-sdk/types": "3.914.0",
|
|
30
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
-
"@smithy/core": "^3.17.
|
|
30
|
+
"@aws-sdk/util-endpoints": "3.916.0",
|
|
31
|
+
"@smithy/core": "^3.17.1",
|
|
32
32
|
"@smithy/protocol-http": "^5.3.3",
|
|
33
33
|
"@smithy/types": "^4.8.0",
|
|
34
34
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.916.0",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -29,37 +29,37 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
31
31
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
32
|
-
"@aws-sdk/core": "3.
|
|
32
|
+
"@aws-sdk/core": "3.916.0",
|
|
33
33
|
"@aws-sdk/middleware-host-header": "3.914.0",
|
|
34
34
|
"@aws-sdk/middleware-logger": "3.914.0",
|
|
35
35
|
"@aws-sdk/middleware-recursion-detection": "3.914.0",
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.916.0",
|
|
37
37
|
"@aws-sdk/region-config-resolver": "3.914.0",
|
|
38
38
|
"@aws-sdk/types": "3.914.0",
|
|
39
|
-
"@aws-sdk/util-endpoints": "3.
|
|
39
|
+
"@aws-sdk/util-endpoints": "3.916.0",
|
|
40
40
|
"@aws-sdk/util-user-agent-browser": "3.914.0",
|
|
41
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
41
|
+
"@aws-sdk/util-user-agent-node": "3.916.0",
|
|
42
42
|
"@smithy/config-resolver": "^4.4.0",
|
|
43
|
-
"@smithy/core": "^3.17.
|
|
43
|
+
"@smithy/core": "^3.17.1",
|
|
44
44
|
"@smithy/fetch-http-handler": "^5.3.4",
|
|
45
45
|
"@smithy/hash-node": "^4.2.3",
|
|
46
46
|
"@smithy/invalid-dependency": "^4.2.3",
|
|
47
47
|
"@smithy/middleware-content-length": "^4.2.3",
|
|
48
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
49
|
-
"@smithy/middleware-retry": "^4.4.
|
|
48
|
+
"@smithy/middleware-endpoint": "^4.3.5",
|
|
49
|
+
"@smithy/middleware-retry": "^4.4.5",
|
|
50
50
|
"@smithy/middleware-serde": "^4.2.3",
|
|
51
51
|
"@smithy/middleware-stack": "^4.2.3",
|
|
52
52
|
"@smithy/node-config-provider": "^4.3.3",
|
|
53
|
-
"@smithy/node-http-handler": "^4.4.
|
|
53
|
+
"@smithy/node-http-handler": "^4.4.3",
|
|
54
54
|
"@smithy/protocol-http": "^5.3.3",
|
|
55
|
-
"@smithy/smithy-client": "^4.9.
|
|
55
|
+
"@smithy/smithy-client": "^4.9.1",
|
|
56
56
|
"@smithy/types": "^4.8.0",
|
|
57
57
|
"@smithy/url-parser": "^4.2.3",
|
|
58
58
|
"@smithy/util-base64": "^4.3.0",
|
|
59
59
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
60
60
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
61
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
62
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
61
|
+
"@smithy/util-defaults-mode-browser": "^4.3.4",
|
|
62
|
+
"@smithy/util-defaults-mode-node": "^4.2.6",
|
|
63
63
|
"@smithy/util-endpoints": "^3.2.3",
|
|
64
64
|
"@smithy/util-middleware": "^4.2.3",
|
|
65
65
|
"@smithy/util-retry": "^4.2.3",
|
package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/util-user-agent-node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.916.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",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
25
|
+
"@aws-sdk/middleware-user-agent": "3.916.0",
|
|
26
26
|
"@aws-sdk/types": "3.914.0",
|
|
27
27
|
"@smithy/node-config-provider": "^4.3.3",
|
|
28
28
|
"@smithy/types": "^4.8.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/core",
|
|
3
|
-
"version": "3.17.
|
|
3
|
+
"version": "3.17.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline core",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"@smithy/util-base64": "^4.3.0",
|
|
84
84
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
85
85
|
"@smithy/util-middleware": "^4.2.3",
|
|
86
|
-
"@smithy/util-stream": "^4.5.
|
|
86
|
+
"@smithy/util-stream": "^4.5.4",
|
|
87
87
|
"@smithy/util-utf8": "^4.2.0",
|
|
88
88
|
"@smithy/uuid": "^1.1.0",
|
|
89
89
|
"tslib": "^2.6.2"
|
package/node_modules/@aws-sdk/client-iam/node_modules/@smithy/middleware-endpoint/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-endpoint",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.5",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-endpoint",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/core": "^3.17.
|
|
28
|
+
"@smithy/core": "^3.17.1",
|
|
29
29
|
"@smithy/middleware-serde": "^4.2.3",
|
|
30
30
|
"@smithy/node-config-provider": "^4.3.3",
|
|
31
31
|
"@smithy/shared-ini-file-loader": "^4.3.3",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-retry",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.5",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-retry",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@smithy/node-config-provider": "^4.3.3",
|
|
38
38
|
"@smithy/protocol-http": "^5.3.3",
|
|
39
39
|
"@smithy/service-error-classification": "^4.2.3",
|
|
40
|
-
"@smithy/smithy-client": "^4.9.
|
|
40
|
+
"@smithy/smithy-client": "^4.9.1",
|
|
41
41
|
"@smithy/types": "^4.8.0",
|
|
42
42
|
"@smithy/util-middleware": "^4.2.3",
|
|
43
43
|
"@smithy/util-retry": "^4.2.3",
|
package/node_modules/@aws-sdk/client-iam/node_modules/@smithy/node-http-handler/dist-cjs/index.js
CHANGED
|
@@ -128,7 +128,7 @@ const setSocketTimeout = (request, reject, timeoutInMs = 0) => {
|
|
|
128
128
|
const MIN_WAIT_TIME = 6_000;
|
|
129
129
|
async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN_WAIT_TIME) {
|
|
130
130
|
const headers = request.headers ?? {};
|
|
131
|
-
const expect = headers
|
|
131
|
+
const expect = headers.Expect || headers.expect;
|
|
132
132
|
let timeoutId = -1;
|
|
133
133
|
let sendBody = true;
|
|
134
134
|
if (expect === "100-continue") {
|
|
@@ -263,6 +263,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
263
263
|
this.config = await this.configProvider;
|
|
264
264
|
}
|
|
265
265
|
return new Promise((_resolve, _reject) => {
|
|
266
|
+
const config = this.config;
|
|
266
267
|
let writeRequestBodyPromise = undefined;
|
|
267
268
|
const timeouts = [];
|
|
268
269
|
const resolve = async (arg) => {
|
|
@@ -275,9 +276,6 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
275
276
|
timeouts.forEach(timing.clearTimeout);
|
|
276
277
|
_reject(arg);
|
|
277
278
|
};
|
|
278
|
-
if (!this.config) {
|
|
279
|
-
throw new Error("Node HTTP request handler config is not resolved");
|
|
280
|
-
}
|
|
281
279
|
if (abortSignal?.aborted) {
|
|
282
280
|
const abortError = new Error("Request aborted");
|
|
283
281
|
abortError.name = "AbortError";
|
|
@@ -285,11 +283,18 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
285
283
|
return;
|
|
286
284
|
}
|
|
287
285
|
const isSSL = request.protocol === "https:";
|
|
288
|
-
const
|
|
286
|
+
const headers = request.headers ?? {};
|
|
287
|
+
const expectContinue = (headers.Expect ?? headers.expect) === "100-continue";
|
|
288
|
+
let agent = isSSL ? config.httpsAgent : config.httpAgent;
|
|
289
|
+
if (expectContinue) {
|
|
290
|
+
agent = new (isSSL ? https.Agent : http.Agent)({
|
|
291
|
+
keepAlive: false,
|
|
292
|
+
maxSockets: Infinity,
|
|
293
|
+
});
|
|
294
|
+
}
|
|
289
295
|
timeouts.push(timing.setTimeout(() => {
|
|
290
|
-
this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp,
|
|
291
|
-
},
|
|
292
|
-
(this.config.requestTimeout ?? 2000) + (this.config.connectionTimeout ?? 1000)));
|
|
296
|
+
this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, config.logger);
|
|
297
|
+
}, config.socketAcquisitionWarningTimeout ?? (config.requestTimeout ?? 2000) + (config.connectionTimeout ?? 1000)));
|
|
293
298
|
const queryString = querystringBuilder.buildQueryString(request.query || {});
|
|
294
299
|
let auth = undefined;
|
|
295
300
|
if (request.username != null || request.password != null) {
|
|
@@ -354,10 +359,10 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
354
359
|
abortSignal.onabort = onAbort;
|
|
355
360
|
}
|
|
356
361
|
}
|
|
357
|
-
const effectiveRequestTimeout = requestTimeout ??
|
|
358
|
-
timeouts.push(setConnectionTimeout(req, reject,
|
|
359
|
-
timeouts.push(setRequestTimeout(req, reject, effectiveRequestTimeout,
|
|
360
|
-
timeouts.push(setSocketTimeout(req, reject,
|
|
362
|
+
const effectiveRequestTimeout = requestTimeout ?? config.requestTimeout;
|
|
363
|
+
timeouts.push(setConnectionTimeout(req, reject, config.connectionTimeout));
|
|
364
|
+
timeouts.push(setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, config.logger ?? console));
|
|
365
|
+
timeouts.push(setSocketTimeout(req, reject, config.socketTimeout));
|
|
361
366
|
const httpAgent = nodeHttpsOptions.agent;
|
|
362
367
|
if (typeof httpAgent === "object" && "keepAlive" in httpAgent) {
|
|
363
368
|
timeouts.push(setSocketKeepAlive(req, {
|
|
@@ -93,6 +93,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
93
93
|
this.config = await this.configProvider;
|
|
94
94
|
}
|
|
95
95
|
return new Promise((_resolve, _reject) => {
|
|
96
|
+
const config = this.config;
|
|
96
97
|
let writeRequestBodyPromise = undefined;
|
|
97
98
|
const timeouts = [];
|
|
98
99
|
const resolve = async (arg) => {
|
|
@@ -105,9 +106,6 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
105
106
|
timeouts.forEach(timing.clearTimeout);
|
|
106
107
|
_reject(arg);
|
|
107
108
|
};
|
|
108
|
-
if (!this.config) {
|
|
109
|
-
throw new Error("Node HTTP request handler config is not resolved");
|
|
110
|
-
}
|
|
111
109
|
if (abortSignal?.aborted) {
|
|
112
110
|
const abortError = new Error("Request aborted");
|
|
113
111
|
abortError.name = "AbortError";
|
|
@@ -115,11 +113,18 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
115
113
|
return;
|
|
116
114
|
}
|
|
117
115
|
const isSSL = request.protocol === "https:";
|
|
118
|
-
const
|
|
116
|
+
const headers = request.headers ?? {};
|
|
117
|
+
const expectContinue = (headers.Expect ?? headers.expect) === "100-continue";
|
|
118
|
+
let agent = isSSL ? config.httpsAgent : config.httpAgent;
|
|
119
|
+
if (expectContinue) {
|
|
120
|
+
agent = new (isSSL ? hsAgent : hAgent)({
|
|
121
|
+
keepAlive: false,
|
|
122
|
+
maxSockets: Infinity,
|
|
123
|
+
});
|
|
124
|
+
}
|
|
119
125
|
timeouts.push(timing.setTimeout(() => {
|
|
120
|
-
this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp,
|
|
121
|
-
},
|
|
122
|
-
(this.config.requestTimeout ?? 2000) + (this.config.connectionTimeout ?? 1000)));
|
|
126
|
+
this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, config.logger);
|
|
127
|
+
}, config.socketAcquisitionWarningTimeout ?? (config.requestTimeout ?? 2000) + (config.connectionTimeout ?? 1000)));
|
|
123
128
|
const queryString = buildQueryString(request.query || {});
|
|
124
129
|
let auth = undefined;
|
|
125
130
|
if (request.username != null || request.password != null) {
|
|
@@ -184,10 +189,10 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
184
189
|
abortSignal.onabort = onAbort;
|
|
185
190
|
}
|
|
186
191
|
}
|
|
187
|
-
const effectiveRequestTimeout = requestTimeout ??
|
|
188
|
-
timeouts.push(setConnectionTimeout(req, reject,
|
|
189
|
-
timeouts.push(setRequestTimeout(req, reject, effectiveRequestTimeout,
|
|
190
|
-
timeouts.push(setSocketTimeout(req, reject,
|
|
192
|
+
const effectiveRequestTimeout = requestTimeout ?? config.requestTimeout;
|
|
193
|
+
timeouts.push(setConnectionTimeout(req, reject, config.connectionTimeout));
|
|
194
|
+
timeouts.push(setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, config.logger ?? console));
|
|
195
|
+
timeouts.push(setSocketTimeout(req, reject, config.socketTimeout));
|
|
191
196
|
const httpAgent = nodeHttpsOptions.agent;
|
|
192
197
|
if (typeof httpAgent === "object" && "keepAlive" in httpAgent) {
|
|
193
198
|
timeouts.push(setSocketKeepAlive(req, {
|
|
@@ -3,7 +3,7 @@ import { timing } from "./timing";
|
|
|
3
3
|
const MIN_WAIT_TIME = 6_000;
|
|
4
4
|
export async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN_WAIT_TIME) {
|
|
5
5
|
const headers = request.headers ?? {};
|
|
6
|
-
const expect = headers
|
|
6
|
+
const expect = headers.Expect || headers.expect;
|
|
7
7
|
let timeoutId = -1;
|
|
8
8
|
let sendBody = true;
|
|
9
9
|
if (expect === "100-continue") {
|