@cdk8s/awscdk-resolver 0.0.22 → 0.0.23
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 +4 -4
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.js +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.shared.js +15 -13
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.js +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.shared.js +15 -13
- package/node_modules/@aws-sdk/client-cloudformation/package.json +5 -4
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +15 -13
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +15 -13
- package/node_modules/@aws-sdk/client-sso/package.json +3 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js +15 -13
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js +15 -13
- package/node_modules/@aws-sdk/client-sts/package.json +4 -3
- package/node_modules/@aws-sdk/core/CHANGELOG.md +43 -0
- package/node_modules/@aws-sdk/core/README.md +5 -0
- package/node_modules/@aws-sdk/core/api-extractor.json +4 -0
- package/node_modules/@aws-sdk/core/dist-cjs/client/emitWarningIfUnsupportedVersion.js +17 -0
- package/node_modules/@aws-sdk/core/dist-cjs/client/index.js +4 -0
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +5 -0
- package/node_modules/@aws-sdk/core/dist-cjs/protocols/index.js +4 -0
- package/node_modules/@aws-sdk/core/dist-cjs/protocols/json/awsExpectUnion.js +14 -0
- package/node_modules/@aws-sdk/core/dist-es/client/emitWarningIfUnsupportedVersion.js +13 -0
- package/node_modules/@aws-sdk/core/dist-es/client/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/index.js +2 -0
- package/node_modules/@aws-sdk/core/dist-es/protocols/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/protocols/json/awsExpectUnion.js +10 -0
- package/node_modules/@aws-sdk/core/dist-types/client/emitWarningIfUnsupportedVersion.d.ts +9 -0
- package/node_modules/@aws-sdk/core/dist-types/client/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/index.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/protocols/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/protocols/json/awsExpectUnion.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/client/emitWarningIfUnsupportedVersion.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/client/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/json/awsExpectUnion.d.ts +3 -0
- package/node_modules/@aws-sdk/core/jest.config.js +6 -0
- package/node_modules/@aws-sdk/core/package.json +56 -0
- package/node_modules/@aws-sdk/core/scripts/lint.js +24 -0
- package/node_modules/@aws-sdk/core/src/client/emitWarningIfUnsupportedVersion.spec.ts +70 -0
- package/node_modules/@aws-sdk/core/src/client/emitWarningIfUnsupportedVersion.ts +25 -0
- package/node_modules/@aws-sdk/core/src/client/index.ts +1 -0
- package/node_modules/@aws-sdk/core/src/index.ts +2 -0
- package/node_modules/@aws-sdk/core/src/protocols/index.ts +1 -0
- package/node_modules/@aws-sdk/core/src/protocols/json/awsExpectUnion.spec.ts +30 -0
- package/node_modules/@aws-sdk/core/src/protocols/json/awsExpectUnion.ts +17 -0
- package/node_modules/@aws-sdk/core/tsconfig.cjs.json +9 -0
- package/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -0
- package/node_modules/@aws-sdk/core/tsconfig.es.json +9 -0
- package/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -0
- package/node_modules/@aws-sdk/core/tsconfig.types.json +9 -0
- package/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/crt-availability.js +6 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +3 -1
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/is-crt-available.js +4 -8
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/crt-availability.js +3 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/is-crt-available.js +4 -8
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/crt-availability.d.ts +9 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/crt-availability.d.ts +3 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +1 -1
- package/package.json +8 -8
package/.jsii
CHANGED
@@ -10,8 +10,8 @@
|
|
10
10
|
"@aws-sdk/client-cloudformation": "^3.423.0"
|
11
11
|
},
|
12
12
|
"dependencies": {
|
13
|
-
"aws-cdk-lib": "^2.
|
14
|
-
"cdk8s": "^2.67.
|
13
|
+
"aws-cdk-lib": "^2.103.1",
|
14
|
+
"cdk8s": "^2.67.3",
|
15
15
|
"constructs": "^10.3.0"
|
16
16
|
},
|
17
17
|
"dependencyClosure": {
|
@@ -3674,6 +3674,6 @@
|
|
3674
3674
|
"symbolId": "src/resolve:AwsCdkResolver"
|
3675
3675
|
}
|
3676
3676
|
},
|
3677
|
-
"version": "0.0.
|
3678
|
-
"fingerprint": "
|
3677
|
+
"version": "0.0.23",
|
3678
|
+
"fingerprint": "794ufiR+q/7+76KhHdX/GPU98FybS70OW/KwyvKqw4Y="
|
3679
3679
|
}
|
package/lib/resolve.js
CHANGED
@@ -61,5 +61,5 @@ class AwsCdkResolver {
|
|
61
61
|
}
|
62
62
|
exports.AwsCdkResolver = AwsCdkResolver;
|
63
63
|
_a = JSII_RTTI_SYMBOL_1;
|
64
|
-
AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.
|
64
|
+
AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.23" };
|
65
65
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9yZXNvbHZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsaURBQTZDO0FBQzdDLDZCQUE2QjtBQUM3Qiw2Q0FBK0U7QUFJL0UsTUFBYSxjQUFjO0lBRWxCLE9BQU8sQ0FBQyxPQUEwQjtRQUV2QyxJQUFJLENBQUMsbUJBQUssQ0FBQyxZQUFZLENBQUMsT0FBTyxDQUFDLEtBQUssQ0FBQyxFQUFFO1lBQ3RDLE9BQU87U0FDUjtRQUVELElBQUksT0FBTyxPQUFPLENBQUMsS0FBSyxLQUFLLFFBQVEsRUFBRTtZQUNyQywrREFBK0Q7WUFDL0QsbUJBQW1CO1lBQ25CLE1BQU0sSU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IHNjcmlwdCA9IHBhdGguam9pbihfX2Rpcm5hbWUsICcuLicsICdsaWInLCAnZmV0Y2gtb3V0cHV0LXZhbHVlLmpzJyk7XG4gICAgcmV0dXJuIEpTT04ucGFyc2UoZXhlY0ZpbGVTeW5jKHByb2Nlc3MuZXhlY1BhdGgsIFtcbiAgICAgIHNjcmlwdCxcbiAgICAgIFN0YWNrLm9mKG91dHB1dCkuc3RhY2tOYW1lLFxuICAgICAgb3V0cHV0Lm5vZGUuaWQsXG4gICAgXSwgeyBlbmNvZGluZzogJ3V0Zi04Jywgc3RkaW86IFsncGlwZSddIH0pLnRvU3RyaW5nKCkudHJpbSgpKTtcblxuICB9XG5cbn1cbiJdfQ==
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
6
6
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
7
|
+
const core_1 = require("@aws-sdk/core");
|
7
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
8
9
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
9
10
|
const config_resolver_1 = require("@smithy/config-resolver");
|
@@ -22,6 +23,7 @@ const getRuntimeConfig = (config) => {
|
|
22
23
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
23
24
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
24
25
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
26
|
+
(0, core_1.emitWarningIfUnsupportedVersion)(process.version);
|
25
27
|
return {
|
26
28
|
...clientSharedValues,
|
27
29
|
...config,
|
@@ -6,17 +6,19 @@ const url_parser_1 = require("@smithy/url-parser");
|
|
6
6
|
const util_base64_1 = require("@smithy/util-base64");
|
7
7
|
const util_utf8_1 = require("@smithy/util-utf8");
|
8
8
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
9
|
-
const getRuntimeConfig = (config) =>
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
9
|
+
const getRuntimeConfig = (config) => {
|
10
|
+
return {
|
11
|
+
apiVersion: "2010-05-15",
|
12
|
+
base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
|
13
|
+
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
14
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
15
|
+
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
16
|
+
extensions: config?.extensions ?? [],
|
17
|
+
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
18
|
+
serviceId: config?.serviceId ?? "CloudFormation",
|
19
|
+
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
20
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
21
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
|
22
|
+
};
|
23
|
+
};
|
22
24
|
exports.getRuntimeConfig = getRuntimeConfig;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import packageInfo from "../package.json";
|
2
2
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
3
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
3
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
4
5
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
5
6
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
@@ -18,6 +19,7 @@ export const getRuntimeConfig = (config) => {
|
|
18
19
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
19
20
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
20
21
|
const clientSharedValues = getSharedRuntimeConfig(config);
|
22
|
+
awsCheckVersion(process.version);
|
21
23
|
return {
|
22
24
|
...clientSharedValues,
|
23
25
|
...config,
|
@@ -3,16 +3,18 @@ import { parseUrl } from "@smithy/url-parser";
|
|
3
3
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
4
4
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
5
5
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
6
|
-
export const getRuntimeConfig = (config) =>
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
6
|
+
export const getRuntimeConfig = (config) => {
|
7
|
+
return {
|
8
|
+
apiVersion: "2010-05-15",
|
9
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
10
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
11
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
12
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
13
|
+
extensions: config?.extensions ?? [],
|
14
|
+
logger: config?.logger ?? new NoOpLogger(),
|
15
|
+
serviceId: config?.serviceId ?? "CloudFormation",
|
16
|
+
urlParser: config?.urlParser ?? parseUrl,
|
17
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
18
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
19
|
+
};
|
20
|
+
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/client-cloudformation",
|
3
3
|
"description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
|
4
|
-
"version": "3.
|
4
|
+
"version": "3.437.0",
|
5
5
|
"scripts": {
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
@@ -21,8 +21,9 @@
|
|
21
21
|
"dependencies": {
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
24
|
-
"@aws-sdk/client-sts": "3.
|
25
|
-
"@aws-sdk/
|
24
|
+
"@aws-sdk/client-sts": "3.437.0",
|
25
|
+
"@aws-sdk/core": "3.436.0",
|
26
|
+
"@aws-sdk/credential-provider-node": "3.437.0",
|
26
27
|
"@aws-sdk/middleware-host-header": "3.433.0",
|
27
28
|
"@aws-sdk/middleware-logger": "3.433.0",
|
28
29
|
"@aws-sdk/middleware-recursion-detection": "3.433.0",
|
@@ -32,7 +33,7 @@
|
|
32
33
|
"@aws-sdk/types": "3.433.0",
|
33
34
|
"@aws-sdk/util-endpoints": "3.433.0",
|
34
35
|
"@aws-sdk/util-user-agent-browser": "3.433.0",
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.437.0",
|
36
37
|
"@smithy/config-resolver": "^2.0.16",
|
37
38
|
"@smithy/fetch-http-handler": "^2.2.4",
|
38
39
|
"@smithy/hash-node": "^2.0.12",
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
6
|
+
const core_1 = require("@aws-sdk/core");
|
6
7
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
7
8
|
const config_resolver_1 = require("@smithy/config-resolver");
|
8
9
|
const hash_node_1 = require("@smithy/hash-node");
|
@@ -20,6 +21,7 @@ const getRuntimeConfig = (config) => {
|
|
20
21
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
21
22
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
22
23
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
24
|
+
(0, core_1.emitWarningIfUnsupportedVersion)(process.version);
|
23
25
|
return {
|
24
26
|
...clientSharedValues,
|
25
27
|
...config,
|
@@ -6,17 +6,19 @@ const url_parser_1 = require("@smithy/url-parser");
|
|
6
6
|
const util_base64_1 = require("@smithy/util-base64");
|
7
7
|
const util_utf8_1 = require("@smithy/util-utf8");
|
8
8
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
9
|
-
const getRuntimeConfig = (config) =>
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
9
|
+
const getRuntimeConfig = (config) => {
|
10
|
+
return {
|
11
|
+
apiVersion: "2019-06-10",
|
12
|
+
base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
|
13
|
+
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
14
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
15
|
+
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
16
|
+
extensions: config?.extensions ?? [],
|
17
|
+
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
18
|
+
serviceId: config?.serviceId ?? "SSO",
|
19
|
+
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
20
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
21
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
|
22
|
+
};
|
23
|
+
};
|
22
24
|
exports.getRuntimeConfig = getRuntimeConfig;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import packageInfo from "../package.json";
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
2
3
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
3
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
4
5
|
import { Hash } from "@smithy/hash-node";
|
@@ -16,6 +17,7 @@ export const getRuntimeConfig = (config) => {
|
|
16
17
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
17
18
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
18
19
|
const clientSharedValues = getSharedRuntimeConfig(config);
|
20
|
+
awsCheckVersion(process.version);
|
19
21
|
return {
|
20
22
|
...clientSharedValues,
|
21
23
|
...config,
|
@@ -3,16 +3,18 @@ import { parseUrl } from "@smithy/url-parser";
|
|
3
3
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
4
4
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
5
5
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
6
|
-
export const getRuntimeConfig = (config) =>
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
6
|
+
export const getRuntimeConfig = (config) => {
|
7
|
+
return {
|
8
|
+
apiVersion: "2019-06-10",
|
9
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
10
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
11
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
12
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
13
|
+
extensions: config?.extensions ?? [],
|
14
|
+
logger: config?.logger ?? new NoOpLogger(),
|
15
|
+
serviceId: config?.serviceId ?? "SSO",
|
16
|
+
urlParser: config?.urlParser ?? parseUrl,
|
17
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
18
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
19
|
+
};
|
20
|
+
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/client-sso",
|
3
3
|
"description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
|
4
|
-
"version": "3.
|
4
|
+
"version": "3.437.0",
|
5
5
|
"scripts": {
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
@@ -21,6 +21,7 @@
|
|
21
21
|
"dependencies": {
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
24
|
+
"@aws-sdk/core": "3.436.0",
|
24
25
|
"@aws-sdk/middleware-host-header": "3.433.0",
|
25
26
|
"@aws-sdk/middleware-logger": "3.433.0",
|
26
27
|
"@aws-sdk/middleware-recursion-detection": "3.433.0",
|
@@ -29,7 +30,7 @@
|
|
29
30
|
"@aws-sdk/types": "3.433.0",
|
30
31
|
"@aws-sdk/util-endpoints": "3.433.0",
|
31
32
|
"@aws-sdk/util-user-agent-browser": "3.433.0",
|
32
|
-
"@aws-sdk/util-user-agent-node": "3.
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.437.0",
|
33
34
|
"@smithy/config-resolver": "^2.0.16",
|
34
35
|
"@smithy/fetch-http-handler": "^2.2.4",
|
35
36
|
"@smithy/hash-node": "^2.0.12",
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
6
6
|
const defaultStsRoleAssumers_1 = require("./defaultStsRoleAssumers");
|
7
|
+
const core_1 = require("@aws-sdk/core");
|
7
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
8
9
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
9
10
|
const config_resolver_1 = require("@smithy/config-resolver");
|
@@ -22,6 +23,7 @@ const getRuntimeConfig = (config) => {
|
|
22
23
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
23
24
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
24
25
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
26
|
+
(0, core_1.emitWarningIfUnsupportedVersion)(process.version);
|
25
27
|
return {
|
26
28
|
...clientSharedValues,
|
27
29
|
...config,
|
@@ -6,17 +6,19 @@ const url_parser_1 = require("@smithy/url-parser");
|
|
6
6
|
const util_base64_1 = require("@smithy/util-base64");
|
7
7
|
const util_utf8_1 = require("@smithy/util-utf8");
|
8
8
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
9
|
-
const getRuntimeConfig = (config) =>
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
9
|
+
const getRuntimeConfig = (config) => {
|
10
|
+
return {
|
11
|
+
apiVersion: "2011-06-15",
|
12
|
+
base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
|
13
|
+
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
14
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
15
|
+
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
16
|
+
extensions: config?.extensions ?? [],
|
17
|
+
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
18
|
+
serviceId: config?.serviceId ?? "STS",
|
19
|
+
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
20
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
21
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
|
22
|
+
};
|
23
|
+
};
|
22
24
|
exports.getRuntimeConfig = getRuntimeConfig;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import packageInfo from "../package.json";
|
2
2
|
import { decorateDefaultCredentialProvider } from "./defaultStsRoleAssumers";
|
3
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
3
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
4
5
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
5
6
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
@@ -18,6 +19,7 @@ export const getRuntimeConfig = (config) => {
|
|
18
19
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
19
20
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
20
21
|
const clientSharedValues = getSharedRuntimeConfig(config);
|
22
|
+
awsCheckVersion(process.version);
|
21
23
|
return {
|
22
24
|
...clientSharedValues,
|
23
25
|
...config,
|
@@ -3,16 +3,18 @@ import { parseUrl } from "@smithy/url-parser";
|
|
3
3
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
4
4
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
5
5
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
6
|
-
export const getRuntimeConfig = (config) =>
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
6
|
+
export const getRuntimeConfig = (config) => {
|
7
|
+
return {
|
8
|
+
apiVersion: "2011-06-15",
|
9
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
10
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
11
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
12
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
13
|
+
extensions: config?.extensions ?? [],
|
14
|
+
logger: config?.logger ?? new NoOpLogger(),
|
15
|
+
serviceId: config?.serviceId ?? "STS",
|
16
|
+
urlParser: config?.urlParser ?? parseUrl,
|
17
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
18
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
19
|
+
};
|
20
|
+
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/client-sts",
|
3
3
|
"description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
|
4
|
-
"version": "3.
|
4
|
+
"version": "3.437.0",
|
5
5
|
"scripts": {
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
@@ -23,7 +23,8 @@
|
|
23
23
|
"dependencies": {
|
24
24
|
"@aws-crypto/sha256-browser": "3.0.0",
|
25
25
|
"@aws-crypto/sha256-js": "3.0.0",
|
26
|
-
"@aws-sdk/
|
26
|
+
"@aws-sdk/core": "3.436.0",
|
27
|
+
"@aws-sdk/credential-provider-node": "3.437.0",
|
27
28
|
"@aws-sdk/middleware-host-header": "3.433.0",
|
28
29
|
"@aws-sdk/middleware-logger": "3.433.0",
|
29
30
|
"@aws-sdk/middleware-recursion-detection": "3.433.0",
|
@@ -34,7 +35,7 @@
|
|
34
35
|
"@aws-sdk/types": "3.433.0",
|
35
36
|
"@aws-sdk/util-endpoints": "3.433.0",
|
36
37
|
"@aws-sdk/util-user-agent-browser": "3.433.0",
|
37
|
-
"@aws-sdk/util-user-agent-node": "3.
|
38
|
+
"@aws-sdk/util-user-agent-node": "3.437.0",
|
38
39
|
"@smithy/config-resolver": "^2.0.16",
|
39
40
|
"@smithy/fetch-http-handler": "^2.2.4",
|
40
41
|
"@smithy/hash-node": "^2.0.12",
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# Change Log
|
2
|
+
|
3
|
+
All notable changes to this project will be documented in this file.
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
|
+
|
6
|
+
# [3.436.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.435.0...v3.436.0) (2023-10-25)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @aws-sdk/core
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
# [3.433.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.432.0...v3.433.0) (2023-10-20)
|
15
|
+
|
16
|
+
|
17
|
+
### Bug Fixes
|
18
|
+
|
19
|
+
* **codegen:** use partial record for enum keyed types ([#5391](https://github.com/aws/aws-sdk-js-v3/issues/5391)) ([70c2107](https://github.com/aws/aws-sdk-js-v3/commit/70c2107b970d035bfedb211278c88fdbfc2e5334))
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
# [3.431.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.430.0...v3.431.0) (2023-10-18)
|
26
|
+
|
27
|
+
**Note:** Version bump only for package @aws-sdk/core
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
# [3.430.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.429.0...v3.430.0) (2023-10-17)
|
34
|
+
|
35
|
+
**Note:** Version bump only for package @aws-sdk/core
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
# [3.429.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.428.0...v3.429.0) (2023-10-16)
|
42
|
+
|
43
|
+
**Note:** Version bump only for package @aws-sdk/core
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.emitWarningIfUnsupportedVersion = void 0;
|
4
|
+
let warningEmitted = false;
|
5
|
+
const emitWarningIfUnsupportedVersion = (version) => {
|
6
|
+
if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) {
|
7
|
+
warningEmitted = true;
|
8
|
+
process.emitWarning(`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will
|
9
|
+
no longer support Node.js 14.x on May 1, 2024.
|
10
|
+
|
11
|
+
To continue receiving updates to AWS services, bug fixes, and security
|
12
|
+
updates please upgrade to an active Node.js LTS version.
|
13
|
+
|
14
|
+
More information can be found at: https://a.co/dzr2AJd`);
|
15
|
+
}
|
16
|
+
};
|
17
|
+
exports.emitWarningIfUnsupportedVersion = emitWarningIfUnsupportedVersion;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.awsExpectUnion = void 0;
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
5
|
+
const awsExpectUnion = (value) => {
|
6
|
+
if (value == null) {
|
7
|
+
return undefined;
|
8
|
+
}
|
9
|
+
if (typeof value === "object" && "__type" in value) {
|
10
|
+
delete value.__type;
|
11
|
+
}
|
12
|
+
return (0, smithy_client_1.expectUnion)(value);
|
13
|
+
};
|
14
|
+
exports.awsExpectUnion = awsExpectUnion;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
let warningEmitted = false;
|
2
|
+
export const emitWarningIfUnsupportedVersion = (version) => {
|
3
|
+
if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) {
|
4
|
+
warningEmitted = true;
|
5
|
+
process.emitWarning(`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will
|
6
|
+
no longer support Node.js 14.x on May 1, 2024.
|
7
|
+
|
8
|
+
To continue receiving updates to AWS services, bug fixes, and security
|
9
|
+
updates please upgrade to an active Node.js LTS version.
|
10
|
+
|
11
|
+
More information can be found at: https://a.co/dzr2AJd`);
|
12
|
+
}
|
13
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./emitWarningIfUnsupportedVersion";
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./json/awsExpectUnion";
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { expectUnion } from "@smithy/smithy-client";
|
2
|
+
export const awsExpectUnion = (value) => {
|
3
|
+
if (value == null) {
|
4
|
+
return undefined;
|
5
|
+
}
|
6
|
+
if (typeof value === "object" && "__type" in value) {
|
7
|
+
delete value.__type;
|
8
|
+
}
|
9
|
+
return expectUnion(value);
|
10
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./emitWarningIfUnsupportedVersion";
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./json/awsExpectUnion";
|
package/node_modules/@aws-sdk/core/dist-types/ts3.4/client/emitWarningIfUnsupportedVersion.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export declare const emitWarningIfUnsupportedVersion: (version: string) => void;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./emitWarningIfUnsupportedVersion";
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./json/awsExpectUnion";
|