@aws-sdk/credential-provider-process 3.0.0 → 3.4.1

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/CHANGELOG.md CHANGED
@@ -3,6 +3,47 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.4.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.4.0...v3.4.1) (2021-01-29)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **clients:** use TS 3.4 compatible types for TS 3.9 ([#1978](https://github.com/aws/aws-sdk-js-v3/issues/1978)) ([8bced5c](https://github.com/aws/aws-sdk-js-v3/commit/8bced5c32b9dbc68f1065054d796cb0b8b87bcc4))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.4.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.3.0...v3.4.0) (2021-01-28)
18
+
19
+
20
+ ### Features
21
+
22
+ * use downlevel-dts to generate TS 3.4 compatible types ([#1943](https://github.com/aws/aws-sdk-js-v3/issues/1943)) ([63ad215](https://github.com/aws/aws-sdk-js-v3/commit/63ad2151c8bb7be32ea8838a9b0974806ed3906b))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.3.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.2.0...v3.3.0) (2021-01-14)
29
+
30
+
31
+ ### Bug Fixes
32
+
33
+ * **clients:** export explicit dependencies on @aws-sdk/types ([#1902](https://github.com/aws/aws-sdk-js-v3/issues/1902)) ([96f1087](https://github.com/aws/aws-sdk-js-v3/commit/96f1087333ba916593d557051297983912b27caa))
34
+
35
+
36
+
37
+
38
+
39
+ # [3.1.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.0.0...v3.1.0) (2020-12-23)
40
+
41
+ **Note:** Version bump only for package @aws-sdk/credential-provider-process
42
+
43
+
44
+
45
+
46
+
6
47
  # [3.0.0](https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.10...v3.0.0) (2020-12-15)
7
48
 
8
49
 
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @aws-sdk/credential-provider-process
2
2
 
3
- [![NPM version](https://img.shields.io/npm/v/@aws-sdk/credential-provider-process/rc.svg)](https://www.npmjs.com/package/@aws-sdk/credential-provider-process)
3
+ [![NPM version](https://img.shields.io/npm/v/@aws-sdk/credential-provider-process/latest.svg)](https://www.npmjs.com/package/@aws-sdk/credential-provider-process)
4
4
  [![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/credential-provider-process.svg)](https://www.npmjs.com/package/@aws-sdk/credential-provider-process)
5
5
 
6
6
  ## AWS Credential Provider for Node.JS - Shared Configuration Files
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.0.0",
3
+ "version": "3.4.1",
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",
@@ -10,6 +10,7 @@
10
10
  "build:cjs": "tsc -p tsconfig.cjs.json",
11
11
  "build:es": "tsc -p tsconfig.es.json",
12
12
  "build": "yarn build:es && yarn build:cjs",
13
+ "postbuild": "downlevel-dts types types/ts3.4",
13
14
  "test": "jest"
14
15
  },
15
16
  "keywords": [
@@ -22,22 +23,29 @@
22
23
  },
23
24
  "license": "Apache-2.0",
24
25
  "dependencies": {
25
- "@aws-sdk/credential-provider-ini": "3.0.0",
26
- "@aws-sdk/property-provider": "3.0.0",
27
- "@aws-sdk/shared-ini-file-loader": "3.0.0",
26
+ "@aws-sdk/credential-provider-ini": "3.4.1",
27
+ "@aws-sdk/property-provider": "3.4.1",
28
+ "@aws-sdk/shared-ini-file-loader": "3.4.1",
29
+ "@aws-sdk/types": "3.4.1",
28
30
  "tslib": "^1.8.0"
29
31
  },
30
32
  "devDependencies": {
31
- "@aws-sdk/types": "3.0.0",
32
33
  "@types/jest": "^26.0.4",
33
34
  "@types/node": "^10.0.0",
34
35
  "jest": "^26.1.0",
35
36
  "typescript": "~4.1.2"
36
37
  },
37
- "types": "./dist/cjs/index.d.ts",
38
+ "types": "./types/index.d.ts",
38
39
  "engines": {
39
40
  "node": ">= 10.0.0"
40
41
  },
42
+ "typesVersions": {
43
+ "<4.0": {
44
+ "types/*": [
45
+ "types/ts3.4/*"
46
+ ]
47
+ }
48
+ },
41
49
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/credential-provider-process",
42
50
  "repository": {
43
51
  "type": "git",
package/tsconfig.cjs.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "compilerOptions": {
3
+ "declarationDir": "./types",
3
4
  "rootDir": "./src",
4
5
  "outDir": "./dist/cjs",
5
6
  "baseUrl": "."
package/tsconfig.es.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "lib": ["es5", "es2015.promise", "es2015.collection"],
4
+ "declarationDir": "./types",
4
5
  "rootDir": "./src",
5
6
  "outDir": "./dist/es",
6
7
  "baseUrl": "."
File without changes
@@ -1,19 +1,19 @@
1
- import { SharedConfigFiles, SharedConfigInit } from "@aws-sdk/shared-ini-file-loader";
2
- import { CredentialProvider } from "@aws-sdk/types";
3
- export declare const ENV_PROFILE = "AWS_PROFILE";
4
- export interface FromProcessInit extends SharedConfigInit {
5
- /**
6
- * The configuration profile to use.
7
- */
8
- profile?: string;
9
- /**
10
- * A promise that will be resolved with loaded and parsed credentials files.
11
- * Used to avoid loading shared config files multiple times.
12
- */
13
- loadedConfig?: Promise<SharedConfigFiles>;
14
- }
15
- /**
16
- * Creates a credential provider that will read from a credential_process specified
17
- * in ini files.
18
- */
19
- export declare function fromProcess(init?: FromProcessInit): CredentialProvider;
1
+ import { SharedConfigFiles, SharedConfigInit } from "@aws-sdk/shared-ini-file-loader";
2
+ import { CredentialProvider } from "@aws-sdk/types";
3
+ export declare const ENV_PROFILE = "AWS_PROFILE";
4
+ export interface FromProcessInit extends SharedConfigInit {
5
+ /**
6
+ * The configuration profile to use.
7
+ */
8
+ profile?: string;
9
+ /**
10
+ * A promise that will be resolved with loaded and parsed credentials files.
11
+ * Used to avoid loading shared config files multiple times.
12
+ */
13
+ loadedConfig?: Promise<SharedConfigFiles>;
14
+ }
15
+ /**
16
+ * Creates a credential provider that will read from a credential_process specified
17
+ * in ini files.
18
+ */
19
+ export declare function fromProcess(init?: FromProcessInit): CredentialProvider;