@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,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/core",
|
3
|
-
"version": "
|
3
|
+
"version": "2.0.1",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline core",
|
@@ -23,17 +23,17 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@smithy/middleware-endpoint": "^
|
27
|
-
"@smithy/middleware-retry": "^
|
28
|
-
"@smithy/middleware-serde": "^
|
29
|
-
"@smithy/protocol-http": "^
|
30
|
-
"@smithy/smithy-client": "^
|
31
|
-
"@smithy/types": "^
|
32
|
-
"@smithy/util-middleware": "^
|
26
|
+
"@smithy/middleware-endpoint": "^3.0.0",
|
27
|
+
"@smithy/middleware-retry": "^3.0.1",
|
28
|
+
"@smithy/middleware-serde": "^3.0.0",
|
29
|
+
"@smithy/protocol-http": "^4.0.0",
|
30
|
+
"@smithy/smithy-client": "^3.0.1",
|
31
|
+
"@smithy/types": "^3.0.0",
|
32
|
+
"@smithy/util-middleware": "^3.0.0",
|
33
33
|
"tslib": "^2.6.2"
|
34
34
|
},
|
35
35
|
"engines": {
|
36
|
-
"node": ">=
|
36
|
+
"node": ">=16.0.0"
|
37
37
|
},
|
38
38
|
"typesVersions": {
|
39
39
|
"<4.0": {
|
@@ -52,7 +52,7 @@
|
|
52
52
|
"directory": "packages/core"
|
53
53
|
},
|
54
54
|
"devDependencies": {
|
55
|
-
"@
|
55
|
+
"@types/node": "^16.18.96",
|
56
56
|
"concurrently": "7.0.0",
|
57
57
|
"downlevel-dts": "0.10.1",
|
58
58
|
"rimraf": "3.0.2",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/credential-provider-imds",
|
3
|
-
"version": "
|
3
|
+
"version": "3.0.0",
|
4
4
|
"description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -26,15 +26,14 @@
|
|
26
26
|
},
|
27
27
|
"license": "Apache-2.0",
|
28
28
|
"dependencies": {
|
29
|
-
"@smithy/node-config-provider": "^
|
30
|
-
"@smithy/property-provider": "^
|
31
|
-
"@smithy/types": "^
|
32
|
-
"@smithy/url-parser": "^
|
29
|
+
"@smithy/node-config-provider": "^3.0.0",
|
30
|
+
"@smithy/property-provider": "^3.0.0",
|
31
|
+
"@smithy/types": "^3.0.0",
|
32
|
+
"@smithy/url-parser": "^3.0.0",
|
33
33
|
"tslib": "^2.6.2"
|
34
34
|
},
|
35
35
|
"devDependencies": {
|
36
|
-
"@
|
37
|
-
"@types/node": "^14.14.31",
|
36
|
+
"@types/node": "^16.18.96",
|
38
37
|
"concurrently": "7.0.0",
|
39
38
|
"downlevel-dts": "0.10.1",
|
40
39
|
"nock": "^13.0.2",
|
@@ -43,7 +42,7 @@
|
|
43
42
|
},
|
44
43
|
"types": "./dist-types/index.d.ts",
|
45
44
|
"engines": {
|
46
|
-
"node": ">=
|
45
|
+
"node": ">=16.0.0"
|
47
46
|
},
|
48
47
|
"typesVersions": {
|
49
48
|
"<4.0": {
|
@@ -2,3 +2,10 @@
|
|
2
2
|
|
3
3
|
[](https://www.npmjs.com/package/@smithy/fetch-http-handler)
|
4
4
|
[](https://www.npmjs.com/package/@smithy/fetch-http-handler)
|
5
|
+
|
6
|
+
This is the default `requestHandler` used for browser applications.
|
7
|
+
Since Node.js introduced experimental Web Streams API in v16.5.0 and made it stable in v21.0.0,
|
8
|
+
you can consider using `fetch-http-handler` in Node.js, although it's not recommended.
|
9
|
+
|
10
|
+
For the Node.js default `requestHandler` implementation, see instead
|
11
|
+
[`@smithy/node-http-handler`](https://www.npmjs.com/package/@smithy/node-http-handler).
|
@@ -97,12 +97,19 @@ var _FetchHttpHandler = class _FetchHttpHandler {
|
|
97
97
|
const { port, method } = request;
|
98
98
|
const url = `${request.protocol}//${auth}${request.hostname}${port ? `:${port}` : ""}${path}`;
|
99
99
|
const body = method === "GET" || method === "HEAD" ? void 0 : request.body;
|
100
|
-
const requestOptions = {
|
100
|
+
const requestOptions = {
|
101
|
+
body,
|
102
|
+
headers: new Headers(request.headers),
|
103
|
+
method
|
104
|
+
};
|
105
|
+
if (body) {
|
106
|
+
requestOptions.duplex = "half";
|
107
|
+
}
|
101
108
|
if (typeof AbortController !== "undefined") {
|
102
|
-
requestOptions
|
109
|
+
requestOptions.signal = abortSignal;
|
103
110
|
}
|
104
111
|
if (keepAliveSupport.supported) {
|
105
|
-
requestOptions
|
112
|
+
requestOptions.keepalive = keepAlive;
|
106
113
|
}
|
107
114
|
const fetchRequest = new Request(url, requestOptions);
|
108
115
|
const raceOfPromises = [
|
@@ -176,20 +183,25 @@ async function collectBlob(blob) {
|
|
176
183
|
}
|
177
184
|
__name(collectBlob, "collectBlob");
|
178
185
|
async function collectStream(stream) {
|
179
|
-
|
186
|
+
const chunks = [];
|
180
187
|
const reader = stream.getReader();
|
181
188
|
let isDone = false;
|
189
|
+
let length = 0;
|
182
190
|
while (!isDone) {
|
183
191
|
const { done, value } = await reader.read();
|
184
192
|
if (value) {
|
185
|
-
|
186
|
-
|
187
|
-
res.set(prior);
|
188
|
-
res.set(value, prior.length);
|
193
|
+
chunks.push(value);
|
194
|
+
length += value.length;
|
189
195
|
}
|
190
196
|
isDone = done;
|
191
197
|
}
|
192
|
-
|
198
|
+
const collected = new Uint8Array(length);
|
199
|
+
let offset = 0;
|
200
|
+
for (const chunk of chunks) {
|
201
|
+
collected.set(chunk, offset);
|
202
|
+
offset += chunk.length;
|
203
|
+
}
|
204
|
+
return collected;
|
193
205
|
}
|
194
206
|
__name(collectStream, "collectStream");
|
195
207
|
function readToBase64(blob) {
|
@@ -50,12 +50,19 @@ export class FetchHttpHandler {
|
|
50
50
|
const { port, method } = request;
|
51
51
|
const url = `${request.protocol}//${auth}${request.hostname}${port ? `:${port}` : ""}${path}`;
|
52
52
|
const body = method === "GET" || method === "HEAD" ? undefined : request.body;
|
53
|
-
const requestOptions = {
|
53
|
+
const requestOptions = {
|
54
|
+
body,
|
55
|
+
headers: new Headers(request.headers),
|
56
|
+
method: method,
|
57
|
+
};
|
58
|
+
if (body) {
|
59
|
+
requestOptions.duplex = "half";
|
60
|
+
}
|
54
61
|
if (typeof AbortController !== "undefined") {
|
55
|
-
requestOptions
|
62
|
+
requestOptions.signal = abortSignal;
|
56
63
|
}
|
57
64
|
if (keepAliveSupport.supported) {
|
58
|
-
requestOptions
|
65
|
+
requestOptions.keepalive = keepAlive;
|
59
66
|
}
|
60
67
|
const fetchRequest = new Request(url, requestOptions);
|
61
68
|
const raceOfPromises = [
|
@@ -11,20 +11,25 @@ async function collectBlob(blob) {
|
|
11
11
|
return new Uint8Array(arrayBuffer);
|
12
12
|
}
|
13
13
|
async function collectStream(stream) {
|
14
|
-
|
14
|
+
const chunks = [];
|
15
15
|
const reader = stream.getReader();
|
16
16
|
let isDone = false;
|
17
|
+
let length = 0;
|
17
18
|
while (!isDone) {
|
18
19
|
const { done, value } = await reader.read();
|
19
20
|
if (value) {
|
20
|
-
|
21
|
-
|
22
|
-
res.set(prior);
|
23
|
-
res.set(value, prior.length);
|
21
|
+
chunks.push(value);
|
22
|
+
length += value.length;
|
24
23
|
}
|
25
24
|
isDone = done;
|
26
25
|
}
|
27
|
-
|
26
|
+
const collected = new Uint8Array(length);
|
27
|
+
let offset = 0;
|
28
|
+
for (const chunk of chunks) {
|
29
|
+
collected.set(chunk, offset);
|
30
|
+
offset += chunk.length;
|
31
|
+
}
|
32
|
+
return collected;
|
28
33
|
}
|
29
34
|
function readToBase64(blob) {
|
30
35
|
return new Promise((resolve, reject) => {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/fetch-http-handler",
|
3
|
-
"version": "
|
3
|
+
"version": "3.0.1",
|
4
4
|
"description": "Provides a way to make requests",
|
5
5
|
"scripts": {
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
@@ -13,7 +13,7 @@
|
|
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
15
|
"extract:docs": "api-extractor run --local",
|
16
|
-
"test": "yarn g:jest --coverage --forceExit && karma start karma.conf.js"
|
16
|
+
"test": "yarn g:jest --coverage --forceExit && yarn g:karma start karma.conf.js"
|
17
17
|
},
|
18
18
|
"author": {
|
19
19
|
"name": "AWS SDK for JavaScript Team",
|
@@ -24,35 +24,18 @@
|
|
24
24
|
"module": "./dist-es/index.js",
|
25
25
|
"types": "./dist-types/index.d.ts",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/protocol-http": "^
|
28
|
-
"@smithy/querystring-builder": "^
|
29
|
-
"@smithy/types": "^
|
30
|
-
"@smithy/util-base64": "^
|
27
|
+
"@smithy/protocol-http": "^4.0.0",
|
28
|
+
"@smithy/querystring-builder": "^3.0.0",
|
29
|
+
"@smithy/types": "^3.0.0",
|
30
|
+
"@smithy/util-base64": "^3.0.0",
|
31
31
|
"tslib": "^2.6.2"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
34
|
-
"@smithy/abort-controller": "^
|
35
|
-
"@tsconfig/recommended": "1.0.1",
|
36
|
-
"@types/chai-as-promised": "^7.1.2",
|
37
|
-
"chai": "^4.2.0",
|
38
|
-
"chai-as-promised": "^7.1.1",
|
34
|
+
"@smithy/abort-controller": "^3.0.0",
|
39
35
|
"concurrently": "7.0.0",
|
40
36
|
"downlevel-dts": "0.10.1",
|
41
|
-
"karma": "6.4.0",
|
42
|
-
"karma-chai": "0.1.0",
|
43
|
-
"karma-chrome-launcher": "3.1.1",
|
44
|
-
"karma-coverage": "2.2.1",
|
45
|
-
"karma-env-preprocessor": "0.1.1",
|
46
|
-
"karma-firefox-launcher": "2.1.3",
|
47
|
-
"karma-jasmine": "5.1.0",
|
48
|
-
"karma-mocha": "2.0.1",
|
49
|
-
"karma-sourcemap-loader": "0.3.8",
|
50
|
-
"karma-typescript": "5.5.3",
|
51
|
-
"karma-webpack": "5.0.0",
|
52
37
|
"rimraf": "3.0.2",
|
53
|
-
"typedoc": "0.23.23"
|
54
|
-
"webpack": "5.76.0",
|
55
|
-
"webpack-cli": "4.10.0"
|
38
|
+
"typedoc": "0.23.23"
|
56
39
|
},
|
57
40
|
"typesVersions": {
|
58
41
|
"<4.0": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/hash-node",
|
3
|
-
"version": "
|
3
|
+
"version": "3.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 hash-node",
|
@@ -22,8 +22,7 @@
|
|
22
22
|
},
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"devDependencies": {
|
25
|
-
"@
|
26
|
-
"@types/node": "^14.14.31",
|
25
|
+
"@types/node": "^16.18.96",
|
27
26
|
"concurrently": "7.0.0",
|
28
27
|
"downlevel-dts": "0.10.1",
|
29
28
|
"hash-test-vectors": "^1.3.2",
|
@@ -31,13 +30,13 @@
|
|
31
30
|
"typedoc": "0.23.23"
|
32
31
|
},
|
33
32
|
"dependencies": {
|
34
|
-
"@smithy/types": "^
|
35
|
-
"@smithy/util-buffer-from": "^
|
36
|
-
"@smithy/util-utf8": "^
|
33
|
+
"@smithy/types": "^3.0.0",
|
34
|
+
"@smithy/util-buffer-from": "^3.0.0",
|
35
|
+
"@smithy/util-utf8": "^3.0.0",
|
37
36
|
"tslib": "^2.6.2"
|
38
37
|
},
|
39
38
|
"engines": {
|
40
|
-
"node": ">=
|
39
|
+
"node": ">=16.0.0"
|
41
40
|
},
|
42
41
|
"typesVersions": {
|
43
42
|
"<4.0": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/invalid-dependency",
|
3
|
-
"version": "
|
3
|
+
"version": "3.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 invalid-dependency",
|
@@ -22,7 +22,7 @@
|
|
22
22
|
},
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"dependencies": {
|
25
|
-
"@smithy/types": "^
|
25
|
+
"@smithy/types": "^3.0.0",
|
26
26
|
"tslib": "^2.6.2"
|
27
27
|
},
|
28
28
|
"typesVersions": {
|
@@ -42,7 +42,6 @@
|
|
42
42
|
"directory": "packages/invalid-dependency"
|
43
43
|
},
|
44
44
|
"devDependencies": {
|
45
|
-
"@tsconfig/recommended": "1.0.1",
|
46
45
|
"concurrently": "7.0.0",
|
47
46
|
"downlevel-dts": "0.10.1",
|
48
47
|
"rimraf": "3.0.2",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/is-array-buffer",
|
3
|
-
"version": "
|
3
|
+
"version": "3.0.0",
|
4
4
|
"description": "Provides a function for detecting if an argument is an ArrayBuffer",
|
5
5
|
"scripts": {
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
@@ -26,7 +26,7 @@
|
|
26
26
|
"tslib": "^2.6.2"
|
27
27
|
},
|
28
28
|
"engines": {
|
29
|
-
"node": ">=
|
29
|
+
"node": ">=16.0.0"
|
30
30
|
},
|
31
31
|
"typesVersions": {
|
32
32
|
"<4.0": {
|
@@ -45,7 +45,6 @@
|
|
45
45
|
"directory": "packages/is-array-buffer"
|
46
46
|
},
|
47
47
|
"devDependencies": {
|
48
|
-
"@tsconfig/recommended": "1.0.1",
|
49
48
|
"concurrently": "7.0.0",
|
50
49
|
"downlevel-dts": "0.10.1",
|
51
50
|
"rimraf": "3.0.2",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-content-length",
|
3
|
-
"version": "
|
3
|
+
"version": "3.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 middleware-content-length",
|
@@ -23,12 +23,12 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@smithy/protocol-http": "^
|
27
|
-
"@smithy/types": "^
|
26
|
+
"@smithy/protocol-http": "^4.0.0",
|
27
|
+
"@smithy/types": "^3.0.0",
|
28
28
|
"tslib": "^2.6.2"
|
29
29
|
},
|
30
30
|
"engines": {
|
31
|
-
"node": ">=
|
31
|
+
"node": ">=16.0.0"
|
32
32
|
},
|
33
33
|
"typesVersions": {
|
34
34
|
"<4.0": {
|
@@ -47,8 +47,7 @@
|
|
47
47
|
"directory": "packages/middleware-content-length"
|
48
48
|
},
|
49
49
|
"devDependencies": {
|
50
|
-
"@smithy/util-test": "^0.2.
|
51
|
-
"@tsconfig/recommended": "1.0.1",
|
50
|
+
"@smithy/util-test": "^0.2.1",
|
52
51
|
"concurrently": "7.0.0",
|
53
52
|
"downlevel-dts": "0.10.1",
|
54
53
|
"rimraf": "3.0.2",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-endpoint",
|
3
|
-
"version": "
|
3
|
+
"version": "3.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 middleware-endpoint",
|
@@ -23,23 +23,22 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@smithy/middleware-serde": "^
|
27
|
-
"@smithy/node-config-provider": "^
|
28
|
-
"@smithy/shared-ini-file-loader": "^
|
29
|
-
"@smithy/types": "^
|
30
|
-
"@smithy/url-parser": "^
|
31
|
-
"@smithy/util-middleware": "^
|
26
|
+
"@smithy/middleware-serde": "^3.0.0",
|
27
|
+
"@smithy/node-config-provider": "^3.0.0",
|
28
|
+
"@smithy/shared-ini-file-loader": "^3.0.0",
|
29
|
+
"@smithy/types": "^3.0.0",
|
30
|
+
"@smithy/url-parser": "^3.0.0",
|
31
|
+
"@smithy/util-middleware": "^3.0.0",
|
32
32
|
"tslib": "^2.6.2"
|
33
33
|
},
|
34
34
|
"devDependencies": {
|
35
|
-
"@tsconfig/recommended": "1.0.1",
|
36
35
|
"concurrently": "7.0.0",
|
37
36
|
"downlevel-dts": "0.10.1",
|
38
37
|
"rimraf": "3.0.2",
|
39
38
|
"typedoc": "0.23.23"
|
40
39
|
},
|
41
40
|
"engines": {
|
42
|
-
"node": ">=
|
41
|
+
"node": ">=16.0.0"
|
43
42
|
},
|
44
43
|
"typesVersions": {
|
45
44
|
"<4.0": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-retry",
|
3
|
-
"version": "
|
3
|
+
"version": "3.0.1",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-retry",
|
@@ -31,19 +31,18 @@
|
|
31
31
|
},
|
32
32
|
"license": "Apache-2.0",
|
33
33
|
"dependencies": {
|
34
|
-
"@smithy/node-config-provider": "^
|
35
|
-
"@smithy/protocol-http": "^
|
36
|
-
"@smithy/service-error-classification": "^
|
37
|
-
"@smithy/smithy-client": "^
|
38
|
-
"@smithy/types": "^
|
39
|
-
"@smithy/util-middleware": "^
|
40
|
-
"@smithy/util-retry": "^
|
34
|
+
"@smithy/node-config-provider": "^3.0.0",
|
35
|
+
"@smithy/protocol-http": "^4.0.0",
|
36
|
+
"@smithy/service-error-classification": "^3.0.0",
|
37
|
+
"@smithy/smithy-client": "^3.0.1",
|
38
|
+
"@smithy/types": "^3.0.0",
|
39
|
+
"@smithy/util-middleware": "^3.0.0",
|
40
|
+
"@smithy/util-retry": "^3.0.0",
|
41
41
|
"tslib": "^2.6.2",
|
42
42
|
"uuid": "^9.0.1"
|
43
43
|
},
|
44
44
|
"devDependencies": {
|
45
|
-
"@smithy/util-test": "^0.2.
|
46
|
-
"@tsconfig/recommended": "1.0.1",
|
45
|
+
"@smithy/util-test": "^0.2.1",
|
47
46
|
"@types/uuid": "^8.3.0",
|
48
47
|
"concurrently": "7.0.0",
|
49
48
|
"downlevel-dts": "0.10.1",
|
@@ -51,7 +50,7 @@
|
|
51
50
|
"typedoc": "0.23.23"
|
52
51
|
},
|
53
52
|
"engines": {
|
54
|
-
"node": ">=
|
53
|
+
"node": ">=16.0.0"
|
55
54
|
},
|
56
55
|
"typesVersions": {
|
57
56
|
"<4.0": {
|
@@ -29,7 +29,7 @@ __export(src_exports, {
|
|
29
29
|
module.exports = __toCommonJS(src_exports);
|
30
30
|
|
31
31
|
// src/deserializerMiddleware.ts
|
32
|
-
var deserializerMiddleware = /* @__PURE__ */ __name((options, deserializer) => (next
|
32
|
+
var deserializerMiddleware = /* @__PURE__ */ __name((options, deserializer) => (next) => async (args) => {
|
33
33
|
const { response } = await next(args);
|
34
34
|
try {
|
35
35
|
const parsed = await deserializer(response, options);
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export const deserializerMiddleware = (options, deserializer) => (next
|
1
|
+
export const deserializerMiddleware = (options, deserializer) => (next) => async (args) => {
|
2
2
|
const { response } = await next(args);
|
3
3
|
try {
|
4
4
|
const parsed = await deserializer(response, options);
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-serde",
|
3
|
-
"version": "
|
3
|
+
"version": "3.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 middleware-serde",
|
@@ -23,11 +23,11 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@smithy/types": "^
|
26
|
+
"@smithy/types": "^3.0.0",
|
27
27
|
"tslib": "^2.6.2"
|
28
28
|
},
|
29
29
|
"engines": {
|
30
|
-
"node": ">=
|
30
|
+
"node": ">=16.0.0"
|
31
31
|
},
|
32
32
|
"typesVersions": {
|
33
33
|
"<4.0": {
|
@@ -46,8 +46,7 @@
|
|
46
46
|
"directory": "packages/middleware-serde"
|
47
47
|
},
|
48
48
|
"devDependencies": {
|
49
|
-
"@smithy/util-test": "^0.2.
|
50
|
-
"@tsconfig/recommended": "1.0.1",
|
49
|
+
"@smithy/util-test": "^0.2.1",
|
51
50
|
"concurrently": "7.0.0",
|
52
51
|
"downlevel-dts": "0.10.1",
|
53
52
|
"rimraf": "3.0.2",
|
@@ -156,10 +156,13 @@ var constructStack = /* @__PURE__ */ __name(() => {
|
|
156
156
|
}
|
157
157
|
}
|
158
158
|
});
|
159
|
-
const mainChain = sort(normalizedAbsoluteEntries).map(expandRelativeMiddlewareList).reduce(
|
160
|
-
wholeList
|
161
|
-
|
162
|
-
|
159
|
+
const mainChain = sort(normalizedAbsoluteEntries).map(expandRelativeMiddlewareList).reduce(
|
160
|
+
(wholeList, expandedMiddlewareList) => {
|
161
|
+
wholeList.push(...expandedMiddlewareList);
|
162
|
+
return wholeList;
|
163
|
+
},
|
164
|
+
[]
|
165
|
+
);
|
163
166
|
return mainChain;
|
164
167
|
}, "getMiddlewareList");
|
165
168
|
const stack = {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-stack",
|
3
|
-
"version": "
|
3
|
+
"version": "3.0.0",
|
4
4
|
"description": "Provides a means for composing multiple middleware functions into a single handler",
|
5
5
|
"scripts": {
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
@@ -25,18 +25,17 @@
|
|
25
25
|
"module": "./dist-es/index.js",
|
26
26
|
"types": "./dist-types/index.d.ts",
|
27
27
|
"dependencies": {
|
28
|
-
"@smithy/types": "^
|
28
|
+
"@smithy/types": "^3.0.0",
|
29
29
|
"tslib": "^2.6.2"
|
30
30
|
},
|
31
31
|
"devDependencies": {
|
32
|
-
"@tsconfig/recommended": "1.0.1",
|
33
32
|
"concurrently": "7.0.0",
|
34
33
|
"downlevel-dts": "0.10.1",
|
35
34
|
"rimraf": "3.0.2",
|
36
35
|
"typedoc": "0.23.23"
|
37
36
|
},
|
38
37
|
"engines": {
|
39
|
-
"node": ">=
|
38
|
+
"node": ">=16.0.0"
|
40
39
|
},
|
41
40
|
"typesVersions": {
|
42
41
|
"<4.0": {
|
@@ -17,6 +17,7 @@ export const fromSharedConfigFiles = (configSelector, { preferredFile = "config"
|
|
17
17
|
return configValue;
|
18
18
|
}
|
19
19
|
catch (e) {
|
20
|
-
throw new CredentialsProviderError(e.message ||
|
20
|
+
throw new CredentialsProviderError(e.message ||
|
21
|
+
`Cannot load config for profile ${profile} in SDK configuration files with getter: ${configSelector}`);
|
21
22
|
}
|
22
23
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/node-config-provider",
|
3
|
-
"version": "
|
3
|
+
"version": "3.0.0",
|
4
4
|
"description": "Load config default values from ini config files and environmental variable",
|
5
5
|
"scripts": {
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
@@ -24,21 +24,20 @@
|
|
24
24
|
"module": "./dist-es/index.js",
|
25
25
|
"types": "./dist-types/index.d.ts",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/property-provider": "^
|
28
|
-
"@smithy/shared-ini-file-loader": "^
|
29
|
-
"@smithy/types": "^
|
27
|
+
"@smithy/property-provider": "^3.0.0",
|
28
|
+
"@smithy/shared-ini-file-loader": "^3.0.0",
|
29
|
+
"@smithy/types": "^3.0.0",
|
30
30
|
"tslib": "^2.6.2"
|
31
31
|
},
|
32
32
|
"devDependencies": {
|
33
|
-
"@
|
34
|
-
"@types/node": "^14.14.31",
|
33
|
+
"@types/node": "^16.18.96",
|
35
34
|
"concurrently": "7.0.0",
|
36
35
|
"downlevel-dts": "0.10.1",
|
37
36
|
"rimraf": "3.0.2",
|
38
37
|
"typedoc": "0.23.23"
|
39
38
|
},
|
40
39
|
"engines": {
|
41
|
-
"node": ">=
|
40
|
+
"node": ">=16.0.0"
|
42
41
|
},
|
43
42
|
"typesVersions": {
|
44
43
|
"<4.0": {
|
@@ -2,3 +2,8 @@
|
|
2
2
|
|
3
3
|
[](https://www.npmjs.com/package/@smithy/node-http-handler)
|
4
4
|
[](https://www.npmjs.com/package/@smithy/node-http-handler)
|
5
|
+
|
6
|
+
This package implements the default `requestHandler` for Node.js using `node:http`, `node:https`, and `node:http2`.
|
7
|
+
|
8
|
+
For an example on how `requestHandler`s are used by Smithy generated SDK clients, refer to
|
9
|
+
the [AWS SDK for JavaScript (v3) supplemental docs](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md#request-handler-requesthandler).
|