@cdk8s/awscdk-resolver 0.0.269 → 0.0.270
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/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +6 -6
- package/node_modules/@aws-sdk/client-sso/package.json +5 -5
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +9 -9
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +3 -3
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +5 -5
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +4 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +2 -2
- package/node_modules/@aws-sdk/core/dist-types/api-extractor-type-index.d.ts +5 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +0 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +9 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +5 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +9 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/parseXmlBody.d.ts +9 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/api-extractor-type-index.d.ts +5 -0
- package/node_modules/@aws-sdk/core/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +7 -9
- package/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts +15 -0
- package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -1
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +7 -7
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
- package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +5 -5
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@smithy/abort-controller/package.json +5 -5
- package/node_modules/@smithy/config-resolver/dist-cjs/index.js +11 -14
- package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js +5 -6
- package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js +4 -5
- package/node_modules/@smithy/config-resolver/dist-es/regionConfig/resolveRegionConfig.js +2 -3
- package/node_modules/@smithy/config-resolver/package.json +7 -7
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +41 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +9 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/value/NumericValue.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +31 -0
- package/node_modules/@smithy/core/package.json +17 -8
- package/node_modules/@smithy/core/serde.d.ts +7 -0
- package/node_modules/@smithy/core/serde.js +6 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +8 -8
- package/node_modules/@smithy/fetch-http-handler/package.json +8 -8
- package/node_modules/@smithy/hash-node/package.json +5 -5
- package/node_modules/@smithy/invalid-dependency/package.json +5 -5
- package/node_modules/@smithy/middleware-content-length/package.json +6 -6
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +5 -6
- package/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js +5 -6
- package/node_modules/@smithy/middleware-endpoint/package.json +10 -10
- package/node_modules/@smithy/middleware-retry/README.md +1 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +5 -6
- package/node_modules/@smithy/middleware-retry/dist-es/configurations.js +5 -6
- package/node_modules/@smithy/middleware-retry/package.json +10 -10
- package/node_modules/@smithy/middleware-serde/package.json +4 -4
- package/node_modules/@smithy/middleware-stack/package.json +5 -5
- package/node_modules/@smithy/node-config-provider/package.json +7 -7
- package/node_modules/@smithy/node-http-handler/package.json +7 -7
- package/node_modules/@smithy/property-provider/package.json +5 -5
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +4 -5
- package/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +4 -5
- package/node_modules/@smithy/protocol-http/package.json +5 -5
- package/node_modules/@smithy/querystring-builder/package.json +5 -5
- package/node_modules/@smithy/querystring-parser/package.json +5 -5
- package/node_modules/@smithy/service-error-classification/package.json +5 -5
- package/node_modules/@smithy/shared-ini-file-loader/package.json +5 -5
- package/node_modules/@smithy/signature-v4/package.json +7 -7
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +6 -14
- package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +2 -3
- package/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js +2 -8
- package/node_modules/@smithy/smithy-client/dist-es/extensions/retry.js +2 -3
- package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +8 -0
- package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +0 -1
- package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +6 -6
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +8 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +0 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +6 -6
- package/node_modules/@smithy/smithy-client/package.json +9 -9
- package/node_modules/@smithy/types/dist-cjs/index.js +4 -9
- package/node_modules/@smithy/types/dist-es/extensions/checksum.js +2 -3
- package/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js +2 -6
- package/node_modules/@smithy/types/package.json +4 -4
- package/node_modules/@smithy/url-parser/package.json +6 -6
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -6
- package/node_modules/@smithy/util-defaults-mode-node/package.json +9 -9
- package/node_modules/@smithy/util-endpoints/package.json +6 -6
- package/node_modules/@smithy/util-middleware/package.json +5 -5
- package/node_modules/@smithy/util-retry/README.md +1 -1
- package/node_modules/@smithy/util-retry/package.json +6 -6
- package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +1 -1
- package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +3 -3
- package/node_modules/@smithy/util-stream/dist-es/createBufferedReadable.js +1 -1
- package/node_modules/@smithy/util-stream/dist-es/createBufferedReadableStream.js +3 -3
- package/node_modules/@smithy/util-stream/dist-types/createBufferedReadableStream.d.ts +3 -2
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadableStream.d.ts +3 -2
- package/node_modules/@smithy/util-stream/package.json +6 -6
- package/node_modules/@smithy/util-waiter/package.json +6 -6
- package/package.json +3 -3
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/types",
|
3
|
-
"version": "4.
|
3
|
+
"version": "4.2.0",
|
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 types",
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
13
|
-
"format": "prettier --config ../../prettier.config.js --ignore-path
|
13
|
+
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
14
14
|
"test": "yarn g:tsc -p tsconfig.test.json",
|
15
15
|
"extract:docs": "api-extractor run --local"
|
16
16
|
},
|
@@ -39,10 +39,10 @@
|
|
39
39
|
"files": [
|
40
40
|
"dist-*/**"
|
41
41
|
],
|
42
|
-
"homepage": "https://github.com/
|
42
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/types",
|
43
43
|
"repository": {
|
44
44
|
"type": "git",
|
45
|
-
"url": "https://github.com/
|
45
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
46
46
|
"directory": "packages/types"
|
47
47
|
},
|
48
48
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/url-parser",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.2",
|
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",
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
13
|
-
"format": "prettier --config ../../prettier.config.js --ignore-path
|
13
|
+
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
14
14
|
"test": "yarn g:vitest run",
|
15
15
|
"test:watch": "yarn g:vitest watch"
|
16
16
|
},
|
@@ -23,8 +23,8 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@smithy/querystring-parser": "^4.0.
|
27
|
-
"@smithy/types": "^4.
|
26
|
+
"@smithy/querystring-parser": "^4.0.2",
|
27
|
+
"@smithy/types": "^4.2.0",
|
28
28
|
"tslib": "^2.6.2"
|
29
29
|
},
|
30
30
|
"typesVersions": {
|
@@ -37,10 +37,10 @@
|
|
37
37
|
"files": [
|
38
38
|
"dist-*/**"
|
39
39
|
],
|
40
|
-
"homepage": "https://github.com/
|
40
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/url-parser",
|
41
41
|
"repository": {
|
42
42
|
"type": "git",
|
43
|
-
"url": "https://github.com/
|
43
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
44
44
|
"directory": "packages/url-parser"
|
45
45
|
},
|
46
46
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.8",
|
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",
|
@@ -23,9 +23,9 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@smithy/property-provider": "^4.0.
|
27
|
-
"@smithy/smithy-client": "^4.
|
28
|
-
"@smithy/types": "^4.
|
26
|
+
"@smithy/property-provider": "^4.0.2",
|
27
|
+
"@smithy/smithy-client": "^4.2.0",
|
28
|
+
"@smithy/types": "^4.2.0",
|
29
29
|
"bowser": "^2.11.0",
|
30
30
|
"tslib": "^2.6.2"
|
31
31
|
},
|
@@ -51,10 +51,10 @@
|
|
51
51
|
],
|
52
52
|
"react-native": {},
|
53
53
|
"browser": {},
|
54
|
-
"homepage": "https://github.com/
|
54
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/util-defaults-mode-node",
|
55
55
|
"repository": {
|
56
56
|
"type": "git",
|
57
|
-
"url": "https://github.com/
|
57
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
58
58
|
"directory": "packages/util-defaults-mode-node"
|
59
59
|
},
|
60
60
|
"typedoc": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.8",
|
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",
|
@@ -23,12 +23,12 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@smithy/config-resolver": "^4.0
|
27
|
-
"@smithy/credential-provider-imds": "^4.0.
|
28
|
-
"@smithy/node-config-provider": "^4.0.
|
29
|
-
"@smithy/property-provider": "^4.0.
|
30
|
-
"@smithy/smithy-client": "^4.
|
31
|
-
"@smithy/types": "^4.
|
26
|
+
"@smithy/config-resolver": "^4.1.0",
|
27
|
+
"@smithy/credential-provider-imds": "^4.0.2",
|
28
|
+
"@smithy/node-config-provider": "^4.0.2",
|
29
|
+
"@smithy/property-provider": "^4.0.2",
|
30
|
+
"@smithy/smithy-client": "^4.2.0",
|
31
|
+
"@smithy/types": "^4.2.0",
|
32
32
|
"tslib": "^2.6.2"
|
33
33
|
},
|
34
34
|
"devDependencies": {
|
@@ -51,10 +51,10 @@
|
|
51
51
|
"files": [
|
52
52
|
"dist-*/**"
|
53
53
|
],
|
54
|
-
"homepage": "https://github.com/
|
54
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/util-defaults-mode-node",
|
55
55
|
"repository": {
|
56
56
|
"type": "git",
|
57
|
-
"url": "https://github.com/
|
57
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
58
58
|
"directory": "packages/util-defaults-mode-node"
|
59
59
|
},
|
60
60
|
"typedoc": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-endpoints",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.2",
|
4
4
|
"description": "Utilities to help with endpoint resolution.",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -13,7 +13,7 @@
|
|
13
13
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
14
14
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
15
15
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
16
|
-
"format": "prettier --config ../../prettier.config.js --ignore-path
|
16
|
+
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
17
17
|
"test": "yarn g:vitest run",
|
18
18
|
"test:integration": "yarn g:vitest run -c vitest.config.integ.ts",
|
19
19
|
"test:watch": "yarn g:vitest watch",
|
@@ -28,8 +28,8 @@
|
|
28
28
|
},
|
29
29
|
"license": "Apache-2.0",
|
30
30
|
"dependencies": {
|
31
|
-
"@smithy/node-config-provider": "^4.0.
|
32
|
-
"@smithy/types": "^4.
|
31
|
+
"@smithy/node-config-provider": "^4.0.2",
|
32
|
+
"@smithy/types": "^4.2.0",
|
33
33
|
"tslib": "^2.6.2"
|
34
34
|
},
|
35
35
|
"devDependencies": {
|
@@ -53,10 +53,10 @@
|
|
53
53
|
"files": [
|
54
54
|
"dist-*/**"
|
55
55
|
],
|
56
|
-
"homepage": "https://github.com/
|
56
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/master/packages/util-endpoints",
|
57
57
|
"repository": {
|
58
58
|
"type": "git",
|
59
|
-
"url": "https://github.com/
|
59
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
60
60
|
"directory": "packages/util-endpoints"
|
61
61
|
},
|
62
62
|
"typedoc": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-middleware",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.2",
|
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",
|
@@ -13,7 +13,7 @@
|
|
13
13
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
14
14
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
15
15
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
16
|
-
"format": "prettier --config ../../prettier.config.js --ignore-path
|
16
|
+
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
17
17
|
"test": "yarn g:vitest run",
|
18
18
|
"test:watch": "yarn g:vitest watch"
|
19
19
|
},
|
@@ -27,7 +27,7 @@
|
|
27
27
|
},
|
28
28
|
"license": "Apache-2.0",
|
29
29
|
"dependencies": {
|
30
|
-
"@smithy/types": "^4.
|
30
|
+
"@smithy/types": "^4.2.0",
|
31
31
|
"tslib": "^2.6.2"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
@@ -51,10 +51,10 @@
|
|
51
51
|
"files": [
|
52
52
|
"dist-*/**"
|
53
53
|
],
|
54
|
-
"homepage": "https://github.com/
|
54
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/master/packages/util-middleware",
|
55
55
|
"repository": {
|
56
56
|
"type": "git",
|
57
|
-
"url": "https://github.com/
|
57
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
58
58
|
"directory": "packages/util-middleware"
|
59
59
|
},
|
60
60
|
"typedoc": {
|
@@ -74,5 +74,5 @@ const client = new S3Client({
|
|
74
74
|
|
75
75
|
You can implement the `RetryStrategyV2` interface.
|
76
76
|
|
77
|
-
Source: https://github.com/
|
77
|
+
Source: https://github.com/smithy-lang/smithy-typescript/blob/main/packages/types/src/retry.ts
|
78
78
|
API Docs: https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-types/Interface/RetryStrategyV2/
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-retry",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.2",
|
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",
|
@@ -13,7 +13,7 @@
|
|
13
13
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
14
14
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
15
15
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
16
|
-
"format": "prettier --config ../../prettier.config.js --ignore-path
|
16
|
+
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
17
17
|
"extract:docs": "api-extractor run --local",
|
18
18
|
"test": "yarn g:vitest run",
|
19
19
|
"test:watch": "yarn g:vitest watch"
|
@@ -28,8 +28,8 @@
|
|
28
28
|
},
|
29
29
|
"license": "Apache-2.0",
|
30
30
|
"dependencies": {
|
31
|
-
"@smithy/service-error-classification": "^4.0.
|
32
|
-
"@smithy/types": "^4.
|
31
|
+
"@smithy/service-error-classification": "^4.0.2",
|
32
|
+
"@smithy/types": "^4.2.0",
|
33
33
|
"tslib": "^2.6.2"
|
34
34
|
},
|
35
35
|
"devDependencies": {
|
@@ -53,10 +53,10 @@
|
|
53
53
|
"files": [
|
54
54
|
"dist-*/**"
|
55
55
|
],
|
56
|
-
"homepage": "https://github.com/
|
56
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/master/packages/util-retry",
|
57
57
|
"repository": {
|
58
58
|
"type": "git",
|
59
|
-
"url": "https://github.com/
|
59
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
60
60
|
"directory": "packages/util-retry"
|
61
61
|
},
|
62
62
|
"typedoc": {
|
@@ -19,7 +19,7 @@ function createBufferedReadable(upstream, size, logger) {
|
|
19
19
|
];
|
20
20
|
let mode = -1;
|
21
21
|
upstream.on("data", (chunk) => {
|
22
|
-
const chunkMode = (0, createBufferedReadableStream_1.modeOf)(chunk);
|
22
|
+
const chunkMode = (0, createBufferedReadableStream_1.modeOf)(chunk, true);
|
23
23
|
if (mode !== chunkMode) {
|
24
24
|
if (mode >= 0) {
|
25
25
|
downstream.push((0, createBufferedReadableStream_1.flush)(buffers, mode));
|
@@ -21,7 +21,7 @@ function createBufferedReadableStream(upstream, size, logger) {
|
|
21
21
|
controller.close();
|
22
22
|
}
|
23
23
|
else {
|
24
|
-
const chunkMode = modeOf(chunk);
|
24
|
+
const chunkMode = modeOf(chunk, false);
|
25
25
|
if (mode !== chunkMode) {
|
26
26
|
if (mode >= 0) {
|
27
27
|
controller.enqueue(flush(buffers, mode));
|
@@ -89,8 +89,8 @@ function sizeOf(chunk) {
|
|
89
89
|
return (_b = (_a = chunk === null || chunk === void 0 ? void 0 : chunk.byteLength) !== null && _a !== void 0 ? _a : chunk === null || chunk === void 0 ? void 0 : chunk.length) !== null && _b !== void 0 ? _b : 0;
|
90
90
|
}
|
91
91
|
exports.sizeOf = sizeOf;
|
92
|
-
function modeOf(chunk) {
|
93
|
-
if (typeof Buffer !== "undefined" && chunk instanceof Buffer) {
|
92
|
+
function modeOf(chunk, allowBuffer = true) {
|
93
|
+
if (allowBuffer && typeof Buffer !== "undefined" && chunk instanceof Buffer) {
|
94
94
|
return 2;
|
95
95
|
}
|
96
96
|
if (chunk instanceof Uint8Array) {
|
@@ -16,7 +16,7 @@ export function createBufferedReadable(upstream, size, logger) {
|
|
16
16
|
];
|
17
17
|
let mode = -1;
|
18
18
|
upstream.on("data", (chunk) => {
|
19
|
-
const chunkMode = modeOf(chunk);
|
19
|
+
const chunkMode = modeOf(chunk, true);
|
20
20
|
if (mode !== chunkMode) {
|
21
21
|
if (mode >= 0) {
|
22
22
|
downstream.push(flush(buffers, mode));
|
@@ -18,7 +18,7 @@ export function createBufferedReadableStream(upstream, size, logger) {
|
|
18
18
|
controller.close();
|
19
19
|
}
|
20
20
|
else {
|
21
|
-
const chunkMode = modeOf(chunk);
|
21
|
+
const chunkMode = modeOf(chunk, false);
|
22
22
|
if (mode !== chunkMode) {
|
23
23
|
if (mode >= 0) {
|
24
24
|
controller.enqueue(flush(buffers, mode));
|
@@ -81,8 +81,8 @@ export function flush(buffers, mode) {
|
|
81
81
|
export function sizeOf(chunk) {
|
82
82
|
return chunk?.byteLength ?? chunk?.length ?? 0;
|
83
83
|
}
|
84
|
-
export function modeOf(chunk) {
|
85
|
-
if (typeof Buffer !== "undefined" && chunk instanceof Buffer) {
|
84
|
+
export function modeOf(chunk, allowBuffer = true) {
|
85
|
+
if (allowBuffer && typeof Buffer !== "undefined" && chunk instanceof Buffer) {
|
86
86
|
return 2;
|
87
87
|
}
|
88
88
|
if (chunk instanceof Uint8Array) {
|
@@ -7,7 +7,7 @@ export type Modes = 0 | 1 | 2;
|
|
7
7
|
* @internal
|
8
8
|
* @param upstream - any ReadableStream.
|
9
9
|
* @param size - byte or character length minimum. Buffering occurs when a chunk fails to meet this value.
|
10
|
-
* @param
|
10
|
+
* @param logger - for emitting warnings when buffering occurs.
|
11
11
|
* @returns another stream of the same data, but buffers chunks until
|
12
12
|
* the minimum size is met, except for the last chunk.
|
13
13
|
*/
|
@@ -44,6 +44,7 @@ export declare function sizeOf(chunk?: {
|
|
44
44
|
/**
|
45
45
|
* @internal
|
46
46
|
* @param chunk - from upstream Readable.
|
47
|
+
* @param allowBuffer - allow mode 2 (Buffer), otherwise Buffer will return mode 1.
|
47
48
|
* @returns type index of the chunk.
|
48
49
|
*/
|
49
|
-
export declare function modeOf(chunk: BufferUnion): Modes | -1;
|
50
|
+
export declare function modeOf(chunk: BufferUnion, allowBuffer?: boolean): Modes | -1;
|
@@ -11,7 +11,7 @@ export type Modes = 0 | 1 | 2;
|
|
11
11
|
* @internal
|
12
12
|
* @param upstream - any ReadableStream.
|
13
13
|
* @param size - byte or character length minimum. Buffering occurs when a chunk fails to meet this value.
|
14
|
-
* @param
|
14
|
+
* @param logger - for emitting warnings when buffering occurs.
|
15
15
|
* @returns another stream of the same data, but buffers chunks until
|
16
16
|
* the minimum size is met, except for the last chunk.
|
17
17
|
*/
|
@@ -48,6 +48,7 @@ export declare function sizeOf(chunk?: {
|
|
48
48
|
/**
|
49
49
|
* @internal
|
50
50
|
* @param chunk - from upstream Readable.
|
51
|
+
* @param allowBuffer - allow mode 2 (Buffer), otherwise Buffer will return mode 1.
|
51
52
|
* @returns type index of the chunk.
|
52
53
|
*/
|
53
|
-
export declare function modeOf(chunk: BufferUnion): Modes | -1;
|
54
|
+
export declare function modeOf(chunk: BufferUnion, allowBuffer?: boolean): Modes | -1;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-stream",
|
3
|
-
"version": "4.
|
3
|
+
"version": "4.2.0",
|
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-stream",
|
@@ -28,9 +28,9 @@
|
|
28
28
|
},
|
29
29
|
"license": "Apache-2.0",
|
30
30
|
"dependencies": {
|
31
|
-
"@smithy/fetch-http-handler": "^5.0.
|
32
|
-
"@smithy/node-http-handler": "^4.0.
|
33
|
-
"@smithy/types": "^4.
|
31
|
+
"@smithy/fetch-http-handler": "^5.0.2",
|
32
|
+
"@smithy/node-http-handler": "^4.0.4",
|
33
|
+
"@smithy/types": "^4.2.0",
|
34
34
|
"@smithy/util-base64": "^4.0.0",
|
35
35
|
"@smithy/util-buffer-from": "^4.0.0",
|
36
36
|
"@smithy/util-hex-encoding": "^4.0.0",
|
@@ -83,10 +83,10 @@
|
|
83
83
|
"./dist-cjs/splitStream": "./dist-cjs/splitStream.browser",
|
84
84
|
"./dist-cjs/createBufferedReadable": "./dist-cjs/createBufferedReadableStream"
|
85
85
|
},
|
86
|
-
"homepage": "https://github.com/
|
86
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/util-stream",
|
87
87
|
"repository": {
|
88
88
|
"type": "git",
|
89
|
-
"url": "https://github.com/
|
89
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
90
90
|
"directory": "packages/util-stream"
|
91
91
|
},
|
92
92
|
"typedoc": {
|
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-waiter",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.3",
|
4
4
|
"description": "Shared utilities for client waiters for the AWS SDK",
|
5
5
|
"dependencies": {
|
6
|
-
"@smithy/abort-controller": "^4.0.
|
7
|
-
"@smithy/types": "^4.
|
6
|
+
"@smithy/abort-controller": "^4.0.2",
|
7
|
+
"@smithy/types": "^4.2.0",
|
8
8
|
"tslib": "^2.6.2"
|
9
9
|
},
|
10
10
|
"scripts": {
|
@@ -16,7 +16,7 @@
|
|
16
16
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
17
17
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
18
18
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
19
|
-
"format": "prettier --config ../../prettier.config.js --ignore-path
|
19
|
+
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
20
20
|
"test": "yarn g:vitest run",
|
21
21
|
"test:watch": "yarn g:vitest watch"
|
22
22
|
},
|
@@ -41,10 +41,10 @@
|
|
41
41
|
"files": [
|
42
42
|
"dist-*/**"
|
43
43
|
],
|
44
|
-
"homepage": "https://github.com/
|
44
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/util-waiter",
|
45
45
|
"repository": {
|
46
46
|
"type": "git",
|
47
|
-
"url": "https://github.com/
|
47
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
48
48
|
"directory": "packages/util-waiter"
|
49
49
|
},
|
50
50
|
"devDependencies": {
|
package/package.json
CHANGED
@@ -42,7 +42,7 @@
|
|
42
42
|
"organization": false
|
43
43
|
},
|
44
44
|
"devDependencies": {
|
45
|
-
"@cdk8s/projen-common": "0.0.
|
45
|
+
"@cdk8s/projen-common": "0.0.593",
|
46
46
|
"@stylistic/eslint-plugin": "^2",
|
47
47
|
"@types/fs-extra": "^11.0.4",
|
48
48
|
"@types/jest": "^27",
|
@@ -77,7 +77,7 @@
|
|
77
77
|
"constructs": "^10.3.0"
|
78
78
|
},
|
79
79
|
"dependencies": {
|
80
|
-
"@aws-sdk/client-cloudformation": "^3.
|
80
|
+
"@aws-sdk/client-cloudformation": "^3.774.0"
|
81
81
|
},
|
82
82
|
"bundledDependencies": [
|
83
83
|
"@aws-sdk/client-cloudformation"
|
@@ -93,7 +93,7 @@
|
|
93
93
|
"publishConfig": {
|
94
94
|
"access": "public"
|
95
95
|
},
|
96
|
-
"version": "0.0.
|
96
|
+
"version": "0.0.270",
|
97
97
|
"jest": {
|
98
98
|
"coverageProvider": "v8",
|
99
99
|
"testMatch": [
|