@cdk8s/awscdk-resolver 0.0.662 → 0.0.664
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/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +8 -8
- package/node_modules/@aws-sdk/core/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +8 -8
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +3 -3
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +8 -4
- package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +8 -4
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@smithy/core/dist-cjs/index.js +3 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +126 -39
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +14 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +3 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +3 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +10 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +10 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +16 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +7 -0
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +29 -13
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +12 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +9 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +7 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +44 -15
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +22 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +5 -0
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +6 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +7 -0
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +9 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +5 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/transport/hasOwn.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/transport/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/transport/hasOwn.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/submodules/transport/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/hasOwn.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/index.d.ts +1 -0
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +7 -2
- package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +3 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +3 -0
- package/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +19 -7
- package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +4 -1
- package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +4 -1
- package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +4 -1
- package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +10 -3
- package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +4 -1
- package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +4 -1
- package/node_modules/@smithy/signature-v4/package.json +2 -2
- package/package.json +4 -4
package/.jsii
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"url": "https://aws.amazon.com"
|
|
8
8
|
},
|
|
9
9
|
"bundled": {
|
|
10
|
-
"@aws-sdk/client-cloudformation": "^3.
|
|
10
|
+
"@aws-sdk/client-cloudformation": "^3.1116.0"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"aws-cdk-lib": "^2.195.0",
|
|
@@ -4083,6 +4083,6 @@
|
|
|
4083
4083
|
"symbolId": "src/resolve:AwsCdkResolver"
|
|
4084
4084
|
}
|
|
4085
4085
|
},
|
|
4086
|
-
"version": "0.0.
|
|
4087
|
-
"fingerprint": "
|
|
4086
|
+
"version": "0.0.664",
|
|
4087
|
+
"fingerprint": "cl8V0qXXRKAQd9HFiqhuQ4csK1bsRwD0ihDTa3XBZmQ="
|
|
4088
4088
|
}
|
package/lib/resolve.js
CHANGED
|
@@ -39,7 +39,7 @@ const child_process_1 = require("child_process");
|
|
|
39
39
|
const path = __importStar(require("path"));
|
|
40
40
|
const aws_cdk_lib_1 = require("aws-cdk-lib");
|
|
41
41
|
class AwsCdkResolver {
|
|
42
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.
|
|
42
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.664" };
|
|
43
43
|
resolve(context) {
|
|
44
44
|
if (!aws_cdk_lib_1.Token.isUnresolved(context.value)) {
|
|
45
45
|
return;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudformation",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1116.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudformation",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -48,13 +48,13 @@
|
|
|
48
48
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@aws-sdk/core": "^3.977.
|
|
52
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
53
|
-
"@aws-sdk/types": "^3.974.
|
|
54
|
-
"@smithy/core": "^3.
|
|
55
|
-
"@smithy/fetch-http-handler": "^5.
|
|
56
|
-
"@smithy/node-http-handler": "^4.
|
|
57
|
-
"@smithy/types": "^4.
|
|
51
|
+
"@aws-sdk/core": "^3.977.9",
|
|
52
|
+
"@aws-sdk/credential-provider-node": "^3.972.81",
|
|
53
|
+
"@aws-sdk/types": "^3.974.5",
|
|
54
|
+
"@smithy/core": "^3.33.3",
|
|
55
|
+
"@smithy/fetch-http-handler": "^5.7.2",
|
|
56
|
+
"@smithy/node-http-handler": "^4.11.3",
|
|
57
|
+
"@smithy/types": "^4.17.2",
|
|
58
58
|
"tslib": "^2.6.2"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/core",
|
|
3
|
-
"version": "3.977.
|
|
3
|
+
"version": "3.977.9",
|
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients.",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/core",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -124,12 +124,12 @@
|
|
|
124
124
|
"test:temp:retry": "SMITHY_NEW_RETRIES_2026=true node ./integ/retry.integ.spec && AWS_NEW_RETRIES_2026=true node ./integ/retry.integ.spec && node ./integ/retry.integ.spec"
|
|
125
125
|
},
|
|
126
126
|
"dependencies": {
|
|
127
|
-
"@aws-sdk/types": "^3.974.
|
|
128
|
-
"@aws-sdk/xml-builder": "^3.972.
|
|
127
|
+
"@aws-sdk/types": "^3.974.5",
|
|
128
|
+
"@aws-sdk/xml-builder": "^3.972.40",
|
|
129
129
|
"@aws/lambda-invoke-store": "^0.3.0",
|
|
130
|
-
"@smithy/core": "^3.
|
|
130
|
+
"@smithy/core": "^3.33.3",
|
|
131
131
|
"@smithy/signature-v4": "^5.6.12",
|
|
132
|
-
"@smithy/types": "^4.
|
|
132
|
+
"@smithy/types": "^4.17.2",
|
|
133
133
|
"bowser": "^2.11.0",
|
|
134
134
|
"tslib": "^2.6.2"
|
|
135
135
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-env",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.70",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from known environment variables",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"test:watch": "yarn g:vitest watch"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@aws-sdk/core": "^3.977.
|
|
47
|
-
"@aws-sdk/types": "^3.974.
|
|
48
|
-
"@smithy/core": "^3.
|
|
49
|
-
"@smithy/types": "^4.
|
|
46
|
+
"@aws-sdk/core": "^3.977.9",
|
|
47
|
+
"@aws-sdk/types": "^3.974.5",
|
|
48
|
+
"@smithy/core": "^3.33.3",
|
|
49
|
+
"@smithy/types": "^4.17.2",
|
|
50
50
|
"tslib": "^2.6.2"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-http",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.72",
|
|
4
4
|
"description": "AWS credential provider for containers and HTTP sources",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -53,12 +53,12 @@
|
|
|
53
53
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@aws-sdk/core": "^3.977.
|
|
57
|
-
"@aws-sdk/types": "^3.974.
|
|
58
|
-
"@smithy/core": "^3.
|
|
59
|
-
"@smithy/fetch-http-handler": "^5.
|
|
60
|
-
"@smithy/node-http-handler": "^4.
|
|
61
|
-
"@smithy/types": "^4.
|
|
56
|
+
"@aws-sdk/core": "^3.977.9",
|
|
57
|
+
"@aws-sdk/types": "^3.974.5",
|
|
58
|
+
"@smithy/core": "^3.33.3",
|
|
59
|
+
"@smithy/fetch-http-handler": "^5.7.2",
|
|
60
|
+
"@smithy/node-http-handler": "^4.11.3",
|
|
61
|
+
"@smithy/types": "^4.17.2",
|
|
62
62
|
"tslib": "^2.6.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.973.
|
|
3
|
+
"version": "3.973.15",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -45,18 +45,18 @@
|
|
|
45
45
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@aws-sdk/core": "^3.977.
|
|
49
|
-
"@aws-sdk/credential-provider-env": "^3.972.
|
|
50
|
-
"@aws-sdk/credential-provider-http": "^3.972.
|
|
51
|
-
"@aws-sdk/credential-provider-login": "^3.972.
|
|
52
|
-
"@aws-sdk/credential-provider-process": "^3.972.
|
|
53
|
-
"@aws-sdk/credential-provider-sso": "^3.973.
|
|
54
|
-
"@aws-sdk/credential-provider-web-identity": "^3.972.
|
|
55
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
56
|
-
"@aws-sdk/types": "^3.974.
|
|
57
|
-
"@smithy/core": "^3.
|
|
48
|
+
"@aws-sdk/core": "^3.977.9",
|
|
49
|
+
"@aws-sdk/credential-provider-env": "^3.972.70",
|
|
50
|
+
"@aws-sdk/credential-provider-http": "^3.972.72",
|
|
51
|
+
"@aws-sdk/credential-provider-login": "^3.972.77",
|
|
52
|
+
"@aws-sdk/credential-provider-process": "^3.972.70",
|
|
53
|
+
"@aws-sdk/credential-provider-sso": "^3.973.14",
|
|
54
|
+
"@aws-sdk/credential-provider-web-identity": "^3.972.76",
|
|
55
|
+
"@aws-sdk/nested-clients": "^3.997.44",
|
|
56
|
+
"@aws-sdk/types": "^3.974.5",
|
|
57
|
+
"@smithy/core": "^3.33.3",
|
|
58
58
|
"@smithy/credential-provider-imds": "^4.4.16",
|
|
59
|
-
"@smithy/types": "^4.
|
|
59
|
+
"@smithy/types": "^4.17.2",
|
|
60
60
|
"tslib": "^2.6.2"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-login",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.77",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from aws login cached tokens",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"test:watch": "yarn g:vitest watch"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@aws-sdk/core": "^3.977.
|
|
49
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
50
|
-
"@aws-sdk/types": "^3.974.
|
|
51
|
-
"@smithy/core": "^3.
|
|
52
|
-
"@smithy/types": "^4.
|
|
48
|
+
"@aws-sdk/core": "^3.977.9",
|
|
49
|
+
"@aws-sdk/nested-clients": "^3.997.44",
|
|
50
|
+
"@aws-sdk/types": "^3.974.5",
|
|
51
|
+
"@smithy/core": "^3.33.3",
|
|
52
|
+
"@smithy/types": "^4.17.2",
|
|
53
53
|
"tslib": "^2.6.2"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.81",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -45,16 +45,16 @@
|
|
|
45
45
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@aws-sdk/credential-provider-env": "^3.972.
|
|
49
|
-
"@aws-sdk/credential-provider-http": "^3.972.
|
|
50
|
-
"@aws-sdk/credential-provider-ini": "^3.973.
|
|
51
|
-
"@aws-sdk/credential-provider-process": "^3.972.
|
|
52
|
-
"@aws-sdk/credential-provider-sso": "^3.973.
|
|
53
|
-
"@aws-sdk/credential-provider-web-identity": "^3.972.
|
|
54
|
-
"@aws-sdk/types": "^3.974.
|
|
55
|
-
"@smithy/core": "^3.
|
|
48
|
+
"@aws-sdk/credential-provider-env": "^3.972.70",
|
|
49
|
+
"@aws-sdk/credential-provider-http": "^3.972.72",
|
|
50
|
+
"@aws-sdk/credential-provider-ini": "^3.973.15",
|
|
51
|
+
"@aws-sdk/credential-provider-process": "^3.972.70",
|
|
52
|
+
"@aws-sdk/credential-provider-sso": "^3.973.14",
|
|
53
|
+
"@aws-sdk/credential-provider-web-identity": "^3.972.76",
|
|
54
|
+
"@aws-sdk/types": "^3.974.5",
|
|
55
|
+
"@smithy/core": "^3.33.3",
|
|
56
56
|
"@smithy/credential-provider-imds": "^4.4.16",
|
|
57
|
-
"@smithy/types": "^4.
|
|
57
|
+
"@smithy/types": "^4.17.2",
|
|
58
58
|
"tslib": "^2.6.2"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.70",
|
|
4
4
|
"description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"test:watch": "yarn g:vitest watch"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@aws-sdk/core": "^3.977.
|
|
47
|
-
"@aws-sdk/types": "^3.974.
|
|
48
|
-
"@smithy/core": "^3.
|
|
49
|
-
"@smithy/types": "^4.
|
|
46
|
+
"@aws-sdk/core": "^3.977.9",
|
|
47
|
+
"@aws-sdk/types": "^3.974.5",
|
|
48
|
+
"@smithy/core": "^3.33.3",
|
|
49
|
+
"@smithy/types": "^4.17.2",
|
|
50
50
|
"tslib": "^2.6.2"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
|
3
|
-
"version": "3.973.
|
|
3
|
+
"version": "3.973.14",
|
|
4
4
|
"description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@aws-sdk/core": "^3.977.
|
|
49
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
50
|
-
"@aws-sdk/token-providers": "3.
|
|
51
|
-
"@aws-sdk/types": "^3.974.
|
|
52
|
-
"@smithy/core": "^3.
|
|
53
|
-
"@smithy/types": "^4.
|
|
48
|
+
"@aws-sdk/core": "^3.977.9",
|
|
49
|
+
"@aws-sdk/nested-clients": "^3.997.44",
|
|
50
|
+
"@aws-sdk/token-providers": "3.1116.0",
|
|
51
|
+
"@aws-sdk/types": "^3.974.5",
|
|
52
|
+
"@smithy/core": "^3.33.3",
|
|
53
|
+
"@smithy/types": "^4.17.2",
|
|
54
54
|
"tslib": "^2.6.2"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.76",
|
|
4
4
|
"description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
"test:watch": "yarn g:vitest watch"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@aws-sdk/core": "^3.977.
|
|
54
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
55
|
-
"@aws-sdk/types": "^3.974.
|
|
56
|
-
"@smithy/core": "^3.
|
|
57
|
-
"@smithy/types": "^4.
|
|
53
|
+
"@aws-sdk/core": "^3.977.9",
|
|
54
|
+
"@aws-sdk/nested-clients": "^3.997.44",
|
|
55
|
+
"@aws-sdk/types": "^3.974.5",
|
|
56
|
+
"@smithy/core": "^3.33.3",
|
|
57
|
+
"@smithy/types": "^4.17.2",
|
|
58
58
|
"tslib": "^2.6.2"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.997.
|
|
3
|
+
"version": "3.997.44",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -100,13 +100,13 @@
|
|
|
100
100
|
"test:watch": "yarn g:vitest watch"
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
|
-
"@aws-sdk/core": "^3.977.
|
|
104
|
-
"@aws-sdk/signature-v4-multi-region": "^3.996.
|
|
105
|
-
"@aws-sdk/types": "^3.974.
|
|
106
|
-
"@smithy/core": "^3.
|
|
107
|
-
"@smithy/fetch-http-handler": "^5.
|
|
108
|
-
"@smithy/node-http-handler": "^4.
|
|
109
|
-
"@smithy/types": "^4.
|
|
103
|
+
"@aws-sdk/core": "^3.977.9",
|
|
104
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.46",
|
|
105
|
+
"@aws-sdk/types": "^3.974.5",
|
|
106
|
+
"@smithy/core": "^3.33.3",
|
|
107
|
+
"@smithy/fetch-http-handler": "^5.7.2",
|
|
108
|
+
"@smithy/node-http-handler": "^4.11.3",
|
|
109
|
+
"@smithy/types": "^4.17.2",
|
|
110
110
|
"tslib": "^2.6.2"
|
|
111
111
|
},
|
|
112
112
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/signature-v4-multi-region",
|
|
3
|
-
"version": "3.996.
|
|
3
|
+
"version": "3.996.46",
|
|
4
4
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/signature-v4-multi-region",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"test:browser": "yarn build:browser && yarn g:vitest run -c vitest.config.browser.mts"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@aws-sdk/types": "^3.974.
|
|
45
|
+
"@aws-sdk/types": "^3.974.5",
|
|
46
46
|
"@smithy/signature-v4": "^5.6.12",
|
|
47
|
-
"@smithy/types": "^4.
|
|
47
|
+
"@smithy/types": "^4.17.2",
|
|
48
48
|
"tslib": "^2.6.2"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
@@ -61,7 +61,7 @@ const writeSSOTokenToFile = (id, ssoToken) => {
|
|
|
61
61
|
return writeFile(tokenFilepath, tokenString);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
const
|
|
64
|
+
const lastRefreshAttemptTimes = new Map();
|
|
65
65
|
const fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
66
66
|
init.logger?.debug("@aws-sdk/token-providers - fromSso");
|
|
67
67
|
const profiles = await parseKnownFiles(init);
|
|
@@ -98,11 +98,15 @@ const fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
|
98
98
|
validateTokenKey("accessToken", ssoToken.accessToken);
|
|
99
99
|
validateTokenKey("expiresAt", ssoToken.expiresAt);
|
|
100
100
|
const { accessToken, expiresAt } = ssoToken;
|
|
101
|
-
const existingToken = {
|
|
101
|
+
const existingToken = {
|
|
102
|
+
token: accessToken,
|
|
103
|
+
expiration: new Date(expiresAt),
|
|
104
|
+
};
|
|
102
105
|
if (existingToken.expiration.getTime() - Date.now() > EXPIRE_WINDOW_MS) {
|
|
103
106
|
return existingToken;
|
|
104
107
|
}
|
|
105
|
-
|
|
108
|
+
const lastRefreshAttemptTime = lastRefreshAttemptTimes.get(ssoSessionName) ?? 0;
|
|
109
|
+
if (Date.now() - lastRefreshAttemptTime < 30 * 1000) {
|
|
106
110
|
validateTokenExpiry(existingToken);
|
|
107
111
|
return existingToken;
|
|
108
112
|
}
|
|
@@ -110,7 +114,7 @@ const fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
|
110
114
|
validateTokenKey("clientSecret", ssoToken.clientSecret, true);
|
|
111
115
|
validateTokenKey("refreshToken", ssoToken.refreshToken, true);
|
|
112
116
|
try {
|
|
113
|
-
|
|
117
|
+
lastRefreshAttemptTimes.set(ssoSessionName, Date.now());
|
|
114
118
|
const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init, callerClientConfig);
|
|
115
119
|
validateTokenKey("accessToken", newSsoOidcToken.accessToken);
|
|
116
120
|
validateTokenKey("expiresIn", newSsoOidcToken.expiresIn);
|
|
@@ -4,7 +4,7 @@ import { getNewSsoOidcToken } from "./getNewSsoOidcToken";
|
|
|
4
4
|
import { validateTokenExpiry } from "./validateTokenExpiry";
|
|
5
5
|
import { validateTokenKey } from "./validateTokenKey";
|
|
6
6
|
import { writeSSOTokenToFile } from "./writeSSOTokenToFile";
|
|
7
|
-
const
|
|
7
|
+
const lastRefreshAttemptTimes = new Map();
|
|
8
8
|
export const fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
9
9
|
init.logger?.debug("@aws-sdk/token-providers - fromSso");
|
|
10
10
|
const profiles = await parseKnownFiles(init);
|
|
@@ -41,11 +41,15 @@ export const fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
|
41
41
|
validateTokenKey("accessToken", ssoToken.accessToken);
|
|
42
42
|
validateTokenKey("expiresAt", ssoToken.expiresAt);
|
|
43
43
|
const { accessToken, expiresAt } = ssoToken;
|
|
44
|
-
const existingToken = {
|
|
44
|
+
const existingToken = {
|
|
45
|
+
token: accessToken,
|
|
46
|
+
expiration: new Date(expiresAt),
|
|
47
|
+
};
|
|
45
48
|
if (existingToken.expiration.getTime() - Date.now() > EXPIRE_WINDOW_MS) {
|
|
46
49
|
return existingToken;
|
|
47
50
|
}
|
|
48
|
-
|
|
51
|
+
const lastRefreshAttemptTime = lastRefreshAttemptTimes.get(ssoSessionName) ?? 0;
|
|
52
|
+
if (Date.now() - lastRefreshAttemptTime < 30 * 1000) {
|
|
49
53
|
validateTokenExpiry(existingToken);
|
|
50
54
|
return existingToken;
|
|
51
55
|
}
|
|
@@ -53,7 +57,7 @@ export const fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
|
53
57
|
validateTokenKey("clientSecret", ssoToken.clientSecret, true);
|
|
54
58
|
validateTokenKey("refreshToken", ssoToken.refreshToken, true);
|
|
55
59
|
try {
|
|
56
|
-
|
|
60
|
+
lastRefreshAttemptTimes.set(ssoSessionName, Date.now());
|
|
57
61
|
const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init, callerClientConfig);
|
|
58
62
|
validateTokenKey("accessToken", newSsoOidcToken.accessToken);
|
|
59
63
|
validateTokenKey("expiresIn", newSsoOidcToken.expiresIn);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1116.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@aws-sdk/core": "^3.977.
|
|
52
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
53
|
-
"@aws-sdk/types": "^3.974.
|
|
54
|
-
"@smithy/core": "^3.
|
|
55
|
-
"@smithy/types": "^4.
|
|
51
|
+
"@aws-sdk/core": "^3.977.9",
|
|
52
|
+
"@aws-sdk/nested-clients": "^3.997.44",
|
|
53
|
+
"@aws-sdk/types": "^3.974.5",
|
|
54
|
+
"@smithy/core": "^3.33.3",
|
|
55
|
+
"@smithy/types": "^4.17.2",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/types",
|
|
3
|
-
"version": "3.974.
|
|
3
|
+
"version": "3.974.5",
|
|
4
4
|
"description": "Types for the AWS SDK",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/types",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"test": "tsc -p tsconfig.test.json"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@smithy/types": "^4.
|
|
44
|
+
"@smithy/types": "^4.17.2",
|
|
45
45
|
"tslib": "^2.6.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/xml-builder",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.40",
|
|
4
4
|
"description": "XML utilities for the AWS SDK",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/xml-builder",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"test:fuzz": "jazzer tests/xml-parser.fuzz.js corpus --sync -i xml-parser -- -max_total_time=300"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@smithy/types": "^4.
|
|
50
|
+
"@smithy/types": "^4.17.2",
|
|
51
51
|
"tslib": "^2.6.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const { getSmithyContext } = require("@smithy/core/transport");
|
|
1
|
+
const { getSmithyContext, hasOwn } = require("@smithy/core/transport");
|
|
2
2
|
exports.getSmithyContext = getSmithyContext;
|
|
3
3
|
const { HttpRequest } = require("@smithy/core/protocols");
|
|
4
4
|
const { requestBuilder } = require("@smithy/core/protocols");
|
|
@@ -203,6 +203,8 @@ class DefaultIdentityProviderConfig {
|
|
|
203
203
|
authSchemes = new Map();
|
|
204
204
|
constructor(config) {
|
|
205
205
|
for (const key in config) {
|
|
206
|
+
if (!hasOwn(config, key))
|
|
207
|
+
continue;
|
|
206
208
|
const value = config[key];
|
|
207
209
|
if (value !== undefined) {
|
|
208
210
|
this.authSchemes.set(key, value);
|