@cdklabs/cdk-ecs-codedeploy 0.0.351 → 0.0.353
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/client-codedeploy/package.json +36 -36
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +34 -34
- package/node_modules/@aws-sdk/client-sts/package.json +34 -34
- package/node_modules/@aws-sdk/core/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +22 -34
- package/node_modules/@smithy/smithy-client/dist-es/lazy-json.js +22 -31
- package/node_modules/@smithy/smithy-client/dist-types/lazy-json.d.ts +34 -15
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/lazy-json.d.ts +34 -15
- 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/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.709.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",
|
|
@@ -25,17 +25,17 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/core": "3.
|
|
29
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
30
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
31
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
33
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
34
|
-
"@aws-sdk/types": "3.
|
|
35
|
-
"@smithy/credential-provider-imds": "^3.2.
|
|
36
|
-
"@smithy/property-provider": "^3.1.
|
|
37
|
-
"@smithy/shared-ini-file-loader": "^3.1.
|
|
38
|
-
"@smithy/types": "^3.7.
|
|
28
|
+
"@aws-sdk/core": "3.709.0",
|
|
29
|
+
"@aws-sdk/credential-provider-env": "3.709.0",
|
|
30
|
+
"@aws-sdk/credential-provider-http": "3.709.0",
|
|
31
|
+
"@aws-sdk/credential-provider-process": "3.709.0",
|
|
32
|
+
"@aws-sdk/credential-provider-sso": "3.709.0",
|
|
33
|
+
"@aws-sdk/credential-provider-web-identity": "3.709.0",
|
|
34
|
+
"@aws-sdk/types": "3.709.0",
|
|
35
|
+
"@smithy/credential-provider-imds": "^3.2.8",
|
|
36
|
+
"@smithy/property-provider": "^3.1.11",
|
|
37
|
+
"@smithy/shared-ini-file-loader": "^3.1.12",
|
|
38
|
+
"@smithy/types": "^3.7.2",
|
|
39
39
|
"tslib": "^2.6.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"typescript": "~4.9.5"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@aws-sdk/client-sts": "^3.
|
|
50
|
+
"@aws-sdk/client-sts": "^3.709.0"
|
|
51
51
|
},
|
|
52
52
|
"types": "./dist-types/index.d.ts",
|
|
53
53
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.709.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=16.0.0"
|
|
@@ -29,17 +29,17 @@
|
|
|
29
29
|
},
|
|
30
30
|
"license": "Apache-2.0",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
33
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
34
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
35
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
36
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
37
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
38
|
-
"@aws-sdk/types": "3.
|
|
39
|
-
"@smithy/credential-provider-imds": "^3.2.
|
|
40
|
-
"@smithy/property-provider": "^3.1.
|
|
41
|
-
"@smithy/shared-ini-file-loader": "^3.1.
|
|
42
|
-
"@smithy/types": "^3.7.
|
|
32
|
+
"@aws-sdk/credential-provider-env": "3.709.0",
|
|
33
|
+
"@aws-sdk/credential-provider-http": "3.709.0",
|
|
34
|
+
"@aws-sdk/credential-provider-ini": "3.709.0",
|
|
35
|
+
"@aws-sdk/credential-provider-process": "3.709.0",
|
|
36
|
+
"@aws-sdk/credential-provider-sso": "3.709.0",
|
|
37
|
+
"@aws-sdk/credential-provider-web-identity": "3.709.0",
|
|
38
|
+
"@aws-sdk/types": "3.709.0",
|
|
39
|
+
"@smithy/credential-provider-imds": "^3.2.8",
|
|
40
|
+
"@smithy/property-provider": "^3.1.11",
|
|
41
|
+
"@smithy/shared-ini-file-loader": "^3.1.12",
|
|
42
|
+
"@smithy/types": "^3.7.2",
|
|
43
43
|
"tslib": "^2.6.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.709.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",
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/core": "3.
|
|
29
|
-
"@aws-sdk/types": "3.
|
|
30
|
-
"@smithy/property-provider": "^3.1.
|
|
31
|
-
"@smithy/shared-ini-file-loader": "^3.1.
|
|
32
|
-
"@smithy/types": "^3.7.
|
|
28
|
+
"@aws-sdk/core": "3.709.0",
|
|
29
|
+
"@aws-sdk/types": "3.709.0",
|
|
30
|
+
"@smithy/property-provider": "^3.1.11",
|
|
31
|
+
"@smithy/shared-ini-file-loader": "^3.1.12",
|
|
32
|
+
"@smithy/types": "^3.7.2",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.709.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",
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/client-sso": "3.
|
|
29
|
-
"@aws-sdk/core": "3.
|
|
30
|
-
"@aws-sdk/token-providers": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@smithy/property-provider": "^3.1.
|
|
33
|
-
"@smithy/shared-ini-file-loader": "^3.1.
|
|
34
|
-
"@smithy/types": "^3.7.
|
|
28
|
+
"@aws-sdk/client-sso": "3.709.0",
|
|
29
|
+
"@aws-sdk/core": "3.709.0",
|
|
30
|
+
"@aws-sdk/token-providers": "3.709.0",
|
|
31
|
+
"@aws-sdk/types": "3.709.0",
|
|
32
|
+
"@smithy/property-provider": "^3.1.11",
|
|
33
|
+
"@smithy/shared-ini-file-loader": "^3.1.12",
|
|
34
|
+
"@smithy/types": "^3.7.2",
|
|
35
35
|
"tslib": "^2.6.2"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.709.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",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
},
|
|
34
34
|
"license": "Apache-2.0",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@aws-sdk/core": "3.
|
|
37
|
-
"@aws-sdk/types": "3.
|
|
38
|
-
"@smithy/property-provider": "^3.1.
|
|
39
|
-
"@smithy/types": "^3.7.
|
|
36
|
+
"@aws-sdk/core": "3.709.0",
|
|
37
|
+
"@aws-sdk/types": "3.709.0",
|
|
38
|
+
"@smithy/property-provider": "^3.1.11",
|
|
39
|
+
"@smithy/types": "^3.7.2",
|
|
40
40
|
"tslib": "^2.6.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"typescript": "~4.9.5"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@aws-sdk/client-sts": "^3.
|
|
51
|
+
"@aws-sdk/client-sts": "^3.709.0"
|
|
52
52
|
},
|
|
53
53
|
"types": "./dist-types/index.d.ts",
|
|
54
54
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-host-header",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.709.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-host-header",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
27
|
-
"@smithy/protocol-http": "^4.1.
|
|
28
|
-
"@smithy/types": "^3.7.
|
|
26
|
+
"@aws-sdk/types": "3.709.0",
|
|
27
|
+
"@smithy/protocol-http": "^4.1.8",
|
|
28
|
+
"@smithy/types": "^3.7.2",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-logger",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.709.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-logger",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"module": "./dist-es/index.js",
|
|
25
25
|
"types": "./dist-types/index.d.ts",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
28
|
-
"@smithy/types": "^3.7.
|
|
27
|
+
"@aws-sdk/types": "3.709.0",
|
|
28
|
+
"@smithy/types": "^3.7.2",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-recursion-detection",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.709.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-recursion-detection",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
27
|
-
"@smithy/protocol-http": "^4.1.
|
|
28
|
-
"@smithy/types": "^3.7.
|
|
26
|
+
"@aws-sdk/types": "3.709.0",
|
|
27
|
+
"@smithy/protocol-http": "^4.1.8",
|
|
28
|
+
"@smithy/types": "^3.7.2",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.709.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-user-agent",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/core": "3.
|
|
28
|
-
"@aws-sdk/types": "3.
|
|
29
|
-
"@aws-sdk/util-endpoints": "3.
|
|
30
|
-
"@smithy/core": "^2.5.
|
|
31
|
-
"@smithy/protocol-http": "^4.1.
|
|
32
|
-
"@smithy/types": "^3.7.
|
|
27
|
+
"@aws-sdk/core": "3.709.0",
|
|
28
|
+
"@aws-sdk/types": "3.709.0",
|
|
29
|
+
"@aws-sdk/util-endpoints": "3.709.0",
|
|
30
|
+
"@smithy/core": "^2.5.5",
|
|
31
|
+
"@smithy/protocol-http": "^4.1.8",
|
|
32
|
+
"@smithy/types": "^3.7.2",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/region-config-resolver",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.709.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline region-config-resolver",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
26
|
-
"@smithy/node-config-provider": "^3.1.
|
|
27
|
-
"@smithy/types": "^3.7.
|
|
25
|
+
"@aws-sdk/types": "3.709.0",
|
|
26
|
+
"@smithy/node-config-provider": "^3.1.12",
|
|
27
|
+
"@smithy/types": "^3.7.2",
|
|
28
28
|
"@smithy/util-config-provider": "^3.0.0",
|
|
29
|
-
"@smithy/util-middleware": "^3.0.
|
|
29
|
+
"@smithy/util-middleware": "^3.0.11",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.709.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
},
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@smithy/property-provider": "^3.1.
|
|
32
|
-
"@smithy/shared-ini-file-loader": "^3.1.
|
|
33
|
-
"@smithy/types": "^3.7.
|
|
30
|
+
"@aws-sdk/types": "3.709.0",
|
|
31
|
+
"@smithy/property-provider": "^3.1.11",
|
|
32
|
+
"@smithy/shared-ini-file-loader": "^3.1.12",
|
|
33
|
+
"@smithy/types": "^3.7.2",
|
|
34
34
|
"tslib": "^2.6.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"typescript": "~4.9.5"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@aws-sdk/client-sso-oidc": "^3.
|
|
45
|
+
"@aws-sdk/client-sso-oidc": "^3.709.0"
|
|
46
46
|
},
|
|
47
47
|
"types": "./dist-types/index.d.ts",
|
|
48
48
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/types",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.709.0",
|
|
4
4
|
"main": "./dist-cjs/index.js",
|
|
5
5
|
"module": "./dist-es/index.js",
|
|
6
6
|
"types": "./dist-types/index.d.ts",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"directory": "packages/types"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@smithy/types": "^3.7.
|
|
44
|
+
"@smithy/types": "^3.7.2",
|
|
45
45
|
"tslib": "^2.6.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-endpoints",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.709.0",
|
|
4
4
|
"description": "Utilities to help with endpoint resolution",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
28
|
-
"@smithy/types": "^3.7.
|
|
29
|
-
"@smithy/util-endpoints": "^2.1.
|
|
27
|
+
"@aws-sdk/types": "3.709.0",
|
|
28
|
+
"@smithy/types": "^3.7.2",
|
|
29
|
+
"@smithy/util-endpoints": "^2.1.7",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-browser",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.709.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-browser",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"react-native": "dist-es/index.native.js",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
27
|
-
"@smithy/types": "^3.7.
|
|
26
|
+
"@aws-sdk/types": "3.709.0",
|
|
27
|
+
"@smithy/types": "^3.7.2",
|
|
28
28
|
"bowser": "^2.11.0",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.709.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
26
|
-
"@smithy/node-config-provider": "^3.1.
|
|
27
|
-
"@smithy/types": "^3.7.
|
|
24
|
+
"@aws-sdk/middleware-user-agent": "3.709.0",
|
|
25
|
+
"@aws-sdk/types": "3.709.0",
|
|
26
|
+
"@smithy/node-config-provider": "^3.1.12",
|
|
27
|
+
"@smithy/types": "^3.7.2",
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-retry",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.30",
|
|
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",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@smithy/node-config-provider": "^3.1.12",
|
|
37
37
|
"@smithy/protocol-http": "^4.1.8",
|
|
38
38
|
"@smithy/service-error-classification": "^3.0.11",
|
|
39
|
-
"@smithy/smithy-client": "^3.
|
|
39
|
+
"@smithy/smithy-client": "^3.5.0",
|
|
40
40
|
"@smithy/types": "^3.7.2",
|
|
41
41
|
"@smithy/util-middleware": "^3.0.11",
|
|
42
42
|
"@smithy/util-retry": "^3.0.11",
|
|
@@ -26,7 +26,6 @@ __export(src_exports, {
|
|
|
26
26
|
NoOpLogger: () => NoOpLogger,
|
|
27
27
|
SENSITIVE_STRING: () => SENSITIVE_STRING,
|
|
28
28
|
ServiceException: () => ServiceException,
|
|
29
|
-
StringWrapper: () => StringWrapper,
|
|
30
29
|
_json: () => _json,
|
|
31
30
|
collectBody: () => import_protocols.collectBody,
|
|
32
31
|
convertMap: () => convertMap,
|
|
@@ -978,40 +977,30 @@ var isSerializableHeaderValue = /* @__PURE__ */ __name((value) => {
|
|
|
978
977
|
}, "isSerializableHeaderValue");
|
|
979
978
|
|
|
980
979
|
// src/lazy-json.ts
|
|
981
|
-
|
|
982
|
-
const
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
enumerable: false,
|
|
992
|
-
writable: true,
|
|
993
|
-
configurable: true
|
|
994
|
-
}
|
|
995
|
-
});
|
|
996
|
-
Object.setPrototypeOf(StringWrapper, String);
|
|
997
|
-
var _LazyJsonString = class _LazyJsonString extends StringWrapper {
|
|
998
|
-
deserializeJSON() {
|
|
999
|
-
return JSON.parse(super.toString());
|
|
1000
|
-
}
|
|
1001
|
-
toJSON() {
|
|
1002
|
-
return super.toString();
|
|
1003
|
-
}
|
|
1004
|
-
static fromObject(object) {
|
|
1005
|
-
if (object instanceof _LazyJsonString) {
|
|
1006
|
-
return object;
|
|
1007
|
-
} else if (object instanceof String || typeof object === "string") {
|
|
1008
|
-
return new _LazyJsonString(object);
|
|
980
|
+
function LazyJsonString(val) {
|
|
981
|
+
const str = Object.assign(new String(val), {
|
|
982
|
+
deserializeJSON() {
|
|
983
|
+
return JSON.parse(String(val));
|
|
984
|
+
},
|
|
985
|
+
toString() {
|
|
986
|
+
return String(val);
|
|
987
|
+
},
|
|
988
|
+
toJSON() {
|
|
989
|
+
return String(val);
|
|
1009
990
|
}
|
|
1010
|
-
|
|
1011
|
-
|
|
991
|
+
});
|
|
992
|
+
return str;
|
|
993
|
+
}
|
|
994
|
+
__name(LazyJsonString, "LazyJsonString");
|
|
995
|
+
LazyJsonString.from = (object) => {
|
|
996
|
+
if (object && typeof object === "object" && (object instanceof LazyJsonString || "deserializeJSON" in object)) {
|
|
997
|
+
return object;
|
|
998
|
+
} else if (typeof object === "string" || Object.getPrototypeOf(object) === String.prototype) {
|
|
999
|
+
return LazyJsonString(String(object));
|
|
1000
|
+
}
|
|
1001
|
+
return LazyJsonString(JSON.stringify(object));
|
|
1012
1002
|
};
|
|
1013
|
-
|
|
1014
|
-
var LazyJsonString = _LazyJsonString;
|
|
1003
|
+
LazyJsonString.fromObject = LazyJsonString.from;
|
|
1015
1004
|
|
|
1016
1005
|
// src/NoOpLogger.ts
|
|
1017
1006
|
var _NoOpLogger = class _NoOpLogger {
|
|
@@ -1266,7 +1255,6 @@ var splitHeader = /* @__PURE__ */ __name((value) => {
|
|
|
1266
1255
|
getArrayIfSingleItem,
|
|
1267
1256
|
getValueFromTextNode,
|
|
1268
1257
|
isSerializableHeaderValue,
|
|
1269
|
-
StringWrapper,
|
|
1270
1258
|
LazyJsonString,
|
|
1271
1259
|
NoOpLogger,
|
|
1272
1260
|
map,
|
|
@@ -1,33 +1,24 @@
|
|
|
1
|
-
export
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
deserializeJSON() {
|
|
19
|
-
return JSON.parse(super.toString());
|
|
20
|
-
}
|
|
21
|
-
toJSON() {
|
|
22
|
-
return super.toString();
|
|
1
|
+
export function LazyJsonString(val) {
|
|
2
|
+
const str = Object.assign(new String(val), {
|
|
3
|
+
deserializeJSON() {
|
|
4
|
+
return JSON.parse(String(val));
|
|
5
|
+
},
|
|
6
|
+
toString() {
|
|
7
|
+
return String(val);
|
|
8
|
+
},
|
|
9
|
+
toJSON() {
|
|
10
|
+
return String(val);
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
return str;
|
|
14
|
+
}
|
|
15
|
+
LazyJsonString.from = (object) => {
|
|
16
|
+
if (object && typeof object === "object" && (object instanceof LazyJsonString || "deserializeJSON" in object)) {
|
|
17
|
+
return object;
|
|
23
18
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
return object;
|
|
27
|
-
}
|
|
28
|
-
else if (object instanceof String || typeof object === "string") {
|
|
29
|
-
return new LazyJsonString(object);
|
|
30
|
-
}
|
|
31
|
-
return new LazyJsonString(JSON.stringify(object));
|
|
19
|
+
else if (typeof object === "string" || Object.getPrototypeOf(object) === String.prototype) {
|
|
20
|
+
return LazyJsonString(String(object));
|
|
32
21
|
}
|
|
33
|
-
|
|
22
|
+
return LazyJsonString(JSON.stringify(object));
|
|
23
|
+
};
|
|
24
|
+
LazyJsonString.fromObject = LazyJsonString.from;
|
|
@@ -1,24 +1,43 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*/
|
|
4
|
-
interface StringWrapper {
|
|
5
|
-
new (arg: any): String;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Because of https://github.com/microsoft/tslib/issues/95,
|
|
9
|
-
* TS 'extends' shim doesn't support extending native types like String.
|
|
10
|
-
* So here we create StringWrapper that duplicate everything from String
|
|
11
|
-
* class including its prototype chain. So we can extend from here.
|
|
2
|
+
* @public
|
|
12
3
|
*
|
|
13
|
-
*
|
|
4
|
+
* A model field with this type means that you may provide a JavaScript
|
|
5
|
+
* object in lieu of a JSON string, and it will be serialized to JSON
|
|
6
|
+
* automatically before being sent in a request.
|
|
7
|
+
*
|
|
8
|
+
* For responses, you will receive a "LazyJsonString", which is a boxed String object
|
|
9
|
+
* with additional mixin methods.
|
|
10
|
+
* To get the string value, call `.toString()`, or to get the JSON object value,
|
|
11
|
+
* call `.deserializeJSON()` or parse it yourself.
|
|
14
12
|
*/
|
|
15
|
-
export
|
|
13
|
+
export type AutomaticJsonStringConversion = Parameters<typeof JSON.stringify>[0] | LazyJsonString;
|
|
16
14
|
/**
|
|
17
15
|
* @internal
|
|
16
|
+
*
|
|
18
17
|
*/
|
|
19
|
-
export
|
|
18
|
+
export interface LazyJsonString extends String {
|
|
19
|
+
new (s: string): typeof LazyJsonString;
|
|
20
|
+
/**
|
|
21
|
+
* @returns the JSON parsing of the string value.
|
|
22
|
+
*/
|
|
20
23
|
deserializeJSON(): any;
|
|
24
|
+
/**
|
|
25
|
+
* @returns the original string value rather than a JSON.stringified value.
|
|
26
|
+
*/
|
|
21
27
|
toJSON(): string;
|
|
22
|
-
static fromObject(object: any): LazyJsonString;
|
|
23
28
|
}
|
|
24
|
-
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*
|
|
32
|
+
* Extension of the native String class in the previous implementation
|
|
33
|
+
* has negative global performance impact on method dispatch for strings,
|
|
34
|
+
* and is generally discouraged.
|
|
35
|
+
*
|
|
36
|
+
* This current implementation may look strange, but is necessary to preserve the interface and
|
|
37
|
+
* behavior of extending the String class.
|
|
38
|
+
*/
|
|
39
|
+
export declare function LazyJsonString(val: string): void;
|
|
40
|
+
export declare namespace LazyJsonString {
|
|
41
|
+
var from: (object: any) => LazyJsonString;
|
|
42
|
+
var fromObject: (object: any) => LazyJsonString;
|
|
43
|
+
}
|