@aws-sdk/credential-provider-env 3.716.0 → 3.723.0

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-cjs/index.js CHANGED
@@ -41,8 +41,7 @@ var ENV_EXPIRATION = "AWS_CREDENTIAL_EXPIRATION";
41
41
  var ENV_CREDENTIAL_SCOPE = "AWS_CREDENTIAL_SCOPE";
42
42
  var ENV_ACCOUNT_ID = "AWS_ACCOUNT_ID";
43
43
  var fromEnv = /* @__PURE__ */ __name((init) => async () => {
44
- var _a;
45
- (_a = init == null ? void 0 : init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-env - fromEnv");
44
+ init?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");
46
45
  const accessKeyId = process.env[ENV_KEY];
47
46
  const secretAccessKey = process.env[ENV_SECRET];
48
47
  const sessionToken = process.env[ENV_SESSION];
@@ -61,7 +60,7 @@ var fromEnv = /* @__PURE__ */ __name((init) => async () => {
61
60
  (0, import_client.setCredentialFeature)(credentials, "CREDENTIALS_ENV_VARS", "g");
62
61
  return credentials;
63
62
  }
64
- throw new import_property_provider.CredentialsProviderError("Unable to find environment variable credentials.", { logger: init == null ? void 0 : init.logger });
63
+ throw new import_property_provider.CredentialsProviderError("Unable to find environment variable credentials.", { logger: init?.logger });
65
64
  }, "fromEnv");
66
65
  // Annotate the CommonJS export names for ESM import in node:
67
66
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.716.0",
3
+ "version": "3.723.0",
4
4
  "description": "AWS credential provider that sources credentials from known environment variables",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -25,23 +25,23 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/core": "3.716.0",
29
- "@aws-sdk/types": "3.714.0",
30
- "@smithy/property-provider": "^3.1.11",
31
- "@smithy/types": "^3.7.2",
28
+ "@aws-sdk/core": "3.723.0",
29
+ "@aws-sdk/types": "3.723.0",
30
+ "@smithy/property-provider": "^4.0.0",
31
+ "@smithy/types": "^4.0.0",
32
32
  "tslib": "^2.6.2"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@tsconfig/recommended": "1.0.1",
36
- "@types/node": "^16.18.96",
36
+ "@types/node": "^18.19.69",
37
37
  "concurrently": "7.0.0",
38
38
  "downlevel-dts": "0.10.1",
39
39
  "rimraf": "3.0.2",
40
- "typescript": "~4.9.5"
40
+ "typescript": "~5.2.2"
41
41
  },
42
42
  "types": "./dist-types/index.d.ts",
43
43
  "engines": {
44
- "node": ">=16.0.0"
44
+ "node": ">=18.0.0"
45
45
  },
46
46
  "typesVersions": {
47
47
  "<4.0": {