@cdklabs/cdk-ecs-codedeploy 0.0.345 → 0.0.346
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/.jsii.tabl.json +1 -1
- 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/dist-types/models/models_0.d.ts +376 -376
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/models/models_0.d.ts +386 -376
- package/node_modules/@aws-sdk/client-codedeploy/package.json +7 -7
- package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +18 -18
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +18 -18
- package/node_modules/@aws-sdk/client-sso/package.json +4 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +74 -74
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/models_0.d.ts +74 -74
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +6 -6
- package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +56 -56
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/models_0.d.ts +56 -56
- package/node_modules/@aws-sdk/client-sts/package.json +6 -6
- package/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
- 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 +6 -6
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@smithy/abort-controller/package.json +4 -3
- package/node_modules/@smithy/config-resolver/package.json +7 -6
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +21 -20
- package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +1 -1
- package/node_modules/@smithy/core/package.json +10 -9
- package/node_modules/@smithy/credential-provider-imds/package.json +7 -7
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/create-request.js +1 -0
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +10 -3
- package/node_modules/@smithy/fetch-http-handler/dist-es/create-request.js +3 -0
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +3 -2
- package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +1 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts +6 -0
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +6 -0
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts +6 -0
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +6 -0
- package/node_modules/@smithy/fetch-http-handler/package.json +9 -6
- package/node_modules/@smithy/hash-node/package.json +4 -3
- package/node_modules/@smithy/invalid-dependency/package.json +4 -3
- package/node_modules/@smithy/middleware-content-length/package.json +5 -4
- package/node_modules/@smithy/middleware-endpoint/package.json +11 -10
- package/node_modules/@smithy/middleware-retry/package.json +12 -10
- package/node_modules/@smithy/middleware-serde/package.json +6 -4
- package/node_modules/@smithy/middleware-stack/package.json +4 -3
- package/node_modules/@smithy/node-config-provider/package.json +6 -5
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +20 -14
- package/node_modules/@smithy/node-http-handler/dist-cjs/timing.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +5 -4
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +9 -2
- package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +5 -4
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
- package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +4 -3
- package/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +8 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +8 -0
- package/node_modules/@smithy/node-http-handler/package.json +7 -6
- package/node_modules/@smithy/property-provider/package.json +4 -3
- package/node_modules/@smithy/protocol-http/package.json +4 -3
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +4 -3
- package/node_modules/@smithy/service-error-classification/package.json +4 -3
- package/node_modules/@smithy/shared-ini-file-loader/package.json +4 -3
- package/node_modules/@smithy/signature-v4/package.json +6 -5
- package/node_modules/@smithy/smithy-client/package.json +9 -8
- package/node_modules/@smithy/types/dist-types/http.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +5 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -5
- package/node_modules/@smithy/util-defaults-mode-node/package.json +9 -8
- package/node_modules/@smithy/util-endpoints/package.json +7 -5
- package/node_modules/@smithy/util-middleware/package.json +4 -3
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +5 -1
- package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +2 -1
- package/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts +4 -0
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/DefaultRateLimiter.d.ts +4 -0
- package/node_modules/@smithy/util-retry/package.json +5 -4
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +1 -2
- package/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +1 -1
- package/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +6 -1
- package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +0 -1
- package/node_modules/@smithy/util-stream/dist-es/splitStream.js +2 -2
- package/node_modules/@smithy/util-stream/dist-es/stream-type-check.js +3 -0
- package/node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts +4 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +4 -0
- package/node_modules/@smithy/util-stream/package.json +10 -6
- package/node_modules/@smithy/util-waiter/package.json +5 -4
- package/package.json +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-http-handler",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.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 && yarn build:types:downlevel'",
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
14
14
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
15
15
|
"extract:docs": "api-extractor run --local",
|
|
16
|
-
"test": "yarn g:
|
|
16
|
+
"test": "yarn g:vitest run",
|
|
17
|
+
"test:watch": "yarn g:vitest watch"
|
|
17
18
|
},
|
|
18
19
|
"author": {
|
|
19
20
|
"name": "AWS SDK for JavaScript Team",
|
|
@@ -25,10 +26,10 @@
|
|
|
25
26
|
"module": "./dist-es/index.js",
|
|
26
27
|
"types": "./dist-types/index.d.ts",
|
|
27
28
|
"dependencies": {
|
|
28
|
-
"@smithy/abort-controller": "^3.1.
|
|
29
|
-
"@smithy/protocol-http": "^4.1.
|
|
30
|
-
"@smithy/querystring-builder": "^3.0.
|
|
31
|
-
"@smithy/types": "^3.
|
|
29
|
+
"@smithy/abort-controller": "^3.1.7",
|
|
30
|
+
"@smithy/protocol-http": "^4.1.6",
|
|
31
|
+
"@smithy/querystring-builder": "^3.0.9",
|
|
32
|
+
"@smithy/types": "^3.7.0",
|
|
32
33
|
"tslib": "^2.6.2"
|
|
33
34
|
},
|
|
34
35
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/property-provider",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.9",
|
|
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 property-provider",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
13
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
14
|
-
"test": "yarn g:
|
|
14
|
+
"test": "yarn g:vitest run",
|
|
15
|
+
"test:watch": "yarn g:vitest watch"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"module": "./dist-es/index.js",
|
|
@@ -22,7 +23,7 @@
|
|
|
22
23
|
},
|
|
23
24
|
"license": "Apache-2.0",
|
|
24
25
|
"dependencies": {
|
|
25
|
-
"@smithy/types": "^3.
|
|
26
|
+
"@smithy/types": "^3.7.0",
|
|
26
27
|
"tslib": "^2.6.2"
|
|
27
28
|
},
|
|
28
29
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/protocol-http",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.6",
|
|
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 protocol-http",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
13
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
14
|
-
"test": "yarn g:
|
|
14
|
+
"test": "yarn g:vitest run",
|
|
15
|
+
"test:watch": "yarn g:vitest watch"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"module": "./dist-es/index.js",
|
|
@@ -23,7 +24,7 @@
|
|
|
23
24
|
},
|
|
24
25
|
"license": "Apache-2.0",
|
|
25
26
|
"dependencies": {
|
|
26
|
-
"@smithy/types": "^3.
|
|
27
|
+
"@smithy/types": "^3.7.0",
|
|
27
28
|
"tslib": "^2.6.2"
|
|
28
29
|
},
|
|
29
30
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/querystring-builder",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.9",
|
|
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 querystring-builder",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@smithy/types": "^3.
|
|
25
|
+
"@smithy/types": "^3.7.0",
|
|
26
26
|
"@smithy/util-uri-escape": "^3.0.0",
|
|
27
27
|
"tslib": "^2.6.2"
|
|
28
28
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/querystring-parser",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.9",
|
|
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 querystring-parser",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
13
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
14
|
-
"test": "yarn g:
|
|
14
|
+
"test": "yarn g:vitest run",
|
|
15
|
+
"test:watch": "yarn g:vitest watch"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"module": "./dist-es/index.js",
|
|
@@ -22,7 +23,7 @@
|
|
|
22
23
|
},
|
|
23
24
|
"license": "Apache-2.0",
|
|
24
25
|
"dependencies": {
|
|
25
|
-
"@smithy/types": "^3.
|
|
26
|
+
"@smithy/types": "^3.7.0",
|
|
26
27
|
"tslib": "^2.6.2"
|
|
27
28
|
},
|
|
28
29
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/service-error-classification",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.9",
|
|
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 service-error-classification",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
13
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
14
|
-
"test": "yarn g:
|
|
14
|
+
"test": "yarn g:vitest run",
|
|
15
|
+
"test:watch": "yarn g:vitest watch"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"module": "./dist-es/index.js",
|
|
@@ -53,6 +54,6 @@
|
|
|
53
54
|
"directory": ".release/package"
|
|
54
55
|
},
|
|
55
56
|
"dependencies": {
|
|
56
|
-
"@smithy/types": "^3.
|
|
57
|
+
"@smithy/types": "^3.7.0"
|
|
57
58
|
}
|
|
58
59
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/shared-ini-file-loader",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.10",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@smithy/types": "^3.
|
|
5
|
+
"@smithy/types": "^3.7.0",
|
|
6
6
|
"tslib": "^2.6.2"
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
24
24
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
25
25
|
"extract:docs": "api-extractor run --local",
|
|
26
|
-
"test": "yarn g:
|
|
26
|
+
"test": "yarn g:vitest run",
|
|
27
|
+
"test:watch": "yarn g:vitest watch"
|
|
27
28
|
},
|
|
28
29
|
"author": {
|
|
29
30
|
"name": "AWS SDK for JavaScript Team",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/signature-v4",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.2",
|
|
4
4
|
"description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
17
17
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
18
18
|
"extract:docs": "api-extractor run --local",
|
|
19
|
-
"test": "yarn g:
|
|
19
|
+
"test": "yarn g:vitest run",
|
|
20
|
+
"test:watch": "yarn g:vitest watch"
|
|
20
21
|
},
|
|
21
22
|
"author": {
|
|
22
23
|
"name": "AWS SDK for JavaScript Team",
|
|
@@ -25,10 +26,10 @@
|
|
|
25
26
|
"license": "Apache-2.0",
|
|
26
27
|
"dependencies": {
|
|
27
28
|
"@smithy/is-array-buffer": "^3.0.0",
|
|
28
|
-
"@smithy/protocol-http": "^4.1.
|
|
29
|
-
"@smithy/types": "^3.
|
|
29
|
+
"@smithy/protocol-http": "^4.1.6",
|
|
30
|
+
"@smithy/types": "^3.7.0",
|
|
30
31
|
"@smithy/util-hex-encoding": "^3.0.0",
|
|
31
|
-
"@smithy/util-middleware": "^3.0.
|
|
32
|
+
"@smithy/util-middleware": "^3.0.9",
|
|
32
33
|
"@smithy/util-uri-escape": "^3.0.0",
|
|
33
34
|
"@smithy/util-utf8": "^3.0.0",
|
|
34
35
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/smithy-client",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.3",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline smithy-client",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
13
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
14
14
|
"extract:docs": "api-extractor run --local",
|
|
15
|
-
"test": "yarn g:
|
|
15
|
+
"test": "yarn g:vitest run",
|
|
16
|
+
"test:watch": "yarn g:vitest watch"
|
|
16
17
|
},
|
|
17
18
|
"main": "./dist-cjs/index.js",
|
|
18
19
|
"module": "./dist-es/index.js",
|
|
@@ -23,12 +24,12 @@
|
|
|
23
24
|
},
|
|
24
25
|
"license": "Apache-2.0",
|
|
25
26
|
"dependencies": {
|
|
26
|
-
"@smithy/core": "^2.5.
|
|
27
|
-
"@smithy/middleware-endpoint": "^3.2.
|
|
28
|
-
"@smithy/middleware-stack": "^3.0.
|
|
29
|
-
"@smithy/protocol-http": "^4.1.
|
|
30
|
-
"@smithy/types": "^3.
|
|
31
|
-
"@smithy/util-stream": "^3.
|
|
27
|
+
"@smithy/core": "^2.5.2",
|
|
28
|
+
"@smithy/middleware-endpoint": "^3.2.2",
|
|
29
|
+
"@smithy/middleware-stack": "^3.0.9",
|
|
30
|
+
"@smithy/protocol-http": "^4.1.6",
|
|
31
|
+
"@smithy/types": "^3.7.0",
|
|
32
|
+
"@smithy/util-stream": "^3.3.0",
|
|
32
33
|
"tslib": "^2.6.2"
|
|
33
34
|
},
|
|
34
35
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/url-parser",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.9",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline url-parser",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
13
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
14
|
-
"test": "yarn g:
|
|
14
|
+
"test": "yarn g:vitest run",
|
|
15
|
+
"test:watch": "yarn g:vitest watch"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"module": "./dist-es/index.js",
|
|
@@ -22,8 +23,8 @@
|
|
|
22
23
|
},
|
|
23
24
|
"license": "Apache-2.0",
|
|
24
25
|
"dependencies": {
|
|
25
|
-
"@smithy/querystring-parser": "^3.0.
|
|
26
|
-
"@smithy/types": "^3.
|
|
26
|
+
"@smithy/querystring-parser": "^3.0.9",
|
|
27
|
+
"@smithy/types": "^3.7.0",
|
|
27
28
|
"tslib": "^2.6.2"
|
|
28
29
|
},
|
|
29
30
|
"typesVersions": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.26",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-browser",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
13
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
14
|
-
"test": "yarn g:
|
|
14
|
+
"test": "yarn g:vitest run",
|
|
15
|
+
"test:watch": "yarn g:vitest watch"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"module": "./dist-es/index.js",
|
|
@@ -22,9 +23,9 @@
|
|
|
22
23
|
},
|
|
23
24
|
"license": "Apache-2.0",
|
|
24
25
|
"dependencies": {
|
|
25
|
-
"@smithy/property-provider": "^3.1.
|
|
26
|
-
"@smithy/smithy-client": "^3.4.
|
|
27
|
-
"@smithy/types": "^3.
|
|
26
|
+
"@smithy/property-provider": "^3.1.9",
|
|
27
|
+
"@smithy/smithy-client": "^3.4.3",
|
|
28
|
+
"@smithy/types": "^3.7.0",
|
|
28
29
|
"bowser": "^2.11.0",
|
|
29
30
|
"tslib": "^2.6.2"
|
|
30
31
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.26",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-node",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
13
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
14
|
-
"test": "yarn g:
|
|
14
|
+
"test": "yarn g:vitest run",
|
|
15
|
+
"test:watch": "yarn g:vitest watch"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"module": "./dist-es/index.js",
|
|
@@ -22,12 +23,12 @@
|
|
|
22
23
|
},
|
|
23
24
|
"license": "Apache-2.0",
|
|
24
25
|
"dependencies": {
|
|
25
|
-
"@smithy/config-resolver": "^3.0.
|
|
26
|
-
"@smithy/credential-provider-imds": "^3.2.
|
|
27
|
-
"@smithy/node-config-provider": "^3.1.
|
|
28
|
-
"@smithy/property-provider": "^3.1.
|
|
29
|
-
"@smithy/smithy-client": "^3.4.
|
|
30
|
-
"@smithy/types": "^3.
|
|
26
|
+
"@smithy/config-resolver": "^3.0.11",
|
|
27
|
+
"@smithy/credential-provider-imds": "^3.2.6",
|
|
28
|
+
"@smithy/node-config-provider": "^3.1.10",
|
|
29
|
+
"@smithy/property-provider": "^3.1.9",
|
|
30
|
+
"@smithy/smithy-client": "^3.4.3",
|
|
31
|
+
"@smithy/types": "^3.7.0",
|
|
31
32
|
"tslib": "^2.6.2"
|
|
32
33
|
},
|
|
33
34
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-endpoints",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.5",
|
|
4
4
|
"description": "Utilities to help with endpoint resolution.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -14,8 +14,10 @@
|
|
|
14
14
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
15
15
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
16
16
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
17
|
-
"test": "yarn g:
|
|
18
|
-
"test:integration": "yarn g:
|
|
17
|
+
"test": "yarn g:vitest run",
|
|
18
|
+
"test:integration": "yarn g:vitest run -c vitest.config.integ.ts",
|
|
19
|
+
"test:watch": "yarn g:vitest watch",
|
|
20
|
+
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.ts"
|
|
19
21
|
},
|
|
20
22
|
"keywords": [
|
|
21
23
|
"endpoint"
|
|
@@ -26,8 +28,8 @@
|
|
|
26
28
|
},
|
|
27
29
|
"license": "Apache-2.0",
|
|
28
30
|
"dependencies": {
|
|
29
|
-
"@smithy/node-config-provider": "^3.1.
|
|
30
|
-
"@smithy/types": "^3.
|
|
31
|
+
"@smithy/node-config-provider": "^3.1.10",
|
|
32
|
+
"@smithy/types": "^3.7.0",
|
|
31
33
|
"tslib": "^2.6.2"
|
|
32
34
|
},
|
|
33
35
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-middleware",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.9",
|
|
4
4
|
"description": "Shared utilities for to be used in middleware packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
15
15
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
16
16
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
17
|
-
"test": "yarn g:
|
|
17
|
+
"test": "yarn g:vitest run",
|
|
18
|
+
"test:watch": "yarn g:vitest watch"
|
|
18
19
|
},
|
|
19
20
|
"keywords": [
|
|
20
21
|
"aws",
|
|
@@ -26,7 +27,7 @@
|
|
|
26
27
|
},
|
|
27
28
|
"license": "Apache-2.0",
|
|
28
29
|
"dependencies": {
|
|
29
|
-
"@smithy/types": "^3.
|
|
30
|
+
"@smithy/types": "^3.7.0",
|
|
30
31
|
"tslib": "^2.6.2"
|
|
31
32
|
},
|
|
32
33
|
"devDependencies": {
|
|
@@ -84,7 +84,7 @@ var _DefaultRateLimiter = class _DefaultRateLimiter {
|
|
|
84
84
|
this.refillTokenBucket();
|
|
85
85
|
if (amount > this.currentCapacity) {
|
|
86
86
|
const delay = (amount - this.currentCapacity) / this.fillRate * 1e3;
|
|
87
|
-
await new Promise((resolve) =>
|
|
87
|
+
await new Promise((resolve) => _DefaultRateLimiter.setTimeoutFn(resolve, delay));
|
|
88
88
|
}
|
|
89
89
|
this.currentCapacity = this.currentCapacity - amount;
|
|
90
90
|
}
|
|
@@ -151,6 +151,10 @@ var _DefaultRateLimiter = class _DefaultRateLimiter {
|
|
|
151
151
|
}
|
|
152
152
|
};
|
|
153
153
|
__name(_DefaultRateLimiter, "DefaultRateLimiter");
|
|
154
|
+
/**
|
|
155
|
+
* Only used in testing.
|
|
156
|
+
*/
|
|
157
|
+
_DefaultRateLimiter.setTimeoutFn = setTimeout;
|
|
154
158
|
var DefaultRateLimiter = _DefaultRateLimiter;
|
|
155
159
|
|
|
156
160
|
// src/constants.ts
|
|
@@ -32,7 +32,7 @@ export class DefaultRateLimiter {
|
|
|
32
32
|
this.refillTokenBucket();
|
|
33
33
|
if (amount > this.currentCapacity) {
|
|
34
34
|
const delay = ((amount - this.currentCapacity) / this.fillRate) * 1000;
|
|
35
|
-
await new Promise((resolve) =>
|
|
35
|
+
await new Promise((resolve) => DefaultRateLimiter.setTimeoutFn(resolve, delay));
|
|
36
36
|
}
|
|
37
37
|
this.currentCapacity = this.currentCapacity - amount;
|
|
38
38
|
}
|
|
@@ -97,3 +97,4 @@ export class DefaultRateLimiter {
|
|
|
97
97
|
return parseFloat(num.toFixed(8));
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
+
DefaultRateLimiter.setTimeoutFn = setTimeout;
|
|
@@ -13,6 +13,10 @@ export interface DefaultRateLimiterOptions {
|
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
15
|
export declare class DefaultRateLimiter implements RateLimiter {
|
|
16
|
+
/**
|
|
17
|
+
* Only used in testing.
|
|
18
|
+
*/
|
|
19
|
+
private static setTimeoutFn;
|
|
16
20
|
private beta;
|
|
17
21
|
private minCapacity;
|
|
18
22
|
private minFillRate;
|
|
@@ -13,6 +13,10 @@ export interface DefaultRateLimiterOptions {
|
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
15
|
export declare class DefaultRateLimiter implements RateLimiter {
|
|
16
|
+
/**
|
|
17
|
+
* Only used in testing.
|
|
18
|
+
*/
|
|
19
|
+
private static setTimeoutFn;
|
|
16
20
|
private beta;
|
|
17
21
|
private minCapacity;
|
|
18
22
|
private minFillRate;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-retry",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.9",
|
|
4
4
|
"description": "Shared retry utilities to be used in middleware packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
16
16
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
17
17
|
"extract:docs": "api-extractor run --local",
|
|
18
|
-
"test": "yarn g:
|
|
18
|
+
"test": "yarn g:vitest run",
|
|
19
|
+
"test:watch": "yarn g:vitest watch"
|
|
19
20
|
},
|
|
20
21
|
"keywords": [
|
|
21
22
|
"aws",
|
|
@@ -27,8 +28,8 @@
|
|
|
27
28
|
},
|
|
28
29
|
"license": "Apache-2.0",
|
|
29
30
|
"dependencies": {
|
|
30
|
-
"@smithy/service-error-classification": "^3.0.
|
|
31
|
-
"@smithy/types": "^3.
|
|
31
|
+
"@smithy/service-error-classification": "^3.0.9",
|
|
32
|
+
"@smithy/types": "^3.7.0",
|
|
32
33
|
"tslib": "^2.6.2"
|
|
33
34
|
},
|
|
34
35
|
"devDependencies": {
|
|
@@ -4,7 +4,6 @@ exports.sdkStreamMixin = void 0;
|
|
|
4
4
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
5
5
|
const util_buffer_from_1 = require("@smithy/util-buffer-from");
|
|
6
6
|
const stream_1 = require("stream");
|
|
7
|
-
const util_1 = require("util");
|
|
8
7
|
const sdk_stream_mixin_browser_1 = require("./sdk-stream-mixin.browser");
|
|
9
8
|
const ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed.";
|
|
10
9
|
const sdkStreamMixin = (stream) => {
|
|
@@ -34,7 +33,7 @@ const sdkStreamMixin = (stream) => {
|
|
|
34
33
|
return (0, util_buffer_from_1.fromArrayBuffer)(buf.buffer, buf.byteOffset, buf.byteLength).toString(encoding);
|
|
35
34
|
}
|
|
36
35
|
else {
|
|
37
|
-
const decoder = new
|
|
36
|
+
const decoder = new TextDecoder(encoding);
|
|
38
37
|
return decoder.decode(buf);
|
|
39
38
|
}
|
|
40
39
|
},
|
|
@@ -5,7 +5,7 @@ const stream_1 = require("stream");
|
|
|
5
5
|
const splitStream_browser_1 = require("./splitStream.browser");
|
|
6
6
|
const stream_type_check_1 = require("./stream-type-check");
|
|
7
7
|
async function splitStream(stream) {
|
|
8
|
-
if ((0, stream_type_check_1.isReadableStream)(stream)) {
|
|
8
|
+
if ((0, stream_type_check_1.isReadableStream)(stream) || (0, stream_type_check_1.isBlob)(stream)) {
|
|
9
9
|
return (0, splitStream_browser_1.splitStream)(stream);
|
|
10
10
|
}
|
|
11
11
|
const stream1 = new stream_1.PassThrough();
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isReadableStream = void 0;
|
|
3
|
+
exports.isBlob = exports.isReadableStream = void 0;
|
|
4
4
|
const isReadableStream = (stream) => {
|
|
5
5
|
var _a;
|
|
6
6
|
return typeof ReadableStream === "function" &&
|
|
7
7
|
(((_a = stream === null || stream === void 0 ? void 0 : stream.constructor) === null || _a === void 0 ? void 0 : _a.name) === ReadableStream.name || stream instanceof ReadableStream);
|
|
8
8
|
};
|
|
9
9
|
exports.isReadableStream = isReadableStream;
|
|
10
|
+
const isBlob = (blob) => {
|
|
11
|
+
var _a;
|
|
12
|
+
return typeof Blob === "function" && (((_a = blob === null || blob === void 0 ? void 0 : blob.constructor) === null || _a === void 0 ? void 0 : _a.name) === Blob.name || blob instanceof Blob);
|
|
13
|
+
};
|
|
14
|
+
exports.isBlob = isBlob;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { streamCollector } from "@smithy/node-http-handler";
|
|
2
2
|
import { fromArrayBuffer } from "@smithy/util-buffer-from";
|
|
3
3
|
import { Readable } from "stream";
|
|
4
|
-
import { TextDecoder } from "util";
|
|
5
4
|
import { sdkStreamMixin as sdkStreamMixinReadableStream } from "./sdk-stream-mixin.browser";
|
|
6
5
|
const ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed.";
|
|
7
6
|
export const sdkStreamMixin = (stream) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PassThrough } from "stream";
|
|
2
2
|
import { splitStream as splitWebStream } from "./splitStream.browser";
|
|
3
|
-
import { isReadableStream } from "./stream-type-check";
|
|
3
|
+
import { isBlob, isReadableStream } from "./stream-type-check";
|
|
4
4
|
export async function splitStream(stream) {
|
|
5
|
-
if (isReadableStream(stream)) {
|
|
5
|
+
if (isReadableStream(stream) || isBlob(stream)) {
|
|
6
6
|
return splitWebStream(stream);
|
|
7
7
|
}
|
|
8
8
|
const stream1 = new PassThrough();
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
export const isReadableStream = (stream) => typeof ReadableStream === "function" &&
|
|
2
2
|
(stream?.constructor?.name === ReadableStream.name || stream instanceof ReadableStream);
|
|
3
|
+
export const isBlob = (blob) => {
|
|
4
|
+
return typeof Blob === "function" && (blob?.constructor?.name === Blob.name || blob instanceof Blob);
|
|
5
|
+
};
|