@aws-sdk/credential-provider-process 3.357.0 → 3.369.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/fromProcess.js +1 -1
- package/dist-cjs/resolveProcessCredentials.js +1 -1
- package/dist-es/fromProcess.js +1 -1
- package/dist-es/resolveProcessCredentials.js +1 -1
- package/dist-types/fromProcess.d.ts +2 -2
- package/dist-types/getValidatedProcessCredentials.d.ts +1 -1
- package/dist-types/resolveProcessCredentials.d.ts +1 -1
- package/dist-types/ts3.4/fromProcess.d.ts +2 -2
- package/dist-types/ts3.4/getValidatedProcessCredentials.d.ts +1 -1
- package/dist-types/ts3.4/resolveProcessCredentials.d.ts +1 -1
- package/package.json +5 -4
package/dist-cjs/fromProcess.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.fromProcess = void 0;
|
|
4
|
-
const shared_ini_file_loader_1 = require("@
|
|
4
|
+
const shared_ini_file_loader_1 = require("@smithy/shared-ini-file-loader");
|
|
5
5
|
const resolveProcessCredentials_1 = require("./resolveProcessCredentials");
|
|
6
6
|
const fromProcess = (init = {}) => async () => {
|
|
7
7
|
const profiles = await (0, shared_ini_file_loader_1.parseKnownFiles)(init);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveProcessCredentials = void 0;
|
|
4
|
-
const property_provider_1 = require("@
|
|
4
|
+
const property_provider_1 = require("@smithy/property-provider");
|
|
5
5
|
const child_process_1 = require("child_process");
|
|
6
6
|
const util_1 = require("util");
|
|
7
7
|
const getValidatedProcessCredentials_1 = require("./getValidatedProcessCredentials");
|
package/dist-es/fromProcess.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getProfileName, parseKnownFiles } from "@
|
|
1
|
+
import { getProfileName, parseKnownFiles } from "@smithy/shared-ini-file-loader";
|
|
2
2
|
import { resolveProcessCredentials } from "./resolveProcessCredentials";
|
|
3
3
|
export const fromProcess = (init = {}) => async () => {
|
|
4
4
|
const profiles = await parseKnownFiles(init);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CredentialsProviderError } from "@
|
|
1
|
+
import { CredentialsProviderError } from "@smithy/property-provider";
|
|
2
2
|
import { exec } from "child_process";
|
|
3
3
|
import { promisify } from "util";
|
|
4
4
|
import { getValidatedProcessCredentials } from "./getValidatedProcessCredentials";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SourceProfileInit } from "@
|
|
2
|
-
import { AwsCredentialIdentityProvider } from "@
|
|
1
|
+
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
2
|
+
import { AwsCredentialIdentityProvider } from "@smithy/types";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SourceProfileInit } from "@
|
|
2
|
-
import { AwsCredentialIdentityProvider } from "@
|
|
1
|
+
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
2
|
+
import { AwsCredentialIdentityProvider } from "@smithy/types";
|
|
3
3
|
export interface FromProcessInit extends SourceProfileInit {}
|
|
4
4
|
export declare const fromProcess: (
|
|
5
5
|
init?: FromProcessInit
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.369.0",
|
|
4
4
|
"description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -24,9 +24,10 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/
|
|
28
|
-
"@
|
|
29
|
-
"@
|
|
27
|
+
"@aws-sdk/types": "3.369.0",
|
|
28
|
+
"@smithy/property-provider": "^1.0.1",
|
|
29
|
+
"@smithy/shared-ini-file-loader": "^1.0.1",
|
|
30
|
+
"@smithy/types": "^1.1.0",
|
|
30
31
|
"tslib": "^2.5.0"
|
|
31
32
|
},
|
|
32
33
|
"devDependencies": {
|