@cdk8s/awscdk-resolver 0.0.221 → 0.0.223
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/package.json +6 -6
- package/node_modules/@aws-sdk/client-sso/package.json +3 -3
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +5 -5
- package/node_modules/@aws-sdk/client-sts/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +1 -0
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +29 -1
- package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +27 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +6 -4
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +6 -4
- package/node_modules/@smithy/fetch-http-handler/package.json +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +4 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +4 -1
- package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
- package/node_modules/@smithy/middleware-retry/dist-types/AdaptiveRetryStrategy.d.ts +2 -0
- package/node_modules/@smithy/middleware-retry/dist-types/StandardRetryStrategy.d.ts +3 -0
- package/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +21 -0
- package/node_modules/@smithy/middleware-retry/dist-types/defaultRetryQuota.d.ts +6 -0
- package/node_modules/@smithy/middleware-retry/dist-types/delayDecider.d.ts +1 -0
- package/node_modules/@smithy/middleware-retry/dist-types/omitRetryHeadersMiddleware.d.ts +9 -0
- package/node_modules/@smithy/middleware-retry/dist-types/retryDecider.d.ts +1 -0
- package/node_modules/@smithy/middleware-retry/dist-types/retryMiddleware.d.ts +12 -0
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +2 -0
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts +3 -0
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/configurations.d.ts +21 -0
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/defaultRetryQuota.d.ts +6 -0
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/delayDecider.d.ts +1 -0
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/omitRetryHeadersMiddleware.d.ts +9 -0
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryDecider.d.ts +1 -0
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryMiddleware.d.ts +12 -0
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/types.d.ts +12 -0
- package/node_modules/@smithy/middleware-retry/dist-types/types.d.ts +12 -0
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +8 -2
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +9 -2
- package/node_modules/@smithy/node-http-handler/package.json +1 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +9 -0
- package/node_modules/@smithy/smithy-client/dist-es/exceptions.js +8 -0
- package/node_modules/@smithy/smithy-client/dist-types/exceptions.d.ts +4 -0
- package/node_modules/@smithy/smithy-client/dist-types/extensions/retry.d.ts +3 -0
- package/node_modules/@smithy/smithy-client/dist-types/ser-utils.d.ts +1 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/exceptions.d.ts +4 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/retry.d.ts +3 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/ser-utils.d.ts +1 -0
- package/node_modules/@smithy/smithy-client/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/@smithy/util-stream/dist-types/headStream.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/splitStream.d.ts +2 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts +2 -1
- package/node_modules/@smithy/util-stream/package.json +3 -3
- package/package.json +6 -6
@@ -1,6 +1,18 @@
|
|
1
1
|
import { AbsoluteLocation, FinalizeHandler, FinalizeRequestHandlerOptions, HandlerExecutionContext, MetadataBearer, Pluggable } from "@smithy/types";
|
2
2
|
import { RetryResolvedConfig } from "./configurations";
|
3
|
+
/**
|
4
|
+
* @internal
|
5
|
+
*/
|
3
6
|
export declare const retryMiddleware: (options: RetryResolvedConfig) => <Output extends MetadataBearer = MetadataBearer>(next: FinalizeHandler<any, Output>, context: HandlerExecutionContext) => FinalizeHandler<any, Output>;
|
7
|
+
/**
|
8
|
+
* @internal
|
9
|
+
*/
|
4
10
|
export declare const retryMiddlewareOptions: FinalizeRequestHandlerOptions & AbsoluteLocation;
|
11
|
+
/**
|
12
|
+
* @internal
|
13
|
+
*/
|
5
14
|
export declare const getRetryPlugin: (options: RetryResolvedConfig) => Pluggable<any, any>;
|
15
|
+
/**
|
16
|
+
* @internal
|
17
|
+
*/
|
6
18
|
export declare const getRetryAfterHint: (response: unknown) => Date | undefined;
|
@@ -2,12 +2,14 @@ import { FinalizeHandler, FinalizeHandlerArguments, MetadataBearer, Provider } f
|
|
2
2
|
import { RateLimiter } from "@smithy/util-retry";
|
3
3
|
import { StandardRetryStrategy, StandardRetryStrategyOptions } from "./StandardRetryStrategy";
|
4
4
|
/**
|
5
|
+
* @public
|
5
6
|
* Strategy options to be passed to AdaptiveRetryStrategy
|
6
7
|
*/
|
7
8
|
export interface AdaptiveRetryStrategyOptions extends StandardRetryStrategyOptions {
|
8
9
|
rateLimiter?: RateLimiter;
|
9
10
|
}
|
10
11
|
/**
|
12
|
+
* @public
|
11
13
|
* @deprecated use AdaptiveRetryStrategy from @smithy/util-retry
|
12
14
|
*/
|
13
15
|
export declare class AdaptiveRetryStrategy extends StandardRetryStrategy {
|
@@ -2,6 +2,8 @@ import { FinalizeHandler, FinalizeHandlerArguments, MetadataBearer, Provider, Re
|
|
2
2
|
import { DelayDecider, RetryDecider, RetryQuota } from "./types";
|
3
3
|
/**
|
4
4
|
* Strategy options to be passed to StandardRetryStrategy
|
5
|
+
* @public
|
6
|
+
* @deprecated use StandardRetryStrategy from @smithy/util-retry
|
5
7
|
*/
|
6
8
|
export interface StandardRetryStrategyOptions {
|
7
9
|
retryDecider?: RetryDecider;
|
@@ -9,6 +11,7 @@ export interface StandardRetryStrategyOptions {
|
|
9
11
|
retryQuota?: RetryQuota;
|
10
12
|
}
|
11
13
|
/**
|
14
|
+
* @public
|
12
15
|
* @deprecated use StandardRetryStrategy from @smithy/util-retry
|
13
16
|
*/
|
14
17
|
export declare class StandardRetryStrategy implements RetryStrategy {
|
@@ -1,7 +1,16 @@
|
|
1
1
|
import { LoadedConfigSelectors } from "@smithy/node-config-provider";
|
2
2
|
import { Provider, RetryStrategy, RetryStrategyV2 } from "@smithy/types";
|
3
|
+
/**
|
4
|
+
* @internal
|
5
|
+
*/
|
3
6
|
export declare const ENV_MAX_ATTEMPTS = "AWS_MAX_ATTEMPTS";
|
7
|
+
/**
|
8
|
+
* @internal
|
9
|
+
*/
|
4
10
|
export declare const CONFIG_MAX_ATTEMPTS = "max_attempts";
|
11
|
+
/**
|
12
|
+
* @internal
|
13
|
+
*/
|
5
14
|
export declare const NODE_MAX_ATTEMPT_CONFIG_OPTIONS: LoadedConfigSelectors<number>;
|
6
15
|
/**
|
7
16
|
* @public
|
@@ -39,7 +48,19 @@ export interface RetryResolvedConfig {
|
|
39
48
|
*/
|
40
49
|
retryStrategy: Provider<RetryStrategyV2 | RetryStrategy>;
|
41
50
|
}
|
51
|
+
/**
|
52
|
+
* @internal
|
53
|
+
*/
|
42
54
|
export declare const resolveRetryConfig: <T>(input: T & PreviouslyResolved & RetryInputConfig) => T & RetryResolvedConfig;
|
55
|
+
/**
|
56
|
+
* @internal
|
57
|
+
*/
|
43
58
|
export declare const ENV_RETRY_MODE = "AWS_RETRY_MODE";
|
59
|
+
/**
|
60
|
+
* @internal
|
61
|
+
*/
|
44
62
|
export declare const CONFIG_RETRY_MODE = "retry_mode";
|
63
|
+
/**
|
64
|
+
* @internal
|
65
|
+
*/
|
45
66
|
export declare const NODE_RETRY_MODE_CONFIG_OPTIONS: LoadedConfigSelectors<string>;
|
@@ -1,4 +1,7 @@
|
|
1
1
|
import { RetryQuota } from "./types";
|
2
|
+
/**
|
3
|
+
* @internal
|
4
|
+
*/
|
2
5
|
export interface DefaultRetryQuotaOptions {
|
3
6
|
/**
|
4
7
|
* The total amount of retry token to be incremented from retry token balance
|
@@ -15,4 +18,7 @@ export interface DefaultRetryQuotaOptions {
|
|
15
18
|
*/
|
16
19
|
timeoutRetryCost?: number;
|
17
20
|
}
|
21
|
+
/**
|
22
|
+
* @internal
|
23
|
+
*/
|
18
24
|
export declare const getDefaultRetryQuota: (initialRetryTokens: number, options?: DefaultRetryQuotaOptions) => RetryQuota;
|
package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/omitRetryHeadersMiddleware.d.ts
CHANGED
@@ -1,4 +1,13 @@
|
|
1
1
|
import { FinalizeHandler, MetadataBearer, Pluggable, RelativeMiddlewareOptions } from "@smithy/types";
|
2
|
+
/**
|
3
|
+
* @internal
|
4
|
+
*/
|
2
5
|
export declare const omitRetryHeadersMiddleware: () => <Output extends MetadataBearer = MetadataBearer>(next: FinalizeHandler<any, Output>) => FinalizeHandler<any, Output>;
|
6
|
+
/**
|
7
|
+
* @internal
|
8
|
+
*/
|
3
9
|
export declare const omitRetryHeadersMiddlewareOptions: RelativeMiddlewareOptions;
|
10
|
+
/**
|
11
|
+
* @internal
|
12
|
+
*/
|
4
13
|
export declare const getOmitRetryHeadersPlugin: (options: unknown) => Pluggable<any, any>;
|
@@ -1,6 +1,18 @@
|
|
1
1
|
import { AbsoluteLocation, FinalizeHandler, FinalizeRequestHandlerOptions, HandlerExecutionContext, MetadataBearer, Pluggable } from "@smithy/types";
|
2
2
|
import { RetryResolvedConfig } from "./configurations";
|
3
|
+
/**
|
4
|
+
* @internal
|
5
|
+
*/
|
3
6
|
export declare const retryMiddleware: (options: RetryResolvedConfig) => <Output extends MetadataBearer = MetadataBearer>(next: FinalizeHandler<any, Output>, context: HandlerExecutionContext) => FinalizeHandler<any, Output>;
|
7
|
+
/**
|
8
|
+
* @internal
|
9
|
+
*/
|
4
10
|
export declare const retryMiddlewareOptions: FinalizeRequestHandlerOptions & AbsoluteLocation;
|
11
|
+
/**
|
12
|
+
* @internal
|
13
|
+
*/
|
5
14
|
export declare const getRetryPlugin: (options: RetryResolvedConfig) => Pluggable<any, any>;
|
15
|
+
/**
|
16
|
+
* @internal
|
17
|
+
*/
|
6
18
|
export declare const getRetryAfterHint: (response: unknown) => Date | undefined;
|
@@ -4,6 +4,9 @@ import { SdkError } from "@smithy/types";
|
|
4
4
|
* already attempted, the HTTP status code, and the error received (if any).
|
5
5
|
*
|
6
6
|
* @param error - The error encountered.
|
7
|
+
*
|
8
|
+
* @deprecated
|
9
|
+
* @internal
|
7
10
|
*/
|
8
11
|
export interface RetryDecider {
|
9
12
|
(error: SdkError): boolean;
|
@@ -13,12 +16,17 @@ export interface RetryDecider {
|
|
13
16
|
*
|
14
17
|
* @param delayBase - The base delay (in milliseconds).
|
15
18
|
* @param attempts - The number of times the action has already been tried.
|
19
|
+
*
|
20
|
+
* @deprecated
|
21
|
+
* @internal
|
16
22
|
*/
|
17
23
|
export interface DelayDecider {
|
18
24
|
(delayBase: number, attempts: number): number;
|
19
25
|
}
|
20
26
|
/**
|
21
27
|
* Interface that specifies the retry quota behavior.
|
28
|
+
* @deprecated
|
29
|
+
* @internal
|
22
30
|
*/
|
23
31
|
export interface RetryQuota {
|
24
32
|
/**
|
@@ -35,6 +43,10 @@ export interface RetryQuota {
|
|
35
43
|
*/
|
36
44
|
releaseRetryTokens: (releaseCapacityAmount?: number) => void;
|
37
45
|
}
|
46
|
+
/**
|
47
|
+
* @deprecated
|
48
|
+
* @internal
|
49
|
+
*/
|
38
50
|
export interface RateLimiter {
|
39
51
|
/**
|
40
52
|
* If there is sufficient capacity (tokens) available, it immediately returns.
|
@@ -4,6 +4,9 @@ import { SdkError } from "@smithy/types";
|
|
4
4
|
* already attempted, the HTTP status code, and the error received (if any).
|
5
5
|
*
|
6
6
|
* @param error - The error encountered.
|
7
|
+
*
|
8
|
+
* @deprecated
|
9
|
+
* @internal
|
7
10
|
*/
|
8
11
|
export interface RetryDecider {
|
9
12
|
(error: SdkError): boolean;
|
@@ -13,12 +16,17 @@ export interface RetryDecider {
|
|
13
16
|
*
|
14
17
|
* @param delayBase - The base delay (in milliseconds).
|
15
18
|
* @param attempts - The number of times the action has already been tried.
|
19
|
+
*
|
20
|
+
* @deprecated
|
21
|
+
* @internal
|
16
22
|
*/
|
17
23
|
export interface DelayDecider {
|
18
24
|
(delayBase: number, attempts: number): number;
|
19
25
|
}
|
20
26
|
/**
|
21
27
|
* Interface that specifies the retry quota behavior.
|
28
|
+
* @deprecated
|
29
|
+
* @internal
|
22
30
|
*/
|
23
31
|
export interface RetryQuota {
|
24
32
|
/**
|
@@ -35,6 +43,10 @@ export interface RetryQuota {
|
|
35
43
|
*/
|
36
44
|
releaseRetryTokens: (releaseCapacityAmount?: number) => void;
|
37
45
|
}
|
46
|
+
/**
|
47
|
+
* @deprecated
|
48
|
+
* @internal
|
49
|
+
*/
|
38
50
|
export interface RateLimiter {
|
39
51
|
/**
|
40
52
|
* If there is sufficient capacity (tokens) available, it immediately returns.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-retry",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.34",
|
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",
|
@@ -36,7 +36,7 @@
|
|
36
36
|
"@smithy/node-config-provider": "^3.1.12",
|
37
37
|
"@smithy/protocol-http": "^4.1.8",
|
38
38
|
"@smithy/service-error-classification": "^3.0.11",
|
39
|
-
"@smithy/smithy-client": "^3.
|
39
|
+
"@smithy/smithy-client": "^3.7.0",
|
40
40
|
"@smithy/types": "^3.7.2",
|
41
41
|
"@smithy/util-middleware": "^3.0.11",
|
42
42
|
"@smithy/util-retry": "^3.0.11",
|
@@ -125,10 +125,16 @@ var setSocketKeepAlive = /* @__PURE__ */ __name((request, { keepAlive, keepAlive
|
|
125
125
|
var DEFER_EVENT_LISTENER_TIME3 = 3e3;
|
126
126
|
var setSocketTimeout = /* @__PURE__ */ __name((request, reject, timeoutInMs = 0) => {
|
127
127
|
const registerTimeout = /* @__PURE__ */ __name((offset) => {
|
128
|
-
|
128
|
+
const timeout = timeoutInMs - offset;
|
129
|
+
const onTimeout = /* @__PURE__ */ __name(() => {
|
129
130
|
request.destroy();
|
130
131
|
reject(Object.assign(new Error(`Connection timed out after ${timeoutInMs} ms`), { name: "TimeoutError" }));
|
131
|
-
});
|
132
|
+
}, "onTimeout");
|
133
|
+
if (request.socket) {
|
134
|
+
request.socket.setTimeout(timeout, onTimeout);
|
135
|
+
} else {
|
136
|
+
request.setTimeout(timeout, onTimeout);
|
137
|
+
}
|
132
138
|
}, "registerTimeout");
|
133
139
|
if (0 < timeoutInMs && timeoutInMs < 6e3) {
|
134
140
|
registerTimeout(0);
|
@@ -2,10 +2,17 @@ import { timing } from "./timing";
|
|
2
2
|
const DEFER_EVENT_LISTENER_TIME = 3000;
|
3
3
|
export const setSocketTimeout = (request, reject, timeoutInMs = 0) => {
|
4
4
|
const registerTimeout = (offset) => {
|
5
|
-
|
5
|
+
const timeout = timeoutInMs - offset;
|
6
|
+
const onTimeout = () => {
|
6
7
|
request.destroy();
|
7
8
|
reject(Object.assign(new Error(`Connection timed out after ${timeoutInMs} ms`), { name: "TimeoutError" }));
|
8
|
-
}
|
9
|
+
};
|
10
|
+
if (request.socket) {
|
11
|
+
request.socket.setTimeout(timeout, onTimeout);
|
12
|
+
}
|
13
|
+
else {
|
14
|
+
request.setTimeout(timeout, onTimeout);
|
15
|
+
}
|
9
16
|
};
|
10
17
|
if (0 < timeoutInMs && timeoutInMs < 6000) {
|
11
18
|
registerTimeout(0);
|
@@ -813,6 +813,15 @@ var _ServiceException = class _ServiceException extends Error {
|
|
813
813
|
this.$fault = options.$fault;
|
814
814
|
this.$metadata = options.$metadata;
|
815
815
|
}
|
816
|
+
/**
|
817
|
+
* Checks if a value is an instance of ServiceException (duck typed)
|
818
|
+
*/
|
819
|
+
static isInstance(value) {
|
820
|
+
if (!value)
|
821
|
+
return false;
|
822
|
+
const candidate = value;
|
823
|
+
return Boolean(candidate.$fault) && Boolean(candidate.$metadata) && (candidate.$fault === "client" || candidate.$fault === "server");
|
824
|
+
}
|
816
825
|
};
|
817
826
|
__name(_ServiceException, "ServiceException");
|
818
827
|
var ServiceException = _ServiceException;
|
@@ -6,6 +6,14 @@ export class ServiceException extends Error {
|
|
6
6
|
this.$fault = options.$fault;
|
7
7
|
this.$metadata = options.$metadata;
|
8
8
|
}
|
9
|
+
static isInstance(value) {
|
10
|
+
if (!value)
|
11
|
+
return false;
|
12
|
+
const candidate = value;
|
13
|
+
return (Boolean(candidate.$fault) &&
|
14
|
+
Boolean(candidate.$metadata) &&
|
15
|
+
(candidate.$fault === "client" || candidate.$fault === "server"));
|
16
|
+
}
|
9
17
|
}
|
10
18
|
export const decorateServiceException = (exception, additions = {}) => {
|
11
19
|
Object.entries(additions)
|
@@ -23,6 +23,10 @@ export declare class ServiceException extends Error implements SmithyException,
|
|
23
23
|
$retryable?: RetryableTrait;
|
24
24
|
$metadata: ResponseMetadata;
|
25
25
|
constructor(options: ServiceExceptionOptions);
|
26
|
+
/**
|
27
|
+
* Checks if a value is an instance of ServiceException (duck typed)
|
28
|
+
*/
|
29
|
+
static isInstance(value: unknown): value is ServiceException;
|
26
30
|
}
|
27
31
|
/**
|
28
32
|
* This method inject unmodeled member to a deserialized SDK exception,
|
@@ -23,6 +23,10 @@ export declare class ServiceException extends Error implements SmithyException,
|
|
23
23
|
$retryable?: RetryableTrait;
|
24
24
|
$metadata: ResponseMetadata;
|
25
25
|
constructor(options: ServiceExceptionOptions);
|
26
|
+
/**
|
27
|
+
* Checks if a value is an instance of ServiceException (duck typed)
|
28
|
+
*/
|
29
|
+
static isInstance(value: unknown): value is ServiceException;
|
26
30
|
}
|
27
31
|
/**
|
28
32
|
* This method inject unmodeled member to a deserialized SDK exception,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/smithy-client",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.7.0",
|
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",
|
@@ -24,12 +24,12 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/core": "^2.5.
|
28
|
-
"@smithy/middleware-endpoint": "^3.2.
|
27
|
+
"@smithy/core": "^2.5.7",
|
28
|
+
"@smithy/middleware-endpoint": "^3.2.8",
|
29
29
|
"@smithy/middleware-stack": "^3.0.11",
|
30
30
|
"@smithy/protocol-http": "^4.1.8",
|
31
31
|
"@smithy/types": "^3.7.2",
|
32
|
-
"@smithy/util-stream": "^3.3.
|
32
|
+
"@smithy/util-stream": "^3.3.4",
|
33
33
|
"tslib": "^2.6.2"
|
34
34
|
},
|
35
35
|
"engines": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.34",
|
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",
|
@@ -24,7 +24,7 @@
|
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
26
|
"@smithy/property-provider": "^3.1.11",
|
27
|
-
"@smithy/smithy-client": "^3.
|
27
|
+
"@smithy/smithy-client": "^3.7.0",
|
28
28
|
"@smithy/types": "^3.7.2",
|
29
29
|
"bowser": "^2.11.0",
|
30
30
|
"tslib": "^2.6.2"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.34",
|
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",
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"@smithy/credential-provider-imds": "^3.2.8",
|
28
28
|
"@smithy/node-config-provider": "^3.1.12",
|
29
29
|
"@smithy/property-provider": "^3.1.11",
|
30
|
-
"@smithy/smithy-client": "^3.
|
30
|
+
"@smithy/smithy-client": "^3.7.0",
|
31
31
|
"@smithy/types": "^3.7.2",
|
32
32
|
"tslib": "^2.6.2"
|
33
33
|
},
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Readable } from "stream";
|
2
2
|
/**
|
3
3
|
* @internal
|
4
|
-
* @param stream
|
4
|
+
* @param stream - to be read.
|
5
5
|
* @param bytes - read head bytes from the stream and discard the rest of it.
|
6
6
|
*
|
7
7
|
* Caution: the input stream must be destroyed separately, this function does not do so.
|
@@ -1,7 +1,8 @@
|
|
1
1
|
/// <reference types="node" />
|
2
2
|
import type { Readable } from "stream";
|
3
3
|
/**
|
4
|
-
* @
|
4
|
+
* @internal
|
5
|
+
* @param stream - to be split.
|
5
6
|
* @returns stream split into two identical streams.
|
6
7
|
*/
|
7
8
|
export declare function splitStream(stream: Readable): Promise<[Readable, Readable]>;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Readable } from "stream";
|
2
2
|
/**
|
3
3
|
* @internal
|
4
|
-
* @param stream
|
4
|
+
* @param stream - to be read.
|
5
5
|
* @param bytes - read head bytes from the stream and discard the rest of it.
|
6
6
|
*
|
7
7
|
* Caution: the input stream must be destroyed separately, this function does not do so.
|
@@ -1,7 +1,8 @@
|
|
1
1
|
/// <reference types="node" />
|
2
2
|
import { Readable } from "stream";
|
3
3
|
/**
|
4
|
-
* @
|
4
|
+
* @internal
|
5
|
+
* @param stream - to be split.
|
5
6
|
* @returns stream split into two identical streams.
|
6
7
|
*/
|
7
8
|
export declare function splitStream(stream: Readable): Promise<[
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-stream",
|
3
|
-
"version": "3.3.
|
3
|
+
"version": "3.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-stream",
|
@@ -28,8 +28,8 @@
|
|
28
28
|
},
|
29
29
|
"license": "Apache-2.0",
|
30
30
|
"dependencies": {
|
31
|
-
"@smithy/fetch-http-handler": "^4.1.
|
32
|
-
"@smithy/node-http-handler": "^3.3.
|
31
|
+
"@smithy/fetch-http-handler": "^4.1.3",
|
32
|
+
"@smithy/node-http-handler": "^3.3.3",
|
33
33
|
"@smithy/types": "^3.7.2",
|
34
34
|
"@smithy/util-base64": "^3.0.0",
|
35
35
|
"@smithy/util-buffer-from": "^3.0.0",
|
package/package.json
CHANGED
@@ -42,17 +42,17 @@
|
|
42
42
|
"organization": false
|
43
43
|
},
|
44
44
|
"devDependencies": {
|
45
|
-
"@cdk8s/projen-common": "0.0.
|
45
|
+
"@cdk8s/projen-common": "0.0.566",
|
46
46
|
"@stylistic/eslint-plugin": "^2",
|
47
47
|
"@types/fs-extra": "^11.0.4",
|
48
48
|
"@types/jest": "^27",
|
49
49
|
"@types/node": "16.18.78",
|
50
50
|
"@typescript-eslint/eslint-plugin": "^8",
|
51
51
|
"@typescript-eslint/parser": "^8",
|
52
|
-
"aws-cdk": "^2.173.
|
52
|
+
"aws-cdk": "^2.173.4",
|
53
53
|
"aws-cdk-lib": "2.109.0",
|
54
54
|
"cdk8s": "2.68.91",
|
55
|
-
"cdk8s-cli": "^2.198.
|
55
|
+
"cdk8s-cli": "^2.198.292",
|
56
56
|
"commit-and-tag-version": "^12",
|
57
57
|
"constructs": "10.3.0",
|
58
58
|
"eslint": "^9",
|
@@ -66,7 +66,7 @@
|
|
66
66
|
"jsii-docgen": "^10.5.0",
|
67
67
|
"jsii-pacmak": "^1.106.0",
|
68
68
|
"jsii-rosetta": "^5",
|
69
|
-
"projen": "^0.91.
|
69
|
+
"projen": "^0.91.5",
|
70
70
|
"ts-jest": "^27",
|
71
71
|
"ts-node": "^10.9.2",
|
72
72
|
"typescript": "^5.7.2"
|
@@ -77,7 +77,7 @@
|
|
77
77
|
"constructs": "^10.3.0"
|
78
78
|
},
|
79
79
|
"dependencies": {
|
80
|
-
"@aws-sdk/client-cloudformation": "^3.
|
80
|
+
"@aws-sdk/client-cloudformation": "^3.721.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.
|
96
|
+
"version": "0.0.223",
|
97
97
|
"jest": {
|
98
98
|
"coverageProvider": "v8",
|
99
99
|
"testMatch": [
|