@aws-sdk/credential-provider-ini 3.294.0 → 3.296.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.
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveProcessCredentials = exports.isProcessProfile = void 0;
|
|
4
4
|
const credential_provider_process_1 = require("@aws-sdk/credential-provider-process");
|
|
5
|
-
const isProcessProfile = (arg) => Boolean(arg) &&
|
|
6
|
-
typeof arg === "object" &&
|
|
7
|
-
typeof arg.credential_process === "string";
|
|
5
|
+
const isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string";
|
|
8
6
|
exports.isProcessProfile = isProcessProfile;
|
|
9
7
|
const resolveProcessCredentials = async (options, profile) => (0, credential_provider_process_1.fromProcess)({
|
|
10
8
|
...options,
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { fromProcess } from "@aws-sdk/credential-provider-process";
|
|
2
|
-
export const isProcessProfile = (arg) => Boolean(arg) &&
|
|
3
|
-
typeof arg === "object" &&
|
|
4
|
-
typeof arg.credential_process === "string";
|
|
2
|
+
export const isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string";
|
|
5
3
|
export const resolveProcessCredentials = async (options, profile) => fromProcess({
|
|
6
4
|
...options,
|
|
7
5
|
profile,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.296.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -24,15 +24,15 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
28
|
-
"@aws-sdk/credential-provider-imds": "3.
|
|
29
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
30
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
31
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
32
|
-
"@aws-sdk/property-provider": "3.
|
|
33
|
-
"@aws-sdk/shared-ini-file-loader": "3.
|
|
34
|
-
"@aws-sdk/types": "3.
|
|
35
|
-
"tslib": "^2.
|
|
27
|
+
"@aws-sdk/credential-provider-env": "3.296.0",
|
|
28
|
+
"@aws-sdk/credential-provider-imds": "3.296.0",
|
|
29
|
+
"@aws-sdk/credential-provider-process": "3.296.0",
|
|
30
|
+
"@aws-sdk/credential-provider-sso": "3.296.0",
|
|
31
|
+
"@aws-sdk/credential-provider-web-identity": "3.296.0",
|
|
32
|
+
"@aws-sdk/property-provider": "3.296.0",
|
|
33
|
+
"@aws-sdk/shared-ini-file-loader": "3.296.0",
|
|
34
|
+
"@aws-sdk/types": "3.296.0",
|
|
35
|
+
"tslib": "^2.5.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@tsconfig/recommended": "1.0.1",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"downlevel-dts": "0.10.1",
|
|
42
42
|
"rimraf": "3.0.2",
|
|
43
43
|
"typedoc": "0.23.23",
|
|
44
|
-
"typescript": "~4.
|
|
44
|
+
"typescript": "~4.9.5"
|
|
45
45
|
},
|
|
46
46
|
"types": "./dist-types/index.d.ts",
|
|
47
47
|
"engines": {
|