@cdklabs/cdk-ecs-codedeploy 0.0.385 → 0.0.386

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 (111) 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/package.json +6 -6
  7. package/node_modules/@aws-sdk/client-sso/package.json +5 -5
  8. package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +9 -9
  9. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +3 -3
  10. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +5 -5
  11. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +4 -4
  12. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +2 -2
  13. package/node_modules/@aws-sdk/core/dist-types/api-extractor-type-index.d.ts +5 -0
  14. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +0 -3
  15. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +9 -0
  16. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +2 -1
  17. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +5 -1
  18. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +9 -0
  19. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/parseXmlBody.d.ts +9 -0
  20. package/node_modules/@aws-sdk/core/dist-types/ts3.4/api-extractor-type-index.d.ts +5 -0
  21. package/node_modules/@aws-sdk/core/package.json +13 -13
  22. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +3 -3
  23. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  24. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  25. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  26. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  27. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -3
  28. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  29. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  30. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  31. package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +7 -9
  32. package/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts +15 -0
  33. package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -1
  34. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +7 -7
  35. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  36. package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
  37. package/node_modules/@aws-sdk/token-providers/package.json +2 -2
  38. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +5 -5
  39. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  40. package/node_modules/@smithy/abort-controller/package.json +5 -5
  41. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +11 -14
  42. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js +5 -6
  43. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js +4 -5
  44. package/node_modules/@smithy/config-resolver/dist-es/regionConfig/resolveRegionConfig.js +2 -3
  45. package/node_modules/@smithy/config-resolver/package.json +7 -7
  46. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +41 -0
  47. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
  48. package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +9 -0
  49. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
  50. package/node_modules/@smithy/core/dist-types/submodules/serde/value/NumericValue.d.ts +31 -0
  51. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
  52. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +31 -0
  53. package/node_modules/@smithy/core/package.json +17 -8
  54. package/node_modules/@smithy/core/serde.d.ts +7 -0
  55. package/node_modules/@smithy/core/serde.js +6 -0
  56. package/node_modules/@smithy/credential-provider-imds/package.json +8 -8
  57. package/node_modules/@smithy/fetch-http-handler/package.json +8 -8
  58. package/node_modules/@smithy/hash-node/package.json +5 -5
  59. package/node_modules/@smithy/invalid-dependency/package.json +5 -5
  60. package/node_modules/@smithy/middleware-content-length/package.json +6 -6
  61. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +5 -6
  62. package/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js +5 -6
  63. package/node_modules/@smithy/middleware-endpoint/package.json +10 -10
  64. package/node_modules/@smithy/middleware-retry/README.md +1 -1
  65. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +5 -6
  66. package/node_modules/@smithy/middleware-retry/dist-es/configurations.js +5 -6
  67. package/node_modules/@smithy/middleware-retry/package.json +10 -10
  68. package/node_modules/@smithy/middleware-serde/package.json +4 -4
  69. package/node_modules/@smithy/middleware-stack/package.json +5 -5
  70. package/node_modules/@smithy/node-config-provider/package.json +7 -7
  71. package/node_modules/@smithy/node-http-handler/package.json +7 -7
  72. package/node_modules/@smithy/property-provider/package.json +5 -5
  73. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +4 -5
  74. package/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +4 -5
  75. package/node_modules/@smithy/protocol-http/package.json +5 -5
  76. package/node_modules/@smithy/querystring-builder/package.json +5 -5
  77. package/node_modules/@smithy/querystring-parser/package.json +5 -5
  78. package/node_modules/@smithy/service-error-classification/package.json +5 -5
  79. package/node_modules/@smithy/shared-ini-file-loader/package.json +5 -5
  80. package/node_modules/@smithy/signature-v4/package.json +7 -7
  81. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +6 -14
  82. package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +2 -3
  83. package/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js +2 -8
  84. package/node_modules/@smithy/smithy-client/dist-es/extensions/retry.js +2 -3
  85. package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +8 -0
  86. package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +0 -1
  87. package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +6 -6
  88. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +8 -0
  89. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +0 -1
  90. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +6 -6
  91. package/node_modules/@smithy/smithy-client/package.json +9 -9
  92. package/node_modules/@smithy/types/dist-cjs/index.js +4 -9
  93. package/node_modules/@smithy/types/dist-es/extensions/checksum.js +2 -3
  94. package/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js +2 -6
  95. package/node_modules/@smithy/types/package.json +4 -4
  96. package/node_modules/@smithy/url-parser/package.json +6 -6
  97. package/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -6
  98. package/node_modules/@smithy/util-defaults-mode-node/package.json +9 -9
  99. package/node_modules/@smithy/util-endpoints/package.json +6 -6
  100. package/node_modules/@smithy/util-middleware/package.json +5 -5
  101. package/node_modules/@smithy/util-retry/README.md +1 -1
  102. package/node_modules/@smithy/util-retry/package.json +6 -6
  103. package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +1 -1
  104. package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +3 -3
  105. package/node_modules/@smithy/util-stream/dist-es/createBufferedReadable.js +1 -1
  106. package/node_modules/@smithy/util-stream/dist-es/createBufferedReadableStream.js +3 -3
  107. package/node_modules/@smithy/util-stream/dist-types/createBufferedReadableStream.d.ts +3 -2
  108. package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadableStream.d.ts +3 -2
  109. package/node_modules/@smithy/util-stream/package.json +6 -6
  110. package/node_modules/@smithy/util-waiter/package.json +6 -6
  111. package/package.json +4 -4
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-serde",
3
- "version": "4.0.2",
3
+ "version": "4.0.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 middleware-serde",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@smithy/types": "^4.1.0",
28
+ "@smithy/types": "^4.2.0",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "engines": {
@@ -41,10 +41,10 @@
41
41
  "files": [
42
42
  "dist-*/**"
43
43
  ],
44
- "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/middleware-serde",
44
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/middleware-serde",
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/middleware-serde"
49
49
  },
50
50
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-stack",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "Provides a means for composing multiple middleware functions into a single handler",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
@@ -11,7 +11,7 @@
11
11
  "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
12
12
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
13
13
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
14
- "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
14
+ "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
15
15
  "extract:docs": "api-extractor run --local",
16
16
  "test": "yarn g:vitest run",
17
17
  "test:watch": "yarn g:vitest watch"
@@ -26,7 +26,7 @@
26
26
  "module": "./dist-es/index.js",
27
27
  "types": "./dist-types/index.d.ts",
28
28
  "dependencies": {
29
- "@smithy/types": "^4.1.0",
29
+ "@smithy/types": "^4.2.0",
30
30
  "tslib": "^2.6.2"
31
31
  },
32
32
  "devDependencies": {
@@ -48,10 +48,10 @@
48
48
  "files": [
49
49
  "dist-*/**"
50
50
  ],
51
- "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/middleware-stack",
51
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/middleware-stack",
52
52
  "repository": {
53
53
  "type": "git",
54
- "url": "https://github.com/awslabs/smithy-typescript.git",
54
+ "url": "https://github.com/smithy-lang/smithy-typescript.git",
55
55
  "directory": "packages/middleware-stack"
56
56
  },
57
57
  "typedoc": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/node-config-provider",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "Load config default values from ini config files and environmental variable",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
@@ -11,7 +11,7 @@
11
11
  "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
12
12
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
13
13
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
14
- "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
14
+ "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
15
15
  "test": "yarn g:vitest run",
16
16
  "test:watch": "yarn g:vitest watch"
17
17
  },
@@ -25,9 +25,9 @@
25
25
  "module": "./dist-es/index.js",
26
26
  "types": "./dist-types/index.d.ts",
27
27
  "dependencies": {
28
- "@smithy/property-provider": "^4.0.1",
29
- "@smithy/shared-ini-file-loader": "^4.0.1",
30
- "@smithy/types": "^4.1.0",
28
+ "@smithy/property-provider": "^4.0.2",
29
+ "@smithy/shared-ini-file-loader": "^4.0.2",
30
+ "@smithy/types": "^4.2.0",
31
31
  "tslib": "^2.6.2"
32
32
  },
33
33
  "devDependencies": {
@@ -50,10 +50,10 @@
50
50
  "files": [
51
51
  "dist-*/**"
52
52
  ],
53
- "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/node-config-provider",
53
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/node-config-provider",
54
54
  "repository": {
55
55
  "type": "git",
56
- "url": "https://github.com/awslabs/smithy-typescript.git",
56
+ "url": "https://github.com/smithy-lang/smithy-typescript.git",
57
57
  "directory": "packages/node-config-provider"
58
58
  },
59
59
  "typedoc": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/node-http-handler",
3
- "version": "4.0.3",
3
+ "version": "4.0.4",
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'",
@@ -26,10 +26,10 @@
26
26
  "module": "./dist-es/index.js",
27
27
  "types": "./dist-types/index.d.ts",
28
28
  "dependencies": {
29
- "@smithy/abort-controller": "^4.0.1",
30
- "@smithy/protocol-http": "^5.0.1",
31
- "@smithy/querystring-builder": "^4.0.1",
32
- "@smithy/types": "^4.1.0",
29
+ "@smithy/abort-controller": "^4.0.2",
30
+ "@smithy/protocol-http": "^5.1.0",
31
+ "@smithy/querystring-builder": "^4.0.2",
32
+ "@smithy/types": "^4.2.0",
33
33
  "tslib": "^2.6.2"
34
34
  },
35
35
  "devDependencies": {
@@ -52,10 +52,10 @@
52
52
  "files": [
53
53
  "dist-*/**"
54
54
  ],
55
- "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/node-http-handler",
55
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/node-http-handler",
56
56
  "repository": {
57
57
  "type": "git",
58
- "url": "https://github.com/awslabs/smithy-typescript.git",
58
+ "url": "https://github.com/smithy-lang/smithy-typescript.git",
59
59
  "directory": "packages/node-http-handler"
60
60
  },
61
61
  "typedoc": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/property-provider",
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 property-provider",
@@ -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,7 +23,7 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@smithy/types": "^4.1.0",
26
+ "@smithy/types": "^4.2.0",
27
27
  "tslib": "^2.6.2"
28
28
  },
29
29
  "engines": {
@@ -39,10 +39,10 @@
39
39
  "files": [
40
40
  "dist-*/**"
41
41
  ],
42
- "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/property-provider",
42
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/property-provider",
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/property-provider"
47
47
  },
48
48
  "devDependencies": {
@@ -33,19 +33,18 @@ module.exports = __toCommonJS(src_exports);
33
33
 
34
34
  // src/extensions/httpExtensionConfiguration.ts
35
35
  var getHttpHandlerExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
36
- let httpHandler = runtimeConfig.httpHandler;
37
36
  return {
38
37
  setHttpHandler(handler) {
39
- httpHandler = handler;
38
+ runtimeConfig.httpHandler = handler;
40
39
  },
41
40
  httpHandler() {
42
- return httpHandler;
41
+ return runtimeConfig.httpHandler;
43
42
  },
44
43
  updateHttpClientConfig(key, value) {
45
- httpHandler.updateHttpClientConfig(key, value);
44
+ runtimeConfig.httpHandler?.updateHttpClientConfig(key, value);
46
45
  },
47
46
  httpHandlerConfigs() {
48
- return httpHandler.httpHandlerConfigs();
47
+ return runtimeConfig.httpHandler.httpHandlerConfigs();
49
48
  }
50
49
  };
51
50
  }, "getHttpHandlerExtensionConfiguration");
@@ -1,17 +1,16 @@
1
1
  export const getHttpHandlerExtensionConfiguration = (runtimeConfig) => {
2
- let httpHandler = runtimeConfig.httpHandler;
3
2
  return {
4
3
  setHttpHandler(handler) {
5
- httpHandler = handler;
4
+ runtimeConfig.httpHandler = handler;
6
5
  },
7
6
  httpHandler() {
8
- return httpHandler;
7
+ return runtimeConfig.httpHandler;
9
8
  },
10
9
  updateHttpClientConfig(key, value) {
11
- httpHandler.updateHttpClientConfig(key, value);
10
+ runtimeConfig.httpHandler?.updateHttpClientConfig(key, value);
12
11
  },
13
12
  httpHandlerConfigs() {
14
- return httpHandler.httpHandlerConfigs();
13
+ return runtimeConfig.httpHandler.httpHandlerConfigs();
15
14
  },
16
15
  };
17
16
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/protocol-http",
3
- "version": "5.0.1",
3
+ "version": "5.1.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 protocol-http",
@@ -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
  },
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@smithy/types": "^4.1.0",
27
+ "@smithy/types": "^4.2.0",
28
28
  "tslib": "^2.6.2"
29
29
  },
30
30
  "engines": {
@@ -40,10 +40,10 @@
40
40
  "files": [
41
41
  "dist-*/**"
42
42
  ],
43
- "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/protocol-http",
43
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/protocol-http",
44
44
  "repository": {
45
45
  "type": "git",
46
- "url": "https://github.com/awslabs/smithy-typescript.git",
46
+ "url": "https://github.com/smithy-lang/smithy-typescript.git",
47
47
  "directory": "packages/protocol-http"
48
48
  },
49
49
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/querystring-builder",
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 querystring-builder",
@@ -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": "exit 0"
15
15
  },
16
16
  "main": "./dist-cjs/index.js",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@smithy/types": "^4.1.0",
25
+ "@smithy/types": "^4.2.0",
26
26
  "@smithy/util-uri-escape": "^4.0.0",
27
27
  "tslib": "^2.6.2"
28
28
  },
@@ -39,10 +39,10 @@
39
39
  "files": [
40
40
  "dist-*/**"
41
41
  ],
42
- "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/querystring-builder",
42
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/querystring-builder",
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/querystring-builder"
47
47
  },
48
48
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/querystring-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 querystring-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,7 +23,7 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@smithy/types": "^4.1.0",
26
+ "@smithy/types": "^4.2.0",
27
27
  "tslib": "^2.6.2"
28
28
  },
29
29
  "engines": {
@@ -39,10 +39,10 @@
39
39
  "files": [
40
40
  "dist-*/**"
41
41
  ],
42
- "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/querystring-parser",
42
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/querystring-parser",
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/querystring-parser"
47
47
  },
48
48
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/service-error-classification",
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 service-error-classification",
@@ -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
  },
@@ -41,10 +41,10 @@
41
41
  "files": [
42
42
  "dist-*/**"
43
43
  ],
44
- "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/service-error-classification",
44
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/service-error-classification",
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/service-error-classification"
49
49
  },
50
50
  "typedoc": {
@@ -54,6 +54,6 @@
54
54
  "directory": ".release/package"
55
55
  },
56
56
  "dependencies": {
57
- "@smithy/types": "^4.1.0"
57
+ "@smithy/types": "^4.2.0"
58
58
  }
59
59
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@smithy/shared-ini-file-loader",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "dependencies": {
5
- "@smithy/types": "^4.1.0",
5
+ "@smithy/types": "^4.2.0",
6
6
  "tslib": "^2.6.2"
7
7
  },
8
8
  "devDependencies": {
@@ -21,7 +21,7 @@
21
21
  "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
22
22
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
23
23
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
24
- "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
24
+ "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
25
25
  "extract:docs": "api-extractor run --local",
26
26
  "test": "yarn g:vitest run",
27
27
  "test:watch": "yarn g:vitest watch"
@@ -57,10 +57,10 @@
57
57
  "files": [
58
58
  "dist-*/**"
59
59
  ],
60
- "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/shared-ini-file-loader",
60
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/shared-ini-file-loader",
61
61
  "repository": {
62
62
  "type": "git",
63
- "url": "https://github.com/awslabs/smithy-typescript.git",
63
+ "url": "https://github.com/smithy-lang/smithy-typescript.git",
64
64
  "directory": "packages/shared-ini-file-loader"
65
65
  },
66
66
  "typedoc": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/signature-v4",
3
- "version": "5.0.1",
3
+ "version": "5.0.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",
@@ -14,7 +14,7 @@
14
14
  "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
15
15
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
16
16
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
17
- "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
17
+ "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
18
18
  "extract:docs": "api-extractor run --local",
19
19
  "test": "yarn g:vitest run",
20
20
  "test:watch": "yarn g:vitest watch"
@@ -26,10 +26,10 @@
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
28
  "@smithy/is-array-buffer": "^4.0.0",
29
- "@smithy/protocol-http": "^5.0.1",
30
- "@smithy/types": "^4.1.0",
29
+ "@smithy/protocol-http": "^5.1.0",
30
+ "@smithy/types": "^4.2.0",
31
31
  "@smithy/util-hex-encoding": "^4.0.0",
32
- "@smithy/util-middleware": "^4.0.1",
32
+ "@smithy/util-middleware": "^4.0.2",
33
33
  "@smithy/util-uri-escape": "^4.0.0",
34
34
  "@smithy/util-utf8": "^4.0.0",
35
35
  "tslib": "^2.6.2"
@@ -54,10 +54,10 @@
54
54
  "files": [
55
55
  "dist-*/**"
56
56
  ],
57
- "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/signature-v4",
57
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/signature-v4",
58
58
  "repository": {
59
59
  "type": "git",
60
- "url": "https://github.com/awslabs/smithy-typescript.git",
60
+ "url": "https://github.com/smithy-lang/smithy-typescript.git",
61
61
  "directory": "packages/signature-v4"
62
62
  },
63
63
  "typedoc": {
@@ -937,12 +937,11 @@ var getChecksumConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
937
937
  });
938
938
  }
939
939
  return {
940
- _checksumAlgorithms: checksumAlgorithms,
941
940
  addChecksumAlgorithm(algo) {
942
- this._checksumAlgorithms.push(algo);
941
+ checksumAlgorithms.push(algo);
943
942
  },
944
943
  checksumAlgorithms() {
945
- return this._checksumAlgorithms;
944
+ return checksumAlgorithms;
946
945
  }
947
946
  };
948
947
  }, "getChecksumConfiguration");
@@ -956,13 +955,12 @@ var resolveChecksumRuntimeConfig = /* @__PURE__ */ __name((clientConfig) => {
956
955
 
957
956
  // src/extensions/retry.ts
958
957
  var getRetryConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
959
- let _retryStrategy = runtimeConfig.retryStrategy;
960
958
  return {
961
959
  setRetryStrategy(retryStrategy) {
962
- _retryStrategy = retryStrategy;
960
+ runtimeConfig.retryStrategy = retryStrategy;
963
961
  },
964
962
  retryStrategy() {
965
- return _retryStrategy;
963
+ return runtimeConfig.retryStrategy;
966
964
  }
967
965
  };
968
966
  }, "getRetryConfiguration");
@@ -974,17 +972,11 @@ var resolveRetryRuntimeConfig = /* @__PURE__ */ __name((retryStrategyConfigurati
974
972
 
975
973
  // src/extensions/defaultExtensionConfiguration.ts
976
974
  var getDefaultExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
977
- return {
978
- ...getChecksumConfiguration(runtimeConfig),
979
- ...getRetryConfiguration(runtimeConfig)
980
- };
975
+ return Object.assign(getChecksumConfiguration(runtimeConfig), getRetryConfiguration(runtimeConfig));
981
976
  }, "getDefaultExtensionConfiguration");
982
977
  var getDefaultClientConfiguration = getDefaultExtensionConfiguration;
983
978
  var resolveDefaultRuntimeConfig = /* @__PURE__ */ __name((config) => {
984
- return {
985
- ...resolveChecksumRuntimeConfig(config),
986
- ...resolveRetryRuntimeConfig(config)
987
- };
979
+ return Object.assign(resolveChecksumRuntimeConfig(config), resolveRetryRuntimeConfig(config));
988
980
  }, "resolveDefaultRuntimeConfig");
989
981
 
990
982
  // src/get-array-if-single-item.ts
@@ -13,12 +13,11 @@ export const getChecksumConfiguration = (runtimeConfig) => {
13
13
  });
14
14
  }
15
15
  return {
16
- _checksumAlgorithms: checksumAlgorithms,
17
16
  addChecksumAlgorithm(algo) {
18
- this._checksumAlgorithms.push(algo);
17
+ checksumAlgorithms.push(algo);
19
18
  },
20
19
  checksumAlgorithms() {
21
- return this._checksumAlgorithms;
20
+ return checksumAlgorithms;
22
21
  },
23
22
  };
24
23
  };
@@ -1,15 +1,9 @@
1
1
  import { getChecksumConfiguration, resolveChecksumRuntimeConfig } from "./checksum";
2
2
  import { getRetryConfiguration, resolveRetryRuntimeConfig } from "./retry";
3
3
  export const getDefaultExtensionConfiguration = (runtimeConfig) => {
4
- return {
5
- ...getChecksumConfiguration(runtimeConfig),
6
- ...getRetryConfiguration(runtimeConfig),
7
- };
4
+ return Object.assign(getChecksumConfiguration(runtimeConfig), getRetryConfiguration(runtimeConfig));
8
5
  };
9
6
  export const getDefaultClientConfiguration = getDefaultExtensionConfiguration;
10
7
  export const resolveDefaultRuntimeConfig = (config) => {
11
- return {
12
- ...resolveChecksumRuntimeConfig(config),
13
- ...resolveRetryRuntimeConfig(config),
14
- };
8
+ return Object.assign(resolveChecksumRuntimeConfig(config), resolveRetryRuntimeConfig(config));
15
9
  };
@@ -1,11 +1,10 @@
1
1
  export const getRetryConfiguration = (runtimeConfig) => {
2
- let _retryStrategy = runtimeConfig.retryStrategy;
3
2
  return {
4
3
  setRetryStrategy(retryStrategy) {
5
- _retryStrategy = retryStrategy;
4
+ runtimeConfig.retryStrategy = retryStrategy;
6
5
  },
7
6
  retryStrategy() {
8
- return _retryStrategy;
7
+ return runtimeConfig.retryStrategy;
9
8
  },
10
9
  };
11
10
  };
@@ -41,6 +41,14 @@ export type SmithyResolvedConfiguration<HandlerOptions> = {
41
41
  export declare class Client<HandlerOptions, ClientInput extends object, ClientOutput extends MetadataBearer, ResolvedClientConfiguration extends SmithyResolvedConfiguration<HandlerOptions>> implements IClient<ClientInput, ClientOutput, ResolvedClientConfiguration> {
42
42
  readonly config: ResolvedClientConfiguration;
43
43
  middlewareStack: MiddlewareStack<ClientInput, ClientOutput>;
44
+ /**
45
+ * Holds an object reference to the initial configuration object.
46
+ * Used to check that the config resolver stack does not create
47
+ * dangling instances of an intermediate form of the configuration object.
48
+ *
49
+ * @internal
50
+ */
51
+ initConfig?: object;
44
52
  /**
45
53
  * May be used to cache the resolved handler function for a Command class.
46
54
  */
@@ -15,7 +15,6 @@ export type PartialChecksumRuntimeConfigType = Partial<{
15
15
  * @internal
16
16
  */
17
17
  export declare const getChecksumConfiguration: (runtimeConfig: PartialChecksumRuntimeConfigType) => {
18
- _checksumAlgorithms: ChecksumAlgorithm[];
19
18
  addChecksumAlgorithm(algo: ChecksumAlgorithm): void;
20
19
  checksumAlgorithms(): ChecksumAlgorithm[];
21
20
  };
@@ -11,11 +11,11 @@ export type DefaultExtensionRuntimeConfigType = PartialRetryRuntimeConfigType &
11
11
  * Helper function to resolve default extension configuration from runtime config
12
12
  */
13
13
  export declare const getDefaultExtensionConfiguration: (runtimeConfig: DefaultExtensionRuntimeConfigType) => {
14
- setRetryStrategy(retryStrategy: import("@smithy/types").Provider<import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2>): void;
15
- retryStrategy(): import("@smithy/types").Provider<import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2>;
16
- _checksumAlgorithms: import("@smithy/types").ChecksumAlgorithm[];
17
14
  addChecksumAlgorithm(algo: import("@smithy/types").ChecksumAlgorithm): void;
18
15
  checksumAlgorithms(): import("@smithy/types").ChecksumAlgorithm[];
16
+ } & {
17
+ setRetryStrategy(retryStrategy: import("@smithy/types").Provider<import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2>): void;
18
+ retryStrategy(): import("@smithy/types").Provider<import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2>;
19
19
  };
20
20
  /**
21
21
  * @deprecated use getDefaultExtensionConfiguration
@@ -24,11 +24,11 @@ export declare const getDefaultExtensionConfiguration: (runtimeConfig: DefaultEx
24
24
  * Helper function to resolve default extension configuration from runtime config
25
25
  */
26
26
  export declare const getDefaultClientConfiguration: (runtimeConfig: DefaultExtensionRuntimeConfigType) => {
27
- setRetryStrategy(retryStrategy: import("@smithy/types").Provider<import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2>): void;
28
- retryStrategy(): import("@smithy/types").Provider<import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2>;
29
- _checksumAlgorithms: import("@smithy/types").ChecksumAlgorithm[];
30
27
  addChecksumAlgorithm(algo: import("@smithy/types").ChecksumAlgorithm): void;
31
28
  checksumAlgorithms(): import("@smithy/types").ChecksumAlgorithm[];
29
+ } & {
30
+ setRetryStrategy(retryStrategy: import("@smithy/types").Provider<import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2>): void;
31
+ retryStrategy(): import("@smithy/types").Provider<import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2>;
32
32
  };
33
33
  /**
34
34
  * @internal