@ndlib/ndlib-cdk2 1.0.25 → 1.0.26
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/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/CHANGELOG.md +76 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/LICENSE +201 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/README.md +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/aws_crc32.d.ts +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/aws_crc32.js +31 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/aws_crc32.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/index.d.ts +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/index.js +108 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/index.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/LICENSE.txt +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/README.md +142 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/modules/index.js +51 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/modules/package.json +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/package.json +37 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +23 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +6 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.d.ts +37 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.es6.html +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.es6.js +218 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.html +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.js +284 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/package.json +28 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/src/aws_crc32.ts +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/src/index.ts +92 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/tsconfig.json +23 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/credentialDefaultProvider.js +29 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/credentialDefaultProvider.js +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/credentialDefaultProvider.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/credentialDefaultProvider.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-cjs/credentialDefaultProvider.js +29 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-es/credentialDefaultProvider.js +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/credentialDefaultProvider.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/credentialDefaultProvider.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/CHANGELOG.md +261 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/api-extractor.json +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/client/emitWarningIfUnsupportedVersion.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/client/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getDateHeader.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getSkewCorrectedDate.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/isClockSkewed.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/coercing-serializers.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/common.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/json/awsExpectUnion.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/json/parseJsonBody.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/xml/parseXmlBody.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/client/emitWarningIfUnsupportedVersion.js +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/client/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +60 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/index.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +82 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/getDateHeader.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/getSkewCorrectedDate.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/index.js +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/isClockSkewed.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/coercing-serializers.js +53 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/common.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/index.js +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/json/awsExpectUnion.js +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/json/parseJsonBody.js +51 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/xml/parseXmlBody.js +57 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/client/emitWarningIfUnsupportedVersion.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/client/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/aws_sdk/index.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +95 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/getDateHeader.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/index.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/isClockSkewed.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/coercing-serializers.d.ts +18 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/common.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/index.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/json/awsExpectUnion.d.ts +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/json/parseJsonBody.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/xml/parseXmlBody.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/client/emitWarningIfUnsupportedVersion.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/client/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +21 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/aws_sdk/index.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +55 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/getDateHeader.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/index.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/isClockSkewed.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/coercing-serializers.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/common.d.ts +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/index.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/json/awsExpectUnion.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/json/parseJsonBody.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/xml/parseXmlBody.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/integ/request-handlers/request-handlers.integ.spec.ts +158 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/jest.config.integ.js +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/jest.config.js +6 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/scripts/lint.js +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/client/emitWarningIfUnsupportedVersion.spec.ts +70 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/client/emitWarningIfUnsupportedVersion.ts +25 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/client/index.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.spec.ts +30 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts +134 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/index.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts +244 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/index.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getDateHeader.ts +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getSkewCorrectedDate.spec.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getSkewCorrectedDate.ts +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getUpdatedSystemClockOffset.spec.ts +37 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getUpdatedSystemClockOffset.ts +18 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/index.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/isClockSkewed.spec.ts +32 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/isClockSkewed.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/index.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/coercing-serializers.spec.ts +76 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/coercing-serializers.ts +72 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/common.ts +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/index.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/json/awsExpectUnion.spec.ts +30 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/json/awsExpectUnion.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/json/parseJsonBody.ts +60 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/xml/parseXmlBody.ts +64 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.cjs.json +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.es.json +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.types.json +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/loadSts.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-es/loadSts.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-types/loadSts.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/loadSts.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/loadSts.js +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/loadSts.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/loadSts.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/loadSts.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-cjs/loadSsoOidc.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-es/loadSsoOidc.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-types/loadSsoOidc.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/loadSsoOidc.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/LICENSE +201 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/README.md +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/EventStreamCodec.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/HeaderMarshaller.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/Int64.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/Message.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/MessageDecoderStream.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/MessageEncoderStream.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageDecoderStream.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageEncoderStream.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/TestVectors.fixture.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +468 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/splitMessage.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/vectorTypes.fixture.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/EventStreamCodec.js +62 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js +182 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/Int64.js +43 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/Message.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/MessageDecoderStream.js +14 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/MessageEncoderStream.js +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageDecoderStream.js +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageEncoderStream.js +14 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/TestVectors.fixture.js +690 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/index.js +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/splitMessage.js +30 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/vectorTypes.fixture.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/EventStreamCodec.d.ts +31 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/HeaderMarshaller.d.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/Int64.d.ts +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/Message.d.ts +26 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/MessageDecoderStream.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/MessageEncoderStream.d.ts +18 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageDecoderStream.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageEncoderStream.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/TestVectors.fixture.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/index.d.ts +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/splitMessage.d.ts +11 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/EventStreamCodec.d.ts +31 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/HeaderMarshaller.d.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Int64.d.ts +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Message.d.ts +26 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageDecoderStream.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageEncoderStream.d.ts +18 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageDecoderStream.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageEncoderStream.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/TestVectors.fixture.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/index.d.ts +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/splitMessage.d.ts +11 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/vectorTypes.fixture.d.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/vectorTypes.fixture.d.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/package.json +61 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/CHANGELOG.md +229 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/CONTRIBUTING.md +18 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/LICENSE.md +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/README.md +505 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/bin/uuid +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/index.js +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/md5.js +215 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/nil.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/parse.js +35 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/regex.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/rng.js +19 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/stringify.js +30 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v1.js +95 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v3.js +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v35.js +64 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v4.js +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v5.js +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/validate.js +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/version.js +11 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/index.js +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/md5.js +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/nil.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/parse.js +35 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/regex.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/rng.js +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/sha1.js +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/stringify.js +29 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v1.js +95 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v3.js +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v35.js +64 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v4.js +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v5.js +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/validate.js +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/version.js +11 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/index.js +79 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/md5-browser.js +223 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/md5.js +23 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/nil.js +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/parse.js +45 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/regex.js +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng-browser.js +26 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng.js +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/sha1-browser.js +104 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/sha1.js +23 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/stringify.js +39 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuid.min.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidNIL.min.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidParse.min.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidStringify.min.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidValidate.min.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidVersion.min.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv1.min.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv3.min.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv4.min.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv5.min.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/uuid-bin.js +85 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v1.js +107 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v3.js +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v35.js +78 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v4.js +37 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v5.js +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/validate.js +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/version.js +21 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/package.json +135 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/wrapper.mjs +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/parse-args.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/parse-args.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +14 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/ast.d.ts +19 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/ast.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/ast.js +589 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/ast.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/brace-expressions.js +152 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/brace-expressions.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/escape.d.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/escape.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/escape.js +22 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/escape.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/index.d.ts +94 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/index.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/index.js +1011 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/index.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/package.json +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/unescape.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/unescape.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/unescape.js +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/unescape.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/ast.d.ts +19 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/ast.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/ast.js +585 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/ast.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/brace-expressions.js +148 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/brace-expressions.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/escape.d.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/escape.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/escape.js +18 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/escape.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/index.d.ts +94 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/index.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/index.js +995 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/index.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/package.json +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/unescape.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/unescape.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/unescape.js +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/unescape.js.map +1 -0
- package/lib/static-host/static-host.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,468 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/index.ts
|
|
21
|
+
var src_exports = {};
|
|
22
|
+
__export(src_exports, {
|
|
23
|
+
EventStreamCodec: () => EventStreamCodec,
|
|
24
|
+
HeaderMarshaller: () => HeaderMarshaller,
|
|
25
|
+
Int64: () => Int64,
|
|
26
|
+
MessageDecoderStream: () => MessageDecoderStream,
|
|
27
|
+
MessageEncoderStream: () => MessageEncoderStream,
|
|
28
|
+
SmithyMessageDecoderStream: () => SmithyMessageDecoderStream,
|
|
29
|
+
SmithyMessageEncoderStream: () => SmithyMessageEncoderStream
|
|
30
|
+
});
|
|
31
|
+
module.exports = __toCommonJS(src_exports);
|
|
32
|
+
|
|
33
|
+
// src/EventStreamCodec.ts
|
|
34
|
+
var import_crc322 = require("@aws-crypto/crc32");
|
|
35
|
+
|
|
36
|
+
// src/HeaderMarshaller.ts
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
// src/Int64.ts
|
|
40
|
+
var import_util_hex_encoding = require("@smithy/util-hex-encoding");
|
|
41
|
+
var _Int64 = class _Int64 {
|
|
42
|
+
constructor(bytes) {
|
|
43
|
+
this.bytes = bytes;
|
|
44
|
+
if (bytes.byteLength !== 8) {
|
|
45
|
+
throw new Error("Int64 buffers must be exactly 8 bytes");
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
static fromNumber(number) {
|
|
49
|
+
if (number > 9223372036854776e3 || number < -9223372036854776e3) {
|
|
50
|
+
throw new Error(`${number} is too large (or, if negative, too small) to represent as an Int64`);
|
|
51
|
+
}
|
|
52
|
+
const bytes = new Uint8Array(8);
|
|
53
|
+
for (let i = 7, remaining = Math.abs(Math.round(number)); i > -1 && remaining > 0; i--, remaining /= 256) {
|
|
54
|
+
bytes[i] = remaining;
|
|
55
|
+
}
|
|
56
|
+
if (number < 0) {
|
|
57
|
+
negate(bytes);
|
|
58
|
+
}
|
|
59
|
+
return new _Int64(bytes);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Called implicitly by infix arithmetic operators.
|
|
63
|
+
*/
|
|
64
|
+
valueOf() {
|
|
65
|
+
const bytes = this.bytes.slice(0);
|
|
66
|
+
const negative = bytes[0] & 128;
|
|
67
|
+
if (negative) {
|
|
68
|
+
negate(bytes);
|
|
69
|
+
}
|
|
70
|
+
return parseInt((0, import_util_hex_encoding.toHex)(bytes), 16) * (negative ? -1 : 1);
|
|
71
|
+
}
|
|
72
|
+
toString() {
|
|
73
|
+
return String(this.valueOf());
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
__name(_Int64, "Int64");
|
|
77
|
+
var Int64 = _Int64;
|
|
78
|
+
function negate(bytes) {
|
|
79
|
+
for (let i = 0; i < 8; i++) {
|
|
80
|
+
bytes[i] ^= 255;
|
|
81
|
+
}
|
|
82
|
+
for (let i = 7; i > -1; i--) {
|
|
83
|
+
bytes[i]++;
|
|
84
|
+
if (bytes[i] !== 0)
|
|
85
|
+
break;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
__name(negate, "negate");
|
|
89
|
+
|
|
90
|
+
// src/HeaderMarshaller.ts
|
|
91
|
+
var _HeaderMarshaller = class _HeaderMarshaller {
|
|
92
|
+
constructor(toUtf8, fromUtf8) {
|
|
93
|
+
this.toUtf8 = toUtf8;
|
|
94
|
+
this.fromUtf8 = fromUtf8;
|
|
95
|
+
}
|
|
96
|
+
format(headers) {
|
|
97
|
+
const chunks = [];
|
|
98
|
+
for (const headerName of Object.keys(headers)) {
|
|
99
|
+
const bytes = this.fromUtf8(headerName);
|
|
100
|
+
chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
|
|
101
|
+
}
|
|
102
|
+
const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));
|
|
103
|
+
let position = 0;
|
|
104
|
+
for (const chunk of chunks) {
|
|
105
|
+
out.set(chunk, position);
|
|
106
|
+
position += chunk.byteLength;
|
|
107
|
+
}
|
|
108
|
+
return out;
|
|
109
|
+
}
|
|
110
|
+
formatHeaderValue(header) {
|
|
111
|
+
switch (header.type) {
|
|
112
|
+
case "boolean":
|
|
113
|
+
return Uint8Array.from([header.value ? 0 /* boolTrue */ : 1 /* boolFalse */]);
|
|
114
|
+
case "byte":
|
|
115
|
+
return Uint8Array.from([2 /* byte */, header.value]);
|
|
116
|
+
case "short":
|
|
117
|
+
const shortView = new DataView(new ArrayBuffer(3));
|
|
118
|
+
shortView.setUint8(0, 3 /* short */);
|
|
119
|
+
shortView.setInt16(1, header.value, false);
|
|
120
|
+
return new Uint8Array(shortView.buffer);
|
|
121
|
+
case "integer":
|
|
122
|
+
const intView = new DataView(new ArrayBuffer(5));
|
|
123
|
+
intView.setUint8(0, 4 /* integer */);
|
|
124
|
+
intView.setInt32(1, header.value, false);
|
|
125
|
+
return new Uint8Array(intView.buffer);
|
|
126
|
+
case "long":
|
|
127
|
+
const longBytes = new Uint8Array(9);
|
|
128
|
+
longBytes[0] = 5 /* long */;
|
|
129
|
+
longBytes.set(header.value.bytes, 1);
|
|
130
|
+
return longBytes;
|
|
131
|
+
case "binary":
|
|
132
|
+
const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
|
|
133
|
+
binView.setUint8(0, 6 /* byteArray */);
|
|
134
|
+
binView.setUint16(1, header.value.byteLength, false);
|
|
135
|
+
const binBytes = new Uint8Array(binView.buffer);
|
|
136
|
+
binBytes.set(header.value, 3);
|
|
137
|
+
return binBytes;
|
|
138
|
+
case "string":
|
|
139
|
+
const utf8Bytes = this.fromUtf8(header.value);
|
|
140
|
+
const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
|
|
141
|
+
strView.setUint8(0, 7 /* string */);
|
|
142
|
+
strView.setUint16(1, utf8Bytes.byteLength, false);
|
|
143
|
+
const strBytes = new Uint8Array(strView.buffer);
|
|
144
|
+
strBytes.set(utf8Bytes, 3);
|
|
145
|
+
return strBytes;
|
|
146
|
+
case "timestamp":
|
|
147
|
+
const tsBytes = new Uint8Array(9);
|
|
148
|
+
tsBytes[0] = 8 /* timestamp */;
|
|
149
|
+
tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
|
|
150
|
+
return tsBytes;
|
|
151
|
+
case "uuid":
|
|
152
|
+
if (!UUID_PATTERN.test(header.value)) {
|
|
153
|
+
throw new Error(`Invalid UUID received: ${header.value}`);
|
|
154
|
+
}
|
|
155
|
+
const uuidBytes = new Uint8Array(17);
|
|
156
|
+
uuidBytes[0] = 9 /* uuid */;
|
|
157
|
+
uuidBytes.set((0, import_util_hex_encoding.fromHex)(header.value.replace(/\-/g, "")), 1);
|
|
158
|
+
return uuidBytes;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
parse(headers) {
|
|
162
|
+
const out = {};
|
|
163
|
+
let position = 0;
|
|
164
|
+
while (position < headers.byteLength) {
|
|
165
|
+
const nameLength = headers.getUint8(position++);
|
|
166
|
+
const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength));
|
|
167
|
+
position += nameLength;
|
|
168
|
+
switch (headers.getUint8(position++)) {
|
|
169
|
+
case 0 /* boolTrue */:
|
|
170
|
+
out[name] = {
|
|
171
|
+
type: BOOLEAN_TAG,
|
|
172
|
+
value: true
|
|
173
|
+
};
|
|
174
|
+
break;
|
|
175
|
+
case 1 /* boolFalse */:
|
|
176
|
+
out[name] = {
|
|
177
|
+
type: BOOLEAN_TAG,
|
|
178
|
+
value: false
|
|
179
|
+
};
|
|
180
|
+
break;
|
|
181
|
+
case 2 /* byte */:
|
|
182
|
+
out[name] = {
|
|
183
|
+
type: BYTE_TAG,
|
|
184
|
+
value: headers.getInt8(position++)
|
|
185
|
+
};
|
|
186
|
+
break;
|
|
187
|
+
case 3 /* short */:
|
|
188
|
+
out[name] = {
|
|
189
|
+
type: SHORT_TAG,
|
|
190
|
+
value: headers.getInt16(position, false)
|
|
191
|
+
};
|
|
192
|
+
position += 2;
|
|
193
|
+
break;
|
|
194
|
+
case 4 /* integer */:
|
|
195
|
+
out[name] = {
|
|
196
|
+
type: INT_TAG,
|
|
197
|
+
value: headers.getInt32(position, false)
|
|
198
|
+
};
|
|
199
|
+
position += 4;
|
|
200
|
+
break;
|
|
201
|
+
case 5 /* long */:
|
|
202
|
+
out[name] = {
|
|
203
|
+
type: LONG_TAG,
|
|
204
|
+
value: new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8))
|
|
205
|
+
};
|
|
206
|
+
position += 8;
|
|
207
|
+
break;
|
|
208
|
+
case 6 /* byteArray */:
|
|
209
|
+
const binaryLength = headers.getUint16(position, false);
|
|
210
|
+
position += 2;
|
|
211
|
+
out[name] = {
|
|
212
|
+
type: BINARY_TAG,
|
|
213
|
+
value: new Uint8Array(headers.buffer, headers.byteOffset + position, binaryLength)
|
|
214
|
+
};
|
|
215
|
+
position += binaryLength;
|
|
216
|
+
break;
|
|
217
|
+
case 7 /* string */:
|
|
218
|
+
const stringLength = headers.getUint16(position, false);
|
|
219
|
+
position += 2;
|
|
220
|
+
out[name] = {
|
|
221
|
+
type: STRING_TAG,
|
|
222
|
+
value: this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, stringLength))
|
|
223
|
+
};
|
|
224
|
+
position += stringLength;
|
|
225
|
+
break;
|
|
226
|
+
case 8 /* timestamp */:
|
|
227
|
+
out[name] = {
|
|
228
|
+
type: TIMESTAMP_TAG,
|
|
229
|
+
value: new Date(new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf())
|
|
230
|
+
};
|
|
231
|
+
position += 8;
|
|
232
|
+
break;
|
|
233
|
+
case 9 /* uuid */:
|
|
234
|
+
const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16);
|
|
235
|
+
position += 16;
|
|
236
|
+
out[name] = {
|
|
237
|
+
type: UUID_TAG,
|
|
238
|
+
value: `${(0, import_util_hex_encoding.toHex)(uuidBytes.subarray(0, 4))}-${(0, import_util_hex_encoding.toHex)(uuidBytes.subarray(4, 6))}-${(0, import_util_hex_encoding.toHex)(
|
|
239
|
+
uuidBytes.subarray(6, 8)
|
|
240
|
+
)}-${(0, import_util_hex_encoding.toHex)(uuidBytes.subarray(8, 10))}-${(0, import_util_hex_encoding.toHex)(uuidBytes.subarray(10))}`
|
|
241
|
+
};
|
|
242
|
+
break;
|
|
243
|
+
default:
|
|
244
|
+
throw new Error(`Unrecognized header type tag`);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
return out;
|
|
248
|
+
}
|
|
249
|
+
};
|
|
250
|
+
__name(_HeaderMarshaller, "HeaderMarshaller");
|
|
251
|
+
var HeaderMarshaller = _HeaderMarshaller;
|
|
252
|
+
var BOOLEAN_TAG = "boolean";
|
|
253
|
+
var BYTE_TAG = "byte";
|
|
254
|
+
var SHORT_TAG = "short";
|
|
255
|
+
var INT_TAG = "integer";
|
|
256
|
+
var LONG_TAG = "long";
|
|
257
|
+
var BINARY_TAG = "binary";
|
|
258
|
+
var STRING_TAG = "string";
|
|
259
|
+
var TIMESTAMP_TAG = "timestamp";
|
|
260
|
+
var UUID_TAG = "uuid";
|
|
261
|
+
var UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
|
|
262
|
+
|
|
263
|
+
// src/splitMessage.ts
|
|
264
|
+
var import_crc32 = require("@aws-crypto/crc32");
|
|
265
|
+
var PRELUDE_MEMBER_LENGTH = 4;
|
|
266
|
+
var PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2;
|
|
267
|
+
var CHECKSUM_LENGTH = 4;
|
|
268
|
+
var MINIMUM_MESSAGE_LENGTH = PRELUDE_LENGTH + CHECKSUM_LENGTH * 2;
|
|
269
|
+
function splitMessage({ byteLength, byteOffset, buffer }) {
|
|
270
|
+
if (byteLength < MINIMUM_MESSAGE_LENGTH) {
|
|
271
|
+
throw new Error("Provided message too short to accommodate event stream message overhead");
|
|
272
|
+
}
|
|
273
|
+
const view = new DataView(buffer, byteOffset, byteLength);
|
|
274
|
+
const messageLength = view.getUint32(0, false);
|
|
275
|
+
if (byteLength !== messageLength) {
|
|
276
|
+
throw new Error("Reported message length does not match received message length");
|
|
277
|
+
}
|
|
278
|
+
const headerLength = view.getUint32(PRELUDE_MEMBER_LENGTH, false);
|
|
279
|
+
const expectedPreludeChecksum = view.getUint32(PRELUDE_LENGTH, false);
|
|
280
|
+
const expectedMessageChecksum = view.getUint32(byteLength - CHECKSUM_LENGTH, false);
|
|
281
|
+
const checksummer = new import_crc32.Crc32().update(new Uint8Array(buffer, byteOffset, PRELUDE_LENGTH));
|
|
282
|
+
if (expectedPreludeChecksum !== checksummer.digest()) {
|
|
283
|
+
throw new Error(
|
|
284
|
+
`The prelude checksum specified in the message (${expectedPreludeChecksum}) does not match the calculated CRC32 checksum (${checksummer.digest()})`
|
|
285
|
+
);
|
|
286
|
+
}
|
|
287
|
+
checksummer.update(
|
|
288
|
+
new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH, byteLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH))
|
|
289
|
+
);
|
|
290
|
+
if (expectedMessageChecksum !== checksummer.digest()) {
|
|
291
|
+
throw new Error(
|
|
292
|
+
`The message checksum (${checksummer.digest()}) did not match the expected value of ${expectedMessageChecksum}`
|
|
293
|
+
);
|
|
294
|
+
}
|
|
295
|
+
return {
|
|
296
|
+
headers: new DataView(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH, headerLength),
|
|
297
|
+
body: new Uint8Array(
|
|
298
|
+
buffer,
|
|
299
|
+
byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH + headerLength,
|
|
300
|
+
messageLength - headerLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH + CHECKSUM_LENGTH)
|
|
301
|
+
)
|
|
302
|
+
};
|
|
303
|
+
}
|
|
304
|
+
__name(splitMessage, "splitMessage");
|
|
305
|
+
|
|
306
|
+
// src/EventStreamCodec.ts
|
|
307
|
+
var _EventStreamCodec = class _EventStreamCodec {
|
|
308
|
+
constructor(toUtf8, fromUtf8) {
|
|
309
|
+
this.headerMarshaller = new HeaderMarshaller(toUtf8, fromUtf8);
|
|
310
|
+
this.messageBuffer = [];
|
|
311
|
+
this.isEndOfStream = false;
|
|
312
|
+
}
|
|
313
|
+
feed(message) {
|
|
314
|
+
this.messageBuffer.push(this.decode(message));
|
|
315
|
+
}
|
|
316
|
+
endOfStream() {
|
|
317
|
+
this.isEndOfStream = true;
|
|
318
|
+
}
|
|
319
|
+
getMessage() {
|
|
320
|
+
const message = this.messageBuffer.pop();
|
|
321
|
+
const isEndOfStream = this.isEndOfStream;
|
|
322
|
+
return {
|
|
323
|
+
getMessage() {
|
|
324
|
+
return message;
|
|
325
|
+
},
|
|
326
|
+
isEndOfStream() {
|
|
327
|
+
return isEndOfStream;
|
|
328
|
+
}
|
|
329
|
+
};
|
|
330
|
+
}
|
|
331
|
+
getAvailableMessages() {
|
|
332
|
+
const messages = this.messageBuffer;
|
|
333
|
+
this.messageBuffer = [];
|
|
334
|
+
const isEndOfStream = this.isEndOfStream;
|
|
335
|
+
return {
|
|
336
|
+
getMessages() {
|
|
337
|
+
return messages;
|
|
338
|
+
},
|
|
339
|
+
isEndOfStream() {
|
|
340
|
+
return isEndOfStream;
|
|
341
|
+
}
|
|
342
|
+
};
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* Convert a structured JavaScript object with tagged headers into a binary
|
|
346
|
+
* event stream message.
|
|
347
|
+
*/
|
|
348
|
+
encode({ headers: rawHeaders, body }) {
|
|
349
|
+
const headers = this.headerMarshaller.format(rawHeaders);
|
|
350
|
+
const length = headers.byteLength + body.byteLength + 16;
|
|
351
|
+
const out = new Uint8Array(length);
|
|
352
|
+
const view = new DataView(out.buffer, out.byteOffset, out.byteLength);
|
|
353
|
+
const checksum = new import_crc322.Crc32();
|
|
354
|
+
view.setUint32(0, length, false);
|
|
355
|
+
view.setUint32(4, headers.byteLength, false);
|
|
356
|
+
view.setUint32(8, checksum.update(out.subarray(0, 8)).digest(), false);
|
|
357
|
+
out.set(headers, 12);
|
|
358
|
+
out.set(body, headers.byteLength + 12);
|
|
359
|
+
view.setUint32(length - 4, checksum.update(out.subarray(8, length - 4)).digest(), false);
|
|
360
|
+
return out;
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* Convert a binary event stream message into a JavaScript object with an
|
|
364
|
+
* opaque, binary body and tagged, parsed headers.
|
|
365
|
+
*/
|
|
366
|
+
decode(message) {
|
|
367
|
+
const { headers, body } = splitMessage(message);
|
|
368
|
+
return { headers: this.headerMarshaller.parse(headers), body };
|
|
369
|
+
}
|
|
370
|
+
/**
|
|
371
|
+
* Convert a structured JavaScript object with tagged headers into a binary
|
|
372
|
+
* event stream message header.
|
|
373
|
+
*/
|
|
374
|
+
formatHeaders(rawHeaders) {
|
|
375
|
+
return this.headerMarshaller.format(rawHeaders);
|
|
376
|
+
}
|
|
377
|
+
};
|
|
378
|
+
__name(_EventStreamCodec, "EventStreamCodec");
|
|
379
|
+
var EventStreamCodec = _EventStreamCodec;
|
|
380
|
+
|
|
381
|
+
// src/MessageDecoderStream.ts
|
|
382
|
+
var _MessageDecoderStream = class _MessageDecoderStream {
|
|
383
|
+
constructor(options) {
|
|
384
|
+
this.options = options;
|
|
385
|
+
}
|
|
386
|
+
[Symbol.asyncIterator]() {
|
|
387
|
+
return this.asyncIterator();
|
|
388
|
+
}
|
|
389
|
+
async *asyncIterator() {
|
|
390
|
+
for await (const bytes of this.options.inputStream) {
|
|
391
|
+
const decoded = this.options.decoder.decode(bytes);
|
|
392
|
+
yield decoded;
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
};
|
|
396
|
+
__name(_MessageDecoderStream, "MessageDecoderStream");
|
|
397
|
+
var MessageDecoderStream = _MessageDecoderStream;
|
|
398
|
+
|
|
399
|
+
// src/MessageEncoderStream.ts
|
|
400
|
+
var _MessageEncoderStream = class _MessageEncoderStream {
|
|
401
|
+
constructor(options) {
|
|
402
|
+
this.options = options;
|
|
403
|
+
}
|
|
404
|
+
[Symbol.asyncIterator]() {
|
|
405
|
+
return this.asyncIterator();
|
|
406
|
+
}
|
|
407
|
+
async *asyncIterator() {
|
|
408
|
+
for await (const msg of this.options.messageStream) {
|
|
409
|
+
const encoded = this.options.encoder.encode(msg);
|
|
410
|
+
yield encoded;
|
|
411
|
+
}
|
|
412
|
+
if (this.options.includeEndFrame) {
|
|
413
|
+
yield new Uint8Array(0);
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
};
|
|
417
|
+
__name(_MessageEncoderStream, "MessageEncoderStream");
|
|
418
|
+
var MessageEncoderStream = _MessageEncoderStream;
|
|
419
|
+
|
|
420
|
+
// src/SmithyMessageDecoderStream.ts
|
|
421
|
+
var _SmithyMessageDecoderStream = class _SmithyMessageDecoderStream {
|
|
422
|
+
constructor(options) {
|
|
423
|
+
this.options = options;
|
|
424
|
+
}
|
|
425
|
+
[Symbol.asyncIterator]() {
|
|
426
|
+
return this.asyncIterator();
|
|
427
|
+
}
|
|
428
|
+
async *asyncIterator() {
|
|
429
|
+
for await (const message of this.options.messageStream) {
|
|
430
|
+
const deserialized = await this.options.deserializer(message);
|
|
431
|
+
if (deserialized === void 0)
|
|
432
|
+
continue;
|
|
433
|
+
yield deserialized;
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
};
|
|
437
|
+
__name(_SmithyMessageDecoderStream, "SmithyMessageDecoderStream");
|
|
438
|
+
var SmithyMessageDecoderStream = _SmithyMessageDecoderStream;
|
|
439
|
+
|
|
440
|
+
// src/SmithyMessageEncoderStream.ts
|
|
441
|
+
var _SmithyMessageEncoderStream = class _SmithyMessageEncoderStream {
|
|
442
|
+
constructor(options) {
|
|
443
|
+
this.options = options;
|
|
444
|
+
}
|
|
445
|
+
[Symbol.asyncIterator]() {
|
|
446
|
+
return this.asyncIterator();
|
|
447
|
+
}
|
|
448
|
+
async *asyncIterator() {
|
|
449
|
+
for await (const chunk of this.options.inputStream) {
|
|
450
|
+
const payloadBuf = this.options.serializer(chunk);
|
|
451
|
+
yield payloadBuf;
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
};
|
|
455
|
+
__name(_SmithyMessageEncoderStream, "SmithyMessageEncoderStream");
|
|
456
|
+
var SmithyMessageEncoderStream = _SmithyMessageEncoderStream;
|
|
457
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
458
|
+
|
|
459
|
+
0 && (module.exports = {
|
|
460
|
+
EventStreamCodec,
|
|
461
|
+
HeaderMarshaller,
|
|
462
|
+
Int64,
|
|
463
|
+
MessageDecoderStream,
|
|
464
|
+
MessageEncoderStream,
|
|
465
|
+
SmithyMessageDecoderStream,
|
|
466
|
+
SmithyMessageEncoderStream
|
|
467
|
+
});
|
|
468
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("./index.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("./index.js");
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Crc32 } from "@aws-crypto/crc32";
|
|
2
|
+
import { HeaderMarshaller } from "./HeaderMarshaller";
|
|
3
|
+
import { splitMessage } from "./splitMessage";
|
|
4
|
+
export class EventStreamCodec {
|
|
5
|
+
constructor(toUtf8, fromUtf8) {
|
|
6
|
+
this.headerMarshaller = new HeaderMarshaller(toUtf8, fromUtf8);
|
|
7
|
+
this.messageBuffer = [];
|
|
8
|
+
this.isEndOfStream = false;
|
|
9
|
+
}
|
|
10
|
+
feed(message) {
|
|
11
|
+
this.messageBuffer.push(this.decode(message));
|
|
12
|
+
}
|
|
13
|
+
endOfStream() {
|
|
14
|
+
this.isEndOfStream = true;
|
|
15
|
+
}
|
|
16
|
+
getMessage() {
|
|
17
|
+
const message = this.messageBuffer.pop();
|
|
18
|
+
const isEndOfStream = this.isEndOfStream;
|
|
19
|
+
return {
|
|
20
|
+
getMessage() {
|
|
21
|
+
return message;
|
|
22
|
+
},
|
|
23
|
+
isEndOfStream() {
|
|
24
|
+
return isEndOfStream;
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
getAvailableMessages() {
|
|
29
|
+
const messages = this.messageBuffer;
|
|
30
|
+
this.messageBuffer = [];
|
|
31
|
+
const isEndOfStream = this.isEndOfStream;
|
|
32
|
+
return {
|
|
33
|
+
getMessages() {
|
|
34
|
+
return messages;
|
|
35
|
+
},
|
|
36
|
+
isEndOfStream() {
|
|
37
|
+
return isEndOfStream;
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
encode({ headers: rawHeaders, body }) {
|
|
42
|
+
const headers = this.headerMarshaller.format(rawHeaders);
|
|
43
|
+
const length = headers.byteLength + body.byteLength + 16;
|
|
44
|
+
const out = new Uint8Array(length);
|
|
45
|
+
const view = new DataView(out.buffer, out.byteOffset, out.byteLength);
|
|
46
|
+
const checksum = new Crc32();
|
|
47
|
+
view.setUint32(0, length, false);
|
|
48
|
+
view.setUint32(4, headers.byteLength, false);
|
|
49
|
+
view.setUint32(8, checksum.update(out.subarray(0, 8)).digest(), false);
|
|
50
|
+
out.set(headers, 12);
|
|
51
|
+
out.set(body, headers.byteLength + 12);
|
|
52
|
+
view.setUint32(length - 4, checksum.update(out.subarray(8, length - 4)).digest(), false);
|
|
53
|
+
return out;
|
|
54
|
+
}
|
|
55
|
+
decode(message) {
|
|
56
|
+
const { headers, body } = splitMessage(message);
|
|
57
|
+
return { headers: this.headerMarshaller.parse(headers), body };
|
|
58
|
+
}
|
|
59
|
+
formatHeaders(rawHeaders) {
|
|
60
|
+
return this.headerMarshaller.format(rawHeaders);
|
|
61
|
+
}
|
|
62
|
+
}
|