@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.
- package/.jsii +3 -3
- package/lib/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/package.json +6 -6
- package/node_modules/@aws-sdk/client-sso/package.json +5 -5
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +9 -9
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +3 -3
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +5 -5
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +4 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +2 -2
- package/node_modules/@aws-sdk/core/dist-types/api-extractor-type-index.d.ts +5 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +0 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +9 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +5 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +9 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/parseXmlBody.d.ts +9 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/api-extractor-type-index.d.ts +5 -0
- package/node_modules/@aws-sdk/core/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +7 -9
- package/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts +15 -0
- package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -1
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +7 -7
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
- package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +5 -5
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@smithy/abort-controller/package.json +5 -5
- package/node_modules/@smithy/config-resolver/dist-cjs/index.js +11 -14
- package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js +5 -6
- package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js +4 -5
- package/node_modules/@smithy/config-resolver/dist-es/regionConfig/resolveRegionConfig.js +2 -3
- package/node_modules/@smithy/config-resolver/package.json +7 -7
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +41 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +9 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/value/NumericValue.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +31 -0
- package/node_modules/@smithy/core/package.json +17 -8
- package/node_modules/@smithy/core/serde.d.ts +7 -0
- package/node_modules/@smithy/core/serde.js +6 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +8 -8
- package/node_modules/@smithy/fetch-http-handler/package.json +8 -8
- package/node_modules/@smithy/hash-node/package.json +5 -5
- package/node_modules/@smithy/invalid-dependency/package.json +5 -5
- package/node_modules/@smithy/middleware-content-length/package.json +6 -6
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +5 -6
- package/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js +5 -6
- package/node_modules/@smithy/middleware-endpoint/package.json +10 -10
- package/node_modules/@smithy/middleware-retry/README.md +1 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +5 -6
- package/node_modules/@smithy/middleware-retry/dist-es/configurations.js +5 -6
- package/node_modules/@smithy/middleware-retry/package.json +10 -10
- package/node_modules/@smithy/middleware-serde/package.json +4 -4
- package/node_modules/@smithy/middleware-stack/package.json +5 -5
- package/node_modules/@smithy/node-config-provider/package.json +7 -7
- package/node_modules/@smithy/node-http-handler/package.json +7 -7
- package/node_modules/@smithy/property-provider/package.json +5 -5
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +4 -5
- package/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +4 -5
- package/node_modules/@smithy/protocol-http/package.json +5 -5
- package/node_modules/@smithy/querystring-builder/package.json +5 -5
- package/node_modules/@smithy/querystring-parser/package.json +5 -5
- package/node_modules/@smithy/service-error-classification/package.json +5 -5
- package/node_modules/@smithy/shared-ini-file-loader/package.json +5 -5
- package/node_modules/@smithy/signature-v4/package.json +7 -7
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +6 -14
- package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +2 -3
- package/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js +2 -8
- package/node_modules/@smithy/smithy-client/dist-es/extensions/retry.js +2 -3
- package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +8 -0
- package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +0 -1
- package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +6 -6
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +8 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +0 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +6 -6
- package/node_modules/@smithy/smithy-client/package.json +9 -9
- package/node_modules/@smithy/types/dist-cjs/index.js +4 -9
- package/node_modules/@smithy/types/dist-es/extensions/checksum.js +2 -3
- package/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js +2 -6
- package/node_modules/@smithy/types/package.json +4 -4
- package/node_modules/@smithy/url-parser/package.json +6 -6
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -6
- package/node_modules/@smithy/util-defaults-mode-node/package.json +9 -9
- package/node_modules/@smithy/util-endpoints/package.json +6 -6
- package/node_modules/@smithy/util-middleware/package.json +5 -5
- package/node_modules/@smithy/util-retry/README.md +1 -1
- package/node_modules/@smithy/util-retry/package.json +6 -6
- package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +1 -1
- package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +3 -3
- package/node_modules/@smithy/util-stream/dist-es/createBufferedReadable.js +1 -1
- package/node_modules/@smithy/util-stream/dist-es/createBufferedReadableStream.js +3 -3
- package/node_modules/@smithy/util-stream/dist-types/createBufferedReadableStream.d.ts +3 -2
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadableStream.d.ts +3 -2
- package/node_modules/@smithy/util-stream/package.json +6 -6
- package/node_modules/@smithy/util-waiter/package.json +6 -6
- package/package.json +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 @@
|
|
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.
|
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.
|
58
|
-
"@smithy/protocol-http": "^5.0
|
59
|
-
"@smithy/types": "^4.
|
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.
|
62
|
-
"@smithy/util-stream": "^4.
|
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/
|
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/
|
95
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
87
96
|
"directory": "packages/core"
|
88
97
|
},
|
89
98
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/credential-provider-imds",
|
3
|
-
"version": "4.0.
|
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
|
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.
|
31
|
-
"@smithy/property-provider": "^4.0.
|
32
|
-
"@smithy/types": "^4.
|
33
|
-
"@smithy/url-parser": "^4.0.
|
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/
|
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/
|
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.
|
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
|
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
|
31
|
-
"@smithy/querystring-builder": "^4.0.
|
32
|
-
"@smithy/types": "^4.
|
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.
|
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/
|
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/
|
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.
|
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
|
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.
|
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/
|
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/
|
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.
|
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
|
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.
|
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/
|
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/
|
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.
|
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
|
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
|
28
|
-
"@smithy/types": "^4.
|
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/
|
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/
|
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)(
|
258
|
-
useFipsEndpoint: (0, import_util_middleware.normalizeProvider)(
|
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(
|
15
|
-
useFipsEndpoint: normalizeProvider(
|
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
|
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.
|
28
|
-
"@smithy/middleware-serde": "^4.0.
|
29
|
-
"@smithy/node-config-provider": "^4.0.
|
30
|
-
"@smithy/shared-ini-file-loader": "^4.0.
|
31
|
-
"@smithy/types": "^4.
|
32
|
-
"@smithy/url-parser": "^4.0.
|
33
|
-
"@smithy/util-middleware": "^4.0.
|
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/
|
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/
|
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/
|
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)(
|
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)(
|
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(
|
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(
|
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
|
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.
|
37
|
-
"@smithy/protocol-http": "^5.0
|
38
|
-
"@smithy/service-error-classification": "^4.0.
|
39
|
-
"@smithy/smithy-client": "^4.
|
40
|
-
"@smithy/types": "^4.
|
41
|
-
"@smithy/util-middleware": "^4.0.
|
42
|
-
"@smithy/util-retry": "^4.0.
|
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/
|
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/
|
70
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
71
71
|
"directory": "packages/middleware-retry"
|
72
72
|
},
|
73
73
|
"typedoc": {
|