@aws-sdk/find-v2 0.7.2 → 0.7.3
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/dist/utils/hasSdkV2InBundle.js +21 -21
- package/package.json +1 -1
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { satisfies } from "compare-versions";
|
|
2
2
|
const AWS_SDK_ENV_VARS = [
|
|
3
3
|
"AWS_CONFIG_FILE",
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
// "AWS_EC2_METADATA_V1_DISABLED", // Added in Nov'23 https://github.com/aws/aws-sdk-js/pull/4517
|
|
4
|
+
"AWS_CONTAINER_AUTHORIZATION_TOKEN",
|
|
5
|
+
"AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE",
|
|
6
|
+
"AWS_CONTAINER_CREDENTIALS_RELATIVE_URI",
|
|
7
|
+
"AWS_CONTAINER_CREDENTIALS_FULL_URI",
|
|
8
|
+
"AWS_CSM_CLIENT_ID", // v3 doesn't support CSM.
|
|
9
|
+
"AWS_CSM_ENABLED", // v3 doesn't support CSM.
|
|
10
|
+
"AWS_CSM_HOST", // v3 doesn't support CSM.
|
|
11
|
+
"AWS_CSM_PORT", // v3 doesn't support CSM.
|
|
12
|
+
"AWS_EC2_METADATA_DISABLED",
|
|
13
|
+
"AWS_EC2_METADATA_SERVICE_ENDPOINT",
|
|
14
|
+
"AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE",
|
|
15
|
+
// "AWS_EC2_METADATA_V1_DISABLED", // Added in Nov'23 https://github.com/aws/aws-sdk-js/pull/4517
|
|
16
16
|
"AWS_ENABLE_ENDPOINT_DISCOVERY",
|
|
17
17
|
"AWS_ENDPOINT_DISCOVERY_ENABLED",
|
|
18
18
|
"AWS_EXECUTION_ENV",
|
|
19
|
-
"AWS_LAMBDA_FUNCTION_NAME", // Added in May'22 https://github.com/aws/aws-sdk-js/pull/4111
|
|
20
|
-
|
|
19
|
+
// "AWS_LAMBDA_FUNCTION_NAME", // Added in May'22 https://github.com/aws/aws-sdk-js/pull/4111
|
|
20
|
+
"AWS_NODEJS_CONNECTION_REUSE_ENABLED", // v3 enabled connection reuse by default.
|
|
21
21
|
"AWS_PROFILE",
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"AWS_SDK_LOAD_CONFIG", // v3 loads config by default
|
|
22
|
+
"AWS_REGION",
|
|
23
|
+
"AWS_ROLE_ARN",
|
|
24
|
+
"AWS_ROLE_SESSION_NAME",
|
|
25
|
+
"AWS_SDK_LOAD_CONFIG", // v3 loads config by default.
|
|
26
26
|
"AWS_SHARED_CREDENTIALS_FILE",
|
|
27
27
|
"AWS_STS_REGIONAL_ENDPOINTS",
|
|
28
|
-
// "AWS_USE_DUALSTACK_ENDPOINT", // Added in Nov'21 https://github.com/aws/aws-sdk-js/pull/3957
|
|
29
|
-
// "AWS_USE_FIPS_ENDPOINT", // Added in Nov'21 https://github.com/aws/aws-sdk-js/pull/3951
|
|
30
|
-
|
|
28
|
+
// "AWS_USE_DUALSTACK_ENDPOINT", // Added in Nov'21 https://github.com/aws/aws-sdk-js/pull/3957
|
|
29
|
+
// "AWS_USE_FIPS_ENDPOINT", // Added in Nov'21 https://github.com/aws/aws-sdk-js/pull/3951
|
|
30
|
+
"AWS_WEB_IDENTITY_TOKEN_FILE",
|
|
31
31
|
];
|
|
32
32
|
/**
|
|
33
33
|
* Checks if AWS SDK v2 is present in the provided bundle content by looking for specific environment variables.
|