@servicevic-oss/cdk-cleanup-certificate-validation-records 1.3.49 → 1.3.51
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 +4 -4
- 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 +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-route-53/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +4 -4
- package/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js +4 -4
- package/node_modules/@aws-sdk/credential-provider-login/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-node/package.json +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +11 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js +11 -1
- package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +9 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +9 -4
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
- 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.1090.0",
|
|
11
|
+
"@aws-sdk/client-route-53": "^3.1090.0",
|
|
12
12
|
"@types/aws-lambda": "^8.10.162",
|
|
13
13
|
"async-await-retry": "^2.1.0"
|
|
14
14
|
},
|
|
@@ -8898,6 +8898,6 @@
|
|
|
8898
8898
|
"symbolId": "src/index:CertificateWithCleanup"
|
|
8899
8899
|
}
|
|
8900
8900
|
},
|
|
8901
|
-
"version": "1.3.
|
|
8902
|
-
"fingerprint": "
|
|
8901
|
+
"version": "1.3.51",
|
|
8902
|
+
"fingerprint": "QddhxS0lwRmcNaQIL+1LG2jjEGphrQRj13QM/BsaeVY="
|
|
8903
8903
|
}
|
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.51" };
|
|
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.51" };
|
|
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.1090.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",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@aws-sdk/core": "^3.975.3",
|
|
52
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
52
|
+
"@aws-sdk/credential-provider-node": "^3.972.70",
|
|
53
53
|
"@aws-sdk/types": "^3.974.2",
|
|
54
54
|
"@smithy/core": "^3.29.4",
|
|
55
55
|
"@smithy/fetch-http-handler": "^5.6.6",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-route-53",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1090.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",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@aws-sdk/core": "^3.975.3",
|
|
56
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
56
|
+
"@aws-sdk/credential-provider-node": "^3.972.70",
|
|
57
57
|
"@aws-sdk/middleware-sdk-route53": "^3.972.22",
|
|
58
58
|
"@aws-sdk/types": "^3.974.2",
|
|
59
59
|
"@smithy/core": "^3.29.4",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.973.
|
|
3
|
+
"version": "3.973.4",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@aws-sdk/core": "^3.975.3",
|
|
49
49
|
"@aws-sdk/credential-provider-env": "^3.972.59",
|
|
50
50
|
"@aws-sdk/credential-provider-http": "^3.972.61",
|
|
51
|
-
"@aws-sdk/credential-provider-login": "^3.972.
|
|
51
|
+
"@aws-sdk/credential-provider-login": "^3.972.66",
|
|
52
52
|
"@aws-sdk/credential-provider-process": "^3.972.59",
|
|
53
53
|
"@aws-sdk/credential-provider-sso": "^3.973.3",
|
|
54
54
|
"@aws-sdk/credential-provider-web-identity": "^3.972.65",
|
|
@@ -87,12 +87,12 @@ class LoginCredentialsFetcher {
|
|
|
87
87
|
...token,
|
|
88
88
|
accessToken: {
|
|
89
89
|
...token.accessToken,
|
|
90
|
-
accessKeyId
|
|
91
|
-
secretAccessKey
|
|
92
|
-
sessionToken
|
|
90
|
+
accessKeyId,
|
|
91
|
+
secretAccessKey,
|
|
92
|
+
sessionToken,
|
|
93
93
|
expiresAt: expiration.toISOString(),
|
|
94
94
|
},
|
|
95
|
-
refreshToken
|
|
95
|
+
refreshToken,
|
|
96
96
|
};
|
|
97
97
|
await this.saveToken(updatedToken);
|
|
98
98
|
const newAccessToken = updatedToken.accessToken;
|
|
@@ -85,12 +85,12 @@ export class LoginCredentialsFetcher {
|
|
|
85
85
|
...token,
|
|
86
86
|
accessToken: {
|
|
87
87
|
...token.accessToken,
|
|
88
|
-
accessKeyId
|
|
89
|
-
secretAccessKey
|
|
90
|
-
sessionToken
|
|
88
|
+
accessKeyId,
|
|
89
|
+
secretAccessKey,
|
|
90
|
+
sessionToken,
|
|
91
91
|
expiresAt: expiration.toISOString(),
|
|
92
92
|
},
|
|
93
|
-
refreshToken
|
|
93
|
+
refreshToken,
|
|
94
94
|
};
|
|
95
95
|
await this.saveToken(updatedToken);
|
|
96
96
|
const newAccessToken = updatedToken.accessToken;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.70",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@aws-sdk/credential-provider-env": "^3.972.59",
|
|
49
49
|
"@aws-sdk/credential-provider-http": "^3.972.61",
|
|
50
|
-
"@aws-sdk/credential-provider-ini": "^3.973.
|
|
50
|
+
"@aws-sdk/credential-provider-ini": "^3.973.4",
|
|
51
51
|
"@aws-sdk/credential-provider-process": "^3.972.59",
|
|
52
52
|
"@aws-sdk/credential-provider-sso": "^3.973.3",
|
|
53
53
|
"@aws-sdk/credential-provider-web-identity": "^3.972.65",
|
|
@@ -1006,6 +1006,7 @@ let ChecksumStream$1 = class ChecksumStream extends Readable {
|
|
|
1006
1006
|
this.source.on("data", this.onSourceData);
|
|
1007
1007
|
this.source.on("end", this.onSourceEnd);
|
|
1008
1008
|
this.source.on("error", this.onSourceError);
|
|
1009
|
+
this.source.on("close", this.onSourceClose);
|
|
1009
1010
|
this.source.pause();
|
|
1010
1011
|
}
|
|
1011
1012
|
onSourceData = (chunk) => {
|
|
@@ -1045,10 +1046,19 @@ let ChecksumStream$1 = class ChecksumStream extends Readable {
|
|
|
1045
1046
|
onSourceError = (error) => {
|
|
1046
1047
|
this.destroy(error);
|
|
1047
1048
|
};
|
|
1048
|
-
|
|
1049
|
+
onSourceClose = () => {
|
|
1050
|
+
if (!this.destroyed && !this.source.readableEnded) {
|
|
1051
|
+
this.destroy(new Error("Connection lost or stream closed before all data was received."));
|
|
1052
|
+
}
|
|
1053
|
+
};
|
|
1054
|
+
_read(_size) {
|
|
1049
1055
|
this.source.resume();
|
|
1050
1056
|
}
|
|
1051
1057
|
_destroy(error, callback) {
|
|
1058
|
+
this.source?.removeListener("data", this.onSourceData);
|
|
1059
|
+
this.source?.removeListener("end", this.onSourceEnd);
|
|
1060
|
+
this.source?.removeListener("error", this.onSourceError);
|
|
1061
|
+
this.source?.removeListener("close", this.onSourceClose);
|
|
1052
1062
|
this.source?.destroy();
|
|
1053
1063
|
callback(error);
|
|
1054
1064
|
}
|
package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js
CHANGED
|
@@ -19,6 +19,7 @@ export class ChecksumStream extends Readable {
|
|
|
19
19
|
this.source.on("data", this.onSourceData);
|
|
20
20
|
this.source.on("end", this.onSourceEnd);
|
|
21
21
|
this.source.on("error", this.onSourceError);
|
|
22
|
+
this.source.on("close", this.onSourceClose);
|
|
22
23
|
this.source.pause();
|
|
23
24
|
}
|
|
24
25
|
onSourceData = (chunk) => {
|
|
@@ -58,10 +59,19 @@ export class ChecksumStream extends Readable {
|
|
|
58
59
|
onSourceError = (error) => {
|
|
59
60
|
this.destroy(error);
|
|
60
61
|
};
|
|
61
|
-
|
|
62
|
+
onSourceClose = () => {
|
|
63
|
+
if (!this.destroyed && !this.source.readableEnded) {
|
|
64
|
+
this.destroy(new Error("Connection lost or stream closed before all data was received."));
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
_read(_size) {
|
|
62
68
|
this.source.resume();
|
|
63
69
|
}
|
|
64
70
|
_destroy(error, callback) {
|
|
71
|
+
this.source?.removeListener("data", this.onSourceData);
|
|
72
|
+
this.source?.removeListener("end", this.onSourceEnd);
|
|
73
|
+
this.source?.removeListener("error", this.onSourceError);
|
|
74
|
+
this.source?.removeListener("close", this.onSourceClose);
|
|
65
75
|
this.source?.destroy();
|
|
66
76
|
callback(error);
|
|
67
77
|
}
|
|
@@ -40,11 +40,11 @@ export interface ChecksumStreamInit<T extends Readable | ReadableStream> {
|
|
|
40
40
|
* @internal
|
|
41
41
|
*/
|
|
42
42
|
export declare class ChecksumStream extends Readable {
|
|
43
|
-
private expectedChecksum;
|
|
44
|
-
private checksumSourceLocation;
|
|
43
|
+
private readonly expectedChecksum;
|
|
44
|
+
private readonly checksumSourceLocation;
|
|
45
45
|
private checksum;
|
|
46
46
|
private source;
|
|
47
|
-
private base64Encoder;
|
|
47
|
+
private readonly base64Encoder;
|
|
48
48
|
constructor({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }: ChecksumStreamInit<Readable>);
|
|
49
49
|
/**
|
|
50
50
|
* Update the checksum and forward each source chunk to the readable side,
|
|
@@ -59,12 +59,17 @@ export declare class ChecksumStream extends Readable {
|
|
|
59
59
|
* Surface source errors on this stream.
|
|
60
60
|
*/
|
|
61
61
|
private onSourceError;
|
|
62
|
+
/**
|
|
63
|
+
* If the source stream closes without having ended,
|
|
64
|
+
* this is considered an error.
|
|
65
|
+
*/
|
|
66
|
+
private onSourceClose;
|
|
62
67
|
/**
|
|
63
68
|
* Resume the source so it flows at the rate this stream is consumed.
|
|
64
69
|
* Do not call this directly.
|
|
65
70
|
* @internal
|
|
66
71
|
*/
|
|
67
|
-
_read(
|
|
72
|
+
_read(_size: number): void;
|
|
68
73
|
/**
|
|
69
74
|
* Destroy the upstream source for cleanup so it is not left dangling, then
|
|
70
75
|
* complete this stream's destruction. The error is intentionally not forwarded
|
|
@@ -40,11 +40,11 @@ export interface ChecksumStreamInit<T extends Readable | ReadableStream> {
|
|
|
40
40
|
* @internal
|
|
41
41
|
*/
|
|
42
42
|
export declare class ChecksumStream extends Readable {
|
|
43
|
-
private expectedChecksum;
|
|
44
|
-
private checksumSourceLocation;
|
|
43
|
+
private readonly expectedChecksum;
|
|
44
|
+
private readonly checksumSourceLocation;
|
|
45
45
|
private checksum;
|
|
46
46
|
private source;
|
|
47
|
-
private base64Encoder;
|
|
47
|
+
private readonly base64Encoder;
|
|
48
48
|
constructor({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }: ChecksumStreamInit<Readable>);
|
|
49
49
|
/**
|
|
50
50
|
* Update the checksum and forward each source chunk to the readable side,
|
|
@@ -59,12 +59,17 @@ export declare class ChecksumStream extends Readable {
|
|
|
59
59
|
* Surface source errors on this stream.
|
|
60
60
|
*/
|
|
61
61
|
private onSourceError;
|
|
62
|
+
/**
|
|
63
|
+
* If the source stream closes without having ended,
|
|
64
|
+
* this is considered an error.
|
|
65
|
+
*/
|
|
66
|
+
private onSourceClose;
|
|
62
67
|
/**
|
|
63
68
|
* Resume the source so it flows at the rate this stream is consumed.
|
|
64
69
|
* Do not call this directly.
|
|
65
70
|
* @internal
|
|
66
71
|
*/
|
|
67
|
-
_read(
|
|
72
|
+
_read(_size: number): void;
|
|
68
73
|
/**
|
|
69
74
|
* Destroy the upstream source for cleanup so it is not left dangling, then
|
|
70
75
|
* complete this stream's destruction. The error is intentionally not forwarded
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/credential-provider-imds",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.10",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/core": "^3.29.
|
|
28
|
+
"@smithy/core": "^3.29.5",
|
|
29
29
|
"@smithy/types": "^4.16.1",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
package/package.json
CHANGED
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
"jest": "^29.7.0",
|
|
50
50
|
"jest-junit": "^17",
|
|
51
51
|
"jsii": "~5.9.0",
|
|
52
|
-
"jsii-diff": "^1.
|
|
52
|
+
"jsii-diff": "^1.139.0",
|
|
53
53
|
"jsii-docgen": "^10.5.0",
|
|
54
|
-
"jsii-pacmak": "^1.
|
|
54
|
+
"jsii-pacmak": "^1.139.0",
|
|
55
55
|
"jsii-rosetta": "~5.9.0",
|
|
56
|
-
"projen": "^0.101.
|
|
56
|
+
"projen": "^0.101.16",
|
|
57
57
|
"ts-jest": "^29.4.11",
|
|
58
58
|
"ts-node": "^10.9.2",
|
|
59
59
|
"typescript": "~5.7.3"
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"constructs": "^10.5.1"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@aws-sdk/client-acm": "^3.
|
|
67
|
-
"@aws-sdk/client-route-53": "^3.
|
|
66
|
+
"@aws-sdk/client-acm": "^3.1090.0",
|
|
67
|
+
"@aws-sdk/client-route-53": "^3.1090.0",
|
|
68
68
|
"@types/aws-lambda": "^8.10.162",
|
|
69
69
|
"async-await-retry": "^2.1.0"
|
|
70
70
|
},
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"publishConfig": {
|
|
93
93
|
"access": "public"
|
|
94
94
|
},
|
|
95
|
-
"version": "1.3.
|
|
95
|
+
"version": "1.3.51",
|
|
96
96
|
"jest": {
|
|
97
97
|
"coverageProvider": "v8",
|
|
98
98
|
"testMatch": [
|