@smithy/shared-ini-file-loader 4.0.5 → 4.1.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 +6 -6
- package/dist-types/getConfigData.d.ts +1 -1
- package/dist-types/getSsoSessionData.d.ts +1 -1
- package/dist-types/loadSharedConfigFiles.d.ts +1 -1
- package/dist-types/loadSsoSessionData.d.ts +1 -1
- package/dist-types/mergeConfigFiles.d.ts +1 -1
- package/dist-types/parseIni.d.ts +1 -1
- package/dist-types/parseKnownFiles.d.ts +2 -2
- package/dist-types/types.d.ts +1 -1
- package/package.json +3 -2
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "defau
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
CONFIG_PREFIX_SEPARATOR: () => CONFIG_PREFIX_SEPARATOR,
|
|
25
25
|
DEFAULT_PROFILE: () => DEFAULT_PROFILE,
|
|
26
26
|
ENV_PROFILE: () => ENV_PROFILE,
|
|
@@ -29,8 +29,8 @@ __export(src_exports, {
|
|
|
29
29
|
loadSsoSessionData: () => loadSsoSessionData,
|
|
30
30
|
parseKnownFiles: () => parseKnownFiles
|
|
31
31
|
});
|
|
32
|
-
module.exports = __toCommonJS(
|
|
33
|
-
__reExport(
|
|
32
|
+
module.exports = __toCommonJS(index_exports);
|
|
33
|
+
__reExport(index_exports, require("././getHomeDir"), module.exports);
|
|
34
34
|
|
|
35
35
|
// src/getProfileName.ts
|
|
36
36
|
var ENV_PROFILE = "AWS_PROFILE";
|
|
@@ -38,8 +38,8 @@ var DEFAULT_PROFILE = "default";
|
|
|
38
38
|
var getProfileName = /* @__PURE__ */ __name((init) => init.profile || process.env[ENV_PROFILE] || DEFAULT_PROFILE, "getProfileName");
|
|
39
39
|
|
|
40
40
|
// src/index.ts
|
|
41
|
-
__reExport(
|
|
42
|
-
__reExport(
|
|
41
|
+
__reExport(index_exports, require("././getSSOTokenFilepath"), module.exports);
|
|
42
|
+
__reExport(index_exports, require("././getSSOTokenFromFile"), module.exports);
|
|
43
43
|
|
|
44
44
|
// src/loadSharedConfigFiles.ts
|
|
45
45
|
|
package/dist-types/parseIni.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ParsedIniData } from "@smithy/types";
|
|
1
|
+
import type { ParsedIniData } from "@smithy/types";
|
|
2
2
|
export declare const parseIni: (iniData: string) => ParsedIniData;
|
package/dist-types/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ParsedIniData as __ParsedIniData, Profile as __Profile, SharedConfigFiles as __SharedConfigFiles } from "@smithy/types";
|
|
1
|
+
import type { ParsedIniData as __ParsedIniData, Profile as __Profile, SharedConfigFiles as __SharedConfigFiles } from "@smithy/types";
|
|
2
2
|
/**
|
|
3
3
|
* @internal
|
|
4
4
|
* @deprecated Use Profile from "\@smithy/types" instead
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/shared-ini-file-loader",
|
|
3
|
-
"version": "4.0
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@smithy/types": "^4.
|
|
5
|
+
"@smithy/types": "^4.4.0",
|
|
6
6
|
"tslib": "^2.6.2"
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"url": "https://aws.amazon.com/javascript/"
|
|
32
32
|
},
|
|
33
33
|
"license": "Apache-2.0",
|
|
34
|
+
"sideEffects": false,
|
|
34
35
|
"main": "./dist-cjs/index.js",
|
|
35
36
|
"module": "./dist-es/index.js",
|
|
36
37
|
"types": "./dist-types/index.d.ts",
|