@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.
@@ -1,33 +1,33 @@
1
1
  import { satisfies } from "compare-versions";
2
2
  const AWS_SDK_ENV_VARS = [
3
3
  "AWS_CONFIG_FILE",
4
- // "AWS_CONTAINER_AUTHORIZATION_TOKEN", // Tree shaken by esbuild
5
- // "AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE", // Tree shaken by esbuild
6
- // "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI", // Tree shaken by esbuild
7
- // "AWS_CONTAINER_CREDENTIALS_FULL_URI", // Tree shaken by esbuild
8
- // "AWS_CSM_CLIENT_ID", // v3 doesn't support CSM. Tree shaken by esbuild.
9
- // "AWS_CSM_ENABLED", // v3 doesn't support CSM. Tree shaken by esbuild.
10
- // "AWS_CSM_HOST", // v3 doesn't support CSM. Tree shaken by esbuild.
11
- // "AWS_CSM_PORT", // v3 doesn't support CSM. Tree shaken by esbuild.
12
- // "AWS_EC2_METADATA_DISABLED", // Tree shaken by esbuild
13
- // "AWS_EC2_METADATA_SERVICE_ENDPOINT", // Tree shaken by esbuild
14
- // "AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE", // Tree shaken by esbuild
15
- // "AWS_EC2_METADATA_V1_DISABLED", // Added in Nov'23 https://github.com/aws/aws-sdk-js/pull/4517. Tree shaken by esbuild.
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
- // "AWS_NODEJS_CONNECTION_REUSE_ENABLED", // v3 enabled connection reuse by default. Tree shaken by esbuild.
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
- // "AWS_REGION", // Tree shaken by esbuild
23
- // "AWS_ROLE_ARN", // Tree shaken by esbuild
24
- // "AWS_ROLE_SESSION_NAME", // Tree shaken by esbuild
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. Tree shaken by esbuild.
29
- // "AWS_USE_FIPS_ENDPOINT", // Added in Nov'21 https://github.com/aws/aws-sdk-js/pull/3951. Tree shaken by esbuild.
30
- // "AWS_WEB_IDENTITY_TOKEN_FILE", // Tree shaken by esbuild
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/find-v2",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "description": "CLI to find resources which call AWS using JavaScript SDK v2",
5
5
  "main": "dist/cli.js",
6
6
  "types": "dist/cli.d.ts",