@cdklabs/cdk-ecs-codedeploy 0.0.385 → 0.0.387
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/index.js +17 -18
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/CodeDeployClient.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/package.json +34 -34
- package/node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +17 -18
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +13 -15
- 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 +82 -33
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +4 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +4 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +70 -27
- 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 +25 -3
- 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/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +11 -1
- package/node_modules/@aws-sdk/core/package.json +22 -22
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- 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 +5 -4
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +5 -5
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +11 -11
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +17 -18
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +2 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +2 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/package.json +36 -36
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +15 -26
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js +2 -12
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/resolveRegionConfig.js +2 -3
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/types/dist-es/function.js +1 -0
- package/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/types/dist-types/function.d.ts +7 -0
- package/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/function.d.ts +7 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +5 -7
- package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- 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 +5 -5
- 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
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
19
|
|
20
20
|
// src/index.ts
|
21
|
-
var
|
22
|
-
__export(
|
21
|
+
var index_exports = {};
|
22
|
+
__export(index_exports, {
|
23
23
|
AbortController: () => import_types.AbortController,
|
24
24
|
AbortHandler: () => import_types.AbortHandler,
|
25
25
|
AbortSignal: () => import_types.AbortSignal,
|
@@ -191,7 +191,7 @@ __export(src_exports, {
|
|
191
191
|
WithSdkStreamMixin: () => import_types.WithSdkStreamMixin,
|
192
192
|
randomValues: () => import_types.randomValues
|
193
193
|
});
|
194
|
-
module.exports = __toCommonJS(
|
194
|
+
module.exports = __toCommonJS(index_exports);
|
195
195
|
|
196
196
|
// src/abort.ts
|
197
197
|
var import_types = require("@smithy/types");
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/**
|
2
|
+
* Resolves a function that accepts both the object argument fields of F1 and F2.
|
3
|
+
* The function returns an intersection of what F1 and F2 return.
|
4
|
+
*
|
5
|
+
* @public
|
6
|
+
*/
|
7
|
+
export type MergeFunctions<F1, F2> = F1 extends (arg: infer A1) => infer R1 ? F2 extends (arg: infer A2) => infer R2 ? R1 extends Promise<unknown> ? (arg?: A1 & A2) => Promise<Awaited<R1> & Awaited<R2>> : (arg?: A1 & A2) => R1 & R2 : never : never;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/types",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.0",
|
4
4
|
"main": "./dist-cjs/index.js",
|
5
5
|
"module": "./dist-es/index.js",
|
6
6
|
"types": "./dist-types/index.d.ts",
|
@@ -41,7 +41,7 @@
|
|
41
41
|
"directory": "packages/types"
|
42
42
|
},
|
43
43
|
"dependencies": {
|
44
|
-
"@smithy/types": "^4.
|
44
|
+
"@smithy/types": "^4.2.0",
|
45
45
|
"tslib": "^2.6.2"
|
46
46
|
},
|
47
47
|
"devDependencies": {
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
20
|
|
21
21
|
// src/index.ts
|
22
|
-
var
|
23
|
-
__export(
|
22
|
+
var index_exports = {};
|
23
|
+
__export(index_exports, {
|
24
24
|
ConditionObject: () => import_util_endpoints.ConditionObject,
|
25
25
|
DeprecatedObject: () => import_util_endpoints.DeprecatedObject,
|
26
26
|
EndpointError: () => import_util_endpoints.EndpointError,
|
@@ -50,7 +50,7 @@ __export(src_exports, {
|
|
50
50
|
setPartitionInfo: () => setPartitionInfo,
|
51
51
|
useDefaultPartitionInfo: () => useDefaultPartitionInfo
|
52
52
|
});
|
53
|
-
module.exports = __toCommonJS(
|
53
|
+
module.exports = __toCommonJS(index_exports);
|
54
54
|
|
55
55
|
// src/aws.ts
|
56
56
|
|
@@ -91,11 +91,9 @@ var ARN_DELIMITER = ":";
|
|
91
91
|
var RESOURCE_DELIMITER = "/";
|
92
92
|
var parseArn = /* @__PURE__ */ __name((value) => {
|
93
93
|
const segments = value.split(ARN_DELIMITER);
|
94
|
-
if (segments.length < 6)
|
95
|
-
return null;
|
94
|
+
if (segments.length < 6) return null;
|
96
95
|
const [arn, partition2, service, region, accountId, ...resourcePath] = segments;
|
97
|
-
if (arn !== "arn" || partition2 === "" || service === "" || resourcePath.join(ARN_DELIMITER) === "")
|
98
|
-
return null;
|
96
|
+
if (arn !== "arn" || partition2 === "" || service === "" || resourcePath.join(ARN_DELIMITER) === "") return null;
|
99
97
|
const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat();
|
100
98
|
return {
|
101
99
|
partition: partition2,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/util-endpoints",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.0",
|
4
4
|
"description": "Utilities to help with endpoint resolution",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -24,9 +24,9 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@aws-sdk/types": "3.
|
28
|
-
"@smithy/types": "^4.
|
29
|
-
"@smithy/util-endpoints": "^3.0.
|
27
|
+
"@aws-sdk/types": "3.775.0",
|
28
|
+
"@smithy/types": "^4.2.0",
|
29
|
+
"@smithy/util-endpoints": "^3.0.2",
|
30
30
|
"tslib": "^2.6.2"
|
31
31
|
},
|
32
32
|
"engines": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/util-user-agent-browser",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.0",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-browser",
|
@@ -23,8 +23,8 @@
|
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"react-native": "dist-es/index.native.js",
|
25
25
|
"dependencies": {
|
26
|
-
"@aws-sdk/types": "3.
|
27
|
-
"@smithy/types": "^4.
|
26
|
+
"@aws-sdk/types": "3.775.0",
|
27
|
+
"@smithy/types": "^4.2.0",
|
28
28
|
"bowser": "^2.11.0",
|
29
29
|
"tslib": "^2.6.2"
|
30
30
|
},
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
20
|
|
21
21
|
// src/index.ts
|
22
|
-
var
|
23
|
-
__export(
|
22
|
+
var index_exports = {};
|
23
|
+
__export(index_exports, {
|
24
24
|
NODE_APP_ID_CONFIG_OPTIONS: () => NODE_APP_ID_CONFIG_OPTIONS,
|
25
25
|
UA_APP_ID_ENV_NAME: () => UA_APP_ID_ENV_NAME,
|
26
26
|
UA_APP_ID_INI_NAME: () => UA_APP_ID_INI_NAME,
|
@@ -28,7 +28,7 @@ __export(src_exports, {
|
|
28
28
|
crtAvailability: () => crtAvailability,
|
29
29
|
defaultUserAgent: () => defaultUserAgent
|
30
30
|
});
|
31
|
-
module.exports = __toCommonJS(
|
31
|
+
module.exports = __toCommonJS(index_exports);
|
32
32
|
|
33
33
|
// src/defaultUserAgent.ts
|
34
34
|
var import_os = require("os");
|
@@ -85,8 +85,8 @@ var UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID";
|
|
85
85
|
var UA_APP_ID_INI_NAME = "sdk_ua_app_id";
|
86
86
|
var UA_APP_ID_INI_NAME_DEPRECATED = "sdk-ua-app-id";
|
87
87
|
var NODE_APP_ID_CONFIG_OPTIONS = {
|
88
|
-
environmentVariableSelector: (env2) => env2[UA_APP_ID_ENV_NAME],
|
89
|
-
configFileSelector: (profile) => profile[UA_APP_ID_INI_NAME] ?? profile[UA_APP_ID_INI_NAME_DEPRECATED],
|
88
|
+
environmentVariableSelector: /* @__PURE__ */ __name((env2) => env2[UA_APP_ID_ENV_NAME], "environmentVariableSelector"),
|
89
|
+
configFileSelector: /* @__PURE__ */ __name((profile) => profile[UA_APP_ID_INI_NAME] ?? profile[UA_APP_ID_INI_NAME_DEPRECATED], "configFileSelector"),
|
90
90
|
default: import_middleware_user_agent.DEFAULT_UA_APP_ID
|
91
91
|
};
|
92
92
|
// Annotate the CommonJS export names for ESM import in node:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.0",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
|
@@ -21,10 +21,10 @@
|
|
21
21
|
},
|
22
22
|
"license": "Apache-2.0",
|
23
23
|
"dependencies": {
|
24
|
-
"@aws-sdk/middleware-user-agent": "3.
|
25
|
-
"@aws-sdk/types": "3.
|
26
|
-
"@smithy/node-config-provider": "^4.0.
|
27
|
-
"@smithy/types": "^4.
|
24
|
+
"@aws-sdk/middleware-user-agent": "3.775.0",
|
25
|
+
"@aws-sdk/types": "3.775.0",
|
26
|
+
"@smithy/node-config-provider": "^4.0.2",
|
27
|
+
"@smithy/types": "^4.2.0",
|
28
28
|
"tslib": "^2.6.2"
|
29
29
|
},
|
30
30
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/abort-controller",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.2",
|
4
4
|
"description": "A simple abort controller library",
|
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
|
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"
|
@@ -25,7 +25,7 @@
|
|
25
25
|
},
|
26
26
|
"license": "Apache-2.0",
|
27
27
|
"dependencies": {
|
28
|
-
"@smithy/types": "^4.
|
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/abort-controller",
|
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/abort-controller"
|
49
49
|
},
|
50
50
|
"devDependencies": {
|
@@ -64,14 +64,13 @@ var NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {
|
|
64
64
|
// src/endpointsConfig/resolveCustomEndpointsConfig.ts
|
65
65
|
var import_util_middleware = require("@smithy/util-middleware");
|
66
66
|
var resolveCustomEndpointsConfig = /* @__PURE__ */ __name((input) => {
|
67
|
-
const { endpoint, urlParser } = input;
|
68
|
-
return {
|
69
|
-
|
70
|
-
tls: input.tls ?? true,
|
67
|
+
const { tls, endpoint, urlParser, useDualstackEndpoint } = input;
|
68
|
+
return Object.assign(input, {
|
69
|
+
tls: tls ?? true,
|
71
70
|
endpoint: (0, import_util_middleware.normalizeProvider)(typeof endpoint === "string" ? urlParser(endpoint) : endpoint),
|
72
71
|
isCustomEndpoint: true,
|
73
|
-
useDualstackEndpoint: (0, import_util_middleware.normalizeProvider)(
|
74
|
-
};
|
72
|
+
useDualstackEndpoint: (0, import_util_middleware.normalizeProvider)(useDualstackEndpoint ?? false)
|
73
|
+
});
|
75
74
|
}, "resolveCustomEndpointsConfig");
|
76
75
|
|
77
76
|
// src/endpointsConfig/resolveEndpointsConfig.ts
|
@@ -97,14 +96,13 @@ var getEndpointFromRegion = /* @__PURE__ */ __name(async (input) => {
|
|
97
96
|
// src/endpointsConfig/resolveEndpointsConfig.ts
|
98
97
|
var resolveEndpointsConfig = /* @__PURE__ */ __name((input) => {
|
99
98
|
const useDualstackEndpoint = (0, import_util_middleware.normalizeProvider)(input.useDualstackEndpoint ?? false);
|
100
|
-
const { endpoint, useFipsEndpoint, urlParser } = input;
|
101
|
-
return {
|
102
|
-
|
103
|
-
tls: input.tls ?? true,
|
99
|
+
const { endpoint, useFipsEndpoint, urlParser, tls } = input;
|
100
|
+
return Object.assign(input, {
|
101
|
+
tls: tls ?? true,
|
104
102
|
endpoint: endpoint ? (0, import_util_middleware.normalizeProvider)(typeof endpoint === "string" ? urlParser(endpoint) : endpoint) : () => getEndpointFromRegion({ ...input, useDualstackEndpoint, useFipsEndpoint }),
|
105
103
|
isCustomEndpoint: !!endpoint,
|
106
104
|
useDualstackEndpoint
|
107
|
-
};
|
105
|
+
});
|
108
106
|
}, "resolveEndpointsConfig");
|
109
107
|
|
110
108
|
// src/regionConfig/config.ts
|
@@ -133,8 +131,7 @@ var resolveRegionConfig = /* @__PURE__ */ __name((input) => {
|
|
133
131
|
if (!region) {
|
134
132
|
throw new Error("Region is missing");
|
135
133
|
}
|
136
|
-
return {
|
137
|
-
...input,
|
134
|
+
return Object.assign(input, {
|
138
135
|
region: async () => {
|
139
136
|
if (typeof region === "string") {
|
140
137
|
return getRealRegion(region);
|
@@ -149,7 +146,7 @@ var resolveRegionConfig = /* @__PURE__ */ __name((input) => {
|
|
149
146
|
}
|
150
147
|
return typeof useFipsEndpoint !== "function" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint();
|
151
148
|
}
|
152
|
-
};
|
149
|
+
});
|
153
150
|
}, "resolveRegionConfig");
|
154
151
|
|
155
152
|
// src/regionInfo/getHostnameFromVariants.ts
|
package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
import { normalizeProvider } from "@smithy/util-middleware";
|
2
2
|
export const resolveCustomEndpointsConfig = (input) => {
|
3
|
-
const { endpoint, urlParser } = input;
|
4
|
-
return {
|
5
|
-
|
6
|
-
tls: input.tls ?? true,
|
3
|
+
const { tls, endpoint, urlParser, useDualstackEndpoint } = input;
|
4
|
+
return Object.assign(input, {
|
5
|
+
tls: tls ?? true,
|
7
6
|
endpoint: normalizeProvider(typeof endpoint === "string" ? urlParser(endpoint) : endpoint),
|
8
7
|
isCustomEndpoint: true,
|
9
|
-
useDualstackEndpoint: normalizeProvider(
|
10
|
-
};
|
8
|
+
useDualstackEndpoint: normalizeProvider(useDualstackEndpoint ?? false),
|
9
|
+
});
|
11
10
|
};
|
package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js
CHANGED
@@ -2,14 +2,13 @@ import { normalizeProvider } from "@smithy/util-middleware";
|
|
2
2
|
import { getEndpointFromRegion } from "./utils/getEndpointFromRegion";
|
3
3
|
export const resolveEndpointsConfig = (input) => {
|
4
4
|
const useDualstackEndpoint = normalizeProvider(input.useDualstackEndpoint ?? false);
|
5
|
-
const { endpoint, useFipsEndpoint, urlParser } = input;
|
6
|
-
return {
|
7
|
-
|
8
|
-
tls: input.tls ?? true,
|
5
|
+
const { endpoint, useFipsEndpoint, urlParser, tls } = input;
|
6
|
+
return Object.assign(input, {
|
7
|
+
tls: tls ?? true,
|
9
8
|
endpoint: endpoint
|
10
9
|
? normalizeProvider(typeof endpoint === "string" ? urlParser(endpoint) : endpoint)
|
11
10
|
: () => getEndpointFromRegion({ ...input, useDualstackEndpoint, useFipsEndpoint }),
|
12
11
|
isCustomEndpoint: !!endpoint,
|
13
12
|
useDualstackEndpoint,
|
14
|
-
};
|
13
|
+
});
|
15
14
|
};
|
@@ -5,8 +5,7 @@ export const resolveRegionConfig = (input) => {
|
|
5
5
|
if (!region) {
|
6
6
|
throw new Error("Region is missing");
|
7
7
|
}
|
8
|
-
return {
|
9
|
-
...input,
|
8
|
+
return Object.assign(input, {
|
10
9
|
region: async () => {
|
11
10
|
if (typeof region === "string") {
|
12
11
|
return getRealRegion(region);
|
@@ -21,5 +20,5 @@ export const resolveRegionConfig = (input) => {
|
|
21
20
|
}
|
22
21
|
return typeof useFipsEndpoint !== "function" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint();
|
23
22
|
},
|
24
|
-
};
|
23
|
+
});
|
25
24
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/config-resolver",
|
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 config-resolver",
|
@@ -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
|
"extract:docs": "api-extractor run --local",
|
16
16
|
"test:watch": "yarn g:vitest watch"
|
@@ -24,10 +24,10 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/node-config-provider": "^4.0.
|
28
|
-
"@smithy/types": "^4.
|
27
|
+
"@smithy/node-config-provider": "^4.0.2",
|
28
|
+
"@smithy/types": "^4.2.0",
|
29
29
|
"@smithy/util-config-provider": "^4.0.0",
|
30
|
-
"@smithy/util-middleware": "^4.0.
|
30
|
+
"@smithy/util-middleware": "^4.0.2",
|
31
31
|
"tslib": "^2.6.2"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
@@ -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/config-resolver",
|
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/config-resolver"
|
57
57
|
},
|
58
58
|
"typedoc": {
|
@@ -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": {
|