@cdk8s/awscdk-resolver 0.0.268 → 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.
Files changed (108) hide show
  1. package/.jsii +4 -4
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/package.json +6 -6
  4. package/node_modules/@aws-sdk/client-sso/package.json +5 -5
  5. package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +9 -9
  6. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +3 -3
  7. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +5 -5
  8. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +4 -4
  9. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +2 -2
  10. package/node_modules/@aws-sdk/core/dist-types/api-extractor-type-index.d.ts +5 -0
  11. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +0 -3
  12. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +9 -0
  13. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +2 -1
  14. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +5 -1
  15. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +9 -0
  16. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/parseXmlBody.d.ts +9 -0
  17. package/node_modules/@aws-sdk/core/dist-types/ts3.4/api-extractor-type-index.d.ts +5 -0
  18. package/node_modules/@aws-sdk/core/package.json +13 -13
  19. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +3 -3
  20. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  21. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  22. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  23. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  24. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -3
  25. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  26. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  27. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  28. package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +7 -9
  29. package/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts +15 -0
  30. package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -1
  31. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +7 -7
  32. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  33. package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
  34. package/node_modules/@aws-sdk/token-providers/package.json +2 -2
  35. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +5 -5
  36. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  37. package/node_modules/@smithy/abort-controller/package.json +5 -5
  38. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +11 -14
  39. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js +5 -6
  40. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js +4 -5
  41. package/node_modules/@smithy/config-resolver/dist-es/regionConfig/resolveRegionConfig.js +2 -3
  42. package/node_modules/@smithy/config-resolver/package.json +7 -7
  43. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +41 -0
  44. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
  45. package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +9 -0
  46. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
  47. package/node_modules/@smithy/core/dist-types/submodules/serde/value/NumericValue.d.ts +31 -0
  48. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
  49. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +31 -0
  50. package/node_modules/@smithy/core/package.json +17 -8
  51. package/node_modules/@smithy/core/serde.d.ts +7 -0
  52. package/node_modules/@smithy/core/serde.js +6 -0
  53. package/node_modules/@smithy/credential-provider-imds/package.json +8 -8
  54. package/node_modules/@smithy/fetch-http-handler/package.json +8 -8
  55. package/node_modules/@smithy/hash-node/package.json +5 -5
  56. package/node_modules/@smithy/invalid-dependency/package.json +5 -5
  57. package/node_modules/@smithy/middleware-content-length/package.json +6 -6
  58. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +5 -6
  59. package/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js +5 -6
  60. package/node_modules/@smithy/middleware-endpoint/package.json +10 -10
  61. package/node_modules/@smithy/middleware-retry/README.md +1 -1
  62. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +5 -6
  63. package/node_modules/@smithy/middleware-retry/dist-es/configurations.js +5 -6
  64. package/node_modules/@smithy/middleware-retry/package.json +10 -10
  65. package/node_modules/@smithy/middleware-serde/package.json +4 -4
  66. package/node_modules/@smithy/middleware-stack/package.json +5 -5
  67. package/node_modules/@smithy/node-config-provider/package.json +7 -7
  68. package/node_modules/@smithy/node-http-handler/package.json +7 -7
  69. package/node_modules/@smithy/property-provider/package.json +5 -5
  70. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +4 -5
  71. package/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +4 -5
  72. package/node_modules/@smithy/protocol-http/package.json +5 -5
  73. package/node_modules/@smithy/querystring-builder/package.json +5 -5
  74. package/node_modules/@smithy/querystring-parser/package.json +5 -5
  75. package/node_modules/@smithy/service-error-classification/package.json +5 -5
  76. package/node_modules/@smithy/shared-ini-file-loader/package.json +5 -5
  77. package/node_modules/@smithy/signature-v4/package.json +7 -7
  78. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +6 -14
  79. package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +2 -3
  80. package/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js +2 -8
  81. package/node_modules/@smithy/smithy-client/dist-es/extensions/retry.js +2 -3
  82. package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +8 -0
  83. package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +0 -1
  84. package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +6 -6
  85. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +8 -0
  86. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +0 -1
  87. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +6 -6
  88. package/node_modules/@smithy/smithy-client/package.json +9 -9
  89. package/node_modules/@smithy/types/dist-cjs/index.js +4 -9
  90. package/node_modules/@smithy/types/dist-es/extensions/checksum.js +2 -3
  91. package/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js +2 -6
  92. package/node_modules/@smithy/types/package.json +4 -4
  93. package/node_modules/@smithy/url-parser/package.json +6 -6
  94. package/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -6
  95. package/node_modules/@smithy/util-defaults-mode-node/package.json +9 -9
  96. package/node_modules/@smithy/util-endpoints/package.json +6 -6
  97. package/node_modules/@smithy/util-middleware/package.json +5 -5
  98. package/node_modules/@smithy/util-retry/README.md +1 -1
  99. package/node_modules/@smithy/util-retry/package.json +6 -6
  100. package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +1 -1
  101. package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +3 -3
  102. package/node_modules/@smithy/util-stream/dist-es/createBufferedReadable.js +1 -1
  103. package/node_modules/@smithy/util-stream/dist-es/createBufferedReadableStream.js +3 -3
  104. package/node_modules/@smithy/util-stream/dist-types/createBufferedReadableStream.d.ts +3 -2
  105. package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadableStream.d.ts +3 -2
  106. package/node_modules/@smithy/util-stream/package.json +6 -6
  107. package/node_modules/@smithy/util-waiter/package.json +6 -6
  108. package/package.json +4 -4
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/types",
3
- "version": "4.1.0",
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 ../.prettierignore --write \"**/*.{ts,md,json}\"",
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/awslabs/smithy-typescript/tree/main/packages/types",
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/awslabs/smithy-typescript.git",
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.1",
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 ../.prettierignore --write \"**/*.{ts,md,json}\"",
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.1",
27
- "@smithy/types": "^4.1.0",
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/awslabs/smithy-typescript/tree/main/packages/url-parser",
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/awslabs/smithy-typescript.git",
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.7",
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.1",
27
- "@smithy/smithy-client": "^4.1.6",
28
- "@smithy/types": "^4.1.0",
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/awslabs/smithy-typescript/tree/main/packages/util-defaults-mode-node",
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/awslabs/smithy-typescript.git",
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.7",
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.1",
27
- "@smithy/credential-provider-imds": "^4.0.1",
28
- "@smithy/node-config-provider": "^4.0.1",
29
- "@smithy/property-provider": "^4.0.1",
30
- "@smithy/smithy-client": "^4.1.6",
31
- "@smithy/types": "^4.1.0",
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/awslabs/smithy-typescript/tree/main/packages/util-defaults-mode-node",
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/awslabs/smithy-typescript.git",
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.1",
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 ../.prettierignore --write \"**/*.{ts,md,json}\"",
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.1",
32
- "@smithy/types": "^4.1.0",
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/awslabs/smithy-typescript/tree/master/packages/util-endpoints",
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/awslabs/smithy-typescript.git",
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.1",
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 ../.prettierignore --write \"**/*.{ts,md,json}\"",
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.1.0",
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/awslabs/smithy-typescript/tree/master/packages/util-middleware",
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/awslabs/smithy-typescript.git",
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/awslabs/smithy-typescript/blob/main/packages/types/src/retry.ts
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.1",
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 ../.prettierignore --write \"**/*.{ts,md,json}\"",
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.1",
32
- "@smithy/types": "^4.1.0",
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/awslabs/smithy-typescript/tree/master/packages/util-retry",
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/awslabs/smithy-typescript.git",
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 onBuffer - for emitting warnings when buffering occurs.
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 onBuffer - for emitting warnings when buffering occurs.
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.1.2",
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.1",
32
- "@smithy/node-http-handler": "^4.0.3",
33
- "@smithy/types": "^4.1.0",
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/awslabs/smithy-typescript/tree/main/packages/util-stream",
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/awslabs/smithy-typescript.git",
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.2",
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.1",
7
- "@smithy/types": "^4.1.0",
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 ../.prettierignore --write \"**/*.{ts,md,json}\"",
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/awslabs/smithy-typescript/tree/main/packages/util-waiter",
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/awslabs/smithy-typescript.git",
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.591",
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",
@@ -52,7 +52,7 @@
52
52
  "aws-cdk": "^2.1005.0",
53
53
  "aws-cdk-lib": "2.177.0",
54
54
  "cdk8s": "2.68.91",
55
- "cdk8s-cli": "^2.200.25",
55
+ "cdk8s-cli": "^2.200.27",
56
56
  "commit-and-tag-version": "^12",
57
57
  "constructs": "10.3.0",
58
58
  "eslint": "^9",
@@ -77,7 +77,7 @@
77
77
  "constructs": "^10.3.0"
78
78
  },
79
79
  "dependencies": {
80
- "@aws-sdk/client-cloudformation": "^3.772.0"
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.268",
96
+ "version": "0.0.270",
97
97
  "jest": {
98
98
  "coverageProvider": "v8",
99
99
  "testMatch": [