@cdk8s/awscdk-resolver 0.0.5 → 0.0.7
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/dist-types/CloudFormationClient.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +32 -32
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/package.json +28 -28
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/package.json +31 -31
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-signing/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
- package/node_modules/@aws-sdk/region-config-resolver/package.json +4 -4
- package/node_modules/@aws-sdk/token-providers/package.json +27 -27
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/getEndpointUrlConfig.js +25 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-es/getEndpointUrlConfig.js +21 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/getEndpointUrlConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/getEndpointUrlConfig.d.ts +4 -0
- package/node_modules/@aws-sdk/util-endpoints/package.json +3 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
- package/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@smithy/config-resolver/package.json +4 -4
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/eventstream-codec/package.json +2 -2
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/@smithy/hash-node/package.json +2 -2
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +4 -4
- package/node_modules/@smithy/middleware-endpoint/package.json +5 -5
- package/node_modules/@smithy/middleware-retry/package.json +8 -8
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/dist-cjs/fromSharedConfigFiles.js +2 -1
- package/node_modules/@smithy/node-config-provider/dist-es/fromSharedConfigFiles.js +2 -1
- package/node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts +2 -2
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromSharedConfigFiles.d.ts +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +21 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +4 -3
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +4 -3
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +28 -9
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +17 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +4 -3
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +3 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +28 -9
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +8 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +1 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +8 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +1 -0
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +5 -5
- package/node_modules/@smithy/smithy-client/package.json +4 -4
- package/node_modules/@smithy/types/dist-cjs/profile.js +7 -0
- package/node_modules/@smithy/types/dist-es/profile.js +6 -1
- package/node_modules/@smithy/types/dist-types/profile.d.ts +8 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts +8 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/package.json +5 -5
- package/node_modules/@smithy/util-waiter/package.json +3 -3
- package/package.json +8 -8
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileData.js +0 -10
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileData.js +0 -6
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileData.d.ts +0 -7
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileData.d.ts +0 -7
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/token-providers",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.427.0",
|
4
4
|
"description": "A collection of token providers",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -29,37 +29,37 @@
|
|
29
29
|
"dependencies": {
|
30
30
|
"@aws-crypto/sha256-browser": "3.0.0",
|
31
31
|
"@aws-crypto/sha256-js": "3.0.0",
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
36
|
-
"@aws-sdk/types": "3.
|
37
|
-
"@aws-sdk/util-endpoints": "3.
|
38
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
39
|
-
"@aws-sdk/util-user-agent-node": "3.
|
40
|
-
"@smithy/config-resolver": "^2.0.
|
41
|
-
"@smithy/fetch-http-handler": "^2.1
|
42
|
-
"@smithy/hash-node": "^2.0.
|
43
|
-
"@smithy/invalid-dependency": "^2.0.
|
44
|
-
"@smithy/middleware-content-length": "^2.0.
|
45
|
-
"@smithy/middleware-endpoint": "^2.0.
|
46
|
-
"@smithy/middleware-retry": "^2.0.
|
47
|
-
"@smithy/middleware-serde": "^2.0.
|
48
|
-
"@smithy/middleware-stack": "^2.0.
|
49
|
-
"@smithy/node-config-provider": "^2.0.
|
50
|
-
"@smithy/node-http-handler": "^2.1.
|
32
|
+
"@aws-sdk/middleware-host-header": "3.425.0",
|
33
|
+
"@aws-sdk/middleware-logger": "3.425.0",
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.425.0",
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.427.0",
|
36
|
+
"@aws-sdk/types": "3.425.0",
|
37
|
+
"@aws-sdk/util-endpoints": "3.427.0",
|
38
|
+
"@aws-sdk/util-user-agent-browser": "3.425.0",
|
39
|
+
"@aws-sdk/util-user-agent-node": "3.425.0",
|
40
|
+
"@smithy/config-resolver": "^2.0.11",
|
41
|
+
"@smithy/fetch-http-handler": "^2.2.1",
|
42
|
+
"@smithy/hash-node": "^2.0.10",
|
43
|
+
"@smithy/invalid-dependency": "^2.0.10",
|
44
|
+
"@smithy/middleware-content-length": "^2.0.12",
|
45
|
+
"@smithy/middleware-endpoint": "^2.0.10",
|
46
|
+
"@smithy/middleware-retry": "^2.0.13",
|
47
|
+
"@smithy/middleware-serde": "^2.0.10",
|
48
|
+
"@smithy/middleware-stack": "^2.0.4",
|
49
|
+
"@smithy/node-config-provider": "^2.0.13",
|
50
|
+
"@smithy/node-http-handler": "^2.1.6",
|
51
51
|
"@smithy/property-provider": "^2.0.0",
|
52
|
-
"@smithy/protocol-http": "^3.0.
|
52
|
+
"@smithy/protocol-http": "^3.0.6",
|
53
53
|
"@smithy/shared-ini-file-loader": "^2.0.6",
|
54
|
-
"@smithy/smithy-client": "^2.1.
|
55
|
-
"@smithy/types": "^2.3.
|
56
|
-
"@smithy/url-parser": "^2.0.
|
54
|
+
"@smithy/smithy-client": "^2.1.9",
|
55
|
+
"@smithy/types": "^2.3.4",
|
56
|
+
"@smithy/url-parser": "^2.0.10",
|
57
57
|
"@smithy/util-base64": "^2.0.0",
|
58
58
|
"@smithy/util-body-length-browser": "^2.0.0",
|
59
59
|
"@smithy/util-body-length-node": "^2.1.0",
|
60
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
61
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
62
|
-
"@smithy/util-retry": "^2.0.
|
60
|
+
"@smithy/util-defaults-mode-browser": "^2.0.13",
|
61
|
+
"@smithy/util-defaults-mode-node": "^2.0.15",
|
62
|
+
"@smithy/util-retry": "^2.0.3",
|
63
63
|
"@smithy/util-utf8": "^2.0.0",
|
64
64
|
"tslib": "^2.5.0"
|
65
65
|
},
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/types",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.425.0",
|
4
4
|
"main": "./dist-cjs/index.js",
|
5
5
|
"module": "./dist-es/index.js",
|
6
6
|
"types": "./dist-types/index.d.ts",
|
@@ -41,7 +41,7 @@
|
|
41
41
|
"directory": "packages/types"
|
42
42
|
},
|
43
43
|
"dependencies": {
|
44
|
-
"@smithy/types": "^2.3.
|
44
|
+
"@smithy/types": "^2.3.4",
|
45
45
|
"tslib": "^2.5.0"
|
46
46
|
},
|
47
47
|
"devDependencies": {
|
@@ -0,0 +1,25 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.getEndpointUrlConfig = void 0;
|
4
|
+
const ENV_ENDPOINT_URL = "AWS_ENDPOINT_URL";
|
5
|
+
const CONFIG_ENDPOINT_URL = "endpoint_url";
|
6
|
+
const getEndpointUrlConfig = (serviceId) => ({
|
7
|
+
environmentVariableSelector: (env) => {
|
8
|
+
const serviceEndpointUrlSections = [ENV_ENDPOINT_URL, ...serviceId.split(" ").map((w) => w.toUpperCase())];
|
9
|
+
const serviceEndpointUrl = env[serviceEndpointUrlSections.join("_")];
|
10
|
+
if (serviceEndpointUrl)
|
11
|
+
return serviceEndpointUrl;
|
12
|
+
const endpointUrl = env[ENV_ENDPOINT_URL];
|
13
|
+
if (endpointUrl)
|
14
|
+
return endpointUrl;
|
15
|
+
return undefined;
|
16
|
+
},
|
17
|
+
configFileSelector: (profile) => {
|
18
|
+
const endpointUrl = profile[CONFIG_ENDPOINT_URL];
|
19
|
+
if (endpointUrl)
|
20
|
+
return endpointUrl;
|
21
|
+
return undefined;
|
22
|
+
},
|
23
|
+
default: undefined,
|
24
|
+
});
|
25
|
+
exports.getEndpointUrlConfig = getEndpointUrlConfig;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
const ENV_ENDPOINT_URL = "AWS_ENDPOINT_URL";
|
2
|
+
const CONFIG_ENDPOINT_URL = "endpoint_url";
|
3
|
+
export const getEndpointUrlConfig = (serviceId) => ({
|
4
|
+
environmentVariableSelector: (env) => {
|
5
|
+
const serviceEndpointUrlSections = [ENV_ENDPOINT_URL, ...serviceId.split(" ").map((w) => w.toUpperCase())];
|
6
|
+
const serviceEndpointUrl = env[serviceEndpointUrlSections.join("_")];
|
7
|
+
if (serviceEndpointUrl)
|
8
|
+
return serviceEndpointUrl;
|
9
|
+
const endpointUrl = env[ENV_ENDPOINT_URL];
|
10
|
+
if (endpointUrl)
|
11
|
+
return endpointUrl;
|
12
|
+
return undefined;
|
13
|
+
},
|
14
|
+
configFileSelector: (profile) => {
|
15
|
+
const endpointUrl = profile[CONFIG_ENDPOINT_URL];
|
16
|
+
if (endpointUrl)
|
17
|
+
return endpointUrl;
|
18
|
+
return undefined;
|
19
|
+
},
|
20
|
+
default: undefined,
|
21
|
+
});
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/util-endpoints",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.427.0",
|
4
4
|
"description": "Utilities to help with endpoint resolution",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -22,7 +22,8 @@
|
|
22
22
|
},
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"dependencies": {
|
25
|
-
"@aws-sdk/types": "3.
|
25
|
+
"@aws-sdk/types": "3.425.0",
|
26
|
+
"@smithy/node-config-provider": "^2.0.13",
|
26
27
|
"tslib": "^2.5.0"
|
27
28
|
},
|
28
29
|
"engines": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/util-user-agent-browser",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.425.0",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
@@ -21,8 +21,8 @@
|
|
21
21
|
"license": "Apache-2.0",
|
22
22
|
"react-native": "dist-es/index.native.js",
|
23
23
|
"dependencies": {
|
24
|
-
"@aws-sdk/types": "3.
|
25
|
-
"@smithy/types": "^2.3.
|
24
|
+
"@aws-sdk/types": "3.425.0",
|
25
|
+
"@smithy/types": "^2.3.4",
|
26
26
|
"bowser": "^2.11.0",
|
27
27
|
"tslib": "^2.5.0"
|
28
28
|
},
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.425.0",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
@@ -20,9 +20,9 @@
|
|
20
20
|
},
|
21
21
|
"license": "Apache-2.0",
|
22
22
|
"dependencies": {
|
23
|
-
"@aws-sdk/types": "3.
|
24
|
-
"@smithy/node-config-provider": "^2.0.
|
25
|
-
"@smithy/types": "^2.3.
|
23
|
+
"@aws-sdk/types": "3.425.0",
|
24
|
+
"@smithy/node-config-provider": "^2.0.13",
|
25
|
+
"@smithy/types": "^2.3.4",
|
26
26
|
"tslib": "^2.5.0"
|
27
27
|
},
|
28
28
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/abort-controller",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.11",
|
4
4
|
"description": "A simple abort controller library",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -24,7 +24,7 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/types": "^2.3.
|
27
|
+
"@smithy/types": "^2.3.5",
|
28
28
|
"tslib": "^2.5.0"
|
29
29
|
},
|
30
30
|
"engines": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/config-resolver",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.14",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
|
@@ -23,10 +23,10 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@smithy/node-config-provider": "^2.
|
27
|
-
"@smithy/types": "^2.3.
|
26
|
+
"@smithy/node-config-provider": "^2.1.1",
|
27
|
+
"@smithy/types": "^2.3.5",
|
28
28
|
"@smithy/util-config-provider": "^2.0.0",
|
29
|
-
"@smithy/util-middleware": "^2.0.
|
29
|
+
"@smithy/util-middleware": "^2.0.4",
|
30
30
|
"tslib": "^2.5.0"
|
31
31
|
},
|
32
32
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/credential-provider-imds",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.16",
|
4
4
|
"description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -26,10 +26,10 @@
|
|
26
26
|
},
|
27
27
|
"license": "Apache-2.0",
|
28
28
|
"dependencies": {
|
29
|
-
"@smithy/node-config-provider": "^2.
|
30
|
-
"@smithy/property-provider": "^2.0.
|
31
|
-
"@smithy/types": "^2.3.
|
32
|
-
"@smithy/url-parser": "^2.0.
|
29
|
+
"@smithy/node-config-provider": "^2.1.1",
|
30
|
+
"@smithy/property-provider": "^2.0.12",
|
31
|
+
"@smithy/types": "^2.3.5",
|
32
|
+
"@smithy/url-parser": "^2.0.11",
|
33
33
|
"tslib": "^2.5.0"
|
34
34
|
},
|
35
35
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/eventstream-codec",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.11",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
|
@@ -23,7 +23,7 @@
|
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"dependencies": {
|
25
25
|
"@aws-crypto/crc32": "3.0.0",
|
26
|
-
"@smithy/types": "^2.3.
|
26
|
+
"@smithy/types": "^2.3.5",
|
27
27
|
"@smithy/util-hex-encoding": "^2.0.0",
|
28
28
|
"tslib": "^2.5.0"
|
29
29
|
},
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/fetch-http-handler",
|
3
|
-
"version": "2.2.
|
3
|
+
"version": "2.2.2",
|
4
4
|
"description": "Provides a way to make requests",
|
5
5
|
"scripts": {
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
@@ -24,14 +24,14 @@
|
|
24
24
|
"module": "./dist-es/index.js",
|
25
25
|
"types": "./dist-types/index.d.ts",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/protocol-http": "^3.0.
|
28
|
-
"@smithy/querystring-builder": "^2.0.
|
29
|
-
"@smithy/types": "^2.3.
|
27
|
+
"@smithy/protocol-http": "^3.0.7",
|
28
|
+
"@smithy/querystring-builder": "^2.0.11",
|
29
|
+
"@smithy/types": "^2.3.5",
|
30
30
|
"@smithy/util-base64": "^2.0.0",
|
31
31
|
"tslib": "^2.5.0"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
34
|
-
"@smithy/abort-controller": "^2.0.
|
34
|
+
"@smithy/abort-controller": "^2.0.11",
|
35
35
|
"@tsconfig/recommended": "1.0.1",
|
36
36
|
"@types/chai-as-promised": "^7.1.2",
|
37
37
|
"chai": "^4.2.0",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/hash-node",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.11",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
|
@@ -31,7 +31,7 @@
|
|
31
31
|
"typedoc": "0.23.23"
|
32
32
|
},
|
33
33
|
"dependencies": {
|
34
|
-
"@smithy/types": "^2.3.
|
34
|
+
"@smithy/types": "^2.3.5",
|
35
35
|
"@smithy/util-buffer-from": "^2.0.0",
|
36
36
|
"@smithy/util-utf8": "^2.0.0",
|
37
37
|
"tslib": "^2.5.0"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/invalid-dependency",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.11",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
|
@@ -22,7 +22,7 @@
|
|
22
22
|
},
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"dependencies": {
|
25
|
-
"@smithy/types": "^2.3.
|
25
|
+
"@smithy/types": "^2.3.5",
|
26
26
|
"tslib": "^2.5.0"
|
27
27
|
},
|
28
28
|
"typesVersions": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-content-length",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.13",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
|
@@ -23,8 +23,8 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@smithy/protocol-http": "^3.0.
|
27
|
-
"@smithy/types": "^2.3.
|
26
|
+
"@smithy/protocol-http": "^3.0.7",
|
27
|
+
"@smithy/types": "^2.3.5",
|
28
28
|
"tslib": "^2.5.0"
|
29
29
|
},
|
30
30
|
"engines": {
|
@@ -47,7 +47,7 @@
|
|
47
47
|
"directory": "packages/middleware-content-length"
|
48
48
|
},
|
49
49
|
"devDependencies": {
|
50
|
-
"@smithy/util-test": "^0.1.
|
50
|
+
"@smithy/util-test": "^0.1.7",
|
51
51
|
"@tsconfig/recommended": "1.0.1",
|
52
52
|
"concurrently": "7.0.0",
|
53
53
|
"downlevel-dts": "0.10.1",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-endpoint",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.11",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
|
@@ -23,10 +23,10 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@smithy/middleware-serde": "^2.0.
|
27
|
-
"@smithy/types": "^2.3.
|
28
|
-
"@smithy/url-parser": "^2.0.
|
29
|
-
"@smithy/util-middleware": "^2.0.
|
26
|
+
"@smithy/middleware-serde": "^2.0.11",
|
27
|
+
"@smithy/types": "^2.3.5",
|
28
|
+
"@smithy/url-parser": "^2.0.11",
|
29
|
+
"@smithy/util-middleware": "^2.0.4",
|
30
30
|
"tslib": "^2.5.0"
|
31
31
|
},
|
32
32
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-retry",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.16",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
|
@@ -24,17 +24,17 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/node-config-provider": "^2.
|
28
|
-
"@smithy/protocol-http": "^3.0.
|
29
|
-
"@smithy/service-error-classification": "^2.0.
|
30
|
-
"@smithy/types": "^2.3.
|
31
|
-
"@smithy/util-middleware": "^2.0.
|
32
|
-
"@smithy/util-retry": "^2.0.
|
27
|
+
"@smithy/node-config-provider": "^2.1.1",
|
28
|
+
"@smithy/protocol-http": "^3.0.7",
|
29
|
+
"@smithy/service-error-classification": "^2.0.4",
|
30
|
+
"@smithy/types": "^2.3.5",
|
31
|
+
"@smithy/util-middleware": "^2.0.4",
|
32
|
+
"@smithy/util-retry": "^2.0.4",
|
33
33
|
"tslib": "^2.5.0",
|
34
34
|
"uuid": "^8.3.2"
|
35
35
|
},
|
36
36
|
"devDependencies": {
|
37
|
-
"@smithy/util-test": "^0.1.
|
37
|
+
"@smithy/util-test": "^0.1.7",
|
38
38
|
"@tsconfig/recommended": "1.0.1",
|
39
39
|
"@types/uuid": "^8.3.0",
|
40
40
|
"concurrently": "7.0.0",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-serde",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.11",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
|
@@ -23,7 +23,7 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@smithy/types": "^2.3.
|
26
|
+
"@smithy/types": "^2.3.5",
|
27
27
|
"tslib": "^2.5.0"
|
28
28
|
},
|
29
29
|
"engines": {
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"directory": "packages/middleware-serde"
|
47
47
|
},
|
48
48
|
"devDependencies": {
|
49
|
-
"@smithy/util-test": "^0.1.
|
49
|
+
"@smithy/util-test": "^0.1.7",
|
50
50
|
"@tsconfig/recommended": "1.0.1",
|
51
51
|
"concurrently": "7.0.0",
|
52
52
|
"downlevel-dts": "0.10.1",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-stack",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.5",
|
4
4
|
"description": "Provides a means for composing multiple middleware functions into a single handler",
|
5
5
|
"scripts": {
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
@@ -25,7 +25,7 @@
|
|
25
25
|
"module": "./dist-es/index.js",
|
26
26
|
"types": "./dist-types/index.d.ts",
|
27
27
|
"dependencies": {
|
28
|
-
"@smithy/types": "^2.3.
|
28
|
+
"@smithy/types": "^2.3.5",
|
29
29
|
"tslib": "^2.5.0"
|
30
30
|
},
|
31
31
|
"devDependencies": {
|
@@ -12,7 +12,8 @@ const fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...in
|
|
12
12
|
? { ...profileFromCredentials, ...profileFromConfig }
|
13
13
|
: { ...profileFromConfig, ...profileFromCredentials };
|
14
14
|
try {
|
15
|
-
const
|
15
|
+
const cfgFile = preferredFile === "config" ? configFile : credentialsFile;
|
16
|
+
const configValue = configSelector(mergedProfile, cfgFile);
|
16
17
|
if (configValue === undefined) {
|
17
18
|
throw new Error();
|
18
19
|
}
|
@@ -9,7 +9,8 @@ export const fromSharedConfigFiles = (configSelector, { preferredFile = "config"
|
|
9
9
|
? { ...profileFromCredentials, ...profileFromConfig }
|
10
10
|
: { ...profileFromConfig, ...profileFromCredentials };
|
11
11
|
try {
|
12
|
-
const
|
12
|
+
const cfgFile = preferredFile === "config" ? configFile : credentialsFile;
|
13
|
+
const configValue = configSelector(mergedProfile, cfgFile);
|
13
14
|
if (configValue === undefined) {
|
14
15
|
throw new Error();
|
15
16
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
2
|
-
import { Profile, Provider } from "@smithy/types";
|
2
|
+
import { ParsedIniData, Profile, Provider } from "@smithy/types";
|
3
3
|
export interface SharedConfigInit extends SourceProfileInit {
|
4
4
|
/**
|
5
5
|
* The preferred shared ini file to load the config. "config" option refers to
|
@@ -8,7 +8,7 @@ export interface SharedConfigInit extends SourceProfileInit {
|
|
8
8
|
*/
|
9
9
|
preferredFile?: "config" | "credentials";
|
10
10
|
}
|
11
|
-
export type GetterFromConfig<T> = (profile: Profile) => T | undefined;
|
11
|
+
export type GetterFromConfig<T> = (profile: Profile, configFile?: ParsedIniData) => T | undefined;
|
12
12
|
/**
|
13
13
|
* Get config value from the shared config files with inferred profile name.
|
14
14
|
*/
|
package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromSharedConfigFiles.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
2
|
-
import { Profile, Provider } from "@smithy/types";
|
2
|
+
import { ParsedIniData, Profile, Provider } from "@smithy/types";
|
3
3
|
export interface SharedConfigInit extends SourceProfileInit {
|
4
4
|
/**
|
5
5
|
* The preferred shared ini file to load the config. "config" option refers to
|
@@ -8,7 +8,7 @@ export interface SharedConfigInit extends SourceProfileInit {
|
|
8
8
|
*/
|
9
9
|
preferredFile?: "config" | "credentials";
|
10
10
|
}
|
11
|
-
export type GetterFromConfig<T> = (profile: Profile) => T | undefined;
|
11
|
+
export type GetterFromConfig<T> = (profile: Profile, configFile?: ParsedIniData) => T | undefined;
|
12
12
|
/**
|
13
13
|
* Get config value from the shared config files with inferred profile name.
|
14
14
|
*/
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/node-config-provider",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.1.1",
|
4
4
|
"description": "Load config default values from ini config files and environmental variable",
|
5
5
|
"scripts": {
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
@@ -24,9 +24,9 @@
|
|
24
24
|
"module": "./dist-es/index.js",
|
25
25
|
"types": "./dist-types/index.d.ts",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/property-provider": "^2.0.
|
28
|
-
"@smithy/shared-ini-file-loader": "^2.0
|
29
|
-
"@smithy/types": "^2.3.
|
27
|
+
"@smithy/property-provider": "^2.0.12",
|
28
|
+
"@smithy/shared-ini-file-loader": "^2.2.0",
|
29
|
+
"@smithy/types": "^2.3.5",
|
30
30
|
"tslib": "^2.5.0"
|
31
31
|
},
|
32
32
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/node-http-handler",
|
3
|
-
"version": "2.1.
|
3
|
+
"version": "2.1.7",
|
4
4
|
"description": "Provides a way to make requests",
|
5
5
|
"scripts": {
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
@@ -25,10 +25,10 @@
|
|
25
25
|
"module": "./dist-es/index.js",
|
26
26
|
"types": "./dist-types/index.d.ts",
|
27
27
|
"dependencies": {
|
28
|
-
"@smithy/abort-controller": "^2.0.
|
29
|
-
"@smithy/protocol-http": "^3.0.
|
30
|
-
"@smithy/querystring-builder": "^2.0.
|
31
|
-
"@smithy/types": "^2.3.
|
28
|
+
"@smithy/abort-controller": "^2.0.11",
|
29
|
+
"@smithy/protocol-http": "^3.0.7",
|
30
|
+
"@smithy/querystring-builder": "^2.0.11",
|
31
|
+
"@smithy/types": "^2.3.5",
|
32
32
|
"tslib": "^2.5.0"
|
33
33
|
},
|
34
34
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/property-provider",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.12",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
|
@@ -22,7 +22,7 @@
|
|
22
22
|
},
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"dependencies": {
|
25
|
-
"@smithy/types": "^2.3.
|
25
|
+
"@smithy/types": "^2.3.5",
|
26
26
|
"tslib": "^2.5.0"
|
27
27
|
},
|
28
28
|
"engines": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/protocol-http",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.7",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
|
@@ -23,7 +23,7 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@smithy/types": "^2.3.
|
26
|
+
"@smithy/types": "^2.3.5",
|
27
27
|
"tslib": "^2.5.0"
|
28
28
|
},
|
29
29
|
"engines": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/querystring-builder",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.11",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
|
@@ -22,7 +22,7 @@
|
|
22
22
|
},
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"dependencies": {
|
25
|
-
"@smithy/types": "^2.3.
|
25
|
+
"@smithy/types": "^2.3.5",
|
26
26
|
"@smithy/util-uri-escape": "^2.0.0",
|
27
27
|
"tslib": "^2.5.0"
|
28
28
|
},
|