@cdklabs/cdk-ecs-codedeploy 0.0.354 → 0.0.356
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/.jsii +3 -3
- package/lib/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeployClient.d.ts +18 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/CodeDeployClient.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/package.json +14 -14
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +18 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/package.json +11 -11
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +18 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +13 -13
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +18 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/package.json +13 -13
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +11 -10
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +10 -9
- package/node_modules/@aws-sdk/core/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +30 -14
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js +11 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +13 -10
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +3 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +4 -7
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -10
- package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +8 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/fromProcess.d.ts +2 -3
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/fromProcess.d.ts +5 -3
- package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +2 -3
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/fromSSO.d.ts +5 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +5 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js +5 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromWebToken.d.ts +3 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromWebToken.d.ts +5 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
- package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +11 -2
- package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +11 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +5 -2
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +0 -1
- package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +37 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +12 -0
- package/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +3 -3
- package/package.json +5 -5
|
@@ -100,28 +100,31 @@ var isCredentialSourceProfile = /* @__PURE__ */ __name((arg, { profile, logger }
|
|
|
100
100
|
return withProviderProfile;
|
|
101
101
|
}, "isCredentialSourceProfile");
|
|
102
102
|
var resolveAssumeRoleCredentials = /* @__PURE__ */ __name(async (profileName, profiles, options, visitedProfiles = {}) => {
|
|
103
|
-
var _a, _b;
|
|
103
|
+
var _a, _b, _c;
|
|
104
104
|
(_a = options.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");
|
|
105
|
-
const
|
|
105
|
+
const profileData = profiles[profileName];
|
|
106
|
+
const { source_profile, region } = profileData;
|
|
106
107
|
if (!options.roleAssumer) {
|
|
107
108
|
const { getDefaultRoleAssumer } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/client-sts")));
|
|
108
109
|
options.roleAssumer = getDefaultRoleAssumer(
|
|
109
110
|
{
|
|
110
111
|
...options.clientConfig,
|
|
111
112
|
credentialProviderLogger: options.logger,
|
|
112
|
-
parentClientConfig:
|
|
113
|
+
parentClientConfig: {
|
|
114
|
+
...options == null ? void 0 : options.parentClientConfig,
|
|
115
|
+
region: region ?? ((_b = options == null ? void 0 : options.parentClientConfig) == null ? void 0 : _b.region)
|
|
116
|
+
}
|
|
113
117
|
},
|
|
114
118
|
options.clientPlugins
|
|
115
119
|
);
|
|
116
120
|
}
|
|
117
|
-
const { source_profile } = data;
|
|
118
121
|
if (source_profile && source_profile in visitedProfiles) {
|
|
119
122
|
throw new import_property_provider.CredentialsProviderError(
|
|
120
123
|
`Detected a cycle attempting to resolve credentials for profile ${(0, import_shared_ini_file_loader.getProfileName)(options)}. Profiles visited: ` + Object.keys(visitedProfiles).join(", "),
|
|
121
124
|
{ logger: options.logger }
|
|
122
125
|
);
|
|
123
126
|
}
|
|
124
|
-
(
|
|
127
|
+
(_c = options.logger) == null ? void 0 : _c.debug(
|
|
125
128
|
`@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`
|
|
126
129
|
);
|
|
127
130
|
const sourceCredsProvider = source_profile ? resolveProfileData(
|
|
@@ -133,17 +136,17 @@ var resolveAssumeRoleCredentials = /* @__PURE__ */ __name(async (profileName, pr
|
|
|
133
136
|
[source_profile]: true
|
|
134
137
|
},
|
|
135
138
|
isCredentialSourceWithoutRoleArn(profiles[source_profile] ?? {})
|
|
136
|
-
) : (await resolveCredentialSource(
|
|
137
|
-
if (isCredentialSourceWithoutRoleArn(
|
|
139
|
+
) : (await resolveCredentialSource(profileData.credential_source, profileName, options.logger)(options))();
|
|
140
|
+
if (isCredentialSourceWithoutRoleArn(profileData)) {
|
|
138
141
|
return sourceCredsProvider.then((creds) => (0, import_client.setCredentialFeature)(creds, "CREDENTIALS_PROFILE_SOURCE_PROFILE", "o"));
|
|
139
142
|
} else {
|
|
140
143
|
const params = {
|
|
141
|
-
RoleArn:
|
|
142
|
-
RoleSessionName:
|
|
143
|
-
ExternalId:
|
|
144
|
-
DurationSeconds: parseInt(
|
|
144
|
+
RoleArn: profileData.role_arn,
|
|
145
|
+
RoleSessionName: profileData.role_session_name || `aws-sdk-js-${Date.now()}`,
|
|
146
|
+
ExternalId: profileData.external_id,
|
|
147
|
+
DurationSeconds: parseInt(profileData.duration_seconds || "3600", 10)
|
|
145
148
|
};
|
|
146
|
-
const { mfa_serial } =
|
|
149
|
+
const { mfa_serial } = profileData;
|
|
147
150
|
if (mfa_serial) {
|
|
148
151
|
if (!options.mfaCodeProvider) {
|
|
149
152
|
throw new import_property_provider.CredentialsProviderError(
|
|
@@ -251,11 +254,24 @@ var resolveProfileData = /* @__PURE__ */ __name(async (profileName, profiles, op
|
|
|
251
254
|
}, "resolveProfileData");
|
|
252
255
|
|
|
253
256
|
// src/fromIni.ts
|
|
254
|
-
var fromIni = /* @__PURE__ */ __name((
|
|
257
|
+
var fromIni = /* @__PURE__ */ __name((_init = {}) => async ({ callerClientConfig } = {}) => {
|
|
255
258
|
var _a;
|
|
259
|
+
const init = {
|
|
260
|
+
..._init,
|
|
261
|
+
parentClientConfig: {
|
|
262
|
+
...callerClientConfig,
|
|
263
|
+
..._init.parentClientConfig
|
|
264
|
+
}
|
|
265
|
+
};
|
|
256
266
|
(_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-ini - fromIni");
|
|
257
267
|
const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);
|
|
258
|
-
return resolveProfileData(
|
|
268
|
+
return resolveProfileData(
|
|
269
|
+
(0, import_shared_ini_file_loader.getProfileName)({
|
|
270
|
+
profile: _init.profile ?? (callerClientConfig == null ? void 0 : callerClientConfig.profile)
|
|
271
|
+
}),
|
|
272
|
+
profiles,
|
|
273
|
+
init
|
|
274
|
+
);
|
|
259
275
|
}, "fromIni");
|
|
260
276
|
// Annotate the CommonJS export names for ESM import in node:
|
|
261
277
|
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import { getProfileName, parseKnownFiles } from "@smithy/shared-ini-file-loader";
|
|
2
2
|
import { resolveProfileData } from "./resolveProfileData";
|
|
3
|
-
export const fromIni = (
|
|
3
|
+
export const fromIni = (_init = {}) => async ({ callerClientConfig } = {}) => {
|
|
4
|
+
const init = {
|
|
5
|
+
..._init,
|
|
6
|
+
parentClientConfig: {
|
|
7
|
+
...callerClientConfig,
|
|
8
|
+
..._init.parentClientConfig,
|
|
9
|
+
},
|
|
10
|
+
};
|
|
4
11
|
init.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");
|
|
5
12
|
const profiles = await parseKnownFiles(init);
|
|
6
|
-
return resolveProfileData(getProfileName(
|
|
13
|
+
return resolveProfileData(getProfileName({
|
|
14
|
+
profile: _init.profile ?? callerClientConfig?.profile,
|
|
15
|
+
}), profiles, init);
|
|
7
16
|
};
|
package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js
CHANGED
|
@@ -28,16 +28,19 @@ const isCredentialSourceProfile = (arg, { profile, logger }) => {
|
|
|
28
28
|
};
|
|
29
29
|
export const resolveAssumeRoleCredentials = async (profileName, profiles, options, visitedProfiles = {}) => {
|
|
30
30
|
options.logger?.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");
|
|
31
|
-
const
|
|
31
|
+
const profileData = profiles[profileName];
|
|
32
|
+
const { source_profile, region } = profileData;
|
|
32
33
|
if (!options.roleAssumer) {
|
|
33
34
|
const { getDefaultRoleAssumer } = await import("@aws-sdk/client-sts");
|
|
34
35
|
options.roleAssumer = getDefaultRoleAssumer({
|
|
35
36
|
...options.clientConfig,
|
|
36
37
|
credentialProviderLogger: options.logger,
|
|
37
|
-
parentClientConfig:
|
|
38
|
+
parentClientConfig: {
|
|
39
|
+
...options?.parentClientConfig,
|
|
40
|
+
region: region ?? options?.parentClientConfig?.region,
|
|
41
|
+
},
|
|
38
42
|
}, options.clientPlugins);
|
|
39
43
|
}
|
|
40
|
-
const { source_profile } = data;
|
|
41
44
|
if (source_profile && source_profile in visitedProfiles) {
|
|
42
45
|
throw new CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile` +
|
|
43
46
|
` ${getProfileName(options)}. Profiles visited: ` +
|
|
@@ -49,18 +52,18 @@ export const resolveAssumeRoleCredentials = async (profileName, profiles, option
|
|
|
49
52
|
...visitedProfiles,
|
|
50
53
|
[source_profile]: true,
|
|
51
54
|
}, isCredentialSourceWithoutRoleArn(profiles[source_profile] ?? {}))
|
|
52
|
-
: (await resolveCredentialSource(
|
|
53
|
-
if (isCredentialSourceWithoutRoleArn(
|
|
55
|
+
: (await resolveCredentialSource(profileData.credential_source, profileName, options.logger)(options))();
|
|
56
|
+
if (isCredentialSourceWithoutRoleArn(profileData)) {
|
|
54
57
|
return sourceCredsProvider.then((creds) => setCredentialFeature(creds, "CREDENTIALS_PROFILE_SOURCE_PROFILE", "o"));
|
|
55
58
|
}
|
|
56
59
|
else {
|
|
57
60
|
const params = {
|
|
58
|
-
RoleArn:
|
|
59
|
-
RoleSessionName:
|
|
60
|
-
ExternalId:
|
|
61
|
-
DurationSeconds: parseInt(
|
|
61
|
+
RoleArn: profileData.role_arn,
|
|
62
|
+
RoleSessionName: profileData.role_session_name || `aws-sdk-js-${Date.now()}`,
|
|
63
|
+
ExternalId: profileData.external_id,
|
|
64
|
+
DurationSeconds: parseInt(profileData.duration_seconds || "3600", 10),
|
|
62
65
|
};
|
|
63
|
-
const { mfa_serial } =
|
|
66
|
+
const { mfa_serial } = profileData;
|
|
64
67
|
if (mfa_serial) {
|
|
65
68
|
if (!options.mfaCodeProvider) {
|
|
66
69
|
throw new CredentialsProviderError(`Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`, { logger: options.logger, tryNextLink: false });
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { AssumeRoleWithWebIdentityParams } from "@aws-sdk/credential-provider-web-identity";
|
|
2
2
|
import type { CredentialProviderOptions } from "@aws-sdk/types";
|
|
3
|
+
import type { RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types";
|
|
3
4
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
4
|
-
import type { AwsCredentialIdentity,
|
|
5
|
+
import type { AwsCredentialIdentity, Pluggable } from "@smithy/types";
|
|
5
6
|
import { AssumeRoleParams } from "./resolveAssumeRoleCredentials";
|
|
6
7
|
/**
|
|
7
8
|
* @public
|
|
@@ -46,4 +47,4 @@ export interface FromIniInit extends SourceProfileInit, CredentialProviderOption
|
|
|
46
47
|
* Creates a credential provider that will read from ini files and supports
|
|
47
48
|
* role assumption and multi-factor authentication.
|
|
48
49
|
*/
|
|
49
|
-
export declare const fromIni: (
|
|
50
|
+
export declare const fromIni: (_init?: FromIniInit) => RuntimeConfigAwsCredentialIdentityProvider;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { AssumeRoleWithWebIdentityParams } from "@aws-sdk/credential-provider-web-identity";
|
|
2
2
|
import { CredentialProviderOptions } from "@aws-sdk/types";
|
|
3
|
+
import { RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types";
|
|
3
4
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
4
|
-
import {
|
|
5
|
-
AwsCredentialIdentity,
|
|
6
|
-
AwsCredentialIdentityProvider,
|
|
7
|
-
Pluggable,
|
|
8
|
-
} from "@smithy/types";
|
|
5
|
+
import { AwsCredentialIdentity, Pluggable } from "@smithy/types";
|
|
9
6
|
import { AssumeRoleParams } from "./resolveAssumeRoleCredentials";
|
|
10
7
|
export interface FromIniInit
|
|
11
8
|
extends SourceProfileInit,
|
|
@@ -22,5 +19,5 @@ export interface FromIniInit
|
|
|
22
19
|
clientPlugins?: Pluggable<any, any>[];
|
|
23
20
|
}
|
|
24
21
|
export declare const fromIni: (
|
|
25
|
-
|
|
26
|
-
) =>
|
|
22
|
+
_init?: FromIniInit
|
|
23
|
+
) => RuntimeConfigAwsCredentialIdentityProvider;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.714.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",
|
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
14
14
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
15
15
|
"test": "yarn g:vitest run",
|
|
16
|
-
"test:watch": "yarn g:vitest watch"
|
|
16
|
+
"test:watch": "yarn g:vitest watch",
|
|
17
|
+
"test:integration": "yarn g:vitest run -c vitest.config.integ.ts",
|
|
18
|
+
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.ts"
|
|
17
19
|
},
|
|
18
20
|
"keywords": [
|
|
19
21
|
"aws",
|
|
@@ -25,13 +27,13 @@
|
|
|
25
27
|
},
|
|
26
28
|
"license": "Apache-2.0",
|
|
27
29
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/core": "3.
|
|
29
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
30
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
31
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
33
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
34
|
-
"@aws-sdk/types": "3.
|
|
30
|
+
"@aws-sdk/core": "3.714.0",
|
|
31
|
+
"@aws-sdk/credential-provider-env": "3.714.0",
|
|
32
|
+
"@aws-sdk/credential-provider-http": "3.714.0",
|
|
33
|
+
"@aws-sdk/credential-provider-process": "3.714.0",
|
|
34
|
+
"@aws-sdk/credential-provider-sso": "3.714.0",
|
|
35
|
+
"@aws-sdk/credential-provider-web-identity": "3.714.0",
|
|
36
|
+
"@aws-sdk/types": "3.714.0",
|
|
35
37
|
"@smithy/credential-provider-imds": "^3.2.8",
|
|
36
38
|
"@smithy/property-provider": "^3.1.11",
|
|
37
39
|
"@smithy/shared-ini-file-loader": "^3.1.12",
|
|
@@ -47,7 +49,7 @@
|
|
|
47
49
|
"typescript": "~4.9.5"
|
|
48
50
|
},
|
|
49
51
|
"peerDependencies": {
|
|
50
|
-
"@aws-sdk/client-sts": "^3.
|
|
52
|
+
"@aws-sdk/client-sts": "^3.714.0"
|
|
51
53
|
},
|
|
52
54
|
"types": "./dist-types/index.d.ts",
|
|
53
55
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.714.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=16.0.0"
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
17
17
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
18
18
|
"test": "yarn g:vitest run",
|
|
19
|
-
"test:integration": "jest -c jest.config.integ.js",
|
|
19
|
+
"test:integration": "yarn g:jest -c jest.config.integ.js",
|
|
20
20
|
"test:watch": "yarn g:vitest watch"
|
|
21
21
|
},
|
|
22
22
|
"keywords": [
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
},
|
|
30
30
|
"license": "Apache-2.0",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
33
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
34
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
35
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
36
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
37
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
38
|
-
"@aws-sdk/types": "3.
|
|
32
|
+
"@aws-sdk/credential-provider-env": "3.714.0",
|
|
33
|
+
"@aws-sdk/credential-provider-http": "3.714.0",
|
|
34
|
+
"@aws-sdk/credential-provider-ini": "3.714.0",
|
|
35
|
+
"@aws-sdk/credential-provider-process": "3.714.0",
|
|
36
|
+
"@aws-sdk/credential-provider-sso": "3.714.0",
|
|
37
|
+
"@aws-sdk/credential-provider-web-identity": "3.714.0",
|
|
38
|
+
"@aws-sdk/types": "3.714.0",
|
|
39
39
|
"@smithy/credential-provider-imds": "^3.2.8",
|
|
40
40
|
"@smithy/property-provider": "^3.1.11",
|
|
41
41
|
"@smithy/shared-ini-file-loader": "^3.1.12",
|
|
@@ -96,11 +96,17 @@ var resolveProcessCredentials = /* @__PURE__ */ __name(async (profileName, profi
|
|
|
96
96
|
}, "resolveProcessCredentials");
|
|
97
97
|
|
|
98
98
|
// src/fromProcess.ts
|
|
99
|
-
var fromProcess = /* @__PURE__ */ __name((init = {}) => async () => {
|
|
99
|
+
var fromProcess = /* @__PURE__ */ __name((init = {}) => async ({ callerClientConfig } = {}) => {
|
|
100
100
|
var _a;
|
|
101
101
|
(_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-process - fromProcess");
|
|
102
102
|
const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);
|
|
103
|
-
return resolveProcessCredentials(
|
|
103
|
+
return resolveProcessCredentials(
|
|
104
|
+
(0, import_shared_ini_file_loader.getProfileName)({
|
|
105
|
+
profile: init.profile ?? (callerClientConfig == null ? void 0 : callerClientConfig.profile)
|
|
106
|
+
}),
|
|
107
|
+
profiles,
|
|
108
|
+
init.logger
|
|
109
|
+
);
|
|
104
110
|
}, "fromProcess");
|
|
105
111
|
// Annotate the CommonJS export names for ESM import in node:
|
|
106
112
|
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { getProfileName, parseKnownFiles } from "@smithy/shared-ini-file-loader";
|
|
2
2
|
import { resolveProcessCredentials } from "./resolveProcessCredentials";
|
|
3
|
-
export const fromProcess = (init = {}) => async () => {
|
|
3
|
+
export const fromProcess = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
4
4
|
init.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");
|
|
5
5
|
const profiles = await parseKnownFiles(init);
|
|
6
|
-
return resolveProcessCredentials(getProfileName(
|
|
6
|
+
return resolveProcessCredentials(getProfileName({
|
|
7
|
+
profile: init.profile ?? callerClientConfig?.profile,
|
|
8
|
+
}), profiles, init.logger);
|
|
7
9
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type { CredentialProviderOptions } from "@aws-sdk/types";
|
|
1
|
+
import type { CredentialProviderOptions, RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types";
|
|
2
2
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
3
|
-
import { AwsCredentialIdentityProvider } from "@smithy/types";
|
|
4
3
|
/**
|
|
5
4
|
* @internal
|
|
6
5
|
*/
|
|
@@ -12,4 +11,4 @@ export interface FromProcessInit extends SourceProfileInit, CredentialProviderOp
|
|
|
12
11
|
* Creates a credential provider that will read from a credential_process specified
|
|
13
12
|
* in ini files.
|
|
14
13
|
*/
|
|
15
|
-
export declare const fromProcess: (init?: FromProcessInit) =>
|
|
14
|
+
export declare const fromProcess: (init?: FromProcessInit) => RuntimeConfigAwsCredentialIdentityProvider;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
CredentialProviderOptions,
|
|
3
|
+
RuntimeConfigAwsCredentialIdentityProvider,
|
|
4
|
+
} from "@aws-sdk/types";
|
|
2
5
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
3
|
-
import { AwsCredentialIdentityProvider } from "@smithy/types";
|
|
4
6
|
export interface FromProcessInit
|
|
5
7
|
extends SourceProfileInit,
|
|
6
8
|
CredentialProviderOptions {}
|
|
7
9
|
export declare const fromProcess: (
|
|
8
10
|
init?: FromProcessInit
|
|
9
|
-
) =>
|
|
11
|
+
) => RuntimeConfigAwsCredentialIdentityProvider;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.714.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",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/core": "3.
|
|
29
|
-
"@aws-sdk/types": "3.
|
|
28
|
+
"@aws-sdk/core": "3.714.0",
|
|
29
|
+
"@aws-sdk/types": "3.714.0",
|
|
30
30
|
"@smithy/property-provider": "^3.1.11",
|
|
31
31
|
"@smithy/shared-ini-file-loader": "^3.1.12",
|
|
32
32
|
"@smithy/types": "^3.7.2",
|
|
@@ -165,12 +165,14 @@ Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.ht
|
|
|
165
165
|
}, "validateSsoProfile");
|
|
166
166
|
|
|
167
167
|
// src/fromSSO.ts
|
|
168
|
-
var fromSSO = /* @__PURE__ */ __name((init = {}) => async () => {
|
|
168
|
+
var fromSSO = /* @__PURE__ */ __name((init = {}) => async ({ callerClientConfig } = {}) => {
|
|
169
169
|
var _a;
|
|
170
170
|
(_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-sso - fromSSO");
|
|
171
171
|
const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
|
|
172
172
|
const { ssoClient } = init;
|
|
173
|
-
const profileName = (0, import_shared_ini_file_loader.getProfileName)(
|
|
173
|
+
const profileName = (0, import_shared_ini_file_loader.getProfileName)({
|
|
174
|
+
profile: init.profile ?? (callerClientConfig == null ? void 0 : callerClientConfig.profile)
|
|
175
|
+
});
|
|
174
176
|
if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
|
|
175
177
|
const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);
|
|
176
178
|
const profile = profiles[profileName];
|
|
@@ -3,11 +3,13 @@ import { getProfileName, loadSsoSessionData, parseKnownFiles } from "@smithy/sha
|
|
|
3
3
|
import { isSsoProfile } from "./isSsoProfile";
|
|
4
4
|
import { resolveSSOCredentials } from "./resolveSSOCredentials";
|
|
5
5
|
import { validateSsoProfile } from "./validateSsoProfile";
|
|
6
|
-
export const fromSSO = (init = {}) => async () => {
|
|
6
|
+
export const fromSSO = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
7
7
|
init.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");
|
|
8
8
|
const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
|
|
9
9
|
const { ssoClient } = init;
|
|
10
|
-
const profileName = getProfileName(
|
|
10
|
+
const profileName = getProfileName({
|
|
11
|
+
profile: init.profile ?? callerClientConfig?.profile,
|
|
12
|
+
});
|
|
11
13
|
if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
|
|
12
14
|
const profiles = await parseKnownFiles(init);
|
|
13
15
|
const profile = profiles[profileName];
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type { CredentialProviderOptions } from "@aws-sdk/types";
|
|
1
|
+
import type { CredentialProviderOptions, RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types";
|
|
2
2
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
3
|
-
import { AwsCredentialIdentityProvider } from "@smithy/types";
|
|
4
3
|
import type { SSOClient, SSOClientConfig } from "./loadSso";
|
|
5
4
|
/**
|
|
6
5
|
* @internal
|
|
@@ -66,4 +65,4 @@ export interface FromSSOInit extends SourceProfileInit, CredentialProviderOption
|
|
|
66
65
|
* sso_start_url = https://www.....com/start
|
|
67
66
|
* ```
|
|
68
67
|
*/
|
|
69
|
-
export declare const fromSSO: (init?: FromSSOInit & Partial<SsoCredentialsParameters>) =>
|
|
68
|
+
export declare const fromSSO: (init?: FromSSOInit & Partial<SsoCredentialsParameters>) => RuntimeConfigAwsCredentialIdentityProvider;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
CredentialProviderOptions,
|
|
3
|
+
RuntimeConfigAwsCredentialIdentityProvider,
|
|
4
|
+
} from "@aws-sdk/types";
|
|
2
5
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
3
|
-
import { AwsCredentialIdentityProvider } from "@smithy/types";
|
|
4
6
|
import { SSOClient, SSOClientConfig } from "./loadSso";
|
|
5
7
|
export interface SsoCredentialsParameters {
|
|
6
8
|
ssoStartUrl: string;
|
|
@@ -17,4 +19,4 @@ export interface FromSSOInit
|
|
|
17
19
|
}
|
|
18
20
|
export declare const fromSSO: (
|
|
19
21
|
init?: FromSSOInit & Partial<SsoCredentialsParameters>
|
|
20
|
-
) =>
|
|
22
|
+
) => RuntimeConfigAwsCredentialIdentityProvider;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.714.0",
|
|
4
4
|
"description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/client-sso": "3.
|
|
29
|
-
"@aws-sdk/core": "3.
|
|
30
|
-
"@aws-sdk/token-providers": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
28
|
+
"@aws-sdk/client-sso": "3.714.0",
|
|
29
|
+
"@aws-sdk/core": "3.714.0",
|
|
30
|
+
"@aws-sdk/token-providers": "3.714.0",
|
|
31
|
+
"@aws-sdk/types": "3.714.0",
|
|
32
32
|
"@smithy/property-provider": "^3.1.11",
|
|
33
33
|
"@smithy/shared-ini-file-loader": "^3.1.12",
|
|
34
34
|
"@smithy/types": "^3.7.2",
|
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.fromWebToken = void 0;
|
|
27
|
-
const fromWebToken = (init) => async () => {
|
|
27
|
+
const fromWebToken = (init) => async (awsIdentityProperties) => {
|
|
28
28
|
init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");
|
|
29
29
|
const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;
|
|
30
30
|
let { roleAssumerWithWebIdentity } = init;
|
|
@@ -33,7 +33,10 @@ const fromWebToken = (init) => async () => {
|
|
|
33
33
|
roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({
|
|
34
34
|
...init.clientConfig,
|
|
35
35
|
credentialProviderLogger: init.logger,
|
|
36
|
-
parentClientConfig:
|
|
36
|
+
parentClientConfig: {
|
|
37
|
+
...awsIdentityProperties?.callerClientConfig,
|
|
38
|
+
...init.parentClientConfig,
|
|
39
|
+
},
|
|
37
40
|
}, init.clientPlugins);
|
|
38
41
|
}
|
|
39
42
|
return roleAssumerWithWebIdentity({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const fromWebToken = (init) => async () => {
|
|
1
|
+
export const fromWebToken = (init) => async (awsIdentityProperties) => {
|
|
2
2
|
init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");
|
|
3
3
|
const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;
|
|
4
4
|
let { roleAssumerWithWebIdentity } = init;
|
|
@@ -7,7 +7,10 @@ export const fromWebToken = (init) => async () => {
|
|
|
7
7
|
roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({
|
|
8
8
|
...init.clientConfig,
|
|
9
9
|
credentialProviderLogger: init.logger,
|
|
10
|
-
parentClientConfig:
|
|
10
|
+
parentClientConfig: {
|
|
11
|
+
...awsIdentityProperties?.callerClientConfig,
|
|
12
|
+
...init.parentClientConfig,
|
|
13
|
+
},
|
|
11
14
|
}, init.clientPlugins);
|
|
12
15
|
}
|
|
13
16
|
return roleAssumerWithWebIdentity({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { CredentialProviderOptions } from "@aws-sdk/types";
|
|
2
|
-
import type { AwsCredentialIdentity,
|
|
1
|
+
import type { CredentialProviderOptions, RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types";
|
|
2
|
+
import type { AwsCredentialIdentity, Pluggable } from "@smithy/types";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -141,5 +141,5 @@ export interface FromWebTokenInit extends Omit<LowerCaseKey<AssumeRoleWithWebIde
|
|
|
141
141
|
/**
|
|
142
142
|
* @internal
|
|
143
143
|
*/
|
|
144
|
-
export declare const fromWebToken: (init: FromWebTokenInit) =>
|
|
144
|
+
export declare const fromWebToken: (init: FromWebTokenInit) => RuntimeConfigAwsCredentialIdentityProvider;
|
|
145
145
|
export {};
|
package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromWebToken.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { CredentialProviderOptions } from "@aws-sdk/types";
|
|
2
1
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
} from "@smithy/types";
|
|
2
|
+
CredentialProviderOptions,
|
|
3
|
+
RuntimeConfigAwsCredentialIdentityProvider,
|
|
4
|
+
} from "@aws-sdk/types";
|
|
5
|
+
import { AwsCredentialIdentity, Pluggable } from "@smithy/types";
|
|
7
6
|
export interface AssumeRoleWithWebIdentityParams {
|
|
8
7
|
RoleArn: string;
|
|
9
8
|
RoleSessionName: string;
|
|
@@ -36,5 +35,5 @@ export interface FromWebTokenInit
|
|
|
36
35
|
}
|
|
37
36
|
export declare const fromWebToken: (
|
|
38
37
|
init: FromWebTokenInit
|
|
39
|
-
) =>
|
|
38
|
+
) => RuntimeConfigAwsCredentialIdentityProvider;
|
|
40
39
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.714.0",
|
|
4
4
|
"description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
},
|
|
34
34
|
"license": "Apache-2.0",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@aws-sdk/core": "3.
|
|
37
|
-
"@aws-sdk/types": "3.
|
|
36
|
+
"@aws-sdk/core": "3.714.0",
|
|
37
|
+
"@aws-sdk/types": "3.714.0",
|
|
38
38
|
"@smithy/property-provider": "^3.1.11",
|
|
39
39
|
"@smithy/types": "^3.7.2",
|
|
40
40
|
"tslib": "^2.6.2"
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"typescript": "~4.9.5"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@aws-sdk/client-sts": "^3.
|
|
51
|
+
"@aws-sdk/client-sts": "^3.714.0"
|
|
52
52
|
},
|
|
53
53
|
"types": "./dist-types/index.d.ts",
|
|
54
54
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-host-header",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.714.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-host-header",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
26
|
+
"@aws-sdk/types": "3.714.0",
|
|
27
27
|
"@smithy/protocol-http": "^4.1.8",
|
|
28
28
|
"@smithy/types": "^3.7.2",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-logger",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.714.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-logger",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"module": "./dist-es/index.js",
|
|
25
25
|
"types": "./dist-types/index.d.ts",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
27
|
+
"@aws-sdk/types": "3.714.0",
|
|
28
28
|
"@smithy/types": "^3.7.2",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-recursion-detection",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.714.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-recursion-detection",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
26
|
+
"@aws-sdk/types": "3.714.0",
|
|
27
27
|
"@smithy/protocol-http": "^4.1.8",
|
|
28
28
|
"@smithy/types": "^3.7.2",
|
|
29
29
|
"tslib": "^2.6.2"
|