@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,284 +0,0 @@
|
|
1
|
-
/*! *****************************************************************************
|
2
|
-
Copyright (c) Microsoft Corporation.
|
3
|
-
|
4
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
5
|
-
purpose with or without fee is hereby granted.
|
6
|
-
|
7
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
8
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
9
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
10
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
11
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
12
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
13
|
-
PERFORMANCE OF THIS SOFTWARE.
|
14
|
-
***************************************************************************** */
|
15
|
-
|
16
|
-
/* global global, define, System, Reflect, Promise */
|
17
|
-
var __extends;
|
18
|
-
var __assign;
|
19
|
-
var __rest;
|
20
|
-
var __decorate;
|
21
|
-
var __param;
|
22
|
-
var __metadata;
|
23
|
-
var __awaiter;
|
24
|
-
var __generator;
|
25
|
-
var __exportStar;
|
26
|
-
var __values;
|
27
|
-
var __read;
|
28
|
-
var __spread;
|
29
|
-
var __spreadArrays;
|
30
|
-
var __await;
|
31
|
-
var __asyncGenerator;
|
32
|
-
var __asyncDelegator;
|
33
|
-
var __asyncValues;
|
34
|
-
var __makeTemplateObject;
|
35
|
-
var __importStar;
|
36
|
-
var __importDefault;
|
37
|
-
var __classPrivateFieldGet;
|
38
|
-
var __classPrivateFieldSet;
|
39
|
-
var __createBinding;
|
40
|
-
(function (factory) {
|
41
|
-
var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {};
|
42
|
-
if (typeof define === "function" && define.amd) {
|
43
|
-
define("tslib", ["exports"], function (exports) { factory(createExporter(root, createExporter(exports))); });
|
44
|
-
}
|
45
|
-
else if (typeof module === "object" && typeof module.exports === "object") {
|
46
|
-
factory(createExporter(root, createExporter(module.exports)));
|
47
|
-
}
|
48
|
-
else {
|
49
|
-
factory(createExporter(root));
|
50
|
-
}
|
51
|
-
function createExporter(exports, previous) {
|
52
|
-
if (exports !== root) {
|
53
|
-
if (typeof Object.create === "function") {
|
54
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
55
|
-
}
|
56
|
-
else {
|
57
|
-
exports.__esModule = true;
|
58
|
-
}
|
59
|
-
}
|
60
|
-
return function (id, v) { return exports[id] = previous ? previous(id, v) : v; };
|
61
|
-
}
|
62
|
-
})
|
63
|
-
(function (exporter) {
|
64
|
-
var extendStatics = Object.setPrototypeOf ||
|
65
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
66
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
67
|
-
|
68
|
-
__extends = function (d, b) {
|
69
|
-
extendStatics(d, b);
|
70
|
-
function __() { this.constructor = d; }
|
71
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
72
|
-
};
|
73
|
-
|
74
|
-
__assign = Object.assign || function (t) {
|
75
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
76
|
-
s = arguments[i];
|
77
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
78
|
-
}
|
79
|
-
return t;
|
80
|
-
};
|
81
|
-
|
82
|
-
__rest = function (s, e) {
|
83
|
-
var t = {};
|
84
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
85
|
-
t[p] = s[p];
|
86
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
87
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
88
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
89
|
-
t[p[i]] = s[p[i]];
|
90
|
-
}
|
91
|
-
return t;
|
92
|
-
};
|
93
|
-
|
94
|
-
__decorate = function (decorators, target, key, desc) {
|
95
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
96
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
97
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
98
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
99
|
-
};
|
100
|
-
|
101
|
-
__param = function (paramIndex, decorator) {
|
102
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
103
|
-
};
|
104
|
-
|
105
|
-
__metadata = function (metadataKey, metadataValue) {
|
106
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
107
|
-
};
|
108
|
-
|
109
|
-
__awaiter = function (thisArg, _arguments, P, generator) {
|
110
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
111
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
112
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
113
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
114
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
115
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
116
|
-
});
|
117
|
-
};
|
118
|
-
|
119
|
-
__generator = function (thisArg, body) {
|
120
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
121
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
122
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
123
|
-
function step(op) {
|
124
|
-
if (f) throw new TypeError("Generator is already executing.");
|
125
|
-
while (_) try {
|
126
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
127
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
128
|
-
switch (op[0]) {
|
129
|
-
case 0: case 1: t = op; break;
|
130
|
-
case 4: _.label++; return { value: op[1], done: false };
|
131
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
132
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
133
|
-
default:
|
134
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
135
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
136
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
137
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
138
|
-
if (t[2]) _.ops.pop();
|
139
|
-
_.trys.pop(); continue;
|
140
|
-
}
|
141
|
-
op = body.call(thisArg, _);
|
142
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
143
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
144
|
-
}
|
145
|
-
};
|
146
|
-
|
147
|
-
__createBinding = function(o, m, k, k2) {
|
148
|
-
if (k2 === undefined) k2 = k;
|
149
|
-
o[k2] = m[k];
|
150
|
-
};
|
151
|
-
|
152
|
-
__exportStar = function (m, exports) {
|
153
|
-
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p];
|
154
|
-
};
|
155
|
-
|
156
|
-
__values = function (o) {
|
157
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
158
|
-
if (m) return m.call(o);
|
159
|
-
if (o && typeof o.length === "number") return {
|
160
|
-
next: function () {
|
161
|
-
if (o && i >= o.length) o = void 0;
|
162
|
-
return { value: o && o[i++], done: !o };
|
163
|
-
}
|
164
|
-
};
|
165
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
166
|
-
};
|
167
|
-
|
168
|
-
__read = function (o, n) {
|
169
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
170
|
-
if (!m) return o;
|
171
|
-
var i = m.call(o), r, ar = [], e;
|
172
|
-
try {
|
173
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
174
|
-
}
|
175
|
-
catch (error) { e = { error: error }; }
|
176
|
-
finally {
|
177
|
-
try {
|
178
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
179
|
-
}
|
180
|
-
finally { if (e) throw e.error; }
|
181
|
-
}
|
182
|
-
return ar;
|
183
|
-
};
|
184
|
-
|
185
|
-
__spread = function () {
|
186
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
187
|
-
ar = ar.concat(__read(arguments[i]));
|
188
|
-
return ar;
|
189
|
-
};
|
190
|
-
|
191
|
-
__spreadArrays = function () {
|
192
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
193
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
194
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
195
|
-
r[k] = a[j];
|
196
|
-
return r;
|
197
|
-
};
|
198
|
-
|
199
|
-
__await = function (v) {
|
200
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
201
|
-
};
|
202
|
-
|
203
|
-
__asyncGenerator = function (thisArg, _arguments, generator) {
|
204
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
205
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
206
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
207
|
-
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
208
|
-
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
209
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
210
|
-
function fulfill(value) { resume("next", value); }
|
211
|
-
function reject(value) { resume("throw", value); }
|
212
|
-
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
213
|
-
};
|
214
|
-
|
215
|
-
__asyncDelegator = function (o) {
|
216
|
-
var i, p;
|
217
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
218
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
219
|
-
};
|
220
|
-
|
221
|
-
__asyncValues = function (o) {
|
222
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
223
|
-
var m = o[Symbol.asyncIterator], i;
|
224
|
-
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
225
|
-
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
226
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
227
|
-
};
|
228
|
-
|
229
|
-
__makeTemplateObject = function (cooked, raw) {
|
230
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
231
|
-
return cooked;
|
232
|
-
};
|
233
|
-
|
234
|
-
__importStar = function (mod) {
|
235
|
-
if (mod && mod.__esModule) return mod;
|
236
|
-
var result = {};
|
237
|
-
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
|
238
|
-
result["default"] = mod;
|
239
|
-
return result;
|
240
|
-
};
|
241
|
-
|
242
|
-
__importDefault = function (mod) {
|
243
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
244
|
-
};
|
245
|
-
|
246
|
-
__classPrivateFieldGet = function (receiver, privateMap) {
|
247
|
-
if (!privateMap.has(receiver)) {
|
248
|
-
throw new TypeError("attempted to get private field on non-instance");
|
249
|
-
}
|
250
|
-
return privateMap.get(receiver);
|
251
|
-
};
|
252
|
-
|
253
|
-
__classPrivateFieldSet = function (receiver, privateMap, value) {
|
254
|
-
if (!privateMap.has(receiver)) {
|
255
|
-
throw new TypeError("attempted to set private field on non-instance");
|
256
|
-
}
|
257
|
-
privateMap.set(receiver, value);
|
258
|
-
return value;
|
259
|
-
};
|
260
|
-
|
261
|
-
exporter("__extends", __extends);
|
262
|
-
exporter("__assign", __assign);
|
263
|
-
exporter("__rest", __rest);
|
264
|
-
exporter("__decorate", __decorate);
|
265
|
-
exporter("__param", __param);
|
266
|
-
exporter("__metadata", __metadata);
|
267
|
-
exporter("__awaiter", __awaiter);
|
268
|
-
exporter("__generator", __generator);
|
269
|
-
exporter("__exportStar", __exportStar);
|
270
|
-
exporter("__createBinding", __createBinding);
|
271
|
-
exporter("__values", __values);
|
272
|
-
exporter("__read", __read);
|
273
|
-
exporter("__spread", __spread);
|
274
|
-
exporter("__spreadArrays", __spreadArrays);
|
275
|
-
exporter("__await", __await);
|
276
|
-
exporter("__asyncGenerator", __asyncGenerator);
|
277
|
-
exporter("__asyncDelegator", __asyncDelegator);
|
278
|
-
exporter("__asyncValues", __asyncValues);
|
279
|
-
exporter("__makeTemplateObject", __makeTemplateObject);
|
280
|
-
exporter("__importStar", __importStar);
|
281
|
-
exporter("__importDefault", __importDefault);
|
282
|
-
exporter("__classPrivateFieldGet", __classPrivateFieldGet);
|
283
|
-
exporter("__classPrivateFieldSet", __classPrivateFieldSet);
|
284
|
-
});
|
@@ -1,26 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "@aws-crypto/ie11-detection",
|
3
|
-
"version": "3.0.0",
|
4
|
-
"description": "Provides functions and types for detecting if the host environment is IE11",
|
5
|
-
"scripts": {
|
6
|
-
"pretest": "tsc -p tsconfig.json",
|
7
|
-
"test": "mocha --require ts-node/register test/**/*test.ts"
|
8
|
-
},
|
9
|
-
"repository": {
|
10
|
-
"type": "git",
|
11
|
-
"url": "git@github.com:aws/aws-sdk-js-crypto-helpers.git"
|
12
|
-
},
|
13
|
-
"author": {
|
14
|
-
"name": "AWS Crypto Tools Team",
|
15
|
-
"email": "aws-cryptools@amazon.com",
|
16
|
-
"url": "https://docs.aws.amazon.com/aws-crypto-tools/index.html?id=docs_gateway#lang/en_us"
|
17
|
-
},
|
18
|
-
"homepage": "https://github.com/aws/aws-sdk-js-crypto-helpers/tree/master/packages/ie11-detection",
|
19
|
-
"license": "Apache-2.0",
|
20
|
-
"main": "./build/index.js",
|
21
|
-
"types": "./build/index.d.ts",
|
22
|
-
"dependencies": {
|
23
|
-
"tslib": "^1.11.1"
|
24
|
-
},
|
25
|
-
"gitHead": "7f56cee8f62bd65cd397eeec29c3c997215bd80c"
|
26
|
-
}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { Key } from "./Key";
|
2
|
-
|
3
|
-
/**
|
4
|
-
* Represents a cryptographic operation that has been instantiated but not
|
5
|
-
* necessarily fed all data or finalized.
|
6
|
-
*
|
7
|
-
* @see https://msdn.microsoft.com/en-us/library/dn280996(v=vs.85).aspx
|
8
|
-
*/
|
9
|
-
export interface CryptoOperation {
|
10
|
-
readonly algorithm: string;
|
11
|
-
readonly key: Key;
|
12
|
-
onabort: (event: Event) => void;
|
13
|
-
oncomplete: (event: Event) => void;
|
14
|
-
onerror: (event: Event) => void;
|
15
|
-
onprogress: (event: Event) => void;
|
16
|
-
readonly result: ArrayBuffer | undefined;
|
17
|
-
|
18
|
-
abort(): void;
|
19
|
-
finish(): void;
|
20
|
-
process(buffer: ArrayBufferView): void;
|
21
|
-
}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* The result of a successful KeyOperation.
|
3
|
-
*
|
4
|
-
* @see {KeyOperation}
|
5
|
-
* @see https://msdn.microsoft.com/en-us/library/dn302313(v=vs.85).aspx
|
6
|
-
*/
|
7
|
-
export interface Key {
|
8
|
-
readonly algorithm: string;
|
9
|
-
readonly extractable: boolean;
|
10
|
-
readonly keyUsage: Array<string>;
|
11
|
-
readonly type: string;
|
12
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { Key } from "./Key";
|
2
|
-
|
3
|
-
/**
|
4
|
-
* Represents the return of a key-related operation that may or may not have
|
5
|
-
* been completed.
|
6
|
-
*
|
7
|
-
* @see https://msdn.microsoft.com/en-us/library/dn302314(v=vs.85).aspx
|
8
|
-
*/
|
9
|
-
export interface KeyOperation {
|
10
|
-
oncomplete: (event: Event) => void;
|
11
|
-
onerror: (event: Event) => void;
|
12
|
-
readonly result: Key | undefined;
|
13
|
-
}
|
@@ -1,88 +0,0 @@
|
|
1
|
-
import { CryptoOperation } from "./CryptoOperation";
|
2
|
-
import { Key } from "./Key";
|
3
|
-
import { KeyOperation } from "./KeyOperation";
|
4
|
-
|
5
|
-
export type KeyUsage =
|
6
|
-
| "encrypt"
|
7
|
-
| "decrypt"
|
8
|
-
| "sign"
|
9
|
-
| "verify"
|
10
|
-
| "derive"
|
11
|
-
| "wrapKey"
|
12
|
-
| "unwrapKey"
|
13
|
-
| "importKey";
|
14
|
-
|
15
|
-
export type EncryptionOrVerificationAlgorithm = "RSAES-PKCS1-v1_5";
|
16
|
-
export type Ie11EncryptionAlgorithm =
|
17
|
-
| "AES-CBC"
|
18
|
-
| "AES-GCM"
|
19
|
-
| "RSA-OAEP"
|
20
|
-
| EncryptionOrVerificationAlgorithm;
|
21
|
-
export type Ie11DigestAlgorithm = "SHA-1" | "SHA-256" | "SHA-384";
|
22
|
-
|
23
|
-
export interface HashAlgorithm {
|
24
|
-
name: Ie11DigestAlgorithm;
|
25
|
-
}
|
26
|
-
|
27
|
-
export interface HmacAlgorithm {
|
28
|
-
name: "HMAC";
|
29
|
-
hash: HashAlgorithm;
|
30
|
-
}
|
31
|
-
|
32
|
-
export type SigningAlgorithm = HmacAlgorithm;
|
33
|
-
|
34
|
-
/**
|
35
|
-
* Represent ths SubtleCrypto interface as implemented in Internet Explorer 11.
|
36
|
-
* This implementation was based on an earlier version of the WebCrypto API and
|
37
|
-
* differs from the `window.crypto.subtle` object exposed in Chrome, Safari,
|
38
|
-
* Firefox, and MS Edge.
|
39
|
-
*
|
40
|
-
* @see https://msdn.microsoft.com/en-us/library/dn302325(v=vs.85).aspx
|
41
|
-
*/
|
42
|
-
export interface MsSubtleCrypto {
|
43
|
-
decrypt(
|
44
|
-
algorithm: Ie11EncryptionAlgorithm,
|
45
|
-
key: Key,
|
46
|
-
buffer?: ArrayBufferView
|
47
|
-
): CryptoOperation;
|
48
|
-
|
49
|
-
digest(
|
50
|
-
algorithm: Ie11DigestAlgorithm,
|
51
|
-
buffer?: ArrayBufferView
|
52
|
-
): CryptoOperation;
|
53
|
-
|
54
|
-
encrypt(
|
55
|
-
algorithm: Ie11EncryptionAlgorithm,
|
56
|
-
key: Key,
|
57
|
-
buffer?: ArrayBufferView
|
58
|
-
): CryptoOperation;
|
59
|
-
|
60
|
-
exportKey(format: string, key: Key): KeyOperation;
|
61
|
-
|
62
|
-
generateKey(
|
63
|
-
algorithm: SigningAlgorithm | Ie11EncryptionAlgorithm,
|
64
|
-
extractable?: boolean,
|
65
|
-
keyUsages?: Array<KeyUsage>
|
66
|
-
): KeyOperation;
|
67
|
-
|
68
|
-
importKey(
|
69
|
-
format: string,
|
70
|
-
keyData: ArrayBufferView,
|
71
|
-
algorithm: any,
|
72
|
-
extractable?: boolean,
|
73
|
-
keyUsages?: Array<KeyUsage>
|
74
|
-
): KeyOperation;
|
75
|
-
|
76
|
-
sign(
|
77
|
-
algorithm: SigningAlgorithm,
|
78
|
-
key: Key,
|
79
|
-
buffer?: ArrayBufferView
|
80
|
-
): CryptoOperation;
|
81
|
-
|
82
|
-
verify(
|
83
|
-
algorithm: SigningAlgorithm | EncryptionOrVerificationAlgorithm,
|
84
|
-
key: Key,
|
85
|
-
signature: ArrayBufferView,
|
86
|
-
buffer?: ArrayBufferView
|
87
|
-
): CryptoOperation;
|
88
|
-
}
|
@@ -1,59 +0,0 @@
|
|
1
|
-
import { MsSubtleCrypto } from "./MsSubtleCrypto";
|
2
|
-
|
3
|
-
type SubtleCryptoMethod =
|
4
|
-
| "decrypt"
|
5
|
-
| "digest"
|
6
|
-
| "encrypt"
|
7
|
-
| "exportKey"
|
8
|
-
| "generateKey"
|
9
|
-
| "importKey"
|
10
|
-
| "sign"
|
11
|
-
| "verify";
|
12
|
-
|
13
|
-
const msSubtleCryptoMethods: Array<SubtleCryptoMethod> = [
|
14
|
-
"decrypt",
|
15
|
-
"digest",
|
16
|
-
"encrypt",
|
17
|
-
"exportKey",
|
18
|
-
"generateKey",
|
19
|
-
"importKey",
|
20
|
-
"sign",
|
21
|
-
"verify"
|
22
|
-
];
|
23
|
-
|
24
|
-
/**
|
25
|
-
* The value accessible as `window.msCrypto` in Internet Explorer 11.
|
26
|
-
*/
|
27
|
-
export interface MsCrypto {
|
28
|
-
getRandomValues: (toFill: Uint8Array) => void;
|
29
|
-
subtle: MsSubtleCrypto;
|
30
|
-
}
|
31
|
-
|
32
|
-
/**
|
33
|
-
* The `window` object in Internet Explorer 11. This interface does not
|
34
|
-
* exhaustively document the prefixed features of `window` in IE11.
|
35
|
-
*/
|
36
|
-
export interface MsWindow extends Window {
|
37
|
-
MSInputMethodContext: any;
|
38
|
-
msCrypto: MsCrypto;
|
39
|
-
}
|
40
|
-
|
41
|
-
function quacksLikeAnMsWindow(window: Window): window is MsWindow {
|
42
|
-
return "MSInputMethodContext" in window && "msCrypto" in window;
|
43
|
-
}
|
44
|
-
|
45
|
-
/**
|
46
|
-
* Determines if the provided window is (or is like) the window object one would
|
47
|
-
* expect to encounter in Internet Explorer 11.
|
48
|
-
*/
|
49
|
-
export function isMsWindow(window: Window): window is MsWindow {
|
50
|
-
if (quacksLikeAnMsWindow(window) && window.msCrypto.subtle !== undefined) {
|
51
|
-
const { getRandomValues, subtle } = window.msCrypto;
|
52
|
-
return msSubtleCryptoMethods
|
53
|
-
.map<Function>(methodName => subtle[methodName])
|
54
|
-
.concat(getRandomValues)
|
55
|
-
.every(method => typeof method === "function");
|
56
|
-
}
|
57
|
-
|
58
|
-
return false;
|
59
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"compilerOptions": {
|
3
|
-
"module": "commonjs",
|
4
|
-
"target": "es5",
|
5
|
-
"lib": ["dom", "es5", "es2015.collection"],
|
6
|
-
"strict": true,
|
7
|
-
"sourceMap": true,
|
8
|
-
"declaration": true,
|
9
|
-
"stripInternal": true,
|
10
|
-
"rootDir": "./src",
|
11
|
-
"outDir": "./build",
|
12
|
-
"importHelpers": true,
|
13
|
-
"noEmitHelpers": true
|
14
|
-
},
|
15
|
-
"include": ["src/**/*.ts"],
|
16
|
-
"exclude": ["node_modules/**"]
|
17
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAwB,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;AAExD,QAAA,iBAAiB,GAAgD;IAC5E,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,oBAAY;CACnB,CAAC;AAEW,QAAA,kBAAkB,GAAG,IAAI,UAAU,CAAC;IAC/C,GAAG;IACH,GAAG;IACH,GAAG;IACH,EAAE;IACF,GAAG;IACH,GAAG;IACH,EAAE;IACF,EAAE;IACF,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,EAAE;IACF,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,EAAE;IACF,GAAG;IACH,GAAG;IACH,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;CACH,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"crossPlatformSha256.js","sourceRoot":"","sources":["../src/crossPlatformSha256.ts"],"names":[],"mappings":";;;AAAA,2CAAoD;AACpD,qDAA8D;AAC9D,mDAA2D;AAE3D,uEAAoE;AACpE,6DAAwD;AACxD,kEAA2D;AAC3D,yCAAmD;AAEnD;IAGE,gBAAY,MAAmB;QAC7B,IAAI,IAAA,uCAAiB,EAAC,IAAA,iCAAY,GAAE,CAAC,EAAE;YACrC,IAAI,CAAC,IAAI,GAAG,IAAI,wBAAe,CAAC,MAAM,CAAC,CAAC;SACzC;aAAM,IAAI,IAAA,2BAAU,EAAC,IAAA,iCAAY,GAAE,CAAC,EAAE;YACrC,IAAI,CAAC,IAAI,GAAG,IAAI,mBAAU,CAAC,MAAM,CAAC,CAAC;SACpC;aAAM;YACL,IAAI,CAAC,IAAI,GAAG,IAAI,kBAAQ,CAAC,MAAM,CAAC,CAAC;SAClC;IACH,CAAC;IAED,uBAAM,GAAN,UAAO,IAAgB,EAAE,QAAsC;QAC7D,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,IAAA,sBAAe,EAAC,IAAI,CAAC,CAAC,CAAC;IAC1C,CAAC;IAED,uBAAM,GAAN;QACE,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;IAC5B,CAAC;IAED,sBAAK,GAAL;QACE,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;IACpB,CAAC;IACH,aAAC;AAAD,CAAC,AAxBD,IAwBC;AAxBY,wBAAM"}
|
@@ -1,80 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.Sha256 = void 0;
|
4
|
-
var isEmptyData_1 = require("./isEmptyData");
|
5
|
-
var constants_1 = require("./constants");
|
6
|
-
var util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
7
|
-
var util_locate_window_1 = require("@aws-sdk/util-locate-window");
|
8
|
-
var Sha256 = /** @class */ (function () {
|
9
|
-
function Sha256(secret) {
|
10
|
-
this.secret = secret;
|
11
|
-
this.reset();
|
12
|
-
}
|
13
|
-
Sha256.prototype.update = function (toHash) {
|
14
|
-
var _this = this;
|
15
|
-
if ((0, isEmptyData_1.isEmptyData)(toHash)) {
|
16
|
-
return;
|
17
|
-
}
|
18
|
-
this.operation = this.operation.then(function (operation) {
|
19
|
-
operation.onerror = function () {
|
20
|
-
_this.operation = Promise.reject(new Error("Error encountered updating hash"));
|
21
|
-
};
|
22
|
-
operation.process(toArrayBufferView(toHash));
|
23
|
-
return operation;
|
24
|
-
});
|
25
|
-
this.operation.catch(function () { });
|
26
|
-
};
|
27
|
-
Sha256.prototype.digest = function () {
|
28
|
-
return this.operation.then(function (operation) {
|
29
|
-
return new Promise(function (resolve, reject) {
|
30
|
-
operation.onerror = function () {
|
31
|
-
reject(new Error("Error encountered finalizing hash"));
|
32
|
-
};
|
33
|
-
operation.oncomplete = function () {
|
34
|
-
if (operation.result) {
|
35
|
-
resolve(new Uint8Array(operation.result));
|
36
|
-
}
|
37
|
-
reject(new Error("Error encountered finalizing hash"));
|
38
|
-
};
|
39
|
-
operation.finish();
|
40
|
-
});
|
41
|
-
});
|
42
|
-
};
|
43
|
-
Sha256.prototype.reset = function () {
|
44
|
-
if (this.secret) {
|
45
|
-
this.operation = getKeyPromise(this.secret).then(function (keyData) {
|
46
|
-
return (0, util_locate_window_1.locateWindow)().msCrypto.subtle.sign(constants_1.SHA_256_HMAC_ALGO, keyData);
|
47
|
-
});
|
48
|
-
this.operation.catch(function () { });
|
49
|
-
}
|
50
|
-
else {
|
51
|
-
this.operation = Promise.resolve((0, util_locate_window_1.locateWindow)().msCrypto.subtle.digest("SHA-256"));
|
52
|
-
}
|
53
|
-
};
|
54
|
-
return Sha256;
|
55
|
-
}());
|
56
|
-
exports.Sha256 = Sha256;
|
57
|
-
function getKeyPromise(secret) {
|
58
|
-
return new Promise(function (resolve, reject) {
|
59
|
-
var keyOperation = (0, util_locate_window_1.locateWindow)().msCrypto.subtle.importKey("raw", toArrayBufferView(secret), constants_1.SHA_256_HMAC_ALGO, false, ["sign"]);
|
60
|
-
keyOperation.oncomplete = function () {
|
61
|
-
if (keyOperation.result) {
|
62
|
-
resolve(keyOperation.result);
|
63
|
-
}
|
64
|
-
reject(new Error("ImportKey completed without importing key."));
|
65
|
-
};
|
66
|
-
keyOperation.onerror = function () {
|
67
|
-
reject(new Error("ImportKey failed to import key."));
|
68
|
-
};
|
69
|
-
});
|
70
|
-
}
|
71
|
-
function toArrayBufferView(data) {
|
72
|
-
if (typeof data === "string") {
|
73
|
-
return (0, util_utf8_browser_1.fromUtf8)(data);
|
74
|
-
}
|
75
|
-
if (ArrayBuffer.isView(data)) {
|
76
|
-
return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT);
|
77
|
-
}
|
78
|
-
return new Uint8Array(data);
|
79
|
-
}
|
80
|
-
//# sourceMappingURL=ie11Sha256.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ie11Sha256.js","sourceRoot":"","sources":["../src/ie11Sha256.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAC5C,yCAAgD;AAEhD,gEAAsD;AAEtD,kEAA2D;AAE3D;IAIE,gBAAY,MAAmB;QAC7B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,KAAK,EAAE,CAAC;IACf,CAAC;IAED,uBAAM,GAAN,UAAO,MAAkB;QAAzB,iBAgBC;QAfC,IAAI,IAAA,yBAAW,EAAC,MAAM,CAAC,EAAE;YACvB,OAAO;SACR;QAED,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,UAAA,SAAS;YAC5C,SAAS,CAAC,OAAO,GAAG;gBAClB,KAAI,CAAC,SAAS,GAAG,OAAO,CAAC,MAAM,CAC7B,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAC7C,CAAC;YACJ,CAAC,CAAC;YACF,SAAS,CAAC,OAAO,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC;YAE7C,OAAO,SAAS,CAAC;QACnB,CAAC,CAAC,CAAC;QACH,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,cAAO,CAAC,CAAC,CAAC;IACjC,CAAC;IAED,uBAAM,GAAN;QACE,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CACxB,UAAA,SAAS;YACP,OAAA,IAAI,OAAO,CAAC,UAAC,OAAO,EAAE,MAAM;gBAC1B,SAAS,CAAC,OAAO,GAAG;oBAClB,MAAM,CAAC,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC,CAAC;gBACzD,CAAC,CAAC;gBACF,SAAS,CAAC,UAAU,GAAG;oBACrB,IAAI,SAAS,CAAC,MAAM,EAAE;wBACpB,OAAO,CAAC,IAAI,UAAU,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;qBAC3C;oBACD,MAAM,CAAC,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC,CAAC;gBACzD,CAAC,CAAC;gBAEF,SAAS,CAAC,MAAM,EAAE,CAAC;YACrB,CAAC,CAAC;QAZF,CAYE,CACL,CAAC;IACJ,CAAC;IAED,sBAAK,GAAL;QACE,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,IAAI,CAAC,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,UAAA,OAAO;gBACpD,OAAC,IAAA,iCAAY,GAAe,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAC7C,6BAAiB,EACjB,OAAO,CACV;YAHD,CAGC,CACJ,CAAC;YACF,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,cAAO,CAAC,CAAC,CAAC;SAChC;aAAM;YACL,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,OAAO,CAC3B,IAAA,iCAAY,GAAe,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CACjE,CAAC;SACH;IACH,CAAC;IACH,aAAC;AAAD,CAAC,AA7DD,IA6DC;AA7DY,wBAAM;AA+DnB,SAAS,aAAa,CAAC,MAAkB;IACvC,OAAO,IAAI,OAAO,CAAC,UAAC,OAAO,EAAE,MAAM;QACjC,IAAM,YAAY,GAAI,IAAA,iCAAY,GAAe,CAAC,QAAQ,CAAC,MAAM,CAAC,SAAS,CACzE,KAAK,EACL,iBAAiB,CAAC,MAAM,CAAC,EACzB,6BAAiB,EACjB,KAAK,EACL,CAAC,MAAM,CAAC,CACT,CAAC;QAEF,YAAY,CAAC,UAAU,GAAG;YACxB,IAAI,YAAY,CAAC,MAAM,EAAE;gBACvB,OAAO,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;aAC9B;YAED,MAAM,CAAC,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC,CAAC;QAClE,CAAC,CAAC;QACF,YAAY,CAAC,OAAO,GAAG;YACrB,MAAM,CAAC,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC,CAAC;QACvD,CAAC,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAS,iBAAiB,CAAC,IAAgB;IACzC,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;QAC5B,OAAO,IAAA,4BAAQ,EAAC,IAAI,CAAC,CAAC;KACvB;IAED,IAAI,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE;QAC5B,OAAO,IAAI,UAAU,CACnB,IAAI,CAAC,MAAM,EACX,IAAI,CAAC,UAAU,EACf,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,iBAAiB,CAC/C,CAAC;KACH;IAED,OAAO,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC;AAC9B,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,gEAAsC;AACtC,2CAAoD;AAA3C,wGAAA,MAAM,OAAc;AAC7B,qDAA8D;AAArD,kHAAA,MAAM,OAAmB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"isEmptyData.js","sourceRoot":"","sources":["../src/isEmptyData.ts"],"names":[],"mappings":";;;AAEA,SAAgB,WAAW,CAAC,IAAgB;IAC1C,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;QAC5B,OAAO,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC;KAC1B;IAED,OAAO,IAAI,CAAC,UAAU,KAAK,CAAC,CAAC;AAC/B,CAAC;AAND,kCAMC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"webCryptoSha256.js","sourceRoot":"","sources":["../src/webCryptoSha256.ts"],"names":[],"mappings":";;;AACA,yCAAgE;AAChE,yCAIqB;AACrB,kEAA2D;AAE3D;IAKE,gBAAY,MAAmB;QAFvB,WAAM,GAAe,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;QAG7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,KAAK,EAAE,CAAC;IACf,CAAC;IAED,uBAAM,GAAN,UAAO,IAAgB;QACrB,IAAI,IAAA,kBAAW,EAAC,IAAI,CAAC,EAAE;YACrB,OAAO;SACR;QAED,IAAM,MAAM,GAAG,IAAA,sBAAe,EAAC,IAAI,CAAC,CAAC;QACrC,IAAM,UAAU,GAAG,IAAI,UAAU,CAC/B,IAAI,CAAC,MAAM,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,CAC3C,CAAC;QACF,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;QAC/B,UAAU,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QAC/C,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC;IAC3B,CAAC;IAED,uBAAM,GAAN;QAAA,iBAkBC;QAjBC,IAAI,IAAI,CAAC,GAAG,EAAE;YACZ,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,UAAC,GAAG;gBACvB,OAAA,IAAA,iCAAY,GAAE;qBACX,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,6BAAiB,EAAE,GAAG,EAAE,KAAI,CAAC,MAAM,CAAC;qBACvD,IAAI,CAAC,UAAC,IAAI,IAAK,OAAA,IAAI,UAAU,CAAC,IAAI,CAAC,EAApB,CAAoB,CAAC;YAFvC,CAEuC,CACxC,CAAC;SACH;QAED,IAAI,IAAA,kBAAW,EAAC,IAAI,CAAC,MAAM,CAAC,EAAE;YAC5B,OAAO,OAAO,CAAC,OAAO,CAAC,8BAAkB,CAAC,CAAC;SAC5C;QAED,OAAO,OAAO,CAAC,OAAO,EAAE;aACrB,IAAI,CAAC;YACJ,OAAA,IAAA,iCAAY,GAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,wBAAY,EAAE,KAAI,CAAC,MAAM,CAAC;QAA9D,CAA8D,CAC/D;aACA,IAAI,CAAC,UAAC,IAAI,IAAK,OAAA,OAAO,CAAC,OAAO,CAAC,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,EAArC,CAAqC,CAAC,CAAC;IAC3D,CAAC;IAED,sBAAK,GAAL;QAAA,iBAgBC;QAfC,IAAI,CAAC,MAAM,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;QAChC,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,KAAK,KAAK,CAAC,EAAE;YACzC,IAAI,CAAC,GAAG,GAAG,IAAI,OAAO,CAAC,UAAC,OAAO,EAAE,MAAM;gBACrC,IAAA,iCAAY,GAAE;qBACT,MAAM,CAAC,MAAM,CAAC,SAAS,CACxB,KAAK,EACL,IAAA,sBAAe,EAAC,KAAI,CAAC,MAAoB,CAAC,EAC1C,6BAAiB,EACjB,KAAK,EACL,CAAC,MAAM,CAAC,CACX;qBACI,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;YAC7B,CAAC,CAAC,CAAC;YACH,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,cAAO,CAAC,CAAC,CAAC;SAC1B;IACH,CAAC;IACH,aAAC;AAAD,CAAC,AA7DD,IA6DC;AA7DY,wBAAM"}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/*! *****************************************************************************
|
2
|
-
Copyright (c) Microsoft Corporation.
|
3
|
-
|
4
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
5
|
-
purpose with or without fee is hereby granted.
|
6
|
-
|
7
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
8
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
9
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
10
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
11
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
12
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
13
|
-
PERFORMANCE OF THIS SOFTWARE.
|
14
|
-
***************************************************************************** */
|
15
|
-
|