@cdk8s/awscdk-resolver 0.0.100 → 0.0.102
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 +40 -40
- package/node_modules/@aws-sdk/client-sso/package.json +36 -36
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +38 -38
- package/node_modules/@aws-sdk/client-sts/package.json +38 -38
- package/node_modules/@aws-sdk/core/README.md +35 -1
- package/node_modules/@aws-sdk/core/client.js +5 -0
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +5 -437
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +38 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +226 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +228 -0
- package/node_modules/@aws-sdk/core/dist-es/index.js +3 -3
- package/node_modules/@aws-sdk/core/dist-types/index.d.ts +22 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +3 -3
- package/node_modules/@aws-sdk/core/httpAuthSchemes.js +5 -0
- package/node_modules/@aws-sdk/core/package.json +44 -7
- package/node_modules/@aws-sdk/core/protocols.js +5 -0
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +2 -3
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +8 -9
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +1 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +4 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +2 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
- package/node_modules/@aws-sdk/region-config-resolver/package.json +6 -6
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +3 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
- package/node_modules/@smithy/abort-controller/package.json +3 -4
- package/node_modules/@smithy/config-resolver/package.json +6 -7
- package/node_modules/@smithy/core/package.json +10 -10
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +1 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +7 -8
- package/node_modules/@smithy/fetch-http-handler/README.md +7 -0
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +21 -9
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +10 -3
- package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +11 -6
- package/node_modules/@smithy/fetch-http-handler/package.json +8 -25
- package/node_modules/@smithy/hash-node/package.json +6 -7
- package/node_modules/@smithy/invalid-dependency/package.json +2 -3
- package/node_modules/@smithy/is-array-buffer/package.json +2 -3
- package/node_modules/@smithy/middleware-content-length/package.json +5 -6
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -9
- package/node_modules/@smithy/middleware-retry/package.json +10 -11
- package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +1 -1
- package/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js +1 -1
- package/node_modules/@smithy/middleware-serde/package.json +4 -5
- package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +7 -4
- package/node_modules/@smithy/middleware-stack/package.json +3 -4
- package/node_modules/@smithy/node-config-provider/dist-es/fromSharedConfigFiles.js +2 -1
- package/node_modules/@smithy/node-config-provider/package.json +6 -7
- package/node_modules/@smithy/node-http-handler/README.md +5 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +46 -15
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +39 -12
- package/node_modules/@smithy/node-http-handler/package.json +7 -8
- package/node_modules/@smithy/property-provider/package.json +3 -4
- package/node_modules/@smithy/protocol-http/package.json +3 -4
- package/node_modules/@smithy/querystring-builder/package.json +4 -5
- package/node_modules/@smithy/querystring-parser/package.json +3 -4
- package/node_modules/@smithy/service-error-classification/package.json +3 -4
- package/node_modules/@smithy/shared-ini-file-loader/package.json +4 -5
- package/node_modules/@smithy/signature-v4/package.json +9 -10
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -1
- package/node_modules/@smithy/smithy-client/dist-es/emitWarningIfUnsupportedVersion.js +1 -1
- package/node_modules/@smithy/smithy-client/package.json +8 -9
- package/node_modules/@smithy/types/dist-types/client.d.ts +12 -0
- package/node_modules/@smithy/types/dist-types/http.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +5 -5
- package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +12 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +9 -1
- package/node_modules/@smithy/types/package.json +2 -3
- package/node_modules/@smithy/url-parser/package.json +3 -4
- package/node_modules/@smithy/util-base64/package.json +5 -6
- package/node_modules/@smithy/util-body-length-browser/package.json +1 -2
- package/node_modules/@smithy/util-body-length-node/package.json +3 -4
- package/node_modules/@smithy/util-buffer-from/package.json +4 -5
- package/node_modules/@smithy/util-config-provider/package.json +3 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -6
- package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -9
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js +1 -1
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js +1 -1
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js +1 -1
- package/node_modules/@smithy/util-endpoints/package.json +5 -6
- package/node_modules/@smithy/util-hex-encoding/package.json +2 -3
- package/node_modules/@smithy/util-middleware/package.json +4 -5
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/util-retry/package.json +5 -6
- package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +8 -2
- package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +8 -2
- package/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.d.ts +1 -1
- package/node_modules/@smithy/util-stream/package.json +13 -29
- package/node_modules/@smithy/util-uri-escape/package.json +2 -3
- package/node_modules/@smithy/util-utf8/package.json +3 -4
- package/node_modules/@smithy/util-waiter/package.json +4 -5
- package/package.json +4 -4
- package/node_modules/@aws-sdk/core/CHANGELOG.md +0 -315
- package/node_modules/@aws-sdk/core/api-extractor.json +0 -4
- package/node_modules/@aws-sdk/core/dist-cjs/client/emitWarningIfUnsupportedVersion.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/client/index.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/index.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/index.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getDateHeader.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getSkewCorrectedDate.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/index.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/isClockSkewed.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/protocols/coercing-serializers.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/protocols/common.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/protocols/index.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/protocols/json/awsExpectUnion.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/protocols/json/parseJsonBody.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/protocols/xml/parseXmlBody.js +0 -1
- package/node_modules/@aws-sdk/core/integ/request-handlers/request-handlers.integ.spec.ts +0 -158
- package/node_modules/@aws-sdk/core/jest.config.integ.js +0 -4
- package/node_modules/@aws-sdk/core/jest.config.js +0 -6
- package/node_modules/@aws-sdk/core/scripts/lint.js +0 -24
- package/node_modules/@aws-sdk/core/src/client/emitWarningIfUnsupportedVersion.spec.ts +0 -70
- package/node_modules/@aws-sdk/core/src/client/emitWarningIfUnsupportedVersion.ts +0 -26
- package/node_modules/@aws-sdk/core/src/client/index.ts +0 -1
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.spec.ts +0 -30
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts +0 -134
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/index.ts +0 -2
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts +0 -244
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/index.ts +0 -1
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getDateHeader.ts +0 -7
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getSkewCorrectedDate.spec.ts +0 -17
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getSkewCorrectedDate.ts +0 -8
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getUpdatedSystemClockOffset.spec.ts +0 -37
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getUpdatedSystemClockOffset.ts +0 -18
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/index.ts +0 -3
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/isClockSkewed.spec.ts +0 -32
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/isClockSkewed.ts +0 -12
- package/node_modules/@aws-sdk/core/src/index.ts +0 -3
- package/node_modules/@aws-sdk/core/src/protocols/coercing-serializers.spec.ts +0 -76
- package/node_modules/@aws-sdk/core/src/protocols/coercing-serializers.ts +0 -72
- package/node_modules/@aws-sdk/core/src/protocols/common.ts +0 -5
- package/node_modules/@aws-sdk/core/src/protocols/index.ts +0 -4
- package/node_modules/@aws-sdk/core/src/protocols/json/awsExpectUnion.spec.ts +0 -30
- package/node_modules/@aws-sdk/core/src/protocols/json/awsExpectUnion.ts +0 -17
- package/node_modules/@aws-sdk/core/src/protocols/json/parseJsonBody.ts +0 -60
- package/node_modules/@aws-sdk/core/src/protocols/xml/parseXmlBody.spec.ts +0 -60
- package/node_modules/@aws-sdk/core/src/protocols/xml/parseXmlBody.ts +0 -64
- package/node_modules/@aws-sdk/core/tsconfig.cjs.json +0 -9
- package/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +0 -1
- package/node_modules/@aws-sdk/core/tsconfig.es.json +0 -9
- package/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +0 -1
- package/node_modules/@aws-sdk/core/tsconfig.types.json +0 -9
- package/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +0 -1
- /package/node_modules/@aws-sdk/core/dist-es/{client → submodules/client}/emitWarningIfUnsupportedVersion.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{client → submodules/client}/index.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/AwsSdkSigV4Signer.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/index.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/resolveAwsSdkSigV4Config.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/index.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getDateHeader.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getSkewCorrectedDate.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getUpdatedSystemClockOffset.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/index.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/isClockSkewed.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{protocols → submodules/protocols}/coercing-serializers.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{protocols → submodules/protocols}/common.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{protocols → submodules/protocols}/index.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{protocols → submodules/protocols}/json/awsExpectUnion.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{protocols → submodules/protocols}/json/parseJsonBody.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{protocols → submodules/protocols}/xml/parseXmlBody.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{client → submodules/client}/emitWarningIfUnsupportedVersion.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{client → submodules/client}/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/AwsSdkSigV4Signer.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/resolveAwsSdkSigV4Config.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getDateHeader.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getSkewCorrectedDate.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getUpdatedSystemClockOffset.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/isClockSkewed.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{protocols → submodules/protocols}/coercing-serializers.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{protocols → submodules/protocols}/common.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{protocols → submodules/protocols}/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{protocols → submodules/protocols}/json/awsExpectUnion.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{protocols → submodules/protocols}/json/parseJsonBody.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{protocols → submodules/protocols}/xml/parseXmlBody.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{client → submodules/client}/emitWarningIfUnsupportedVersion.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{client → submodules/client}/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/AwsSdkSigV4Signer.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/resolveAwsSdkSigV4Config.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getDateHeader.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getSkewCorrectedDate.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getUpdatedSystemClockOffset.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/isClockSkewed.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{protocols → submodules/protocols}/coercing-serializers.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{protocols → submodules/protocols}/common.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{protocols → submodules/protocols}/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{protocols → submodules/protocols}/json/awsExpectUnion.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{protocols → submodules/protocols}/json/parseJsonBody.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{protocols → submodules/protocols}/xml/parseXmlBody.d.ts +0 -0
@@ -1,315 +0,0 @@
|
|
1
|
-
# Change Log
|
2
|
-
|
3
|
-
All notable changes to this project will be documented in this file.
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
|
-
|
6
|
-
# [3.572.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.571.0...v3.572.0) (2024-05-08)
|
7
|
-
|
8
|
-
**Note:** Version bump only for package @aws-sdk/core
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
# [3.567.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.566.0...v3.567.0) (2024-05-01)
|
15
|
-
|
16
|
-
|
17
|
-
### Features
|
18
|
-
|
19
|
-
* end support for Node.js 14.x ([#6034](https://github.com/aws/aws-sdk-js-v3/issues/6034)) ([d196411](https://github.com/aws/aws-sdk-js-v3/commit/d19641119f07d62c29f12348f448cd834d841533))
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
# [3.556.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.555.0...v3.556.0) (2024-04-16)
|
26
|
-
|
27
|
-
**Note:** Version bump only for package @aws-sdk/core
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
# [3.554.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.553.0...v3.554.0) (2024-04-11)
|
34
|
-
|
35
|
-
|
36
|
-
### Features
|
37
|
-
|
38
|
-
* **core:** validate XML during deserialization ([#5991](https://github.com/aws/aws-sdk-js-v3/issues/5991)) ([50002cf](https://github.com/aws/aws-sdk-js-v3/commit/50002cf02856165ebadecd0ebd975ac7358ec331))
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
# [3.552.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.551.0...v3.552.0) (2024-04-09)
|
45
|
-
|
46
|
-
**Note:** Version bump only for package @aws-sdk/core
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
# [3.549.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.548.0...v3.549.0) (2024-04-04)
|
53
|
-
|
54
|
-
**Note:** Version bump only for package @aws-sdk/core
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
# [3.535.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.534.0...v3.535.0) (2024-03-15)
|
61
|
-
|
62
|
-
**Note:** Version bump only for package @aws-sdk/core
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
# [3.533.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.532.0...v3.533.0) (2024-03-13)
|
69
|
-
|
70
|
-
**Note:** Version bump only for package @aws-sdk/core
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
## [3.529.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.529.0...v3.529.1) (2024-03-08)
|
77
|
-
|
78
|
-
|
79
|
-
### Bug Fixes
|
80
|
-
|
81
|
-
* **core:** add missing fast-xml-parser dependency ([#5869](https://github.com/aws/aws-sdk-js-v3/issues/5869)) ([96c375c](https://github.com/aws/aws-sdk-js-v3/commit/96c375cb36c838c76b5384f96d79ad47d9091ee7))
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
# [3.529.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.528.0...v3.529.0) (2024-03-07)
|
88
|
-
|
89
|
-
**Note:** Version bump only for package @aws-sdk/core
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
# [3.525.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.524.0...v3.525.0) (2024-02-29)
|
96
|
-
|
97
|
-
**Note:** Version bump only for package @aws-sdk/core
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
# [3.523.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.522.0...v3.523.0) (2024-02-27)
|
104
|
-
|
105
|
-
|
106
|
-
### Bug Fixes
|
107
|
-
|
108
|
-
* **core:** add error metadata indicating clock skew correction ([#5830](https://github.com/aws/aws-sdk-js-v3/issues/5830)) ([46e5e8d](https://github.com/aws/aws-sdk-js-v3/commit/46e5e8daa0b13208f149bbd0b54857498558e152))
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
# [3.521.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.520.0...v3.521.0) (2024-02-23)
|
115
|
-
|
116
|
-
|
117
|
-
### Features
|
118
|
-
|
119
|
-
* requestHandler ctor param pass-through ([#5820](https://github.com/aws/aws-sdk-js-v3/issues/5820)) ([9fec71d](https://github.com/aws/aws-sdk-js-v3/commit/9fec71d1933cd8e3db118c164bca16edc2305532))
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
# [3.513.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.512.0...v3.513.0) (2024-02-13)
|
126
|
-
|
127
|
-
|
128
|
-
### Features
|
129
|
-
|
130
|
-
* **experimentalIdentityAndAuth:** release phase for services without customizations ([#5787](https://github.com/aws/aws-sdk-js-v3/issues/5787)) ([4004ff6](https://github.com/aws/aws-sdk-js-v3/commit/4004ff68a8ad20f6e60e8fab1f8952928f92f4b7))
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
# [3.511.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.510.0...v3.511.0) (2024-02-09)
|
137
|
-
|
138
|
-
|
139
|
-
### Bug Fixes
|
140
|
-
|
141
|
-
* **credential-provider-node:** pass client region to inner credential client region ([#5758](https://github.com/aws/aws-sdk-js-v3/issues/5758)) ([8c0b29e](https://github.com/aws/aws-sdk-js-v3/commit/8c0b29eabfe0ce8dbd2cbdcfb8b0a31b003bc3f2))
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
# [3.496.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.495.0...v3.496.0) (2024-01-19)
|
148
|
-
|
149
|
-
|
150
|
-
### Bug Fixes
|
151
|
-
|
152
|
-
* get full list of exports for esm compat in dist-cjs ([#5694](https://github.com/aws/aws-sdk-js-v3/issues/5694)) ([5d26da6](https://github.com/aws/aws-sdk-js-v3/commit/5d26da6d07b593ae286ca674fb3cbff7c833cbb0))
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
# [3.495.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.494.0...v3.495.0) (2024-01-18)
|
159
|
-
|
160
|
-
|
161
|
-
### Features
|
162
|
-
|
163
|
-
* use bundled dist-cjs build ([#5687](https://github.com/aws/aws-sdk-js-v3/issues/5687)) ([5f79e22](https://github.com/aws/aws-sdk-js-v3/commit/5f79e225e32f0b2ed5b432ae4e4108663eb0acfb))
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
# [3.490.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.489.0...v3.490.0) (2024-01-11)
|
170
|
-
|
171
|
-
|
172
|
-
### Bug Fixes
|
173
|
-
|
174
|
-
* **experimentalIdentityAndAuth:** rename `AWSSDKSigV4` to `AwsSdkSigV4` ([#5667](https://github.com/aws/aws-sdk-js-v3/issues/5667)) ([9c3e91a](https://github.com/aws/aws-sdk-js-v3/commit/9c3e91aeb155cad42ce56cc116aa71bc8f2457c9))
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
# [3.485.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.484.0...v3.485.0) (2024-01-03)
|
181
|
-
|
182
|
-
|
183
|
-
### Features
|
184
|
-
|
185
|
-
* **credential-providers:** add credentialScope field ([#5606](https://github.com/aws/aws-sdk-js-v3/issues/5606)) ([04c1459](https://github.com/aws/aws-sdk-js-v3/commit/04c14592898ac63ed87d47f2a53320ccaa991083))
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
# [3.481.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.480.0...v3.481.0) (2023-12-26)
|
192
|
-
|
193
|
-
|
194
|
-
### Features
|
195
|
-
|
196
|
-
* codegen for command class builder ([#5604](https://github.com/aws/aws-sdk-js-v3/issues/5604)) ([4835de4](https://github.com/aws/aws-sdk-js-v3/commit/4835de4ebb8f302ae1e838ac1efaf5f12384910d))
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
# [3.477.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.476.0...v3.477.0) (2023-12-19)
|
203
|
-
|
204
|
-
|
205
|
-
### Features
|
206
|
-
|
207
|
-
* xml codegen reduction ([#5566](https://github.com/aws/aws-sdk-js-v3/issues/5566)) ([3ed7c81](https://github.com/aws/aws-sdk-js-v3/commit/3ed7c81f9191182826de7645078cc6ed1d2ee959))
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
# [3.476.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.475.0...v3.476.0) (2023-12-18)
|
214
|
-
|
215
|
-
|
216
|
-
### Bug Fixes
|
217
|
-
|
218
|
-
* **core:** wrap `credentialDefaultProvider` with `normalizeProvider` ([#5592](https://github.com/aws/aws-sdk-js-v3/issues/5592)) ([9faa8ad](https://github.com/aws/aws-sdk-js-v3/commit/9faa8ad8dfd3eeb642c7a237a72c8be745ab5ba4))
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
# [3.474.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.473.0...v3.474.0) (2023-12-14)
|
225
|
-
|
226
|
-
|
227
|
-
### Features
|
228
|
-
|
229
|
-
* **core:** add `experimentalIdentityAndAuth` AWS SDK SigV4 support ([#5586](https://github.com/aws/aws-sdk-js-v3/issues/5586)) ([9a97df5](https://github.com/aws/aws-sdk-js-v3/commit/9a97df5953e722ed4887bcb65a41c019f08a5cbb))
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
# [3.468.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.467.0...v3.468.0) (2023-12-06)
|
236
|
-
|
237
|
-
**Note:** Version bump only for package @aws-sdk/core
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
# [3.465.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.464.0...v3.465.0) (2023-12-01)
|
244
|
-
|
245
|
-
**Note:** Version bump only for package @aws-sdk/core
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
# [3.451.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.450.0...v3.451.0) (2023-11-14)
|
252
|
-
|
253
|
-
**Note:** Version bump only for package @aws-sdk/core
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
# [3.445.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.444.0...v3.445.0) (2023-11-07)
|
260
|
-
|
261
|
-
|
262
|
-
### Bug Fixes
|
263
|
-
|
264
|
-
* **core:** add tslib ([#5459](https://github.com/aws/aws-sdk-js-v3/issues/5459)) ([35a1aed](https://github.com/aws/aws-sdk-js-v3/commit/35a1aed1f0d2d6fb33c24232cb24268a1f8c1b05))
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
# [3.441.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.440.0...v3.441.0) (2023-11-01)
|
271
|
-
|
272
|
-
**Note:** Version bump only for package @aws-sdk/core
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
# [3.436.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.435.0...v3.436.0) (2023-10-25)
|
279
|
-
|
280
|
-
**Note:** Version bump only for package @aws-sdk/core
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
# [3.433.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.432.0...v3.433.0) (2023-10-20)
|
287
|
-
|
288
|
-
|
289
|
-
### Bug Fixes
|
290
|
-
|
291
|
-
* **codegen:** use partial record for enum keyed types ([#5391](https://github.com/aws/aws-sdk-js-v3/issues/5391)) ([70c2107](https://github.com/aws/aws-sdk-js-v3/commit/70c2107b970d035bfedb211278c88fdbfc2e5334))
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
# [3.431.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.430.0...v3.431.0) (2023-10-18)
|
298
|
-
|
299
|
-
**Note:** Version bump only for package @aws-sdk/core
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
# [3.430.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.429.0...v3.430.0) (2023-10-17)
|
306
|
-
|
307
|
-
**Note:** Version bump only for package @aws-sdk/core
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
# [3.429.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.428.0...v3.429.0) (2023-10-16)
|
314
|
-
|
315
|
-
**Note:** Version bump only for package @aws-sdk/core
|
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = require("../index.js");
|
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = require("../index.js");
|
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = require("../../index.js");
|
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = require("../../index.js");
|
package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = require("../../index.js");
|
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = require("../index.js");
|
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = require("../../index.js");
|
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = require("../../index.js");
|
package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = require("../../index.js");
|
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = require("../../index.js");
|
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = require("../../index.js");
|
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = require("../index.js");
|
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = require("../index.js");
|
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = require("../index.js");
|
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = require("../../index.js");
|
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = require("../../index.js");
|
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = require("../../index.js");
|
@@ -1,158 +0,0 @@
|
|
1
|
-
import { Kinesis } from "@aws-sdk/client-kinesis";
|
2
|
-
import { S3 } from "@aws-sdk/client-s3";
|
3
|
-
import { TranscribeStreaming } from "@aws-sdk/client-transcribe-streaming";
|
4
|
-
import { WebSocketFetchHandler } from "@aws-sdk/middleware-websocket";
|
5
|
-
import { XhrHttpHandler } from "@aws-sdk/xhr-http-handler";
|
6
|
-
import { FetchHttpHandler } from "@smithy/fetch-http-handler";
|
7
|
-
import { NodeHttp2Handler, NodeHttpHandler } from "@smithy/node-http-handler";
|
8
|
-
import { Agent } from "https";
|
9
|
-
|
10
|
-
describe("request handler initialization", () => {
|
11
|
-
describe("http", () => {
|
12
|
-
it("should init with instances", async () => {
|
13
|
-
let instance: NodeHttpHandler;
|
14
|
-
let agentInstance: Agent;
|
15
|
-
const client = new S3({
|
16
|
-
requestHandler: (instance = new NodeHttpHandler({
|
17
|
-
requestTimeout: 2_000,
|
18
|
-
httpsAgent: (agentInstance = new Agent({ maxSockets: 25 })),
|
19
|
-
})),
|
20
|
-
});
|
21
|
-
expect(client.config.requestHandler).toBe(instance);
|
22
|
-
(instance as any).config = await (instance as any).configProvider;
|
23
|
-
expect((instance as any).config.httpsAgent).toBe(agentInstance);
|
24
|
-
expect((instance as any).config.requestTimeout).toEqual(2_000);
|
25
|
-
expect(agentInstance.maxSockets).toEqual(25);
|
26
|
-
});
|
27
|
-
it("should init with Agent pass-through", async () => {
|
28
|
-
let instance: NodeHttpHandler;
|
29
|
-
const client = new S3({
|
30
|
-
requestHandler: (instance = new NodeHttpHandler({
|
31
|
-
requestTimeout: 2_000,
|
32
|
-
httpsAgent: { maxSockets: 25 },
|
33
|
-
})),
|
34
|
-
});
|
35
|
-
expect(client.config.requestHandler).toBe(instance);
|
36
|
-
(instance as any).config = await (instance as any).configProvider;
|
37
|
-
expect((instance as any).config.requestTimeout).toEqual(2_000);
|
38
|
-
expect((instance as any).config.httpsAgent.maxSockets).toEqual(25);
|
39
|
-
});
|
40
|
-
it("should init with ctor pass-through with Agent instance", async () => {
|
41
|
-
let agentInstance: Agent;
|
42
|
-
const client = new S3({
|
43
|
-
requestHandler: {
|
44
|
-
requestTimeout: 2_000,
|
45
|
-
httpsAgent: (agentInstance = new Agent({ maxSockets: 25 })),
|
46
|
-
},
|
47
|
-
});
|
48
|
-
expect(client.config.requestHandler).toBeInstanceOf(NodeHttpHandler);
|
49
|
-
const instance = client.config.requestHandler;
|
50
|
-
(instance as any).config = await (instance as any).configProvider;
|
51
|
-
expect((instance as any).config.httpsAgent).toBe(agentInstance);
|
52
|
-
expect((instance as any).config.requestTimeout).toEqual(2_000);
|
53
|
-
expect(agentInstance.maxSockets).toEqual(25);
|
54
|
-
});
|
55
|
-
it("should init with ctor and Agent pass-through", async () => {
|
56
|
-
const client = new S3({
|
57
|
-
requestHandler: {
|
58
|
-
requestTimeout: 2_000,
|
59
|
-
httpsAgent: {
|
60
|
-
maxSockets: 25,
|
61
|
-
},
|
62
|
-
},
|
63
|
-
});
|
64
|
-
expect(client.config.requestHandler).toBeInstanceOf(NodeHttpHandler);
|
65
|
-
const instance = client.config.requestHandler;
|
66
|
-
(instance as any).config = await (instance as any).configProvider;
|
67
|
-
expect((instance as any).config.httpsAgent).toBeInstanceOf(Agent);
|
68
|
-
const agentInstance = (instance as any).config.httpsAgent;
|
69
|
-
expect((instance as any).config.requestTimeout).toEqual(2_000);
|
70
|
-
expect(agentInstance.maxSockets).toEqual(25);
|
71
|
-
});
|
72
|
-
});
|
73
|
-
|
74
|
-
describe("http2", () => {
|
75
|
-
it("should init with instances", async () => {
|
76
|
-
let instance: NodeHttp2Handler;
|
77
|
-
const client = new Kinesis({
|
78
|
-
requestHandler: (instance = new NodeHttp2Handler({
|
79
|
-
requestTimeout: 2_000,
|
80
|
-
})),
|
81
|
-
});
|
82
|
-
expect(client.config.requestHandler).toBe(instance);
|
83
|
-
(instance as any).config = await (instance as any).configProvider;
|
84
|
-
expect((instance as any).config.requestTimeout).toEqual(2_000);
|
85
|
-
});
|
86
|
-
it("should init with ctor pass-through", async () => {
|
87
|
-
const client = new Kinesis({
|
88
|
-
requestHandler: {
|
89
|
-
requestTimeout: 2_000,
|
90
|
-
},
|
91
|
-
});
|
92
|
-
expect(client.config.requestHandler).toBeInstanceOf(NodeHttp2Handler);
|
93
|
-
const instance = client.config.requestHandler;
|
94
|
-
(instance as any).config = await (instance as any).configProvider;
|
95
|
-
expect((instance as any).config.requestTimeout).toEqual(2_000);
|
96
|
-
});
|
97
|
-
});
|
98
|
-
|
99
|
-
describe("fetch", () => {
|
100
|
-
it("should init with instances", async () => {
|
101
|
-
let instance: FetchHttpHandler;
|
102
|
-
const handler = FetchHttpHandler.create((instance = new FetchHttpHandler({ requestTimeout: 2_000 })));
|
103
|
-
expect(handler).toBe(instance);
|
104
|
-
expect((instance as any).config.requestTimeout).toEqual(2_000);
|
105
|
-
});
|
106
|
-
it("should init with ctor pass-through", async () => {
|
107
|
-
const handler = FetchHttpHandler.create({ requestTimeout: 2_000 });
|
108
|
-
expect(handler).toBeInstanceOf(FetchHttpHandler);
|
109
|
-
expect((handler as any).config.requestTimeout).toEqual(2_000);
|
110
|
-
});
|
111
|
-
});
|
112
|
-
|
113
|
-
describe("websocket", () => {
|
114
|
-
it("should init with instances", async () => {
|
115
|
-
let instance: WebSocketFetchHandler;
|
116
|
-
const handler = WebSocketFetchHandler.create(
|
117
|
-
(instance = new WebSocketFetchHandler({ connectionTimeout: 2_000 }))
|
118
|
-
);
|
119
|
-
const client = new TranscribeStreaming({
|
120
|
-
requestHandler: handler,
|
121
|
-
});
|
122
|
-
expect(client.config.requestHandler).toBe(instance);
|
123
|
-
expect(handler).toBe(instance);
|
124
|
-
expect((await (handler as any).configPromise).connectionTimeout).toEqual(2_000);
|
125
|
-
});
|
126
|
-
it("should init with ctor pass-through", async () => {
|
127
|
-
const handler = WebSocketFetchHandler.create({ connectionTimeout: 2_000 });
|
128
|
-
const client = new TranscribeStreaming({
|
129
|
-
requestHandler: handler,
|
130
|
-
});
|
131
|
-
expect(client.config.requestHandler).toBe(handler);
|
132
|
-
expect(handler).toBeInstanceOf(WebSocketFetchHandler);
|
133
|
-
expect((await (handler as any).configPromise).connectionTimeout).toEqual(2_000);
|
134
|
-
});
|
135
|
-
});
|
136
|
-
|
137
|
-
describe("xhr", () => {
|
138
|
-
it("should init with instances", async () => {
|
139
|
-
let instance: XhrHttpHandler;
|
140
|
-
const handler = XhrHttpHandler.create((instance = new XhrHttpHandler({ requestTimeout: 2_000 })));
|
141
|
-
const client = new S3({
|
142
|
-
requestHandler: instance,
|
143
|
-
});
|
144
|
-
expect(client.config.requestHandler).toBe(handler);
|
145
|
-
expect(handler).toBe(instance);
|
146
|
-
expect((handler as any).config.requestTimeout).toEqual(2_000);
|
147
|
-
});
|
148
|
-
it("should init with ctor pass-through", async () => {
|
149
|
-
const handler = XhrHttpHandler.create({ requestTimeout: 2_000 });
|
150
|
-
const client = new S3({
|
151
|
-
requestHandler: handler,
|
152
|
-
});
|
153
|
-
expect(client.config.requestHandler).toBe(handler);
|
154
|
-
expect(handler).toBeInstanceOf(XhrHttpHandler);
|
155
|
-
expect((handler as any).config.requestTimeout).toEqual(2_000);
|
156
|
-
});
|
157
|
-
});
|
158
|
-
});
|
@@ -1,24 +0,0 @@
|
|
1
|
-
const fs = require("fs");
|
2
|
-
const path = require("path");
|
3
|
-
const assert = require("assert");
|
4
|
-
|
5
|
-
const root = path.join(__dirname, "..");
|
6
|
-
|
7
|
-
const pkgJson = require(path.join(root, "package.json"));
|
8
|
-
const srcFolders = fs.readdirSync(path.join(root, "src"));
|
9
|
-
|
10
|
-
assert(pkgJson.exports === undefined, "We cannot support package.json exports yet.");
|
11
|
-
|
12
|
-
/**
|
13
|
-
* We probably can't enable package.json exports until
|
14
|
-
* dropping support for Node.js 14.x and TypeScript 4.6.
|
15
|
-
*/
|
16
|
-
process.exit(0);
|
17
|
-
|
18
|
-
for (const srcFolder of srcFolders) {
|
19
|
-
if (fs.lstatSync(path.join(root, "src", srcFolder)).isDirectory()) {
|
20
|
-
if (!pkgJson.exports["./" + srcFolder]) {
|
21
|
-
throw new Error(`${srcFolder} is missing exports statement in package.json`);
|
22
|
-
}
|
23
|
-
}
|
24
|
-
}
|
@@ -1,70 +0,0 @@
|
|
1
|
-
describe("emitWarningIfUnsupportedVersion", () => {
|
2
|
-
let emitWarningIfUnsupportedVersion: any;
|
3
|
-
const emitWarning = process.emitWarning;
|
4
|
-
const supportedVersion = "16.0.0";
|
5
|
-
|
6
|
-
beforeEach(() => {
|
7
|
-
const module = require("./emitWarningIfUnsupportedVersion");
|
8
|
-
emitWarningIfUnsupportedVersion = module.emitWarningIfUnsupportedVersion;
|
9
|
-
});
|
10
|
-
|
11
|
-
afterEach(() => {
|
12
|
-
jest.clearAllMocks();
|
13
|
-
jest.resetModules();
|
14
|
-
process.emitWarning = emitWarning;
|
15
|
-
});
|
16
|
-
|
17
|
-
describe.skip(`emits warning for Node.js <${supportedVersion}`, () => {
|
18
|
-
const getPreviousMajorVersion = (major: number) => (major === 0 ? 0 : major - 1);
|
19
|
-
|
20
|
-
const getPreviousMinorVersion = ([major, minor]: [number, number]) =>
|
21
|
-
minor === 0 ? [getPreviousMajorVersion(major), 9] : [major, minor - 1];
|
22
|
-
|
23
|
-
const getPreviousPatchVersion = ([major, minor, patch]: [number, number, number]) =>
|
24
|
-
patch === 0 ? [...getPreviousMinorVersion([major, minor]), 9] : [major, minor, patch - 1];
|
25
|
-
|
26
|
-
const [major, minor, patch] = supportedVersion.split(".").map(Number);
|
27
|
-
it.each(
|
28
|
-
[
|
29
|
-
getPreviousPatchVersion([major, minor, patch]),
|
30
|
-
[...getPreviousMinorVersion([major, minor]), 0],
|
31
|
-
[getPreviousMajorVersion(major), 0, 0],
|
32
|
-
].map((arr) => `v${arr.join(".")}`)
|
33
|
-
)(`%s`, async (unsupportedVersion) => {
|
34
|
-
process.emitWarning = jest.fn();
|
35
|
-
emitWarningIfUnsupportedVersion(unsupportedVersion);
|
36
|
-
|
37
|
-
// Verify that the warning was emitted.
|
38
|
-
expect(process.emitWarning).toHaveBeenCalledTimes(1);
|
39
|
-
expect(process.emitWarning).toHaveBeenCalledWith(
|
40
|
-
`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will
|
41
|
-
no longer support Node.js 14.x on May 1, 2024.
|
42
|
-
|
43
|
-
To continue receiving updates to AWS services, bug fixes, and security
|
44
|
-
updates please upgrade to an active Node.js LTS version.
|
45
|
-
|
46
|
-
More information can be found at: https://a.co/dzr2AJd`
|
47
|
-
);
|
48
|
-
|
49
|
-
// Verify that the warning emits only once.
|
50
|
-
emitWarningIfUnsupportedVersion(unsupportedVersion);
|
51
|
-
expect(process.emitWarning).toHaveBeenCalledTimes(1);
|
52
|
-
});
|
53
|
-
});
|
54
|
-
|
55
|
-
describe(`emits no warning for Node.js >=${supportedVersion}`, () => {
|
56
|
-
const [major, minor, patch] = supportedVersion.split(".").map(Number);
|
57
|
-
it.each(
|
58
|
-
[
|
59
|
-
[major, minor, patch],
|
60
|
-
[major, minor, patch + 1],
|
61
|
-
[major, minor + 1, 0],
|
62
|
-
[major + 1, 0, 0],
|
63
|
-
].map((arr) => `v${arr.join(".")}`)
|
64
|
-
)(`%s`, async (unsupportedVersion) => {
|
65
|
-
process.emitWarning = jest.fn();
|
66
|
-
emitWarningIfUnsupportedVersion(unsupportedVersion);
|
67
|
-
expect(process.emitWarning).not.toHaveBeenCalled();
|
68
|
-
});
|
69
|
-
});
|
70
|
-
});
|
@@ -1,26 +0,0 @@
|
|
1
|
-
// Stores whether the warning was already emitted.
|
2
|
-
let warningEmitted = false;
|
3
|
-
|
4
|
-
/**
|
5
|
-
* @internal
|
6
|
-
*
|
7
|
-
* Emits warning if the provided Node.js version string is
|
8
|
-
* pending deprecation by AWS SDK JSv3.
|
9
|
-
*
|
10
|
-
* @param version - The Node.js version string.
|
11
|
-
*/
|
12
|
-
export const emitWarningIfUnsupportedVersion = (version: string) => {
|
13
|
-
if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) {
|
14
|
-
warningEmitted = true;
|
15
|
-
// ToDo: Turn back warning for future Node.js version deprecation
|
16
|
-
// process.emitWarning(
|
17
|
-
// `NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will
|
18
|
-
// no longer support Node.js 14.x on May 1, 2024.
|
19
|
-
|
20
|
-
// To continue receiving updates to AWS services, bug fixes, and security
|
21
|
-
// updates please upgrade to an active Node.js LTS version.
|
22
|
-
|
23
|
-
// More information can be found at: https://a.co/dzr2AJd`
|
24
|
-
// );
|
25
|
-
}
|
26
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./emitWarningIfUnsupportedVersion";
|