@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,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,5 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
var tslib_1 = require("tslib");
|
4
|
-
tslib_1.__exportStar(require("./supportsWebCrypto"), exports);
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsOERBQW9DIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSBcIi4vc3VwcG9ydHNXZWJDcnlwdG9cIjtcbiJdfQ==
|
@@ -1,69 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.supportsZeroByteGCM = exports.supportsSubtleCrypto = exports.supportsSecureRandom = exports.supportsWebCrypto = void 0;
|
4
|
-
var tslib_1 = require("tslib");
|
5
|
-
var subtleCryptoMethods = [
|
6
|
-
"decrypt",
|
7
|
-
"digest",
|
8
|
-
"encrypt",
|
9
|
-
"exportKey",
|
10
|
-
"generateKey",
|
11
|
-
"importKey",
|
12
|
-
"sign",
|
13
|
-
"verify"
|
14
|
-
];
|
15
|
-
function supportsWebCrypto(window) {
|
16
|
-
if (supportsSecureRandom(window) &&
|
17
|
-
typeof window.crypto.subtle === "object") {
|
18
|
-
var subtle = window.crypto.subtle;
|
19
|
-
return supportsSubtleCrypto(subtle);
|
20
|
-
}
|
21
|
-
return false;
|
22
|
-
}
|
23
|
-
exports.supportsWebCrypto = supportsWebCrypto;
|
24
|
-
function supportsSecureRandom(window) {
|
25
|
-
if (typeof window === "object" && typeof window.crypto === "object") {
|
26
|
-
var getRandomValues = window.crypto.getRandomValues;
|
27
|
-
return typeof getRandomValues === "function";
|
28
|
-
}
|
29
|
-
return false;
|
30
|
-
}
|
31
|
-
exports.supportsSecureRandom = supportsSecureRandom;
|
32
|
-
function supportsSubtleCrypto(subtle) {
|
33
|
-
return (subtle &&
|
34
|
-
subtleCryptoMethods.every(function (methodName) { return typeof subtle[methodName] === "function"; }));
|
35
|
-
}
|
36
|
-
exports.supportsSubtleCrypto = supportsSubtleCrypto;
|
37
|
-
function supportsZeroByteGCM(subtle) {
|
38
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
39
|
-
var key, zeroByteAuthTag, _a;
|
40
|
-
return tslib_1.__generator(this, function (_b) {
|
41
|
-
switch (_b.label) {
|
42
|
-
case 0:
|
43
|
-
if (!supportsSubtleCrypto(subtle))
|
44
|
-
return [2 /*return*/, false];
|
45
|
-
_b.label = 1;
|
46
|
-
case 1:
|
47
|
-
_b.trys.push([1, 4, , 5]);
|
48
|
-
return [4 /*yield*/, subtle.generateKey({ name: "AES-GCM", length: 128 }, false, ["encrypt"])];
|
49
|
-
case 2:
|
50
|
-
key = _b.sent();
|
51
|
-
return [4 /*yield*/, subtle.encrypt({
|
52
|
-
name: "AES-GCM",
|
53
|
-
iv: new Uint8Array(Array(12)),
|
54
|
-
additionalData: new Uint8Array(Array(16)),
|
55
|
-
tagLength: 128
|
56
|
-
}, key, new Uint8Array(0))];
|
57
|
-
case 3:
|
58
|
-
zeroByteAuthTag = _b.sent();
|
59
|
-
return [2 /*return*/, zeroByteAuthTag.byteLength === 16];
|
60
|
-
case 4:
|
61
|
-
_a = _b.sent();
|
62
|
-
return [2 /*return*/, false];
|
63
|
-
case 5: return [2 /*return*/];
|
64
|
-
}
|
65
|
-
});
|
66
|
-
});
|
67
|
-
}
|
68
|
-
exports.supportsZeroByteGCM = supportsZeroByteGCM;
|
69
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3VwcG9ydHNXZWJDcnlwdG8uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvc3VwcG9ydHNXZWJDcnlwdG8udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQVVBLElBQU0sbUJBQW1CLEdBQThCO0lBQ3JELFNBQVM7SUFDVCxRQUFRO0lBQ1IsU0FBUztJQUNULFdBQVc7SUFDWCxhQUFhO0lBQ2IsV0FBVztJQUNYLE1BQU07SUFDTixRQUFRO0NBQ1QsQ0FBQztBQUVGLFNBQWdCLGlCQUFpQixDQUFDLE1BQWM7SUFDOUMsSUFDRSxvQkFBb0IsQ0FBQyxNQUFNLENBQUM7UUFDNUIsT0FBTyxNQUFNLENBQUMsTUFBTSxDQUFDLE1BQU0sS0FBSyxRQUFRLEVBQ3hDO1FBQ1EsSUFBQSxNQUFNLEdBQUssTUFBTSxDQUFDLE1BQU0sT0FBbEIsQ0FBbUI7UUFFakMsT0FBTyxvQkFBb0IsQ0FBQyxNQUFNLENBQUMsQ0FBQztLQUNyQztJQUVELE9BQU8sS0FBSyxDQUFDO0FBQ2YsQ0FBQztBQVhELDhDQVdDO0FBRUQsU0FBZ0Isb0JBQW9CLENBQUMsTUFBYztJQUNqRCxJQUFJLE9BQU8sTUFBTSxLQUFLLFFBQVEsSUFBSSxPQUFPLE1BQU0sQ0FBQyxNQUFNLEtBQUssUUFBUSxFQUFFO1FBQzNELElBQUEsZUFBZSxHQUFLLE1BQU0sQ0FBQyxNQUFNLGdCQUFsQixDQUFtQjtRQUUxQyxPQUFPLE9BQU8sZUFBZSxLQUFLLFVBQVUsQ0FBQztLQUM5QztJQUVELE9BQU8sS0FBSyxDQUFDO0FBQ2YsQ0FBQztBQVJELG9EQVFDO0FBRUQsU0FBZ0Isb0JBQW9CLENBQUMsTUFBb0I7SUFDdkQsT0FBTyxDQUNMLE1BQU07UUFDTixtQkFBbUIsQ0FBQyxLQUFLLENBQ3ZCLFVBQUEsVUFBVSxJQUFJLE9BQUEsT0FBTyxNQUFNLENBQUMsVUFBVSxDQUFDLEtBQUssVUFBVSxFQUF4QyxDQUF3QyxDQUN2RCxDQUNGLENBQUM7QUFDSixDQUFDO0FBUEQsb0RBT0M7QUFFRCxTQUFzQixtQkFBbUIsQ0FBQyxNQUFvQjs7Ozs7O29CQUM1RCxJQUFJLENBQUMsb0JBQW9CLENBQUMsTUFBTSxDQUFDO3dCQUFFLHNCQUFPLEtBQUssRUFBQzs7OztvQkFFbEMscUJBQU0sTUFBTSxDQUFDLFdBQVcsQ0FDbEMsRUFBRSxJQUFJLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxHQUFHLEVBQUUsRUFDaEMsS0FBSyxFQUNMLENBQUMsU0FBUyxDQUFDLENBQ1osRUFBQTs7b0JBSkssR0FBRyxHQUFHLFNBSVg7b0JBQ3VCLHFCQUFNLE1BQU0sQ0FBQyxPQUFPLENBQzFDOzRCQUNFLElBQUksRUFBRSxTQUFTOzRCQUNmLEVBQUUsRUFBRSxJQUFJLFVBQVUsQ0FBQyxLQUFLLENBQUMsRUFBRSxDQUFDLENBQUM7NEJBQzdCLGNBQWMsRUFBRSxJQUFJLFVBQVUsQ0FBQyxLQUFLLENBQUMsRUFBRSxDQUFDLENBQUM7NEJBQ3pDLFNBQVMsRUFBRSxHQUFHO3lCQUNmLEVBQ0QsR0FBRyxFQUNILElBQUksVUFBVSxDQUFDLENBQUMsQ0FBQyxDQUNsQixFQUFBOztvQkFUSyxlQUFlLEdBQUcsU0FTdkI7b0JBQ0Qsc0JBQU8sZUFBZSxDQUFDLFVBQVUsS0FBSyxFQUFFLEVBQUM7OztvQkFFekMsc0JBQU8sS0FBSyxFQUFDOzs7OztDQUVoQjtBQXRCRCxrREFzQkMiLCJzb3VyY2VzQ29udGVudCI6WyJ0eXBlIFN1YnRsZUNyeXB0b01ldGhvZCA9XG4gIHwgXCJkZWNyeXB0XCJcbiAgfCBcImRpZ2VzdFwiXG4gIHwgXCJlbmNyeXB0XCJcbiAgfCBcImV4cG9ydEtleVwiXG4gIHwgXCJnZW5lcmF0ZUtleVwiXG4gIHwgXCJpbXBvcnRLZXlcIlxuICB8IFwic2lnblwiXG4gIHwgXCJ2ZXJpZnlcIjtcblxuY29uc3Qgc3VidGxlQ3J5cHRvTWV0aG9kczogQXJyYXk8U3VidGxlQ3J5cHRvTWV0aG9kPiA9IFtcbiAgXCJkZWNyeXB0XCIsXG4gIFwiZGlnZXN0XCIsXG4gIFwiZW5jcnlwdFwiLFxuICBcImV4cG9ydEtleVwiLFxuICBcImdlbmVyYXRlS2V5XCIsXG4gIFwiaW1wb3J0S2V5XCIsXG4gIFwic2lnblwiLFxuICBcInZlcmlmeVwiXG5dO1xuXG5leHBvcnQgZnVuY3Rpb24gc3VwcG9ydHNXZWJDcnlwdG8od2luZG93OiBXaW5kb3cpOiBib29sZWFuIHtcbiAgaWYgKFxuICAgIHN1cHBvcnRzU2VjdXJlUmFuZG9tKHdpbmRvdykgJiZcbiAgICB0eXBlb2Ygd2luZG93LmNyeXB0by5zdWJ0bGUgPT09IFwib2JqZWN0XCJcbiAgKSB7XG4gICAgY29uc3QgeyBzdWJ0bGUgfSA9IHdpbmRvdy5jcnlwdG87XG5cbiAgICByZXR1cm4gc3VwcG9ydHNTdWJ0bGVDcnlwdG8oc3VidGxlKTtcbiAgfVxuXG4gIHJldHVybiBmYWxzZTtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIHN1cHBvcnRzU2VjdXJlUmFuZG9tKHdpbmRvdzogV2luZG93KTogYm9vbGVhbiB7XG4gIGlmICh0eXBlb2Ygd2luZG93ID09PSBcIm9iamVjdFwiICYmIHR5cGVvZiB3aW5kb3cuY3J5cHRvID09PSBcIm9iamVjdFwiKSB7XG4gICAgY29uc3QgeyBnZXRSYW5kb21WYWx1ZXMgfSA9IHdpbmRvdy5jcnlwdG87XG5cbiAgICByZXR1cm4gdHlwZW9mIGdldFJhbmRvbVZhbHVlcyA9PT0gXCJmdW5jdGlvblwiO1xuICB9XG5cbiAgcmV0dXJuIGZhbHNlO1xufVxuXG5leHBvcnQgZnVuY3Rpb24gc3VwcG9ydHNTdWJ0bGVDcnlwdG8oc3VidGxlOiBTdWJ0bGVDcnlwdG8pIHtcbiAgcmV0dXJuIChcbiAgICBzdWJ0bGUgJiZcbiAgICBzdWJ0bGVDcnlwdG9NZXRob2RzLmV2ZXJ5KFxuICAgICAgbWV0aG9kTmFtZSA9PiB0eXBlb2Ygc3VidGxlW21ldGhvZE5hbWVdID09PSBcImZ1bmN0aW9uXCJcbiAgICApXG4gICk7XG59XG5cbmV4cG9ydCBhc3luYyBmdW5jdGlvbiBzdXBwb3J0c1plcm9CeXRlR0NNKHN1YnRsZTogU3VidGxlQ3J5cHRvKSB7XG4gIGlmICghc3VwcG9ydHNTdWJ0bGVDcnlwdG8oc3VidGxlKSkgcmV0dXJuIGZhbHNlO1xuICB0cnkge1xuICAgIGNvbnN0IGtleSA9IGF3YWl0IHN1YnRsZS5nZW5lcmF0ZUtleShcbiAgICAgIHsgbmFtZTogXCJBRVMtR0NNXCIsIGxlbmd0aDogMTI4IH0sXG4gICAgICBmYWxzZSxcbiAgICAgIFtcImVuY3J5cHRcIl1cbiAgICApO1xuICAgIGNvbnN0IHplcm9CeXRlQXV0aFRhZyA9IGF3YWl0IHN1YnRsZS5lbmNyeXB0KFxuICAgICAge1xuICAgICAgICBuYW1lOiBcIkFFUy1HQ01cIixcbiAgICAgICAgaXY6IG5ldyBVaW50OEFycmF5KEFycmF5KDEyKSksXG4gICAgICAgIGFkZGl0aW9uYWxEYXRhOiBuZXcgVWludDhBcnJheShBcnJheSgxNikpLFxuICAgICAgICB0YWdMZW5ndGg6IDEyOFxuICAgICAgfSxcbiAgICAgIGtleSxcbiAgICAgIG5ldyBVaW50OEFycmF5KDApXG4gICAgKTtcbiAgICByZXR1cm4gemVyb0J5dGVBdXRoVGFnLmJ5dGVMZW5ndGggPT09IDE2O1xuICB9IGNhdGNoIHtcbiAgICByZXR1cm4gZmFsc2U7XG4gIH1cbn1cbiJdfQ==
|
@@ -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
|
-
|
@@ -1,12 +0,0 @@
|
|
1
|
-
Copyright (c) Microsoft Corporation.
|
2
|
-
|
3
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
4
|
-
purpose with or without fee is hereby granted.
|
5
|
-
|
6
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
7
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
8
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
9
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
10
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
11
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
12
|
-
PERFORMANCE OF THIS SOFTWARE.
|
@@ -1,142 +0,0 @@
|
|
1
|
-
# tslib
|
2
|
-
|
3
|
-
This is a runtime library for [TypeScript](http://www.typescriptlang.org/) that contains all of the TypeScript helper functions.
|
4
|
-
|
5
|
-
This library is primarily used by the `--importHelpers` flag in TypeScript.
|
6
|
-
When using `--importHelpers`, a module that uses helper functions like `__extends` and `__assign` in the following emitted file:
|
7
|
-
|
8
|
-
```ts
|
9
|
-
var __assign = (this && this.__assign) || Object.assign || function(t) {
|
10
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
11
|
-
s = arguments[i];
|
12
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
13
|
-
t[p] = s[p];
|
14
|
-
}
|
15
|
-
return t;
|
16
|
-
};
|
17
|
-
exports.x = {};
|
18
|
-
exports.y = __assign({}, exports.x);
|
19
|
-
|
20
|
-
```
|
21
|
-
|
22
|
-
will instead be emitted as something like the following:
|
23
|
-
|
24
|
-
```ts
|
25
|
-
var tslib_1 = require("tslib");
|
26
|
-
exports.x = {};
|
27
|
-
exports.y = tslib_1.__assign({}, exports.x);
|
28
|
-
```
|
29
|
-
|
30
|
-
Because this can avoid duplicate declarations of things like `__extends`, `__assign`, etc., this means delivering users smaller files on average, as well as less runtime overhead.
|
31
|
-
For optimized bundles with TypeScript, you should absolutely consider using `tslib` and `--importHelpers`.
|
32
|
-
|
33
|
-
# Installing
|
34
|
-
|
35
|
-
For the latest stable version, run:
|
36
|
-
|
37
|
-
## npm
|
38
|
-
|
39
|
-
```sh
|
40
|
-
# TypeScript 2.3.3 or later
|
41
|
-
npm install tslib
|
42
|
-
|
43
|
-
# TypeScript 2.3.2 or earlier
|
44
|
-
npm install tslib@1.6.1
|
45
|
-
```
|
46
|
-
|
47
|
-
## yarn
|
48
|
-
|
49
|
-
```sh
|
50
|
-
# TypeScript 2.3.3 or later
|
51
|
-
yarn add tslib
|
52
|
-
|
53
|
-
# TypeScript 2.3.2 or earlier
|
54
|
-
yarn add tslib@1.6.1
|
55
|
-
```
|
56
|
-
|
57
|
-
## bower
|
58
|
-
|
59
|
-
```sh
|
60
|
-
# TypeScript 2.3.3 or later
|
61
|
-
bower install tslib
|
62
|
-
|
63
|
-
# TypeScript 2.3.2 or earlier
|
64
|
-
bower install tslib@1.6.1
|
65
|
-
```
|
66
|
-
|
67
|
-
## JSPM
|
68
|
-
|
69
|
-
```sh
|
70
|
-
# TypeScript 2.3.3 or later
|
71
|
-
jspm install tslib
|
72
|
-
|
73
|
-
# TypeScript 2.3.2 or earlier
|
74
|
-
jspm install tslib@1.6.1
|
75
|
-
```
|
76
|
-
|
77
|
-
# Usage
|
78
|
-
|
79
|
-
Set the `importHelpers` compiler option on the command line:
|
80
|
-
|
81
|
-
```
|
82
|
-
tsc --importHelpers file.ts
|
83
|
-
```
|
84
|
-
|
85
|
-
or in your tsconfig.json:
|
86
|
-
|
87
|
-
```json
|
88
|
-
{
|
89
|
-
"compilerOptions": {
|
90
|
-
"importHelpers": true
|
91
|
-
}
|
92
|
-
}
|
93
|
-
```
|
94
|
-
|
95
|
-
#### For bower and JSPM users
|
96
|
-
|
97
|
-
You will need to add a `paths` mapping for `tslib`, e.g. For Bower users:
|
98
|
-
|
99
|
-
```json
|
100
|
-
{
|
101
|
-
"compilerOptions": {
|
102
|
-
"module": "amd",
|
103
|
-
"importHelpers": true,
|
104
|
-
"baseUrl": "./",
|
105
|
-
"paths": {
|
106
|
-
"tslib" : ["bower_components/tslib/tslib.d.ts"]
|
107
|
-
}
|
108
|
-
}
|
109
|
-
}
|
110
|
-
```
|
111
|
-
|
112
|
-
For JSPM users:
|
113
|
-
|
114
|
-
```json
|
115
|
-
{
|
116
|
-
"compilerOptions": {
|
117
|
-
"module": "system",
|
118
|
-
"importHelpers": true,
|
119
|
-
"baseUrl": "./",
|
120
|
-
"paths": {
|
121
|
-
"tslib" : ["jspm_packages/npm/tslib@1.[version].0/tslib.d.ts"]
|
122
|
-
}
|
123
|
-
}
|
124
|
-
}
|
125
|
-
```
|
126
|
-
|
127
|
-
|
128
|
-
# Contribute
|
129
|
-
|
130
|
-
There are many ways to [contribute](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md) to TypeScript.
|
131
|
-
|
132
|
-
* [Submit bugs](https://github.com/Microsoft/TypeScript/issues) and help us verify fixes as they are checked in.
|
133
|
-
* Review the [source code changes](https://github.com/Microsoft/TypeScript/pulls).
|
134
|
-
* Engage with other TypeScript users and developers on [StackOverflow](http://stackoverflow.com/questions/tagged/typescript).
|
135
|
-
* Join the [#typescript](http://twitter.com/#!/search/realtime/%23typescript) discussion on Twitter.
|
136
|
-
* [Contribute bug fixes](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md).
|
137
|
-
|
138
|
-
# Documentation
|
139
|
-
|
140
|
-
* [Quick tutorial](http://www.typescriptlang.org/Tutorial)
|
141
|
-
* [Programming handbook](http://www.typescriptlang.org/Handbook)
|
142
|
-
* [Homepage](http://www.typescriptlang.org/)
|
@@ -1,51 +0,0 @@
|
|
1
|
-
import tslib from '../tslib.js';
|
2
|
-
const {
|
3
|
-
__extends,
|
4
|
-
__assign,
|
5
|
-
__rest,
|
6
|
-
__decorate,
|
7
|
-
__param,
|
8
|
-
__metadata,
|
9
|
-
__awaiter,
|
10
|
-
__generator,
|
11
|
-
__exportStar,
|
12
|
-
__createBinding,
|
13
|
-
__values,
|
14
|
-
__read,
|
15
|
-
__spread,
|
16
|
-
__spreadArrays,
|
17
|
-
__await,
|
18
|
-
__asyncGenerator,
|
19
|
-
__asyncDelegator,
|
20
|
-
__asyncValues,
|
21
|
-
__makeTemplateObject,
|
22
|
-
__importStar,
|
23
|
-
__importDefault,
|
24
|
-
__classPrivateFieldGet,
|
25
|
-
__classPrivateFieldSet,
|
26
|
-
} = tslib;
|
27
|
-
export {
|
28
|
-
__extends,
|
29
|
-
__assign,
|
30
|
-
__rest,
|
31
|
-
__decorate,
|
32
|
-
__param,
|
33
|
-
__metadata,
|
34
|
-
__awaiter,
|
35
|
-
__generator,
|
36
|
-
__exportStar,
|
37
|
-
__createBinding,
|
38
|
-
__values,
|
39
|
-
__read,
|
40
|
-
__spread,
|
41
|
-
__spreadArrays,
|
42
|
-
__await,
|
43
|
-
__asyncGenerator,
|
44
|
-
__asyncDelegator,
|
45
|
-
__asyncValues,
|
46
|
-
__makeTemplateObject,
|
47
|
-
__importStar,
|
48
|
-
__importDefault,
|
49
|
-
__classPrivateFieldGet,
|
50
|
-
__classPrivateFieldSet,
|
51
|
-
};
|
@@ -1,37 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "tslib",
|
3
|
-
"author": "Microsoft Corp.",
|
4
|
-
"homepage": "https://www.typescriptlang.org/",
|
5
|
-
"version": "1.14.1",
|
6
|
-
"license": "0BSD",
|
7
|
-
"description": "Runtime library for TypeScript helper functions",
|
8
|
-
"keywords": [
|
9
|
-
"TypeScript",
|
10
|
-
"Microsoft",
|
11
|
-
"compiler",
|
12
|
-
"language",
|
13
|
-
"javascript",
|
14
|
-
"tslib",
|
15
|
-
"runtime"
|
16
|
-
],
|
17
|
-
"bugs": {
|
18
|
-
"url": "https://github.com/Microsoft/TypeScript/issues"
|
19
|
-
},
|
20
|
-
"repository": {
|
21
|
-
"type": "git",
|
22
|
-
"url": "https://github.com/Microsoft/tslib.git"
|
23
|
-
},
|
24
|
-
"main": "tslib.js",
|
25
|
-
"module": "tslib.es6.js",
|
26
|
-
"jsnext:main": "tslib.es6.js",
|
27
|
-
"typings": "tslib.d.ts",
|
28
|
-
"sideEffects": false,
|
29
|
-
"exports": {
|
30
|
-
".": {
|
31
|
-
"module": "./tslib.es6.js",
|
32
|
-
"import": "./modules/index.js",
|
33
|
-
"default": "./tslib.js"
|
34
|
-
},
|
35
|
-
"./": "./"
|
36
|
-
}
|
37
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
// When on node 14, it validates that all of the commonjs exports
|
2
|
-
// are correctly re-exported for es modules importers.
|
3
|
-
|
4
|
-
const nodeMajor = Number(process.version.split(".")[0].slice(1))
|
5
|
-
if (nodeMajor < 14) {
|
6
|
-
console.log("Skipping because node does not support module exports.")
|
7
|
-
process.exit(0)
|
8
|
-
}
|
9
|
-
|
10
|
-
// ES Modules import via the ./modules folder
|
11
|
-
import * as esTSLib from "../../modules/index.js"
|
12
|
-
|
13
|
-
// Force a commonjs resolve
|
14
|
-
import { createRequire } from "module";
|
15
|
-
const commonJSTSLib = createRequire(import.meta.url)("../../tslib.js");
|
16
|
-
|
17
|
-
for (const key in commonJSTSLib) {
|
18
|
-
if (commonJSTSLib.hasOwnProperty(key)) {
|
19
|
-
if(!esTSLib[key]) throw new Error(`ESModules is missing ${key} - it needs to be re-exported in ./modules/index.js`)
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
console.log("All exports in commonjs are available for es module consumers.")
|