@cdk8s/awscdk-resolver 0.0.630 → 0.0.631
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 +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/node_modules/@smithy/fetch-http-handler/package.json +2 -2
- package/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +2 -2
- package/package.json +3 -3
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.1089.0"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"aws-cdk-lib": "^2.195.0",
|
|
@@ -4082,6 +4082,6 @@
|
|
|
4082
4082
|
"symbolId": "src/resolve:AwsCdkResolver"
|
|
4083
4083
|
}
|
|
4084
4084
|
},
|
|
4085
|
-
"version": "0.0.
|
|
4086
|
-
"fingerprint": "
|
|
4085
|
+
"version": "0.0.631",
|
|
4086
|
+
"fingerprint": "GC8BL3NexMzK7wq2ofDOZLtfhLDTy9UC2kxK6G+luXI="
|
|
4087
4087
|
}
|
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.631" };
|
|
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.1089.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",
|
|
@@ -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/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
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/fetch-http-handler",
|
|
3
|
-
"version": "5.6.
|
|
3
|
+
"version": "5.6.7",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"module": "./dist-es/index.js",
|
|
26
26
|
"types": "./dist-types/index.d.ts",
|
|
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
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-http-handler",
|
|
3
|
-
"version": "4.9.
|
|
3
|
+
"version": "4.9.7",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"module": "./dist-es/index.js",
|
|
25
25
|
"types": "./dist-types/index.d.ts",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/core": "^3.29.
|
|
27
|
+
"@smithy/core": "^3.29.5",
|
|
28
28
|
"@smithy/types": "^4.16.1",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/signature-v4",
|
|
3
|
-
"version": "5.6.
|
|
3
|
+
"version": "5.6.6",
|
|
4
4
|
"description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"sideEffects": false,
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@smithy/core": "^3.29.
|
|
26
|
+
"@smithy/core": "^3.29.5",
|
|
27
27
|
"@smithy/types": "^4.16.1",
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
package/package.json
CHANGED
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"jsii-docgen": "^10.5.0",
|
|
68
68
|
"jsii-pacmak": "^1.138.0",
|
|
69
69
|
"jsii-rosetta": "^5",
|
|
70
|
-
"projen": "^0.101.
|
|
70
|
+
"projen": "^0.101.16",
|
|
71
71
|
"ts-jest": "^27",
|
|
72
72
|
"ts-node": "^10.9.2",
|
|
73
73
|
"typescript": "^5.9.3"
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"constructs": "^10.3.0"
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"@aws-sdk/client-cloudformation": "^3.
|
|
81
|
+
"@aws-sdk/client-cloudformation": "^3.1089.0"
|
|
82
82
|
},
|
|
83
83
|
"bundledDependencies": [
|
|
84
84
|
"@aws-sdk/client-cloudformation"
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"publishConfig": {
|
|
96
96
|
"access": "public"
|
|
97
97
|
},
|
|
98
|
-
"version": "0.0.
|
|
98
|
+
"version": "0.0.631",
|
|
99
99
|
"jest": {
|
|
100
100
|
"coverageProvider": "v8",
|
|
101
101
|
"testMatch": [
|