@cdk8s/awscdk-resolver 0.0.118 → 0.0.119
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-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/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/signature-v4/package.json +2 -2
- package/package.json +3 -3
- 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,218 +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
|
-
/* global Reflect, Promise */
|
16
|
-
|
17
|
-
var extendStatics = function(d, b) {
|
18
|
-
extendStatics = Object.setPrototypeOf ||
|
19
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
20
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
21
|
-
return extendStatics(d, b);
|
22
|
-
};
|
23
|
-
|
24
|
-
export function __extends(d, b) {
|
25
|
-
extendStatics(d, b);
|
26
|
-
function __() { this.constructor = d; }
|
27
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
28
|
-
}
|
29
|
-
|
30
|
-
export var __assign = function() {
|
31
|
-
__assign = Object.assign || function __assign(t) {
|
32
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
33
|
-
s = arguments[i];
|
34
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
35
|
-
}
|
36
|
-
return t;
|
37
|
-
}
|
38
|
-
return __assign.apply(this, arguments);
|
39
|
-
}
|
40
|
-
|
41
|
-
export function __rest(s, e) {
|
42
|
-
var t = {};
|
43
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
44
|
-
t[p] = s[p];
|
45
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
46
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
47
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
48
|
-
t[p[i]] = s[p[i]];
|
49
|
-
}
|
50
|
-
return t;
|
51
|
-
}
|
52
|
-
|
53
|
-
export function __decorate(decorators, target, key, desc) {
|
54
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
55
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
56
|
-
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;
|
57
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
58
|
-
}
|
59
|
-
|
60
|
-
export function __param(paramIndex, decorator) {
|
61
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
62
|
-
}
|
63
|
-
|
64
|
-
export function __metadata(metadataKey, metadataValue) {
|
65
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
66
|
-
}
|
67
|
-
|
68
|
-
export function __awaiter(thisArg, _arguments, P, generator) {
|
69
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
70
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
71
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
72
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
73
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
74
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
75
|
-
});
|
76
|
-
}
|
77
|
-
|
78
|
-
export function __generator(thisArg, body) {
|
79
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
80
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
81
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
82
|
-
function step(op) {
|
83
|
-
if (f) throw new TypeError("Generator is already executing.");
|
84
|
-
while (_) try {
|
85
|
-
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;
|
86
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
87
|
-
switch (op[0]) {
|
88
|
-
case 0: case 1: t = op; break;
|
89
|
-
case 4: _.label++; return { value: op[1], done: false };
|
90
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
91
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
92
|
-
default:
|
93
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
94
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
95
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
96
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
97
|
-
if (t[2]) _.ops.pop();
|
98
|
-
_.trys.pop(); continue;
|
99
|
-
}
|
100
|
-
op = body.call(thisArg, _);
|
101
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
102
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
103
|
-
}
|
104
|
-
}
|
105
|
-
|
106
|
-
export function __createBinding(o, m, k, k2) {
|
107
|
-
if (k2 === undefined) k2 = k;
|
108
|
-
o[k2] = m[k];
|
109
|
-
}
|
110
|
-
|
111
|
-
export function __exportStar(m, exports) {
|
112
|
-
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p];
|
113
|
-
}
|
114
|
-
|
115
|
-
export function __values(o) {
|
116
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
117
|
-
if (m) return m.call(o);
|
118
|
-
if (o && typeof o.length === "number") return {
|
119
|
-
next: function () {
|
120
|
-
if (o && i >= o.length) o = void 0;
|
121
|
-
return { value: o && o[i++], done: !o };
|
122
|
-
}
|
123
|
-
};
|
124
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
125
|
-
}
|
126
|
-
|
127
|
-
export function __read(o, n) {
|
128
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
129
|
-
if (!m) return o;
|
130
|
-
var i = m.call(o), r, ar = [], e;
|
131
|
-
try {
|
132
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
133
|
-
}
|
134
|
-
catch (error) { e = { error: error }; }
|
135
|
-
finally {
|
136
|
-
try {
|
137
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
138
|
-
}
|
139
|
-
finally { if (e) throw e.error; }
|
140
|
-
}
|
141
|
-
return ar;
|
142
|
-
}
|
143
|
-
|
144
|
-
export function __spread() {
|
145
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
146
|
-
ar = ar.concat(__read(arguments[i]));
|
147
|
-
return ar;
|
148
|
-
}
|
149
|
-
|
150
|
-
export function __spreadArrays() {
|
151
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
152
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
153
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
154
|
-
r[k] = a[j];
|
155
|
-
return r;
|
156
|
-
};
|
157
|
-
|
158
|
-
export function __await(v) {
|
159
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
160
|
-
}
|
161
|
-
|
162
|
-
export function __asyncGenerator(thisArg, _arguments, generator) {
|
163
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
164
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
165
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
166
|
-
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); }); }; }
|
167
|
-
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
168
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
169
|
-
function fulfill(value) { resume("next", value); }
|
170
|
-
function reject(value) { resume("throw", value); }
|
171
|
-
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
172
|
-
}
|
173
|
-
|
174
|
-
export function __asyncDelegator(o) {
|
175
|
-
var i, p;
|
176
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
177
|
-
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; }
|
178
|
-
}
|
179
|
-
|
180
|
-
export function __asyncValues(o) {
|
181
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
182
|
-
var m = o[Symbol.asyncIterator], i;
|
183
|
-
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);
|
184
|
-
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); }); }; }
|
185
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
186
|
-
}
|
187
|
-
|
188
|
-
export function __makeTemplateObject(cooked, raw) {
|
189
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
190
|
-
return cooked;
|
191
|
-
};
|
192
|
-
|
193
|
-
export function __importStar(mod) {
|
194
|
-
if (mod && mod.__esModule) return mod;
|
195
|
-
var result = {};
|
196
|
-
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
|
197
|
-
result.default = mod;
|
198
|
-
return result;
|
199
|
-
}
|
200
|
-
|
201
|
-
export function __importDefault(mod) {
|
202
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
203
|
-
}
|
204
|
-
|
205
|
-
export function __classPrivateFieldGet(receiver, privateMap) {
|
206
|
-
if (!privateMap.has(receiver)) {
|
207
|
-
throw new TypeError("attempted to get private field on non-instance");
|
208
|
-
}
|
209
|
-
return privateMap.get(receiver);
|
210
|
-
}
|
211
|
-
|
212
|
-
export function __classPrivateFieldSet(receiver, privateMap, value) {
|
213
|
-
if (!privateMap.has(receiver)) {
|
214
|
-
throw new TypeError("attempted to set private field on non-instance");
|
215
|
-
}
|
216
|
-
privateMap.set(receiver, value);
|
217
|
-
return value;
|
218
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
<script src="tslib.js"></script>
|
@@ -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
|
-
}
|