@cdk8s/awscdk-resolver 0.0.394 → 0.0.396

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 CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "https://aws.amazon.com"
8
8
  },
9
9
  "bundled": {
10
- "@aws-sdk/client-cloudformation": "^3.914.0"
10
+ "@aws-sdk/client-cloudformation": "^3.915.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.394",
4086
- "fingerprint": "HMAgoSrgsitWzDqsXIzAFFtNpyYy1tTaDTDbfRDPFLQ="
4085
+ "version": "0.0.396",
4086
+ "fingerprint": "GSIVK5L1dvAtf9vD9pRh2B4G0/h9dxGOtF4HeUbx1/Y="
4087
4087
  }
package/lib/resolve.js CHANGED
@@ -61,5 +61,5 @@ class AwsCdkResolver {
61
61
  }
62
62
  exports.AwsCdkResolver = AwsCdkResolver;
63
63
  _a = JSII_RTTI_SYMBOL_1;
64
- AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.394" };
64
+ AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.396" };
65
65
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9yZXNvbHZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsaURBQTZDO0FBQzdDLDZCQUE2QjtBQUM3Qiw2Q0FBK0U7QUFJL0UsTUFBYSxjQUFjO0lBRWxCLE9BQU8sQ0FBQyxPQUEwQjtRQUV2QyxJQUFJLENBQUMsbUJBQUssQ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cgbmV3IEVycm9yKGBVbmFibGUgdG8gZmluZCBvdXRwdXQgZGVmaW5lZCBmb3IgJHt2YWx1ZX0gKEluc3BlY3RlZCBzdGFja3M6ICR7aW5zcGVjdGVkU3RhY2tzLm1hcChzID0+IHMuc3RhY2tOYW1lKS5qb2luKCcsJyl9KWApO1xuXG4gIH1cblxuICBwcml2YXRlIGZldGNoT3V0cHV0VmFsdWUob3V0cHV0OiBDZm5PdXRwdXQpIHtcblxuICAgIGNvbnN0IHNjcmlwdCA9IHBhdGguam9pbihfX2Rpcm5hbWUsICcuLicsICdsaWInLCAnZmV0Y2gtb3V0cHV0LXZhbHVlLmpzJyk7XG4gICAgcmV0dXJuIEpTT04ucGFyc2UoZXhlY0ZpbGVTeW5jKHByb2Nlc3MuZXhlY1BhdGgsIFtcbiAgICAgIHNjcmlwdCxcbiAgICAgIFN0YWNrLm9mKG91dHB1dCkuc3RhY2tOYW1lLFxuICAgICAgb3V0cHV0Lm5vZGUuaWQsXG4gICAgXSwgeyBlbmNvZGluZzogJ3V0Zi04Jywgc3RkaW86IFsncGlwZSddIH0pLnRvU3RyaW5nKCkudHJpbSgpKTtcblxuICB9XG5cbn1cbiJdfQ==
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const u = "required", v = "fn", w = "argv", x = "ref";
5
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "String" }, j = { [u]: true, "default": false, "type": "Boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
5
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "string" }, j = { [u]: true, "default": false, "type": "boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
6
6
  const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://cloudformation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://cloudformation.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://cloudformation-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://cloudformation.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://cloudformation.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
1
1
  const u = "required", v = "fn", w = "argv", x = "ref";
2
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "String" }, j = { [u]: true, "default": false, "type": "Boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
2
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "string" }, j = { [u]: true, "default": false, "type": "boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
3
3
  const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://cloudformation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://cloudformation.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://cloudformation-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://cloudformation.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://cloudformation.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
4
4
  export const ruleSet = _data;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudformation",
3
3
  "description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
4
- "version": "3.914.0",
4
+ "version": "3.915.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudformation",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "3.17.0",
3
+ "version": "3.17.1",
4
4
  "scripts": {
5
5
  "build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline core",
@@ -83,7 +83,7 @@
83
83
  "@smithy/util-base64": "^4.3.0",
84
84
  "@smithy/util-body-length-browser": "^4.2.0",
85
85
  "@smithy/util-middleware": "^4.2.3",
86
- "@smithy/util-stream": "^4.5.3",
86
+ "@smithy/util-stream": "^4.5.4",
87
87
  "@smithy/util-utf8": "^4.2.0",
88
88
  "@smithy/uuid": "^1.1.0",
89
89
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-endpoint",
3
- "version": "4.3.4",
3
+ "version": "4.3.5",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-endpoint",
@@ -25,7 +25,7 @@
25
25
  "license": "Apache-2.0",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@smithy/core": "^3.17.0",
28
+ "@smithy/core": "^3.17.1",
29
29
  "@smithy/middleware-serde": "^4.2.3",
30
30
  "@smithy/node-config-provider": "^4.3.3",
31
31
  "@smithy/shared-ini-file-loader": "^4.3.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-retry",
3
- "version": "4.4.4",
3
+ "version": "4.4.5",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-retry",
@@ -37,7 +37,7 @@
37
37
  "@smithy/node-config-provider": "^4.3.3",
38
38
  "@smithy/protocol-http": "^5.3.3",
39
39
  "@smithy/service-error-classification": "^4.2.3",
40
- "@smithy/smithy-client": "^4.9.0",
40
+ "@smithy/smithy-client": "^4.9.1",
41
41
  "@smithy/types": "^4.8.0",
42
42
  "@smithy/util-middleware": "^4.2.3",
43
43
  "@smithy/util-retry": "^4.2.3",
@@ -128,7 +128,7 @@ const setSocketTimeout = (request, reject, timeoutInMs = 0) => {
128
128
  const MIN_WAIT_TIME = 6_000;
129
129
  async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN_WAIT_TIME) {
130
130
  const headers = request.headers ?? {};
131
- const expect = headers["Expect"] || headers["expect"];
131
+ const expect = headers.Expect || headers.expect;
132
132
  let timeoutId = -1;
133
133
  let sendBody = true;
134
134
  if (expect === "100-continue") {
@@ -263,6 +263,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
263
263
  this.config = await this.configProvider;
264
264
  }
265
265
  return new Promise((_resolve, _reject) => {
266
+ const config = this.config;
266
267
  let writeRequestBodyPromise = undefined;
267
268
  const timeouts = [];
268
269
  const resolve = async (arg) => {
@@ -275,9 +276,6 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
275
276
  timeouts.forEach(timing.clearTimeout);
276
277
  _reject(arg);
277
278
  };
278
- if (!this.config) {
279
- throw new Error("Node HTTP request handler config is not resolved");
280
- }
281
279
  if (abortSignal?.aborted) {
282
280
  const abortError = new Error("Request aborted");
283
281
  abortError.name = "AbortError";
@@ -285,11 +283,18 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
285
283
  return;
286
284
  }
287
285
  const isSSL = request.protocol === "https:";
288
- const agent = isSSL ? this.config.httpsAgent : this.config.httpAgent;
286
+ const headers = request.headers ?? {};
287
+ const expectContinue = (headers.Expect ?? headers.expect) === "100-continue";
288
+ let agent = isSSL ? config.httpsAgent : config.httpAgent;
289
+ if (expectContinue) {
290
+ agent = new (isSSL ? https.Agent : http.Agent)({
291
+ keepAlive: false,
292
+ maxSockets: Infinity,
293
+ });
294
+ }
289
295
  timeouts.push(timing.setTimeout(() => {
290
- this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, this.config.logger);
291
- }, this.config.socketAcquisitionWarningTimeout ??
292
- (this.config.requestTimeout ?? 2000) + (this.config.connectionTimeout ?? 1000)));
296
+ this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, config.logger);
297
+ }, config.socketAcquisitionWarningTimeout ?? (config.requestTimeout ?? 2000) + (config.connectionTimeout ?? 1000)));
293
298
  const queryString = querystringBuilder.buildQueryString(request.query || {});
294
299
  let auth = undefined;
295
300
  if (request.username != null || request.password != null) {
@@ -354,10 +359,10 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
354
359
  abortSignal.onabort = onAbort;
355
360
  }
356
361
  }
357
- const effectiveRequestTimeout = requestTimeout ?? this.config.requestTimeout;
358
- timeouts.push(setConnectionTimeout(req, reject, this.config.connectionTimeout));
359
- timeouts.push(setRequestTimeout(req, reject, effectiveRequestTimeout, this.config.throwOnRequestTimeout, this.config.logger ?? console));
360
- timeouts.push(setSocketTimeout(req, reject, this.config.socketTimeout));
362
+ const effectiveRequestTimeout = requestTimeout ?? config.requestTimeout;
363
+ timeouts.push(setConnectionTimeout(req, reject, config.connectionTimeout));
364
+ timeouts.push(setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, config.logger ?? console));
365
+ timeouts.push(setSocketTimeout(req, reject, config.socketTimeout));
361
366
  const httpAgent = nodeHttpsOptions.agent;
362
367
  if (typeof httpAgent === "object" && "keepAlive" in httpAgent) {
363
368
  timeouts.push(setSocketKeepAlive(req, {
@@ -93,6 +93,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
93
93
  this.config = await this.configProvider;
94
94
  }
95
95
  return new Promise((_resolve, _reject) => {
96
+ const config = this.config;
96
97
  let writeRequestBodyPromise = undefined;
97
98
  const timeouts = [];
98
99
  const resolve = async (arg) => {
@@ -105,9 +106,6 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
105
106
  timeouts.forEach(timing.clearTimeout);
106
107
  _reject(arg);
107
108
  };
108
- if (!this.config) {
109
- throw new Error("Node HTTP request handler config is not resolved");
110
- }
111
109
  if (abortSignal?.aborted) {
112
110
  const abortError = new Error("Request aborted");
113
111
  abortError.name = "AbortError";
@@ -115,11 +113,18 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
115
113
  return;
116
114
  }
117
115
  const isSSL = request.protocol === "https:";
118
- const agent = isSSL ? this.config.httpsAgent : this.config.httpAgent;
116
+ const headers = request.headers ?? {};
117
+ const expectContinue = (headers.Expect ?? headers.expect) === "100-continue";
118
+ let agent = isSSL ? config.httpsAgent : config.httpAgent;
119
+ if (expectContinue) {
120
+ agent = new (isSSL ? hsAgent : hAgent)({
121
+ keepAlive: false,
122
+ maxSockets: Infinity,
123
+ });
124
+ }
119
125
  timeouts.push(timing.setTimeout(() => {
120
- this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, this.config.logger);
121
- }, this.config.socketAcquisitionWarningTimeout ??
122
- (this.config.requestTimeout ?? 2000) + (this.config.connectionTimeout ?? 1000)));
126
+ this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, config.logger);
127
+ }, config.socketAcquisitionWarningTimeout ?? (config.requestTimeout ?? 2000) + (config.connectionTimeout ?? 1000)));
123
128
  const queryString = buildQueryString(request.query || {});
124
129
  let auth = undefined;
125
130
  if (request.username != null || request.password != null) {
@@ -184,10 +189,10 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
184
189
  abortSignal.onabort = onAbort;
185
190
  }
186
191
  }
187
- const effectiveRequestTimeout = requestTimeout ?? this.config.requestTimeout;
188
- timeouts.push(setConnectionTimeout(req, reject, this.config.connectionTimeout));
189
- timeouts.push(setRequestTimeout(req, reject, effectiveRequestTimeout, this.config.throwOnRequestTimeout, this.config.logger ?? console));
190
- timeouts.push(setSocketTimeout(req, reject, this.config.socketTimeout));
192
+ const effectiveRequestTimeout = requestTimeout ?? config.requestTimeout;
193
+ timeouts.push(setConnectionTimeout(req, reject, config.connectionTimeout));
194
+ timeouts.push(setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, config.logger ?? console));
195
+ timeouts.push(setSocketTimeout(req, reject, config.socketTimeout));
191
196
  const httpAgent = nodeHttpsOptions.agent;
192
197
  if (typeof httpAgent === "object" && "keepAlive" in httpAgent) {
193
198
  timeouts.push(setSocketKeepAlive(req, {
@@ -3,7 +3,7 @@ import { timing } from "./timing";
3
3
  const MIN_WAIT_TIME = 6_000;
4
4
  export async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN_WAIT_TIME) {
5
5
  const headers = request.headers ?? {};
6
- const expect = headers["Expect"] || headers["expect"];
6
+ const expect = headers.Expect || headers.expect;
7
7
  let timeoutId = -1;
8
8
  let sendBody = true;
9
9
  if (expect === "100-continue") {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/node-http-handler",
3
- "version": "4.4.2",
3
+ "version": "4.4.3",
4
4
  "description": "Provides a way to make requests",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/smithy-client",
3
- "version": "4.9.0",
3
+ "version": "4.9.1",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline smithy-client",
@@ -25,12 +25,12 @@
25
25
  "license": "Apache-2.0",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@smithy/core": "^3.17.0",
29
- "@smithy/middleware-endpoint": "^4.3.4",
28
+ "@smithy/core": "^3.17.1",
29
+ "@smithy/middleware-endpoint": "^4.3.5",
30
30
  "@smithy/middleware-stack": "^4.2.3",
31
31
  "@smithy/protocol-http": "^5.3.3",
32
32
  "@smithy/types": "^4.8.0",
33
- "@smithy/util-stream": "^4.5.3",
33
+ "@smithy/util-stream": "^4.5.4",
34
34
  "tslib": "^2.6.2"
35
35
  },
36
36
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-browser",
3
- "version": "4.3.3",
3
+ "version": "4.3.4",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-defaults-mode-browser",
@@ -25,7 +25,7 @@
25
25
  "sideEffects": false,
26
26
  "dependencies": {
27
27
  "@smithy/property-provider": "^4.2.3",
28
- "@smithy/smithy-client": "^4.9.0",
28
+ "@smithy/smithy-client": "^4.9.1",
29
29
  "@smithy/types": "^4.8.0",
30
30
  "tslib": "^2.6.2"
31
31
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-node",
3
- "version": "4.2.5",
3
+ "version": "4.2.6",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-defaults-mode-node",
@@ -28,7 +28,7 @@
28
28
  "@smithy/credential-provider-imds": "^4.2.3",
29
29
  "@smithy/node-config-provider": "^4.3.3",
30
30
  "@smithy/property-provider": "^4.2.3",
31
- "@smithy/smithy-client": "^4.9.0",
31
+ "@smithy/smithy-client": "^4.9.1",
32
32
  "@smithy/types": "^4.8.0",
33
33
  "tslib": "^2.6.2"
34
34
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-stream",
3
- "version": "4.5.3",
3
+ "version": "4.5.4",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-stream",
@@ -30,7 +30,7 @@
30
30
  "sideEffects": false,
31
31
  "dependencies": {
32
32
  "@smithy/fetch-http-handler": "^5.3.4",
33
- "@smithy/node-http-handler": "^4.4.2",
33
+ "@smithy/node-http-handler": "^4.4.3",
34
34
  "@smithy/types": "^4.8.0",
35
35
  "@smithy/util-base64": "^4.3.0",
36
36
  "@smithy/util-buffer-from": "^4.2.0",
package/package.json CHANGED
@@ -49,10 +49,10 @@
49
49
  "@types/node": "16.18.78",
50
50
  "@typescript-eslint/eslint-plugin": "^8",
51
51
  "@typescript-eslint/parser": "^8",
52
- "aws-cdk": "^2.1030.0",
52
+ "aws-cdk": "^2.1031.0",
53
53
  "aws-cdk-lib": "2.195.0",
54
54
  "cdk8s": "2.68.91",
55
- "cdk8s-cli": "^2.202.6",
55
+ "cdk8s-cli": "^2.202.8",
56
56
  "commit-and-tag-version": "^12",
57
57
  "constructs": "10.3.0",
58
58
  "eslint": "^9",
@@ -62,9 +62,9 @@
62
62
  "jest": "^27",
63
63
  "jest-junit": "^16",
64
64
  "jsii": "^5",
65
- "jsii-diff": "^1.116.0",
65
+ "jsii-diff": "^1.117.0",
66
66
  "jsii-docgen": "^10.5.0",
67
- "jsii-pacmak": "^1.116.0",
67
+ "jsii-pacmak": "^1.117.0",
68
68
  "jsii-rosetta": "^5",
69
69
  "projen": "^0.98.3",
70
70
  "ts-jest": "^27",
@@ -77,7 +77,7 @@
77
77
  "constructs": "^10.3.0"
78
78
  },
79
79
  "dependencies": {
80
- "@aws-sdk/client-cloudformation": "^3.914.0"
80
+ "@aws-sdk/client-cloudformation": "^3.915.0"
81
81
  },
82
82
  "bundledDependencies": [
83
83
  "@aws-sdk/client-cloudformation"
@@ -93,7 +93,7 @@
93
93
  "publishConfig": {
94
94
  "access": "public"
95
95
  },
96
- "version": "0.0.394",
96
+ "version": "0.0.396",
97
97
  "jest": {
98
98
  "coverageProvider": "v8",
99
99
  "testMatch": [