@cdk8s/awscdk-resolver 0.0.224 → 0.0.226
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 +610 -478
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormationClient.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_0.js +81 -54
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_1.js +3 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/node_modules/@aws-sdk/client-cloudformation/package.json +44 -44
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +57 -42
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/models/models_0.js +8 -8
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +15 -5
- package/node_modules/@aws-sdk/client-sso/package.json +40 -40
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +295 -92
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js +58 -28
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +42 -42
- package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +115 -104
- package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js +16 -16
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/node_modules/@aws-sdk/client-sts/package.json +42 -42
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +18 -22
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +3 -4
- package/node_modules/@aws-sdk/core/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +2 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-http/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +12 -17
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +16 -16
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +11 -18
- package/node_modules/@aws-sdk/credential-provider-node/package.json +15 -15
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -5
- package/node_modules/@aws-sdk/credential-provider-process/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +5 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +9 -9
- package/node_modules/@aws-sdk/middleware-host-header/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +2 -3
- package/node_modules/@aws-sdk/middleware-logger/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +13 -17
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +9 -9
- package/node_modules/@aws-sdk/region-config-resolver/package.json +8 -8
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +5 -7
- package/node_modules/@aws-sdk/token-providers/package.json +9 -9
- package/node_modules/@aws-sdk/types/package.json +4 -4
- package/node_modules/@aws-sdk/util-endpoints/package.json +6 -6
- package/node_modules/@aws-sdk/util-locate-window/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +1 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +8 -8
- package/node_modules/@smithy/abort-controller/dist-cjs/index.js +8 -6
- package/node_modules/@smithy/abort-controller/package.json +3 -3
- package/node_modules/@smithy/config-resolver/dist-cjs/index.js +8 -12
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +3 -0
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +4 -1
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts +3 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts +4 -1
- package/node_modules/@smithy/config-resolver/package.json +6 -6
- package/node_modules/@smithy/core/dist-cjs/index.js +19 -16
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +2 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +1 -0
- package/node_modules/@smithy/core/package.json +10 -10
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +10 -11
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +7 -7
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +8 -9
- package/node_modules/@smithy/fetch-http-handler/package.json +9 -6
- package/node_modules/@smithy/hash-node/dist-cjs/index.js +4 -3
- package/node_modules/@smithy/hash-node/package.json +6 -6
- package/node_modules/@smithy/invalid-dependency/package.json +5 -2
- package/node_modules/@smithy/is-array-buffer/package.json +5 -4
- package/node_modules/@smithy/middleware-content-length/package.json +4 -4
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +7 -9
- package/node_modules/@smithy/middleware-endpoint/package.json +9 -9
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +18 -17
- package/node_modules/@smithy/middleware-retry/package.json +9 -9
- package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +1 -2
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +4 -12
- package/node_modules/@smithy/middleware-stack/dist-types/MiddlewareStack.d.ts +3 -0
- package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/MiddlewareStack.d.ts +3 -0
- package/node_modules/@smithy/middleware-stack/package.json +3 -3
- package/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts +9 -0
- package/node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts +7 -0
- package/node_modules/@smithy/node-config-provider/dist-types/fromStatic.d.ts +6 -0
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/configLoader.d.ts +9 -0
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromSharedConfigFiles.d.ts +7 -0
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromStatic.d.ts +6 -0
- package/node_modules/@smithy/node-config-provider/package.json +6 -6
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +36 -36
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +8 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +3 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +6 -1
- package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +1 -0
- package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -0
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +4 -0
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +1 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +8 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +3 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +6 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +4 -0
- package/node_modules/@smithy/node-http-handler/package.json +7 -7
- package/node_modules/@smithy/property-provider/dist-cjs/index.js +16 -14
- package/node_modules/@smithy/property-provider/package.json +3 -3
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +16 -12
- package/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +0 -2
- package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +3 -1
- package/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +13 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -2
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +3 -1
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +13 -0
- package/node_modules/@smithy/protocol-http/package.json +3 -3
- package/node_modules/@smithy/querystring-builder/package.json +4 -4
- package/node_modules/@smithy/querystring-parser/package.json +3 -3
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +4 -14
- package/node_modules/@smithy/service-error-classification/package.json +3 -3
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +10 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +1 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +2 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +10 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +7 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +3 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +10 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +1 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +2 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +10 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +7 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +3 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +6 -3
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +6 -3
- package/node_modules/@smithy/shared-ini-file-loader/package.json +4 -4
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +16 -14
- package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +9 -0
- package/node_modules/@smithy/signature-v4/dist-types/credentialDerivation.d.ts +13 -9
- package/node_modules/@smithy/signature-v4/dist-types/getCanonicalHeaders.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/getCanonicalQuery.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/getPayloadHash.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/moveHeadersToQuery.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/prepareRequest.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +9 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/credentialDerivation.d.ts +13 -9
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalHeaders.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalQuery.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getPayloadHash.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/package.json +9 -9
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +27 -21
- package/node_modules/@smithy/smithy-client/package.json +9 -9
- package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +2 -0
- package/node_modules/@smithy/types/dist-types/client.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/connection/config.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/connection/manager.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/connection/pool.d.ts +8 -0
- package/node_modules/@smithy/types/dist-types/encode.d.ts +12 -0
- package/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +12 -0
- package/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +9 -0
- package/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +30 -0
- package/node_modules/@smithy/types/dist-types/eventStream.d.ts +31 -2
- package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +3 -2
- package/node_modules/@smithy/types/dist-types/http.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/serde.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/transfer.d.ts +8 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +8 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +12 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +12 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +9 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +30 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +31 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +3 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +8 -0
- package/node_modules/@smithy/types/package.json +2 -2
- package/node_modules/@smithy/url-parser/package.json +6 -3
- package/node_modules/@smithy/util-base64/package.json +8 -7
- package/node_modules/@smithy/util-body-length-browser/package.json +7 -3
- package/node_modules/@smithy/util-body-length-node/package.json +6 -5
- package/node_modules/@smithy/util-buffer-from/package.json +7 -6
- package/node_modules/@smithy/util-config-provider/package.json +6 -5
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -6
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +9 -9
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +13 -15
- package/node_modules/@smithy/util-endpoints/package.json +5 -5
- package/node_modules/@smithy/util-hex-encoding/package.json +5 -4
- package/node_modules/@smithy/util-middleware/package.json +4 -4
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +27 -21
- package/node_modules/@smithy/util-retry/package.json +5 -5
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +4 -3
- package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +1 -1
- package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +1 -1
- package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +1 -0
- package/node_modules/@smithy/util-stream/package.json +10 -10
- package/node_modules/@smithy/util-uri-escape/package.json +5 -4
- package/node_modules/@smithy/util-utf8/package.json +6 -5
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +4 -6
- package/node_modules/@smithy/util-waiter/package.json +4 -4
- package/package.json +3 -3
@@ -43,10 +43,11 @@ export interface NodeHttpHandlerOptions {
|
|
43
43
|
*/
|
44
44
|
socketAcquisitionWarningTimeout?: number;
|
45
45
|
/**
|
46
|
-
*
|
47
|
-
*
|
46
|
+
* This field is deprecated, and requestTimeout should be used instead.
|
48
47
|
* The maximum time in milliseconds that a socket may remain idle before it
|
49
48
|
* is closed.
|
49
|
+
*
|
50
|
+
* @deprecated Use {@link requestTimeout}
|
50
51
|
*/
|
51
52
|
socketTimeout?: number;
|
52
53
|
/**
|
@@ -49,11 +49,17 @@ export interface HttpMessage {
|
|
49
49
|
* to null when query is not in key-value pairs shape
|
50
50
|
*/
|
51
51
|
export type QueryParameterBag = Record<string, string | Array<string> | null>;
|
52
|
+
/**
|
53
|
+
* @public
|
54
|
+
*/
|
52
55
|
export type FieldOptions = {
|
53
56
|
name: string;
|
54
57
|
kind?: FieldPosition;
|
55
58
|
values?: string[];
|
56
59
|
};
|
60
|
+
/**
|
61
|
+
* @public
|
62
|
+
*/
|
57
63
|
export declare enum FieldPosition {
|
58
64
|
HEADER = 0,
|
59
65
|
TRAILER = 1
|
@@ -71,6 +71,7 @@ export interface ResponseDeserializer<OutputType, ResponseType = any, Context =
|
|
71
71
|
* The interface contains mix-in utility functions to transfer the runtime-specific
|
72
72
|
* stream implementation to specified format. Each stream can ONLY be transformed
|
73
73
|
* once.
|
74
|
+
* @public
|
74
75
|
*/
|
75
76
|
export interface SdkStreamMixin {
|
76
77
|
transformToByteArray: () => Promise<Uint8Array>;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
/// <reference types="node" />
|
2
2
|
/// <reference types="node" />
|
3
|
+
/// <reference types="node" />
|
3
4
|
import type { Readable } from "stream";
|
4
5
|
import type { BlobOptionalType, ReadableStreamOptionalType } from "../externals-check/browser-externals-check";
|
5
6
|
/**
|
@@ -34,7 +35,7 @@ import type { BlobOptionalType, ReadableStreamOptionalType } from "../externals-
|
|
34
35
|
* There is also the type utility "NodeJsClient", "BrowserClient" and more
|
35
36
|
* exported from this package. These can be applied at the client level
|
36
37
|
* to pre-narrow these streaming payload blobs. For usage see the readme.md
|
37
|
-
* in the root of the
|
38
|
+
* in the root of the \@smithy/types NPM package.
|
38
39
|
*/
|
39
40
|
export type StreamingBlobPayloadInputTypes = NodeJsRuntimeStreamingBlobPayloadInputTypes | BrowserRuntimeStreamingBlobPayloadInputTypes;
|
40
41
|
/**
|
@@ -23,11 +23,19 @@ export interface RequestHandler<RequestType, ResponseType, HandlerOptions = {}>
|
|
23
23
|
export interface RequestHandlerMetadata {
|
24
24
|
handlerProtocol: RequestHandlerProtocol | string;
|
25
25
|
}
|
26
|
+
/**
|
27
|
+
* @public
|
28
|
+
* Values from ALPN Protocol IDs.
|
29
|
+
* @see https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
|
30
|
+
*/
|
26
31
|
export declare enum RequestHandlerProtocol {
|
27
32
|
HTTP_0_9 = "http/0.9",
|
28
33
|
HTTP_1_0 = "http/1.0",
|
29
34
|
TDS_8_0 = "tds/8.0"
|
30
35
|
}
|
36
|
+
/**
|
37
|
+
* @public
|
38
|
+
*/
|
31
39
|
export interface RequestContext {
|
32
40
|
destination: URL;
|
33
41
|
}
|
@@ -35,6 +35,7 @@ export type NodeJsRuntimeBlobTypes = Readable | Buffer;
|
|
35
35
|
*/
|
36
36
|
export type BrowserRuntimeBlobTypes = BlobOptionalType | ReadableStreamOptionalType;
|
37
37
|
/**
|
38
|
+
* @internal
|
38
39
|
* @deprecated renamed to BlobPayloadInputTypes.
|
39
40
|
*/
|
40
41
|
export type BlobTypes = BlobPayloadInputTypes;
|
@@ -47,6 +47,7 @@ export interface InvokeMethodOptionalArgs<InputType extends object, OutputType e
|
|
47
47
|
* A general interface for service clients, idempotent to browser or node clients
|
48
48
|
* This type corresponds to SmithyClient(https://github.com/aws/aws-sdk-js-v3/blob/main/packages/smithy-client/src/client.ts).
|
49
49
|
* It's provided for using without importing the SmithyClient class.
|
50
|
+
* @internal
|
50
51
|
*/
|
51
52
|
export interface Client<Input extends object, Output extends MetadataBearer, ResolvedClientConfiguration> {
|
52
53
|
readonly config: ResolvedClientConfiguration;
|
@@ -1,5 +1,8 @@
|
|
1
1
|
import { RequestContext } from "../transfer";
|
2
2
|
import { ConnectConfiguration } from "./config";
|
3
|
+
/**
|
4
|
+
* @public
|
5
|
+
*/
|
3
6
|
export interface ConnectionManagerConfiguration {
|
4
7
|
/**
|
5
8
|
* Maximum number of allowed concurrent requests per connection.
|
@@ -10,6 +13,9 @@ export interface ConnectionManagerConfiguration {
|
|
10
13
|
*/
|
11
14
|
disableConcurrency?: boolean;
|
12
15
|
}
|
16
|
+
/**
|
17
|
+
* @public
|
18
|
+
*/
|
13
19
|
export interface ConnectionManager<T> {
|
14
20
|
/**
|
15
21
|
* Retrieves a connection from the connection pool if available,
|
@@ -1,3 +1,6 @@
|
|
1
|
+
/**
|
2
|
+
* @public
|
3
|
+
*/
|
1
4
|
export interface ConnectionPool<T> {
|
2
5
|
/**
|
3
6
|
* Retrieve the first connection in the pool
|
@@ -19,6 +22,11 @@ export interface ConnectionPool<T> {
|
|
19
22
|
*/
|
20
23
|
[Symbol.iterator](): Iterator<T>;
|
21
24
|
}
|
25
|
+
/**
|
26
|
+
* Unused.
|
27
|
+
* @internal
|
28
|
+
* @deprecated
|
29
|
+
*/
|
22
30
|
export interface CacheKey {
|
23
31
|
destination: string;
|
24
32
|
}
|
@@ -1,7 +1,13 @@
|
|
1
1
|
import { Message } from "./eventStream";
|
2
|
+
/**
|
3
|
+
* @public
|
4
|
+
*/
|
2
5
|
export interface MessageEncoder {
|
3
6
|
encode(message: Message): Uint8Array;
|
4
7
|
}
|
8
|
+
/**
|
9
|
+
* @public
|
10
|
+
*/
|
5
11
|
export interface MessageDecoder {
|
6
12
|
decode(message: ArrayBufferView): Message;
|
7
13
|
feed(message: ArrayBufferView): void;
|
@@ -9,10 +15,16 @@ export interface MessageDecoder {
|
|
9
15
|
getMessage(): AvailableMessage;
|
10
16
|
getAvailableMessages(): AvailableMessages;
|
11
17
|
}
|
18
|
+
/**
|
19
|
+
* @public
|
20
|
+
*/
|
12
21
|
export interface AvailableMessage {
|
13
22
|
getMessage(): Message | undefined;
|
14
23
|
isEndOfStream(): boolean;
|
15
24
|
}
|
25
|
+
/**
|
26
|
+
* @public
|
27
|
+
*/
|
16
28
|
export interface AvailableMessages {
|
17
29
|
getMessages(): Message[];
|
18
30
|
isEndOfStream(): boolean;
|
@@ -1,12 +1,24 @@
|
|
1
1
|
import { EndpointObjectProperty } from "../endpoint";
|
2
2
|
import { ConditionObject, Expression } from "./shared";
|
3
|
+
/**
|
4
|
+
* @public
|
5
|
+
*/
|
3
6
|
export type EndpointObjectProperties = Record<string, EndpointObjectProperty>;
|
7
|
+
/**
|
8
|
+
* @public
|
9
|
+
*/
|
4
10
|
export type EndpointObjectHeaders = Record<string, Expression[]>;
|
11
|
+
/**
|
12
|
+
* @public
|
13
|
+
*/
|
5
14
|
export type EndpointObject = {
|
6
15
|
url: Expression;
|
7
16
|
properties?: EndpointObjectProperties;
|
8
17
|
headers?: EndpointObjectHeaders;
|
9
18
|
};
|
19
|
+
/**
|
20
|
+
* @public
|
21
|
+
*/
|
10
22
|
export type EndpointRuleObject = {
|
11
23
|
type: "endpoint";
|
12
24
|
conditions?: ConditionObject[];
|
@@ -1,8 +1,14 @@
|
|
1
1
|
import { RuleSetRules } from "./TreeRuleObject";
|
2
|
+
/**
|
3
|
+
* @public
|
4
|
+
*/
|
2
5
|
export type DeprecatedObject = {
|
3
6
|
message?: string;
|
4
7
|
since?: string;
|
5
8
|
};
|
9
|
+
/**
|
10
|
+
* @public
|
11
|
+
*/
|
6
12
|
export type ParameterObject = {
|
7
13
|
type: "String" | "string" | "Boolean" | "boolean";
|
8
14
|
default?: string | boolean;
|
@@ -11,6 +17,9 @@ export type ParameterObject = {
|
|
11
17
|
builtIn?: string;
|
12
18
|
deprecated?: DeprecatedObject;
|
13
19
|
};
|
20
|
+
/**
|
21
|
+
* @public
|
22
|
+
*/
|
14
23
|
export type RuleSetObject = {
|
15
24
|
version: string;
|
16
25
|
serviceId?: string;
|
@@ -1,7 +1,13 @@
|
|
1
1
|
import { EndpointRuleObject } from "./EndpointRuleObject";
|
2
2
|
import { ErrorRuleObject } from "./ErrorRuleObject";
|
3
3
|
import { ConditionObject } from "./shared";
|
4
|
+
/**
|
5
|
+
* @public
|
6
|
+
*/
|
4
7
|
export type RuleSetRules = Array<EndpointRuleObject | ErrorRuleObject | TreeRuleObject>;
|
8
|
+
/**
|
9
|
+
* @public
|
10
|
+
*/
|
5
11
|
export type TreeRuleObject = {
|
6
12
|
type: "tree";
|
7
13
|
conditions?: ConditionObject[];
|
@@ -1,25 +1,55 @@
|
|
1
1
|
import { Logger } from "../logger";
|
2
|
+
/**
|
3
|
+
* @public
|
4
|
+
*/
|
2
5
|
export type ReferenceObject = {
|
3
6
|
ref: string;
|
4
7
|
};
|
8
|
+
/**
|
9
|
+
* @public
|
10
|
+
*/
|
5
11
|
export type FunctionObject = {
|
6
12
|
fn: string;
|
7
13
|
argv: FunctionArgv;
|
8
14
|
};
|
15
|
+
/**
|
16
|
+
* @public
|
17
|
+
*/
|
9
18
|
export type FunctionArgv = Array<Expression | boolean | number>;
|
19
|
+
/**
|
20
|
+
* @public
|
21
|
+
*/
|
10
22
|
export type FunctionReturn = string | boolean | number | {
|
11
23
|
[key: string]: FunctionReturn;
|
12
24
|
};
|
25
|
+
/**
|
26
|
+
* @public
|
27
|
+
*/
|
13
28
|
export type ConditionObject = FunctionObject & {
|
14
29
|
assign?: string;
|
15
30
|
};
|
31
|
+
/**
|
32
|
+
* @public
|
33
|
+
*/
|
16
34
|
export type Expression = string | ReferenceObject | FunctionObject;
|
35
|
+
/**
|
36
|
+
* @public
|
37
|
+
*/
|
17
38
|
export type EndpointParams = Record<string, string | boolean>;
|
39
|
+
/**
|
40
|
+
* @public
|
41
|
+
*/
|
18
42
|
export type EndpointResolverOptions = {
|
19
43
|
endpointParams: EndpointParams;
|
20
44
|
logger?: Logger;
|
21
45
|
};
|
46
|
+
/**
|
47
|
+
* @public
|
48
|
+
*/
|
22
49
|
export type ReferenceRecord = Record<string, FunctionReturn>;
|
50
|
+
/**
|
51
|
+
* @public
|
52
|
+
*/
|
23
53
|
export type EvaluateOptions = EndpointResolverOptions & {
|
24
54
|
referenceRecord: ReferenceRecord;
|
25
55
|
};
|
@@ -16,18 +16,48 @@ export interface Message {
|
|
16
16
|
* @public
|
17
17
|
*/
|
18
18
|
export type MessageHeaders = Record<string, MessageHeaderValue>;
|
19
|
-
|
19
|
+
/**
|
20
|
+
* @public
|
21
|
+
*/
|
22
|
+
export type HeaderValue<K extends string, V> = {
|
20
23
|
type: K;
|
21
24
|
value: V;
|
22
25
|
};
|
26
|
+
/**
|
27
|
+
* @public
|
28
|
+
*/
|
23
29
|
export type BooleanHeaderValue = HeaderValue<"boolean", boolean>;
|
30
|
+
/**
|
31
|
+
* @public
|
32
|
+
*/
|
24
33
|
export type ByteHeaderValue = HeaderValue<"byte", number>;
|
34
|
+
/**
|
35
|
+
* @public
|
36
|
+
*/
|
25
37
|
export type ShortHeaderValue = HeaderValue<"short", number>;
|
38
|
+
/**
|
39
|
+
* @public
|
40
|
+
*/
|
26
41
|
export type IntegerHeaderValue = HeaderValue<"integer", number>;
|
42
|
+
/**
|
43
|
+
* @public
|
44
|
+
*/
|
27
45
|
export type LongHeaderValue = HeaderValue<"long", Int64>;
|
46
|
+
/**
|
47
|
+
* @public
|
48
|
+
*/
|
28
49
|
export type BinaryHeaderValue = HeaderValue<"binary", Uint8Array>;
|
50
|
+
/**
|
51
|
+
* @public
|
52
|
+
*/
|
29
53
|
export type StringHeaderValue = HeaderValue<"string", string>;
|
54
|
+
/**
|
55
|
+
* @public
|
56
|
+
*/
|
30
57
|
export type TimestampHeaderValue = HeaderValue<"timestamp", Date>;
|
58
|
+
/**
|
59
|
+
* @public
|
60
|
+
*/
|
31
61
|
export type UuidHeaderValue = HeaderValue<"uuid", string>;
|
32
62
|
/**
|
33
63
|
* @public
|
@@ -105,4 +135,3 @@ export interface EventStreamSerdeProvider {
|
|
105
135
|
export interface EventStreamSignerProvider {
|
106
136
|
(options: any): EventStreamRequestSigner;
|
107
137
|
}
|
108
|
-
export {};
|
@@ -19,6 +19,7 @@ export interface ChecksumAlgorithm {
|
|
19
19
|
}
|
20
20
|
/**
|
21
21
|
* @deprecated unused.
|
22
|
+
* @internal
|
22
23
|
*/
|
23
24
|
type ChecksumConfigurationLegacy = {
|
24
25
|
[other in string | number]: any;
|
@@ -32,6 +33,7 @@ export interface ChecksumConfiguration extends ChecksumConfigurationLegacy {
|
|
32
33
|
}
|
33
34
|
/**
|
34
35
|
* @deprecated will be removed for implicit type.
|
36
|
+
* @internal
|
35
37
|
*/
|
36
38
|
type GetChecksumConfigurationType = (runtimeConfig: Partial<{
|
37
39
|
sha256: ChecksumConstructor | HashConstructor;
|
@@ -43,6 +45,7 @@ type GetChecksumConfigurationType = (runtimeConfig: Partial<{
|
|
43
45
|
*/
|
44
46
|
export declare const getChecksumConfiguration: GetChecksumConfigurationType;
|
45
47
|
/**
|
48
|
+
* @internal
|
46
49
|
* @deprecated will be removed for implicit type.
|
47
50
|
*/
|
48
51
|
type ResolveChecksumRuntimeConfigType = (clientConfig: ChecksumConfiguration) => any;
|
@@ -42,10 +42,11 @@ export interface NodeHttpHandlerOptions {
|
|
42
42
|
*/
|
43
43
|
socketAcquisitionWarningTimeout?: number;
|
44
44
|
/**
|
45
|
-
*
|
46
|
-
*
|
45
|
+
* This field is deprecated, and requestTimeout should be used instead.
|
47
46
|
* The maximum time in milliseconds that a socket may remain idle before it
|
48
47
|
* is closed.
|
48
|
+
*
|
49
|
+
* @deprecated Use {@link requestTimeout}
|
49
50
|
*/
|
50
51
|
socketTimeout?: number;
|
51
52
|
/**
|
@@ -49,11 +49,17 @@ export interface HttpMessage {
|
|
49
49
|
* to null when query is not in key-value pairs shape
|
50
50
|
*/
|
51
51
|
export type QueryParameterBag = Record<string, string | Array<string> | null>;
|
52
|
+
/**
|
53
|
+
* @public
|
54
|
+
*/
|
52
55
|
export type FieldOptions = {
|
53
56
|
name: string;
|
54
57
|
kind?: FieldPosition;
|
55
58
|
values?: string[];
|
56
59
|
};
|
60
|
+
/**
|
61
|
+
* @public
|
62
|
+
*/
|
57
63
|
export declare enum FieldPosition {
|
58
64
|
HEADER = 0,
|
59
65
|
TRAILER = 1
|
@@ -71,6 +71,7 @@ export interface ResponseDeserializer<OutputType, ResponseType = any, Context =
|
|
71
71
|
* The interface contains mix-in utility functions to transfer the runtime-specific
|
72
72
|
* stream implementation to specified format. Each stream can ONLY be transformed
|
73
73
|
* once.
|
74
|
+
* @public
|
74
75
|
*/
|
75
76
|
export interface SdkStreamMixin {
|
76
77
|
transformToByteArray: () => Promise<Uint8Array>;
|
@@ -33,7 +33,7 @@ import { BlobOptionalType, ReadableStreamOptionalType } from "../externals-check
|
|
33
33
|
* There is also the type utility "NodeJsClient", "BrowserClient" and more
|
34
34
|
* exported from this package. These can be applied at the client level
|
35
35
|
* to pre-narrow these streaming payload blobs. For usage see the readme.md
|
36
|
-
* in the root of the
|
36
|
+
* in the root of the \@smithy/types NPM package.
|
37
37
|
*/
|
38
38
|
export type StreamingBlobPayloadInputTypes = NodeJsRuntimeStreamingBlobPayloadInputTypes | BrowserRuntimeStreamingBlobPayloadInputTypes;
|
39
39
|
/**
|
@@ -23,11 +23,19 @@ export interface RequestHandler<RequestType, ResponseType, HandlerOptions = {}>
|
|
23
23
|
export interface RequestHandlerMetadata {
|
24
24
|
handlerProtocol: RequestHandlerProtocol | string;
|
25
25
|
}
|
26
|
+
/**
|
27
|
+
* @public
|
28
|
+
* Values from ALPN Protocol IDs.
|
29
|
+
* @see https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
|
30
|
+
*/
|
26
31
|
export declare enum RequestHandlerProtocol {
|
27
32
|
HTTP_0_9 = "http/0.9",
|
28
33
|
HTTP_1_0 = "http/1.0",
|
29
34
|
TDS_8_0 = "tds/8.0"
|
30
35
|
}
|
36
|
+
/**
|
37
|
+
* @public
|
38
|
+
*/
|
31
39
|
export interface RequestContext {
|
32
40
|
destination: URL;
|
33
41
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/types",
|
3
|
-
"version": "
|
3
|
+
"version": "4.0.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 types",
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"tslib": "^2.6.2"
|
28
28
|
},
|
29
29
|
"engines": {
|
30
|
-
"node": ">=
|
30
|
+
"node": ">=18.0.0"
|
31
31
|
},
|
32
32
|
"typesVersions": {
|
33
33
|
"<=4.0": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/url-parser",
|
3
|
-
"version": "
|
3
|
+
"version": "4.0.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 url-parser",
|
@@ -23,8 +23,8 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@smithy/querystring-parser": "^
|
27
|
-
"@smithy/types": "^
|
26
|
+
"@smithy/querystring-parser": "^4.0.0",
|
27
|
+
"@smithy/types": "^4.0.0",
|
28
28
|
"tslib": "^2.6.2"
|
29
29
|
},
|
30
30
|
"typesVersions": {
|
@@ -54,5 +54,8 @@
|
|
54
54
|
},
|
55
55
|
"publishConfig": {
|
56
56
|
"directory": ".release/package"
|
57
|
+
},
|
58
|
+
"engines": {
|
59
|
+
"node": ">=18.0.0"
|
57
60
|
}
|
58
61
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-base64",
|
3
|
-
"version": "
|
3
|
+
"version": "4.0.0",
|
4
4
|
"description": "A Base64 <-> UInt8Array converter",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -9,12 +9,13 @@
|
|
9
9
|
"build:cjs": "node ../../scripts/inline util-base64",
|
10
10
|
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
11
11
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
12
|
-
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
12
|
+
"build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
13
13
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
14
14
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
15
15
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
16
16
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
17
|
-
"test": "yarn g:
|
17
|
+
"test": "yarn g:vitest run",
|
18
|
+
"test:watch": "yarn g:vitest watch"
|
18
19
|
},
|
19
20
|
"author": {
|
20
21
|
"name": "AWS SDK for JavaScript Team",
|
@@ -22,12 +23,12 @@
|
|
22
23
|
},
|
23
24
|
"license": "Apache-2.0",
|
24
25
|
"dependencies": {
|
25
|
-
"@smithy/util-buffer-from": "^
|
26
|
-
"@smithy/util-utf8": "^
|
26
|
+
"@smithy/util-buffer-from": "^4.0.0",
|
27
|
+
"@smithy/util-utf8": "^4.0.0",
|
27
28
|
"tslib": "^2.6.2"
|
28
29
|
},
|
29
30
|
"devDependencies": {
|
30
|
-
"@types/node": "^
|
31
|
+
"@types/node": "^18.11.9",
|
31
32
|
"concurrently": "7.0.0",
|
32
33
|
"downlevel-dts": "0.10.1",
|
33
34
|
"rimraf": "3.0.2",
|
@@ -35,7 +36,7 @@
|
|
35
36
|
},
|
36
37
|
"types": "./dist-types/index.d.ts",
|
37
38
|
"engines": {
|
38
|
-
"node": ">=
|
39
|
+
"node": ">=18.0.0"
|
39
40
|
},
|
40
41
|
"typesVersions": {
|
41
42
|
"<4.0": {
|
@@ -1,18 +1,19 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-body-length-browser",
|
3
3
|
"description": "Determines the length of a request body in browsers",
|
4
|
-
"version": "
|
4
|
+
"version": "4.0.0",
|
5
5
|
"scripts": {
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
7
7
|
"build:cjs": "node ../../scripts/inline util-body-length-browser",
|
8
8
|
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
9
9
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
10
|
-
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
10
|
+
"build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
11
11
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
13
13
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
14
14
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
15
|
-
"test": "yarn g:
|
15
|
+
"test": "yarn g:vitest run",
|
16
|
+
"test:watch": "yarn g:vitest watch"
|
16
17
|
},
|
17
18
|
"main": "./dist-cjs/index.js",
|
18
19
|
"module": "./dist-es/index.js",
|
@@ -52,5 +53,8 @@
|
|
52
53
|
},
|
53
54
|
"publishConfig": {
|
54
55
|
"directory": ".release/package"
|
56
|
+
},
|
57
|
+
"engines": {
|
58
|
+
"node": ">=18.0.0"
|
55
59
|
}
|
56
60
|
}
|
@@ -1,21 +1,22 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-body-length-node",
|
3
3
|
"description": "Determines the length of a request body in node.js",
|
4
|
-
"version": "
|
4
|
+
"version": "4.0.0",
|
5
5
|
"scripts": {
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
7
7
|
"build:cjs": "node ../../scripts/inline util-body-length-node",
|
8
8
|
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
9
9
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
10
|
-
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
10
|
+
"build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
11
11
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
13
13
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
14
14
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
15
|
-
"test": "yarn g:
|
15
|
+
"test": "yarn g:vitest run",
|
16
|
+
"test:watch": "yarn g:vitest watch"
|
16
17
|
},
|
17
18
|
"devDependencies": {
|
18
|
-
"@types/node": "^
|
19
|
+
"@types/node": "^18.11.9",
|
19
20
|
"concurrently": "7.0.0",
|
20
21
|
"downlevel-dts": "0.10.1",
|
21
22
|
"rimraf": "3.0.2",
|
@@ -33,7 +34,7 @@
|
|
33
34
|
"tslib": "^2.6.2"
|
34
35
|
},
|
35
36
|
"engines": {
|
36
|
-
"node": ">=
|
37
|
+
"node": ">=18.0.0"
|
37
38
|
},
|
38
39
|
"typesVersions": {
|
39
40
|
"<4.0": {
|