@cdk8s/awscdk-resolver 0.0.269 → 0.0.270
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/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/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 +3 -3
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.774.0",
|
4
4
|
"description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -33,8 +33,8 @@
|
|
33
33
|
},
|
34
34
|
"license": "Apache-2.0",
|
35
35
|
"dependencies": {
|
36
|
-
"@aws-sdk/core": "3.
|
37
|
-
"@aws-sdk/nested-clients": "3.
|
36
|
+
"@aws-sdk/core": "3.774.0",
|
37
|
+
"@aws-sdk/nested-clients": "3.774.0",
|
38
38
|
"@aws-sdk/types": "3.734.0",
|
39
39
|
"@smithy/property-provider": "^4.0.1",
|
40
40
|
"@smithy/types": "^4.1.0",
|
@@ -19,22 +19,21 @@ 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
|
getHostHeaderPlugin: () => getHostHeaderPlugin,
|
25
25
|
hostHeaderMiddleware: () => hostHeaderMiddleware,
|
26
26
|
hostHeaderMiddlewareOptions: () => hostHeaderMiddlewareOptions,
|
27
27
|
resolveHostHeaderConfig: () => resolveHostHeaderConfig
|
28
28
|
});
|
29
|
-
module.exports = __toCommonJS(
|
29
|
+
module.exports = __toCommonJS(index_exports);
|
30
30
|
var import_protocol_http = require("@smithy/protocol-http");
|
31
31
|
function resolveHostHeaderConfig(input) {
|
32
32
|
return input;
|
33
33
|
}
|
34
34
|
__name(resolveHostHeaderConfig, "resolveHostHeaderConfig");
|
35
35
|
var hostHeaderMiddleware = /* @__PURE__ */ __name((options) => (next) => async (args) => {
|
36
|
-
if (!import_protocol_http.HttpRequest.isInstance(args.request))
|
37
|
-
return next(args);
|
36
|
+
if (!import_protocol_http.HttpRequest.isInstance(args.request)) return next(args);
|
38
37
|
const { request } = args;
|
39
38
|
const { handlerProtocol = "" } = options.requestHandler.metadata || {};
|
40
39
|
if (handlerProtocol.indexOf("h2") >= 0 && !request.headers[":authority"]) {
|
@@ -42,8 +41,7 @@ var hostHeaderMiddleware = /* @__PURE__ */ __name((options) => (next) => async (
|
|
42
41
|
request.headers[":authority"] = request.hostname + (request.port ? ":" + request.port : "");
|
43
42
|
} else if (!request.headers["host"]) {
|
44
43
|
let host = request.hostname;
|
45
|
-
if (request.port != null)
|
46
|
-
host += `:${request.port}`;
|
44
|
+
if (request.port != null) host += `:${request.port}`;
|
47
45
|
request.headers["host"] = host;
|
48
46
|
}
|
49
47
|
return next(args);
|
@@ -56,9 +54,9 @@ var hostHeaderMiddlewareOptions = {
|
|
56
54
|
override: true
|
57
55
|
};
|
58
56
|
var getHostHeaderPlugin = /* @__PURE__ */ __name((options) => ({
|
59
|
-
applyToStack: (clientStack) => {
|
57
|
+
applyToStack: /* @__PURE__ */ __name((clientStack) => {
|
60
58
|
clientStack.add(hostHeaderMiddleware(options), hostHeaderMiddlewareOptions);
|
61
|
-
}
|
59
|
+
}, "applyToStack")
|
62
60
|
}), "getHostHeaderPlugin");
|
63
61
|
// Annotate the CommonJS export names for ESM import in node:
|
64
62
|
|
@@ -7,14 +7,29 @@ export interface HostHeaderInputConfig {
|
|
7
7
|
interface PreviouslyResolved {
|
8
8
|
requestHandler: RequestHandler<any, any>;
|
9
9
|
}
|
10
|
+
/**
|
11
|
+
* @internal
|
12
|
+
*/
|
10
13
|
export interface HostHeaderResolvedConfig {
|
11
14
|
/**
|
12
15
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
13
16
|
*/
|
14
17
|
requestHandler: RequestHandler<any, any>;
|
15
18
|
}
|
19
|
+
/**
|
20
|
+
* @internal
|
21
|
+
*/
|
16
22
|
export declare function resolveHostHeaderConfig<T>(input: T & PreviouslyResolved & HostHeaderInputConfig): T & HostHeaderResolvedConfig;
|
23
|
+
/**
|
24
|
+
* @internal
|
25
|
+
*/
|
17
26
|
export declare const hostHeaderMiddleware: <Input extends object, Output extends object>(options: HostHeaderResolvedConfig) => BuildMiddleware<Input, Output>;
|
27
|
+
/**
|
28
|
+
* @internal
|
29
|
+
*/
|
18
30
|
export declare const hostHeaderMiddlewareOptions: BuildHandlerOptions & AbsoluteLocation;
|
31
|
+
/**
|
32
|
+
* @internal
|
33
|
+
*/
|
19
34
|
export declare const getHostHeaderPlugin: (options: HostHeaderResolvedConfig) => Pluggable<any, any>;
|
20
35
|
export {};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/middleware-host-header",
|
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-host-header",
|
@@ -9,6 +9,7 @@
|
|
9
9
|
"build:types": "tsc -p tsconfig.types.json",
|
10
10
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
12
|
+
"extract:docs": "api-extractor run --local",
|
12
13
|
"test": "yarn g:vitest run",
|
13
14
|
"test:integration": "yarn g:vitest run -c vitest.config.integ.ts",
|
14
15
|
"test:watch": "yarn g:vitest watch",
|
@@ -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",
|
@@ -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
34
|
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
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",
|
@@ -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;
|