@karmaniverous/get-dotenv 7.0.3 → 7.0.5
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/README.md +2 -0
- package/dist/chunks/{AwsRestJsonProtocol-fgUvbh0C.mjs → AwsRestJsonProtocol-4m7HHwvS.mjs} +2 -2
- package/dist/chunks/{createCli-B9De0dbB.mjs → createCli-CVvh-dBp.mjs} +17 -4
- package/dist/chunks/{externalDataInterceptor-m2kSL8CB.mjs → externalDataInterceptor-DyDNbv-D.mjs} +2 -2
- package/dist/chunks/{getSSOTokenFromFile-Vx7XHoYM.mjs → getSSOTokenFromFile-CkYcEieD.mjs} +1 -1
- package/dist/chunks/{index-ScWmGA41.mjs → index-B35hOhgq.mjs} +4 -4
- package/dist/chunks/{index-R829pajs.mjs → index-B3fM_U6F.mjs} +7 -7
- package/dist/chunks/{index-DavD95qI.mjs → index-B_yJRqty.mjs} +4 -4
- package/dist/chunks/{index-DbDfog26.mjs → index-BuxEK_Z4.mjs} +8 -8
- package/dist/chunks/{index-D1FUmkpH.mjs → index-C58EanKv.mjs} +2 -2
- package/dist/chunks/{index-BupFFAuS.mjs → index-CjWZ4uNg.mjs} +5 -5
- package/dist/chunks/{index-C2z1IV4R.mjs → index-CsI5JuIM.mjs} +3 -3
- package/dist/chunks/{index-UolIX-qt.mjs → index-D-a5vkZL.mjs} +5 -5
- package/dist/chunks/{index-BdwUJ997.mjs → index-D6iVe1wh.mjs} +2 -2
- package/dist/chunks/{index-CcxIt23B.mjs → index-Dd6S1nZ-.mjs} +2 -2
- package/dist/chunks/{index-D8mqch7I.mjs → index-Dl8qC51H.mjs} +2 -2
- package/dist/chunks/{index-DmR_hk_x.mjs → index-FT37CtcF.mjs} +3 -3
- package/dist/chunks/{index-WAaC3U5P.mjs → index-QkVZTs6l.mjs} +12 -12
- package/dist/chunks/{loadSso-BZQzknAq.mjs → loadSso-DF7GLUZf.mjs} +4 -4
- package/dist/chunks/{parseKnownFiles-CCiikesE.mjs → parseKnownFiles-BZNrX_JE.mjs} +1 -1
- package/dist/chunks/{readMergedOptions-BRLqvCpt.mjs → readMergedOptions-CraAnYdB.mjs} +1 -0
- package/dist/chunks/{resolveCliOptions-Bbv0tNSF.mjs → resolveCliOptions-BMBkWDYJ.mjs} +1 -1
- package/dist/chunks/{sdk-stream-mixin-pKJE9QhL.mjs → sdk-stream-mixin-BL49AxZx.mjs} +1 -1
- package/dist/chunks/{types-BfKw9R-k.mjs → types-BthqmnDr.mjs} +1 -1
- package/dist/cli.d.ts +4 -0
- package/dist/cli.mjs +5 -5
- package/dist/cliHost.d.ts +4 -0
- package/dist/cliHost.mjs +3 -3
- package/dist/getdotenv.cli.mjs +5 -5
- package/dist/index.d.ts +4 -0
- package/dist/index.mjs +8 -8
- package/dist/plugins-aws.d.ts +4 -0
- package/dist/plugins-aws.mjs +1 -1
- package/dist/plugins-batch.d.ts +4 -0
- package/dist/plugins-batch.mjs +1 -1
- package/dist/plugins-cmd.d.ts +4 -0
- package/dist/plugins-cmd.mjs +3 -3
- package/dist/plugins-init.d.ts +4 -0
- package/dist/plugins-init.mjs +1 -1
- package/dist/plugins.d.ts +4 -0
- package/dist/plugins.mjs +4 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -88,6 +88,8 @@ Author config in JSON/YAML/JS/TS at your project root. The loader is always on i
|
|
|
88
88
|
- Dynamic (JS/TS only): `dynamic`
|
|
89
89
|
- Validation (JS/TS schema or required keys): `schema`, `requiredKeys`
|
|
90
90
|
|
|
91
|
+
Set the target environment dynamically: `defaultEnvKey` names a variable in your global dotenv files (default: `DEFAULT_ENV`) that overrides the static `defaultEnv` when `-e` is not provided.
|
|
92
|
+
|
|
91
93
|
Overlays apply by kind/env/privacy/source with clear precedence. Details and examples in the [Config guide](./guides/config.md).
|
|
92
94
|
|
|
93
95
|
## Dynamic variables (JS/TS)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as HttpProtocol, z as NormalizedSchema, n as HttpRequest, aU as translateTraits, a3 as extendedEncodeURIComponent, X as collectBody, aP as splitHeader, S as SerdeContext, F as FromStringShapeDeserializer, aT as toUtf8, a8 as fromUtf8, a9 as generateIdempotencyToken, L as LazyJsonString, aR as toBase64, a0 as determineTimestampFormat, _ as dateToUtcString, G as NumericValue, K as SerdeContextConfig, U as UnionSerde, a6 as fromBase64, av as parseEpochTimestamp, az as parseRfc7231DateTime, ay as parseRfc3339DateTimeWithOffset, P as ProtocolLib } from './index-
|
|
1
|
+
import { m as HttpProtocol, z as NormalizedSchema, n as HttpRequest, aU as translateTraits, a3 as extendedEncodeURIComponent, X as collectBody, aP as splitHeader, S as SerdeContext, F as FromStringShapeDeserializer, aT as toUtf8, a8 as fromUtf8, a9 as generateIdempotencyToken, L as LazyJsonString, aR as toBase64, a0 as determineTimestampFormat, _ as dateToUtcString, G as NumericValue, K as SerdeContextConfig, U as UnionSerde, a6 as fromBase64, av as parseEpochTimestamp, az as parseRfc7231DateTime, ay as parseRfc3339DateTimeWithOffset, P as ProtocolLib } from './index-BuxEK_Z4.mjs';
|
|
2
2
|
import 'node:crypto';
|
|
3
|
-
import { s as sdkStreamMixin } from './sdk-stream-mixin-
|
|
3
|
+
import { s as sdkStreamMixin } from './sdk-stream-mixin-BL49AxZx.mjs';
|
|
4
4
|
|
|
5
5
|
function quoteHeader(part) {
|
|
6
6
|
if (part.includes(",") || part.includes('"')) {
|
|
@@ -6,19 +6,19 @@ import 'fs-extra';
|
|
|
6
6
|
import 'node:path';
|
|
7
7
|
import 'radash';
|
|
8
8
|
import 'node:buffer';
|
|
9
|
-
import { d as defaultsDeep, h as getDotenvCliOptions2Options, c as baseRootOptionDefaults, G as GetDotenvCli, b as attachRootOptions } from './readMergedOptions-
|
|
9
|
+
import { d as defaultsDeep, h as getDotenvCliOptions2Options, c as baseRootOptionDefaults, G as GetDotenvCli, b as attachRootOptions } from './readMergedOptions-CraAnYdB.mjs';
|
|
10
10
|
import 'crypto';
|
|
11
11
|
import 'url';
|
|
12
12
|
import '@commander-js/extra-typings';
|
|
13
13
|
import 'dotenv';
|
|
14
14
|
import 'execa';
|
|
15
15
|
import { t as toHelpConfig } from './helpConfig-CGejgwWW.mjs';
|
|
16
|
-
import { r as resolveCliOptions } from './resolveCliOptions-
|
|
16
|
+
import { r as resolveCliOptions } from './resolveCliOptions-BMBkWDYJ.mjs';
|
|
17
17
|
import { v as validateEnvAgainstSources } from './validate-CDl0rE6k.mjs';
|
|
18
18
|
import { awsPlugin } from '../plugins-aws.mjs';
|
|
19
|
-
import { R as awsWhoamiPlugin } from './index-
|
|
19
|
+
import { R as awsWhoamiPlugin } from './index-BuxEK_Z4.mjs';
|
|
20
20
|
import { batchPlugin } from '../plugins-batch.mjs';
|
|
21
|
-
import { c as cmdPlugin } from './index-
|
|
21
|
+
import { c as cmdPlugin } from './index-Dd6S1nZ-.mjs';
|
|
22
22
|
import { initPlugin } from '../plugins-init.mjs';
|
|
23
23
|
|
|
24
24
|
const dbg = (...args) => {
|
|
@@ -54,6 +54,17 @@ function computeRootDefaults(defaults, sources) {
|
|
|
54
54
|
* @param defaults - Optional root defaults overlay.
|
|
55
55
|
*/
|
|
56
56
|
function installRootHooks(program, defaults) {
|
|
57
|
+
// Propagate resolved env into the options bag so plugins always see
|
|
58
|
+
// the effective environment as bag.env — no defaulting logic needed downstream.
|
|
59
|
+
const propagateResolvedEnv = (merged) => {
|
|
60
|
+
if (program.hasCtx()) {
|
|
61
|
+
const resolvedCtx = program.getCtx();
|
|
62
|
+
if (resolvedCtx.env) {
|
|
63
|
+
merged.env = resolvedCtx.env;
|
|
64
|
+
program._setOptionsBag(merged);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
};
|
|
57
68
|
// Hook: preSubcommand — always runs for subcommand flows.
|
|
58
69
|
program.hook('preSubcommand', async (thisCommand) => {
|
|
59
70
|
const sources = await resolveGetDotenvConfigSources(import.meta.url);
|
|
@@ -73,6 +84,7 @@ function installRootHooks(program, defaults) {
|
|
|
73
84
|
// Resolve context for this run via programmatic converter.
|
|
74
85
|
const serviceOptions = getDotenvCliOptions2Options(merged);
|
|
75
86
|
await program.resolveAndLoad(serviceOptions);
|
|
87
|
+
propagateResolvedEnv(merged);
|
|
76
88
|
// Refresh dynamic help text using the resolved config slices.
|
|
77
89
|
try {
|
|
78
90
|
const ctx = program.getCtx();
|
|
@@ -119,6 +131,7 @@ function installRootHooks(program, defaults) {
|
|
|
119
131
|
if (!program.hasCtx()) {
|
|
120
132
|
const serviceOptions = getDotenvCliOptions2Options(merged);
|
|
121
133
|
await program.resolveAndLoad(serviceOptions);
|
|
134
|
+
propagateResolvedEnv(merged);
|
|
122
135
|
try {
|
|
123
136
|
const ctx = program.getCtx();
|
|
124
137
|
const helpCfg = toHelpConfig(merged, ctx.pluginConfigs);
|
package/dist/chunks/{externalDataInterceptor-m2kSL8CB.mjs → externalDataInterceptor-DyDNbv-D.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as tokenIntercept } from './getSSOTokenFromFile-
|
|
2
|
-
import { a4 as fileIntercept } from './index-
|
|
1
|
+
import { t as tokenIntercept } from './getSSOTokenFromFile-CkYcEieD.mjs';
|
|
2
|
+
import { a4 as fileIntercept } from './index-BuxEK_Z4.mjs';
|
|
3
3
|
|
|
4
4
|
const externalDataInterceptor = {
|
|
5
5
|
getFileRecord() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { readFile } from 'node:fs/promises';
|
|
2
2
|
import { createHash } from 'node:crypto';
|
|
3
3
|
import { join } from 'node:path';
|
|
4
|
-
import { af as getHomeDir } from './index-
|
|
4
|
+
import { af as getHomeDir } from './index-BuxEK_Z4.mjs';
|
|
5
5
|
|
|
6
6
|
const getSSOTokenFilepath = (id) => {
|
|
7
7
|
const hasher = createHash("sha1");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { aE as resolveAwsSdkSigV4Config, au as normalizeProvider, ap as getSmithyContext, B as BinaryDecisionDiagram, l as EndpointCache, $ as decideEndpoint, Q as awsEndpointFunctions, Z as customEndpointFunctions, M as ServiceException, T as TypeRegistry, aT as toUtf8, a8 as fromUtf8, aA as parseUrl, x as NoOpLogger, b as AwsSdkSigV4Signer, w as NoAuthSigner, aR as toBase64, a6 as fromBase64, a1 as emitWarningIfUnsupportedVersion, aG as resolveDefaultsModeConfig, a2 as emitWarningIfUnsupportedVersion$1, aQ as streamCollector, V as calculateBodyLength, ar as loadConfig, N as NODE_APP_ID_CONFIG_OPTIONS, v as NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, u as NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, H as Hash, s as NODE_RETRY_MODE_CONFIG_OPTIONS, D as DEFAULT_RETRY_MODE, y as NodeHttpHandler, q as NODE_REGION_CONFIG_FILE_OPTIONS, r as NODE_REGION_CONFIG_OPTIONS, p as NODE_MAX_ATTEMPT_CONFIG_OPTIONS, Y as createDefaultUserAgentProvider, o as NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, as as loadConfigsForDefaultMode, aa as getAwsRegionExtensionConfiguration, ad as getDefaultExtensionConfiguration, ai as getHttpHandlerExtensionConfiguration, aC as resolveAwsRegionExtensionConfiguration, aF as resolveDefaultRuntimeConfig, aJ as resolveHttpHandlerRuntimeConfig, c as Client, aN as resolveUserAgentConfig, aM as resolveRetryConfig, aL as resolveRegionConfig, aH as resolveEndpointConfig, ao as getSchemaSerdePlugin, aq as getUserAgentPlugin, an as getRetryPlugin, ac as getContentLengthPlugin, ag as getHostHeaderPlugin, ak as getLoggerPlugin, am as getRecursionDetectionPlugin, ah as getHttpAuthSchemeEndpointRuleSetPlugin, f as DefaultIdentityProviderConfig, aj as getHttpSigningPlugin, aI as resolveHostHeaderConfig, d as Command, ae as getEndpointPlugin } from './index-
|
|
1
|
+
import { aE as resolveAwsSdkSigV4Config, au as normalizeProvider, ap as getSmithyContext, B as BinaryDecisionDiagram, l as EndpointCache, $ as decideEndpoint, Q as awsEndpointFunctions, Z as customEndpointFunctions, M as ServiceException, T as TypeRegistry, aT as toUtf8, a8 as fromUtf8, aA as parseUrl, x as NoOpLogger, b as AwsSdkSigV4Signer, w as NoAuthSigner, aR as toBase64, a6 as fromBase64, a1 as emitWarningIfUnsupportedVersion, aG as resolveDefaultsModeConfig, a2 as emitWarningIfUnsupportedVersion$1, aQ as streamCollector, V as calculateBodyLength, ar as loadConfig, N as NODE_APP_ID_CONFIG_OPTIONS, v as NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, u as NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, H as Hash, s as NODE_RETRY_MODE_CONFIG_OPTIONS, D as DEFAULT_RETRY_MODE, y as NodeHttpHandler, q as NODE_REGION_CONFIG_FILE_OPTIONS, r as NODE_REGION_CONFIG_OPTIONS, p as NODE_MAX_ATTEMPT_CONFIG_OPTIONS, Y as createDefaultUserAgentProvider, o as NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, as as loadConfigsForDefaultMode, aa as getAwsRegionExtensionConfiguration, ad as getDefaultExtensionConfiguration, ai as getHttpHandlerExtensionConfiguration, aC as resolveAwsRegionExtensionConfiguration, aF as resolveDefaultRuntimeConfig, aJ as resolveHttpHandlerRuntimeConfig, c as Client, aN as resolveUserAgentConfig, aM as resolveRetryConfig, aL as resolveRegionConfig, aH as resolveEndpointConfig, ao as getSchemaSerdePlugin, aq as getUserAgentPlugin, an as getRetryPlugin, ac as getContentLengthPlugin, ag as getHostHeaderPlugin, ak as getLoggerPlugin, am as getRecursionDetectionPlugin, ah as getHttpAuthSchemeEndpointRuleSetPlugin, f as DefaultIdentityProviderConfig, aj as getHttpSigningPlugin, aI as resolveHostHeaderConfig, d as Command, ae as getEndpointPlugin } from './index-BuxEK_Z4.mjs';
|
|
2
2
|
import { p as packageInfo } from './package-DbbYaehr.mjs';
|
|
3
3
|
import 'node:crypto';
|
|
4
|
-
import { A as AwsRestJsonProtocol } from './AwsRestJsonProtocol-
|
|
5
|
-
import './readMergedOptions-
|
|
4
|
+
import { A as AwsRestJsonProtocol } from './AwsRestJsonProtocol-4m7HHwvS.mjs';
|
|
5
|
+
import './readMergedOptions-CraAnYdB.mjs';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '@commander-js/extra-typings';
|
|
8
8
|
import './readDotenvCascade-Dgx4SC1p.mjs';
|
|
@@ -26,7 +26,7 @@ import 'node:stream';
|
|
|
26
26
|
import 'node:fs';
|
|
27
27
|
import 'node:https';
|
|
28
28
|
import 'node:process';
|
|
29
|
-
import './sdk-stream-mixin-
|
|
29
|
+
import './sdk-stream-mixin-BL49AxZx.mjs';
|
|
30
30
|
|
|
31
31
|
const defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
32
32
|
return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { J as ProviderError, I as IniSectionType, C as CONFIG_PREFIX_SEPARATOR, aB as readFile, ab as getConfigFilepath, aw as parseIni, al as getProfileName, e as CredentialsProviderError, aO as setCredentialFeature } from './index-
|
|
1
|
+
import { J as ProviderError, I as IniSectionType, C as CONFIG_PREFIX_SEPARATOR, aB as readFile, ab as getConfigFilepath, aw as parseIni, al as getProfileName, e as CredentialsProviderError, aO as setCredentialFeature } from './index-BuxEK_Z4.mjs';
|
|
2
2
|
import { promises } from 'node:fs';
|
|
3
|
-
import { g as getSSOTokenFilepath, a as getSSOTokenFromFile } from './getSSOTokenFromFile-
|
|
4
|
-
import { p as parseKnownFiles } from './parseKnownFiles-
|
|
5
|
-
import './readMergedOptions-
|
|
3
|
+
import { g as getSSOTokenFilepath, a as getSSOTokenFromFile } from './getSSOTokenFromFile-CkYcEieD.mjs';
|
|
4
|
+
import { p as parseKnownFiles } from './parseKnownFiles-BZNrX_JE.mjs';
|
|
5
|
+
import './readMergedOptions-CraAnYdB.mjs';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '@commander-js/extra-typings';
|
|
8
8
|
import './readDotenvCascade-Dgx4SC1p.mjs';
|
|
@@ -56,7 +56,7 @@ const EXPIRE_WINDOW_MS = 5 * 60 * 1000;
|
|
|
56
56
|
const REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;
|
|
57
57
|
|
|
58
58
|
const getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
|
|
59
|
-
const { SSOOIDCClient } = await import('./index-
|
|
59
|
+
const { SSOOIDCClient } = await import('./index-B35hOhgq.mjs');
|
|
60
60
|
const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop] ?? callerClientConfig?.[prop];
|
|
61
61
|
const ssoOidcClient = new SSOOIDCClient(Object.assign({}, init.clientConfig ?? {}, {
|
|
62
62
|
region: ssoRegion ?? init.clientConfig?.region,
|
|
@@ -67,7 +67,7 @@ const getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
|
|
|
67
67
|
};
|
|
68
68
|
|
|
69
69
|
const getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConfig) => {
|
|
70
|
-
const { CreateTokenCommand } = await import('./index-
|
|
70
|
+
const { CreateTokenCommand } = await import('./index-B35hOhgq.mjs');
|
|
71
71
|
const ssoOidcClient = await getSsoOidcClient(ssoRegion, init, callerClientConfig);
|
|
72
72
|
return ssoOidcClient.send(new CreateTokenCommand({
|
|
73
73
|
clientId: ssoToken.clientId,
|
|
@@ -213,7 +213,7 @@ const resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ss
|
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
const { accessToken } = token;
|
|
216
|
-
const { SSOClient, GetRoleCredentialsCommand } = await import('./loadSso-
|
|
216
|
+
const { SSOClient, GetRoleCredentialsCommand } = await import('./loadSso-DF7GLUZf.mjs');
|
|
217
217
|
const sso = ssoClient ||
|
|
218
218
|
new SSOClient(Object.assign({}, clientConfig ?? {}, {
|
|
219
219
|
logger: clientConfig?.logger ?? callerClientConfig?.logger ?? parentClientConfig?.logger,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { aE as resolveAwsSdkSigV4Config, au as normalizeProvider, ap as getSmithyContext, B as BinaryDecisionDiagram, l as EndpointCache, $ as decideEndpoint, Q as awsEndpointFunctions, Z as customEndpointFunctions, M as ServiceException, T as TypeRegistry, aT as toUtf8, a8 as fromUtf8, aA as parseUrl, x as NoOpLogger, b as AwsSdkSigV4Signer, w as NoAuthSigner, aR as toBase64, a6 as fromBase64, a1 as emitWarningIfUnsupportedVersion, aG as resolveDefaultsModeConfig, a2 as emitWarningIfUnsupportedVersion$1, aQ as streamCollector, V as calculateBodyLength, ar as loadConfig, N as NODE_APP_ID_CONFIG_OPTIONS, v as NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, u as NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, H as Hash, s as NODE_RETRY_MODE_CONFIG_OPTIONS, D as DEFAULT_RETRY_MODE, y as NodeHttpHandler, q as NODE_REGION_CONFIG_FILE_OPTIONS, r as NODE_REGION_CONFIG_OPTIONS, p as NODE_MAX_ATTEMPT_CONFIG_OPTIONS, Y as createDefaultUserAgentProvider, o as NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, as as loadConfigsForDefaultMode, aa as getAwsRegionExtensionConfiguration, ad as getDefaultExtensionConfiguration, ai as getHttpHandlerExtensionConfiguration, aC as resolveAwsRegionExtensionConfiguration, aF as resolveDefaultRuntimeConfig, aJ as resolveHttpHandlerRuntimeConfig, c as Client, aN as resolveUserAgentConfig, aM as resolveRetryConfig, aL as resolveRegionConfig, aH as resolveEndpointConfig, ao as getSchemaSerdePlugin, aq as getUserAgentPlugin, an as getRetryPlugin, ac as getContentLengthPlugin, ag as getHostHeaderPlugin, ak as getLoggerPlugin, am as getRecursionDetectionPlugin, ah as getHttpAuthSchemeEndpointRuleSetPlugin, f as DefaultIdentityProviderConfig, aj as getHttpSigningPlugin, aI as resolveHostHeaderConfig, d as Command, ae as getEndpointPlugin } from './index-
|
|
1
|
+
import { aE as resolveAwsSdkSigV4Config, au as normalizeProvider, ap as getSmithyContext, B as BinaryDecisionDiagram, l as EndpointCache, $ as decideEndpoint, Q as awsEndpointFunctions, Z as customEndpointFunctions, M as ServiceException, T as TypeRegistry, aT as toUtf8, a8 as fromUtf8, aA as parseUrl, x as NoOpLogger, b as AwsSdkSigV4Signer, w as NoAuthSigner, aR as toBase64, a6 as fromBase64, a1 as emitWarningIfUnsupportedVersion, aG as resolveDefaultsModeConfig, a2 as emitWarningIfUnsupportedVersion$1, aQ as streamCollector, V as calculateBodyLength, ar as loadConfig, N as NODE_APP_ID_CONFIG_OPTIONS, v as NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, u as NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, H as Hash, s as NODE_RETRY_MODE_CONFIG_OPTIONS, D as DEFAULT_RETRY_MODE, y as NodeHttpHandler, q as NODE_REGION_CONFIG_FILE_OPTIONS, r as NODE_REGION_CONFIG_OPTIONS, p as NODE_MAX_ATTEMPT_CONFIG_OPTIONS, Y as createDefaultUserAgentProvider, o as NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, as as loadConfigsForDefaultMode, aa as getAwsRegionExtensionConfiguration, ad as getDefaultExtensionConfiguration, ai as getHttpHandlerExtensionConfiguration, aC as resolveAwsRegionExtensionConfiguration, aF as resolveDefaultRuntimeConfig, aJ as resolveHttpHandlerRuntimeConfig, c as Client, aN as resolveUserAgentConfig, aM as resolveRetryConfig, aL as resolveRegionConfig, aH as resolveEndpointConfig, ao as getSchemaSerdePlugin, aq as getUserAgentPlugin, an as getRetryPlugin, ac as getContentLengthPlugin, ag as getHostHeaderPlugin, ak as getLoggerPlugin, am as getRecursionDetectionPlugin, ah as getHttpAuthSchemeEndpointRuleSetPlugin, f as DefaultIdentityProviderConfig, aj as getHttpSigningPlugin, aI as resolveHostHeaderConfig, d as Command, ae as getEndpointPlugin } from './index-BuxEK_Z4.mjs';
|
|
2
2
|
import { p as packageInfo } from './package-DbbYaehr.mjs';
|
|
3
3
|
import 'node:crypto';
|
|
4
|
-
import { A as AwsRestJsonProtocol } from './AwsRestJsonProtocol-
|
|
5
|
-
import './readMergedOptions-
|
|
4
|
+
import { A as AwsRestJsonProtocol } from './AwsRestJsonProtocol-4m7HHwvS.mjs';
|
|
5
|
+
import './readMergedOptions-CraAnYdB.mjs';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '@commander-js/extra-typings';
|
|
8
8
|
import './readDotenvCascade-Dgx4SC1p.mjs';
|
|
@@ -26,7 +26,7 @@ import 'node:stream';
|
|
|
26
26
|
import 'node:fs';
|
|
27
27
|
import 'node:https';
|
|
28
28
|
import 'node:process';
|
|
29
|
-
import './sdk-stream-mixin-
|
|
29
|
+
import './sdk-stream-mixin-BL49AxZx.mjs';
|
|
30
30
|
|
|
31
31
|
const defaultSigninHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
32
32
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as definePlugin } from './readMergedOptions-
|
|
1
|
+
import { g as definePlugin } from './readMergedOptions-CraAnYdB.mjs';
|
|
2
2
|
import 'execa';
|
|
3
3
|
import 'radash';
|
|
4
4
|
import 'node:buffer';
|
|
@@ -2572,7 +2572,7 @@ class HttpProtocol extends SerdeContext {
|
|
|
2572
2572
|
});
|
|
2573
2573
|
}
|
|
2574
2574
|
async loadEventStreamCapability() {
|
|
2575
|
-
const { EventStreamSerde } = await import('./index-
|
|
2575
|
+
const { EventStreamSerde } = await import('./index-Dl8qC51H.mjs');
|
|
2576
2576
|
return new EventStreamSerde({
|
|
2577
2577
|
marshaller: this.getEventStreamMarshaller(),
|
|
2578
2578
|
serializer: this.serializer,
|
|
@@ -6431,10 +6431,10 @@ const fromEnv = (init) => async () => {
|
|
|
6431
6431
|
|
|
6432
6432
|
const ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
|
|
6433
6433
|
const remoteProvider = async (init) => {
|
|
6434
|
-
const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await import('./index-
|
|
6434
|
+
const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await import('./index-C58EanKv.mjs');
|
|
6435
6435
|
if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) {
|
|
6436
6436
|
init.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");
|
|
6437
|
-
const { fromHttp } = await import('./index-
|
|
6437
|
+
const { fromHttp } = await import('./index-CsI5JuIM.mjs');
|
|
6438
6438
|
return chain(fromHttp(init), fromContainerMetadata(init));
|
|
6439
6439
|
}
|
|
6440
6440
|
if (process.env[ENV_IMDS_DISABLED] && process.env[ENV_IMDS_DISABLED] !== "false") {
|
|
@@ -6544,22 +6544,22 @@ const defaultProvider = (init = {}) => memoizeChain([
|
|
|
6544
6544
|
if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
|
|
6545
6545
|
throw new CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init.logger });
|
|
6546
6546
|
}
|
|
6547
|
-
const { fromSSO } = await import('./index-
|
|
6547
|
+
const { fromSSO } = await import('./index-B3fM_U6F.mjs');
|
|
6548
6548
|
return fromSSO(init)(awsIdentityProperties);
|
|
6549
6549
|
},
|
|
6550
6550
|
async (awsIdentityProperties) => {
|
|
6551
6551
|
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
|
|
6552
|
-
const { fromIni } = await import('./index-
|
|
6552
|
+
const { fromIni } = await import('./index-QkVZTs6l.mjs');
|
|
6553
6553
|
return fromIni(init)(awsIdentityProperties);
|
|
6554
6554
|
},
|
|
6555
6555
|
async (awsIdentityProperties) => {
|
|
6556
6556
|
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
|
|
6557
|
-
const { fromProcess } = await import('./index-
|
|
6557
|
+
const { fromProcess } = await import('./index-CjWZ4uNg.mjs');
|
|
6558
6558
|
return fromProcess(init)(awsIdentityProperties);
|
|
6559
6559
|
},
|
|
6560
6560
|
async (awsIdentityProperties) => {
|
|
6561
6561
|
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");
|
|
6562
|
-
const { fromTokenFile } = await import('./index-
|
|
6562
|
+
const { fromTokenFile } = await import('./index-D-a5vkZL.mjs');
|
|
6563
6563
|
return fromTokenFile(init)(awsIdentityProperties);
|
|
6564
6564
|
},
|
|
6565
6565
|
async () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { parse } from 'node:url';
|
|
2
2
|
import { request } from 'node:http';
|
|
3
|
-
import { J as ProviderError, e as CredentialsProviderError, aA as parseUrl, ar as loadConfig } from './index-
|
|
4
|
-
import './readMergedOptions-
|
|
3
|
+
import { J as ProviderError, e as CredentialsProviderError, aA as parseUrl, ar as loadConfig } from './index-BuxEK_Z4.mjs';
|
|
4
|
+
import './readMergedOptions-CraAnYdB.mjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '@commander-js/extra-typings';
|
|
7
7
|
import './readDotenvCascade-Dgx4SC1p.mjs';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { exec } from 'node:child_process';
|
|
2
2
|
import { promisify } from 'node:util';
|
|
3
|
-
import { aO as setCredentialFeature, e as CredentialsProviderError, al as getProfileName } from './index-
|
|
4
|
-
import { e as externalDataInterceptor } from './externalDataInterceptor-
|
|
5
|
-
import { p as parseKnownFiles } from './parseKnownFiles-
|
|
6
|
-
import './readMergedOptions-
|
|
3
|
+
import { aO as setCredentialFeature, e as CredentialsProviderError, al as getProfileName } from './index-BuxEK_Z4.mjs';
|
|
4
|
+
import { e as externalDataInterceptor } from './externalDataInterceptor-DyDNbv-D.mjs';
|
|
5
|
+
import { p as parseKnownFiles } from './parseKnownFiles-BZNrX_JE.mjs';
|
|
6
|
+
import './readMergedOptions-CraAnYdB.mjs';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import '@commander-js/extra-typings';
|
|
9
9
|
import './readDotenvCascade-Dgx4SC1p.mjs';
|
|
@@ -28,7 +28,7 @@ import 'node:crypto';
|
|
|
28
28
|
import 'node:fs';
|
|
29
29
|
import 'node:https';
|
|
30
30
|
import 'node:process';
|
|
31
|
-
import './getSSOTokenFromFile-
|
|
31
|
+
import './getSSOTokenFromFile-CkYcEieD.mjs';
|
|
32
32
|
|
|
33
33
|
const getValidatedProcessCredentials = (profileName, data, profiles) => {
|
|
34
34
|
if (data.Version !== 1) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import fs from 'node:fs/promises';
|
|
2
|
-
import { e as CredentialsProviderError, n as HttpRequest, ax as parseRfc3339DateTime, y as NodeHttpHandler, aO as setCredentialFeature } from './index-
|
|
3
|
-
import { s as sdkStreamMixin } from './sdk-stream-mixin-
|
|
4
|
-
import './readMergedOptions-
|
|
2
|
+
import { e as CredentialsProviderError, n as HttpRequest, ax as parseRfc3339DateTime, y as NodeHttpHandler, aO as setCredentialFeature } from './index-BuxEK_Z4.mjs';
|
|
3
|
+
import { s as sdkStreamMixin } from './sdk-stream-mixin-BL49AxZx.mjs';
|
|
4
|
+
import './readMergedOptions-CraAnYdB.mjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '@commander-js/extra-typings';
|
|
7
7
|
import './readDotenvCascade-Dgx4SC1p.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { readFileSync } from 'node:fs';
|
|
2
|
-
import { e as CredentialsProviderError, aO as setCredentialFeature } from './index-
|
|
3
|
-
import { e as externalDataInterceptor } from './externalDataInterceptor-
|
|
4
|
-
import './readMergedOptions-
|
|
2
|
+
import { e as CredentialsProviderError, aO as setCredentialFeature } from './index-BuxEK_Z4.mjs';
|
|
3
|
+
import { e as externalDataInterceptor } from './externalDataInterceptor-DyDNbv-D.mjs';
|
|
4
|
+
import './readMergedOptions-CraAnYdB.mjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '@commander-js/extra-typings';
|
|
7
7
|
import './readDotenvCascade-Dgx4SC1p.mjs';
|
|
@@ -25,14 +25,14 @@ import 'node:stream';
|
|
|
25
25
|
import 'node:crypto';
|
|
26
26
|
import 'node:https';
|
|
27
27
|
import 'node:process';
|
|
28
|
-
import './getSSOTokenFromFile-
|
|
28
|
+
import './getSSOTokenFromFile-CkYcEieD.mjs';
|
|
29
29
|
|
|
30
30
|
const fromWebToken = (init) => async (awsIdentityProperties) => {
|
|
31
31
|
init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");
|
|
32
32
|
const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;
|
|
33
33
|
let { roleAssumerWithWebIdentity } = init;
|
|
34
34
|
if (!roleAssumerWithWebIdentity) {
|
|
35
|
-
const { getDefaultRoleAssumerWithWebIdentity } = await import('./index-
|
|
35
|
+
const { getDefaultRoleAssumerWithWebIdentity } = await import('./index-D6iVe1wh.mjs');
|
|
36
36
|
roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({
|
|
37
37
|
...init.clientConfig,
|
|
38
38
|
credentialProviderLogger: init.logger,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ar as loadConfig, q as NODE_REGION_CONFIG_FILE_OPTIONS, r as NODE_REGION_CONFIG_OPTIONS, B as BinaryDecisionDiagram, l as EndpointCache, $ as decideEndpoint, Q as awsEndpointFunctions, Z as customEndpointFunctions, aE as resolveAwsSdkSigV4Config, aD as resolveAwsSdkSigV4AConfig, au as normalizeProvider, ap as getSmithyContext, aK as resolveParams, O as SignatureV4MultiRegion, M as ServiceException, T as TypeRegistry, aT as toUtf8, a8 as fromUtf8, aA as parseUrl, A as AwsQueryProtocol, x as NoOpLogger, b as AwsSdkSigV4Signer, a as AwsSdkSigV4ASigner, w as NoAuthSigner, aR as toBase64, a6 as fromBase64, a1 as emitWarningIfUnsupportedVersion, aG as resolveDefaultsModeConfig, a2 as emitWarningIfUnsupportedVersion$1, aQ as streamCollector, V as calculateBodyLength, N as NODE_APP_ID_CONFIG_OPTIONS, v as NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, u as NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, t as NODE_SIGV4A_CONFIG_OPTIONS, H as Hash, s as NODE_RETRY_MODE_CONFIG_OPTIONS, D as DEFAULT_RETRY_MODE, y as NodeHttpHandler, p as NODE_MAX_ATTEMPT_CONFIG_OPTIONS, Y as createDefaultUserAgentProvider, o as NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, as as loadConfigsForDefaultMode, aa as getAwsRegionExtensionConfiguration, ad as getDefaultExtensionConfiguration, ai as getHttpHandlerExtensionConfiguration, aC as resolveAwsRegionExtensionConfiguration, aF as resolveDefaultRuntimeConfig, aJ as resolveHttpHandlerRuntimeConfig, c as Client, aN as resolveUserAgentConfig, aM as resolveRetryConfig, aL as resolveRegionConfig, aH as resolveEndpointConfig, ao as getSchemaSerdePlugin, aq as getUserAgentPlugin, an as getRetryPlugin, ac as getContentLengthPlugin, ag as getHostHeaderPlugin, ak as getLoggerPlugin, am as getRecursionDetectionPlugin, ah as getHttpAuthSchemeEndpointRuleSetPlugin, f as DefaultIdentityProviderConfig, aj as getHttpSigningPlugin, aI as resolveHostHeaderConfig, d as Command, ae as getEndpointPlugin, aO as setCredentialFeature } from './index-
|
|
1
|
+
import { ar as loadConfig, q as NODE_REGION_CONFIG_FILE_OPTIONS, r as NODE_REGION_CONFIG_OPTIONS, B as BinaryDecisionDiagram, l as EndpointCache, $ as decideEndpoint, Q as awsEndpointFunctions, Z as customEndpointFunctions, aE as resolveAwsSdkSigV4Config, aD as resolveAwsSdkSigV4AConfig, au as normalizeProvider, ap as getSmithyContext, aK as resolveParams, O as SignatureV4MultiRegion, M as ServiceException, T as TypeRegistry, aT as toUtf8, a8 as fromUtf8, aA as parseUrl, A as AwsQueryProtocol, x as NoOpLogger, b as AwsSdkSigV4Signer, a as AwsSdkSigV4ASigner, w as NoAuthSigner, aR as toBase64, a6 as fromBase64, a1 as emitWarningIfUnsupportedVersion, aG as resolveDefaultsModeConfig, a2 as emitWarningIfUnsupportedVersion$1, aQ as streamCollector, V as calculateBodyLength, N as NODE_APP_ID_CONFIG_OPTIONS, v as NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, u as NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, t as NODE_SIGV4A_CONFIG_OPTIONS, H as Hash, s as NODE_RETRY_MODE_CONFIG_OPTIONS, D as DEFAULT_RETRY_MODE, y as NodeHttpHandler, p as NODE_MAX_ATTEMPT_CONFIG_OPTIONS, Y as createDefaultUserAgentProvider, o as NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, as as loadConfigsForDefaultMode, aa as getAwsRegionExtensionConfiguration, ad as getDefaultExtensionConfiguration, ai as getHttpHandlerExtensionConfiguration, aC as resolveAwsRegionExtensionConfiguration, aF as resolveDefaultRuntimeConfig, aJ as resolveHttpHandlerRuntimeConfig, c as Client, aN as resolveUserAgentConfig, aM as resolveRetryConfig, aL as resolveRegionConfig, aH as resolveEndpointConfig, ao as getSchemaSerdePlugin, aq as getUserAgentPlugin, an as getRetryPlugin, ac as getContentLengthPlugin, ag as getHostHeaderPlugin, ak as getLoggerPlugin, am as getRecursionDetectionPlugin, ah as getHttpAuthSchemeEndpointRuleSetPlugin, f as DefaultIdentityProviderConfig, aj as getHttpSigningPlugin, aI as resolveHostHeaderConfig, d as Command, ae as getEndpointPlugin, aO as setCredentialFeature } from './index-BuxEK_Z4.mjs';
|
|
2
2
|
import { p as packageInfo } from './package-DbbYaehr.mjs';
|
|
3
3
|
import 'node:crypto';
|
|
4
|
-
import './readMergedOptions-
|
|
4
|
+
import './readMergedOptions-CraAnYdB.mjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '@commander-js/extra-typings';
|
|
7
7
|
import './readDotenvCascade-Dgx4SC1p.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { camel } from 'radash';
|
|
2
|
-
import { r as readMergedOptions, d as defaultsDeep, h as getDotenvCliOptions2Options, g as definePlugin } from './readMergedOptions-
|
|
2
|
+
import { r as readMergedOptions, d as defaultsDeep, h as getDotenvCliOptions2Options, g as definePlugin } from './readMergedOptions-CraAnYdB.mjs';
|
|
3
3
|
import 'execa';
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
import 'fs-extra';
|
|
@@ -17,7 +17,7 @@ import { z } from 'zod';
|
|
|
17
17
|
import { r as resolveCommand, a as resolveShell, t as tokenize, s as shouldCapture, c as runCommand, b as buildSpawnEnv } from './spawnEnv-CKgnHGpr.mjs';
|
|
18
18
|
import { m as maybePreserveNodeEvalArgv, c as composeNestedEnv, s as stripOne } from './invoke-DuRPU1oC.mjs';
|
|
19
19
|
import { f as dotenvExpandFromProcessEnv } from './readDotenvCascade-Dgx4SC1p.mjs';
|
|
20
|
-
import { b as baseGetDotenvCliOptions, r as resolveCliOptions } from './resolveCliOptions-
|
|
20
|
+
import { b as baseGetDotenvCliOptions, r as resolveCliOptions } from './resolveCliOptions-BMBkWDYJ.mjs';
|
|
21
21
|
|
|
22
22
|
/** src/diagnostics/entropy.ts
|
|
23
23
|
* Entropy diagnostics (presentation-only).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'node:crypto';
|
|
2
|
-
import { aT as toUtf8, a8 as fromUtf8 } from './index-
|
|
3
|
-
import './readMergedOptions-
|
|
2
|
+
import { aT as toUtf8, a8 as fromUtf8 } from './index-BuxEK_Z4.mjs';
|
|
3
|
+
import './readMergedOptions-CraAnYdB.mjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '@commander-js/extra-typings';
|
|
6
6
|
import './readDotenvCascade-Dgx4SC1p.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a7 as fromEnv } from './index-
|
|
2
|
-
export { E as ENV_ACCOUNT_ID, g as ENV_CREDENTIAL_SCOPE, h as ENV_EXPIRATION, i as ENV_KEY, j as ENV_SECRET, k as ENV_SESSION } from './index-
|
|
3
|
-
import './readMergedOptions-
|
|
1
|
+
import { a7 as fromEnv } from './index-BuxEK_Z4.mjs';
|
|
2
|
+
export { E as ENV_ACCOUNT_ID, g as ENV_CREDENTIAL_SCOPE, h as ENV_EXPIRATION, i as ENV_KEY, j as ENV_SECRET, k as ENV_SESSION } from './index-BuxEK_Z4.mjs';
|
|
3
|
+
import './readMergedOptions-CraAnYdB.mjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '@commander-js/extra-typings';
|
|
6
6
|
import './readDotenvCascade-Dgx4SC1p.mjs';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { e as CredentialsProviderError, W as chain, aO as setCredentialFeature, al as getProfileName, aB as readFile, n as HttpRequest } from './index-
|
|
1
|
+
import { e as CredentialsProviderError, W as chain, aO as setCredentialFeature, al as getProfileName, aB as readFile, n as HttpRequest } from './index-BuxEK_Z4.mjs';
|
|
2
2
|
import { createHash, createPrivateKey, createPublicKey, sign } from 'node:crypto';
|
|
3
3
|
import { promises } from 'node:fs';
|
|
4
4
|
import { homedir } from 'node:os';
|
|
5
5
|
import { dirname, join } from 'node:path';
|
|
6
|
-
import { p as parseKnownFiles } from './parseKnownFiles-
|
|
7
|
-
import './readMergedOptions-
|
|
6
|
+
import { p as parseKnownFiles } from './parseKnownFiles-BZNrX_JE.mjs';
|
|
7
|
+
import './readMergedOptions-CraAnYdB.mjs';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import '@commander-js/extra-typings';
|
|
10
10
|
import './readDotenvCascade-Dgx4SC1p.mjs';
|
|
@@ -29,19 +29,19 @@ import 'node:process';
|
|
|
29
29
|
const resolveCredentialSource = (credentialSource, profileName, logger) => {
|
|
30
30
|
const sourceProvidersMap = {
|
|
31
31
|
EcsContainer: async (options) => {
|
|
32
|
-
const { fromHttp } = await import('./index-
|
|
33
|
-
const { fromContainerMetadata } = await import('./index-
|
|
32
|
+
const { fromHttp } = await import('./index-CsI5JuIM.mjs');
|
|
33
|
+
const { fromContainerMetadata } = await import('./index-C58EanKv.mjs');
|
|
34
34
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer");
|
|
35
35
|
return async () => chain(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);
|
|
36
36
|
},
|
|
37
37
|
Ec2InstanceMetadata: async (options) => {
|
|
38
38
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");
|
|
39
|
-
const { fromInstanceMetadata } = await import('./index-
|
|
39
|
+
const { fromInstanceMetadata } = await import('./index-C58EanKv.mjs');
|
|
40
40
|
return async () => fromInstanceMetadata(options)().then(setNamedProvider);
|
|
41
41
|
},
|
|
42
42
|
Environment: async (options) => {
|
|
43
43
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");
|
|
44
|
-
const { fromEnv } = await import('./index-
|
|
44
|
+
const { fromEnv } = await import('./index-FT37CtcF.mjs');
|
|
45
45
|
return async () => fromEnv(options)().then(setNamedProvider);
|
|
46
46
|
},
|
|
47
47
|
};
|
|
@@ -83,7 +83,7 @@ const resolveAssumeRoleCredentials = async (profileName, profiles, options, call
|
|
|
83
83
|
const profileData = profiles[profileName];
|
|
84
84
|
const { source_profile, region } = profileData;
|
|
85
85
|
if (!options.roleAssumer) {
|
|
86
|
-
const { getDefaultRoleAssumer } = await import('./index-
|
|
86
|
+
const { getDefaultRoleAssumer } = await import('./index-D6iVe1wh.mjs');
|
|
87
87
|
options.roleAssumer = getDefaultRoleAssumer({
|
|
88
88
|
...options.clientConfig,
|
|
89
89
|
credentialProviderLogger: options.logger,
|
|
@@ -169,7 +169,7 @@ class LoginCredentialsFetcher {
|
|
|
169
169
|
return this.profileData.login_session;
|
|
170
170
|
}
|
|
171
171
|
async refresh(token) {
|
|
172
|
-
const { SigninClient, CreateOAuth2TokenCommand } = await import('./index-
|
|
172
|
+
const { SigninClient, CreateOAuth2TokenCommand } = await import('./index-B_yJRqty.mjs');
|
|
173
173
|
const { logger, userAgentAppId } = this.callerClientConfig ?? {};
|
|
174
174
|
const isH2 = (requestHandler) => {
|
|
175
175
|
return requestHandler?.metadata?.handlerProtocol === "h2";
|
|
@@ -418,13 +418,13 @@ const resolveLoginCredentials = async (profileName, options, callerClientConfig)
|
|
|
418
418
|
};
|
|
419
419
|
|
|
420
420
|
const isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string";
|
|
421
|
-
const resolveProcessCredentials = async (options, profile) => import('./index-
|
|
421
|
+
const resolveProcessCredentials = async (options, profile) => import('./index-CjWZ4uNg.mjs').then(({ fromProcess }) => fromProcess({
|
|
422
422
|
...options,
|
|
423
423
|
profile,
|
|
424
424
|
})().then((creds) => setCredentialFeature(creds, "CREDENTIALS_PROFILE_PROCESS", "v")));
|
|
425
425
|
|
|
426
426
|
const resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => {
|
|
427
|
-
const { fromSSO } = await import('./index-
|
|
427
|
+
const { fromSSO } = await import('./index-B3fM_U6F.mjs');
|
|
428
428
|
return fromSSO({
|
|
429
429
|
profile,
|
|
430
430
|
logger: options.logger,
|
|
@@ -471,7 +471,7 @@ const isWebIdentityProfile = (arg) => Boolean(arg) &&
|
|
|
471
471
|
typeof arg.web_identity_token_file === "string" &&
|
|
472
472
|
typeof arg.role_arn === "string" &&
|
|
473
473
|
["undefined", "string"].indexOf(typeof arg.role_session_name) > -1;
|
|
474
|
-
const resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => import('./index-
|
|
474
|
+
const resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => import('./index-D-a5vkZL.mjs').then(({ fromTokenFile }) => fromTokenFile({
|
|
475
475
|
webIdentityTokenFile: profile.web_identity_token_file,
|
|
476
476
|
roleArn: profile.role_arn,
|
|
477
477
|
roleSessionName: profile.role_session_name,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { aE as resolveAwsSdkSigV4Config, au as normalizeProvider, ap as getSmithyContext, B as BinaryDecisionDiagram, l as EndpointCache, $ as decideEndpoint, Q as awsEndpointFunctions, Z as customEndpointFunctions, M as ServiceException, T as TypeRegistry, aT as toUtf8, a8 as fromUtf8, aA as parseUrl, x as NoOpLogger, b as AwsSdkSigV4Signer, w as NoAuthSigner, aR as toBase64, a6 as fromBase64, a1 as emitWarningIfUnsupportedVersion, aG as resolveDefaultsModeConfig, a2 as emitWarningIfUnsupportedVersion$1, aQ as streamCollector, V as calculateBodyLength, ar as loadConfig, N as NODE_APP_ID_CONFIG_OPTIONS, v as NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, u as NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, H as Hash, s as NODE_RETRY_MODE_CONFIG_OPTIONS, D as DEFAULT_RETRY_MODE, y as NodeHttpHandler, q as NODE_REGION_CONFIG_FILE_OPTIONS, r as NODE_REGION_CONFIG_OPTIONS, p as NODE_MAX_ATTEMPT_CONFIG_OPTIONS, Y as createDefaultUserAgentProvider, o as NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, as as loadConfigsForDefaultMode, aa as getAwsRegionExtensionConfiguration, ad as getDefaultExtensionConfiguration, ai as getHttpHandlerExtensionConfiguration, aC as resolveAwsRegionExtensionConfiguration, aF as resolveDefaultRuntimeConfig, aJ as resolveHttpHandlerRuntimeConfig, c as Client, aN as resolveUserAgentConfig, aM as resolveRetryConfig, aL as resolveRegionConfig, aH as resolveEndpointConfig, ao as getSchemaSerdePlugin, aq as getUserAgentPlugin, an as getRetryPlugin, ac as getContentLengthPlugin, ag as getHostHeaderPlugin, ak as getLoggerPlugin, am as getRecursionDetectionPlugin, ah as getHttpAuthSchemeEndpointRuleSetPlugin, f as DefaultIdentityProviderConfig, aj as getHttpSigningPlugin, aI as resolveHostHeaderConfig, d as Command, ae as getEndpointPlugin } from './index-
|
|
1
|
+
import { aE as resolveAwsSdkSigV4Config, au as normalizeProvider, ap as getSmithyContext, B as BinaryDecisionDiagram, l as EndpointCache, $ as decideEndpoint, Q as awsEndpointFunctions, Z as customEndpointFunctions, M as ServiceException, T as TypeRegistry, aT as toUtf8, a8 as fromUtf8, aA as parseUrl, x as NoOpLogger, b as AwsSdkSigV4Signer, w as NoAuthSigner, aR as toBase64, a6 as fromBase64, a1 as emitWarningIfUnsupportedVersion, aG as resolveDefaultsModeConfig, a2 as emitWarningIfUnsupportedVersion$1, aQ as streamCollector, V as calculateBodyLength, ar as loadConfig, N as NODE_APP_ID_CONFIG_OPTIONS, v as NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, u as NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, H as Hash, s as NODE_RETRY_MODE_CONFIG_OPTIONS, D as DEFAULT_RETRY_MODE, y as NodeHttpHandler, q as NODE_REGION_CONFIG_FILE_OPTIONS, r as NODE_REGION_CONFIG_OPTIONS, p as NODE_MAX_ATTEMPT_CONFIG_OPTIONS, Y as createDefaultUserAgentProvider, o as NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, as as loadConfigsForDefaultMode, aa as getAwsRegionExtensionConfiguration, ad as getDefaultExtensionConfiguration, ai as getHttpHandlerExtensionConfiguration, aC as resolveAwsRegionExtensionConfiguration, aF as resolveDefaultRuntimeConfig, aJ as resolveHttpHandlerRuntimeConfig, c as Client, aN as resolveUserAgentConfig, aM as resolveRetryConfig, aL as resolveRegionConfig, aH as resolveEndpointConfig, ao as getSchemaSerdePlugin, aq as getUserAgentPlugin, an as getRetryPlugin, ac as getContentLengthPlugin, ag as getHostHeaderPlugin, ak as getLoggerPlugin, am as getRecursionDetectionPlugin, ah as getHttpAuthSchemeEndpointRuleSetPlugin, f as DefaultIdentityProviderConfig, aj as getHttpSigningPlugin, aI as resolveHostHeaderConfig, d as Command, ae as getEndpointPlugin } from './index-BuxEK_Z4.mjs';
|
|
2
2
|
import { p as packageInfo } from './package-DbbYaehr.mjs';
|
|
3
3
|
import 'node:crypto';
|
|
4
|
-
import { A as AwsRestJsonProtocol } from './AwsRestJsonProtocol-
|
|
5
|
-
import './readMergedOptions-
|
|
4
|
+
import { A as AwsRestJsonProtocol } from './AwsRestJsonProtocol-4m7HHwvS.mjs';
|
|
5
|
+
import './readMergedOptions-CraAnYdB.mjs';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '@commander-js/extra-typings';
|
|
8
8
|
import './readDotenvCascade-Dgx4SC1p.mjs';
|
|
@@ -26,7 +26,7 @@ import 'node:stream';
|
|
|
26
26
|
import 'node:fs';
|
|
27
27
|
import 'node:https';
|
|
28
28
|
import 'node:process';
|
|
29
|
-
import './sdk-stream-mixin-
|
|
29
|
+
import './sdk-stream-mixin-BL49AxZx.mjs';
|
|
30
30
|
|
|
31
31
|
const defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
32
32
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Writable, Readable } from 'node:stream';
|
|
2
|
-
import { aS as toHex, a5 as fromArrayBuffer } from './index-
|
|
2
|
+
import { aS as toHex, a5 as fromArrayBuffer } from './index-BuxEK_Z4.mjs';
|
|
3
3
|
|
|
4
4
|
const isReadableStream = (stream) => typeof ReadableStream === "function" &&
|
|
5
5
|
(stream?.constructor?.name === ReadableStream.name || stream instanceof ReadableStream);
|
package/dist/cli.d.ts
CHANGED
|
@@ -323,6 +323,10 @@ type ScriptsTable<TShell extends string | boolean = string | boolean> = Record<s
|
|
|
323
323
|
* @public
|
|
324
324
|
*/
|
|
325
325
|
interface GetDotenvCliCtx<TOptions extends GetDotenvOptions = GetDotenvOptions> {
|
|
326
|
+
/**
|
|
327
|
+
* Effective environment name after resolution (explicit -e \> defaultEnvKey \> defaultEnv).
|
|
328
|
+
*/
|
|
329
|
+
env?: string;
|
|
326
330
|
/**
|
|
327
331
|
* Fully resolved option bag used to compute this context.
|
|
328
332
|
*/
|
package/dist/cli.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as createCli } from './chunks/createCli-
|
|
1
|
+
export { c as createCli } from './chunks/createCli-CVvh-dBp.mjs';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import 'path';
|
|
4
4
|
import './chunks/loader-V1vbmtyw.mjs';
|
|
@@ -13,16 +13,16 @@ import './chunks/loadModuleDefault-Dj8B3Stt.mjs';
|
|
|
13
13
|
import 'crypto';
|
|
14
14
|
import '@commander-js/extra-typings';
|
|
15
15
|
import 'nanoid';
|
|
16
|
-
import './chunks/readMergedOptions-
|
|
16
|
+
import './chunks/readMergedOptions-CraAnYdB.mjs';
|
|
17
17
|
import './chunks/readDotenvCascade-Dgx4SC1p.mjs';
|
|
18
18
|
import 'dotenv';
|
|
19
19
|
import 'execa';
|
|
20
20
|
import './chunks/helpConfig-CGejgwWW.mjs';
|
|
21
|
-
import './chunks/resolveCliOptions-
|
|
21
|
+
import './chunks/resolveCliOptions-BMBkWDYJ.mjs';
|
|
22
22
|
import './chunks/validate-CDl0rE6k.mjs';
|
|
23
23
|
import './plugins-aws.mjs';
|
|
24
24
|
import './chunks/spawnEnv-CKgnHGpr.mjs';
|
|
25
|
-
import './chunks/index-
|
|
25
|
+
import './chunks/index-BuxEK_Z4.mjs';
|
|
26
26
|
import 'node:os';
|
|
27
27
|
import 'node:fs/promises';
|
|
28
28
|
import 'node:stream';
|
|
@@ -33,7 +33,7 @@ import 'node:process';
|
|
|
33
33
|
import './plugins-batch.mjs';
|
|
34
34
|
import './chunks/invoke-DuRPU1oC.mjs';
|
|
35
35
|
import 'globby';
|
|
36
|
-
import './chunks/index-
|
|
36
|
+
import './chunks/index-Dd6S1nZ-.mjs';
|
|
37
37
|
import './plugins-init.mjs';
|
|
38
38
|
import 'readline/promises';
|
|
39
39
|
import 'node:url';
|
package/dist/cliHost.d.ts
CHANGED
|
@@ -329,6 +329,10 @@ declare const defineScripts: <TShell extends string | boolean>() => <T extends S
|
|
|
329
329
|
* @public
|
|
330
330
|
*/
|
|
331
331
|
interface GetDotenvCliCtx<TOptions extends GetDotenvOptions = GetDotenvOptions> {
|
|
332
|
+
/**
|
|
333
|
+
* Effective environment name after resolution (explicit -e \> defaultEnvKey \> defaultEnv).
|
|
334
|
+
*/
|
|
335
|
+
env?: string;
|
|
332
336
|
/**
|
|
333
337
|
* Fully resolved option bag used to compute this context.
|
|
334
338
|
*/
|
package/dist/cliHost.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { G as GetDotenvCli, g as definePlugin, r as readMergedOptions } from './chunks/readMergedOptions-
|
|
1
|
+
export { G as GetDotenvCli, g as definePlugin, r as readMergedOptions } from './chunks/readMergedOptions-CraAnYdB.mjs';
|
|
2
2
|
export { b as buildSpawnEnv, r as resolveCommand, a as resolveShell, c as runCommand, d as runCommandResult, s as shouldCapture } from './chunks/spawnEnv-CKgnHGpr.mjs';
|
|
3
|
-
export { b as baseGetDotenvCliOptions, r as resolveCliOptions } from './chunks/resolveCliOptions-
|
|
4
|
-
export { d as defineScripts, g as groupPlugins } from './chunks/types-
|
|
3
|
+
export { b as baseGetDotenvCliOptions, r as resolveCliOptions } from './chunks/resolveCliOptions-BMBkWDYJ.mjs';
|
|
4
|
+
export { d as defineScripts, g as groupPlugins } from './chunks/types-BthqmnDr.mjs';
|
|
5
5
|
export { t as toHelpConfig } from './chunks/helpConfig-CGejgwWW.mjs';
|
|
6
6
|
export { c as composeNestedEnv, m as maybePreserveNodeEvalArgv, s as stripOne } from './chunks/invoke-DuRPU1oC.mjs';
|
|
7
7
|
export { z } from 'zod';
|
package/dist/getdotenv.cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { c as createCli } from './chunks/createCli-
|
|
2
|
+
import { c as createCli } from './chunks/createCli-CVvh-dBp.mjs';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import 'path';
|
|
5
5
|
import './chunks/loader-V1vbmtyw.mjs';
|
|
@@ -14,16 +14,16 @@ import './chunks/loadModuleDefault-Dj8B3Stt.mjs';
|
|
|
14
14
|
import 'crypto';
|
|
15
15
|
import '@commander-js/extra-typings';
|
|
16
16
|
import 'nanoid';
|
|
17
|
-
import './chunks/readMergedOptions-
|
|
17
|
+
import './chunks/readMergedOptions-CraAnYdB.mjs';
|
|
18
18
|
import './chunks/readDotenvCascade-Dgx4SC1p.mjs';
|
|
19
19
|
import 'dotenv';
|
|
20
20
|
import 'execa';
|
|
21
21
|
import './chunks/helpConfig-CGejgwWW.mjs';
|
|
22
|
-
import './chunks/resolveCliOptions-
|
|
22
|
+
import './chunks/resolveCliOptions-BMBkWDYJ.mjs';
|
|
23
23
|
import './chunks/validate-CDl0rE6k.mjs';
|
|
24
24
|
import './plugins-aws.mjs';
|
|
25
25
|
import './chunks/spawnEnv-CKgnHGpr.mjs';
|
|
26
|
-
import './chunks/index-
|
|
26
|
+
import './chunks/index-BuxEK_Z4.mjs';
|
|
27
27
|
import 'node:os';
|
|
28
28
|
import 'node:fs/promises';
|
|
29
29
|
import 'node:stream';
|
|
@@ -34,7 +34,7 @@ import 'node:process';
|
|
|
34
34
|
import './plugins-batch.mjs';
|
|
35
35
|
import './chunks/invoke-DuRPU1oC.mjs';
|
|
36
36
|
import 'globby';
|
|
37
|
-
import './chunks/index-
|
|
37
|
+
import './chunks/index-Dd6S1nZ-.mjs';
|
|
38
38
|
import './plugins-init.mjs';
|
|
39
39
|
import 'readline/promises';
|
|
40
40
|
import 'node:url';
|
package/dist/index.d.ts
CHANGED
|
@@ -328,6 +328,10 @@ declare const defineScripts: <TShell extends string | boolean>() => <T extends S
|
|
|
328
328
|
* @public
|
|
329
329
|
*/
|
|
330
330
|
interface GetDotenvCliCtx<TOptions extends GetDotenvOptions = GetDotenvOptions> {
|
|
331
|
+
/**
|
|
332
|
+
* Effective environment name after resolution (explicit -e \> defaultEnvKey \> defaultEnv).
|
|
333
|
+
*/
|
|
334
|
+
env?: string;
|
|
331
335
|
/**
|
|
332
336
|
* Fully resolved option bag used to compute this context.
|
|
333
337
|
*/
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { c as createCli } from './chunks/createCli-
|
|
2
|
-
import { j as resolveGetDotenvOptions, w as writeDotenvFile } from './chunks/readMergedOptions-
|
|
3
|
-
export { G as GetDotenvCli, a as assertLogger, c as baseRootOptionDefaults, d as defaultsDeep, e as defineDynamic, f as defineGetDotenvConfig, g as definePlugin, h as getDotenvCliOptions2Options, i as interpolateDeep, r as readMergedOptions } from './chunks/readMergedOptions-
|
|
1
|
+
export { c as createCli } from './chunks/createCli-CVvh-dBp.mjs';
|
|
2
|
+
import { j as resolveGetDotenvOptions, w as writeDotenvFile } from './chunks/readMergedOptions-CraAnYdB.mjs';
|
|
3
|
+
export { G as GetDotenvCli, a as assertLogger, c as baseRootOptionDefaults, d as defaultsDeep, e as defineDynamic, f as defineGetDotenvConfig, g as definePlugin, h as getDotenvCliOptions2Options, i as interpolateDeep, r as readMergedOptions } from './chunks/readMergedOptions-CraAnYdB.mjs';
|
|
4
4
|
export { b as buildSpawnEnv, s as shouldCapture, t as tokenize } from './chunks/spawnEnv-CKgnHGpr.mjs';
|
|
5
|
-
export { d as defineScripts, g as groupPlugins } from './chunks/types-
|
|
5
|
+
export { d as defineScripts, g as groupPlugins } from './chunks/types-BthqmnDr.mjs';
|
|
6
6
|
import { omit, pick } from 'radash';
|
|
7
7
|
import { Buffer } from 'node:buffer';
|
|
8
8
|
export { l as loadModuleDefault } from './chunks/loadModuleDefault-Dj8B3Stt.mjs';
|
|
@@ -10,8 +10,8 @@ import { InvalidArgumentError } from '@commander-js/extra-typings';
|
|
|
10
10
|
import 'zod';
|
|
11
11
|
import { nanoid } from 'nanoid';
|
|
12
12
|
import path$1 from 'path';
|
|
13
|
-
import { a as redactObject, m as maybeWarnEntropy } from './chunks/index-
|
|
14
|
-
export { r as redactDisplay, t as traceChildEnv } from './chunks/index-
|
|
13
|
+
import { a as redactObject, m as maybeWarnEntropy } from './chunks/index-Dd6S1nZ-.mjs';
|
|
14
|
+
export { r as redactDisplay, t as traceChildEnv } from './chunks/index-Dd6S1nZ-.mjs';
|
|
15
15
|
import { r as readDotenv, e as dotenvExpandAll, a as applyDynamicMap, l as loadAndApplyDynamic } from './chunks/readDotenvCascade-Dgx4SC1p.mjs';
|
|
16
16
|
export { d as dotenvExpand, f as dotenvExpandFromProcessEnv } from './chunks/readDotenvCascade-Dgx4SC1p.mjs';
|
|
17
17
|
import fs from 'fs-extra';
|
|
@@ -24,10 +24,10 @@ import 'package-directory';
|
|
|
24
24
|
import 'yaml';
|
|
25
25
|
import 'execa';
|
|
26
26
|
import './chunks/helpConfig-CGejgwWW.mjs';
|
|
27
|
-
import './chunks/resolveCliOptions-
|
|
27
|
+
import './chunks/resolveCliOptions-BMBkWDYJ.mjs';
|
|
28
28
|
import './chunks/validate-CDl0rE6k.mjs';
|
|
29
29
|
import './plugins-aws.mjs';
|
|
30
|
-
import './chunks/index-
|
|
30
|
+
import './chunks/index-BuxEK_Z4.mjs';
|
|
31
31
|
import 'node:os';
|
|
32
32
|
import 'node:fs/promises';
|
|
33
33
|
import 'node:stream';
|
package/dist/plugins-aws.d.ts
CHANGED
|
@@ -234,6 +234,10 @@ type ScriptsTable<TShell extends string | boolean = string | boolean> = Record<s
|
|
|
234
234
|
* @public
|
|
235
235
|
*/
|
|
236
236
|
interface GetDotenvCliCtx<TOptions extends GetDotenvOptions = GetDotenvOptions> {
|
|
237
|
+
/**
|
|
238
|
+
* Effective environment name after resolution (explicit -e \> defaultEnvKey \> defaultEnv).
|
|
239
|
+
*/
|
|
240
|
+
env?: string;
|
|
237
241
|
/**
|
|
238
242
|
* Fully resolved option bag used to compute this context.
|
|
239
243
|
*/
|
package/dist/plugins-aws.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as readMergedOptions, g as definePlugin } from './chunks/readMergedOptions-
|
|
1
|
+
import { r as readMergedOptions, g as definePlugin } from './chunks/readMergedOptions-CraAnYdB.mjs';
|
|
2
2
|
import 'execa';
|
|
3
3
|
import { isObject } from 'radash';
|
|
4
4
|
import 'node:buffer';
|
package/dist/plugins-batch.d.ts
CHANGED
|
@@ -234,6 +234,10 @@ type ScriptsTable<TShell extends string | boolean = string | boolean> = Record<s
|
|
|
234
234
|
* @public
|
|
235
235
|
*/
|
|
236
236
|
interface GetDotenvCliCtx<TOptions extends GetDotenvOptions = GetDotenvOptions> {
|
|
237
|
+
/**
|
|
238
|
+
* Effective environment name after resolution (explicit -e \> defaultEnvKey \> defaultEnv).
|
|
239
|
+
*/
|
|
240
|
+
env?: string;
|
|
237
241
|
/**
|
|
238
242
|
* Fully resolved option bag used to compute this context.
|
|
239
243
|
*/
|
package/dist/plugins-batch.mjs
CHANGED
package/dist/plugins-cmd.d.ts
CHANGED
|
@@ -234,6 +234,10 @@ type ScriptsTable<TShell extends string | boolean = string | boolean> = Record<s
|
|
|
234
234
|
* @public
|
|
235
235
|
*/
|
|
236
236
|
interface GetDotenvCliCtx<TOptions extends GetDotenvOptions = GetDotenvOptions> {
|
|
237
|
+
/**
|
|
238
|
+
* Effective environment name after resolution (explicit -e \> defaultEnvKey \> defaultEnv).
|
|
239
|
+
*/
|
|
240
|
+
env?: string;
|
|
237
241
|
/**
|
|
238
242
|
* Fully resolved option bag used to compute this context.
|
|
239
243
|
*/
|
package/dist/plugins-cmd.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'radash';
|
|
2
|
-
import './chunks/readMergedOptions-
|
|
2
|
+
import './chunks/readMergedOptions-CraAnYdB.mjs';
|
|
3
3
|
import 'execa';
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
import 'fs-extra';
|
|
@@ -14,9 +14,9 @@ import './chunks/loader-V1vbmtyw.mjs';
|
|
|
14
14
|
import 'package-directory';
|
|
15
15
|
import 'yaml';
|
|
16
16
|
import 'zod';
|
|
17
|
-
export { c as cmdPlugin } from './chunks/index-
|
|
17
|
+
export { c as cmdPlugin } from './chunks/index-Dd6S1nZ-.mjs';
|
|
18
18
|
import './chunks/readDotenvCascade-Dgx4SC1p.mjs';
|
|
19
19
|
import './chunks/loadModuleDefault-Dj8B3Stt.mjs';
|
|
20
20
|
import './chunks/spawnEnv-CKgnHGpr.mjs';
|
|
21
21
|
import './chunks/invoke-DuRPU1oC.mjs';
|
|
22
|
-
import './chunks/resolveCliOptions-
|
|
22
|
+
import './chunks/resolveCliOptions-BMBkWDYJ.mjs';
|
package/dist/plugins-init.d.ts
CHANGED
|
@@ -234,6 +234,10 @@ type ScriptsTable<TShell extends string | boolean = string | boolean> = Record<s
|
|
|
234
234
|
* @public
|
|
235
235
|
*/
|
|
236
236
|
interface GetDotenvCliCtx<TOptions extends GetDotenvOptions = GetDotenvOptions> {
|
|
237
|
+
/**
|
|
238
|
+
* Effective environment name after resolution (explicit -e \> defaultEnvKey \> defaultEnv).
|
|
239
|
+
*/
|
|
240
|
+
env?: string;
|
|
237
241
|
/**
|
|
238
242
|
* Fully resolved option bag used to compute this context.
|
|
239
243
|
*/
|
package/dist/plugins-init.mjs
CHANGED
package/dist/plugins.d.ts
CHANGED
|
@@ -234,6 +234,10 @@ type ScriptsTable<TShell extends string | boolean = string | boolean> = Record<s
|
|
|
234
234
|
* @public
|
|
235
235
|
*/
|
|
236
236
|
interface GetDotenvCliCtx<TOptions extends GetDotenvOptions = GetDotenvOptions> {
|
|
237
|
+
/**
|
|
238
|
+
* Effective environment name after resolution (explicit -e \> defaultEnvKey \> defaultEnv).
|
|
239
|
+
*/
|
|
240
|
+
env?: string;
|
|
237
241
|
/**
|
|
238
242
|
* Fully resolved option bag used to compute this context.
|
|
239
243
|
*/
|
package/dist/plugins.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { awsPlugin, getAwsRegion } from './plugins-aws.mjs';
|
|
2
|
-
export { R as awsWhoamiPlugin } from './chunks/index-
|
|
2
|
+
export { R as awsWhoamiPlugin } from './chunks/index-BuxEK_Z4.mjs';
|
|
3
3
|
export { batchPlugin } from './plugins-batch.mjs';
|
|
4
|
-
export { c as cmdPlugin } from './chunks/index-
|
|
4
|
+
export { c as cmdPlugin } from './chunks/index-Dd6S1nZ-.mjs';
|
|
5
5
|
export { initPlugin } from './plugins-init.mjs';
|
|
6
|
-
import './chunks/readMergedOptions-
|
|
6
|
+
import './chunks/readMergedOptions-CraAnYdB.mjs';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import '@commander-js/extra-typings';
|
|
9
9
|
import './chunks/readDotenvCascade-Dgx4SC1p.mjs';
|
|
@@ -31,6 +31,6 @@ import 'node:https';
|
|
|
31
31
|
import 'node:process';
|
|
32
32
|
import './chunks/invoke-DuRPU1oC.mjs';
|
|
33
33
|
import 'globby';
|
|
34
|
-
import './chunks/resolveCliOptions-
|
|
34
|
+
import './chunks/resolveCliOptions-BMBkWDYJ.mjs';
|
|
35
35
|
import 'readline/promises';
|
|
36
36
|
import 'node:url';
|
package/package.json
CHANGED
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
]
|
|
193
193
|
},
|
|
194
194
|
"npm": {
|
|
195
|
-
"publish":
|
|
195
|
+
"publish": true
|
|
196
196
|
}
|
|
197
197
|
},
|
|
198
198
|
"repository": {
|
|
@@ -221,5 +221,5 @@
|
|
|
221
221
|
},
|
|
222
222
|
"type": "module",
|
|
223
223
|
"types": "dist/index.d.ts",
|
|
224
|
-
"version": "7.0.
|
|
224
|
+
"version": "7.0.5"
|
|
225
225
|
}
|