@cdk8s/awscdk-resolver 0.0.118 → 0.0.120
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 +4 -4
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-crypto/sha256-browser/CHANGELOG.md +30 -0
- package/node_modules/@aws-crypto/sha256-browser/build/main/constants.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/build/{crossPlatformSha256.js → main/crossPlatformSha256.js} +0 -5
- package/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/build/{index.d.ts → main/index.d.ts} +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/{index.js → main/index.js} +1 -3
- package/node_modules/@aws-crypto/sha256-browser/build/main/index.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/build/module/constants.d.ts +10 -0
- package/node_modules/@aws-crypto/sha256-browser/build/module/constants.js +40 -0
- package/node_modules/@aws-crypto/sha256-browser/build/module/constants.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.d.ts +8 -0
- package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js +27 -0
- package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/build/module/index.d.ts +2 -0
- package/node_modules/@aws-crypto/sha256-browser/build/module/index.js +3 -0
- package/node_modules/@aws-crypto/sha256-browser/build/module/index.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js +7 -0
- package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/build/{ie11Sha256.d.ts → module/webCryptoSha256.d.ts} +3 -2
- package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js +53 -0
- package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/README.md +10 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts +4 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts +4 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/package.json +60 -0
- package/node_modules/@aws-crypto/{ie11-detection → sha256-browser/node_modules/@smithy/util-buffer-from}/LICENSE +4 -5
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/README.md +10 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +47 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts +13 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts +13 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/package.json +61 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/LICENSE +201 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/README.md +4 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +1 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +1 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +1 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +1 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +1 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +1 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +5 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/index.js +3 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js +10 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +9 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +10 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts +1 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts +1 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/index.d.ts +3 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts +1 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +7 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +7 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts +1 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts +1 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts +1 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +7 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +7 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/package.json +66 -0
- package/node_modules/@aws-crypto/sha256-browser/package.json +11 -11
- package/node_modules/@aws-crypto/sha256-browser/src/crossPlatformSha256.ts +0 -4
- package/node_modules/@aws-crypto/sha256-browser/src/index.ts +0 -1
- package/node_modules/@aws-crypto/sha256-browser/tsconfig.json +3 -15
- package/node_modules/@aws-crypto/sha256-browser/tsconfig.module.json +7 -0
- package/node_modules/@aws-crypto/sha256-js/CHANGELOG.md +20 -0
- package/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-js/build/main/constants.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-js/build/main/index.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.d.ts +17 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js +121 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/constants.d.ts +20 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/constants.js +95 -0
- package/node_modules/@aws-crypto/sha256-js/build/{constants.js.map → module/constants.js.map} +1 -1
- package/node_modules/@aws-crypto/sha256-js/build/module/index.d.ts +1 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/index.js +2 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/index.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.d.ts +12 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js +82 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.d.ts +5 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js +319 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-js/package.json +11 -7
- package/node_modules/@aws-crypto/sha256-js/tsconfig.json +3 -10
- package/node_modules/@aws-crypto/sha256-js/tsconfig.module.json +7 -0
- package/node_modules/@aws-crypto/supports-web-crypto/CHANGELOG.md +20 -0
- package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js +5 -0
- package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js.map +1 -0
- package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js +69 -0
- package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js.map +1 -0
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.d.ts +1 -0
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js +2 -0
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js.map +1 -0
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.d.ts +4 -0
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js +62 -0
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js.map +1 -0
- package/node_modules/@aws-crypto/supports-web-crypto/package.json +7 -5
- package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.json +3 -9
- package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.module.json +7 -0
- package/node_modules/@aws-crypto/util/CHANGELOG.md +24 -0
- package/node_modules/@aws-crypto/util/build/{convertToBuffer.js → main/convertToBuffer.js} +2 -2
- package/node_modules/@aws-crypto/util/build/main/convertToBuffer.js.map +1 -0
- package/node_modules/@aws-crypto/util/build/main/index.js.map +1 -0
- package/node_modules/@aws-crypto/util/build/main/isEmptyData.d.ts +2 -0
- package/node_modules/@aws-crypto/util/build/main/isEmptyData.js.map +1 -0
- package/node_modules/@aws-crypto/util/build/main/numToUint8.js.map +1 -0
- package/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js.map +1 -0
- package/node_modules/@aws-crypto/util/build/module/convertToBuffer.d.ts +2 -0
- package/node_modules/@aws-crypto/util/build/module/convertToBuffer.js +20 -0
- package/node_modules/@aws-crypto/util/build/module/convertToBuffer.js.map +1 -0
- package/node_modules/@aws-crypto/util/build/module/index.d.ts +4 -0
- package/node_modules/@aws-crypto/util/build/module/index.js +7 -0
- package/node_modules/@aws-crypto/util/build/module/index.js.map +1 -0
- package/node_modules/@aws-crypto/util/build/module/isEmptyData.d.ts +2 -0
- package/node_modules/@aws-crypto/util/build/module/isEmptyData.js +9 -0
- package/node_modules/@aws-crypto/util/build/module/isEmptyData.js.map +1 -0
- package/node_modules/@aws-crypto/util/build/module/numToUint8.d.ts +1 -0
- package/node_modules/@aws-crypto/util/build/module/numToUint8.js +11 -0
- package/node_modules/@aws-crypto/util/build/module/numToUint8.js.map +1 -0
- package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.d.ts +1 -0
- package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js +16 -0
- package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js.map +1 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/README.md +10 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts +4 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts +4 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json +60 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/README.md +10 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +47 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts +13 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts +13 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json +61 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/LICENSE +201 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/README.md +4 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +1 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +1 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +1 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +1 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +1 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +1 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +5 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/index.js +3 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js +10 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +9 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +10 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts +1 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts +1 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/index.d.ts +3 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts +1 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +7 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +7 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts +1 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts +1 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts +1 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +7 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +7 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json +66 -0
- package/node_modules/@aws-crypto/util/package.json +8 -7
- package/node_modules/@aws-crypto/util/src/convertToBuffer.ts +1 -1
- package/node_modules/@aws-crypto/util/tsconfig.json +2 -16
- package/node_modules/@aws-crypto/util/tsconfig.module.json +7 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +38 -38
- package/node_modules/@aws-sdk/client-sso/package.json +34 -34
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +36 -36
- package/node_modules/@aws-sdk/client-sts/package.json +36 -36
- package/node_modules/@aws-sdk/core/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-http/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-node/README.md +3 -3
- 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/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- 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 +5 -5
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- 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/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
- package/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +7 -4
- package/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +6 -3
- package/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +7 -4
- package/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +6 -3
- package/node_modules/@smithy/abort-controller/package.json +3 -3
- package/node_modules/@smithy/config-resolver/package.json +5 -5
- package/node_modules/@smithy/core/package.json +9 -9
- package/node_modules/@smithy/credential-provider-imds/package.json +6 -6
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +13 -3
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +11 -2
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/package.json +6 -6
- package/node_modules/@smithy/hash-node/package.json +3 -3
- package/node_modules/@smithy/invalid-dependency/package.json +3 -3
- package/node_modules/@smithy/middleware-content-length/package.json +5 -5
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +10 -10
- package/node_modules/@smithy/middleware-serde/package.json +4 -4
- package/node_modules/@smithy/middleware-stack/package.json +3 -3
- package/node_modules/@smithy/node-config-provider/package.json +5 -5
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +36 -15
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +19 -6
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +7 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -2
- package/node_modules/@smithy/node-http-handler/package.json +6 -6
- package/node_modules/@smithy/property-provider/package.json +3 -3
- package/node_modules/@smithy/protocol-http/package.json +3 -3
- package/node_modules/@smithy/querystring-builder/package.json +3 -3
- package/node_modules/@smithy/querystring-parser/package.json +3 -3
- package/node_modules/@smithy/service-error-classification/package.json +3 -3
- package/node_modules/@smithy/shared-ini-file-loader/package.json +3 -3
- package/node_modules/@smithy/signature-v4/package.json +6 -6
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/dist-cjs/abort-handler.js +1 -0
- package/node_modules/@smithy/types/dist-es/abort-handler.js +1 -0
- package/node_modules/@smithy/types/dist-types/abort-handler.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/abort.d.ts +4 -3
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +5 -0
- package/node_modules/@smithy/types/dist-types/http.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +4 -3
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +5 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +3 -3
- package/node_modules/@smithy/types/dist-types/waiter.d.ts +3 -3
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -5
- package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -8
- package/node_modules/@smithy/util-endpoints/package.json +4 -4
- package/node_modules/@smithy/util-middleware/package.json +3 -3
- package/node_modules/@smithy/util-retry/package.json +4 -4
- package/node_modules/@smithy/util-stream/package.json +6 -6
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +6 -1
- package/node_modules/@smithy/util-waiter/dist-es/createWaiter.js +7 -1
- package/node_modules/@smithy/util-waiter/package.json +4 -4
- package/package.json +4 -4
- package/node_modules/@aws-crypto/ie11-detection/CHANGELOG.md +0 -46
- package/node_modules/@aws-crypto/ie11-detection/README.md +0 -20
- package/node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.d.ts +0 -19
- package/node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.js +0 -3
- package/node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.js.map +0 -1
- package/node_modules/@aws-crypto/ie11-detection/build/Key.d.ts +0 -12
- package/node_modules/@aws-crypto/ie11-detection/build/Key.js +0 -3
- package/node_modules/@aws-crypto/ie11-detection/build/Key.js.map +0 -1
- package/node_modules/@aws-crypto/ie11-detection/build/KeyOperation.d.ts +0 -12
- package/node_modules/@aws-crypto/ie11-detection/build/KeyOperation.js +0 -3
- package/node_modules/@aws-crypto/ie11-detection/build/KeyOperation.js.map +0 -1
- package/node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.d.ts +0 -33
- package/node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.js +0 -3
- package/node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.js.map +0 -1
- package/node_modules/@aws-crypto/ie11-detection/build/MsWindow.d.ts +0 -21
- package/node_modules/@aws-crypto/ie11-detection/build/MsWindow.js +0 -32
- package/node_modules/@aws-crypto/ie11-detection/build/MsWindow.js.map +0 -1
- package/node_modules/@aws-crypto/ie11-detection/build/index.d.ts +0 -5
- package/node_modules/@aws-crypto/ie11-detection/build/index.js +0 -9
- package/node_modules/@aws-crypto/ie11-detection/build/index.js.map +0 -1
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/CopyrightNotice.txt +0 -15
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/LICENSE.txt +0 -12
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/README.md +0 -142
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/modules/index.js +0 -51
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/modules/package.json +0 -3
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/package.json +0 -37
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.d.ts +0 -37
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.es6.html +0 -1
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.es6.js +0 -218
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.html +0 -1
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.js +0 -284
- package/node_modules/@aws-crypto/ie11-detection/package.json +0 -26
- package/node_modules/@aws-crypto/ie11-detection/src/CryptoOperation.ts +0 -21
- package/node_modules/@aws-crypto/ie11-detection/src/Key.ts +0 -12
- package/node_modules/@aws-crypto/ie11-detection/src/KeyOperation.ts +0 -13
- package/node_modules/@aws-crypto/ie11-detection/src/MsSubtleCrypto.ts +0 -88
- package/node_modules/@aws-crypto/ie11-detection/src/MsWindow.ts +0 -59
- package/node_modules/@aws-crypto/ie11-detection/src/index.ts +0 -5
- package/node_modules/@aws-crypto/ie11-detection/tsconfig.json +0 -17
- package/node_modules/@aws-crypto/sha256-browser/build/constants.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js +0 -80
- package/node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/index.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/isEmptyData.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/CopyrightNotice.txt +0 -15
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/LICENSE.txt +0 -12
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/README.md +0 -142
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/modules/index.js +0 -51
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/modules/package.json +0 -3
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/package.json +0 -37
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.d.ts +0 -37
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.es6.html +0 -1
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.es6.js +0 -218
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.html +0 -1
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.js +0 -284
- package/node_modules/@aws-crypto/sha256-browser/src/ie11Sha256.ts +0 -108
- package/node_modules/@aws-crypto/sha256-js/build/RawSha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/index.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/jsSha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/knownHashes.fixture.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/CopyrightNotice.txt +0 -15
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/LICENSE.txt +0 -12
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/README.md +0 -142
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/modules/index.js +0 -51
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/modules/package.json +0 -3
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/package.json +0 -37
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.d.ts +0 -37
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.es6.html +0 -1
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.es6.js +0 -218
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.html +0 -1
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.js +0 -284
- package/node_modules/@aws-crypto/supports-web-crypto/build/index.js +0 -5
- package/node_modules/@aws-crypto/supports-web-crypto/build/supportsWebCrypto.js +0 -69
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/CopyrightNotice.txt +0 -15
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/LICENSE.txt +0 -12
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/README.md +0 -142
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/modules/index.js +0 -51
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/modules/package.json +0 -3
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/package.json +0 -37
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.d.ts +0 -37
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.es6.html +0 -1
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.es6.js +0 -218
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.html +0 -1
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.js +0 -284
- package/node_modules/@aws-crypto/util/build/convertToBuffer.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/index.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/isEmptyData.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/numToUint8.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js.map +0 -1
- package/node_modules/@aws-crypto/util/node_modules/tslib/CopyrightNotice.txt +0 -15
- package/node_modules/@aws-crypto/util/node_modules/tslib/LICENSE.txt +0 -12
- package/node_modules/@aws-crypto/util/node_modules/tslib/README.md +0 -142
- package/node_modules/@aws-crypto/util/node_modules/tslib/modules/index.js +0 -51
- package/node_modules/@aws-crypto/util/node_modules/tslib/modules/package.json +0 -3
- package/node_modules/@aws-crypto/util/node_modules/tslib/package.json +0 -37
- package/node_modules/@aws-crypto/util/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
- package/node_modules/@aws-crypto/util/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
- package/node_modules/@aws-crypto/util/node_modules/tslib/tslib.d.ts +0 -37
- package/node_modules/@aws-crypto/util/node_modules/tslib/tslib.es6.html +0 -1
- package/node_modules/@aws-crypto/util/node_modules/tslib/tslib.es6.js +0 -218
- package/node_modules/@aws-crypto/util/node_modules/tslib/tslib.html +0 -1
- package/node_modules/@aws-crypto/util/node_modules/tslib/tslib.js +0 -284
- package/node_modules/@aws-sdk/util-utf8-browser/README.md +0 -8
- package/node_modules/@aws-sdk/util-utf8-browser/package.json +0 -50
- /package/node_modules/@aws-crypto/sha256-browser/build/{constants.d.ts → main/constants.d.ts} +0 -0
- /package/node_modules/@aws-crypto/sha256-browser/build/{constants.js → main/constants.js} +0 -0
- /package/node_modules/@aws-crypto/sha256-browser/build/{crossPlatformSha256.d.ts → main/crossPlatformSha256.d.ts} +0 -0
- /package/node_modules/@aws-crypto/sha256-browser/build/{isEmptyData.d.ts → main/isEmptyData.d.ts} +0 -0
- /package/node_modules/@aws-crypto/sha256-browser/build/{isEmptyData.js → main/isEmptyData.js} +0 -0
- /package/node_modules/@aws-crypto/sha256-browser/build/{webCryptoSha256.d.ts → main/webCryptoSha256.d.ts} +0 -0
- /package/node_modules/@aws-crypto/sha256-browser/build/{webCryptoSha256.js → main/webCryptoSha256.js} +0 -0
- /package/node_modules/@aws-crypto/{util/build → sha256-browser/build/module}/isEmptyData.d.ts +0 -0
- /package/node_modules/{@aws-sdk/util-utf8-browser → @aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer}/LICENSE +0 -0
- /package/node_modules/@aws-crypto/sha256-js/build/{RawSha256.d.ts → main/RawSha256.d.ts} +0 -0
- /package/node_modules/@aws-crypto/sha256-js/build/{RawSha256.js → main/RawSha256.js} +0 -0
- /package/node_modules/@aws-crypto/sha256-js/build/{constants.d.ts → main/constants.d.ts} +0 -0
- /package/node_modules/@aws-crypto/sha256-js/build/{constants.js → main/constants.js} +0 -0
- /package/node_modules/@aws-crypto/sha256-js/build/{index.d.ts → main/index.d.ts} +0 -0
- /package/node_modules/@aws-crypto/sha256-js/build/{index.js → main/index.js} +0 -0
- /package/node_modules/@aws-crypto/sha256-js/build/{jsSha256.d.ts → main/jsSha256.d.ts} +0 -0
- /package/node_modules/@aws-crypto/sha256-js/build/{jsSha256.js → main/jsSha256.js} +0 -0
- /package/node_modules/@aws-crypto/sha256-js/build/{knownHashes.fixture.d.ts → main/knownHashes.fixture.d.ts} +0 -0
- /package/node_modules/@aws-crypto/sha256-js/build/{knownHashes.fixture.js → main/knownHashes.fixture.js} +0 -0
- /package/node_modules/@aws-crypto/supports-web-crypto/build/{index.d.ts → main/index.d.ts} +0 -0
- /package/node_modules/@aws-crypto/supports-web-crypto/build/{supportsWebCrypto.d.ts → main/supportsWebCrypto.d.ts} +0 -0
- /package/node_modules/@aws-crypto/util/build/{convertToBuffer.d.ts → main/convertToBuffer.d.ts} +0 -0
- /package/node_modules/@aws-crypto/util/build/{index.d.ts → main/index.d.ts} +0 -0
- /package/node_modules/@aws-crypto/util/build/{index.js → main/index.js} +0 -0
- /package/node_modules/@aws-crypto/util/build/{isEmptyData.js → main/isEmptyData.js} +0 -0
- /package/node_modules/@aws-crypto/util/build/{numToUint8.d.ts → main/numToUint8.d.ts} +0 -0
- /package/node_modules/@aws-crypto/util/build/{numToUint8.js → main/numToUint8.js} +0 -0
- /package/node_modules/@aws-crypto/util/build/{uint32ArrayFrom.d.ts → main/uint32ArrayFrom.d.ts} +0 -0
- /package/node_modules/@aws-crypto/util/build/{uint32ArrayFrom.js → main/uint32ArrayFrom.js} +0 -0
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/core",
|
3
|
-
"version": "2.2.
|
3
|
+
"version": "2.2.3",
|
4
4
|
"scripts": {
|
5
5
|
"build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline core",
|
7
7
|
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
8
8
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
9
|
-
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
9
|
+
"build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
10
10
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
12
12
|
"lint": "npx eslint -c ../../.eslintrc.js \"src/**/*.ts\" && node ./scripts/lint",
|
@@ -38,13 +38,13 @@
|
|
38
38
|
},
|
39
39
|
"license": "Apache-2.0",
|
40
40
|
"dependencies": {
|
41
|
-
"@smithy/middleware-endpoint": "^3.0.
|
42
|
-
"@smithy/middleware-retry": "^3.0.
|
43
|
-
"@smithy/middleware-serde": "^3.0.
|
44
|
-
"@smithy/protocol-http": "^4.0.
|
45
|
-
"@smithy/smithy-client": "^3.1.
|
46
|
-
"@smithy/types": "^3.
|
47
|
-
"@smithy/util-middleware": "^3.0.
|
41
|
+
"@smithy/middleware-endpoint": "^3.0.3",
|
42
|
+
"@smithy/middleware-retry": "^3.0.6",
|
43
|
+
"@smithy/middleware-serde": "^3.0.2",
|
44
|
+
"@smithy/protocol-http": "^4.0.2",
|
45
|
+
"@smithy/smithy-client": "^3.1.4",
|
46
|
+
"@smithy/types": "^3.2.0",
|
47
|
+
"@smithy/util-middleware": "^3.0.2",
|
48
48
|
"tslib": "^2.6.2"
|
49
49
|
},
|
50
50
|
"engines": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/credential-provider-imds",
|
3
|
-
"version": "3.1.
|
3
|
+
"version": "3.1.2",
|
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",
|
@@ -9,7 +9,7 @@
|
|
9
9
|
"build:cjs": "node ../../scripts/inline credential-provider-imds",
|
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\"",
|
@@ -26,10 +26,10 @@
|
|
26
26
|
},
|
27
27
|
"license": "Apache-2.0",
|
28
28
|
"dependencies": {
|
29
|
-
"@smithy/node-config-provider": "^3.1.
|
30
|
-
"@smithy/property-provider": "^3.1.
|
31
|
-
"@smithy/types": "^3.
|
32
|
-
"@smithy/url-parser": "^3.0.
|
29
|
+
"@smithy/node-config-provider": "^3.1.2",
|
30
|
+
"@smithy/property-provider": "^3.1.2",
|
31
|
+
"@smithy/types": "^3.2.0",
|
32
|
+
"@smithy/url-parser": "^3.0.2",
|
33
33
|
"tslib": "^2.6.2"
|
34
34
|
},
|
35
35
|
"devDependencies": {
|
@@ -46,7 +46,7 @@ __name(requestTimeout, "requestTimeout");
|
|
46
46
|
|
47
47
|
// src/fetch-http-handler.ts
|
48
48
|
var keepAliveSupport = {
|
49
|
-
supported:
|
49
|
+
supported: void 0
|
50
50
|
};
|
51
51
|
var _FetchHttpHandler = class _FetchHttpHandler {
|
52
52
|
/**
|
@@ -66,6 +66,11 @@ var _FetchHttpHandler = class _FetchHttpHandler {
|
|
66
66
|
this.config = options ?? {};
|
67
67
|
this.configProvider = Promise.resolve(this.config);
|
68
68
|
}
|
69
|
+
if (keepAliveSupport.supported === void 0) {
|
70
|
+
keepAliveSupport.supported = Boolean(
|
71
|
+
typeof Request !== "undefined" && "keepalive" in new Request("https://[::1]")
|
72
|
+
);
|
73
|
+
}
|
69
74
|
}
|
70
75
|
destroy() {
|
71
76
|
}
|
@@ -144,11 +149,16 @@ var _FetchHttpHandler = class _FetchHttpHandler {
|
|
144
149
|
if (abortSignal) {
|
145
150
|
raceOfPromises.push(
|
146
151
|
new Promise((resolve, reject) => {
|
147
|
-
|
152
|
+
const onAbort = /* @__PURE__ */ __name(() => {
|
148
153
|
const abortError = new Error("Request aborted");
|
149
154
|
abortError.name = "AbortError";
|
150
155
|
reject(abortError);
|
151
|
-
};
|
156
|
+
}, "onAbort");
|
157
|
+
if (typeof abortSignal.addEventListener === "function") {
|
158
|
+
abortSignal.addEventListener("abort", onAbort);
|
159
|
+
} else {
|
160
|
+
abortSignal.onabort = onAbort;
|
161
|
+
}
|
152
162
|
})
|
153
163
|
);
|
154
164
|
}
|
@@ -2,7 +2,7 @@ import { HttpResponse } from "@smithy/protocol-http";
|
|
2
2
|
import { buildQueryString } from "@smithy/querystring-builder";
|
3
3
|
import { requestTimeout } from "./request-timeout";
|
4
4
|
export const keepAliveSupport = {
|
5
|
-
supported:
|
5
|
+
supported: undefined,
|
6
6
|
};
|
7
7
|
export class FetchHttpHandler {
|
8
8
|
static create(instanceOrOptions) {
|
@@ -19,6 +19,9 @@ export class FetchHttpHandler {
|
|
19
19
|
this.config = options ?? {};
|
20
20
|
this.configProvider = Promise.resolve(this.config);
|
21
21
|
}
|
22
|
+
if (keepAliveSupport.supported === undefined) {
|
23
|
+
keepAliveSupport.supported = Boolean(typeof Request !== "undefined" && "keepalive" in new Request("https://[::1]"));
|
24
|
+
}
|
22
25
|
}
|
23
26
|
destroy() {
|
24
27
|
}
|
@@ -96,11 +99,17 @@ export class FetchHttpHandler {
|
|
96
99
|
];
|
97
100
|
if (abortSignal) {
|
98
101
|
raceOfPromises.push(new Promise((resolve, reject) => {
|
99
|
-
|
102
|
+
const onAbort = () => {
|
100
103
|
const abortError = new Error("Request aborted");
|
101
104
|
abortError.name = "AbortError";
|
102
105
|
reject(abortError);
|
103
106
|
};
|
107
|
+
if (typeof abortSignal.addEventListener === "function") {
|
108
|
+
abortSignal.addEventListener("abort", onAbort);
|
109
|
+
}
|
110
|
+
else {
|
111
|
+
abortSignal.onabort = onAbort;
|
112
|
+
}
|
104
113
|
}));
|
105
114
|
}
|
106
115
|
return Promise.race(raceOfPromises);
|
@@ -1,13 +1,13 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/fetch-http-handler",
|
3
|
-
"version": "3.0
|
3
|
+
"version": "3.1.0",
|
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'",
|
7
7
|
"build:cjs": "node ../../scripts/inline fetch-http-handler",
|
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\"",
|
@@ -24,14 +24,14 @@
|
|
24
24
|
"module": "./dist-es/index.js",
|
25
25
|
"types": "./dist-types/index.d.ts",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/protocol-http": "^4.0.
|
28
|
-
"@smithy/querystring-builder": "^3.0.
|
29
|
-
"@smithy/types": "^3.
|
27
|
+
"@smithy/protocol-http": "^4.0.2",
|
28
|
+
"@smithy/querystring-builder": "^3.0.2",
|
29
|
+
"@smithy/types": "^3.2.0",
|
30
30
|
"@smithy/util-base64": "^3.0.0",
|
31
31
|
"tslib": "^2.6.2"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
34
|
-
"@smithy/abort-controller": "^3.0
|
34
|
+
"@smithy/abort-controller": "^3.1.0",
|
35
35
|
"concurrently": "7.0.0",
|
36
36
|
"downlevel-dts": "0.10.1",
|
37
37
|
"rimraf": "3.0.2",
|
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/hash-node",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.2",
|
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",
|
7
7
|
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
8
8
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
9
|
-
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
9
|
+
"build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
10
10
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
@@ -30,7 +30,7 @@
|
|
30
30
|
"typedoc": "0.23.23"
|
31
31
|
},
|
32
32
|
"dependencies": {
|
33
|
-
"@smithy/types": "^3.
|
33
|
+
"@smithy/types": "^3.2.0",
|
34
34
|
"@smithy/util-buffer-from": "^3.0.0",
|
35
35
|
"@smithy/util-utf8": "^3.0.0",
|
36
36
|
"tslib": "^2.6.2"
|
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/invalid-dependency",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.2",
|
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",
|
7
7
|
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
8
8
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
9
|
-
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
9
|
+
"build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
10
10
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
@@ -22,7 +22,7 @@
|
|
22
22
|
},
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"dependencies": {
|
25
|
-
"@smithy/types": "^3.
|
25
|
+
"@smithy/types": "^3.2.0",
|
26
26
|
"tslib": "^2.6.2"
|
27
27
|
},
|
28
28
|
"typesVersions": {
|
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-content-length",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.2",
|
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",
|
7
7
|
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
8
8
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
9
|
-
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
9
|
+
"build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
10
10
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
@@ -23,8 +23,8 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@smithy/protocol-http": "^4.0.
|
27
|
-
"@smithy/types": "^3.
|
26
|
+
"@smithy/protocol-http": "^4.0.2",
|
27
|
+
"@smithy/types": "^3.2.0",
|
28
28
|
"tslib": "^2.6.2"
|
29
29
|
},
|
30
30
|
"engines": {
|
@@ -47,7 +47,7 @@
|
|
47
47
|
"directory": "packages/middleware-content-length"
|
48
48
|
},
|
49
49
|
"devDependencies": {
|
50
|
-
"@smithy/util-test": "^0.2.
|
50
|
+
"@smithy/util-test": "^0.2.3",
|
51
51
|
"concurrently": "7.0.0",
|
52
52
|
"downlevel-dts": "0.10.1",
|
53
53
|
"rimraf": "3.0.2",
|
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-endpoint",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.3",
|
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",
|
7
7
|
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
8
8
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
9
|
-
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
9
|
+
"build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
10
10
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
@@ -23,12 +23,12 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@smithy/middleware-serde": "^3.0.
|
27
|
-
"@smithy/node-config-provider": "^3.1.
|
28
|
-
"@smithy/shared-ini-file-loader": "^3.1.
|
29
|
-
"@smithy/types": "^3.
|
30
|
-
"@smithy/url-parser": "^3.0.
|
31
|
-
"@smithy/util-middleware": "^3.0.
|
26
|
+
"@smithy/middleware-serde": "^3.0.2",
|
27
|
+
"@smithy/node-config-provider": "^3.1.2",
|
28
|
+
"@smithy/shared-ini-file-loader": "^3.1.2",
|
29
|
+
"@smithy/types": "^3.2.0",
|
30
|
+
"@smithy/url-parser": "^3.0.2",
|
31
|
+
"@smithy/util-middleware": "^3.0.2",
|
32
32
|
"tslib": "^2.6.2"
|
33
33
|
},
|
34
34
|
"devDependencies": {
|
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-retry",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.6",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-retry",
|
7
7
|
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
8
8
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
9
|
-
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
9
|
+
"build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
10
10
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
@@ -31,18 +31,18 @@
|
|
31
31
|
},
|
32
32
|
"license": "Apache-2.0",
|
33
33
|
"dependencies": {
|
34
|
-
"@smithy/node-config-provider": "^3.1.
|
35
|
-
"@smithy/protocol-http": "^4.0.
|
36
|
-
"@smithy/service-error-classification": "^3.0.
|
37
|
-
"@smithy/smithy-client": "^3.1.
|
38
|
-
"@smithy/types": "^3.
|
39
|
-
"@smithy/util-middleware": "^3.0.
|
40
|
-
"@smithy/util-retry": "^3.0.
|
34
|
+
"@smithy/node-config-provider": "^3.1.2",
|
35
|
+
"@smithy/protocol-http": "^4.0.2",
|
36
|
+
"@smithy/service-error-classification": "^3.0.2",
|
37
|
+
"@smithy/smithy-client": "^3.1.4",
|
38
|
+
"@smithy/types": "^3.2.0",
|
39
|
+
"@smithy/util-middleware": "^3.0.2",
|
40
|
+
"@smithy/util-retry": "^3.0.2",
|
41
41
|
"tslib": "^2.6.2",
|
42
42
|
"uuid": "^9.0.1"
|
43
43
|
},
|
44
44
|
"devDependencies": {
|
45
|
-
"@smithy/util-test": "^0.2.
|
45
|
+
"@smithy/util-test": "^0.2.3",
|
46
46
|
"@types/uuid": "^8.3.0",
|
47
47
|
"concurrently": "7.0.0",
|
48
48
|
"downlevel-dts": "0.10.1",
|
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-serde",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.2",
|
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",
|
7
7
|
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
8
8
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
9
|
-
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
9
|
+
"build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
10
10
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
@@ -23,7 +23,7 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@smithy/types": "^3.
|
26
|
+
"@smithy/types": "^3.2.0",
|
27
27
|
"tslib": "^2.6.2"
|
28
28
|
},
|
29
29
|
"engines": {
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"directory": "packages/middleware-serde"
|
47
47
|
},
|
48
48
|
"devDependencies": {
|
49
|
-
"@smithy/util-test": "^0.2.
|
49
|
+
"@smithy/util-test": "^0.2.3",
|
50
50
|
"concurrently": "7.0.0",
|
51
51
|
"downlevel-dts": "0.10.1",
|
52
52
|
"rimraf": "3.0.2",
|
@@ -1,13 +1,13 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-stack",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.2",
|
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'",
|
7
7
|
"build:cjs": "node ../../scripts/inline middleware-stack",
|
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\"",
|
@@ -25,7 +25,7 @@
|
|
25
25
|
"module": "./dist-es/index.js",
|
26
26
|
"types": "./dist-types/index.d.ts",
|
27
27
|
"dependencies": {
|
28
|
-
"@smithy/types": "^3.
|
28
|
+
"@smithy/types": "^3.2.0",
|
29
29
|
"tslib": "^2.6.2"
|
30
30
|
},
|
31
31
|
"devDependencies": {
|
@@ -1,13 +1,13 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/node-config-provider",
|
3
|
-
"version": "3.1.
|
3
|
+
"version": "3.1.2",
|
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'",
|
7
7
|
"build:cjs": "node ../../scripts/inline node-config-provider",
|
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\"",
|
@@ -24,9 +24,9 @@
|
|
24
24
|
"module": "./dist-es/index.js",
|
25
25
|
"types": "./dist-types/index.d.ts",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/property-provider": "^3.1.
|
28
|
-
"@smithy/shared-ini-file-loader": "^3.1.
|
29
|
-
"@smithy/types": "^3.
|
27
|
+
"@smithy/property-provider": "^3.1.2",
|
28
|
+
"@smithy/shared-ini-file-loader": "^3.1.2",
|
29
|
+
"@smithy/types": "^3.2.0",
|
30
30
|
"tslib": "^2.6.2"
|
31
31
|
},
|
32
32
|
"devDependencies": {
|
@@ -182,10 +182,12 @@ var _NodeHttpHandler = class _NodeHttpHandler {
|
|
182
182
|
* @internal
|
183
183
|
*
|
184
184
|
* @param agent - http(s) agent in use by the NodeHttpHandler instance.
|
185
|
+
* @param socketWarningTimestamp - last socket usage check timestamp.
|
186
|
+
* @param logger - channel for the warning.
|
185
187
|
* @returns timestamp of last emitted warning.
|
186
188
|
*/
|
187
|
-
static checkSocketUsage(agent, socketWarningTimestamp) {
|
188
|
-
var _a, _b;
|
189
|
+
static checkSocketUsage(agent, socketWarningTimestamp, logger = console) {
|
190
|
+
var _a, _b, _c;
|
189
191
|
const { sockets, requests, maxSockets } = agent;
|
190
192
|
if (typeof maxSockets !== "number" || maxSockets === Infinity) {
|
191
193
|
return socketWarningTimestamp;
|
@@ -199,11 +201,11 @@ var _NodeHttpHandler = class _NodeHttpHandler {
|
|
199
201
|
const socketsInUse = ((_a = sockets[origin]) == null ? void 0 : _a.length) ?? 0;
|
200
202
|
const requestsEnqueued = ((_b = requests[origin]) == null ? void 0 : _b.length) ?? 0;
|
201
203
|
if (socketsInUse >= maxSockets && requestsEnqueued >= 2 * maxSockets) {
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
204
|
+
(_c = logger == null ? void 0 : logger.warn) == null ? void 0 : _c.call(
|
205
|
+
logger,
|
206
|
+
`@smithy/node-http-handler:WARN - socket usage at capacity=${socketsInUse} and ${requestsEnqueued} additional requests are enqueued.
|
207
|
+
See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
|
208
|
+
or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`
|
207
209
|
);
|
208
210
|
return Date.now();
|
209
211
|
}
|
@@ -229,7 +231,8 @@ var _NodeHttpHandler = class _NodeHttpHandler {
|
|
229
231
|
return httpsAgent;
|
230
232
|
}
|
231
233
|
return new import_https.Agent({ keepAlive, maxSockets, ...httpsAgent });
|
232
|
-
})()
|
234
|
+
})(),
|
235
|
+
logger: console
|
233
236
|
};
|
234
237
|
}
|
235
238
|
destroy() {
|
@@ -251,6 +254,7 @@ var _NodeHttpHandler = class _NodeHttpHandler {
|
|
251
254
|
}, "resolve");
|
252
255
|
const reject = /* @__PURE__ */ __name(async (arg) => {
|
253
256
|
await writeRequestBodyPromise;
|
257
|
+
clearTimeout(socketCheckTimeoutId);
|
254
258
|
_reject(arg);
|
255
259
|
}, "reject");
|
256
260
|
if (!this.config) {
|
@@ -266,7 +270,11 @@ var _NodeHttpHandler = class _NodeHttpHandler {
|
|
266
270
|
const agent = isSSL ? this.config.httpsAgent : this.config.httpAgent;
|
267
271
|
socketCheckTimeoutId = setTimeout(
|
268
272
|
() => {
|
269
|
-
this.socketWarningTimestamp = _NodeHttpHandler.checkSocketUsage(
|
273
|
+
this.socketWarningTimestamp = _NodeHttpHandler.checkSocketUsage(
|
274
|
+
agent,
|
275
|
+
this.socketWarningTimestamp,
|
276
|
+
this.config.logger
|
277
|
+
);
|
270
278
|
},
|
271
279
|
this.config.socketAcquisitionWarningTimeout ?? (this.config.requestTimeout ?? 2e3) + (this.config.connectionTimeout ?? 1e3)
|
272
280
|
);
|
@@ -313,12 +321,17 @@ var _NodeHttpHandler = class _NodeHttpHandler {
|
|
313
321
|
setConnectionTimeout(req, reject, this.config.connectionTimeout);
|
314
322
|
setSocketTimeout(req, reject, this.config.requestTimeout);
|
315
323
|
if (abortSignal) {
|
316
|
-
|
317
|
-
req.
|
324
|
+
const onAbort = /* @__PURE__ */ __name(() => {
|
325
|
+
req.destroy();
|
318
326
|
const abortError = new Error("Request aborted");
|
319
327
|
abortError.name = "AbortError";
|
320
328
|
reject(abortError);
|
321
|
-
};
|
329
|
+
}, "onAbort");
|
330
|
+
if (typeof abortSignal.addEventListener === "function") {
|
331
|
+
abortSignal.addEventListener("abort", onAbort);
|
332
|
+
} else {
|
333
|
+
abortSignal.onabort = onAbort;
|
334
|
+
}
|
322
335
|
}
|
323
336
|
const httpAgent = nodeHttpsOptions.agent;
|
324
337
|
if (typeof httpAgent === "object" && "keepAlive" in httpAgent) {
|
@@ -329,7 +342,10 @@ var _NodeHttpHandler = class _NodeHttpHandler {
|
|
329
342
|
keepAliveMsecs: httpAgent.keepAliveMsecs
|
330
343
|
});
|
331
344
|
}
|
332
|
-
writeRequestBodyPromise = writeRequestBody(req, request, this.config.requestTimeout).catch(
|
345
|
+
writeRequestBodyPromise = writeRequestBody(req, request, this.config.requestTimeout).catch((e) => {
|
346
|
+
clearTimeout(socketCheckTimeoutId);
|
347
|
+
return _reject(e);
|
348
|
+
});
|
333
349
|
});
|
334
350
|
}
|
335
351
|
updateHttpClientConfig(key, value) {
|
@@ -597,12 +613,17 @@ var _NodeHttp2Handler = class _NodeHttp2Handler {
|
|
597
613
|
});
|
598
614
|
}
|
599
615
|
if (abortSignal) {
|
600
|
-
|
616
|
+
const onAbort = /* @__PURE__ */ __name(() => {
|
601
617
|
req.close();
|
602
618
|
const abortError = new Error("Request aborted");
|
603
619
|
abortError.name = "AbortError";
|
604
620
|
rejectWithDestroy(abortError);
|
605
|
-
};
|
621
|
+
}, "onAbort");
|
622
|
+
if (typeof abortSignal.addEventListener === "function") {
|
623
|
+
abortSignal.addEventListener("abort", onAbort);
|
624
|
+
} else {
|
625
|
+
abortSignal.onabort = onAbort;
|
626
|
+
}
|
606
627
|
}
|
607
628
|
req.on("frameError", (type, code, id) => {
|
608
629
|
rejectWithDestroy(new Error(`Frame type id ${type} in stream id ${id} has failed with code ${code}.`));
|