@cdklabs/cdk-ecs-codedeploy 0.0.385 → 0.0.387

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 (158) hide show
  1. package/.jsii +3 -3
  2. package/lib/api-canary/index.js +1 -1
  3. package/lib/ecs-appspec/index.js +1 -1
  4. package/lib/ecs-deployment/index.js +1 -1
  5. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  6. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  7. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/index.js +17 -18
  8. package/node_modules/@aws-sdk/client-codedeploy/dist-es/CodeDeployClient.js +2 -1
  9. package/node_modules/@aws-sdk/client-codedeploy/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  10. package/node_modules/@aws-sdk/client-codedeploy/dist-es/endpoint/EndpointParameters.js +2 -3
  11. package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeExtensions.js +2 -14
  12. package/node_modules/@aws-sdk/client-codedeploy/package.json +34 -34
  13. package/node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  14. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +17 -18
  15. package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +2 -1
  16. package/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  17. package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/EndpointParameters.js +2 -3
  18. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js +2 -14
  19. package/node_modules/@aws-sdk/client-sso/package.json +32 -32
  20. package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +13 -15
  21. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +3 -3
  22. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +82 -33
  23. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +4 -4
  24. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +4 -4
  25. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +70 -27
  26. package/node_modules/@aws-sdk/core/dist-types/api-extractor-type-index.d.ts +5 -0
  27. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +0 -3
  28. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +9 -0
  29. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +2 -1
  30. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +25 -3
  31. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +9 -0
  32. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/parseXmlBody.d.ts +9 -0
  33. package/node_modules/@aws-sdk/core/dist-types/ts3.4/api-extractor-type-index.d.ts +5 -0
  34. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +11 -1
  35. package/node_modules/@aws-sdk/core/package.json +22 -22
  36. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +3 -3
  37. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  38. package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  39. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  40. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  41. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -3
  42. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  43. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  44. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  45. package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +7 -9
  46. package/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts +15 -0
  47. package/node_modules/@aws-sdk/middleware-host-header/package.json +5 -4
  48. package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +5 -5
  49. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  50. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  51. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +11 -11
  52. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js +4 -4
  53. package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
  54. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -3
  55. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +17 -18
  56. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +2 -1
  57. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +2 -5
  58. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +2 -3
  59. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js +2 -14
  60. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +2 -1
  61. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -3
  62. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js +2 -3
  63. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js +2 -14
  64. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +2 -1
  65. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +2 -5
  66. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js +2 -3
  67. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js +2 -14
  68. package/node_modules/@aws-sdk/nested-clients/package.json +36 -36
  69. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +15 -26
  70. package/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js +2 -12
  71. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/resolveRegionConfig.js +2 -3
  72. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  73. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  74. package/node_modules/@aws-sdk/types/dist-cjs/index.js +3 -3
  75. package/node_modules/@aws-sdk/types/dist-es/function.js +1 -0
  76. package/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
  77. package/node_modules/@aws-sdk/types/dist-types/function.d.ts +7 -0
  78. package/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
  79. package/node_modules/@aws-sdk/types/dist-types/ts3.4/function.d.ts +7 -0
  80. package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
  81. package/node_modules/@aws-sdk/types/package.json +2 -2
  82. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +5 -7
  83. package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
  84. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  85. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +5 -5
  86. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  87. package/node_modules/@smithy/abort-controller/package.json +5 -5
  88. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +11 -14
  89. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js +5 -6
  90. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js +4 -5
  91. package/node_modules/@smithy/config-resolver/dist-es/regionConfig/resolveRegionConfig.js +2 -3
  92. package/node_modules/@smithy/config-resolver/package.json +7 -7
  93. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +41 -0
  94. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
  95. package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +9 -0
  96. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
  97. package/node_modules/@smithy/core/dist-types/submodules/serde/value/NumericValue.d.ts +31 -0
  98. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
  99. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +31 -0
  100. package/node_modules/@smithy/core/package.json +17 -8
  101. package/node_modules/@smithy/core/serde.d.ts +7 -0
  102. package/node_modules/@smithy/core/serde.js +6 -0
  103. package/node_modules/@smithy/credential-provider-imds/package.json +8 -8
  104. package/node_modules/@smithy/fetch-http-handler/package.json +8 -8
  105. package/node_modules/@smithy/hash-node/package.json +5 -5
  106. package/node_modules/@smithy/invalid-dependency/package.json +5 -5
  107. package/node_modules/@smithy/middleware-content-length/package.json +6 -6
  108. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +5 -6
  109. package/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js +5 -6
  110. package/node_modules/@smithy/middleware-endpoint/package.json +10 -10
  111. package/node_modules/@smithy/middleware-retry/README.md +1 -1
  112. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +5 -6
  113. package/node_modules/@smithy/middleware-retry/dist-es/configurations.js +5 -6
  114. package/node_modules/@smithy/middleware-retry/package.json +10 -10
  115. package/node_modules/@smithy/middleware-serde/package.json +4 -4
  116. package/node_modules/@smithy/middleware-stack/package.json +5 -5
  117. package/node_modules/@smithy/node-config-provider/package.json +7 -7
  118. package/node_modules/@smithy/node-http-handler/package.json +7 -7
  119. package/node_modules/@smithy/property-provider/package.json +5 -5
  120. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +4 -5
  121. package/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +4 -5
  122. package/node_modules/@smithy/protocol-http/package.json +5 -5
  123. package/node_modules/@smithy/querystring-builder/package.json +5 -5
  124. package/node_modules/@smithy/querystring-parser/package.json +5 -5
  125. package/node_modules/@smithy/service-error-classification/package.json +5 -5
  126. package/node_modules/@smithy/shared-ini-file-loader/package.json +5 -5
  127. package/node_modules/@smithy/signature-v4/package.json +7 -7
  128. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +6 -14
  129. package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +2 -3
  130. package/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js +2 -8
  131. package/node_modules/@smithy/smithy-client/dist-es/extensions/retry.js +2 -3
  132. package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +8 -0
  133. package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +0 -1
  134. package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +6 -6
  135. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +8 -0
  136. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +0 -1
  137. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +6 -6
  138. package/node_modules/@smithy/smithy-client/package.json +9 -9
  139. package/node_modules/@smithy/types/dist-cjs/index.js +4 -9
  140. package/node_modules/@smithy/types/dist-es/extensions/checksum.js +2 -3
  141. package/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js +2 -6
  142. package/node_modules/@smithy/types/package.json +4 -4
  143. package/node_modules/@smithy/url-parser/package.json +6 -6
  144. package/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -6
  145. package/node_modules/@smithy/util-defaults-mode-node/package.json +9 -9
  146. package/node_modules/@smithy/util-endpoints/package.json +6 -6
  147. package/node_modules/@smithy/util-middleware/package.json +5 -5
  148. package/node_modules/@smithy/util-retry/README.md +1 -1
  149. package/node_modules/@smithy/util-retry/package.json +6 -6
  150. package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +1 -1
  151. package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +3 -3
  152. package/node_modules/@smithy/util-stream/dist-es/createBufferedReadable.js +1 -1
  153. package/node_modules/@smithy/util-stream/dist-es/createBufferedReadableStream.js +3 -3
  154. package/node_modules/@smithy/util-stream/dist-types/createBufferedReadableStream.d.ts +3 -2
  155. package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadableStream.d.ts +3 -2
  156. package/node_modules/@smithy/util-stream/package.json +6 -6
  157. package/node_modules/@smithy/util-waiter/package.json +6 -6
  158. package/package.json +4 -4
@@ -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
@@ -73,7 +73,7 @@
73
73
  "devDependencies": {
74
74
  "@aws-cdk/integ-runner": "latest",
75
75
  "@aws-cdk/integ-tests-alpha": "latest",
76
- "@types/aws-lambda": "^8.10.147",
76
+ "@types/aws-lambda": "^8.10.148",
77
77
  "@types/jest": "^27",
78
78
  "@types/lambda-tester": "^3.6.2",
79
79
  "@types/node": "^18",
@@ -83,7 +83,7 @@
83
83
  "aws-cdk-lib": "2.139.0",
84
84
  "aws-sdk-client-mock": "^4.1.0",
85
85
  "aws-sdk-client-mock-jest": "^4.1.0",
86
- "cdk-nag": "^2.35.50",
86
+ "cdk-nag": "^2.35.55",
87
87
  "cdklabs-projen-project-types": "^0.1.204",
88
88
  "commit-and-tag-version": "^12",
89
89
  "constructs": "10.0.5",
@@ -109,7 +109,7 @@
109
109
  "constructs": "^10.0.5"
110
110
  },
111
111
  "dependencies": {
112
- "@aws-sdk/client-codedeploy": "^3.772.0",
112
+ "@aws-sdk/client-codedeploy": "^3.775.0",
113
113
  "jmespath": "^0.16.0"
114
114
  },
115
115
  "bundledDependencies": [
@@ -127,7 +127,7 @@
127
127
  "publishConfig": {
128
128
  "access": "public"
129
129
  },
130
- "version": "0.0.385",
130
+ "version": "0.0.387",
131
131
  "jest": {
132
132
  "coverageProvider": "v8",
133
133
  "testMatch": [