@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
@@ -0,0 +1,41 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // src/submodules/serde/index.ts
20
+ var serde_exports = {};
21
+ __export(serde_exports, {
22
+ NumericValue: () => NumericValue,
23
+ nv: () => nv
24
+ });
25
+ module.exports = __toCommonJS(serde_exports);
26
+
27
+ // src/submodules/serde/value/NumericValue.ts
28
+ var NumericValue = class {
29
+ constructor(string, type) {
30
+ this.string = string;
31
+ this.type = type;
32
+ }
33
+ };
34
+ function nv(string) {
35
+ return new NumericValue(string, "bigDecimal");
36
+ }
37
+ // Annotate the CommonJS export names for ESM import in node:
38
+ 0 && (module.exports = {
39
+ NumericValue,
40
+ nv
41
+ });
@@ -0,0 +1 @@
1
+ export * from "./value/NumericValue";
@@ -0,0 +1,9 @@
1
+ export class NumericValue {
2
+ constructor(string, type) {
3
+ this.string = string;
4
+ this.type = type;
5
+ }
6
+ }
7
+ export function nv(string) {
8
+ return new NumericValue(string, "bigDecimal");
9
+ }
@@ -0,0 +1 @@
1
+ export * from "./value/NumericValue";
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Types which may be represented by {@link NumericValue}.
3
+ *
4
+ * There is currently only one option, because BigInteger and Long should
5
+ * use JS BigInt directly, and all other numeric types can be contained in JS Number.
6
+ *
7
+ * @public
8
+ */
9
+ export type NumericType = "bigDecimal";
10
+ /**
11
+ * Serialization container for Smithy simple types that do not have a
12
+ * direct JavaScript runtime representation.
13
+ *
14
+ * This container does not perform numeric mathematical operations.
15
+ * It is a container for discerning a value's true type.
16
+ *
17
+ * It allows storage of numeric types not representable in JS without
18
+ * making a decision on what numeric library to use.
19
+ *
20
+ * @public
21
+ */
22
+ export declare class NumericValue {
23
+ readonly string: string;
24
+ readonly type: NumericType;
25
+ constructor(string: string, type: NumericType);
26
+ }
27
+ /**
28
+ * Serde shortcut.
29
+ * @internal
30
+ */
31
+ export declare function nv(string: string): NumericValue;
@@ -0,0 +1 @@
1
+ export * from "./value/NumericValue";
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Types which may be represented by {@link NumericValue}.
3
+ *
4
+ * There is currently only one option, because BigInteger and Long should
5
+ * use JS BigInt directly, and all other numeric types can be contained in JS Number.
6
+ *
7
+ * @public
8
+ */
9
+ export type NumericType = "bigDecimal";
10
+ /**
11
+ * Serialization container for Smithy simple types that do not have a
12
+ * direct JavaScript runtime representation.
13
+ *
14
+ * This container does not perform numeric mathematical operations.
15
+ * It is a container for discerning a value's true type.
16
+ *
17
+ * It allows storage of numeric types not representable in JS without
18
+ * making a decision on what numeric library to use.
19
+ *
20
+ * @public
21
+ */
22
+ export declare class NumericValue {
23
+ readonly string: string;
24
+ readonly type: NumericType;
25
+ constructor(string: string, type: NumericType);
26
+ }
27
+ /**
28
+ * Serde shortcut.
29
+ * @internal
30
+ */
31
+ export declare function nv(string: string): NumericValue;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "3.1.5",
3
+ "version": "3.2.0",
4
4
  "scripts": {
5
5
  "build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline core",
@@ -45,6 +45,13 @@
45
45
  "import": "./dist-es/submodules/protocols/index.js",
46
46
  "require": "./dist-cjs/submodules/protocols/index.js",
47
47
  "types": "./dist-types/submodules/protocols/index.d.ts"
48
+ },
49
+ "./serde": {
50
+ "module": "./dist-es/submodules/serde/index.js",
51
+ "node": "./dist-cjs/submodules/serde/index.js",
52
+ "import": "./dist-es/submodules/serde/index.js",
53
+ "require": "./dist-cjs/submodules/serde/index.js",
54
+ "types": "./dist-types/submodules/serde/index.d.ts"
48
55
  }
49
56
  },
50
57
  "author": {
@@ -54,12 +61,12 @@
54
61
  },
55
62
  "license": "Apache-2.0",
56
63
  "dependencies": {
57
- "@smithy/middleware-serde": "^4.0.2",
58
- "@smithy/protocol-http": "^5.0.1",
59
- "@smithy/types": "^4.1.0",
64
+ "@smithy/middleware-serde": "^4.0.3",
65
+ "@smithy/protocol-http": "^5.1.0",
66
+ "@smithy/types": "^4.2.0",
60
67
  "@smithy/util-body-length-browser": "^4.0.0",
61
- "@smithy/util-middleware": "^4.0.1",
62
- "@smithy/util-stream": "^4.1.2",
68
+ "@smithy/util-middleware": "^4.0.2",
69
+ "@smithy/util-stream": "^4.2.0",
63
70
  "@smithy/util-utf8": "^4.0.0",
64
71
  "tslib": "^2.6.2"
65
72
  },
@@ -78,12 +85,14 @@
78
85
  "./cbor.js",
79
86
  "./protocols.d.ts",
80
87
  "./protocols.js",
88
+ "./serde.d.ts",
89
+ "./serde.js",
81
90
  "dist-*/**"
82
91
  ],
83
- "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/core",
92
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/core",
84
93
  "repository": {
85
94
  "type": "git",
86
- "url": "https://github.com/awslabs/smithy-typescript.git",
95
+ "url": "https://github.com/smithy-lang/smithy-typescript.git",
87
96
  "directory": "packages/core"
88
97
  },
89
98
  "devDependencies": {
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Do not edit:
3
+ * This is a compatibility redirect for contexts that do not understand package.json exports field.
4
+ */
5
+ declare module "@smithy/core/serde" {
6
+ export * from "@smithy/core/dist-types/submodules/serde/index.d";
7
+ }
@@ -0,0 +1,6 @@
1
+
2
+ /**
3
+ * Do not edit:
4
+ * This is a compatibility redirect for contexts that do not understand package.json exports field.
5
+ */
6
+ module.exports = require("./dist-cjs/submodules/serde/index.js");
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/credential-provider-imds",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
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,10 +27,10 @@
27
27
  },
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@smithy/node-config-provider": "^4.0.1",
31
- "@smithy/property-provider": "^4.0.1",
32
- "@smithy/types": "^4.1.0",
33
- "@smithy/url-parser": "^4.0.1",
30
+ "@smithy/node-config-provider": "^4.0.2",
31
+ "@smithy/property-provider": "^4.0.2",
32
+ "@smithy/types": "^4.2.0",
33
+ "@smithy/url-parser": "^4.0.2",
34
34
  "tslib": "^2.6.2"
35
35
  },
36
36
  "devDependencies": {
@@ -54,10 +54,10 @@
54
54
  "files": [
55
55
  "dist-*/**"
56
56
  ],
57
- "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/credential-provider-imds",
57
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/credential-provider-imds",
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/credential-provider-imds"
62
62
  },
63
63
  "typedoc": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/fetch-http-handler",
3
- "version": "5.0.1",
3
+ "version": "5.0.2",
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'",
@@ -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 && yarn test:browser",
17
17
  "test:watch": "yarn g:vitest watch",
@@ -27,14 +27,14 @@
27
27
  "module": "./dist-es/index.js",
28
28
  "types": "./dist-types/index.d.ts",
29
29
  "dependencies": {
30
- "@smithy/protocol-http": "^5.0.1",
31
- "@smithy/querystring-builder": "^4.0.1",
32
- "@smithy/types": "^4.1.0",
30
+ "@smithy/protocol-http": "^5.1.0",
31
+ "@smithy/querystring-builder": "^4.0.2",
32
+ "@smithy/types": "^4.2.0",
33
33
  "@smithy/util-base64": "^4.0.0",
34
34
  "tslib": "^2.6.2"
35
35
  },
36
36
  "devDependencies": {
37
- "@smithy/abort-controller": "^4.0.1",
37
+ "@smithy/abort-controller": "^4.0.2",
38
38
  "concurrently": "7.0.0",
39
39
  "downlevel-dts": "0.10.1",
40
40
  "rimraf": "3.0.2",
@@ -50,10 +50,10 @@
50
50
  "files": [
51
51
  "dist-*/**"
52
52
  ],
53
- "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/fetch-http-handler",
53
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/fetch-http-handler",
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/fetch-http-handler"
58
58
  },
59
59
  "typedoc": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/hash-node",
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 hash-node",
@@ -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
  },
@@ -31,7 +31,7 @@
31
31
  "typedoc": "0.23.23"
32
32
  },
33
33
  "dependencies": {
34
- "@smithy/types": "^4.1.0",
34
+ "@smithy/types": "^4.2.0",
35
35
  "@smithy/util-buffer-from": "^4.0.0",
36
36
  "@smithy/util-utf8": "^4.0.0",
37
37
  "tslib": "^2.6.2"
@@ -49,10 +49,10 @@
49
49
  "files": [
50
50
  "dist-*/**"
51
51
  ],
52
- "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/hash-node",
52
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/hash-node",
53
53
  "repository": {
54
54
  "type": "git",
55
- "url": "https://github.com/awslabs/smithy-typescript.git",
55
+ "url": "https://github.com/smithy-lang/smithy-typescript.git",
56
56
  "directory": "packages/hash-node"
57
57
  },
58
58
  "typedoc": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/invalid-dependency",
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 invalid-dependency",
@@ -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
  "typesVersions": {
@@ -36,10 +36,10 @@
36
36
  "files": [
37
37
  "dist-*/**"
38
38
  ],
39
- "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/invalid-dependency",
39
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/invalid-dependency",
40
40
  "repository": {
41
41
  "type": "git",
42
- "url": "https://github.com/awslabs/smithy-typescript.git",
42
+ "url": "https://github.com/smithy-lang/smithy-typescript.git",
43
43
  "directory": "packages/invalid-dependency"
44
44
  },
45
45
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-content-length",
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 middleware-content-length",
@@ -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
  "test:integration": "yarn g:vitest run -c vitest.config.integ.ts",
16
16
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.ts"
@@ -24,8 +24,8 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@smithy/protocol-http": "^5.0.1",
28
- "@smithy/types": "^4.1.0",
27
+ "@smithy/protocol-http": "^5.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-content-length",
44
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/middleware-content-length",
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-content-length"
49
49
  },
50
50
  "devDependencies": {
@@ -246,17 +246,16 @@ var getEndpointPlugin = /* @__PURE__ */ __name((config, instructions) => ({
246
246
  var import_getEndpointFromConfig2 = require("./adaptors/getEndpointFromConfig");
247
247
  var resolveEndpointConfig = /* @__PURE__ */ __name((input) => {
248
248
  const tls = input.tls ?? true;
249
- const { endpoint } = input;
249
+ const { endpoint, useDualstackEndpoint, useFipsEndpoint } = input;
250
250
  const customEndpointProvider = endpoint != null ? async () => toEndpointV1(await (0, import_util_middleware.normalizeProvider)(endpoint)()) : void 0;
251
251
  const isCustomEndpoint = !!endpoint;
252
- const resolvedConfig = {
253
- ...input,
252
+ const resolvedConfig = Object.assign(input, {
254
253
  endpoint: customEndpointProvider,
255
254
  tls,
256
255
  isCustomEndpoint,
257
- useDualstackEndpoint: (0, import_util_middleware.normalizeProvider)(input.useDualstackEndpoint ?? false),
258
- useFipsEndpoint: (0, import_util_middleware.normalizeProvider)(input.useFipsEndpoint ?? false)
259
- };
256
+ useDualstackEndpoint: (0, import_util_middleware.normalizeProvider)(useDualstackEndpoint ?? false),
257
+ useFipsEndpoint: (0, import_util_middleware.normalizeProvider)(useFipsEndpoint ?? false)
258
+ });
260
259
  let configuredEndpointPromise = void 0;
261
260
  resolvedConfig.serviceConfiguredEndpoint = async () => {
262
261
  if (input.serviceId && !configuredEndpointPromise) {
@@ -3,17 +3,16 @@ import { getEndpointFromConfig } from "./adaptors/getEndpointFromConfig";
3
3
  import { toEndpointV1 } from "./adaptors/toEndpointV1";
4
4
  export const resolveEndpointConfig = (input) => {
5
5
  const tls = input.tls ?? true;
6
- const { endpoint } = input;
6
+ const { endpoint, useDualstackEndpoint, useFipsEndpoint } = input;
7
7
  const customEndpointProvider = endpoint != null ? async () => toEndpointV1(await normalizeProvider(endpoint)()) : undefined;
8
8
  const isCustomEndpoint = !!endpoint;
9
- const resolvedConfig = {
10
- ...input,
9
+ const resolvedConfig = Object.assign(input, {
11
10
  endpoint: customEndpointProvider,
12
11
  tls,
13
12
  isCustomEndpoint,
14
- useDualstackEndpoint: normalizeProvider(input.useDualstackEndpoint ?? false),
15
- useFipsEndpoint: normalizeProvider(input.useFipsEndpoint ?? false),
16
- };
13
+ useDualstackEndpoint: normalizeProvider(useDualstackEndpoint ?? false),
14
+ useFipsEndpoint: normalizeProvider(useFipsEndpoint ?? false),
15
+ });
17
16
  let configuredEndpointPromise = undefined;
18
17
  resolvedConfig.serviceConfiguredEndpoint = async () => {
19
18
  if (input.serviceId && !configuredEndpointPromise) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-endpoint",
3
- "version": "4.0.6",
3
+ "version": "4.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 middleware-endpoint",
@@ -24,13 +24,13 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@smithy/core": "^3.1.5",
28
- "@smithy/middleware-serde": "^4.0.2",
29
- "@smithy/node-config-provider": "^4.0.1",
30
- "@smithy/shared-ini-file-loader": "^4.0.1",
31
- "@smithy/types": "^4.1.0",
32
- "@smithy/url-parser": "^4.0.1",
33
- "@smithy/util-middleware": "^4.0.1",
27
+ "@smithy/core": "^3.2.0",
28
+ "@smithy/middleware-serde": "^4.0.3",
29
+ "@smithy/node-config-provider": "^4.0.2",
30
+ "@smithy/shared-ini-file-loader": "^4.0.2",
31
+ "@smithy/types": "^4.2.0",
32
+ "@smithy/url-parser": "^4.0.2",
33
+ "@smithy/util-middleware": "^4.0.2",
34
34
  "tslib": "^2.6.2"
35
35
  },
36
36
  "devDependencies": {
@@ -59,10 +59,10 @@
59
59
  "./dist-es/adaptors/getEndpointFromConfig": "./dist-es/adaptors/getEndpointFromConfig.browser",
60
60
  "./dist-cjs/adaptors/getEndpointFromConfig": "./dist-cjs/adaptors/getEndpointFromConfig.browser"
61
61
  },
62
- "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/middleware-endpoint",
62
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/middleware-endpoint",
63
63
  "repository": {
64
64
  "type": "git",
65
- "url": "https://github.com/awslabs/smithy-typescript.git",
65
+ "url": "https://github.com/smithy-lang/smithy-typescript.git",
66
66
  "directory": "packages/middleware-endpoint"
67
67
  },
68
68
  "typedoc": {
@@ -5,7 +5,7 @@
5
5
 
6
6
  ## Usage
7
7
 
8
- See [@smithy/util-retry](https://github.com/awslabs/smithy-typescript/tree/main/packages/util-retry)
8
+ See [@smithy/util-retry](https://github.com/smithy-lang/smithy-typescript/tree/main/packages/util-retry)
9
9
  for retry behavior and configuration.
10
10
 
11
11
  See also: [AWS Documentation: Retry behavior](https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html).
@@ -243,22 +243,21 @@ var NODE_MAX_ATTEMPT_CONFIG_OPTIONS = {
243
243
  default: import_util_retry.DEFAULT_MAX_ATTEMPTS
244
244
  };
245
245
  var resolveRetryConfig = /* @__PURE__ */ __name((input) => {
246
- const { retryStrategy } = input;
247
- const maxAttempts = (0, import_util_middleware.normalizeProvider)(input.maxAttempts ?? import_util_retry.DEFAULT_MAX_ATTEMPTS);
248
- return {
249
- ...input,
246
+ const { retryStrategy, retryMode: _retryMode, maxAttempts: _maxAttempts } = input;
247
+ const maxAttempts = (0, import_util_middleware.normalizeProvider)(_maxAttempts ?? import_util_retry.DEFAULT_MAX_ATTEMPTS);
248
+ return Object.assign(input, {
250
249
  maxAttempts,
251
250
  retryStrategy: async () => {
252
251
  if (retryStrategy) {
253
252
  return retryStrategy;
254
253
  }
255
- const retryMode = await (0, import_util_middleware.normalizeProvider)(input.retryMode)();
254
+ const retryMode = await (0, import_util_middleware.normalizeProvider)(_retryMode)();
256
255
  if (retryMode === import_util_retry.RETRY_MODES.ADAPTIVE) {
257
256
  return new import_util_retry.AdaptiveRetryStrategy(maxAttempts);
258
257
  }
259
258
  return new import_util_retry.StandardRetryStrategy(maxAttempts);
260
259
  }
261
- };
260
+ });
262
261
  }, "resolveRetryConfig");
263
262
  var ENV_RETRY_MODE = "AWS_RETRY_MODE";
264
263
  var CONFIG_RETRY_MODE = "retry_mode";
@@ -26,22 +26,21 @@ export const NODE_MAX_ATTEMPT_CONFIG_OPTIONS = {
26
26
  default: DEFAULT_MAX_ATTEMPTS,
27
27
  };
28
28
  export const resolveRetryConfig = (input) => {
29
- const { retryStrategy } = input;
30
- const maxAttempts = normalizeProvider(input.maxAttempts ?? DEFAULT_MAX_ATTEMPTS);
31
- return {
32
- ...input,
29
+ const { retryStrategy, retryMode: _retryMode, maxAttempts: _maxAttempts } = input;
30
+ const maxAttempts = normalizeProvider(_maxAttempts ?? DEFAULT_MAX_ATTEMPTS);
31
+ return Object.assign(input, {
33
32
  maxAttempts,
34
33
  retryStrategy: async () => {
35
34
  if (retryStrategy) {
36
35
  return retryStrategy;
37
36
  }
38
- const retryMode = await normalizeProvider(input.retryMode)();
37
+ const retryMode = await normalizeProvider(_retryMode)();
39
38
  if (retryMode === RETRY_MODES.ADAPTIVE) {
40
39
  return new AdaptiveRetryStrategy(maxAttempts);
41
40
  }
42
41
  return new StandardRetryStrategy(maxAttempts);
43
42
  },
44
- };
43
+ });
45
44
  };
46
45
  export const ENV_RETRY_MODE = "AWS_RETRY_MODE";
47
46
  export const CONFIG_RETRY_MODE = "retry_mode";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-retry",
3
- "version": "4.0.7",
3
+ "version": "4.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 middleware-retry",
@@ -33,13 +33,13 @@
33
33
  },
34
34
  "license": "Apache-2.0",
35
35
  "dependencies": {
36
- "@smithy/node-config-provider": "^4.0.1",
37
- "@smithy/protocol-http": "^5.0.1",
38
- "@smithy/service-error-classification": "^4.0.1",
39
- "@smithy/smithy-client": "^4.1.6",
40
- "@smithy/types": "^4.1.0",
41
- "@smithy/util-middleware": "^4.0.1",
42
- "@smithy/util-retry": "^4.0.1",
36
+ "@smithy/node-config-provider": "^4.0.2",
37
+ "@smithy/protocol-http": "^5.1.0",
38
+ "@smithy/service-error-classification": "^4.0.2",
39
+ "@smithy/smithy-client": "^4.2.0",
40
+ "@smithy/types": "^4.2.0",
41
+ "@smithy/util-middleware": "^4.0.2",
42
+ "@smithy/util-retry": "^4.0.2",
43
43
  "tslib": "^2.6.2",
44
44
  "uuid": "^9.0.1"
45
45
  },
@@ -64,10 +64,10 @@
64
64
  "files": [
65
65
  "dist-*/**"
66
66
  ],
67
- "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/middleware-retry",
67
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/middleware-retry",
68
68
  "repository": {
69
69
  "type": "git",
70
- "url": "https://github.com/awslabs/smithy-typescript.git",
70
+ "url": "https://github.com/smithy-lang/smithy-typescript.git",
71
71
  "directory": "packages/middleware-retry"
72
72
  },
73
73
  "typedoc": {