mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-09-05 06:25:08 +09:00
chore: Update dist
This commit is contained in:
+13
-13
@@ -222,7 +222,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
|
|
||||||
The following npm package may be included in this product:
|
The following npm package may be included in this product:
|
||||||
|
|
||||||
- @aws-sdk/client-sts@3.1111.0
|
- @aws-sdk/client-sts@3.1116.0
|
||||||
|
|
||||||
This package contains the following license:
|
This package contains the following license:
|
||||||
|
|
||||||
@@ -432,7 +432,7 @@ Apache License
|
|||||||
|
|
||||||
The following npm packages may be included in this product:
|
The following npm packages may be included in this product:
|
||||||
|
|
||||||
- @aws-sdk/signature-v4-multi-region@3.996.45
|
- @aws-sdk/signature-v4-multi-region@3.996.46
|
||||||
- @smithy/core@3.33.3
|
- @smithy/core@3.33.3
|
||||||
- @smithy/types@4.17.2
|
- @smithy/types@4.17.2
|
||||||
|
|
||||||
@@ -1043,13 +1043,13 @@ Apache License
|
|||||||
The following npm packages may be included in this product:
|
The following npm packages may be included in this product:
|
||||||
|
|
||||||
- @aws-sdk/credential-provider-env@3.972.70
|
- @aws-sdk/credential-provider-env@3.972.70
|
||||||
- @aws-sdk/credential-provider-ini@3.973.14
|
- @aws-sdk/credential-provider-ini@3.973.15
|
||||||
- @aws-sdk/credential-provider-node@3.972.80
|
- @aws-sdk/credential-provider-node@3.972.81
|
||||||
- @aws-sdk/token-providers@3.1111.0
|
- @aws-sdk/token-providers@3.1116.0
|
||||||
- @aws-sdk/types@3.974.5
|
- @aws-sdk/types@3.974.5
|
||||||
- @aws-sdk/xml-builder@3.972.40
|
- @aws-sdk/xml-builder@3.972.40
|
||||||
- @smithy/credential-provider-imds@4.5.0
|
- @smithy/credential-provider-imds@4.5.2
|
||||||
- @smithy/fetch-http-handler@5.7.0
|
- @smithy/fetch-http-handler@5.7.2
|
||||||
- @smithy/node-http-handler@4.11.3
|
- @smithy/node-http-handler@4.11.3
|
||||||
- @smithy/signature-v4@5.6.12
|
- @smithy/signature-v4@5.6.12
|
||||||
|
|
||||||
@@ -1261,9 +1261,9 @@ Apache License
|
|||||||
|
|
||||||
The following npm packages may be included in this product:
|
The following npm packages may be included in this product:
|
||||||
|
|
||||||
- @aws-sdk/credential-provider-process@3.972.69
|
- @aws-sdk/credential-provider-process@3.972.70
|
||||||
- @aws-sdk/credential-provider-sso@3.973.13
|
- @aws-sdk/credential-provider-sso@3.973.14
|
||||||
- @aws-sdk/credential-provider-web-identity@3.972.75
|
- @aws-sdk/credential-provider-web-identity@3.972.76
|
||||||
|
|
||||||
These packages each contain the following license:
|
These packages each contain the following license:
|
||||||
|
|
||||||
@@ -1473,9 +1473,9 @@ Apache License
|
|||||||
|
|
||||||
The following npm packages may be included in this product:
|
The following npm packages may be included in this product:
|
||||||
|
|
||||||
- @aws-sdk/credential-provider-http@3.972.71
|
- @aws-sdk/credential-provider-http@3.972.72
|
||||||
- @aws-sdk/credential-provider-login@3.972.76
|
- @aws-sdk/credential-provider-login@3.972.77
|
||||||
- @aws-sdk/nested-clients@3.997.43
|
- @aws-sdk/nested-clients@3.997.44
|
||||||
|
|
||||||
These packages each contain the following license:
|
These packages each contain the following license:
|
||||||
|
|
||||||
|
|||||||
+17
-13
@@ -34913,7 +34913,7 @@ var init_package = __esm({
|
|||||||
"node_modules/@aws-sdk/nested-clients/package.json"() {
|
"node_modules/@aws-sdk/nested-clients/package.json"() {
|
||||||
package_default = {
|
package_default = {
|
||||||
name: "@aws-sdk/nested-clients",
|
name: "@aws-sdk/nested-clients",
|
||||||
version: "3.997.43",
|
version: "3.997.44",
|
||||||
description: "Nested clients for AWS SDK packages.",
|
description: "Nested clients for AWS SDK packages.",
|
||||||
homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",
|
homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",
|
||||||
license: "Apache-2.0",
|
license: "Apache-2.0",
|
||||||
@@ -35013,13 +35013,13 @@ var init_package = __esm({
|
|||||||
"test:watch": "yarn g:vitest watch"
|
"test:watch": "yarn g:vitest watch"
|
||||||
},
|
},
|
||||||
dependencies: {
|
dependencies: {
|
||||||
"@aws-sdk/core": "^3.977.8",
|
"@aws-sdk/core": "^3.977.9",
|
||||||
"@aws-sdk/signature-v4-multi-region": "^3.996.45",
|
"@aws-sdk/signature-v4-multi-region": "^3.996.46",
|
||||||
"@aws-sdk/types": "^3.974.4",
|
"@aws-sdk/types": "^3.974.5",
|
||||||
"@smithy/core": "^3.31.1",
|
"@smithy/core": "^3.33.3",
|
||||||
"@smithy/fetch-http-handler": "^5.6.13",
|
"@smithy/fetch-http-handler": "^5.7.2",
|
||||||
"@smithy/node-http-handler": "^4.9.13",
|
"@smithy/node-http-handler": "^4.11.3",
|
||||||
"@smithy/types": "^4.16.1",
|
"@smithy/types": "^4.17.2",
|
||||||
tslib: "^2.6.2"
|
tslib: "^2.6.2"
|
||||||
},
|
},
|
||||||
devDependencies: {
|
devDependencies: {
|
||||||
@@ -40890,7 +40890,7 @@ var require_dist_cjs9 = __commonJS({
|
|||||||
const tokenString = JSON.stringify(ssoToken, null, 2);
|
const tokenString = JSON.stringify(ssoToken, null, 2);
|
||||||
return writeFile2(tokenFilepath, tokenString);
|
return writeFile2(tokenFilepath, tokenString);
|
||||||
};
|
};
|
||||||
var lastRefreshAttemptTime = /* @__PURE__ */ new Date(0);
|
var lastRefreshAttemptTimes = /* @__PURE__ */ new Map();
|
||||||
var fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
|
var fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
|
||||||
init.logger?.debug("@aws-sdk/token-providers - fromSso");
|
init.logger?.debug("@aws-sdk/token-providers - fromSso");
|
||||||
const profiles = await parseKnownFiles2(init);
|
const profiles = await parseKnownFiles2(init);
|
||||||
@@ -40925,11 +40925,15 @@ var require_dist_cjs9 = __commonJS({
|
|||||||
validateTokenKey("accessToken", ssoToken.accessToken);
|
validateTokenKey("accessToken", ssoToken.accessToken);
|
||||||
validateTokenKey("expiresAt", ssoToken.expiresAt);
|
validateTokenKey("expiresAt", ssoToken.expiresAt);
|
||||||
const { accessToken, expiresAt } = ssoToken;
|
const { accessToken, expiresAt } = ssoToken;
|
||||||
const existingToken = { token: accessToken, expiration: new Date(expiresAt) };
|
const existingToken = {
|
||||||
|
token: accessToken,
|
||||||
|
expiration: new Date(expiresAt)
|
||||||
|
};
|
||||||
if (existingToken.expiration.getTime() - Date.now() > EXPIRE_WINDOW_MS) {
|
if (existingToken.expiration.getTime() - Date.now() > EXPIRE_WINDOW_MS) {
|
||||||
return existingToken;
|
return existingToken;
|
||||||
}
|
}
|
||||||
if (Date.now() - lastRefreshAttemptTime.getTime() < 30 * 1e3) {
|
const lastRefreshAttemptTime = lastRefreshAttemptTimes.get(ssoSessionName) ?? 0;
|
||||||
|
if (Date.now() - lastRefreshAttemptTime < 30 * 1e3) {
|
||||||
validateTokenExpiry(existingToken);
|
validateTokenExpiry(existingToken);
|
||||||
return existingToken;
|
return existingToken;
|
||||||
}
|
}
|
||||||
@@ -40937,7 +40941,7 @@ var require_dist_cjs9 = __commonJS({
|
|||||||
validateTokenKey("clientSecret", ssoToken.clientSecret, true);
|
validateTokenKey("clientSecret", ssoToken.clientSecret, true);
|
||||||
validateTokenKey("refreshToken", ssoToken.refreshToken, true);
|
validateTokenKey("refreshToken", ssoToken.refreshToken, true);
|
||||||
try {
|
try {
|
||||||
lastRefreshAttemptTime.setTime(Date.now());
|
lastRefreshAttemptTimes.set(ssoSessionName, Date.now());
|
||||||
const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init, callerClientConfig);
|
const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init, callerClientConfig);
|
||||||
validateTokenKey("accessToken", newSsoOidcToken.accessToken);
|
validateTokenKey("accessToken", newSsoOidcToken.accessToken);
|
||||||
validateTokenKey("expiresIn", newSsoOidcToken.expiresIn);
|
validateTokenKey("expiresIn", newSsoOidcToken.expiresIn);
|
||||||
@@ -45084,7 +45088,7 @@ var require_dist_cjs16 = __commonJS({
|
|||||||
Region: { type: "builtInParams", name: "region" },
|
Region: { type: "builtInParams", name: "region" },
|
||||||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
||||||
};
|
};
|
||||||
var version = "3.1110.0";
|
var version = "3.1115.0";
|
||||||
var packageInfo = {
|
var packageInfo = {
|
||||||
version
|
version
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user