@servicevic-oss/cdk-cleanup-certificate-validation-records 1.3.78 → 1.3.80
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 +5 -5
- package/lib/index.js +2 -2
- package/node_modules/@aws-sdk/client-acm/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-acm/package.json +8 -8
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-route-53/package.json +10 -10
- 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/middleware-sdk-route53/package.json +3 -3
- 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 +127 -41
- 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 +33 -24
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +33 -24
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +33 -15
- 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/SmithyRpcV2CborProtocol.js +1 -2
- 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 +11 -4
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +23 -20
- 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 +6 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +6 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +8 -5
- 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/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +1 -7
- package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +14 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +7 -2
- package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
- 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/serde/parse-utils.d.ts +5 -5
- 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/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +1 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +14 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +7 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +1 -1
- 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/serde/parse-utils.d.ts +5 -5
- 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 +3 -11
- package/node_modules/@smithy/credential-provider-imds/package.json +4 -12
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -13
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +16 -4
- 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 +12 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/package.json +5 -13
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +28 -16
- package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +13 -10
- 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 +4 -12
- package/node_modules/@smithy/types/package.json +2 -10
- package/package.json +6 -6
package/.jsii
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
]
|
|
8
8
|
},
|
|
9
9
|
"bundled": {
|
|
10
|
-
"@aws-sdk/client-acm": "^3.
|
|
11
|
-
"@aws-sdk/client-route-53": "^3.
|
|
10
|
+
"@aws-sdk/client-acm": "^3.1117.0",
|
|
11
|
+
"@aws-sdk/client-route-53": "^3.1117.0",
|
|
12
12
|
"@types/aws-lambda": "^8.10.162",
|
|
13
13
|
"async-await-retry": "^2.1.0"
|
|
14
14
|
},
|
|
@@ -8652,7 +8652,7 @@
|
|
|
8652
8652
|
"stability": "stable"
|
|
8653
8653
|
},
|
|
8654
8654
|
"homepage": "https://github.com/sv-oss/cdk-cleanup-certificate-validation-records",
|
|
8655
|
-
"jsiiVersion": "5.9.
|
|
8655
|
+
"jsiiVersion": "5.9.53 (build 16812ce)",
|
|
8656
8656
|
"keywords": [
|
|
8657
8657
|
"cdk"
|
|
8658
8658
|
],
|
|
@@ -8899,6 +8899,6 @@
|
|
|
8899
8899
|
"symbolId": "src/index:CertificateWithCleanup"
|
|
8900
8900
|
}
|
|
8901
8901
|
},
|
|
8902
|
-
"version": "1.3.
|
|
8903
|
-
"fingerprint": "
|
|
8902
|
+
"version": "1.3.80",
|
|
8903
|
+
"fingerprint": "b0I7TH07DYDvYS2TsZFzJSzGwwe26lwmXNIDNf9T/PI="
|
|
8904
8904
|
}
|
package/lib/index.js
CHANGED
|
@@ -43,7 +43,7 @@ const constructs_1 = require("constructs");
|
|
|
43
43
|
* leave behind when deleting a DNS validated certificate
|
|
44
44
|
*/
|
|
45
45
|
class CertificateValidationRecordCleanup extends constructs_1.Construct {
|
|
46
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@servicevic-oss/cdk-cleanup-certificate-validation-records.CertificateValidationRecordCleanup", version: "1.3.
|
|
46
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@servicevic-oss/cdk-cleanup-certificate-validation-records.CertificateValidationRecordCleanup", version: "1.3.80" };
|
|
47
47
|
static HANDLER_UID = 'CertRecordsCleanupHandler-2B663BAB-7981';
|
|
48
48
|
static PROVIDER_UID = 'CertRecordsCleanupProvider-57EBF059-2E26';
|
|
49
49
|
static LOG_GROUP_UID = 'CertRecordsCleanupLogGroup-57ABF051-1E25';
|
|
@@ -109,7 +109,7 @@ exports.CertificateValidationRecordCleanup = CertificateValidationRecordCleanup;
|
|
|
109
109
|
* A wrapper class for a vanilla `Certificate` object with automatic cleanup attached
|
|
110
110
|
*/
|
|
111
111
|
class CertificateWithCleanup extends cdk.aws_certificatemanager.Certificate {
|
|
112
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@servicevic-oss/cdk-cleanup-certificate-validation-records.CertificateWithCleanup", version: "1.3.
|
|
112
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@servicevic-oss/cdk-cleanup-certificate-validation-records.CertificateWithCleanup", version: "1.3.80" };
|
|
113
113
|
constructor(scope, id, props) {
|
|
114
114
|
super(scope, id, props);
|
|
115
115
|
if (props.validation && props.validation.props.hostedZone && props.validation?.method == cdk.aws_certificatemanager.ValidationMethod.DNS) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-acm",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1117.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Acm Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-acm",
|
|
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/client-route-53",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1117.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Route 53 Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-route-53",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -52,18 +52,18 @@
|
|
|
52
52
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@aws-sdk/core": "^3.977.
|
|
56
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
57
|
-
"@aws-sdk/middleware-sdk-route53": "^3.972.
|
|
58
|
-
"@aws-sdk/types": "^3.974.
|
|
59
|
-
"@smithy/core": "^3.
|
|
60
|
-
"@smithy/fetch-http-handler": "^5.
|
|
61
|
-
"@smithy/node-http-handler": "^4.
|
|
62
|
-
"@smithy/types": "^4.
|
|
55
|
+
"@aws-sdk/core": "^3.977.9",
|
|
56
|
+
"@aws-sdk/credential-provider-node": "^3.972.81",
|
|
57
|
+
"@aws-sdk/middleware-sdk-route53": "^3.972.26",
|
|
58
|
+
"@aws-sdk/types": "^3.974.5",
|
|
59
|
+
"@smithy/core": "^3.33.3",
|
|
60
|
+
"@smithy/fetch-http-handler": "^5.7.2",
|
|
61
|
+
"@smithy/node-http-handler": "^4.11.3",
|
|
62
|
+
"@smithy/types": "^4.17.2",
|
|
63
63
|
"tslib": "^2.6.2"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@smithy/snapshot-testing": "^2.2
|
|
66
|
+
"@smithy/snapshot-testing": "^2.3.2",
|
|
67
67
|
"@tsconfig/node20": "20.1.8",
|
|
68
68
|
"@types/node": "^20.14.8",
|
|
69
69
|
"concurrently": "7.0.0",
|
|
@@ -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/middleware-sdk-route53",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.26",
|
|
4
4
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-sdk-route53",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@aws-sdk/types": "^3.974.
|
|
46
|
-
"@smithy/types": "^4.
|
|
45
|
+
"@aws-sdk/types": "^3.974.5",
|
|
46
|
+
"@smithy/types": "^4.17.2",
|
|
47
47
|
"tslib": "^2.6.2"
|
|
48
48
|
},
|
|
49
49
|
"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": {
|