@cdklabs/cdk-ecs-codedeploy 0.0.384 → 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/.jsii.tabl.json +1 -1
- 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/index.js +56 -56
- package/node_modules/@aws-sdk/client-codedeploy/package.json +7 -7
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +5 -5
- package/node_modules/@aws-sdk/client-sso/package.json +6 -6
- 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/dist-cjs/index.js +9 -9
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +3 -3
- 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/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +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-recursion-detection/dist-cjs/index.js +10 -6
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js +6 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +1 -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/dist-cjs/submodules/sso-oidc/index.js +6 -6
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +6 -7
- package/node_modules/@aws-sdk/nested-clients/package.json +6 -6
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +3 -3
- 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 +9 -9
@@ -19,15 +19,15 @@ 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
|
DEFAULT_UA_APP_ID: () => DEFAULT_UA_APP_ID,
|
25
25
|
getUserAgentMiddlewareOptions: () => getUserAgentMiddlewareOptions,
|
26
26
|
getUserAgentPlugin: () => getUserAgentPlugin,
|
27
27
|
resolveUserAgentConfig: () => resolveUserAgentConfig,
|
28
28
|
userAgentMiddleware: () => userAgentMiddleware
|
29
29
|
});
|
30
|
-
module.exports = __toCommonJS(
|
30
|
+
module.exports = __toCommonJS(index_exports);
|
31
31
|
|
32
32
|
// src/configurations.ts
|
33
33
|
var import_core = require("@smithy/core");
|
@@ -44,7 +44,7 @@ function resolveUserAgentConfig(input) {
|
|
44
44
|
return {
|
45
45
|
...input,
|
46
46
|
customUserAgent: typeof input.customUserAgent === "string" ? [[input.customUserAgent]] : input.customUserAgent,
|
47
|
-
userAgentAppId: async () => {
|
47
|
+
userAgentAppId: /* @__PURE__ */ __name(async () => {
|
48
48
|
const appId = await normalizedAppIdProvider();
|
49
49
|
if (!isValidUserAgentAppId(appId)) {
|
50
50
|
const logger = input.logger?.constructor?.name === "NoOpLogger" || !input.logger ? console : input.logger;
|
@@ -55,7 +55,7 @@ function resolveUserAgentConfig(input) {
|
|
55
55
|
}
|
56
56
|
}
|
57
57
|
return appId;
|
58
|
-
}
|
58
|
+
}, "userAgentAppId")
|
59
59
|
};
|
60
60
|
}
|
61
61
|
__name(resolveUserAgentConfig, "resolveUserAgentConfig");
|
@@ -211,9 +211,9 @@ var getUserAgentMiddlewareOptions = {
|
|
211
211
|
override: true
|
212
212
|
};
|
213
213
|
var getUserAgentPlugin = /* @__PURE__ */ __name((config) => ({
|
214
|
-
applyToStack: (clientStack) => {
|
214
|
+
applyToStack: /* @__PURE__ */ __name((clientStack) => {
|
215
215
|
clientStack.add(userAgentMiddleware(config), getUserAgentMiddlewareOptions);
|
216
|
-
}
|
216
|
+
}, "applyToStack")
|
217
217
|
}), "getUserAgentPlugin");
|
218
218
|
// Annotate the CommonJS export names for ESM import in node:
|
219
219
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.774.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 middleware-user-agent",
|
@@ -24,7 +24,7 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@aws-sdk/core": "3.
|
27
|
+
"@aws-sdk/core": "3.774.0",
|
28
28
|
"@aws-sdk/types": "3.734.0",
|
29
29
|
"@aws-sdk/util-endpoints": "3.743.0",
|
30
30
|
"@smithy/core": "^3.1.5",
|
@@ -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/submodules/sso-oidc/index.ts
|
22
|
-
var
|
23
|
-
__export(
|
22
|
+
var index_exports = {};
|
23
|
+
__export(index_exports, {
|
24
24
|
$Command: () => import_smithy_client6.Command,
|
25
25
|
AccessDeniedException: () => AccessDeniedException,
|
26
26
|
AuthorizationPendingException: () => AuthorizationPendingException,
|
@@ -41,7 +41,7 @@ __export(sso_oidc_exports, {
|
|
41
41
|
UnsupportedGrantTypeException: () => UnsupportedGrantTypeException,
|
42
42
|
__Client: () => import_smithy_client2.Client
|
43
43
|
});
|
44
|
-
module.exports = __toCommonJS(
|
44
|
+
module.exports = __toCommonJS(index_exports);
|
45
45
|
|
46
46
|
// src/submodules/sso-oidc/SSOOIDCClient.ts
|
47
47
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
@@ -168,9 +168,9 @@ var SSOOIDCClient = class extends import_smithy_client2.Client {
|
|
168
168
|
this.middlewareStack.use(
|
169
169
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
170
170
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSSOOIDCHttpAuthSchemeParametersProvider,
|
171
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
171
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
172
172
|
"aws.auth#sigv4": config.credentials
|
173
|
-
})
|
173
|
+
}), "identityProviderConfigProvider")
|
174
174
|
})
|
175
175
|
);
|
176
176
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
@@ -592,7 +592,7 @@ var se_CreateTokenCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
592
592
|
grantType: [],
|
593
593
|
redirectUri: [],
|
594
594
|
refreshToken: [],
|
595
|
-
scope: (_) => (0, import_smithy_client5._json)(_)
|
595
|
+
scope: /* @__PURE__ */ __name((_) => (0, import_smithy_client5._json)(_), "scope")
|
596
596
|
})
|
597
597
|
);
|
598
598
|
b.m("POST").h(headers).b(body);
|
@@ -20,8 +20,8 @@ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "defau
|
|
20
20
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
21
21
|
|
22
22
|
// src/submodules/sts/index.ts
|
23
|
-
var
|
24
|
-
__export(
|
23
|
+
var index_exports = {};
|
24
|
+
__export(index_exports, {
|
25
25
|
AssumeRoleCommand: () => AssumeRoleCommand,
|
26
26
|
AssumeRoleResponseFilterSensitiveLog: () => AssumeRoleResponseFilterSensitiveLog,
|
27
27
|
AssumeRoleWithWebIdentityCommand: () => AssumeRoleWithWebIdentityCommand,
|
@@ -42,8 +42,8 @@ __export(sts_exports, {
|
|
42
42
|
getDefaultRoleAssumer: () => getDefaultRoleAssumer2,
|
43
43
|
getDefaultRoleAssumerWithWebIdentity: () => getDefaultRoleAssumerWithWebIdentity2
|
44
44
|
});
|
45
|
-
module.exports = __toCommonJS(
|
46
|
-
__reExport(
|
45
|
+
module.exports = __toCommonJS(index_exports);
|
46
|
+
__reExport(index_exports, require("./STSClient"), module.exports);
|
47
47
|
|
48
48
|
// src/submodules/sts/STS.ts
|
49
49
|
var import_smithy_client6 = require("@smithy/smithy-client");
|
@@ -830,7 +830,7 @@ var getDefaultRoleAssumer = /* @__PURE__ */ __name((stsOptions, STSClient3) => {
|
|
830
830
|
stsClient = new STSClient3({
|
831
831
|
profile: stsOptions?.parentClientConfig?.profile,
|
832
832
|
// A hack to make sts client uses the credential in current closure.
|
833
|
-
credentialDefaultProvider: () => async () => closureSourceCreds,
|
833
|
+
credentialDefaultProvider: /* @__PURE__ */ __name(() => async () => closureSourceCreds, "credentialDefaultProvider"),
|
834
834
|
region: resolvedRegion,
|
835
835
|
requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,
|
836
836
|
logger
|
@@ -905,8 +905,7 @@ var isH2 = /* @__PURE__ */ __name((requestHandler) => {
|
|
905
905
|
// src/submodules/sts/defaultRoleAssumers.ts
|
906
906
|
var import_STSClient2 = require("./STSClient");
|
907
907
|
var getCustomizableStsClientCtor = /* @__PURE__ */ __name((baseCtor, customizations) => {
|
908
|
-
if (!customizations)
|
909
|
-
return baseCtor;
|
908
|
+
if (!customizations) return baseCtor;
|
910
909
|
else
|
911
910
|
return class CustomizableSTSClient extends baseCtor {
|
912
911
|
static {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.774.0",
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -28,16 +28,16 @@
|
|
28
28
|
"dependencies": {
|
29
29
|
"@aws-crypto/sha256-browser": "5.2.0",
|
30
30
|
"@aws-crypto/sha256-js": "5.2.0",
|
31
|
-
"@aws-sdk/core": "3.
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
31
|
+
"@aws-sdk/core": "3.774.0",
|
32
|
+
"@aws-sdk/middleware-host-header": "3.774.0",
|
33
33
|
"@aws-sdk/middleware-logger": "3.734.0",
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.774.0",
|
36
36
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
37
37
|
"@aws-sdk/types": "3.734.0",
|
38
38
|
"@aws-sdk/util-endpoints": "3.743.0",
|
39
39
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
40
|
-
"@aws-sdk/util-user-agent-node": "3.
|
40
|
+
"@aws-sdk/util-user-agent-node": "3.774.0",
|
41
41
|
"@smithy/config-resolver": "^4.0.1",
|
42
42
|
"@smithy/core": "^3.1.5",
|
43
43
|
"@smithy/fetch-http-handler": "^5.0.1",
|
@@ -29,13 +29,13 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
29
29
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
30
30
|
|
31
31
|
// src/index.ts
|
32
|
-
var
|
33
|
-
__export(
|
32
|
+
var index_exports = {};
|
33
|
+
__export(index_exports, {
|
34
34
|
fromSso: () => fromSso,
|
35
35
|
fromStatic: () => fromStatic,
|
36
36
|
nodeProvider: () => nodeProvider
|
37
37
|
});
|
38
|
-
module.exports = __toCommonJS(
|
38
|
+
module.exports = __toCommonJS(index_exports);
|
39
39
|
|
40
40
|
// src/fromSso.ts
|
41
41
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/token-providers",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.774.0",
|
4
4
|
"description": "A collection of token providers",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -27,7 +27,7 @@
|
|
27
27
|
},
|
28
28
|
"license": "Apache-2.0",
|
29
29
|
"dependencies": {
|
30
|
-
"@aws-sdk/nested-clients": "3.
|
30
|
+
"@aws-sdk/nested-clients": "3.774.0",
|
31
31
|
"@aws-sdk/types": "3.734.0",
|
32
32
|
"@smithy/property-provider": "^4.0.1",
|
33
33
|
"@smithy/shared-ini-file-loader": "^4.0.1",
|
@@ -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.774.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,7 +21,7 @@
|
|
21
21
|
},
|
22
22
|
"license": "Apache-2.0",
|
23
23
|
"dependencies": {
|
24
|
-
"@aws-sdk/middleware-user-agent": "3.
|
24
|
+
"@aws-sdk/middleware-user-agent": "3.774.0",
|
25
25
|
"@aws-sdk/types": "3.734.0",
|
26
26
|
"@smithy/node-config-provider": "^4.0.1",
|
27
27
|
"@smithy/types": "^4.1.0",
|
@@ -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": {
|