@cdklabs/cdk-ecs-codedeploy 0.0.94 → 0.0.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws-sdk/abort-controller/package.json +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/AddTagsToOnPremisesInstancesCommand.d.ts +23 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationRevisionsCommand.d.ts +19 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationsCommand.d.ts +13 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentGroupsCommand.d.ts +23 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +23 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +32 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentsCommand.d.ts +10 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetOnPremisesInstancesCommand.d.ts +10 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ContinueDeploymentCommand.d.ts +26 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateApplicationCommand.d.ts +19 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentCommand.d.ts +124 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentConfigCommand.d.ts +24 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentGroupCommand.d.ts +131 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteApplicationCommand.d.ts +12 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentConfigCommand.d.ts +13 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentGroupCommand.d.ts +18 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteGitHubAccountTokenCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteResourcesByExternalIdCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeregisterOnPremisesInstanceCommand.d.ts +7 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationCommand.d.ts +10 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationRevisionCommand.d.ts +19 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentConfigCommand.d.ts +14 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentGroupCommand.d.ts +23 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentInstanceCommand.d.ts +23 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentTargetCommand.d.ts +26 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetOnPremisesInstanceCommand.d.ts +10 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationRevisionsCommand.d.ts +32 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentConfigsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentGroupsCommand.d.ts +13 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentInstancesCommand.d.ts +35 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentTargetsCommand.d.ts +29 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentsCommand.d.ts +34 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListGitHubAccountTokenNamesCommand.d.ts +10 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListOnPremisesInstancesCommand.d.ts +10 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +27 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterApplicationRevisionCommand.d.ts +19 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterOnPremisesInstanceCommand.d.ts +34 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +23 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +20 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/StopDeploymentCommand.d.ts +20 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/TagResourceCommand.d.ts +27 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UntagResourceCommand.d.ts +27 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateApplicationCommand.d.ts +13 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +125 -0
- package/node_modules/@aws-sdk/client-codedeploy/package.json +30 -30
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +13 -0
- package/node_modules/@aws-sdk/client-sso/package.json +26 -26
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +42 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +22 -0
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +26 -26
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +27 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +37 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +44 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +23 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +8 -0
- package/node_modules/@aws-sdk/client-sts/package.json +29 -29
- package/node_modules/@aws-sdk/config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-imds/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/fetch-http-handler/package.json +5 -5
- package/node_modules/@aws-sdk/hash-node/package.json +2 -2
- package/node_modules/@aws-sdk/invalid-dependency/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-content-length/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-endpoint/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-host-header/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-retry/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-serde/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-signing/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-stack/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
- package/node_modules/@aws-sdk/node-config-provider/package.json +4 -4
- package/node_modules/@aws-sdk/node-http-handler/package.json +5 -5
- package/node_modules/@aws-sdk/property-provider/package.json +2 -2
- package/node_modules/@aws-sdk/protocol-http/dist-cjs/Field.js +1 -3
- package/node_modules/@aws-sdk/protocol-http/dist-cjs/Fields.js +10 -0
- package/node_modules/@aws-sdk/protocol-http/dist-cjs/headersProxy.js +52 -0
- package/node_modules/@aws-sdk/protocol-http/dist-cjs/httpRequest.js +99 -24
- package/node_modules/@aws-sdk/protocol-http/dist-cjs/queryProxy.js +71 -0
- package/node_modules/@aws-sdk/protocol-http/dist-es/Field.js +1 -3
- package/node_modules/@aws-sdk/protocol-http/dist-es/Fields.js +10 -0
- package/node_modules/@aws-sdk/protocol-http/dist-es/headersProxy.js +45 -0
- package/node_modules/@aws-sdk/protocol-http/dist-es/httpRequest.js +99 -24
- package/node_modules/@aws-sdk/protocol-http/dist-es/queryProxy.js +65 -0
- package/node_modules/@aws-sdk/protocol-http/dist-types/Field.d.ts +1 -1
- package/node_modules/@aws-sdk/protocol-http/dist-types/Fields.d.ts +18 -1
- package/node_modules/@aws-sdk/protocol-http/dist-types/headersProxy.d.ts +39 -0
- package/node_modules/@aws-sdk/protocol-http/dist-types/httpRequest.d.ts +50 -7
- package/node_modules/@aws-sdk/protocol-http/dist-types/queryProxy.d.ts +29 -0
- package/node_modules/@aws-sdk/protocol-http/dist-types/ts3.4/Fields.d.ts +3 -1
- package/node_modules/@aws-sdk/protocol-http/dist-types/ts3.4/headersProxy.d.ts +8 -0
- package/node_modules/@aws-sdk/protocol-http/dist-types/ts3.4/httpRequest.d.ts +30 -15
- package/node_modules/@aws-sdk/protocol-http/dist-types/ts3.4/queryProxy.d.ts +10 -0
- package/node_modules/@aws-sdk/protocol-http/package.json +3 -3
- package/node_modules/@aws-sdk/querystring-builder/package.json +2 -2
- package/node_modules/@aws-sdk/querystring-parser/package.json +2 -2
- package/node_modules/@aws-sdk/service-error-classification/package.json +2 -2
- package/node_modules/@aws-sdk/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@aws-sdk/signature-v4/dist-cjs/prepareRequest.js +18 -1
- package/node_modules/@aws-sdk/signature-v4/dist-es/prepareRequest.js +18 -1
- package/node_modules/@aws-sdk/signature-v4/package.json +4 -4
- package/node_modules/@aws-sdk/smithy-client/dist-types/NoOpLogger.d.ts +3 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/client.d.ts +9 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/command.d.ts +3 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/constants.d.ts +3 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/date-utils.d.ts +10 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/default-error-handler.d.ts +1 -1
- package/node_modules/@aws-sdk/smithy-client/dist-types/emitWarningIfUnsupportedVersion.d.ts +2 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/exceptions.d.ts +5 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/extended-encode-uri-component.d.ts +2 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/get-array-if-single-item.d.ts +2 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/get-value-from-text-node.d.ts +2 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/lazy-json.d.ts +5 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/object-mapping.d.ts +35 -3
- package/node_modules/@aws-sdk/smithy-client/dist-types/parse-utils.d.ts +50 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/resolve-path.d.ts +3 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/ser-utils.d.ts +2 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/split-every.d.ts +2 -0
- package/node_modules/@aws-sdk/smithy-client/package.json +3 -3
- package/node_modules/@aws-sdk/token-providers/package.json +5 -5
- package/node_modules/@aws-sdk/types/dist-types/http.d.ts +6 -0
- package/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@aws-sdk/url-parser/package.json +3 -3
- package/node_modules/@aws-sdk/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-middleware/package.json +2 -2
- package/node_modules/@aws-sdk/util-retry/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
- package/node_modules/@aws-sdk/util-waiter/dist-types/utils/sleep.d.ts +3 -0
- package/node_modules/@aws-sdk/util-waiter/dist-types/utils/validate.d.ts +2 -0
- package/node_modules/@aws-sdk/util-waiter/dist-types/waiter.d.ts +13 -2
- package/node_modules/@aws-sdk/util-waiter/package.json +3 -3
- package/package.json +5 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-imds",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.290.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/node-config-provider": "3.
|
|
28
|
-
"@aws-sdk/property-provider": "3.
|
|
29
|
-
"@aws-sdk/types": "3.
|
|
30
|
-
"@aws-sdk/url-parser": "3.
|
|
27
|
+
"@aws-sdk/node-config-provider": "3.290.0",
|
|
28
|
+
"@aws-sdk/property-provider": "3.290.0",
|
|
29
|
+
"@aws-sdk/types": "3.290.0",
|
|
30
|
+
"@aws-sdk/url-parser": "3.290.0",
|
|
31
31
|
"tslib": "^2.3.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.290.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",
|
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
28
|
-
"@aws-sdk/credential-provider-imds": "3.
|
|
29
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
30
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
31
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
32
|
-
"@aws-sdk/property-provider": "3.
|
|
33
|
-
"@aws-sdk/shared-ini-file-loader": "3.
|
|
34
|
-
"@aws-sdk/types": "3.
|
|
27
|
+
"@aws-sdk/credential-provider-env": "3.290.0",
|
|
28
|
+
"@aws-sdk/credential-provider-imds": "3.290.0",
|
|
29
|
+
"@aws-sdk/credential-provider-process": "3.290.0",
|
|
30
|
+
"@aws-sdk/credential-provider-sso": "3.290.0",
|
|
31
|
+
"@aws-sdk/credential-provider-web-identity": "3.290.0",
|
|
32
|
+
"@aws-sdk/property-provider": "3.290.0",
|
|
33
|
+
"@aws-sdk/shared-ini-file-loader": "3.290.0",
|
|
34
|
+
"@aws-sdk/types": "3.290.0",
|
|
35
35
|
"tslib": "^2.3.1"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.290.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=14.0.0"
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
},
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
31
|
-
"@aws-sdk/credential-provider-imds": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
33
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
34
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
35
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
36
|
-
"@aws-sdk/property-provider": "3.
|
|
37
|
-
"@aws-sdk/shared-ini-file-loader": "3.
|
|
38
|
-
"@aws-sdk/types": "3.
|
|
30
|
+
"@aws-sdk/credential-provider-env": "3.290.0",
|
|
31
|
+
"@aws-sdk/credential-provider-imds": "3.290.0",
|
|
32
|
+
"@aws-sdk/credential-provider-ini": "3.290.0",
|
|
33
|
+
"@aws-sdk/credential-provider-process": "3.290.0",
|
|
34
|
+
"@aws-sdk/credential-provider-sso": "3.290.0",
|
|
35
|
+
"@aws-sdk/credential-provider-web-identity": "3.290.0",
|
|
36
|
+
"@aws-sdk/property-provider": "3.290.0",
|
|
37
|
+
"@aws-sdk/shared-ini-file-loader": "3.290.0",
|
|
38
|
+
"@aws-sdk/types": "3.290.0",
|
|
39
39
|
"tslib": "^2.3.1"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.290.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",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/property-provider": "3.
|
|
28
|
-
"@aws-sdk/shared-ini-file-loader": "3.
|
|
29
|
-
"@aws-sdk/types": "3.
|
|
27
|
+
"@aws-sdk/property-provider": "3.290.0",
|
|
28
|
+
"@aws-sdk/shared-ini-file-loader": "3.290.0",
|
|
29
|
+
"@aws-sdk/types": "3.290.0",
|
|
30
30
|
"tslib": "^2.3.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.290.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,11 +24,11 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/client-sso": "3.
|
|
28
|
-
"@aws-sdk/property-provider": "3.
|
|
29
|
-
"@aws-sdk/shared-ini-file-loader": "3.
|
|
30
|
-
"@aws-sdk/token-providers": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
27
|
+
"@aws-sdk/client-sso": "3.290.0",
|
|
28
|
+
"@aws-sdk/property-provider": "3.290.0",
|
|
29
|
+
"@aws-sdk/shared-ini-file-loader": "3.290.0",
|
|
30
|
+
"@aws-sdk/token-providers": "3.290.0",
|
|
31
|
+
"@aws-sdk/types": "3.290.0",
|
|
32
32
|
"tslib": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.290.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",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
},
|
|
33
33
|
"license": "Apache-2.0",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@aws-sdk/property-provider": "3.
|
|
36
|
-
"@aws-sdk/types": "3.
|
|
35
|
+
"@aws-sdk/property-provider": "3.290.0",
|
|
36
|
+
"@aws-sdk/types": "3.290.0",
|
|
37
37
|
"tslib": "^2.3.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/fetch-http-handler",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.290.0",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
"module": "./dist-es/index.js",
|
|
22
22
|
"types": "./dist-types/index.d.ts",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/protocol-http": "3.
|
|
25
|
-
"@aws-sdk/querystring-builder": "3.
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
24
|
+
"@aws-sdk/protocol-http": "3.290.0",
|
|
25
|
+
"@aws-sdk/querystring-builder": "3.290.0",
|
|
26
|
+
"@aws-sdk/types": "3.290.0",
|
|
27
27
|
"@aws-sdk/util-base64": "3.208.0",
|
|
28
28
|
"tslib": "^2.3.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@aws-sdk/abort-controller": "3.
|
|
31
|
+
"@aws-sdk/abort-controller": "3.290.0",
|
|
32
32
|
"@tsconfig/recommended": "1.0.1",
|
|
33
33
|
"concurrently": "7.0.0",
|
|
34
34
|
"downlevel-dts": "0.10.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/hash-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.290.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"typescript": "~4.6.2"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
33
|
+
"@aws-sdk/types": "3.290.0",
|
|
34
34
|
"@aws-sdk/util-buffer-from": "3.208.0",
|
|
35
35
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
36
36
|
"tslib": "^2.3.1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/invalid-dependency",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.290.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@aws-sdk/types": "3.
|
|
23
|
+
"@aws-sdk/types": "3.290.0",
|
|
24
24
|
"tslib": "^2.3.1"
|
|
25
25
|
},
|
|
26
26
|
"typesVersions": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-content-length",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.290.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@aws-sdk/protocol-http": "3.
|
|
24
|
-
"@aws-sdk/types": "3.
|
|
23
|
+
"@aws-sdk/protocol-http": "3.290.0",
|
|
24
|
+
"@aws-sdk/types": "3.290.0",
|
|
25
25
|
"tslib": "^2.3.1"
|
|
26
26
|
},
|
|
27
27
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-endpoint",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.290.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@aws-sdk/middleware-serde": "3.
|
|
24
|
-
"@aws-sdk/protocol-http": "3.
|
|
25
|
-
"@aws-sdk/signature-v4": "3.
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
27
|
-
"@aws-sdk/url-parser": "3.
|
|
23
|
+
"@aws-sdk/middleware-serde": "3.290.0",
|
|
24
|
+
"@aws-sdk/protocol-http": "3.290.0",
|
|
25
|
+
"@aws-sdk/signature-v4": "3.290.0",
|
|
26
|
+
"@aws-sdk/types": "3.290.0",
|
|
27
|
+
"@aws-sdk/url-parser": "3.290.0",
|
|
28
28
|
"@aws-sdk/util-config-provider": "3.208.0",
|
|
29
|
-
"@aws-sdk/util-middleware": "3.
|
|
29
|
+
"@aws-sdk/util-middleware": "3.290.0",
|
|
30
30
|
"tslib": "^2.3.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-host-header",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.290.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@aws-sdk/protocol-http": "3.
|
|
24
|
-
"@aws-sdk/types": "3.
|
|
23
|
+
"@aws-sdk/protocol-http": "3.290.0",
|
|
24
|
+
"@aws-sdk/types": "3.290.0",
|
|
25
25
|
"tslib": "^2.3.1"
|
|
26
26
|
},
|
|
27
27
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-logger",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.290.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"module": "./dist-es/index.js",
|
|
22
22
|
"types": "./dist-types/index.d.ts",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/types": "3.
|
|
24
|
+
"@aws-sdk/types": "3.290.0",
|
|
25
25
|
"tslib": "^2.3.1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-recursion-detection",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.290.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@aws-sdk/protocol-http": "3.
|
|
24
|
-
"@aws-sdk/types": "3.
|
|
23
|
+
"@aws-sdk/protocol-http": "3.290.0",
|
|
24
|
+
"@aws-sdk/types": "3.290.0",
|
|
25
25
|
"tslib": "^2.3.1"
|
|
26
26
|
},
|
|
27
27
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-retry",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.290.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@aws-sdk/protocol-http": "3.
|
|
24
|
-
"@aws-sdk/service-error-classification": "3.
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
26
|
-
"@aws-sdk/util-middleware": "3.
|
|
27
|
-
"@aws-sdk/util-retry": "3.
|
|
23
|
+
"@aws-sdk/protocol-http": "3.290.0",
|
|
24
|
+
"@aws-sdk/service-error-classification": "3.290.0",
|
|
25
|
+
"@aws-sdk/types": "3.290.0",
|
|
26
|
+
"@aws-sdk/util-middleware": "3.290.0",
|
|
27
|
+
"@aws-sdk/util-retry": "3.290.0",
|
|
28
28
|
"tslib": "^2.3.1",
|
|
29
29
|
"uuid": "^8.3.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@aws-sdk/node-config-provider": "3.
|
|
32
|
+
"@aws-sdk/node-config-provider": "3.290.0",
|
|
33
33
|
"@tsconfig/recommended": "1.0.1",
|
|
34
34
|
"@types/uuid": "^8.3.0",
|
|
35
35
|
"concurrently": "7.0.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-sdk-sts",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.290.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@aws-sdk/middleware-signing": "3.
|
|
24
|
-
"@aws-sdk/property-provider": "3.
|
|
25
|
-
"@aws-sdk/protocol-http": "3.
|
|
26
|
-
"@aws-sdk/signature-v4": "3.
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
23
|
+
"@aws-sdk/middleware-signing": "3.290.0",
|
|
24
|
+
"@aws-sdk/property-provider": "3.290.0",
|
|
25
|
+
"@aws-sdk/protocol-http": "3.290.0",
|
|
26
|
+
"@aws-sdk/signature-v4": "3.290.0",
|
|
27
|
+
"@aws-sdk/types": "3.290.0",
|
|
28
28
|
"tslib": "^2.3.1"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-serde",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.290.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@aws-sdk/types": "3.
|
|
23
|
+
"@aws-sdk/types": "3.290.0",
|
|
24
24
|
"tslib": "^2.3.1"
|
|
25
25
|
},
|
|
26
26
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-signing",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.290.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@aws-sdk/property-provider": "3.
|
|
24
|
-
"@aws-sdk/protocol-http": "3.
|
|
25
|
-
"@aws-sdk/signature-v4": "3.
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
27
|
-
"@aws-sdk/util-middleware": "3.
|
|
23
|
+
"@aws-sdk/property-provider": "3.290.0",
|
|
24
|
+
"@aws-sdk/protocol-http": "3.290.0",
|
|
25
|
+
"@aws-sdk/signature-v4": "3.290.0",
|
|
26
|
+
"@aws-sdk/types": "3.290.0",
|
|
27
|
+
"@aws-sdk/util-middleware": "3.290.0",
|
|
28
28
|
"tslib": "^2.3.1"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-stack",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.290.0",
|
|
4
4
|
"description": "Provides a means for composing multiple middleware functions into a single handler",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"tslib": "^2.3.1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@aws-sdk/types": "3.
|
|
28
|
+
"@aws-sdk/types": "3.290.0",
|
|
29
29
|
"@tsconfig/recommended": "1.0.1",
|
|
30
30
|
"concurrently": "7.0.0",
|
|
31
31
|
"downlevel-dts": "0.10.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.290.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@aws-sdk/protocol-http": "3.
|
|
24
|
-
"@aws-sdk/types": "3.
|
|
23
|
+
"@aws-sdk/protocol-http": "3.290.0",
|
|
24
|
+
"@aws-sdk/types": "3.290.0",
|
|
25
25
|
"tslib": "^2.3.1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@aws-sdk/middleware-stack": "3.
|
|
28
|
+
"@aws-sdk/middleware-stack": "3.290.0",
|
|
29
29
|
"@tsconfig/recommended": "1.0.1",
|
|
30
30
|
"concurrently": "7.0.0",
|
|
31
31
|
"downlevel-dts": "0.10.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/node-config-provider",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.290.0",
|
|
4
4
|
"description": "Load config default values from ini config files and environmental variable",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"module": "./dist-es/index.js",
|
|
23
23
|
"types": "./dist-types/index.d.ts",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/property-provider": "3.
|
|
26
|
-
"@aws-sdk/shared-ini-file-loader": "3.
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
25
|
+
"@aws-sdk/property-provider": "3.290.0",
|
|
26
|
+
"@aws-sdk/shared-ini-file-loader": "3.290.0",
|
|
27
|
+
"@aws-sdk/types": "3.290.0",
|
|
28
28
|
"tslib": "^2.3.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/node-http-handler",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.290.0",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"module": "./dist-es/index.js",
|
|
23
23
|
"types": "./dist-types/index.d.ts",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/abort-controller": "3.
|
|
26
|
-
"@aws-sdk/protocol-http": "3.
|
|
27
|
-
"@aws-sdk/querystring-builder": "3.
|
|
28
|
-
"@aws-sdk/types": "3.
|
|
25
|
+
"@aws-sdk/abort-controller": "3.290.0",
|
|
26
|
+
"@aws-sdk/protocol-http": "3.290.0",
|
|
27
|
+
"@aws-sdk/querystring-builder": "3.290.0",
|
|
28
|
+
"@aws-sdk/types": "3.290.0",
|
|
29
29
|
"tslib": "^2.3.1"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/property-provider",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.290.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@aws-sdk/types": "3.
|
|
23
|
+
"@aws-sdk/types": "3.290.0",
|
|
24
24
|
"tslib": "^2.3.1"
|
|
25
25
|
},
|
|
26
26
|
"engines": {
|
|
@@ -18,9 +18,7 @@ class Field {
|
|
|
18
18
|
this.values = this.values.filter((v) => v !== value);
|
|
19
19
|
}
|
|
20
20
|
toString() {
|
|
21
|
-
return this.values
|
|
22
|
-
.map((v) => (v.includes(",") || v.includes(" ") ? `"${v}"` : v))
|
|
23
|
-
.join(", ");
|
|
21
|
+
return this.values.map((v) => (v.includes(",") ? `"${v}"` : v)).join(", ");
|
|
24
22
|
}
|
|
25
23
|
get() {
|
|
26
24
|
return this.values;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Fields = void 0;
|
|
4
|
+
const Field_1 = require("./Field");
|
|
4
5
|
class Fields {
|
|
5
6
|
constructor({ fields = [], encoding = "utf-8" }) {
|
|
6
7
|
this.entries = {};
|
|
@@ -19,5 +20,14 @@ class Fields {
|
|
|
19
20
|
getByType(kind) {
|
|
20
21
|
return Object.values(this.entries).filter((field) => field.kind === kind);
|
|
21
22
|
}
|
|
23
|
+
getAll() {
|
|
24
|
+
return Object.values(this.entries);
|
|
25
|
+
}
|
|
26
|
+
static from(fieldsToCreate, encoding) {
|
|
27
|
+
return fieldsToCreate.reduce((fields, fieldArgs) => {
|
|
28
|
+
fields.setField(new Field_1.Field(fieldArgs));
|
|
29
|
+
return fields;
|
|
30
|
+
}, new Fields({ encoding }));
|
|
31
|
+
}
|
|
22
32
|
}
|
|
23
33
|
exports.Fields = Fields;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.headerValueToFieldValues = exports.fieldsToHeaders = exports.headersToFields = exports.getHeadersProxy = void 0;
|
|
4
|
+
const Field_1 = require("./Field");
|
|
5
|
+
const FieldPosition_1 = require("./FieldPosition");
|
|
6
|
+
const Fields_1 = require("./Fields");
|
|
7
|
+
const getHeadersProxy = (fields) => {
|
|
8
|
+
const headers = (0, exports.fieldsToHeaders)(fields);
|
|
9
|
+
return new Proxy(headers, {
|
|
10
|
+
set(target, property, newValue) {
|
|
11
|
+
if (newValue == null)
|
|
12
|
+
return true;
|
|
13
|
+
Reflect.set(target, property, newValue);
|
|
14
|
+
const field = new Field_1.Field({ name: property, values: (0, exports.headerValueToFieldValues)(newValue) });
|
|
15
|
+
fields.setField(field);
|
|
16
|
+
return true;
|
|
17
|
+
},
|
|
18
|
+
defineProperty(target, property, attributes) {
|
|
19
|
+
const { configurable, enumerable, writable, value } = attributes;
|
|
20
|
+
if (configurable && enumerable && writable && value != null) {
|
|
21
|
+
Reflect.defineProperty(target, property, attributes);
|
|
22
|
+
const field = new Field_1.Field({ name: property, values: (0, exports.headerValueToFieldValues)(value) });
|
|
23
|
+
fields.setField(field);
|
|
24
|
+
}
|
|
25
|
+
return true;
|
|
26
|
+
},
|
|
27
|
+
deleteProperty(target, property) {
|
|
28
|
+
Reflect.deleteProperty(target, property);
|
|
29
|
+
fields.removeField(property);
|
|
30
|
+
return true;
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
exports.getHeadersProxy = getHeadersProxy;
|
|
35
|
+
const headersToFields = (headers) => {
|
|
36
|
+
return Fields_1.Fields.from(Object.entries(headers)
|
|
37
|
+
.filter(([, value]) => value != null)
|
|
38
|
+
.map(([key, value]) => ({ name: key, values: (0, exports.headerValueToFieldValues)(value), kind: FieldPosition_1.FieldPosition.HEADER })));
|
|
39
|
+
};
|
|
40
|
+
exports.headersToFields = headersToFields;
|
|
41
|
+
const fieldsToHeaders = (fields) => {
|
|
42
|
+
return fields
|
|
43
|
+
.getByType(FieldPosition_1.FieldPosition.HEADER)
|
|
44
|
+
.reduce((headers, field) => ({ ...headers, [field.name]: field.values.join(",") }), {});
|
|
45
|
+
};
|
|
46
|
+
exports.fieldsToHeaders = fieldsToHeaders;
|
|
47
|
+
const headerValueToFieldValues = (headerValue) => {
|
|
48
|
+
if (headerValue == null)
|
|
49
|
+
return undefined;
|
|
50
|
+
return String(headerValue).split(",");
|
|
51
|
+
};
|
|
52
|
+
exports.headerValueToFieldValues = headerValueToFieldValues;
|